:root {
  --hybrid-bg: #1d1d1b;
  --hybrid-surface: #252521;
  --hybrid-surface-2: #2e2d29;
  --hybrid-text: #f1ede4;
  --hybrid-muted: #b7b3aa;
  --hybrid-accent: #f1ede4;
  --hybrid-line: rgba(241, 237, 228, 0.16);
  --hybrid-radius: 18px;
}

html { scroll-behavior: smooth; }

body.hybrid-page {
  margin: 0;
  color: var(--hybrid-text);
  background: var(--hybrid-bg);
  font-family: var(--body-font-family);
  line-height: 1.5;
}

.hybrid-page *, .hybrid-page *::before, .hybrid-page *::after { box-sizing: border-box; }
.hybrid-page main a { color: inherit; text-decoration: none; }
.hybrid-page main img { display: block; max-width: 100%; }
.hybrid-page main button, .hybrid-page main input, .hybrid-page main select, .hybrid-page main textarea { font: inherit; }
.hybrid-page main button { cursor: pointer; }
.hybrid-page main h1,
.hybrid-page main h2,
.hybrid-page main h3,
.hybrid-page main h4,
.hybrid-page main h5,
.hybrid-page main h6 { font-family: var(--heading-font-family); text-transform: uppercase; }

.hybrid-page .hybrid-skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1rem; color: #1d1d1b; background: #f1ede4;
}
.hybrid-skip:focus { top: 1rem; }

