/* FSE Global storefront visual system — shared by every warranty page. */
@font-face {
  font-family: "MADE Outer Sans";
  src: url("../../font.php?v=20260803") format("truetype"),
       url("../fonts/made-outer-sans.ttf?v=20260803") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --shop-bg: #171717;
  --shop-bg-deep: #111111;
  --shop-surface: #1d1d1d;
  --shop-surface-2: #222222;
  --shop-surface-3: #2b2b2b;
  --shop-text: #ffffff;
  --shop-muted: #b9b9b9;
  --shop-faint: #7d7d7d;
  --shop-line: rgba(255, 255, 255, .11);
  --shop-red: #ff1212;
  --shop-red-hover: #e90707;
  --shop-card-radius: clamp(10px, 1.05vw, 20px);
  --shop-pill: 60px;
  --shop-shadow: 0 26px 70px rgba(0, 0, 0, .22);
  --animation-nav: .5s cubic-bezier(.6, 0, .4, 1);
  --animation-primary: .5s cubic-bezier(.3, 1, .3, 1);
  --animation-smooth: .7s cubic-bezier(.7, 0, .3, 1);
  --animation-fast: .3s cubic-bezier(.7, 0, .3, 1);
}

* { scrollbar-color: #525252 var(--shop-bg); }
html { background: var(--shop-bg); }
body {
  color: var(--shop-text);
  background: var(--shop-bg);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .heading, .btn, button, .data-table a, .brand, .stat-card strong {
  font-family: "MADE Outer Sans", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  letter-spacing: -.01em;
}
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--shop-red); }
.page-noise { opacity: .018; mix-blend-mode: screen; }
.page-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 3000; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #b90000, var(--shop-red), #ff7777); box-shadow: 0 0 14px rgba(255, 18, 18, .65); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.container { width: min(calc(100% - 96px), 1900px); max-width: none; }
.container.narrow { max-width: 920px; }

