/* ============================================================
   WORDPRESS / AVADA INTEGRATION OVERRIDES  (v0.1.11)
   Scoped to body.ews-active — ONLY products opted into the Eralux
   v3 template (currently F2). Never affects other products.
   ============================================================ */

/* 1) Remove the leftover Avada page-title bar / banner. */
body.ews-active .avada-page-titlebar-wrapper,
body.ews-active .fusion-page-title-bar { display: none !important; }

/* 2) FULL-BLEED SECTIONS. */
body.ews-active #main,
body.ews-active #content {
  padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
  margin-left: 0 !important; margin-right: 0 !important;
  background: transparent !important; max-width: none !important; width: auto !important;
}
body.ews-active #main .fusion-row {
  max-width: none !important; width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important;
}

/* 3) FULL-BLEED CONTENT with responsive gutters. */
body.ews-active .ews-root .container {
  width: auto !important; max-width: none !important;
  margin-left: 0 !important; margin-right: 0 !important;
}

/* 4) Clear the FIXED Avada header. */
body.ews-active .ews-root { padding-top: 140px; }
@media (max-width: 1024px) { body.ews-active .ews-root { padding-top: 200px; } }
@media (max-width: 640px)  { body.ews-active .ews-root { padding-top: 190px; } }

/* 5) Horizontal clip on the viewport (protects the Why-Specify GSAP pin). */
body.ews-active { overflow-x: hidden; }
body.ews-active .ews-root { overflow-x: visible !important; }

