@charset "UTF-8";
/* ==========================================================================
   Solana — soft, rounded catalogue. One green brand colour plus an amber
   accent over grey-green neutrals, Plus Jakarta Sans headings over Inter
   text, pill buttons, 16 px cards that lift, a glass header, light and dark.
   Fonts and the pre-paint theme script come from Components/ThemeHead.cshtml;
   js/solana.js owns the toggle, dropdowns, search panel and the drawer.

   Class contract for the page views (Tasks 3-7). Names are final, no prefix:
     layout    .container .section .section-alt .section-head
               .grid-3 .grid-4 .page-band (.page-band-crumb, h1 inside, .page-band-note)
               .crumb-bar .list-pager (nav around the PaginationNumber component)
     surfaces  .card (.card-static: no hover lift) .icon-circle (.icon-circle-square)
     buttons   .btn-primary .btn-outline
               on the green bands: .btn-light (white fill) .btn-outline-light
     text      .eyebrow .display .detail-link
               .badge .badge-accent2 .badge-success
               .pill (filter pill link: list-page groups; aria-current="page", .is-open = an ancestor)
     home      .hero (SlideBanner; FullSizeSlideBanner adds .hero-banner, the card in homepage.css;
               js [data-ck-hero]) .product-card (Components/ProductGrid.cshtml)
               .cta-band (deep green call-to-action band)
               .rich-text (wrapper for seller-entered HTML)
     dialogs   .zoom-overlay (.zoom-btn .zoom-close-btn .zoom-prev-btn .zoom-next-btn .zoom-img
               .zoom-count; js [data-ck-gallery]: product gallery and company gallery tiles)
   Bootstrap 5 is loaded first and also defines .container/.card/.badge; the
   rules below come later with equal or higher specificity, so they win
   without !important. Header/footer classes (.site-header, .site-footer,
   .mobile-panel, .contact-dropdown …) are private to this file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens: the mockup palette (docs/templates/solana/NOTES.md section 1) with
   contrast fixes, text >= 4.5:1, UI parts and the focus ring >= 3:1 in both themes.
     --bg/--surface      page and cards (mockup --surface)  --surface-alt  bands, tiles (--offwhite)
     --text/--text-muted ink / ink-soft                     --border       hairlines (--line)
     --border-strong     field and control outlines (>= 3:1)
     --accent            green fill under white text        --accent-hi    green text, links, focus ring
     --accent-dark       button hover fill                  --primary-deep footer and promo band
     --accent2           amber for text and icons (darker in light mode: the mockup's #E69A00 is 2.3:1)
     --amber             the mockup amber, for fills and decoration; --on-amber is the ink on it
   -------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
  --bg: #ffffff; --surface: #ffffff; --surface-alt: #f3f4f1; --text: #1a2420; --text-muted: #4b5a52; --border: #dfe3df;
  --border-strong: #7d8a82;
  --accent: #1f6b3f; --accent-hi: #1f6b3f; --accent-dark: #143f28; --on-accent: #ffffff;
  --primary-deep: #143f28;
  --accent2: #946000; --amber: #e69a00; --on-amber: #1a2420;
  --wa: #1a7a43; --success: #1a7a43; --danger: #b42318;
  --lavender: #aab4b8;
  --glass-bg: rgba(255, 255, 255, .86); --glass-line: rgba(223, 227, 223, .8);
  --footer-bg: var(--primary-deep); --footer-text: rgba(255, 255, 255, .78); --footer-muted: rgba(255, 255, 255, .68);
  --footer-head: #ffffff; --footer-border: rgba(255, 255, 255, .15);
  --font-body: 'Inter', system-ui, sans-serif; --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --shadow: 0 18px 40px -24px rgba(20, 40, 30, .3);
  --shadow-header: 0 8px 24px -12px rgba(20, 40, 30, .18);
  --shadow-lift: 0 10px 28px -12px rgba(20, 40, 30, .35);
  --shadow-pop: 0 20px 40px -20px rgba(20, 40, 30, .32);
  --overlay: rgba(0, 0, 0, .3);
  --logo-plate: transparent;
  --float-pill: #ffffff;
  /* photos: white plate behind product pictures (both themes), the hero overlay (wide: fades to the
     right; narrow: covers the whole slide), scrims on photos */
  --img-plate: #ffffff;
  --hero-overlay: linear-gradient(90deg, rgba(10, 14, 11, .72), rgba(10, 14, 11, .18));
  --hero-overlay-narrow: linear-gradient(180deg, rgba(10, 14, 11, .5), rgba(10, 14, 11, .78));
  --scrim: rgba(10, 14, 11, .45);
  /* product image zoom backdrop (both themes) */
  --zoom-bg: rgba(10, 14, 11, .9);
  /* controls drawn on a white product photo (gallery enlarge button, dots): the same in both themes */
  --zoom-ink: #1a2420; --zoom-hi: #1f6b3f; --zoom-plate: #ffffff;
  /* Bootstrap utilities (.bg-body, .text-body) read these RGB triplets: surface / text */
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-body-color-rgb: 26, 36, 32;
}
[data-theme="dark"] {
  --bg: #0d130f; --surface: #0d130f; --surface-alt: #16201a; --text: #eef2ee; --text-muted: #b8c2ba; --border: #263029;
  --border-strong: #5f6d65;
  /* the mockup's #4CAF72 fill under white text is 2.7:1, so the fill takes the mockup's dark
     --primary-deep (#2F7A4D, white 5.2:1) and #4CAF72 stays for green text, links and the ring */
  --accent: #2f7a4d; --accent-hi: #4caf72; --accent-dark: #25613d;
  /* footer and promo band sit darker than the page (the mockup's #2F7A4D band was lighter than it) */
  --primary-deep: #050e09;
  --accent2: #f2ab2e; --amber: #f2ab2e;
  --danger: #f97066;
  --lavender: #9aa6ab;
  --glass-bg: rgba(13, 19, 15, .86); --glass-line: rgba(38, 48, 41, .8);
  --footer-border: rgba(255, 255, 255, .12);
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
  --shadow-header: 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lift: 0 10px 28px -12px rgba(0, 0, 0, .7);
  --shadow-pop: 0 20px 40px -20px rgba(0, 0, 0, .8);
  --overlay: rgba(0, 0, 0, .55);
  --logo-plate: #ffffff;
  --bs-body-bg-rgb: 13, 19, 15;
  --bs-body-color-rgb: 238, 242, 238;
  color-scheme: dark;
}
/* .bg-white paints rgba(var(--bs-white-rgb)); remapped on the element only (not --bs-white globally,
   which .text-white and white icons also read), so a white panel from shared markup turns surface. */