/* Storefront announcement and navigation */
.shop-topbar {
  height: 56px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 28px;
  color: #f3f3f3;
  background: linear-gradient(100deg, #0b0b0b, #181818 48%, #101010);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1100;
}
.shop-topbar::before { content: ""; position: absolute; width: 430px; height: 160px; left: -110px; top: -120px; z-index: -1; background: radial-gradient(circle, rgba(255, 18, 18, .22), transparent 68%); pointer-events: none; }
.shop-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 18, 18, .7), transparent); transform: translateX(-100%); animation: topbar-scan 8s ease-in-out infinite; pointer-events: none; }
.shop-topbar a { color: inherit; text-decoration: none; }
.shop-topbar__trust { display: flex; align-items: center; gap: 10px; color: #bdbdbd; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.shop-topbar__pulse { width: 7px; height: 7px; background: var(--shop-red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 18, 18, .5); animation: topbar-pulse 2.2s ease-out infinite; }
.shop-topbar__message { min-height: 38px; padding: 0 16px; display: flex; align-items: center; gap: 13px; color: #fff; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; backdrop-filter: blur(12px); transition: color var(--animation-fast), background-color var(--animation-primary), border-color var(--animation-primary), transform var(--animation-primary); }
.shop-topbar__message > svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--shop-red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--animation-primary); }
.shop-topbar__message > span { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.shop-topbar__message strong { font-family: "MADE Outer Sans", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 400; }
.shop-topbar__divider { color: #5d5d5d; }
.shop-topbar__message .shop-topbar__arrow { width: 16px; stroke: #fff; }
.shop-topbar__message:hover { background: rgba(255, 18, 18, .11); border-color: rgba(255, 18, 18, .48); transform: translateY(-1px); }
.shop-topbar__message:hover > svg:first-child { transform: rotate(-7deg) scale(1.08); }
.shop-topbar__message:hover .shop-topbar__arrow { transform: translateX(4px); }
.shop-topbar__actions { justify-self: end; display: flex; align-items: center; gap: 17px; }
.shop-topbar__social { display: flex; align-items: center; gap: 7px; }
.shop-topbar__social a { width: 32px; height: 32px; display: grid; place-items: center; color: #d5d5d5; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; transition: color var(--animation-fast), background-color var(--animation-fast), border-color var(--animation-fast), transform var(--animation-primary); }
.shop-topbar__social a:hover { color: #fff; background: var(--shop-red); border-color: var(--shop-red); transform: translateY(-2px) rotate(5deg); }
.shop-topbar__social svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.shop-topbar__social rect, .shop-topbar__social circle:not(.icon-fill) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.shop-topbar__global { min-height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 8px; color: #c5c5c5 !important; border-left: 1px solid rgba(255, 255, 255, .12); transition: color var(--animation-fast); }
.shop-topbar__global:hover { color: #fff !important; }
.shop-topbar__global svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@keyframes topbar-pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 18, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 18, 18, 0); } }
@keyframes topbar-scan { 0%, 15% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

.site-header {
  height: 148px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(23, 23, 23, .95);
  border: 0;
  backdrop-filter: blur(18px);
  transition: height var(--animation-nav), background-color var(--animation-nav), box-shadow var(--animation-nav);
}
.site-header.is-compact { height: 96px; box-shadow: 0 16px 45px rgba(0, 0, 0, .25); }
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.brand { grid-column: 2; grid-row: 1; border: 0; padding: 0; justify-self: center; }
.brand img { width: clamp(176px, 13vw, 216px); transition: width var(--animation-nav), transform var(--animation-primary); }
.brand:hover img { transform: scale(1.035); }
.brand span { display: none; }
.main-nav { grid-column: 1; grid-row: 1; display: flex; gap: clamp(23px, 2.4vw, 42px); align-items: center; justify-self: start; }
.main-nav > a, .header-text-link {
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.main-nav > a::after, .header-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--shop-red);
  transition: right var(--animation-primary);
}
.main-nav > a:hover::after, .main-nav > a.active::after, .header-text-link:hover::after { right: 0; }
.main-nav > a:hover, .main-nav > a.active { color: #fff; }
.header-actions { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 25px; }
.icon-link { width: 26px; height: 26px; color: #fff; display: grid; place-items: center; transition: transform var(--animation-primary), color var(--animation-fast); }
.icon-link:hover { color: var(--shop-red); transform: translateY(-2px); }
.icon-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.mobile-nav-actions { display: none; }
.nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; display: none; }

/* Shared controls */
.btn {
  min-height: 60px;
  padding: 0 30px;
  gap: 22px;
  border: 0;
  border-radius: var(--shop-pill);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: transform var(--animation-primary), background-color var(--animation-primary), color var(--animation-fast), box-shadow var(--animation-primary);
}
.btn::after { content: "→"; display: inline-block; transition: transform var(--animation-primary); }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, .22) 48%, transparent 68%); transform: translateX(-145%); transition: transform .75s cubic-bezier(.2, .75, .25, 1); pointer-events: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(145%); }
.btn:hover::after { transform: translateX(6px); }
.btn-primary { color: #fff; background: var(--shop-red); box-shadow: none; }
.btn-primary:hover { color: #fff; background: var(--shop-red-hover); box-shadow: 0 12px 35px rgba(255, 18, 18, .22); }
.btn-dark { color: #fff; background: #050505; }
.btn-dark:hover { background: #000; }
.btn-outline { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .05); }
.btn-ghost { color: #fff; background: #303030; }
.btn-ghost:hover { background: #3b3b3b; }
.btn-danger { color: #fff; background: #6d1717; border: 0; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn-sm::after { display: none; }

/* Landing page */
.hero {
  min-height: 638px;
  width: min(calc(100% - 96px), 1900px);
  margin: 0 auto;
  border-radius: var(--shop-card-radius);
  color: #fff;
  background: #050505;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .12) 100%), url("../img/hero-home.jpg") center 52% / cover no-repeat;
  filter: none;
  transform: translate3d(var(--image-x, 0), var(--image-y, 0), 0) scale(1.045);
  transition: transform 1.2s cubic-bezier(.075, .82, .165, 1);
}
.hero:hover::before { transform: translate3d(var(--image-x, 0), var(--image-y, 0), 0) scale(1.075); }
.hero::after { display: none; }
.hero-grid { width: 100%; grid-template-columns: minmax(0, 840px) 1fr; padding: 80px 60px 62px; }
.eyebrow { color: var(--shop-red); font-size: 13px; letter-spacing: .04em; font-weight: 700; }
.eyebrow::before { width: 38px; height: 1px; }
.hero h1, .page-hero h1 {
  max-width: 920px;
  margin: 26px 0 24px;
  font-size: clamp(58px, 6.2vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: none;
}
.hero h1 em { color: #fff; font-style: normal; }
.hero p { color: #ededed; max-width: 610px; font-size: 19px; line-height: 1.45; }
.hero-actions { gap: 12px; margin-top: 35px; }
.hero-stats {
  right: 60px;
  bottom: 58px;
  width: auto;
  max-width: 530px;
  color: #fff;
  background: rgba(17, 17, 17, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--shop-pill);
  box-shadow: none;
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.hero-stat { padding: 19px 28px; border-color: rgba(255, 255, 255, .12); }
.hero-stat strong { font-family: "MADE Outer Sans", sans-serif; font-size: 20px; }
.hero-stat span { color: #bcbcbc; font-size: 9px; }
.section { padding: clamp(90px, 9vw, 170px) 0; background: var(--shop-bg); }
.section-sm { padding: 64px 0 100px; background: var(--shop-bg); }
.section-dark { color: #fff; background: #111; }
.section-head { margin-bottom: 52px; align-items: flex-end; }
.section-head h2 { margin-top: 18px; font-size: clamp(46px, 5.3vw, 84px); line-height: .96; text-transform: none; }
.section-head p { color: var(--shop-muted); font-size: 18px; line-height: 1.5; }
.feature-grid { gap: 20px; border: 0; background: transparent; }
.feature-card {
  min-height: 380px;
  color: #fff;
  background: var(--shop-surface-2);
  border-radius: var(--shop-card-radius);
  padding: 42px;
  position: relative;
  overflow: hidden;
  transition: transform var(--animation-primary), background-color var(--animation-primary);
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 18, 18, .13), transparent 45%); opacity: 0; transition: opacity var(--animation-primary); pointer-events: none; }
.feature-card:hover::before { opacity: 1; }
.feature-card::after { content: "→"; position: absolute; right: 34px; top: 30px; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font-size: 20px; transition: transform var(--animation-primary), background-color var(--animation-primary); }
.feature-card:hover { transform: translateY(-7px); background: #292929; }
.feature-card:hover::after { color: #fff; background: var(--shop-red); border-color: var(--shop-red); transform: rotate(-35deg); }
.feature-card .number { color: var(--shop-red); font-size: 12px; }
.feature-icon {
  position: absolute;
  top: 96px;
  left: 42px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 18, 18, .2), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .2);
  transition: color var(--animation-primary), background-color var(--animation-primary), border-color var(--animation-primary), transform var(--animation-primary);
}
.feature-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  left: calc(100% + 13px);
  top: 50%;
  background: linear-gradient(90deg, var(--shop-red), transparent);
}
.feature-icon svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card:hover .feature-icon { color: #fff; background: var(--shop-red); border-color: var(--shop-red); transform: translateY(-5px) rotate(-2deg); }
.feature-card h3 { margin: 155px 0 18px; font-size: 30px; text-transform: none; }
.feature-card p { color: var(--shop-muted); font-size: 16px; line-height: 1.5; }
.section-dark .panel { background: var(--shop-surface); border-color: var(--shop-line); }
.section-dark .panel .panel-body { padding: 38px; }
.section-dark .panel h3 { font-size: 26px !important; text-transform: none !important; }
.cta-band { width: min(calc(100% - 96px), 1900px); margin: 0 auto 80px; padding: 70px 62px; color: #fff; background: var(--shop-red); border-radius: var(--shop-card-radius); }
.cta-inner h2 { font-size: clamp(46px, 5vw, 80px); text-transform: none; }

/* Internal title blocks */
.page-hero {
  width: min(calc(100% - 96px), 1900px);
  margin: 0 auto;
  padding: 86px 60px;
  color: #fff;
  background: #0e0e0e;
  border-radius: var(--shop-card-radius);
}
.page-hero::after { display: none; }
.page-hero h1 { margin: 22px 0 16px; font-size: clamp(58px, 7vw, 112px); }
.page-hero p { color: var(--shop-muted); font-size: 18px; line-height: 1.5; }
.detail-hero {
  width: min(calc(100% - 96px), 1900px);
  margin: 0 auto;
  padding: 70px 58px;
  color: #fff;
  background: #0d0d0d;
  border-radius: var(--shop-card-radius);
}
.detail-head h1 { margin-top: 18px; font-size: clamp(48px, 5vw, 76px); text-transform: none; }

/* Locally hosted vehicle imagery for every workflow hero */
.hero-media {
  --hero-image: url("../img/shop-master-series.jpg");
  --hero-position: center;
  min-height: 410px;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #090909;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px rgba(0, 0, 0, .18);
}
.detail-hero.hero-media { min-height: 340px; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  background-image: var(--hero-image);
  background-position: var(--hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.76) contrast(1.06);
  transform: translate3d(var(--image-x, 0), var(--image-y, 0), 0) scale(1.055);
  transition: transform 1.25s cubic-bezier(.075, .82, .165, 1), filter 1s ease;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(90deg, rgba(5, 5, 5, .97) 0%, rgba(5, 5, 5, .82) 43%, rgba(5, 5, 5, .36) 72%, rgba(5, 5, 5, .12) 100%), linear-gradient(0deg, rgba(5, 5, 5, .7), transparent 55%);
  pointer-events: none;
}
.hero-media:hover::before { filter: saturate(.95) contrast(1.08); transform: translate3d(var(--image-x, 0), var(--image-y, 0), 0) scale(1.085); }
.hero-media > .container { width: 100%; position: relative; z-index: 1; }
.hero-media h1 { text-shadow: 0 8px 35px rgba(0, 0, 0, .5); }
.hero-media p { color: #d1d1d1; }
.hero-media--register { --hero-image: url("../img/shop-master-series.jpg"); --hero-position: 74% 54%; }
.hero-media--verify { --hero-image: url("../img/shop-ferrari.jpg"); --hero-position: 72% 64%; }
.hero-media--claims { --hero-image: url("../img/shop-car-detail.jpg"); --hero-position: 70% 48%; }
.hero-media--warranties { --hero-image: url("../img/shop-window-film.jpg"); --hero-position: 72% 60%; }
.hero-media--inventory { --hero-image: url("../img/shop-factory-c.webp"); --hero-position: 70% 51%; }
.hero-media--customers { --hero-image: url("../img/shop-luxury-car.jpg"); --hero-position: 72% 58%; }
.hero-media--settings { --hero-image: url("../img/shop-factory-a.webp"); --hero-position: 68% 50%; }
.hero-media--vehicle { --hero-image: url("../img/shop-concept-car.jpg"); --hero-position: 70% 54%; }

/* Storefront-inspired visual storytelling */
.brand-gallery { padding-top: 40px; }
.brand-gallery__grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, minmax(260px, 31vw)); gap: 20px; }
.brand-gallery__item { min-height: 0; margin: 0; position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #101010; border-radius: var(--shop-card-radius); }
.brand-gallery__item--wide { grid-row: 1 / span 2; }
.brand-gallery__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .04) 65%); transition: background-color var(--animation-smooth); }
.brand-gallery__item img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.025); transition: transform 1.15s cubic-bezier(.075, .82, .165, 1), filter .9s ease; }
.brand-gallery__item--wide img { object-position: 52% center; }
.brand-gallery__item:hover img { transform: scale(1.075); filter: saturate(1.08); }
.brand-gallery__item figcaption { position: absolute; left: clamp(24px, 3vw, 50px); right: clamp(24px, 3vw, 50px); bottom: clamp(24px, 3vw, 48px); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.brand-gallery__item figcaption span { color: var(--shop-red); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.brand-gallery__item figcaption strong { max-width: 520px; color: #fff; font-family: "MADE Outer Sans", Helvetica, Arial, sans-serif; font-size: clamp(25px, 2.3vw, 42px); font-weight: 400; line-height: 1.02; }
.brand-gallery__item:not(.brand-gallery__item--wide) figcaption { align-items: flex-start; flex-direction: column; gap: 10px; }

.dashboard-shell .welcome-row { min-height: 280px; padding: 42px; position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--shop-card-radius); }
.dashboard-shell .welcome-row::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/shop-window-film.jpg") 72% 58% / cover no-repeat; filter: saturate(.75); transform: scale(1.035); transition: transform 1.15s cubic-bezier(.075, .82, .165, 1); }
.dashboard-shell .welcome-row::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .97), rgba(8, 8, 8, .78) 48%, rgba(8, 8, 8, .18)); }
.dashboard-shell .welcome-row:hover::before { transform: scale(1.075); }
.dashboard-shell .welcome-row p { color: #d0d0d0; }

.auth-form-side { position: relative; isolation: isolate; overflow: hidden; }
.auth-form-side::before { content: ""; position: absolute; width: min(62vw, 900px); aspect-ratio: 1.75; right: -21vw; bottom: -5vw; z-index: -1; background: url("../img/shop-concept-car.jpg") center / cover no-repeat; opacity: .1; filter: grayscale(1); transform: rotate(-5deg); border-radius: 50%; }
.auth-form { position: relative; z-index: 1; }

/* Dashboard, collections and data */
.dashboard-shell { color: #fff; background: var(--shop-bg); }
.welcome-row { margin-bottom: 40px; }
.welcome-row h1 { margin-top: 14px; color: #fff; font-size: clamp(44px, 4.4vw, 72px); }
.welcome-row p { color: var(--shop-muted); font-size: 17px; }
.stat-grid { gap: 18px; margin-bottom: 24px; }
.stat-card {
  min-height: 160px;
  padding: 30px;
  color: #fff;
  background: var(--shop-surface-2);
  border: 0;
  border-radius: var(--shop-card-radius);
  transition: transform var(--animation-primary), background-color var(--animation-primary);
}
.stat-card::before { left: 28px; top: auto; bottom: 22px; width: 36px; height: 2px; }
.stat-card:hover { transform: translateY(-5px); background: #292929; }
.stat-card span { color: var(--shop-muted); font-size: 12px; letter-spacing: .04em; }
.stat-card strong { margin-top: 21px; color: #fff; font-size: 44px; }
.stat-card::after { content: ""; position: absolute; right: -45px; bottom: -62px; width: 145px; height: 145px; background: radial-gradient(circle, rgba(255, 18, 18, .15), transparent 68%); pointer-events: none; }
.panel, .form-card {
  color: #fff;
  background: var(--shop-surface);
  border: 0;
  border-radius: var(--shop-card-radius);
  box-shadow: none;
  overflow: hidden;
}
.panel, .form-card { border: 1px solid rgba(255, 255, 255, .055); background-image: linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 38%); }
.panel-head { min-height: 78px; padding: 20px 28px; border-color: var(--shop-line); }
.panel-head h2, .panel-head h3 { color: #fff; font-size: 18px; letter-spacing: -.01em; text-transform: none; }
.panel-body { padding: 30px; }
.dashboard-grid { gap: 22px; }
.data-table { color: #fff; }
.data-table th { padding: 16px 18px; color: #aaa; background: #252525; border-color: var(--shop-line); font-size: 11px; letter-spacing: .04em; }
.data-table td { padding: 20px 18px; color: #eee; border-color: var(--shop-line); font-size: 14px; }
.data-table tbody tr { transition: background-color var(--animation-fast); }
.data-table tbody tr:hover { background: rgba(255, 255, 255, .035); }
.data-table a { color: #fff; }
.data-table a:hover { color: var(--shop-red); }
.data-table small, small { color: #999; }
.detail-layout { gap: 22px; }
.detail-item { border-color: var(--shop-line); }
.detail-item span { color: #929292; font-size: 10px; }
.detail-item strong { color: #fff; font-size: 15px; }
.detail-item a { color: #fff; }
.timeline::before { background: #454545; }
.timeline-item::before { background: var(--shop-red); box-shadow: 0 0 0 5px rgba(255, 18, 18, .16); }
.timeline-item p, .timeline-item time { color: #9f9f9f; }
.empty-state { color: #fff; background: var(--shop-surface); border: 1px solid var(--shop-line); border-radius: var(--shop-card-radius); }
.empty-state p { color: var(--shop-muted); }
.pagination a, .pagination span { color: #fff; background: #222; border: 0; border-radius: 50%; }
.pagination .active { background: var(--shop-red); }

/* Forms and application flows */
.form-card { padding: 38px; }
.form-card + .form-card { margin-top: 20px; }
.form-section-title { margin-bottom: 34px; }
.form-section-title .step { width: 48px; flex-basis: 48px; height: 48px; color: #fff; background: var(--shop-red); border-radius: 50%; }
.form-section-title h2 { color: #fff; font-size: 25px; text-transform: none; }
.form-section-title p { color: #969696; font-size: 14px; line-height: 1.4; }
.form-group { margin-bottom: 21px; }
.form-group label { color: #d7d7d7; font-size: 12px; letter-spacing: .02em; text-transform: none; }
.form-group label .optional, .form-help { color: #858585; }
.form-control {
  height: 62px;
  padding: 0 22px;
  color: #fff;
  background: #222;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 400 16px/1.25 Helvetica, Arial, sans-serif;
  transition: border-color var(--animation-primary), background-color var(--animation-primary), box-shadow var(--animation-primary);
}
.form-control::placeholder { color: #8f8f8f; }
.form-control:focus { color: #fff; background: #272727; border-color: rgba(255, 255, 255, .42); box-shadow: none; }
textarea.form-control { min-height: 138px; padding-block: 19px; }
select.form-control { color-scheme: dark; }
.checkbox-row { color: #c7c7c7; font-size: 14px; line-height: 1.5; }
.checkbox-row input { accent-color: var(--shop-red); }
.progress-steps { margin-bottom: 38px; }
.progress-step { color: #737373; font-size: 11px; }
.progress-step::after { background: #3a3a3a; }
.progress-step.active { color: #fff; }
.progress-step.active .dot { background: var(--shop-red); box-shadow: 0 0 0 5px rgba(255, 18, 18, .12); }
.lookup-box { padding: 26px; color: #fff; background: #111; border-radius: 12px; }
.lookup-box .form-control { color: #fff; background: #202020; border-color: transparent; }
.lookup-result { color: #d9d9d9; background: #242424; border-left-color: var(--shop-red); border-radius: 4px; }
.upload-zone { padding: 42px 25px; color: #fff; background: #222; border-color: #565656; border-radius: 10px; transition: background-color var(--animation-primary), border-color var(--animation-primary); }
.upload-zone:hover, .upload-zone.dragover { background: #292929; border-color: var(--shop-red); }
.upload-zone span { color: #999; }
.preview-grid img { border-radius: 10px; transition: transform var(--animation-primary); }
.preview-grid a:hover img { transform: scale(1.035); }
.search-bar .form-control { background: #292929; }
.alert { border: 0; border-radius: 8px; padding: 16px 20px; }
.alert-danger { color: #ffcbcb; background: #4d1c1c; }
.alert-success { color: #caffea; background: #174c3a; }
.admin-note { color: #e7d5b2; background: #4d3b19; border-color: #d59b32; border-radius: 5px; }
.toast { top: 220px; right: 32px; color: #fff; background: #252525; border: 0; border-radius: 8px; box-shadow: var(--shop-shadow); }
.toast::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--shop-red); border-radius: 8px 0 0 8px; }
.toast-success::before { background: #2cc98a; }
.status { padding: 7px 12px; font-family: Helvetica, Arial, sans-serif; font-size: 10px; }
.status-success { color: #75e4b7; background: rgba(25, 131, 91, .23); }
.status-warning { color: #ffc96d; background: rgba(159, 100, 0, .24); }
.status-danger { color: #ff8585; background: rgba(168, 31, 31, .24); }
.status-neutral { color: #c5c5c5; background: rgba(255, 255, 255, .08); }

/* Storefront account screen */
.auth-page { min-height: 680px; display: block; color: #fff; background: var(--shop-bg); }
.auth-visual { display: none; }
.auth-form-side { min-height: 680px; padding: 82px 24px 105px; align-items: flex-start; background: var(--shop-bg); }
.auth-form { width: min(100%, 512px); max-width: 512px; }
.auth-form > .eyebrow { display: none; }
.auth-form h2 { margin: 0 0 44px; color: #fff; text-align: center; font-size: clamp(68px, 7vw, 104px); line-height: .95; }
.auth-form > p:not(.auth-alt) { display: none; }
.auth-form .form-group label { display: none; }
.auth-form .form-control { height: 64px; background: #1e1e1e; }
.auth-form .btn { margin-top: 22px; }
.auth-alt { margin-top: 28px; color: #bcbcbc; font-size: 16px; }
.auth-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.auth-action-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; margin-top: 22px; }
.auth-action-row .btn { margin-top: 0; }
.auth-create-link { color: var(--shop-red); font-family: "MADE Outer Sans", Helvetica, Arial, sans-serif; font-size: 17px; text-align: center; text-decoration: none; text-transform: uppercase; transition: color var(--animation-fast); }
.auth-create-link:hover { color: #fff; }

/* Certificate */
.certificate { color: #fff; background: #111; border: 0; border-radius: var(--shop-card-radius); box-shadow: var(--shop-shadow); overflow: hidden; }
.certificate-page { padding: 1px 0 50px; background: var(--shop-bg); }
.certificate-top { background: #0a0a0a; }
.certificate-body { background: #111; }
.certificate-title h1 { color: #fff; font-size: 43px; text-transform: none; }
.certificate-block { color: #fff; background: #1e1e1e; border-left: 0; border-radius: 10px; }
.certificate-block span { color: #8d8d8d; }
.certificate-verify { border-color: var(--shop-line); }
.certificate-actions { margin: 34px auto; }

/* Service strip and footer */
.service-strip { padding: 58px 0; color: #fff; background: #151515; border-top: 1px solid var(--shop-line); border-bottom: 1px solid var(--shop-line); }
.service-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-strip article { min-height: 105px; padding: 0 34px; display: grid; grid-template-columns: 28px 1fr; gap: 18px; align-items: start; border-right: 1px solid var(--shop-line); }
.service-strip article:first-child { padding-left: 0; }
.service-strip article:last-child { border: 0; }
.service-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--shop-red); transition: color var(--animation-fast), transform var(--animation-primary); }
.service-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-strip article:hover .service-icon { color: #fff; transform: translateY(-4px) rotate(-3deg); }
.service-strip h3 { margin: 0 0 10px; color: #bdbdbd; font-size: 22px; line-height: 1.05; }
.service-strip p { margin: 0; color: #f0f0f0; font-size: 14px; line-height: 1.4; }
.site-footer { padding: 82px 0 26px; color: #bbb; background: #111; }
.footer-grid { grid-template-columns: 1.6fr .8fr .8fr 1.2fr; gap: 70px; }
.footer-grid > div { gap: 12px; font-size: 15px; }
.footer-logo { width: 190px; margin-bottom: 24px; }
.footer-grid p { color: #aaa; font-size: 15px; line-height: 1.55; }
.footer-grid a { color: #e3e3e3; transition: color var(--animation-fast); }
.footer-grid a:hover { color: var(--shop-red); }
.footer-label { margin-bottom: 17px; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.footer-pill { width: 100%; min-height: 58px; margin-top: 12px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: #fff !important; background: #222; border-radius: 6px; }
.footer-pill:hover { background: #292929; }
.footer-bottom { color: #898989; border-color: var(--shop-line); font-size: 12px; }

/* Global premium interaction polish */
.panel, .form-card { transition: transform var(--animation-primary), border-color var(--animation-primary), box-shadow var(--animation-primary), background-color var(--animation-primary); }
.panel:hover, .form-card:hover { border-color: rgba(255, 255, 255, .1); box-shadow: 0 22px 55px rgba(0, 0, 0, .13); }
.form-control:hover:not(:focus) { background: #252525; border-color: rgba(255, 255, 255, .1); }
.data-table tbody tr { transform: translateZ(0); }
.data-table tbody tr:hover { background: rgba(255, 255, 255, .045); }
.section-head .eyebrow::before { transform-origin: left; animation: eyebrow-breathe 3.4s ease-in-out infinite; }
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 620px; height: 300px; right: -210px; bottom: -190px; background: radial-gradient(circle, rgba(255, 18, 18, .1), transparent 66%); pointer-events: none; }
@keyframes eyebrow-breathe { 0%, 100% { transform: scaleX(.55); opacity: .7; } 50% { transform: scaleX(1); opacity: 1; } }

/* Scroll and page motion */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: transform .8s cubic-bezier(.075, .82, .165, 1), opacity .65s cubic-bezier(.19, 1, .22, 1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.panel, .form-card, .stat-card, .feature-card { will-change: transform; }

@media (max-width: 1180px) {
  .container { width: min(calc(100% - 48px), 1900px); }
  .hero, .page-hero, .detail-hero, .cta-band { width: calc(100% - 48px); }
  .shop-topbar { padding-inline: 24px; }
  .main-nav { gap: 20px; }
  .main-nav > a, .header-text-link { font-size: 13px; }
  .header-actions { gap: 17px; }
  .hero-grid { padding-inline: 42px; }
  .hero-stats { right: 42px; }
  .service-strip article { padding-inline: 22px; }
}

@media (max-width: 980px) {
  .shop-topbar { grid-template-columns: 1fr; height: 52px; }
  .shop-topbar__trust, .shop-topbar__actions { display: none; }
  .shop-topbar__message { justify-self: center; justify-content: center; min-height: 36px; font-size: 12px; }
  .site-header, .site-header.is-compact { height: 96px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .brand { grid-column: 2; }
  .brand img { width: 150px; }
  .header-actions { display: none; }
  .nav-toggle { display: block; grid-column: 3; }
  .nav-toggle span { background: #fff; transition: transform var(--animation-primary), opacity var(--animation-fast); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; display: flex; top: 148px; left: 0; right: 0; height: calc(100vh - 148px); padding: 46px 28px; align-items: flex-start; flex-direction: column; gap: 26px; color: #fff; background: #171717; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity var(--animation-nav), visibility var(--animation-nav), transform var(--animation-nav); }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-header.is-compact .main-nav { top: 96px; height: calc(100vh - 96px); }
  .main-nav > a { font-family: "MADE Outer Sans", sans-serif; font-size: 32px; font-weight: 400; text-transform: none; }
  .mobile-nav-actions { width: 100%; margin-top: auto; padding-top: 25px; display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--shop-line); }
  .mobile-nav-actions a { color: #aaa; text-decoration: none; }
  .hero-grid { display: block; }
  .hero-stats { position: relative; right: auto; bottom: auto; margin-top: 55px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .brand-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(430px, 62vw) minmax(280px, 42vw); }
  .brand-gallery__item--wide { grid-column: 1 / -1; grid-row: auto; }
  .dashboard-grid, .detail-layout { grid-template-columns: 1fr; }
  .service-strip__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .service-strip article:nth-child(2) { border: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1/-1; max-width: 550px; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .shop-topbar { height: 46px; padding-inline: 10px; }
  .shop-topbar__message { width: 100%; min-height: 34px; padding-inline: 13px; gap: 9px; font-size: 10px; }
  .shop-topbar__message strong { font-size: 10px; }
  .shop-topbar__message > svg:first-child { width: 16px; }
  .shop-topbar__divider, .shop-topbar__detail { display: none; }
  .site-header, .site-header.is-compact { height: 82px; }
  .brand img { width: 126px; }
  .main-nav { top: 128px; height: calc(100vh - 128px); }
  .site-header.is-compact .main-nav { top: 82px; height: calc(100vh - 82px); }
  .hero, .page-hero, .detail-hero, .cta-band { width: calc(100% - 20px); }
  .hero { min-height: 690px; }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.25) 85%), url("../img/hero-home.jpg") 55% center/cover; }
  .hero-grid { padding: 50px 24px 26px; }
  .hero h1 { font-size: clamp(38px, 10vw, 50px); overflow-wrap: anywhere; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { display: none; }
  .section { padding: 82px 0; }
  .section-head h2 { font-size: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .brand-gallery { padding-top: 8px; }
  .brand-gallery__grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .brand-gallery__item, .brand-gallery__item--wide { grid-column: auto; grid-row: auto; min-height: 420px; }
  .brand-gallery__item:not(.brand-gallery__item--wide) { min-height: 330px; }
  .brand-gallery__item figcaption { align-items: flex-start; flex-direction: column; gap: 10px; }
  .feature-card { min-height: 330px; padding: 30px; }
  .feature-icon { top: 86px; left: 30px; width: 68px; height: 68px; border-radius: 19px; }
  .feature-icon svg { width: 38px; height: 38px; }
  .feature-card h3 { margin-top: 130px; }
  .cta-band { margin-bottom: 38px; padding: 48px 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner h2 { font-size: 46px; }
  .page-hero { padding: 55px 25px; }
  .page-hero h1 { font-size: 54px; overflow-wrap: anywhere; }
  .detail-hero { padding: 48px 24px; }
  .hero-media, .detail-hero.hero-media { min-height: 390px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.65) 64%, rgba(5,5,5,.18) 100%); }
  .detail-head { flex-direction: column; align-items: flex-start; }
  .detail-head h1 { font-size: 46px; overflow-wrap: anywhere; }
  .welcome-row { flex-direction: column; align-items: flex-start; }
  .dashboard-shell .welcome-row { min-height: 360px; padding: 30px 24px; justify-content: flex-end; }
  .welcome-row .btn { width: 100%; }
  .stat-grid, .grid-2, .grid-3, .detail-list, .certificate-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 138px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .search-bar { width: 100%; flex-direction: column; }
  .search-bar .form-control { min-width: 0; }
  .form-card { padding: 26px 18px; }
  .form-section-title h2 { font-size: 22px; }
  .lookup-row { grid-template-columns: 1fr; }
  .progress-steps { overflow-x: auto; }
  .progress-step { min-width: 130px; }
  .auth-form-side { min-height: 590px; padding: 70px 20px 90px; }
  .auth-form h2 { margin-bottom: 38px; font-size: 64px; }
  .auth-form .grid-2 { display: block; }
  .auth-action-row { grid-template-columns: 1fr; gap: 22px; }
  .certificate-actions { padding-inline: 14px; flex-direction: column; }
  .certificate-actions .btn { width: 100%; }
  .certificate-top, .certificate-body { padding-inline: 22px; }
  .certificate-top span { font-size: 9px; }
  .service-strip { padding: 46px 0; }
  .service-strip__grid { grid-template-columns: 1fr; gap: 28px; }
  .service-strip article, .service-strip article:first-child { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--shop-line); }
  .service-strip article:last-child { padding-bottom: 0; border: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-news { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .toast { top: 145px; left: 16px; right: 16px; }
}

@media print {
  body, main { color: #111 !important; background: #fff !important; }
  .shop-topbar, .service-strip { display: none !important; }
  .certificate { color: #111; background: #fff; }
  .certificate-body { background: #fff; }
  .certificate-block { color: #111; background: #f3f3f3; }
  .certificate-block strong, .certificate-title h1 { color: #111; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