/* 6) APPLICATION SECTION — premium readable glass panel. */
body.ews-active .ews-root .application .app-panel {
  max-width: 640px; padding: 44px 48px; border-radius: 12px;
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
}
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  body.ews-active .ews-root .application .app-panel {
    background: rgba(10, 10, 10, 0.40);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
  }
}
body.ews-active .ews-root .application .app-panel .eyebrow { color: #fff; opacity: 1; }
body.ews-active .ews-root .application .app-panel h2 { color: #fff; margin-top: 14px; }
body.ews-active .ews-root .application .app-panel p { color: rgba(255, 255, 255, 0.92); margin-top: 14px; max-width: none; }
body.ews-active .ews-root .application .app-panel .app-tags { margin-top: 26px; }
@media (max-width: 1024px) { body.ews-active .ews-root .application .app-panel { max-width: 72%; padding: 36px 38px; } }
@media (max-width: 640px)  { body.ews-active .ews-root .application .app-panel { max-width: none; padding: 24px 22px; border-radius: 10px; } }

/* 6b) APPLICATION TAGS — Eralux blue highlight (was Avada gold). */
body.ews-active .ews-root .application .app-tags a { color: rgba(255, 255, 255, 0.90); transition: color .25s ease, border-color .25s ease, background .25s ease; }
body.ews-active .ews-root .application .app-tags a:hover,
body.ews-active .ews-root .application .app-tags a:focus,
body.ews-active .ews-root .application .app-tags a:focus-visible,
body.ews-active .ews-root .application .app-tags a:active {
  color: #00AAE7 !important; border-color: #00AAE7 !important; background: rgba(0, 170, 231, 0.12) !important;
}

/* 7) TYPOGRAPHY — force Montserrat throughout the F2 template. */
body.ews-active .ews-root,
body.ews-active .ews-root * { font-family: 'Montserrat', sans-serif !important; }

/* 8) RESOURCES — dark category labels; Eralux blue View/Download. */
body.ews-active .ews-root .res-cat-label { color: var(--ink); }
body.ews-active .ews-root .res-cat-label:hover { color: var(--blue); }
body.ews-active .ews-root .res-cat-label .res-toggle { color: var(--ink); }
body.ews-active .ews-root .res-actions a { color: var(--blue); }
body.ews-active .ews-root .res-actions a:hover { color: var(--ink); }

/* 9) KEY SPECIFICATIONS — dark spec labels; balanced values. */
body.ews-active .ews-root .spec-row .k { color: var(--ink); font-weight: 700; }
body.ews-active .ews-root .spec-row .v { color: var(--ink); font-weight: 500; }

/* 10) HERO IMAGE — consistent frame + fixture scaled to fill it better.
      object-fit:contain keeps the fixture uncropped & centered; a controlled
      scale (default 1.35, per-product override via --ews-hero-scale) makes the
      fixture visually fill the frame despite transparent padding in the source
      PNG. The frame clips the (mostly transparent) overflow so neighbours are
      never overlapped. Finish-wheel image swap inherits the same behaviour. */
body.ews-active .ews-root .product-stage {
  width: 100% !important;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
  aspect-ratio: 16 / 10;
  max-height: 440px;
  overflow: visible;   /* transparent PNG: never clip to a rectangle (was the visible box) */
}
body.ews-active .ews-root .product-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  transform: scale(var(--ews-hero-scale, 1.35));
  transform-origin: center center;
  filter: drop-shadow(0 18px 32px rgba(13, 13, 12, 0.12)) !important;  /* soft float, follows the fixture shape (no rectangle) */
}
@media (max-width: 860px) { body.ews-active .ews-root .product-stage { max-width: 520px; } }

/* 10b) FINISH WHEEL / POPULAR FINISHES — never clip the wheel marker or the
        swatch rings; give the popular-finishes row breathing room so the circles
        are fully visible on all breakpoints, without overlapping the next section. */
body.ews-active .ews-root .product-hero .container { overflow: visible !important; }
body.ews-active .ews-root .finish-col { padding-bottom: 20px; }
body.ews-active .ews-root .finish-wheel svg,
body.ews-active .ews-root .finish-wheel,
body.ews-active .ews-root .std-finishes,
body.ews-active .ews-root .std-row { overflow: visible !important; }


/* 11) TRACK SYSTEM — repeatable grid (5 per row desktop / 3 tablet / 2 / 1 mobile).
      Full-bleed section, premium cards, Montserrat (inherited). Empty items are
      never rendered (handled server-side), so the grid packs densely. */
body.ews-active .ews-root .track-system { background: var(--grey); padding: 110px 0; }
body.ews-active .ews-root .track-system .section-title { margin-bottom: 60px; }
body.ews-active .ews-root .track-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; align-items: stretch; }
body.ews-active .ews-root .track-card { background: var(--white); border-radius: 12px; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; height: 100%;}
body.ews-active .ews-root .track-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -22px rgba(13,13,12,0.25); }
body.ews-active .ews-root .track-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); }
body.ews-active .ews-root .track-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; display: block; transition: transform .5s ease; }
body.ews-active .ews-root .track-card:hover .track-card__media img { transform: scale(1.5); }
body.ews-active .ews-root .track-card__body { padding: 18px 20px 24px; flex: 1; }
body.ews-active .ews-root .track-card__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
body.ews-active .ews-root .track-card__text { margin-top: 8px; font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 1100px) { body.ews-active .ews-root .track-grid { grid-template-columns: repeat(3, 1fr); } body.ews-active .ews-root .track-system { padding: 72px 0; } }
@media (max-width: 760px)  { body.ews-active .ews-root .track-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 520px)  { body.ews-active .ews-root .track-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ORIGINAL v3 MODEL STYLES (scoped under .ews-root) BELOW
   ============================================================ */
/* ============================================================
   ERALUX F2 PRODUCT PAGE — v3 (homepage theme, original layout)
   Same markup/layout as v1; tokens remapped to the homepage:
   Montserrat wt500 display / #00AAE7 accent / #0d0d0c ink /
   #f7f5f1 paper / #edeae3 warm grey / #8b877e muted / 1520px
   ============================================================ */

:root {
  /* homepage theme tokens (eralux-homepage-product-focused.html) */
  --blue:        #00AAE7;   /* accent */
  --blue-hover:  #33bced;
  --ink:         #0d0d0c;
  --ink-soft:    #8b877e;   /* muted */
  --grey:        #edeae3;   /* warm grey panel */
  --grey-line:   rgba(13,13,12,.12);
  --white:       #f7f5f1;   /* paper */
  --container:   1520px;
  --font:        'Montserrat', sans-serif;
}

.ews-root * { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

.ews-root {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ews-root ::selection { background: var(--blue); color: #fff; }
.ews-root :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.ews-root img { max-width: 100%; display: block; }
.ews-root a { color: inherit; text-decoration: none; }
.ews-root ul { list-style: none; }

.ews-root .container {
  /* full bleed — no max-width cap, sections span the viewport */
  max-width: none;
  margin: 0 auto;
  padding: 0 48px;
}

.ews-root .eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.ews-root .section-title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---------- reveal (GSAP) ---------- */
.ews-root .reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .ews-root .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PRODUCT HERO
   ============================================================ */
.ews-root .product-hero { padding: 36px 0 56px; }
.ews-root .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 2.8vw, 44px);
  align-items: center;
}

.ews-root .breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
}
.ews-root .breadcrumb a { color: var(--blue); }
.ews-root .breadcrumb a:hover { color: var(--ink); }
.ews-root .breadcrumb .sep { margin: 0 12px; color: var(--grey-line); }

.ews-root .product-title {
  font-size: clamp(3.4rem, 6.6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ews-root .order-code {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 26px;
  background: var(--ink);
  color: rgba(247,245,241,0.75);
  border-radius: 999px;
  font-size: 13px;
}
.ews-root .order-code strong {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.ews-root .product-desc {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  max-width: 560px;
}

.ews-root .btn-downloads {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 34px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background .35s ease;
}
.ews-root .btn-downloads:hover { background: var(--blue); }
.ews-root .btn-downloads .arrow { transition: transform .3s ease; }
.ews-root .btn-downloads:hover .arrow { transform: translateY(3px); }

/* ---- hero middle: finish wheel ---- */

.ews-root .finish-col {
  justify-self: center;
  text-align: center;
  min-width: 0;
  padding-bottom: 20px;
}

.ews-root .finish-heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.ews-root .finish-name {
  display: block;
  margin-top: 8px;
  min-height: 1.2em;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ews-root .finish-wheel {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 1 / 1;
  margin: 26px auto 0;
  overflow: visible;
}

.ews-root .finish-wheel svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ews-root .finish-wheel .seg {
  cursor: pointer;
  stroke: var(--white);
  stroke-width: 2;
  outline: none;
  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.ews-root .finish-wheel .seg:hover {
  filter: brightness(0.94);
}


.ews-root .finish-wheel .seg:focus,
.ews-root .finish-wheel .category-ring:focus {
  outline: none;
}

.ews-root .finish-wheel .seg:focus-visible,
.ews-root .finish-wheel .category-ring:focus-visible {
  stroke: var(--blue);
  stroke-width: 3;
}

.ews-root .finish-wheel .category-ring {
  fill: transparent;
  stroke: none;
  cursor: pointer;
  outline: none;
}

.ews-root .finish-wheel .category-separator {
  stroke: rgba(13, 13, 12, 0.34);
  stroke-width: 1.1;
  pointer-events: none;
}

.ews-root .finish-wheel .level-separator {
  fill: none;
  stroke: rgba(13, 13, 12, 0.34);
  stroke-width: 1.1;
  pointer-events: none;
}

.ews-root .finish-wheel .ring-label-path {
  fill: none;
  stroke: none;
  pointer-events: none;
}

.ews-root .finish-wheel .ring-label {
  font-family: var(--font);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.015em;
  fill: var(--ink);
  pointer-events: none;
}

.ews-root .wheel-center {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 0 0 2px var(--white),
    0 10px 30px -14px rgba(13, 13, 12, 0.28);
}

.ews-root .wheel-center img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ews-root .wheel-center img.active {
  opacity: 1;
}

.ews-root .std-finishes[hidden] {
  display: none !important;
}

.ews-root .std-finishes {
  margin-top: 34px;
  overflow: visible;
}

.ews-root .std-finishes .std-label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.ews-root .std-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  overflow: visible;
}

.ews-root .std-swatch {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  border: 1px solid var(--grey-line);
  border-radius: 50%;
  background-clip: padding-box;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ews-root .std-swatch:hover {
  transform: scale(1.08);
}

.ews-root .std-swatch::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color 0.25s ease;
}

.ews-root .std-swatch.active::after {
  border-color: var(--blue);
}

@media (max-width: 640px) {
  .ews-root .finish-wheel {
    width: min(350px, 88vw);
  }

  .ews-root .finish-wheel .ring-label {
    font-size: 6.5px;
  }
}
/* ---- hero right: fixture image (the visual highlight) ---- */
.ews-root .hero-visual { position: relative; }

.ews-root .product-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 440px;
  width: calc(100% + clamp(32px, 5vw, 100px));
  margin-right: calc(-1 * clamp(32px, 5vw, 100px)); /* bleed toward the viewport edge */
  overflow: visible;
}
.ews-root .product-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .45s ease;
  filter: drop-shadow(0 24px 40px rgba(13,13,12,0.16));
}
.ews-root .product-stage img.active { opacity: 1; }

/* ============================================================
   WHY SPECIFY — split product story (per approved mockups)
   image left / dark content panel right / footer strip
   ============================================================ */
.ews-root .why-slider {
  position: relative;
  background: #0a0a0a;
  color: var(--white);
}
.ews-root .ws-pin {
  position: relative;
  height: 84vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
}

.ews-root .ws-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}
.ews-root .ws-slide.is-first { visibility: visible; opacity: 1; }

/* ---- media: left ~64%, above the footer strip ---- */
.ews-root .ws-media {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 64%;
  overflow: hidden;
  background: radial-gradient(120% 90% at 42% 45%, #1c1c1c 0%, #0a0a0a 70%);
}
.ews-root .ws-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  will-change: transform;
}
/* soft blend into the right panel */
.ews-root .ws-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0) 82%, rgba(10,10,10,0.85) 100%);
}

