html { scroll-behavior: smooth; }
body { font-family: "Cosmica", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, background .35s; }
.lift:hover { transform: translateY(-3px); border-color: rgba(0,0,0,.25); }

.ag-grain {
  background:
    radial-gradient(800px 300px at 90% -10%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(700px 240px at 5% 110%, rgba(255,255,255,0.04), transparent 60%),
    #0b0b0c;
}

.ag-divider { border-top: 1px solid rgba(0,0,0,0.08); }

/* ─────────────────────────────────────────────────────────────
   Global dark mode (applied via html.ag-dark)
───────────────────────────────────────────────────────────── */
html.ag-dark,
html.ag-dark body {
  background: #111214 !important;
  color: #eceef2 !important;
}

html.ag-dark body {
  color-scheme: dark;
}

/* common utility overrides used across pages */
html.ag-dark .bg-white { background-color: #17181b !important; }
html.ag-dark .bg-\[\#fafafa\],
html.ag-dark .bg-\[\#fbfbfd\],
html.ag-dark .bg-\[\#f5f5f7\],
html.ag-dark .bg-\[\#f1f1f3\],
html.ag-dark .bg-white\/95,
html.ag-dark .bg-white\/85 { background-color: #1e2024 !important; }

html.ag-dark .text-black,
html.ag-dark .text-\[\#0b0b0c\],
html.ag-dark .text-\[\#1d1d1f\],
html.ag-dark .text-\[\#111\] { color: #e7e9ee !important; }

html.ag-dark .text-\[\#6e6e73\],
html.ag-dark .text-\[\#8e8e93\],
html.ag-dark .text-\[\#3a3a3c\],
html.ag-dark .text-\[\#4a4a4f\],
html.ag-dark .text-\[\#7a7a80\] { color: #a9adb6 !important; }

html.ag-dark .border-black\/\[0\.06\],
html.ag-dark .border-black\/\[0\.07\],
html.ag-dark .border-black\/\[0\.08\],
html.ag-dark .border-black\/\[0\.1\],
html.ag-dark .border-black\/10,
html.ag-dark .border-black\/15 { border-color: rgba(255,255,255,.15) !important; }

html.ag-dark input,
html.ag-dark select,
html.ag-dark textarea {
  background: #171b24 !important;
  color: #e7e9ee !important;
  border-color: rgba(255,255,255,.18) !important;
}

html.ag-dark header {
  background: rgba(18, 19, 22, 0.9) !important;
  border-color: rgba(255,255,255,.12) !important;
}

html.ag-dark footer {
  background: #15171a !important;
  border-color: rgba(255,255,255,.12) !important;
}

html.ag-dark .bg-black,
html.ag-dark .bg-\[\#0b0b0c\],
html.ag-dark .bg-\[\#1d1d1f\] { background-color: #2a2d33 !important; }

html.ag-dark .text-white { color: #f7f8fa !important; }

/* extra contrast guards for mixed utility combinations */
html.ag-dark a { color: inherit; }
html.ag-dark .hover\:text-black:hover { color: #d7dce6 !important; }
html.ag-dark .hover\:text-\[\#6e6e73\]:hover { color: #c6cdd8 !important; }

html.ag-dark .bg-black .text-black,
html.ag-dark .bg-\[\#0b0b0c\] .text-black,
html.ag-dark .bg-\[\#1d1d1f\] .text-black,
html.ag-dark .bg-black .text-\[\#111\],
html.ag-dark .bg-\[\#0b0b0c\] .text-\[\#111\],
html.ag-dark .bg-\[\#1d1d1f\] .text-\[\#111\] { color: #f7f8fa !important; }

html.ag-dark .bg-white .text-white,
html.ag-dark .bg-\[\#fafafa\] .text-white,
html.ag-dark .bg-\[\#f5f5f7\] .text-white { color: #f7f8fa !important; }

html.ag-dark svg[stroke="currentColor"],
html.ag-dark svg[fill="currentColor"] { color: inherit; }

html.ag-dark button,
html.ag-dark [role="button"],
html.ag-dark .rounded-full.border,
html.ag-dark .rounded-xl.border,
html.ag-dark .rounded-2xl.border {
  border-color: rgba(255,255,255,.2);
}

html.ag-dark .border-black,
html.ag-dark .border-black\/20,
html.ag-dark .border-black\/25,
html.ag-dark .border-black\/30 { border-color: rgba(255,255,255,.22) !important; }

html.ag-dark .shadow-\[0_30px_70px_rgba\(0\,0\,0\,0\.16\)\] {
  box-shadow: 0 30px 70px rgba(0,0,0,.45) !important;
}

html.ag-dark .hover\:bg-black\/\[0\.04\]:hover,
html.ag-dark .hover\:bg-black\/\[0\.05\]:hover,
html.ag-dark .hover\:bg-black\/\[0\.06\]:hover {
  background: rgba(255,255,255,.08) !important;
}

/* ─────────────────────────────────────────────────────────────
   Public product detail — Cosmica (Archilink tipografi)
───────────────────────────────────────────────────────────── */
.product-detail-page {
  --pdp-font-family: "Cosmica", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #fafafa;
  font-family: var(--pdp-font-family);
  font-weight: 400;
}

.product-detail-page :where(p, a, span, li, div, button) {
  font-weight: 400;
}

.product-detail-page :where(h1, h2, .product-detail-hero-title, .product-detail-section-title, .product-detail-sticky-title) {
  font-family: var(--pdp-font-family);
  font-weight: 600;
}

.product-detail-layout-shell {
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 36px 68px;
}

.product-detail-heading {
  margin: 0 0 18px;
  max-width: 920px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 408px;
  gap: 32px;
  align-items: start;
}

.product-detail-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-detail-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.product-detail-section.product-detail-hero-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-detail-section-title {
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: #1d1d1f;
  margin: 0 0 18px;
}

.product-detail-section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.product-detail-section-title-row .product-detail-section-title {
  margin: 0;
}

.product-detail-count-pill {
  min-width: 32px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f5f5f7;
  color: #333;
  font-family: var(--pdp-font-family);
  font-size: 13px;
}

.product-detail-hero-title {
  font-size: clamp(24px, 2.15vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: #0d0d0f;
  margin: 0;
}

.product-detail-hero-kicker {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: #6e6e73;
  margin: 0 0 10px;
}

.product-detail-muted {
  font-size: 15px;
  line-height: 1.65;
  color: #515154;
  max-width: 52rem;
}

.product-detail-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #424245;
  max-width: 760px;
  letter-spacing: -0.004em;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.product-detail-gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 12px;
}

.product-detail-gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #f1f1f3;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0.78;
  transition: opacity 0.2s ease, outline-color 0.2s ease, transform 0.2s ease;
}

.product-detail-gallery-thumb:hover {
  opacity: 1;
}

.product-detail-gallery-thumb.is-active {
  opacity: 1;
  outline: 1px solid rgba(0, 0, 0, 0.16);
  outline-offset: 3px;
}

.product-detail-gallery-thumb img,
.product-detail-variant-media img,
.product-detail-variant-thumb img,
.product-detail-brand-variant-dot img,
.product-detail-brand-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-detail-gallery-main {
  position: relative;
  min-width: 0;
  min-height: 610px;
  border-radius: 28px;
  background: #f6f6f7;
  overflow: visible;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.035);
}

.product-detail-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.product-detail-gallery-nav:hover {
  background: #fff;
}

.product-detail-gallery-nav--prev { left: -24px; }
.product-detail-gallery-nav--next { right: -24px; }

.product-detail-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-detail-breadcrumb-item,
.product-detail-breadcrumb-separator {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  color: #8a8a8e;
}

.product-detail-breadcrumb-item.is-current {
  color: #2d2d2f;
}

.product-detail-hero-description {
  margin-top: 22px;
}

.product-detail-hero-description .product-detail-section-title {
  margin-bottom: 14px;
}

.product-detail-hero-description .product-detail-lead {
  margin-top: 0;
}

.product-detail-info-table {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-info-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) 1fr;
  gap: 26px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: baseline;
}

.product-detail-info-row:last-child {
  border-bottom: 0;
}

.product-detail-info-label,
.product-detail-info-value {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.004em;
  text-transform: none;
}

.product-detail-info-label {
  color: #6e6e73;
}

.product-detail-info-value {
  color: #111;
  text-align: right;
}

.product-detail-variant-grid {
  display: grid;
  gap: 10px;
}

.product-detail-variant-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  background: #fafafa;
}

.product-detail-variant-media {
  aspect-ratio: 1;
  background: #e8e8ec;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-variant-body {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
}

.product-detail-variant-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.product-detail-variant-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8ec;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

button.product-detail-variant-thumb {
  display: block;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

button.product-detail-variant-thumb:hover,
button.product-detail-variant-thumb:focus-visible {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
  outline: none;
}

.product-detail-variant-name,
.product-detail-variant-meta {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.004em;
}

.product-detail-variant-name {
  font-weight: 600;
  color: #111;
}

.product-detail-variant-meta {
  margin-top: 3px;
  color: #6e6e73;
  font-family: var(--pdp-font-family);
  font-size: 12px;
}

.product-detail-variant-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.product-detail-variant-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.35;
}

.product-detail-variant-spec-label {
  color: #6e6e73;
}

.product-detail-variant-spec-value {
  color: #111;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.product-detail-sticky-aside {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  min-width: 0;
  align-self: start;
}

.product-detail-brand-panel {
  margin-top: 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
}

.product-detail-brand-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-detail-brand-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.product-detail-brand-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.product-detail-brand-logo-slot,
.product-detail-brand-logo-frame {
  position: relative;
  flex-shrink: 0;
}

.product-detail-brand-logo-frame.brand-logo-frame--wide {
  width: 96px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
}

.product-detail-brand-logo-slot {
  width: 62px;
  height: 62px;
}

.product-detail-brand-logo,
.product-detail-brand-avatar {
  width: 62px;
  height: 62px;
  border-radius: 16px;
}

.product-detail-brand-logo {
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.product-detail-brand-logo.is-hidden,
.product-detail-brand-avatar.is-hidden {
  display: none;
}

.product-detail-brand-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pdp-font-family);
  font-size: 24px;
  color: #fff;
  background: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-brand-eyebrow {
  font-size: 13px;
  line-height: 1.3;
  color: #6e6e73;
  margin: 0 0 5px;
  letter-spacing: 0;
  text-transform: none;
}

.product-detail-brand-headline {
  font-family: var(--pdp-font-family);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: #0d0d0f;
  margin: 0;
}

.product-detail-save-btn {
  height: 42px;
  padding: 0 15px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #111;
  font-family: var(--pdp-font-family);
  font-size: 13px;
  cursor: pointer;
}

.product-detail-sticky-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.05vw, 28px);
  line-height: 1.16;
  letter-spacing: -0.024em;
  color: #0d0d0f;
}

.product-detail-brand-lede {
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: -0.004em;
  color: #6e6e73;
  margin: 0 0 18px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-detail-brand-variants {
  margin: 0 0 18px;
}

.product-detail-brand-variants p {
  margin: 0 0 8px;
  color: #6e6e73;
  font-size: 13px;
}

.product-detail-brand-variants > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-brand-variant-dot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.product-detail-brand-variant-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #1d1d1f;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.product-detail-brand-variant-list {
  display: grid;
  gap: 10px;
}

.product-detail-brand-variant-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
}

.product-detail-brand-variant-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-detail-brand-variant-specs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.35;
}

.product-detail-brand-variant-specs span {
  color: #6e6e73;
}

.product-detail-brand-variant-specs strong {
  color: #111;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.product-detail-brand-chip-row,
.product-detail-brand-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.product-detail-brand-role-pill,
.product-detail-brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--pdp-font-family);
  font-size: 13px;
  color: #333;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.25;
}

.product-detail-brand-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.product-detail-btn-primary,
.product-detail-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--pdp-font-family);
  font-size: 15px;
  letter-spacing: -0.004em;
  text-decoration: none;
}

.product-detail-btn-primary {
  color: #fff;
  background: #111;
  border: none;
}

.product-detail-btn-secondary {
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.product-detail-brand-more {
  margin-top: 16px;
  font-size: 13px;
}

.product-detail-brand-more-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.product-detail-brand-more-head a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.product-detail-brand-preview-next {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-detail-brand-preview {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin-top: 12px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.product-detail-brand-preview::-webkit-scrollbar {
  display: none;
}

.product-detail-brand-preview-item {
  flex: 0 0 148px;
  width: 148px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}

.product-detail-brand-preview-thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e8ec;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.product-detail-brand-preview-name {
  display: -webkit-box;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-detail-brand-preview-empty {
  font-size: 12px;
  line-height: 1.45;
  color: #86868b;
  margin: 6px 0 0;
}

.product-detail-file-group {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0;
  background: #fafafa;
  overflow: hidden;
}

.product-detail-file-group + .product-detail-file-group {
  margin-top: 12px;
}

.product-detail-file-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-detail-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
}

.product-detail-file-icon svg {
  width: 20px;
  height: 20px;
}

.product-detail-file-icon--pdf { color: #c41e1e; }
.product-detail-file-icon--dwg { color: #0066cc; }
.product-detail-file-icon--3d { color: #5c5c7b; }

.product-detail-file-title {
  font-size: 14px;
  color: #1d1d1f;
  margin: 0;
}

.product-detail-file-placeholder {
  font-size: 13px;
  color: #8e8e93;
  padding: 14px 16px;
  display: block;
}

.product-detail-file-list {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.product-detail-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 14px;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.product-detail-file-list li:first-child .product-detail-file-item {
  border-top: 0;
}

.product-detail-file-item:hover {
  background: rgba(255, 255, 255, 0.85);
}

.product-detail-file-item-chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: #aeaeb2;
}

.product-detail-file-item-chevron svg {
  width: 18px;
  height: 18px;
  display: block;
}

.product-detail-usage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-usage-list li {
  margin: 0;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.45;
  color: #3a3a3c;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-usage-list li:last-child {
  border-bottom: 0;
}

@media (max-width: 1099px) {
  .product-detail-layout-shell {
    padding: 18px 18px 56px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-sticky-aside {
    position: static;
    order: -1;
    max-height: none;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    order: 2;
  }

  .product-detail-gallery-main {
    min-height: 360px;
  }

  .product-detail-variant-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-detail-info-value {
    text-align: left;
  }
}

html.ag-dark .product-detail-page {
  background: #111214;
}

html.ag-dark .product-detail-section {
  background: #1a1b1e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

html.ag-dark .product-detail-section-title,
html.ag-dark .product-detail-hero-title {
  color: #eceef2;
}

html.ag-dark .product-detail-hero-kicker {
  color: #98989e;
}

html.ag-dark .product-detail-muted,
html.ag-dark .product-detail-lead {
  color: #b4b8c0;
}

html.ag-dark .product-detail-gallery-main {
  background: #22252b;
  border-color: rgba(255, 255, 255, 0.08);
}

html.ag-dark .product-detail-gallery-thumb {
  background: #2a2d35;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html.ag-dark .product-detail-gallery-thumb.is-active {
  border-color: #eceef2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 20px rgba(0, 0, 0, 0.35);
}

html.ag-dark .product-detail-gallery-nav {
  background: rgba(34, 37, 43, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eceef2;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

html.ag-dark .product-detail-gallery-nav:hover {
  background: #2c3038;
}

html.ag-dark .product-detail-brand-panel {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html.ag-dark .product-detail-hero-brand .product-detail-brand-panel {
  border-top: none;
}

html.ag-dark .product-detail-brand-eyebrow {
  color: #98989e;
}

html.ag-dark .product-detail-brand-headline {
  color: #f5f5f7;
}

html.ag-dark .product-detail-brand-lede {
  color: #a9adb6;
}

html.ag-dark .product-detail-brand-chip {
  color: #d1d1d6;
  background: #2c2c2e;
  border-color: rgba(255, 255, 255, 0.08);
}

html.ag-dark .product-detail-brand-role-pill {
  color: #eceef2;
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.14);
}

html.ag-dark .product-detail-brand-logo {
  border-color: rgba(255, 255, 255, 0.1);
  background: #22252b;
}

html.ag-dark .product-detail-btn-secondary {
  background: #22252b;
  border-color: rgba(255, 255, 255, 0.14);
  color: #eceef2;
}

html.ag-dark .product-detail-btn-secondary:hover {
  background: #2a2d35;
}

html.ag-dark .product-detail-brand-more a {
  color: #eceef2;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

html.ag-dark .product-detail-brand-preview-thumb {
  background: #2a2d35;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html.ag-dark .product-detail-brand-preview-name {
  color: #eceef2;
}

html.ag-dark .product-detail-brand-preview-empty {
  color: #8e9299;
}

html.ag-dark .product-detail-brand-preview {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

html.ag-dark .product-detail-info-table {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html.ag-dark .product-detail-info-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.ag-dark .product-detail-info-label {
  color: #b8bcc4;
}

html.ag-dark .product-detail-info-value {
  color: #f2f4f8;
}

html.ag-dark .product-detail-file-placeholder {
  color: #8e9299;
}

html.ag-dark .product-detail-file-group {
  background: #16181c;
  border-color: rgba(255, 255, 255, 0.1);
}

html.ag-dark .product-detail-file-group-head {
  background: #1e2128;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html.ag-dark .product-detail-file-icon {
  background: #22252b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #eceef2;
}

html.ag-dark .product-detail-file-title {
  color: #eceef2;
}

html.ag-dark .product-detail-file-item {
  color: #eceef2;
  border-top-color: rgba(255, 255, 255, 0.06);
}

html.ag-dark .product-detail-file-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

html.ag-dark .product-detail-file-item-chevron {
  color: #6e737c;
}

html.ag-dark .product-detail-usage-list li {
  color: #c5c9d0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}


.product-detail-btn-primary,
.product-detail-btn-secondary,
.product-detail-brand-role-pill,
.product-detail-brand-chip,
.product-detail-save-btn,
.product-detail-brand-more-head a,
.product-detail-brand-preview-next {
  font-family: var(--pdp-font-family) !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
}


/* Architonic-style full-width product hero attempt */
.product-detail-layout-shell {
  max-width: none;
  padding: 0 0 68px;
}

.product-detail-heading {
  display: block;
  max-width: none;
  width: min(calc(100% - 520px), 1120px);
  margin: 18px 0 0 36px;
  padding: 0;
}

.product-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 0;
  align-items: start;
}

.product-detail-main {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-detail-section.product-detail-hero-panel {
  border-radius: 0;
}

.product-detail-gallery {
  position: relative;
  display: block;
  min-height: clamp(440px, 42vw, 610px);
}

.product-detail-gallery-thumbs {
  position: absolute;
  left: 36px;
  top: 32px;
  z-index: 6;
  width: 74px;
  display: grid;
  gap: 12px;
}

.product-detail-gallery-thumb {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.product-detail-gallery-main {
  --gallery-height: clamp(440px, 42vw, 610px);
  position: relative;
  min-height: var(--gallery-height);
  height: var(--gallery-height);
  width: 100%;
  border-radius: 0 0 28px 28px;
  background: #f4f4f5;
  overflow: hidden;
  box-shadow: none;
}

.product-detail-gallery-stage {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, var(--gallery-height)) minmax(0, 1fr);
  align-items: stretch;
}

.product-detail-gallery-frame {
  height: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f4f4f5;
}

.product-detail-gallery-frame[hidden] {
  display: none;
}

.product-detail-gallery-frame--active {
  aspect-ratio: 1 / 1;
  width: var(--gallery-height);
  max-width: 100%;
  justify-self: center;
}

.product-detail-gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-position: center;
}

.product-detail-gallery-frame--active img {
  object-fit: contain;
}

.product-detail-gallery-frame--side img {
  object-fit: cover;
  opacity: 0.82;
}

.product-detail-gallery-nav {
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.product-detail-gallery-nav--prev { left: 28px; }
.product-detail-gallery-nav--next { right: 28px; }

.product-detail-hero-description,
.product-detail-main > #inject-technical,
.product-detail-main > #inject-variants,
.product-detail-main > #inject-other,
.product-detail-main > section {
  width: min(calc(100% - 520px), 1120px);
  margin-left: 36px;
}

.product-detail-hero-description {
  margin-top: 18px;
}

.product-detail-hero-overlay {
  display: none;
}

.product-detail-hero-overlay .product-detail-hero-kicker {
  margin-bottom: 8px;
}

.product-detail-hero-overlay .product-detail-hero-title {
  margin: 0;
}

.product-detail-description-block {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-description-block .product-detail-section-title {
  margin-bottom: 12px;
}

.product-detail-description-block .product-detail-lead {
  max-width: 820px;
}

.product-detail-sticky-aside {
  grid-column: 2;
  grid-row: 1;
  z-index: 8;
  position: sticky;
  top: 78px;
  align-self: start;
  width: min(408px, calc(100% - 36px));
  margin-top: clamp(220px, 27vw, 330px);
  margin-right: 36px;
  justify-self: end;
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.product-detail-brand-panel {
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1099px) {
  .product-detail-heading {
    display: block;
    width: auto;
    margin: 18px;
    padding: 0;
  }

  .product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-detail-main,
  .product-detail-sticky-aside {
    grid-column: 1;
    grid-row: auto;
  }

  .product-detail-sticky-aside {
    position: static;
    order: -1;
    width: auto;
    margin: 18px;
    max-height: none;
  }

  .product-detail-gallery,
  .product-detail-gallery-main {
    min-height: 360px;
  }

  .product-detail-gallery-main {
    --gallery-height: min(360px, calc(100vw - 36px));
    height: var(--gallery-height);
  }

  .product-detail-gallery-stage {
    grid-template-columns: minmax(0, 0.35fr) minmax(260px, var(--gallery-height)) minmax(0, 0.35fr);
  }

  .product-detail-gallery-thumbs {
    position: static;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px 18px 0;
  }

  .product-detail-gallery-main {
    border-radius: 0 0 22px 22px;
  }

  .product-detail-hero-overlay {
    display: none;
  }

  .product-detail-hero-description,
  .product-detail-main > #inject-technical,
  .product-detail-main > #inject-variants,
  .product-detail-main > #inject-other,
  .product-detail-main > section {
    width: auto;
    margin-left: 18px;
    margin-right: 18px;
  }
}