[data-theme="dark"] .bg-white { --bs-white-rgb: var(--bs-body-bg-rgb); }
:root {
  /* derived; resolved on <html>, so they follow data-theme */
  --accent-soft: color-mix(in srgb, var(--accent-hi) 12%, var(--surface));

  /* Bootstrap components (dropdowns, modals, form controls, utilities) follow the theme */
  --bs-body-bg: var(--surface);
  --bs-body-color: var(--text);
  --bs-emphasis-color: var(--text);
  --bs-secondary-color: var(--text-muted);
  --bs-border-color: var(--border);
  --bs-secondary-bg: var(--surface-alt);
  --bs-tertiary-bg: var(--surface-alt);
  --bs-heading-color: inherit;
  --bs-body-font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
/* The theme sets display on many components (.pill-row, .detail-link, .btn-*), which would beat
   the UA [hidden] rule; do not rely on Bootstrap's reboot for it. One of the few justified
   !important uses, with the dark-mode .rich-text rule and the reduced-motion reset. */
[hidden] { display: none !important; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

.main-content {
  flex: 1 0 auto;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
}

h1, h2, h3, h4 {
  margin: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 18px; }

::selection { background: var(--lavender); color: var(--text); }
/* the dark lavender under light text is too faint (about 2:1); the green fill keeps white text at 5.2:1 */
[data-theme="dark"] ::selection { background: var(--accent); color: var(--on-accent); }

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-hi);
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Layout contract
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--surface-alt); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-size: 36px;
}
.section-head p {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--text-muted);
}

.grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.page-band { padding: 64px 0 0; }
.page-band h1 { margin: 12px 0 0; font-size: 36px; font-weight: 800; overflow-wrap: anywhere; }
.page-band-note { max-width: 672px; margin: 16px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.625; }
.page-band-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
}
.page-band-crumb li + li::before { content: "/"; margin-right: 6px; }
.page-band-crumb a:hover { color: var(--accent-hi); }
.page-band-crumb [aria-current="page"], .page-band-crumb li:last-child { color: var(--text); }
/* on the page bands the breadcrumb takes the mockup's amber eyebrow slot above the h1 */
.page-band .page-band-crumb { font-family: var(--font-display); font-weight: 600; letter-spacing: .025em; }
.page-band .page-band-crumb a { color: var(--accent2); }
.page-band .page-band-crumb a:hover { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.crumb-bar { padding: 32px 0 0; }

/* --------------------------------------------------------------------------
   Surfaces, buttons, labels
   -------------------------------------------------------------------------- */
/* Cards lift with an amber edge on hover (mockup .card); .card-static is for surfaces that are not
   links (stat tiles, info cards, forms) and stays put. */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--amber); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-static:hover { border-color: var(--border); box-shadow: none; transform: none; }

.icon-circle {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--accent-hi);
}
.icon-circle-square { width: 44px; height: 44px; border-radius: 12px; }

.btn-primary, .btn-outline, .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn-primary, .btn-light { border: 1px solid transparent; }
.btn-primary { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: var(--on-accent); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn-light { background: var(--on-accent); color: var(--accent); }
.btn-light:hover { background: var(--on-accent); color: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--accent-hi); background: var(--surface-alt); color: var(--text); transform: translateY(-1px); }
.btn-outline-light { border-color: color-mix(in srgb, var(--on-accent) 70%, transparent); color: var(--on-accent); }
.btn-outline-light:hover { border-color: var(--on-accent); background: color-mix(in srgb, var(--on-accent) 12%, transparent); color: var(--on-accent); }
.btn-primary:active, .btn-outline:active, .btn-light:active { transform: scale(.98); }
.btn-primary[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Eyebrow: a small amber line above a heading (mockup: 13 px, 600, slightly tracked, not uppercase). */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--accent2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .025em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.badge-accent2 { background: var(--amber); color: var(--on-amber); }
.badge-success { background: var(--success); }

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  color: var(--accent-hi);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  transition: gap .15s ease, color .15s ease;
}
.detail-link svg, .detail-link .bi { flex-shrink: 0; transition: transform .15s ease; }
.detail-link:hover { gap: 7px; color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
.detail-link:hover svg, .detail-link:hover .bi { transform: translateX(2px); }

/* Filter pill (mockup .pill): the list-page group filter. Links only; the current group is filled
   green, an ancestor of it gets a green edge. Hover tints rather than fills (the mockup's fill on
   hover looked the same as the current pill). */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.pill:hover { border-color: var(--accent-hi); background: var(--surface-alt); color: var(--text); }
.pill.is-open { border-color: var(--accent-hi); color: var(--text); }
.pill[aria-current="page"],
.pill[aria-current="page"]:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; }
/* From 768 px the pill rows wrap, so a long group name wraps inside its pill rather than running past
   the container (below 768 px the row scrolls sideways and the pill stays on one line). */
@media (min-width: 768px) {
  .pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}

/* --------------------------------------------------------------------------
   Seller-entered rich HTML (.rich-text wrapper)
   -------------------------------------------------------------------------- */
.rich-text { overflow-wrap: anywhere; line-height: 1.75; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0 0 1em; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 1.2em 0 .5em; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.4em; }
.rich-text img { max-width: 100%; height: auto; border-radius: 12px; }
.rich-text table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich-text td, .rich-text th { padding: 6px 10px; border: 1px solid var(--border); }
.rich-text a { color: var(--accent-hi); text-decoration: underline; }
/* The seller editor writes inline colours picked on a white page (dark text, white highlights),
   which vanish on the dark surfaces. Inline style="" only yields to !important, so it is justified
   here: in dark mode every descendant except links inherits the theme text colour
   and drops its background. */
[data-theme="dark"] .rich-text *:not(a) { color: inherit !important; background-color: transparent !important; }