/* ---- right content panel ---- */
.ews-root .ws-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 36%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 3.5vw, 64px) 0 clamp(20px, 2vw, 36px);
}
.ews-root .ws-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
}
.ews-root .ws-kicker::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.ews-root .ws-content h3 {
  margin-top: 22px;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--white);
  max-width: 14ch;
}
.ews-root .ws-content p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: rgba(247,245,241,0.85);
  max-width: 40ch;
}
.ews-root .ws-scroll {
  margin-top: clamp(40px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.85);
}
.ews-root .ws-scroll .arr { font-size: 1rem; letter-spacing: 0; }

/* ---- panel header: label, counter, progress ---- */
.ews-root .ws-ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.ews-root .ws-head {
  position: absolute;
  top: clamp(40px, 9vh, 88px);
  right: clamp(28px, 3.5vw, 64px);
  left: calc(64% + clamp(20px, 2vw, 36px));
}
.ews-root .ws-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.ews-root .ws-head-row .lbl { color: rgba(247,245,241,0.9); }
.ews-root .ws-counter { letter-spacing: 0.18em; }
.ews-root .ws-counter .cur { color: var(--blue); }
.ews-root .ws-counter .sep { color: rgba(247,245,241,0.5); margin: 0 4px; }
.ews-root .ws-counter .tot { color: rgba(247,245,241,0.7); }
.ews-root .ws-progress {
  margin-top: 16px;
  height: 2px;
  background: rgba(247,245,241,0.22);
  position: relative;
}
.ews-root .ws-progress .bar {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---- responsive: stack media over panel ---- */
@media (max-width: 900px) {
  .ews-root .ws-media { width: 100%; bottom: auto; height: 44%; }
  .ews-root .ws-media::after {
    background: linear-gradient(to bottom, rgba(10,10,10,0) 70%, rgba(10,10,10,0.9) 100%);
  }
  .ews-root .ws-content {
    top: 44%; left: 0; right: 0; bottom: 0;
    width: 100%;
    justify-content: flex-start;
    padding: 28px 24px 0;
  }
  .ews-root .ws-content h3 { max-width: none; font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .ews-root .ws-content p { max-width: none; font-size: 14.5px; margin-top: 14px; }
  .ews-root .ws-scroll { display: none; }
  .ews-root .ws-head { left: 24px; right: 24px; top: 24px; }
  .ews-root .ws-pin { min-height: 560px; }
}

/* ---- no-GSAP / reduced-motion fallback: simple stacked slides ---- */
.ews-root .why-slider.ws-static .ws-pin { height: auto; min-height: 0; max-height: none; }
.ews-root .why-slider.ws-static .ws-slide {
  position: relative;
  visibility: visible;
  opacity: 1;
  height: 78vh;
  min-height: 540px;
}
.ews-root .why-slider.ws-static .ws-media img { transform: none; }
.ews-root .why-slider.ws-static .ws-head { display: none; }

/* ============================================================
   KEY SPECIFICATIONS
   ============================================================ */
.ews-root .key-specs {
  background: var(--grey);
  padding: 110px 0;
}
.ews-root .key-specs .section-title { margin-bottom: 64px; }

.ews-root .specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.ews-root .spec-group h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.ews-root .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-line);
  font-size: 13.5px;
}
.ews-root .spec-row .k { color: var(--ink-soft); font-weight: 500; }
.ews-root .spec-row .v { font-weight: 600; text-align: right; }

