/* iPart shared dark template, based on the Enterhost masthead and button styles. */
:root {
  color-scheme: dark;
  --ink: #f5f5f7;
  --muted: #b4b4bb;
  --accent: #68b8ff;
  --button: #0071e3;
  --rule: #ffffff20;
  --panel: #141416;
  --panel-hover: #1d1d21;
  --width: 1180px;
  --gutter: clamp(1rem, 3vw, 2rem);
  font-family: InterVariable, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-kerning: normal;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  color: var(--ink);
}
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin-block: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 4.35rem); font-weight: 730; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 675; }
p, li, dd, a, h1, h2 { overflow-wrap: anywhere; }
address { font-style: normal; }
.wrap, .bar { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.main { flex: 1; padding-block: 1.7rem clamp(3rem, 8vw, 6rem); }
.muted, .intro, .result-summary { color: var(--muted); }
.intro { font-size: clamp(1rem, 2vw, 1.22rem); max-width: 43ch; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .75rem 1rem; border-radius: 8px; background: #fff; color: #000; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--rule);
  background: #171719;
}
@supports (backdrop-filter: blur(18px)) {
  .masthead { background: #161618de; backdrop-filter: saturate(160%) blur(18px); }
}
.bar {
  min-height: 66px;
  padding-block: .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 760;
  font-size: 1.63rem;
  letter-spacing: -.075em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: #4bb9ee; }
.desktop-nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.desktop-nav a, .mobile-nav a { color: var(--muted); font-size: .92rem; font-weight: 540; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .mobile-nav a[aria-current] { color: var(--ink); }
.mobile-nav { display: none; }
.site-search {
  width: min(100%, 290px);
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #222225;
  padding: 2px;
}
.site-search input {
  min-width: 0;
  flex: 1 1 0;
  border: 0;
  border-radius: 999px;
  padding: .48rem .72rem;
  background: transparent;
  color: var(--ink);
  font-size: .91rem;
}
.site-search input::placeholder { color: var(--muted); opacity: 1; }
.site-search button {
  flex: 0 0 42px;
  min-height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--button);
  color: #fff;
  display: grid;
  place-items: center;
}
.site-search button:hover, .button:hover { background: #0077ed; }
.search-icon { display: block; width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 50%; position: relative; margin: -2px 2px 0 0; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; border-radius: 1px; transform: rotate(45deg); left: 8px; top: 9px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 100vmax;
  background: var(--button);
  color: #fff;
  font-size: .94rem;
  font-weight: 640;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}
.button.secondary { background: #ffffff0c; border-color: #ffffff35; color: var(--ink); }
.button.secondary:hover { background: #ffffff19; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 40vw, 494px);
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 28px;
  background: #0e1218;
}
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 11% 100%, #13283a80 0%, transparent 54%),
    linear-gradient(90deg, #0e1218 30%, #0e1218 37%, #0e1218e8 49%, #0e121830 73%, #0e12181a);
  pointer-events: none;
}
.hero-copy { width: min(67%, 720px); padding: clamp(1.5rem, 5.4vw, 4.25rem); }
.hero-copy h1 { font-size: clamp(2.5rem, 4.65vw, 3.9rem); text-wrap: balance; }
.tagline { color: #8ccaff; font-size: .9rem; font-weight: 630; margin-bottom: .75rem; }
.hero .intro { margin-top: 1rem; color: #d1d6de; }
.hero .actions { margin-top: 1.5rem; }
.section { margin-top: clamp(2.6rem, 6.2vw, 5.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1.1rem; }
.text-link { font-size: .91rem; font-weight: 620; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.65rem, 1.8vw, 1.15rem);
  padding: 0;
  margin: 0 0 1.2rem;
  list-style: none;
}
.item-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 17px;
  padding: .65rem;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.item-card:hover { background: var(--panel-hover); border-color: #ffffff48; }
.card-image { display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 11px; background: #f6f6f6; }
.card-image img { width: 100%; height: 100%; object-fit: contain; }
.card-text { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .42rem; padding: .7rem .3rem .27rem; }
.card-title { line-height: 1.35; font-size: .94rem; font-weight: 625; }
.price { color: #aed7ff; font-size: .9rem; font-weight: 650; }
.category-grid .card-image { aspect-ratio: 16 / 9; }
.category-grid .card-text { padding-block: .7rem .38rem; }
.brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brand-grid .card-image { aspect-ratio: 2 / 1; }
.brand-grid .card-image img { padding: 8%; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .28rem .55rem; color: var(--muted); margin-bottom: 1.15rem; font-size: .84rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.page-heading { margin-bottom: clamp(1.25rem, 4vw, 2.5rem); }
.page-heading .intro { margin-top: .7rem; }
.result-summary { margin: 1.15rem 0 .9rem; }
.pagination { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.pagination a, .pagination span {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: .3rem .75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: .88rem;
  text-decoration: none;
}
.pagination a:hover, .pagination [aria-current] { background: var(--button); }
.panel { border: 1px solid var(--rule); border-radius: 21px; padding: clamp(1rem, 3vw, 2rem); background: var(--panel); }
.panel > .button { margin-top: 1rem; }
.prose { max-width: 86ch; overflow-wrap: anywhere; }
.prose :is(p,ul,ol,dl,blockquote,h2,h3,h4,figure,table) { margin-block: 0 .9rem; }
.prose :is(h2,h3,h4) { margin-top: 1.4rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .55rem; text-align: left; }
.prose iframe { display: block; width: min(100%, 680px); aspect-ratio: 16 / 9; height: auto; border: 0; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 3.45rem); }
.product-info p { margin-top: .8rem; }
.product-price { font-size: 1.55rem; color: #aed7ff; font-weight: 690; }
.product-info .actions { margin-top: 1.3rem; }
.product-image { display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: 22px; background: #f6f6f6; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: .65rem; flex-wrap: wrap; margin: .8rem 0 0; padding: 0; list-style: none; }
.product-thumbs a { display: block; width: 62px; height: 62px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f6f6f6; }
.product-thumbs a[aria-current] { border-color: var(--accent); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-description { margin-top: 2rem; }
.related-links { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; margin-top: 1.25rem; }
.gallery-dialog { width: max-content; max-width: min(94vw, 1000px); max-height: 94svh; border: 1px solid var(--rule); border-radius: 16px; background: var(--panel); padding: 12px; }
.gallery-dialog::backdrop { background: #000c; }
.gallery-dialog img { max-height: 76svh; object-fit: contain; margin-inline: auto; border-radius: 8px; }
.gallery-dialog button { display: flex; margin: 0 0 .55rem auto; }
.brand-panel { max-width: 45rem; }
.brand-panel img { max-width: 225px; max-height: 190px; object-fit: contain; background: #f6f6f6; border-radius: 12px; margin-bottom: 1.25rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: 1.05rem; align-items: start; }
.contact-panel { scroll-margin-top: 82px; }
.contact-layout h2 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); }
.contact-details dl { margin: 1.25rem 0 0; }
.contact-details dt { color: var(--muted); font-size: .85rem; margin-top: .9rem; }
.contact-details dd { margin: .18rem 0 0; }
.form-grid { position: relative; min-width: 0; padding: 0; margin: 1.25rem 0 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: .91rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ffffff38;
  border-radius: 11px;
  padding: .7rem .8rem;
  background: #09090a;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field [aria-invalid] { border-color: #ff9696; }
.field-error { font-size: .86rem; color: #ffadad; margin-top: .32rem; }
.form-status { padding: .68rem .8rem; border-left: 3px solid #ff9c9c; background: #261a1c; border-radius: 8px; margin-top: 1rem; font-size: .92rem; }
.form-status.success { border-color: #8addb8; background: #172721; }
.form-grid:disabled { opacity: .57; }
.form-grid:disabled button { cursor: default; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.captcha { min-height: 144px; }
.captcha iframe { max-width: 100%; }

.footer { border-top: 1px solid var(--rule); background: #141416; padding: 2rem 0 .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1.4rem; }
.footer-grid nav, .footer-grid address { display: flex; align-items: flex-start; flex-direction: column; gap: .36rem; }
.footer p { margin-top: .55rem; }
.footer a:not(.brand), .footer span:not(.brand span), .footer p { color: var(--muted); font-size: .86rem; }
.footer a:not(.brand) { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; gap: 1rem; justify-content: space-between; margin-top: 1.8rem; padding-top: .8rem; border-top: 1px solid var(--rule); }

@media (max-width: 800px) {
  .masthead { position: relative; }
  .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: .7rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; justify-self: end; }
  .mobile-nav summary { min-height: 44px; padding: .52rem .82rem; border: 1px solid var(--rule); border-radius: 999px; font-size: .9rem; }
  .mobile-nav nav { position: absolute; z-index: 3; right: 0; top: calc(100% + .4rem); display: grid; min-width: 170px; padding: .45rem; border: 1px solid var(--rule); border-radius: 13px; background: #1b1b1e; }
  .mobile-nav a { padding: .55rem .65rem; min-height: 44px; }
  .site-search { grid-column: 1 / -1; width: 100%; }
  .site-search input { font-size: 1rem; }
  .hero-copy { width: min(75%, 610px); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .main { padding-top: 1rem; }
  .hero { min-height: auto; display: block; border-radius: 21px; }
  .hero-photo { height: 170px; width: 100%; object-position: right 44%; mask-image: linear-gradient(#000 38%, transparent); }
  .hero::after { background: linear-gradient(0deg, #0e1218 0%, #0e1218 54%, #0e121800 100%); }
  .hero-copy { width: 100%; padding: 7.1rem 1.15rem 1.25rem; }
  .hero-copy h1 { font-size: clamp(1.95rem, 8vw, 2.7rem); }
  .hero .intro { margin-top: .65rem; }
  .hero .actions { margin-top: 1rem; }
  .card-grid, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-card { padding: .48rem; border-radius: 13px; }
  .card-image { border-radius: 8px; }
  .card-title { font-size: .88rem; }
  .product-layout, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .product-image { border-radius: 15px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