/* --------------------------------------------------------------------------
   Hero slider (Components/FullSizeSlideBanner.cshtml, SlideBanner.cshtml as .hero-strip)
   Slides share one grid cell; only the current one is displayed, so the other background
   images load when they are first shown. Image-only heroes keep the banner ratio (no crop);
   once any slide carries text the hero gets a minimum height and the text an overlay.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  color: var(--on-accent);
}
.hero-track {
  display: grid;
  aspect-ratio: 1400 / 600;
  touch-action: pan-y;
}
/* not aspect-ratio + min-height: the min-height would transfer through the ratio into a min-width */
.hero-has-text .hero-track { aspect-ratio: auto; min-height: max(460px, calc(100vw * 600 / 1400)); }
.hero-slide {
  position: relative;
  display: flex;
  grid-area: 1 / 1;
  align-items: center;
  min-width: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-slide.is-entering { animation: hero-in .5s ease; }
@keyframes hero-in { from { opacity: .4; } to { opacity: 1; } }
.hero-slide-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-slide-link { position: absolute; inset: 0; z-index: 1; }
.hero-slide-link:focus-visible { outline: 3px solid var(--on-accent); outline-offset: -6px; }
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 72px;
  pointer-events: none;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
.hero-copy a { pointer-events: auto; }
.hero-title {
  margin: 0;
  color: var(--on-accent);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.hero-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--on-accent) 92%, transparent);
  font-size: 16px;
  line-height: 1.6;
}
.hero-btn { width: fit-content; }
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-accent) 22%, transparent);
  box-shadow: 0 4px 14px var(--scrim);
  color: var(--on-accent);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  transition: background-color .15s ease;
}
.hero-nav:hover { background: color-mix(in srgb, var(--on-accent) 38%, transparent); }
.hero-nav:focus-visible { outline-color: var(--on-accent); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--on-accent);
  box-shadow: 0 0 0 1px var(--scrim);
  opacity: .45;
  transition: opacity .2s ease, width .2s ease;
}
.hero-dot[aria-current="true"]::before { width: 20px; opacity: 1; }
.hero-dot:focus-visible { outline-color: var(--on-accent); outline-offset: -2px; }
/* With arrows (768 px and up) the text keeps clear of them: at least 80 px from the screen edge. */
@media (min-width: 768px) {
  .hero:has(.hero-nav) .hero-content {
    padding-right: max(24px, calc(80px - max(0px, (100vw - 1280px) / 2)));
    padding-left: max(24px, calc(80px - max(0px, (100vw - 1280px) / 2)));
  }
}
.hero-strip { border-radius: 16px; }
.hero-strip .hero-track { aspect-ratio: 2 / 1; }

/* --------------------------------------------------------------------------
   Product card (Components/ProductGrid.cshtml; docs/templates/solana/product-card.html): 176 px image
   frame, display-font name on two lines, price, a meta list (Kategori, Update in amber, Min Order) and
   the full-width "Lihat Produk" pill, whose link stretches over the card. Product photos are square
   with their own white background, so they sit uncropped on a white plate centred in the frame (the
   mockup crops a photograph with object-fit: cover). Dark theme: amber outline (mockup .product-card-tile).
   -------------------------------------------------------------------------- */
.product-card { position: relative; height: 100%; }
[data-theme="dark"] .product-card { border-color: var(--amber); }
.product-card-media {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 176px;
  overflow: hidden;
  background: var(--surface-alt);
}
/* a square white plate (photos are square; a missing one keeps the square) centred in the frame, so
   dark cards carry a photo tile rather than a full-width white block */
