:root {
  --asx-red: #ff1038;
  --asx-action: #df002b;
  --asx-ink: #101820;
  --asx-muted: #53616d;
  --asx-line: #dce2e8;
  --asx-display: ASXDisplay, "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --red: var(--asx-action);
  --red-dark: #ba0025;
  --ink: var(--asx-ink);
  --muted: var(--asx-muted);
  --line: var(--asx-line);
  --surface: #f6f7f8;
  --sidebar: 86px;
  --gutter: clamp(22px, 3.2vw, 54px);
}

html { scroll-padding-top: 76px; }
.topbar, .content-footer { background: #0d141b; color: #fff; }
.topbar {
  height: 66px;
  gap: clamp(14px, 2.5vw, 36px);
  padding: 0 var(--gutter);
  border-bottom: 1px solid #ffffff26;
}
.site-brand { flex: none; }
.site-brand img { width: 91px; height: 34px; object-fit: contain; }
.site-nav, .content-footer nav { display: flex; align-items: center; gap: clamp(14px, 2.25vw, 34px); }
.site-nav { margin-left: auto; height: 100%; }
.site-nav a, .content-footer nav a { position: relative; font-size: 12px; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .content-footer nav a:hover { color: #ff728b; }
.site-nav .current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--asx-red);
}
.topbar .search-wrap { margin-left: 0; width: clamp(140px, 17vw, 250px); flex-shrink: 1; }
.topbar .search-box {
  height: 37px;
  background: #ffffff09;
  border-color: #ffffff32;
  color: #dce4ec;
}
.topbar .search-box input { color: #fff; font-size: 12px; }
.topbar .search-box input::placeholder { color: #bcc7d2; }
.topbar .search-box kbd { color: #dce4ec; background: #ffffff12; border-color: #ffffff27; }
.topbar .search-results { color: var(--asx-ink); min-width: min(300px, calc(100vw - 32px)); left: auto; right: 0; }
.contact-link { flex: none; }
.menu-button { color: #fff; }
.menu-button:hover { background: #ffffff18; color: #fff; }

.sidebar {
  background: #0b1118;
  border-color: #ffffff22;
}
.sidebar .brand { margin-top: 0; }
.sidebar .category-nav, .sidebar .rail-home { color: #b7c2ce; }
.sidebar .category-nav.active, .sidebar .rail-home.active { color: #fff; background: #ff103823; }
.sidebar .category-nav.active .icon, .sidebar .rail-home.active .icon { color: #ff4968; }
.sidebar .category-nav > span, .sidebar .rail-home > span:last-child { font-size: 9px; }
.sidebar .category-nav { min-height: 43px; }

main { max-width: none; padding: 0; }
.overview-view, .category-view { width: min(100%, 1560px); margin-inline: auto; padding: 0 var(--gutter) 20px; }
.category-view { padding-top: 22px; }
.content-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 20px var(--gutter);
  margin-top: 24px;
}
.content-footer > a:first-child img { width: 88px; }
.content-footer .text-button { color: #fff; margin-left: 0; width: 35px; height: 35px; justify-content: center; }
.content-footer .text-button .icon { width: 17px; height: 17px; }

#detailView { background: #f7f8f9; }
#detailView .line-hero {
  min-height: clamp(365px, 34vw, 520px);
  align-items: stretch;
  border-radius: 0;
  background: #0c141b;
}
#detailView .hero-content {
  width: 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px var(--gutter) 42px;
  justify-content: center;
}
#detailView .hero-image { width: 63%; filter: none; opacity: 1; object-fit: cover; }
#detailView .platinum-hero .hero-image { width: 67%; }
#detailView .hero-shade {
  background: linear-gradient(90deg, #0c141b 17%, #0c141bf5 34%, #0c141b80 51%, transparent 70%),
              linear-gradient(0deg, #0c141b55, transparent 44%);
}
#detailView .hero-stripe {
  width: 105px;
  height: 152%;
  top: -26%;
  right: -48px;
  transform: skewX(-24deg);
  background: linear-gradient(180deg, #ff003517, #ff003557);
}
#detailView .breadcrumb {
  position: relative;
  margin: 0 0 10px;
  gap: 9px;
  font-size: 12px;
  color: #d4dce4;
}
#detailView .breadcrumb strong { color: #fff; }
.hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: clamp(15px, 2vw, 28px);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.hero-back:hover { color: #ff728b; }
.hero-back [data-icon] { display: flex; }
.hero-back .icon { width: 14px; height: 14px; }
#detailView .hero-eyebrow { color: #ff4968; font-size: 13px; font-weight: 800; letter-spacing: .13em; }
#lineTitle {
  max-width: 64%;
  margin: 8px 0 10px;
  font: italic 900 clamp(43px, 6vw, 92px)/.94 var(--asx-display);
  text-transform: uppercase;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
#lineTitle.long-name { font-size: clamp(39px, 4.9vw, 68px); }
#lineTitle span { display: block; color: var(--asx-red); }
#detailView .line-hero p { margin: 0 0 23px; font-size: 16px; color: #dbe4ee; max-width: 85%; }
#detailView .hero-actions { gap: 13px; }
#detailView .button, .contact-link { min-height: 41px; padding: 9px 17px; font-size: 12px; border-radius: 5px; }
#detailView .hero-actions .button { min-height: 44px; }
#detailView .button-glass { border-color: #ffffffb0; }

#detailView .section-toolbar {
  background: #fff;
  margin: 0;
  padding: 0 var(--gutter);
  gap: 16px;
}
#detailView .section-tabs { gap: clamp(14px, 3.05vw, 46px); }
#detailView .section-tab { padding: 17px 0 14px; font-size: 13px; color: #24313d; }
#detailView .section-tab.active { color: var(--asx-ink); }
#detailView .select-toggle { color: #4a5966; font-size: 11px; padding: 10px 0; }
#detailView .select-toggle.active { color: var(--asx-action); }

#detailView .materials-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  background: #eef0f2;
  padding: clamp(25px, 3.7vw, 53px) var(--gutter);
}
#detailView .section-heading { margin: 0 0 16px; }
#detailView .section-heading h2 {
  font: italic 900 clamp(27px, 3.1vw, 43px)/1 var(--asx-display);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -.02em;
}
#detailView .section-heading p { color: var(--asx-muted); font-size: 14px; margin: 6px 0 0; }
#detailView .video-card { border: 0; border-radius: 0; box-shadow: none; max-width: none; margin: 0; background: transparent; }
#detailView .video-card + .video-card { margin-top: 22px; }
#detailView .video-frame { aspect-ratio: 16 / 9; border-radius: 7px; }
#detailView .video-frame video { object-fit: contain; background: #080d13; }
#detailView .video-card-vertical .video-frame { aspect-ratio: 9 / 16; width: min(100%, 280px); }
#detailView .video-meta { padding: 10px 0 0; }
#detailView .video-meta .asset-meta { color: var(--asx-muted); font-size: 12px; }
#detailView .video-meta .button { width: auto; margin-top: 11px; }
.video-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  background: linear-gradient(90deg, #060a1070, transparent 70%);
  color: white;
  padding: 0;
}
.video-poster .play-circle {
  width: clamp(46px, 6vw, 72px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #0d131db0;
  transition: background .2s;
}
.video-poster:hover .play-circle { background: var(--asx-action); }
.video-poster .play-circle .icon { width: 38%; height: 38%; fill: currentColor; margin-left: 6%; }
.poster-title {
  position: absolute;
  left: 6%;
  top: 13%;
  text-align: left;
  font: italic 900 clamp(17px, 2.5vw, 34px)/.95 var(--asx-display);
  letter-spacing: -.02em;
}
.poster-title span { display: block; color: #ff173e; }
.video-versions { margin: 14px 0 0; }
.video-versions summary { color: var(--asx-action); font-size: 12px; cursor: pointer; font-weight: 700; }
.video-versions[open] summary { margin-bottom: 10px; }
.video-versions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); gap: 20px 15px; }
#detailView .video-versions-grid .video-card + .video-card { margin-top: 0; }

#detailView .photo-gallery { gap: 8px; }
#detailView .photo-card { border: 2px solid #fff; border-radius: 8px; }
#detailView .photo-preview { aspect-ratio: 1.32; padding: 0; background: #f9fafb; }
#detailView .photo-preview img { object-fit: cover; }
#detailView .photo-preview.photo-packaging img { object-fit: contain; }
#detailView .photo-info { position: absolute; right: 7px; bottom: 7px; padding: 0; border: 0; }
#detailView .photo-info .icon-button {
  width: 32px;
  height: 32px;
  color: #1b2631;
  border: 1px solid #8794a366;
  background: #fff;
}
#detailView .photo-info .icon-button:hover { color: var(--asx-action); }
#detailView .more-photos { margin-top: 14px; font-size: 13px; min-height: 34px; }

#detailView .art-section { margin: 0; padding: clamp(24px, 3.3vw, 45px) var(--gutter); border-top: 8px solid #fff; }
#detailView .art-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(11px, 2.4vw, 32px); }
#detailView .art-card { display: block; border: 0; padding: 0; box-shadow: none; background: transparent; border-radius: 0; }
#detailView .art-preview { width: 100%; margin: 0; border-radius: 8px; }
#detailView .art-preview button { width: 100%; height: 100%; display: block; background: transparent; padding: 0; }
#detailView .art-preview button:focus-visible { outline-offset: -4px; }
#detailView .art-details { padding: 9px 0 0; }
#detailView .art-details h3 { font-size: 13px; margin: 0 0 7px; line-height: 1.3; }
#detailView .art-actions { display: block; }
#detailView .art-actions .button { width: 100%; min-height: 36px; border-color: var(--asx-red); }

#detailView .resources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(11px, 2.4vw, 32px);
  background: #fff;
  padding: 22px var(--gutter);
}
#detailView .resources > * {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  margin: 0;
  border: 1px solid #cdd7e0;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.resource-icon { color: var(--asx-action); display: flex; flex: none; }
.resource-icon .icon { width: 31px; height: 31px; }
.resource-copy { min-width: 0; }
.resource-copy h2 { font-size: 16px; line-height: 1.2; margin: 0 0 6px; }
#detailView .resource-copy p { margin: 0; color: var(--asx-muted); font-size: 12px; overflow-wrap: anywhere; }
#detailView .resource-copy .button { margin-top: 11px; min-height: 35px; border-color: var(--asx-red); }
#detailView .product-info {
  margin: 6px var(--gutter) 0;
  padding: 9px 16px;
  border: 1px solid var(--asx-line);
  background: #fff;
  border-radius: 6px;
}
.product-info summary { font-size: 13px; font-weight: 700; cursor: pointer; }
#detailView .product-intro { border: 0; padding: 16px 0 0; margin: 0 0 12px; gap: 14px; }
#detailView .fitments-section { margin: 0 0 10px; }
#detailView .demo-note { margin: 10px var(--gutter) 0; color: var(--asx-muted); }
#detailView .demo-note p { font-size: 10px; }

@media (max-width: 1120px) {
  .topbar { gap: 15px; }
  .site-nav, .content-footer nav { gap: 15px; }
  .site-nav a, .content-footer nav a { font-size: 11px; }
  .site-brand img { width: 76px; }
}
@media (max-width: 990px) {
  .site-nav a:not(.current) { display: none; }
  .topbar .search-wrap { width: min(260px, 44%); }
}
@media (max-width: 720px) {
  :root { --sidebar: 230px; --gutter: 18px; }
  .sidebar .category-nav { min-height: 40px; }
  .sidebar .category-nav > span, .sidebar .rail-home > span:last-child { font-size: 12px; }
  .topbar { height: 62px; gap: 12px; }
  .site-brand img { width: 60px; }
  .topbar .site-nav { display: none; }
  .topbar .search-wrap { width: auto; max-width: none; }
  .topbar .contact-link { padding-inline: 10px; min-height: 35px; }
  .topbar .contact-link .icon { display: none; }
  #detailView .line-hero { min-height: 320px; }
  #detailView .hero-content { padding-block: 18px 29px; }
  #detailView .hero-image, #detailView .platinum-hero .hero-image { width: 76%; }
  #detailView .hero-shade { background: linear-gradient(90deg, #0c141b 12%, #0c141be8 37%, #0c141b30 78%); }
  #detailView .hero-back { font-size: 11px; }
  #lineTitle { max-width: 74%; font-size: clamp(42px, 8.7vw, 66px); }
  #detailView .line-hero p { font-size: 14px; }
  #detailView .section-toolbar { gap: 10px; padding-right: 12px; }
  #detailView .section-tabs { overflow-x: auto; justify-content: flex-start; gap: 17px; }
  #detailView .section-tab { font-size: 12px; }
  #detailView .select-toggle > span:first-child { display: flex; }
  #detailView .select-toggle .icon { width: 18px; height: 18px; }
  #detailView .photo-info .icon-button { width: 30px; height: 30px; }
  .content-footer { justify-content: flex-start; }
  .content-footer nav { order: 4; width: 100%; flex-wrap: wrap; }
  .content-footer .text-button { margin-left: auto; }
}
@media (max-width: 580px) {
  #detailView .materials-layout, #detailView .resources { grid-template-columns: minmax(0, 1fr); }
  #detailView .art-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-title { font-size: clamp(19px, 5.2vw, 29px); }
  #detailView .resources { padding-block: 16px; }
}
@media (max-width: 400px) {
  .topbar .contact-link { display: none; }
  #detailView .hero-actions .button { padding-inline: 11px; font-size: 11px; }
  #detailView .hero-actions { gap: 8px; }
  #detailView .hero-image, #detailView .platinum-hero .hero-image { width: 100%; }
  #detailView .hero-shade { background: linear-gradient(90deg, #0c141bf5 0%, #0c141bd9 30%, #0c141b35 100%); }
}

.inline-preview {
  margin: 0 0 14px;
  border: 1px solid var(--asx-line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  scroll-margin-top: 14px;
}
.inline-preview .preview-stage { height: clamp(220px, 54vh, 520px); padding: 12px; background: #e8ebee; }
.inline-preview .preview-stage img { max-height: 100%; }
.inline-preview .modal-header, .inline-preview .modal-footer { padding: 12px; gap: 8px; }
.inline-preview .modal-footer .button { flex-shrink: 0; padding-inline: 10px; }
.help-panel {
  position: relative;
  max-width: 640px;
  margin: 24px var(--gutter);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--asx-line);
  border-radius: 8px;
}
.help-panel h2 { margin: 0 25px 12px 0; font-size: 22px; line-height: 1.25; }
.help-panel ol { padding-left: 22px; }
.help-panel li p { margin: 4px 0 12px; color: var(--asx-muted); }
.help-panel .help-note { color: var(--asx-muted); font-size: 12px; }
@media (min-width: 721px) {
  .sidebar .brand { visibility: hidden; height: 40px; }
}
@media (max-width: 540px) {
  #detailView .section-tab[data-section="encaixes"] { display: none; }
}
@media (max-width: 400px) {
  #detailView .platinum-hero .hero-image { object-position: 19% center !important; }
}