/* ============================================================
   APPLICATION HIGHLIGHT
   ============================================================ */
.ews-root .application {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ews-root .application .bg {
  position: absolute;
  inset: 0;
}
.ews-root .application .bg img {
  width: 100%; height: 115%;
  object-fit: cover;
}
.ews-root .application::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,12,0.82) 0%, rgba(13,13,12,0.25) 45%, rgba(13,13,12,0) 70%);
}
.ews-root .application .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 88px;
  color: var(--white);
}
.ews-root .application .eyebrow { color: var(--white); opacity: 0.85; }
.ews-root .application h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
  line-height: 1.05;
}
.ews-root .application p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(247,245,241,0.82);
  max-width: 540px;
  line-height: 1.7;
}
.ews-root .app-tags { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.ews-root .app-tags a {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid rgba(247,245,241,0.35);
  border-radius: 2px;
  transition: border-color .3s ease, background .3s ease;
}
.ews-root .app-tags a:hover { border-color: rgba(247,245,241,0.9); background: rgba(247,245,241,0.08); }

/* ============================================================
   RESOURCES
   ============================================================ */
.ews-root .resources { padding: 110px 0; }
.ews-root .resources .section-title { margin-bottom: 64px; }

.ews-root .res-category { border-top: 1px solid var(--grey-line); }
.ews-root .res-category:last-child { border-bottom: 1px solid var(--grey-line); }

/* category header = accordion toggle (all collapsed by default) */
.ews-root .res-cat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 26px 0;
  transition: color .25s ease;
}
.ews-root .res-cat-label:hover { color: var(--ink); }
.ews-root .res-cat-label .res-toggle {
  flex: none;
  width: 14px; height: 14px;
  position: relative;
  color: var(--ink);
}
.ews-root .res-cat-label .res-toggle::before, .ews-root .res-cat-label .res-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s ease;
}
.ews-root .res-cat-label .res-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.ews-root .res-category.open .res-cat-label .res-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