.product-card-media img {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1;
  padding: 12px;
  background: var(--img-plate);
  color: transparent; /* a missing photo leaves the plate, not its alt text, on screen */
  object-fit: contain;
}
.product-card-badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
.product-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 20px 20px;
}
.product-card-name {
  display: -webkit-box;
  min-height: 2.75em;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.375;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-price {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}
.product-card-price.is-ask { color: var(--text-muted); }
.product-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.product-card-meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-card-meta dt { flex-shrink: 0; color: var(--text-muted); font-weight: 400; }
.product-card-meta dd {
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.product-card-meta .product-card-date { color: var(--accent2); }
/* the button sits at the bottom of every card in a row, at least 16 px under the text */
.product-card-body > :nth-last-child(2) { margin-bottom: 16px; }
.product-card-link { width: 100%; margin-top: auto; }
.product-card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
/* a transform would make the button the containing block of the stretched ::after */
.product-card .product-card-link:hover { box-shadow: none; transform: none; }
.product-card:hover .btn-primary.product-card-link { border-color: var(--accent-dark); background: var(--accent-dark); }

/* --------------------------------------------------------------------------
   Green call-to-action band (about)
   -------------------------------------------------------------------------- */
.cta-band {
  padding: 64px 0;
  background: var(--primary-deep);
  color: var(--on-accent);
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.cta-band h2 { max-width: 640px; color: var(--on-accent); font-size: 30px; }
.cta-band p {
  max-width: 560px;
  margin: 0;
  color: color-mix(in srgb, var(--on-accent) 92%, transparent);
  font-size: 15.5px;
  line-height: 1.65;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}
.cta-band .btn-outline-light:focus-visible, .cta-band .btn-light:focus-visible { outline-color: var(--on-accent); }

/* --------------------------------------------------------------------------
   Header (Components/Header.cshtml): one sticky glass row, 76 px.
   Which parts show at which width is in the Responsive section below.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--surface); }
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.logo-link {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 96px;
  color: var(--text);
}
.logo-link:hover { color: var(--text); }
.logo-slot {
  display: flex;
  flex: 0 1 185px;
  align-items: center;
  width: 185px;
  min-width: 96px;
  height: 48px;
}
.logo-slot img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  background: var(--logo-plate);
}
[data-theme="dark"] .logo-slot img { padding: 3px 6px; }
.logo-slot .profil-spinner { color: var(--text-muted); }
/* text logo when the company has no logo: "COMPANY." in the display face, the dot in amber */
.logo-text {
  display: -webkit-box;
  overflow: hidden;
  max-width: 240px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.logo-dot { color: var(--amber); }

/* six flat links; the active one carries the amber underline */
.nav-main {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
  min-width: 0;
  margin: 0 auto;
}
.site-header .nav-link,
.mobile-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .25s ease;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.site-header .nav-link:hover,
.site-header .nav-link.active,
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active { color: var(--text); }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

/* Produk / Jasa: link + chevron button + group list (Components/HeaderCompanyGroup.cshtml) */
.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform .2s ease, color .15s ease;
}
.nav-drop-toggle:hover { color: var(--text); }
.nav-drop.is-open > .nav-drop-toggle { transform: rotate(180deg); }
.menu-dropdown {
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.menu-dropdown li { position: relative; }
.menu-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}
.menu-dropdown a:hover { background: var(--surface-alt); color: var(--text); }
.menu-dropdown .bi { font-size: 11px; color: var(--text-muted); }
/* The header is sticky, so a long group list scrolls inside itself; sub-groups sit indented in
   that list instead of flying out (a fly-out would be clipped by the scroll box). */
.nav-main .nav-drop > .menu-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  z-index: 60;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility 0s linear .18s;
}
/* hover bridge over the gap between the link and the list */
.nav-main .nav-drop > .menu-dropdown::before { content: ""; position: absolute; top: -8px; right: 0; left: 0; height: 8px; }
.nav-main .nav-drop.is-open > .menu-dropdown {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease;
}
@media (hover: hover) {
  .nav-main .nav-drop:hover > .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transition: opacity .15s ease;
  }
}
.nav-main .menu-dropdown.child {
  min-width: 0;
  padding: 0 0 4px 12px;
  border: 0;
  border-left: 2px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
.nav-main .menu-dropdown .bi-chevron-right { display: none; }

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.header-contacts { display: flex; align-items: center; gap: 8px; }
.header-divider { width: 1px; height: 20px; margin: 0 4px; background: var(--border); }

.icon-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.icon-btn:hover { border-color: var(--accent-hi); background: var(--surface-alt); color: var(--accent-hi); }
.icon-btn-contact { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.icon-btn-contact:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: var(--on-accent); }

.icon-theme-dark { display: none; }
[data-theme="dark"] .icon-theme-dark { display: block; }
[data-theme="dark"] .icon-theme-light { display: none; }

.hamburger-btn.icon-btn { color: var(--text); }

/* Site search from 1024 px: a round button, the panel opens under the row */
.nav-search { position: relative; display: none; flex-shrink: 0; }
.nav-search-toggle[aria-expanded="true"] { border-color: var(--accent-hi); color: var(--accent-hi); }
.nav-search-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 60;
  width: 360px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: text;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-box svg { flex-shrink: 0; }
.search-box:focus-within {
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-hi) 18%, transparent);
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.search-box input:focus-visible { outline: none; }
.search-box input::placeholder { color: var(--text-muted); }

/* contact dropdowns: hover on pointer devices, click/Enter everywhere (js/solana.js sets .is-open) */
.contact-hover { position: relative; }
.contact-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 70;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .15s ease, visibility 0s linear .18s;
}
.contact-hover.is-open .contact-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .15s ease;
}
@media (hover: hover) {
  .contact-hover:hover .contact-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .15s ease;
  }
}
.contact-dropdown-inner {
  width: 232px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.contact-dropdown-title {
  padding: 4px 12px 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.contact-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 12.5px;
  transition: background-color .15s ease;
}
.contact-dropdown-item:hover { background: var(--surface-alt); color: var(--text-muted); }
.contact-dropdown-item .item-label {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
}
.leads-click.loading { cursor: progress; }

/* buyer cluster and language switch, restyled to the pill language (layout rules stay in ecommerce.css) */
.site-header .buyer-menu { gap: 4px; font-family: var(--font-display); }
.site-header .buyer-menu-item { border-radius: 999px; color: var(--text-muted); }
.site-header .buyer-menu-item:hover { background: var(--surface-alt); color: var(--text); }
.site-header .buyer-menu .ec-btn { min-height: 40px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; }
.site-header .lang-switch { border-color: var(--border); font-family: var(--font-display); }
.site-header div.lang-switch a[aria-current="page"],
.mobile-panel div.lang-switch a[aria-current="page"] { color: var(--accent-hi); }

/* --------------------------------------------------------------------------
   Drawer (below 1200 px): slides in from the right over a backdrop
   -------------------------------------------------------------------------- */
.mobile-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1044;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.mobile-panel-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  width: min(340px, 86%);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-pop);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .35s;
}
.mobile-panel.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.mobile-panel-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 76px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-panel-title { font-size: 16px; font-weight: 800; }
.mobile-panel-body {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  gap: 18px;
  padding: 20px 24px 24px;
}
.mobile-panel .search-box { width: 100%; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav > .nav-link,
.mobile-nav > .nav-drop { border-bottom: 1px solid var(--border); }
.mobile-nav > :last-child { border-bottom: 0; }
.mobile-nav .nav-link { display: flex; min-height: 48px; font-size: 15px; }
.mobile-nav .nav-link.active { font-weight: 600; }
.mobile-nav .nav-drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.mobile-nav .nav-drop > .nav-link { flex: 1 1 auto; }
.mobile-nav .nav-drop-toggle { width: 44px; height: 44px; }
.mobile-nav .menu-dropdown {
  display: none;
  width: 100%;
  min-width: 0;
  padding: 0 0 8px 12px;
  border: 0;
  border-left: 2px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.mobile-nav .nav-drop.is-open > .menu-dropdown,
.mobile-nav .menu-dropdown.child { display: block; }
.mobile-nav .menu-dropdown a { min-height: 44px; }
.mobile-nav .menu-dropdown .bi-chevron-right { display: none; }
.mobile-panel-row { padding-top: 16px; border-top: 1px solid var(--border); font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.mobile-panel-label {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mobile-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 4px 8px;
  margin: 0 -8px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.mobile-contact:hover { background: var(--surface-alt); color: var(--text-muted); }
.mobile-contact-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}
.mobile-contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mobile-contact .item-label { color: var(--text); font-family: var(--font-display); font-size: 13.5px; font-weight: 600; }
.mobile-contact .contact-text { overflow-wrap: anywhere; }
.mobile-theme-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.mobile-theme-btn .icon-btn { pointer-events: none; }
.mobile-cta { width: 100%; margin-top: auto; }

/* --------------------------------------------------------------------------
   Footer (Components/Footer.cshtml): green band in light, near-black band in dark
   -------------------------------------------------------------------------- */
.site-footer {
  flex-shrink: 0;
  padding: 64px 0 0;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 14px;
}
[data-theme="dark"] .site-footer { border-top: 1px solid var(--border); }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--footer-head); }
/* the green ring would vanish on the green band; amber reads >= 5:1 on both footer bands */
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.site-footer .footer-title {
  margin: 0;
  color: var(--footer-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.footer-company { color: var(--footer-head); font-size: 16px; font-weight: 700; }
.footer-company + .footer-text { margin-top: -8px; }
.footer-text { max-width: 320px; margin: 0; line-height: 1.65; }
.site-footer .footer-more { width: fit-content; color: var(--footer-head); font-family: var(--font-display); font-weight: 600; }
.site-footer .footer-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts .contact-hover { width: fit-content; max-width: 100%; }
.footer-contacts .contact-dropdown { left: 0; transform: none; }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--footer-text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.site-footer .footer-contact-row:hover { color: var(--footer-head); }
.footer-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--on-amber);
}
.footer-contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.footer-contact-text .item-label { color: var(--footer-head); font-family: var(--font-display); font-weight: 600; }
.footer-contact-text .contact-text { overflow-wrap: anywhere; }
.footer-contact-chevron { flex-shrink: 0; transition: transform .2s ease; }
.contact-hover.is-open .footer-contact-chevron { transform: rotate(180deg); }
/* the dropdown panel is a light (surface) card inside the band: its own colours and ring */
.site-footer .contact-dropdown-item { color: var(--text-muted); }
.site-footer .contact-dropdown-item:hover { color: var(--text-muted); }
.site-footer .contact-dropdown :focus-visible { outline-color: var(--accent-hi); }
.footer-address { display: flex; flex-direction: column; gap: 4px; }
.footer-address-name { color: var(--footer-head); font-family: var(--font-display); font-weight: 600; }
.site-footer .footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 0;
  color: var(--footer-head);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.site-footer .footer-map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-map-link svg { color: var(--amber); }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.site-footer .footer-social a {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--on-amber);
  font-size: 16px;
  transition: transform .2s ease, background-color .2s ease;
}
.site-footer .footer-social a:hover { transform: translateY(-2px); color: var(--on-amber); background: color-mix(in srgb, var(--amber) 85%, white); }
.footer-bottom-wrap { margin-top: 56px; border-top: 1px solid var(--footer-border); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--footer-muted);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Floating buttons and helpers used by shared components and scripts
   -------------------------------------------------------------------------- */