.hybrid-container { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.hybrid-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hybrid-line); background: rgba(29,29,27,.94); backdrop-filter: blur(18px); }
.hybrid-nav { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hybrid-brand,
.ak-site_branding,
.footer.style-1 .logo-footer .logo,
.hybrid-footer__brand {
  position: relative;
  display: block;
  flex: 0 0 170px;
  width: 170px;
  height: 94px;
  overflow: hidden;
}
.hybrid-brand img,
.ak-site_branding img,
.footer.style-1 .logo-footer .logo img,
.hybrid-footer__brand img {
  position: absolute !important;
  top: -189px;
  left: -151px;
  width: 472px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: initial;
}
.hybrid-links { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.hybrid-links a { color: #d6d1c7; font-size: .9rem; font-weight: 700; letter-spacing: .02em; transition: color .2s ease; }
.hybrid-links a:hover, .hybrid-links a[aria-current="page"] { color: var(--hybrid-accent); }
.hybrid-actions { display: flex; align-items: center; gap: 10px; }
.hybrid-cart-link { position: relative; padding: 10px; }
.hybrid-cart-count { position: absolute; inset: -2px -3px auto auto; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #1d1d1b; background: var(--hybrid-accent); font-size: .7rem; font-weight: 800; }
.hybrid-menu-toggle { display: none; border: 1px solid var(--hybrid-line); color: #f1ede4; background: transparent; padding: 10px 12px; }

.hybrid-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 54px; padding: 0 32px; border: 1px solid transparent; color: #1d1d1b; background: var(--hybrid-accent); font-family: var(--heading-font-family); font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.hybrid-page main a.hybrid-btn { color: #1d1d1b; }
.hybrid-btn:hover { color: #1d1d1b; background: #d8d3c9; transform: translateY(-2px); }
.hybrid-btn:active { transform: translateY(0) scale(.98); }
.hybrid-btn--ghost { color: #f1ede4; background: transparent; border-color: var(--hybrid-line); }
.hybrid-page main a.hybrid-btn--ghost { color: #f1ede4; }
.hybrid-btn--ghost:hover { color: #f1ede4; background: var(--hybrid-surface-2); }

.hybrid-hero { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--hybrid-line); background: #1d1d1b; }
.hybrid-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,29,27,.97) 0%, rgba(29,29,27,.7) 52%, rgba(29,29,27,.18) 100%); }
.hybrid-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hybrid-hero__content { position: relative; z-index: 1; max-width: 700px; padding-block: 112px 88px; }
.hybrid-kicker { margin: 0 0 14px; color: var(--hybrid-accent); font-family: var(--heading-font-family); font-size: 20px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hybrid-title { margin: 0; max-width: 13ch; font-family: var(--heading-font-family); font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 600; line-height: .82; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; }
.hybrid-lead { max-width: 60ch; margin: 24px 0 0; color: #c9c4ba; font-size: clamp(1rem, 2vw, 1.18rem); }
.hybrid-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hybrid-section { padding: 110px 0 125px; }
.hybrid-page main > .hybrid-section:first-child { padding-top: 235px; }
.hybrid-section--soft { background: #151513; }
.hybrid-heading { margin-bottom: 38px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr); gap: 32px; align-items: end; }
.hybrid-heading h2 { margin: 0; font-family: var(--heading-font-family); font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; line-height: .9; letter-spacing: 0; text-transform: uppercase; }
.hybrid-heading p { margin: 0; color: var(--hybrid-muted); }
.hybrid-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.hybrid-card { grid-column: span 4; padding: 30px; border: 1px solid #4a4944; border-radius: 0; background: #151513; }
.hybrid-card--wide { grid-column: span 6; }
.hybrid-card h3 { margin: 0 0 10px; font-family: var(--heading-font-family); font-size: 1.75rem; font-weight: 600; line-height: 1; text-transform: uppercase; }
.hybrid-card p { margin: 0; color: var(--hybrid-muted); }
.hybrid-card__image { width: calc(100% + 60px); max-width: none; height: 260px; margin: -30px -30px 26px; border-radius: 0; object-fit: cover; }
.hybrid-card__meta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hybrid-price { color: var(--hybrid-accent); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hybrid-tag { display: inline-block; margin-bottom: 14px; color: var(--hybrid-accent); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.hybrid-filter { margin-bottom: 40px; padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; border: 1px solid #4a4944; border-radius: 0; background: #151513; }
.hybrid-field { display: grid; gap: 8px; }
.hybrid-field label { color: #ddd8ce; font-size: .83rem; font-weight: 700; }
.hybrid-input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid #4a4944; border-radius: 0; outline: 0; color: #f1ede4; background: #151513; transition: border-color .2s ease, box-shadow .2s ease; }
.hybrid-input:focus { border-color: var(--hybrid-accent); box-shadow: 0 0 0 3px rgba(241,237,228,.16); }
.hybrid-input::placeholder { color: #817e77; }
textarea.hybrid-input { min-height: 130px; resize: vertical; }
.hybrid-form { padding: 40px; border: 1px solid #4a4944; border-radius: 0; background: #151513; }
.hybrid-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.hybrid-field--full { grid-column: 1 / -1; }
.hybrid-help { margin: 16px 0 0; color: var(--hybrid-muted); font-size: .84rem; }
.hybrid-status { display: none; margin-top: 18px; padding: 13px 15px; border-left: 3px solid var(--hybrid-accent); color: #f1ede4; background: rgba(241,237,228,.08); }
.hybrid-status.is-visible { display: block; }

.hybrid-product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: start; }
.hybrid-product__gallery { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.hybrid-product__main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.hybrid-thumbs { display: grid; gap: 12px; align-content: start; }
.hybrid-thumbs img { aspect-ratio: 1; object-fit: cover; border: 1px solid #4a4944; border-radius: 0; cursor: pointer; }
.hybrid-product h1 { margin: 0 0 16px; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.hybrid-qty { display: inline-grid; grid-template-columns: 42px 52px 42px; margin: 24px 0; border: 1px solid var(--hybrid-line); }
.hybrid-qty button, .hybrid-qty input { min-height: 44px; border: 0; color: #f1ede4; text-align: center; background: transparent; }

.hybrid-cart { width: 100%; border-collapse: collapse; }
.hybrid-cart th, .hybrid-cart td { padding: 18px 12px; border-bottom: 1px solid var(--hybrid-line); text-align: left; }
.hybrid-cart th { color: var(--hybrid-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hybrid-cart img { width: 76px; height: 76px; border-radius: 0; object-fit: cover; }
.hybrid-summary { margin-top: 30px; margin-left: auto; max-width: 430px; padding: 30px; border: 1px solid #4a4944; border-radius: 0; background: #151513; }
.hybrid-summary__row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hybrid-line); }
.hybrid-summary__row--total { border: 0; font-size: 1.2rem; font-weight: 800; }

.hybrid-footer { padding: 64px 0 26px; border-top: 1px solid var(--hybrid-line); background: #181816; }
.hybrid-footer__grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 50px; }
.hybrid-footer__brand { margin-bottom: 20px; }
.hybrid-footer h2 { margin: 0 0 14px; font-size: 2rem; }
.hybrid-footer h3 { margin: 0 0 16px; font-size: .86rem; color: var(--hybrid-accent); letter-spacing: .12em; text-transform: uppercase; }
.hybrid-footer p, .hybrid-footer a { color: var(--hybrid-muted); }
.hybrid-footer__links { display: grid; gap: 8px; }
.hybrid-footer__bottom { margin-top: 45px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--hybrid-line); color: #8f8b83; font-size: .8rem; }

.ak-nav_list > li > a.is-current { color: #f1ede4 !important; }
.client-structure-panel { margin-block: 110px; }
.client-structure-panel .hybrid-form { color: var(--hybrid-text); }
.ak-errorpage-content .error-logo img { filter: grayscale(1) sepia(.12) brightness(2.15); }

/* Shared template shell for all client-structure pages. */
.hybrid-header-social { display: flex; align-items: center; gap: 22px; }
.hybrid-header-social a { color: #ffffff; font-family: var(--heading-font-family); font-size: 14px; font-weight: 500; text-transform: uppercase; }
.hybrid-header-social a:hover { color: #f1ede4; }
.hybrid-header-cart { position: relative; color: #ffffff; font-family: var(--heading-font-family); font-size: 18px; font-weight: 500; text-transform: uppercase; }
.hybrid-header-cart:hover { color: #f1ede4; }
.hybrid-header-cart [data-cart-count] { display: inline-grid; min-width: 20px; height: 20px; margin-left: 4px; place-items: center; color: #1d1d1b; background: #f1ede4; font-family: var(--body-font-family); font-size: 11px; border-radius: 50%; }
.hybrid-page .ak-main-header-right { display: flex; align-items: center; gap: 18px; }
.hybrid-language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(241, 237, 228, .4);
  background: rgba(21, 21, 19, .72);
}
.hybrid-language-switch span { width: 1px; height: 18px; background: rgba(241, 237, 228, .24); }
.hybrid-language-switch button {
  width: 38px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #b7b3aa;
  background: transparent;
  font-family: var(--heading-font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.hybrid-language-switch button:hover { color: #ffffff; }
.hybrid-language-switch button[aria-pressed="true"] { color: #1d1d1b; background: #f1ede4; }
.hybrid-language-switch button:focus-visible { outline: 2px solid #f1ede4; outline-offset: 2px; }
.hybrid-page .footer .copyright-text a { color: #b7b3aa; }
.hybrid-page .footer .copyright-text a:hover { color: #f1ede4; }
.hybrid-phone-icon { width: 40px; height: 40px; display: grid; flex: 0 0 40px; place-items: center; border-radius: 50%; background: #f1ede4; }
.hybrid-phone-icon img { width: 20px; height: 20px; filter: brightness(0) saturate(100%); }
.hybrid-page .footer.style-1 .logo-footer .phone .icon svg path { fill: #1d1d1b; }

/* Legacy template components mapped to the HYBRID CLUB palette. */
.button-primary,
.button-primary:hover,
.button-primary.type_2,
.button-primary.type_2:hover,
.button-primary.style_2,
.button-primary.style_2:hover { color: #1d1d1b; }
.button-primary .icon svg path { fill: #1d1d1b; }
.button-primary.color3 { color: #f1ede4; }
.button-primary.color3 .icon svg path { fill: #f1ede4; }
.button-primary.color3:hover { color: #1d1d1b; }
.button-primary.color3:hover .icon svg path { fill: #1d1d1b; }
.ak-nav_list > li > a.is-current { box-shadow: inset 0 -1px #f1ede4; }

@media (max-width: 980px) {
  .hybrid-menu-toggle { display: block; }
  .hybrid-links { display: none; position: absolute; inset: 112px 0 auto; padding: 24px 20px; flex-direction: column; align-items: flex-start; background: #1d1d1b; border-bottom: 1px solid var(--hybrid-line); }
  .hybrid-links.is-open { display: flex; }
  .hybrid-actions .hybrid-btn { display: none; }
  .hybrid-card { grid-column: span 6; }
  .hybrid-product { grid-template-columns: 1fr; }
  .hybrid-header-cart { display: none; }
}

@media (max-width: 720px) {
  .hybrid-container { width: min(100% - 28px, 1180px); }
  .hybrid-page main > .hybrid-section:first-child { padding-top: 185px; }
  .hybrid-nav { min-height: 88px; }
  .hybrid-links { inset: 88px 0 auto; }
  .hybrid-brand,
  .ak-site_branding,
  .footer.style-1 .logo-footer .logo,
  .hybrid-footer__brand { flex-basis: 130px; width: 130px; height: 72px; }
  .hybrid-brand img,
  .ak-site_branding img,
  .footer.style-1 .logo-footer .logo img,
  .hybrid-footer__brand img { top: -145px; left: -116px; width: 362px !important; }
  .hybrid-hero { min-height: 480px; }
  .hybrid-hero__content { padding-block: 92px 62px; }
  .hybrid-heading, .hybrid-form-grid, .hybrid-footer__grid { grid-template-columns: 1fr; }
  .hybrid-card, .hybrid-card--wide { grid-column: 1 / -1; }
  .hybrid-section { padding: 70px 0 82px; }
  .hybrid-filter { grid-template-columns: 1fr; }
  .hybrid-product__gallery { grid-template-columns: 1fr; }
  .hybrid-thumbs { grid-template-columns: repeat(3,1fr); grid-row: 2; }
  .hybrid-form { padding: 22px; }
  .hybrid-cart { min-width: 650px; }
  .hybrid-table-wrap { overflow-x: auto; }
  .hybrid-footer__bottom { flex-direction: column; }
  .ak-main-header-right { display: flex !important; gap: 10px; }
  .ak-main-header-right .button-primary { display: none !important; }
  .ak-main-header-right .hybrid-header-cart { display: none; }
  .hybrid-language-switch { min-height: 36px; }
  .hybrid-language-switch button { width: 34px; height: 28px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