/* collapsible body — grid-rows trick, no height measuring */
.ews-root .res-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.ews-root .res-category.open .res-body { grid-template-rows: 1fr; }
.ews-root .res-body-inner { overflow: hidden; min-height: 0; }
.ews-root .res-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.ews-root .res-row + .res-row { border-top: 1px solid var(--grey); }
.ews-root .res-category .res-row:last-child { padding-bottom: 30px; }
.ews-root .res-name {
  font-size: 15px;
  font-weight: 600;
}
.ews-root .res-actions {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.ews-root .res-actions a { transition: color .25s ease; }
.ews-root .res-actions a:hover { color: var(--blue); }
.ews-root .res-actions .dot { color: var(--grey-line); }

/* ============================================================
   YOU MAY ALSO LIKE
   ============================================================ */
.ews-root .also-like {
  background: var(--grey);
  padding: 110px 0;
}
.ews-root .also-like .section-title { margin-bottom: 64px; }
.ews-root .also-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ews-root .also-card {
  background: var(--white);
  display: block;
  border-radius: 2px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ews-root .also-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(13,13,12,0.25);
}
.ews-root .also-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
}
.ews-root .also-card .thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10%;
  transition: transform .5s ease;
}
.ews-root .also-card:hover .thumb img { transform: scale(1.05); }
.ews-root .also-card .meta { padding: 22px 24px 26px; border-top: 1px solid var(--grey); }
.ews-root .also-card .sku {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ews-root .also-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 6px 0 12px;
}
.ews-root .also-card .view {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ews-root .site-footer {
  background: var(--ink);
  color: rgba(247,245,241,0.7);
  padding: 88px 0 0;
  font-size: 13.5px;
}
.ews-root .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 56px;
  padding-bottom: 72px;
}
.ews-root .footer-grid h4 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ews-root .footer-grid ul li { margin-bottom: 11px; }
.ews-root .footer-grid a { transition: color .25s ease; }
.ews-root .footer-grid a:hover { color: var(--blue); }
.ews-root .footer-contact p { margin-bottom: 20px; line-height: 1.7; }
.ews-root .footer-contact .label {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ews-root .footer-logo { height: 40px; width: auto; margin-bottom: 32px; }
.ews-root .footer-bottom {
  border-top: 1px solid rgba(247,245,241,0.12);
  padding: 26px 0;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ews-root .container { padding-left: 32px; padding-right: 32px; }
  .ews-root .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .ews-root .hero-visual { grid-column: 1 / -1; }
  .ews-root .product-stage { width: 100%; margin-right: 0; }
  .ews-root .finish-col { justify-self: center; margin-right: 0; }
  .ews-root .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .ews-root .also-grid { grid-template-columns: repeat(2, 1fr); }
  .ews-root .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ews-root .hero-grid { grid-template-columns: 1fr; }
  .ews-root .hero-visual { grid-column: auto; order: -1; }
  .ews-root .finish-col { margin-top: 8px; }
  .ews-root .product-hero { padding-top: 40px; }
  .ews-root .ws-content { padding-left: 32px; padding-right: 32px; padding-bottom: 56px; }
  .ews-root .ws-title, .ews-root .ws-progress { left: 32px; }
  .ews-root .ws-counter { right: 32px; }
  .ews-root .ws-progress { right: 32px; }
  .ews-root .key-specs, .ews-root .resources, .ews-root .also-like { padding: 72px 0; }
}

@media (max-width: 600px) {
  .ews-root .container { padding-left: 20px; padding-right: 20px; }
  .ews-root .specs-grid { grid-template-columns: 1fr; gap: 36px; }
  .ews-root .also-grid { grid-template-columns: 1fr; }
  .ews-root .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .ews-root .res-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ews-root .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ews-root .application { min-height: 68vh; }
}