.whatsappBottom {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 99;
  cursor: pointer;
}
.whatsappBottom > a img { filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--wa) 40%, transparent)); transition: transform .15s ease; }
.whatsappBottom > a:hover img { transform: scale(1.06); }
.whatsapp .dropdown-menu .card {
  --bs-dark-bg-subtle: var(--float-pill);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: none;
}
.whatsapp .dropdown-menu .card .contact-text { font-weight: 700; }

#backtotop {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 99;
  display: none;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
#backtotop img { width: 20px; }
#backtotop:hover { background: var(--accent-dark); color: var(--on-accent); }

.product-image-wrapper,
.profil-image-wrapper {
  position: relative;
}
.product-spinner,
.profil-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease;
}
.product-image-grid,
.profil-image-grid {
  opacity: 0;
  transition: opacity .4s ease;
}
.product-image-wrapper.loaded .product-image-grid,
.profil-image-wrapper.loaded .profil-image-grid {
  opacity: 1;
}
.product-image-wrapper.loaded .product-spinner,
.profil-image-wrapper.loaded .profil-spinner {
  opacity: 0;
  pointer-events: none;
}

.contact-text { display: inline-block; transition: opacity .25s ease; }
.fade-out { opacity: 0; }
.fade-in { opacity: 1; }
.rupiah { white-space: nowrap; }
.icon-invert { filter: invert(1); }

.socmed { position: fixed; top: 30%; right: 0; z-index: 99; }
.share-button {
  width: 44px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  outline: 0;
}

/* --------------------------------------------------------------------------
   Responsive (mockup: sm 640, md 768, lg 1024; the header's link row needs 1200)
   Header parts by width:
     < 768      logo, buyer cluster, burger (theme, language, contacts and search in the drawer)
     768-1023   + contact buttons, theme
     1024-1199  + search
     >= 1200    + the six links and the language switch; the burger and drawer go away
   "Konsultasi Gratis" stays in the drawer: next to the buyer cluster and the language switch the row
   has no room for it (measured, see the task 2 report).
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .container { padding-right: 32px; padding-left: 32px; }
}
@media (min-width: 1024px) {
  .nav-search { display: block; }
}
@media (min-width: 1200px) {
  .nav-main { display: flex; }
  .hamburger-btn.icon-btn { display: none; }
}
/* 1200-1279: the six links, the contact buttons and an anonymous buyer cluster leave the logo ~100 px */
@media (min-width: 1200px) and (max-width: 1279.98px) {
  .header-row { gap: 20px; }
  .nav-main { gap: 18px; }
}
@media (max-width: 1199.98px) {
  .site-header .lang-desktop { display: none; }
}
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
  .hero-title { font-size: 34px; }
}
@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 767.98px) {
  .header-row { gap: 12px; }
  .header-actions { gap: 4px; }
  .header-contacts, .header-divider, .header-actions > .theme-toggle { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .logo-slot { flex-basis: 140px; height: 44px; }
  .logo-text { max-width: 180px; font-size: 15px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 30px; }
  .page-band { padding-top: 40px; }
  .page-band h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 56px; }
  .footer-bottom-wrap { margin-top: 40px; }
  .site-footer .footer-social a, .footer-icon { width: 44px; height: 44px; }
  .site-footer .footer-map-link, .site-footer .footer-more { min-height: 44px; display: inline-flex; align-items: center; }
  .whatsappBottom { right: 16px; }
  #backtotop { right: 16px; }
  .hero-has-text .hero-track { min-height: 420px; }
  .hero-slide-text::before { background: var(--hero-overlay-narrow); }
  .hero-content { padding-top: 40px; padding-bottom: 60px; }
  .hero-copy { gap: 16px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-nav { display: none; }
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: 26px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .btn-primary:hover, .btn-outline:hover, .btn-light:hover, .site-footer .footer-social a:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Image zoom dialog (product gallery, company gallery; js/solana.js [data-ck-gallery])
   -------------------------------------------------------------------------- */
.zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 80px;
  background: var(--zoom-bg);
}
/* tabindex="-1" keeps focus (and so Escape/Tab handling) inside the dialog when its image or
   backdrop is clicked; the container itself shows no ring, its buttons keep :focus-visible */
.zoom-overlay:focus { outline: none; }
.zoom-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  background: var(--img-plate);
  object-fit: contain;
}
.zoom-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-accent) 15%, transparent);
  color: var(--on-accent);
  cursor: pointer;
  transition: background-color .15s ease;
}
.zoom-btn:hover { background: color-mix(in srgb, var(--on-accent) 25%, transparent); }
.zoom-btn:focus-visible { outline-color: var(--on-accent); }
.zoom-close-btn { top: 24px; right: 24px; }
.zoom-prev-btn { top: 50%; left: 20px; transform: translateY(-50%); }
.zoom-next-btn { top: 50%; right: 20px; transform: translateY(-50%); }
.zoom-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--on-accent);
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .zoom-overlay { padding: 76px 12px 64px; }
  .zoom-prev-btn, .zoom-next-btn { top: auto; bottom: 12px; transform: none; }
  .zoom-prev-btn { left: 12px; }
  .zoom-next-btn { right: 12px; }
  .zoom-close-btn { top: 16px; right: 12px; }
}

/* --------------------------------------------------------------------------
   Pagination (PaginationNumber component inside nav.list-pager: product lists, blog)
   -------------------------------------------------------------------------- */
.list-pager { margin-top: 40px; }
.list-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.list-pager .page-item .page-link {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.list-pager .page-item .page-link:hover { border-color: var(--accent-hi); background: var(--surface); color: var(--accent-hi); }
.list-pager .page-item .page-link:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.list-pager .page-item.active .page-link { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
