/* =============================================================================
   root/assets/css/app.css
   Grant Controls storefront design system. Mobile-first; layers on top of
   Bootstrap 5.3. Brand red is sampled from the official logo (#EC3237).
   Look: Windows 11 "Fluent" - Mica-grey canvas, white cards with hairline
   strokes and 8 px corners, Segoe UI Variable (Inter where Segoe is absent),
   accent-underlined text boxes and pill selection indicators. Density is
   tuned for phones: compact type, tight gaps, small thumbnails.
   ============================================================================= */

:root {
  --gc-red: #EC3237;
  --gc-red-600: #D9272D;
  --gc-red-700: #C8232A;
  --gc-red-50: #FEF2F2;
  --gc-red-100: #FDE3E3;
  --gc-ink: #1B1B1F;
  --gc-ink-2: #323238;
  --gc-muted: #5D5F66;
  --gc-subtle: #6B6E76; /* 4.8:1 on white (WCAG AA for small text) */
  --gc-bg: #F3F3F5;          /* Mica (light) */
  --gc-surface: #FFFFFF;
  --gc-surface-2: #F9F9FB;   /* Fluent "subtle fill" for hovers and wells */
  --gc-hover: rgba(0, 0, 0, .045);
  --gc-pressed: rgba(0, 0, 0, .075);
  --gc-border: #E4E4E8;      /* card stroke */
  --gc-stroke-strong: #8A8A90; /* control bottom edge */
  --gc-success: #15803D;
  --gc-warning: #B45309;
  --gc-radius: 8px;          /* cards, dialogs */
  --gc-radius-sm: 6px;       /* controls */
  --gc-radius-lg: 12px;      /* large surfaces */
  --gc-shadow-sm: 0 1px 2px rgba(0, 0, 0, .04);
  --gc-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 8px 16px -4px rgba(0, 0, 0, .10);
  --gc-shadow-lg: 0 8px 16px rgba(0, 0, 0, .10), 0 32px 64px -16px rgba(0, 0, 0, .22);
  --gc-appbar-h: 54px;
  --gc-tabbar-h: 58px;
  --gc-safe-bottom: env(safe-area-inset-bottom, 0px);
  --gc-gutter: 12px;         /* page padding on phones */

  --bs-primary: var(--gc-red);
  --bs-primary-rgb: 236, 50, 55;
  --bs-link-color: var(--gc-red-700);
  --bs-link-color-rgb: 200, 35, 42;
  --bs-link-hover-color: var(--gc-red-600);
  --bs-body-font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", "Inter", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: .9375rem;
  --bs-body-color: var(--gc-ink);
  --bs-border-color: var(--gc-border);
  --bs-border-radius: var(--gc-radius-sm);
  --bs-focus-ring-color: rgba(236, 50, 55, .25);
  color-scheme: light; /* light theme only, like a Windows 11 app in light mode */
}
@media (min-width: 992px) { :root { --gc-appbar-h: 56px; } }

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: var(--gc-bg);
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom));
  -webkit-tap-highlight-color: transparent;
  line-height: 1.5;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
@media (max-width: 575.98px) {
  .container, .container-fluid { padding-left: var(--gc-gutter); padding-right: var(--gc-gutter); }
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { letter-spacing: -0.01em; font-weight: 600; color: var(--gc-ink); }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-muted { color: var(--gc-muted) !important; }
.text-brand { color: var(--gc-red) !important; }
.bg-brand { background: var(--gc-red) !important; }
::selection { background: var(--gc-red-100); color: var(--gc-ink); }
:focus-visible { outline: 2px solid var(--gc-ink); outline-offset: 1px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--gc-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Scrollbars (Windows 11 style, every page incl. admin) ----------
   Slim rounded thumb on a transparent track that widens on hover, no arrow
   buttons. Chrome/Edge/Safari use ::-webkit-scrollbar (they ignore it on any
   element that sets scrollbar-width / scrollbar-color, so those properties are
   only set for Firefox below). Hidden rails keep their own display:none rules. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, .32); border: 4px solid transparent; border-radius: 999px; background-clip: padding-box; min-height: 40px; min-width: 40px; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, .5); border-width: 3px; }
::-webkit-scrollbar-thumb:active { background-color: rgba(0, 0, 0, .6); border-width: 3px; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports (-moz-appearance: none) {
  html, body, * { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .35) transparent; }
}
/* Product / brand rails: swipe on touch screens (no bar), slim bar for mouse users on desktop */
@media (min-width: 992px) {
  .gc-prail::-webkit-scrollbar, .gc-hrow::-webkit-scrollbar { display: block; height: 10px; }
  @supports (-moz-appearance: none) { .gc-prail, .gc-hrow { scrollbar-width: thin; } }
}

/* The hidden attribute always wins, even over Bootstrap display utilities (.d-flex etc. are !important too;
   this file loads after Bootstrap, so it takes precedence). */
[hidden] { display: none !important; }

/* Honeypot - visually removed but still in the DOM for bots */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Buttons (Fluent: 6 px corners, hairline stroke, darker bottom edge) ---------- */
.btn {
  --bs-btn-font-weight: 600; --bs-btn-font-size: .9rem; --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1rem;
  border-radius: var(--gc-radius-sm); letter-spacing: 0; line-height: 1.35;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease, opacity .12s ease;
}
.btn:active { opacity: .88; }
a.btn:hover, a.btn:focus { text-decoration: none; }
.btn-lg { --bs-btn-font-size: 1rem; --bs-btn-padding-y: .66rem; --bs-btn-padding-x: 1.25rem; border-radius: var(--gc-radius-sm); }
.btn-sm { --bs-btn-font-size: .82rem; --bs-btn-padding-y: .3rem; --bs-btn-padding-x: .7rem; border-radius: 5px; }
.btn-primary {
  /* A shade darker than the logo red so white button text meets WCAG AA (4.9:1). */
  --bs-btn-bg: var(--gc-red-600); --bs-btn-border-color: var(--gc-red-600);
  --bs-btn-hover-bg: #E03036; --bs-btn-hover-border-color: #E03036;
  --bs-btn-active-bg: var(--gc-red-700); --bs-btn-active-border-color: var(--gc-red-700);
  --bs-btn-disabled-bg: var(--gc-red-600); --bs-btn-disabled-border-color: var(--gc-red-600);
  border-bottom-color: #A91D22;
}
.btn-outline-primary {
  --bs-btn-color: var(--gc-red-700); --bs-btn-border-color: var(--gc-red);
  --bs-btn-hover-bg: var(--gc-red-50); --bs-btn-hover-color: var(--gc-red-700); --bs-btn-hover-border-color: var(--gc-red);
  --bs-btn-active-bg: var(--gc-red-100); --bs-btn-active-color: var(--gc-red-700); --bs-btn-active-border-color: var(--gc-red-700);
}
.btn-dark { --bs-btn-bg: var(--gc-ink); --bs-btn-border-color: var(--gc-ink); --bs-btn-hover-bg: #34343A; --bs-btn-hover-border-color: #34343A; }
.btn-light, .btn-outline-secondary {
  --bs-btn-color: var(--gc-ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--gc-border);
  --bs-btn-hover-color: var(--gc-ink); --bs-btn-hover-bg: var(--gc-surface-2); --bs-btn-hover-border-color: var(--gc-border);
  --bs-btn-active-color: var(--gc-ink); --bs-btn-active-bg: #F1F1F3; --bs-btn-active-border-color: var(--gc-border);
  border-bottom-color: #CFCFD4;
}
.btn-whatsapp { --bs-btn-color: #fff; --bs-btn-bg: #15803D; --bs-btn-border-color: #15803D; --bs-btn-hover-bg: #126C34; --bs-btn-hover-border-color: #126C34; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #0F5A2B; --bs-btn-active-color: #fff; border-bottom-color: #0F5A2B; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }

/* ---------- Control heights: one system for every button, field and select ----------
   small 32 px · regular 38 px · large 44 px - side-by-side controls always line up. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 38px; }
.btn > i.me-1, .btn > i.ms-1 { margin: 0 !important; }
.btn-sm { min-height: 32px; }
.btn-lg { min-height: 44px; }
.form-control, .form-select { min-height: 38px; line-height: 1.25; }
.form-control-sm, .form-select-sm, .gc-sort { min-height: 32px; padding-top: .25rem; padding-bottom: .25rem; }
select.form-select-sm, select.gc-sort { height: 32px; padding-top: 0; padding-bottom: 0; line-height: 30px; }
.form-control-lg, .form-select-lg { min-height: 44px; }
textarea.form-control { min-height: 76px; line-height: 1.5; }
.input-group > .btn { min-height: 0; }

/* ---------- Forms (Fluent text box: stroke + darker bottom edge, accent underline on focus) ---------- */
.form-control, .form-select {
  border-radius: var(--gc-radius-sm); padding: .5rem .75rem; font-size: .9375rem;
  border: 1px solid var(--gc-border); border-bottom-color: var(--gc-stroke-strong); background-color: #fff;
}
.form-control:hover, .form-select:hover { background-color: var(--gc-surface-2); }
.form-control:focus, .form-select:focus {
  background-color: #fff; border-color: var(--gc-border); border-bottom-color: var(--gc-red-600);
  box-shadow: inset 0 -1px 0 var(--gc-red-600);
}
.form-control-lg { font-size: 1rem; padding: .6rem .85rem; border-radius: var(--gc-radius-sm); }
/* iOS zooms into fields under 16 px: keep them at 16 px on touch screens. */
@media (pointer: coarse) { .form-control, .form-select { font-size: 16px; } }
.form-label { font-weight: 600; font-size: .85rem; color: var(--gc-ink-2); margin-bottom: .3rem; }
.form-text { color: var(--gc-subtle); font-size: .8rem; }
.form-check-input { border-color: var(--gc-stroke-strong); }
.form-check-input:checked { background-color: var(--gc-red-600); border-color: var(--gc-red-600); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(236, 50, 55, .18); border-color: var(--gc-red); }
.input-group-text { border-radius: var(--gc-radius-sm); background: var(--gc-surface-2); border-color: var(--gc-border); border-bottom-color: var(--gc-stroke-strong); font-weight: 600; color: var(--gc-ink-2); }

/* ---------- Top app bar (acrylic title bar) ---------- */
.gc-appbar {
  position: sticky; top: 0; z-index: 1030;
  height: var(--gc-appbar-h);
  background: rgba(249, 249, 251, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.gc-appbar .container { height: 100%; display: flex; align-items: center; gap: 6px; }
.gc-menu-btn { margin-left: -6px; }
.gc-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.gc-brand img { height: 30px; width: auto; display: block; }
@media (min-width: 992px) { .gc-brand img { height: 34px; } }
.gc-appbar-actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gc-icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: var(--gc-radius-sm); color: var(--gc-ink-2); background: transparent; border: 0; font-size: 1.2rem; padding: 0;
}
.gc-icon-btn:hover { background: var(--gc-hover); color: var(--gc-ink); text-decoration: none; }
.gc-icon-btn:active { background: var(--gc-pressed); }
.gc-account-pill { display: none; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; margin-left: 4px; border-radius: 999px; border: 1px solid var(--gc-border); color: var(--gc-ink); font-weight: 600; font-size: .85rem; background: #fff; }
.gc-account-pill:hover { text-decoration: none; background: var(--gc-surface-2); }
@media (min-width: 992px) { .gc-account-pill { display: inline-flex; } }
.gc-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--gc-red-50); color: var(--gc-red-700); display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; }

/* ---------- Bottom tab bar (mobile app feel) ---------- */
.gc-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  height: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom));
  padding-bottom: var(--gc-safe-bottom);
  background: rgba(249, 249, 251, .9);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0, 0, 0, .07);
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
@media (min-width: 992px) { .gc-tabbar { display: none; } }
.gc-tabbar a, .gc-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--gc-muted); font-size: .68rem; font-weight: 600; background: none; border: 0; padding: 0; }
.gc-tabbar a i, .gc-tabbar button i { font-size: 1.2rem; line-height: 1; padding: 3px 16px; border-radius: 999px; transition: background-color .15s ease; }
.gc-tabbar a:hover, .gc-tabbar button:hover { text-decoration: none; color: var(--gc-ink); }
.gc-tabbar a.active { color: var(--gc-red-700); }
.gc-tabbar a.active > i, .gc-tabbar a.active .gc-tab-icon > i { background: var(--gc-red-50); }

/* ---------- Side navigation pane (Windows 11 NavigationView) ----------
   Phones/tablets: slide-in curtain (Bootstrap offcanvas-lg).
   Desktop (>= 992 px): always-visible left pane under the title bar, the
   page content sits to its right - like the Windows 11 Settings app. */
:root { --gc-pane-w: 280px; }
@media (min-width: 1400px) { :root { --gc-pane-w: 300px; } }
.gc-sidenav { --bs-offcanvas-width: min(86vw, 320px); --bs-offcanvas-bg: rgba(243, 243, 245, .97); }
@media (max-width: 991.98px) {
  .gc-sidenav { border-right: 1px solid rgba(0, 0, 0, .08) !important; box-shadow: var(--gc-shadow-lg); }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .gc-sidenav { --bs-offcanvas-bg: rgba(243, 243, 245, .86); -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); }
  }
}
@media (min-width: 992px) {
  .gc-sidenav.offcanvas-lg {
    position: fixed; top: var(--gc-appbar-h); bottom: 0; left: 0; z-index: 1020; width: var(--gc-pane-w);
    display: flex; flex-direction: column; background: var(--gc-bg) !important;
  }
  .gc-sidenav .gc-sidenav-head { display: none; }
  .gc-sidenav .gc-sidenav-body { padding-top: 10px; }
  body:has(.gc-sidenav) main, body:has(.gc-sidenav) .gc-footer { margin-left: var(--gc-pane-w); }
  body:has(.gc-sidenav) .gc-appbar .container { max-width: none; padding-left: 20px; padding-right: 20px; }
}
.gc-sidenav-head { display: flex; align-items: center; gap: 6px; height: var(--gc-appbar-h); padding: 0 8px 0 12px; flex-shrink: 0; }
.gc-sidenav-head .gc-icon-btn { margin-left: auto; }
.gc-sidenav-body { flex: 1; overflow-y: auto; padding: 4px 8px 12px; }
.gc-sidenav-user { display: flex; align-items: center; gap: 10px; padding: 10px; margin: 0 0 6px; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); color: var(--gc-ink); }
.gc-sidenav-user:hover { text-decoration: none; color: var(--gc-ink); background: var(--gc-surface-2); }
.gc-sidenav-user .gc-avatar { width: 36px; height: 36px; font-size: .95rem; }
.gc-sidenav-user strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.25; }
.gc-sidenav-user small { display: block; font-size: .76rem; color: var(--gc-subtle); overflow-wrap: anywhere; }
.gc-nav-group { font-size: .72rem; font-weight: 600; color: var(--gc-subtle); padding: 12px 12px 4px; }
.gc-nav-item {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 38px; padding: 6px 12px; margin: 1px 0;
  border: 0; border-radius: var(--gc-radius-sm); background: transparent; color: var(--gc-ink); font-size: .9rem; font-weight: 400; text-align: left;
}
.gc-nav-item > i:first-child { font-size: 1.05rem; width: 18px; text-align: center; color: var(--gc-ink-2); }
.gc-nav-item:hover { background: var(--gc-hover); text-decoration: none; color: var(--gc-ink); }
.gc-nav-item:active { background: var(--gc-pressed); }
.gc-nav-item.active { background: rgba(0, 0, 0, .06); font-weight: 600; }
.gc-nav-item.active::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 3px; background: var(--gc-red-600); }
.gc-nav-item .gc-nav-caret { margin-left: auto; font-size: .75rem; color: var(--gc-subtle); transition: transform .15s ease; }
.gc-nav-item[aria-expanded="true"] .gc-nav-caret { transform: rotate(180deg); }
.gc-nav-item .count { margin-left: auto; font-size: .72rem; color: var(--gc-subtle); }
.gc-nav-sub { padding-left: 42px; min-height: 34px; font-size: .86rem; }
.gc-sidenav-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + var(--gc-safe-bottom)); border-top: 1px solid rgba(0, 0, 0, .07); flex-shrink: 0; }
@media (min-width: 992px) { .gc-sidenav-foot { border-top: 0; padding: 8px 12px 14px; } }
.offcanvas-backdrop.show { opacity: .3; }

/* ---------- Sections ---------- */
.gc-section { padding: 18px 0; }
@media (min-width: 768px) { .gc-section { padding: 32px 0; } }
@media (min-width: 992px) { .gc-section { padding: 44px 0; } }
.gc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
@media (min-width: 992px) { .gc-section-head { margin-bottom: 18px; } }
.gc-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gc-red-700); font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.gc-section-title { font-size: clamp(1.05rem, .95rem + .9vw, 1.6rem); font-weight: 600; margin: 0; }
.gc-section-sub { color: var(--gc-muted); margin: 4px 0 0; max-width: 640px; font-size: .88rem; }
@media (max-width: 575.98px) {
  .gc-section-head .gc-eyebrow { display: none; }
}
.gc-card { background: var(--gc-surface); border: 1px solid var(--gc-border); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow-sm); }

/* ---------- Hero (compact banner card) ---------- */
.gc-hero { padding: 8px 0 0; }
@media (min-width: 992px) { .gc-hero { padding: 18px 0 0; } }
.gc-hero-card {
  position: relative; overflow: hidden; border-radius: var(--gc-radius-lg); border: 1px solid var(--gc-border);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(236, 50, 55, .12), transparent 65%),
    linear-gradient(135deg, #FFFFFF 0%, #FBF8F8 100%);
  padding: 12px 12px 10px; box-shadow: var(--gc-shadow-sm);
}
@media (min-width: 992px) { .gc-hero-card { padding: 26px 30px 22px; } }
.gc-hero-card::after {
  content: ""; position: absolute; right: -30px; top: -10px; width: 110px; height: 110px;
  background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .06; pointer-events: none;
}
@media (min-width: 992px) { .gc-hero-card::after { right: -40px; top: 50%; width: 260px; height: 260px; transform: translateY(-50%); } }
.gc-hero .gc-eyebrow { font-size: .66rem; margin-bottom: 2px; }
@media (max-width: 575.98px) { .gc-hero .gc-eyebrow { display: none; } }
.gc-hero h1 { font-size: clamp(1.05rem, .9rem + 1.5vw, 2rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.015em; max-width: 680px; margin-bottom: 4px; }
.gc-hero h1 .accent { color: var(--gc-red); }
.gc-hero .lead { color: var(--gc-muted); font-size: clamp(.78rem, .74rem + .3vw, .98rem); max-width: 600px; margin: 0 0 8px; line-height: 1.45; }
@media (max-width: 767.98px) { .gc-hero .lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 992px) { .gc-hero .lead { margin-bottom: 14px; } }
/* CTA and trust chips share one row; chips scroll sideways on phones */
.gc-hero-row { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; min-width: 0; }
.gc-hero-btn { flex-shrink: 0; }
.gc-trust { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.gc-trust::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .gc-trust { gap: 6px; } }
.gc-trust-item { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; background: rgba(255, 255, 255, .85); border: 1px solid var(--gc-border); border-radius: 999px; padding: 3px 8px; font-size: .7rem; font-weight: 600; color: var(--gc-ink-2); white-space: nowrap; }
@media (min-width: 992px) { .gc-trust-item { font-size: .78rem; padding: 4px 11px; } }
.gc-trust-item i { color: var(--gc-red-700); font-size: .85rem; }

/* ---------- Highlights ticker ---------- */
.gc-ticker { margin-top: 10px; background: #fff; border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); color: var(--gc-ink-2); overflow: hidden; white-space: nowrap; font-size: .78rem; }
@media (min-width: 992px) { .gc-ticker { margin-top: 20px; font-size: .85rem; } }
.gc-ticker-track { display: inline-flex; gap: 36px; padding: 7px 0; animation: gc-ticker 90s linear infinite; }
.gc-ticker:hover .gc-ticker-track { animation-play-state: paused; }
.gc-ticker-item { display: inline-flex; align-items: center; gap: 8px; }
.gc-ticker-item i { color: var(--gc-red); }
@keyframes gc-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gc-ticker-track { animation: none; white-space: normal; } }

/* ---------- Category icon grid (home: compact, Blinkit-style) ---------- */
.gc-cat-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
@media (min-width: 576px) { .gc-cat-icons { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 992px) { .gc-cat-icons { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 12px; } }
.gc-cat-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--gc-ink); text-align: center; min-width: 0; }
.gc-cat-icon:hover { text-decoration: none; color: var(--gc-ink); }
.gc-cat-icon-img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--gc-radius-lg); background: #fff; border: 1px solid var(--gc-border); overflow: hidden; display: block; transition: border-color .15s ease, box-shadow .15s ease; }
.gc-cat-icon:hover .gc-cat-icon-img { border-color: #CFCFD4; box-shadow: var(--gc-shadow); }
.gc-cat-icon-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-cat-icon-name { font-size: .7rem; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
@media (min-width: 992px) { .gc-cat-icon-name { font-size: .8rem; } }

/* ---------- Category cards (categories page) ---------- */
.gc-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .gc-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1200px) { .gc-cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gc-cat {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius);
  overflow: hidden; color: var(--gc-ink); transition: box-shadow .15s ease, border-color .15s ease; height: 100%;
}
.gc-cat:hover { box-shadow: var(--gc-shadow); border-color: #CFCFD4; text-decoration: none; color: var(--gc-ink); }
.gc-cat-media { aspect-ratio: 16 / 10; background: #fff; overflow: hidden; border-bottom: 1px solid var(--gc-border); }
.gc-cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gc-cat-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
@media (min-width: 768px) { .gc-cat-body { padding: 10px 12px 12px; } }
.gc-cat-name { font-weight: 600; font-size: .84rem; line-height: 1.3; }
.gc-cat-desc { color: var(--gc-muted); font-size: .76rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) { .gc-cat-desc { display: none; } }
.gc-cat-cta { margin-top: auto; padding-top: 4px; color: var(--gc-red-700); font-size: .74rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Feature / why-us (compact list on phones) ---------- */
.gc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 992px) { .gc-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.gc-feature { padding: 10px; height: 100%; display: flex; gap: 10px; align-items: flex-start; }
@media (min-width: 992px) { .gc-feature { padding: 16px; flex-direction: column; } }
.gc-feature-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--gc-radius-sm); background: var(--gc-red-50); color: var(--gc-red-700); display: grid; place-items: center; font-size: 1rem; }
@media (min-width: 992px) { .gc-feature-icon { width: 40px; height: 40px; font-size: 1.2rem; } }
.gc-feature h3 { font-size: .82rem; font-weight: 600; margin: 0 0 2px; line-height: 1.3; }
.gc-feature p { color: var(--gc-muted); font-size: .74rem; margin: 0; line-height: 1.4; }
@media (min-width: 992px) { .gc-feature h3 { font-size: .95rem; } .gc-feature p { font-size: .85rem; } }
@media (max-width: 575.98px) { .gc-feature p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }

/* ---------- Horizontal swipe rows (brands, partners) ---------- */
.gc-hrow { display: grid; grid-auto-flow: column; grid-auto-columns: 30%; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
.gc-hrow::-webkit-scrollbar { display: none; }
.gc-hrow > * { scroll-snap-align: start; }
@media (min-width: 576px) { .gc-hrow { grid-auto-columns: 18%; } }
@media (min-width: 992px) { .gc-hrow { grid-auto-columns: calc(12.5% - 7px); } }

/* ---------- Partners ---------- */
.gc-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 576px) { .gc-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gc-logos { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.gc-logo-tile { background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 6px 8px; }
/* Hard-bounded box: any logo shape (even a portrait photo) fits inside without changing the tile */
.gc-logo-tile { overflow: hidden; }
.gc-logo-tile img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.gc-logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Quick links (home: pages moved off the home page) ---------- */
.gc-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .gc-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gc-quick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--gc-ink); font-weight: 600; font-size: .85rem; }
.gc-quick a:hover { text-decoration: none; color: var(--gc-ink); background: var(--gc-surface-2); }
.gc-quick a i:first-child { width: 32px; height: 32px; border-radius: var(--gc-radius-sm); background: var(--gc-surface-2); border: 1px solid var(--gc-border); display: grid; place-items: center; color: var(--gc-red-700); font-size: 1rem; flex-shrink: 0; }
.gc-quick a small { display: block; font-weight: 400; font-size: .72rem; color: var(--gc-subtle); }
.gc-quick a .bi-chevron-right { margin-left: auto; font-size: .75rem; color: var(--gc-subtle); }

/* ---------- Videos ---------- */
.gc-video { position: relative; display: block; border-radius: var(--gc-radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 0; padding: 0; width: 100%; cursor: pointer; }
.gc-video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .3s; }
.gc-video:hover img { opacity: .95; transform: scale(1.03); }
.gc-video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.gc-video-play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(236, 50, 55, .95); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--gc-shadow-lg); }
.gc-video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-weight: 600; font-size: .9rem; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.gc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gc-scroll-x { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gc-scroll-x > * { scroll-snap-align: start; }
@media (min-width: 768px) { .gc-scroll-x { grid-auto-columns: 46%; } }
@media (min-width: 1200px) { .gc-scroll-x { grid-auto-columns: calc(33.333% - 8px); } }

/* ---------- FAQ ---------- */
.gc-faq .accordion-item { border: 1px solid var(--gc-border); border-radius: var(--gc-radius) !important; overflow: hidden; margin-bottom: 6px; background: #fff; }
.gc-faq .accordion-button { font-weight: 600; font-size: .9rem; color: var(--gc-ink); padding: 12px 14px; background: #fff; box-shadow: none; }
.gc-faq .accordion-button:hover { background: var(--gc-surface-2); }
.gc-faq .accordion-button:not(.collapsed) { color: var(--gc-ink); background: var(--gc-surface-2); }
.gc-faq .accordion-button:focus { box-shadow: none; }
.gc-faq .accordion-body { color: var(--gc-muted); padding: 4px 14px 14px; line-height: 1.6; font-size: .88rem; }

/* ---------- About & contact ---------- */
.gc-about { line-height: 1.7; color: var(--gc-ink-2); }
.gc-contact-item { display: flex; gap: 12px; padding: 12px; height: 100%; color: var(--gc-ink); }
.gc-contact-item:hover { text-decoration: none; color: var(--gc-ink); background: var(--gc-surface-2); }
.gc-contact-item > i { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--gc-radius-sm); background: var(--gc-red-50); color: var(--gc-red-700); display: grid; place-items: center; font-size: 1.05rem; }
.gc-contact-label { font-size: .72rem; color: var(--gc-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.gc-contact-value { font-weight: 600; font-size: .9rem; word-break: break-word; }

/* About: "What we supply and install" - tidy two-column tiles on phones, pills from 768 px */
.gc-chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.gc-chip-grid .gc-chip { justify-content: space-between; gap: 6px; padding: 8px 10px; border-radius: var(--gc-radius-sm); background: #fff; border: 1px solid var(--gc-border); font-size: .76rem; line-height: 1.3; min-height: 38px; color: var(--gc-ink); }
.gc-chip-grid .gc-chip span { min-width: 0; overflow-wrap: anywhere; }
.gc-chip-grid .gc-chip i { flex-shrink: 0; font-size: .65rem; color: var(--gc-subtle); }
.gc-chip-grid .gc-chip:hover { background: var(--gc-surface-2); text-decoration: none; }
@media (min-width: 768px) {
  .gc-chip-grid { display: flex; flex-wrap: wrap; gap: 6px; }
  .gc-chip-grid .gc-chip { min-height: 32px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; }
  .gc-chip-grid .gc-chip i { display: none; }
}

/* Contact: quick actions as a compact grid (two columns on phones), wide items span */
.gc-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gc-contact-grid .gc-contact-wide { grid-column: 1 / -1; }
.gc-contact-grid .gc-contact-item { padding: 10px; gap: 10px; align-items: center; }
.gc-contact-grid .gc-contact-item > i { width: 32px; height: 32px; font-size: .95rem; }
.gc-contact-grid .gc-contact-value { font-size: .82rem; }
@media (min-width: 992px) { .gc-contact-grid { grid-template-columns: 1fr; gap: 10px; } .gc-contact-grid .gc-contact-item { padding: 12px; } }
.gc-contact-wide .gc-hours li { padding: 3px 0; font-size: .8rem; }
@media (max-width: 575.98px) { .gc-contact-send { flex: 1 1 100%; } }

/* Policy pages (terms, privacy, shipping, refund, installation): one compact reading layout */
.gc-policy { padding-top: 10px; padding-bottom: 24px; }
@media (min-width: 992px) { .gc-policy { padding-top: 18px; padding-bottom: 40px; } }
.gc-policy .gc-prose h1 { font-size: clamp(1.15rem, 1rem + 1vw, 1.75rem); font-weight: 600; margin: 0 0 2px; }
.gc-policy .gc-prose > p.text-muted:first-of-type { font-size: .76rem; margin-bottom: 10px; }
@media (max-width: 767.98px) {
  .gc-policy .gc-prose { font-size: .875rem; line-height: 1.6; }
  .gc-policy .gc-prose h2 { font-size: .98rem; margin-top: 1.1rem; margin-bottom: .4rem; }
  .gc-policy .gc-prose h3 { font-size: .9rem; margin-top: .9rem; }
  .gc-policy .gc-prose ul, .gc-policy .gc-prose ol { padding-left: 1.05rem; margin-bottom: .7rem; }
  .gc-policy .gc-prose li { margin-bottom: .25rem; }
  .gc-policy .gc-prose p { margin-bottom: .7rem; }
  .gc-policy .gc-prose .table { font-size: .8rem; }
  .gc-policy .gc-policy-summary { gap: 6px; margin: 10px 0 6px; }
  .gc-policy .gc-policy-summary .gc-card { padding: 9px 11px; font-size: .78rem; gap: 10px; align-items: center; }
  .gc-policy .gc-policy-summary strong { font-size: .84rem; }
  .gc-policy .gc-policy-summary i { font-size: 1.05rem; }
}

/* ---------- CTA band ---------- */
.gc-cta {
  background: radial-gradient(420px 200px at 100% 100%, rgba(236, 50, 55, .10), transparent 70%), #fff;
  border: 1px solid var(--gc-border); border-radius: var(--gc-radius-lg); padding: 14px; position: relative; overflow: hidden; box-shadow: var(--gc-shadow-sm);
}
@media (min-width: 992px) { .gc-cta { padding: 24px; } }
.gc-cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 170px; height: 170px; background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.gc-cta h2 { font-size: clamp(1rem, .92rem + .7vw, 1.45rem); }
.gc-cta p { color: var(--gc-muted); font-size: .84rem; }

/* ---------- Footer (light) ----------
   Desktop: five columns (about, shop, help, company, visit us).
   Phones: logo + social on one row, then Shop / Help / Company as three tidy
   columns of small stacked links, then the contact lines, then copyright -
   every link stays visible in one consistent grid. */
.gc-footer { background: var(--gc-bg); border-top: 1px solid var(--gc-border); color: var(--gc-muted); padding: 32px 0 18px; font-size: .86rem; margin-top: auto; }
.gc-footer a { color: var(--gc-ink-2); }
.gc-footer a:hover { color: var(--gc-red-700); }
.gc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 24px; }
.gc-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gc-footer-logo { height: 30px; width: auto; }
.gc-footer-about p { font-size: .84rem; margin: 10px 0 0; }
.gc-footer h2 { color: var(--gc-ink); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin: 0 0 10px; }
.gc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.gc-footer-visit li { display: flex; gap: 6px; align-items: baseline; }
.gc-footer-visit li i { color: var(--gc-subtle); font-size: .78rem; }
.gc-footer-bottom { border-top: 1px solid var(--gc-border); margin-top: 24px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: space-between; font-size: .78rem; color: var(--gc-subtle); }
.gc-social { display: flex; gap: 4px; }
.gc-social a { width: 30px; height: 30px; border-radius: var(--gc-radius-sm); background: #fff; border: 1px solid var(--gc-border); color: var(--gc-ink-2); display: grid; place-items: center; font-size: .9rem; }
.gc-social a:hover { background: var(--gc-surface-2); color: var(--gc-red-700); text-decoration: none; }
@media (max-width: 991.98px) {
  .gc-footer { padding: 12px 0 8px; font-size: .76rem; }
  .gc-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
  .gc-footer-about { grid-column: 1 / -1; }
  .gc-footer-brand { flex-direction: row; align-items: center; justify-content: space-between; }
  .gc-footer-logo { height: 22px; }
  .gc-footer-about p, .gc-footer-made { display: none; }
  .gc-social a { width: 28px; height: 28px; font-size: .82rem; }
  .gc-footer h2 { font-size: .66rem; margin-bottom: 5px; color: var(--gc-subtle); }
  .gc-footer ul { gap: 5px; }
  .gc-footer-col li { line-height: 1.3; }
  .gc-footer-visit { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--gc-border); }
  .gc-footer-visit h2 { display: none; }
  .gc-footer-visit ul { display: flex; flex-wrap: wrap; gap: 5px 14px; }
  .gc-footer-visit .gc-footer-addr { flex-basis: 100%; }
  .gc-footer-bottom { margin-top: 8px; padding-top: 6px; font-size: .68rem; gap: 0 12px; }
}

/* ---------- Auth ---------- */
.gc-auth-wrap { min-height: calc(100vh - var(--gc-appbar-h)); display: flex; align-items: flex-start; justify-content: center; padding: 16px var(--gc-gutter) 32px; }
@media (min-width: 576px) { .gc-auth-wrap { align-items: center; padding: 40px 16px; } }
.gc-auth-card { width: 100%; max-width: 420px; padding: 20px 18px; box-shadow: var(--gc-shadow); }
@media (min-width: 576px) { .gc-auth-card { padding: 32px 30px; } }
.gc-auth-card h1 { font-size: 1.3rem; margin-bottom: 4px; }
.gc-auth-mark { width: auto; height: 40px; margin-bottom: 12px; }
.gc-divider { display: flex; align-items: center; gap: 12px; color: var(--gc-subtle); font-size: .78rem; margin: 14px 0; }
.gc-divider::before, .gc-divider::after { content: ""; flex: 1; height: 1px; background: var(--gc-border); }
.gc-google-slot { min-height: 44px; display: flex; justify-content: center; }
.gc-otp-input { font-size: 1.5rem; letter-spacing: .5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; padding: .6rem .5rem .6rem 1rem; }
.gc-email-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--gc-surface-2); border: 1px solid var(--gc-border); font-weight: 600; font-size: .82rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.gc-secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--gc-muted); margin-top: 14px; }
.gc-secure-note i { color: var(--gc-success); margin-top: 1px; }
.gc-step[hidden] { display: none !important; }

/* ---------- Account ---------- */
.gc-page-head { padding: 14px 0 4px; }
@media (min-width: 992px) { .gc-page-head { padding: 22px 0 6px; } }
.gc-page-head h1 { font-size: clamp(1.15rem, 1.05rem + .8vw, 1.6rem); margin: 0; }
.gc-profile-card { display: flex; align-items: center; gap: 12px; padding: 14px; }
.gc-profile-card .gc-avatar { width: 48px; height: 48px; font-size: 1.15rem; }
/* My account - Windows 11 Settings layout: profile card, quick tiles, grouped setting rows */
.gc-acct { padding-bottom: 24px; }
.gc-acct-profile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.gc-acct-profile .gc-avatar { width: 48px; height: 48px; font-size: 1.15rem; }
.gc-acct-name { font-size: 1rem; font-weight: 600; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-acct-sub { font-size: .76rem; color: var(--gc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-acct-sub + .gc-acct-sub { white-space: normal; }
.gc-acct-edit { margin-top: 6px; padding: 14px; }
.gc-acct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gc-acct-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; color: var(--gc-ink); min-width: 0; }
@media (min-width: 576px) { .gc-acct-tile { flex-direction: row; align-items: center; padding: 12px 14px; gap: 10px; } }
.gc-acct-tile:hover { text-decoration: none; color: var(--gc-ink); background: var(--gc-surface-2); }
.gc-acct-tile > i { width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--gc-radius-sm); background: var(--gc-red-50); color: var(--gc-red-700); display: grid; place-items: center; font-size: .95rem; }
.gc-acct-tile span { min-width: 0; }
.gc-acct-tile strong { display: block; font-size: .82rem; font-weight: 600; line-height: 1.25; }
.gc-acct-tile small { display: block; font-size: .7rem; color: var(--gc-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-acct-group { font-size: .78rem; font-weight: 600; color: var(--gc-ink-2); margin: 16px 2px 6px; }
.gc-acct-note { font-size: .72rem; color: var(--gc-subtle); margin: 4px 2px 0; }
.gc-set-list { padding: 0; overflow: hidden; }
.gc-set-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px; margin: 0;
  background: none; border: 0; border-top: 1px solid var(--gc-border); color: var(--gc-ink); text-align: left; font: inherit;
}
.gc-set-list > .gc-set-row:first-child { border-top: 0; }
button.gc-set-row:hover, label.gc-set-row:hover { background: var(--gc-surface-2); }
.gc-set-row > i:first-child { width: 20px; flex-shrink: 0; font-size: 1.05rem; color: var(--gc-ink-2); text-align: center; }
.gc-set-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gc-set-text strong { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.gc-set-text small { font-size: .72rem; color: var(--gc-subtle); line-height: 1.35; overflow-wrap: anywhere; }
.gc-set-row .form-switch .form-check-input { width: 2.4em; height: 1.25em; margin: 0; float: none; }
.gc-set-caret { font-size: .75rem; color: var(--gc-subtle); transition: transform .15s ease; }
.gc-set-row[aria-expanded="true"] .gc-set-caret { transform: rotate(180deg); }
.gc-set-sub { min-height: 44px; padding-left: 46px; background: var(--gc-surface-2); }

.gc-list-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gc-border); font-size: .88rem; }
.gc-list-row:last-child { border-bottom: 0; }
.gc-list-row span:first-child { color: var(--gc-muted); }
.gc-list-row span:last-child { font-weight: 600; text-align: right; word-break: break-word; }

/* ---------- Legal / prose ---------- */
.gc-prose { max-width: 820px; line-height: 1.75; color: var(--gc-ink-2); }
.gc-prose h2 { font-size: 1.2rem; margin-top: 2rem; }
.gc-prose h3 { font-size: 1.02rem; margin-top: 1.4rem; }
.gc-prose ul { padding-left: 1.2rem; }
.gc-prose li { margin-bottom: .35rem; }

/* ---------- Banners: consent / offline / install ---------- */
.gc-consent {
  position: fixed; left: 12px; right: 12px; z-index: 1080;
  bottom: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom) + 12px);
  background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: .88rem; color: var(--gc-ink-2);
}
@media (min-width: 992px) { .gc-consent { bottom: 20px; left: auto; right: 20px; max-width: 420px; } }
.gc-consent .btns { display: flex; gap: 8px; justify-content: flex-end; }
.gc-offline {
  position: fixed; top: calc(var(--gc-appbar-h) + 8px); left: 50%; transform: translateX(-50%); z-index: 1090;
  background: var(--gc-ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  display: none; align-items: center; gap: 8px; box-shadow: var(--gc-shadow);
}
.gc-offline.show { display: inline-flex; }

/* ---------- Dialogs & notifications (SweetAlert2 as Windows 11 ContentDialog / toast) ----------
   Dialog: white body with left-aligned title + text and a small status icon,
   grey footer band with equal-width buttons (accent first). Toast: compact
   acrylic card, bottom-right on computers, under the title bar on phones. */
.swal2-container.swal2-backdrop-show { background: rgba(0, 0, 0, .3) !important; }
/* Toasts never dim or block the page */
body.swal2-toast-shown .swal2-container, .swal2-container:has(> .swal2-toast) { background: transparent !important; pointer-events: none; }
.swal2-container > .swal2-toast { pointer-events: auto; }
.swal2-popup.gc-dlg {
  width: min(92vw, 420px) !important; padding: 0 !important; border-radius: var(--gc-radius-lg) !important; font-family: inherit !important;
  border: 1px solid rgba(0, 0, 0, .08); box-shadow: var(--gc-shadow-lg) !important; overflow: hidden; text-align: left;
  display: grid !important; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon title" "body body" "foot foot" "msg msg";
}
/* SweetAlert2 sizes its icons in em: 5.6px font-size = a 28 px icon with intact animations */
.gc-dlg .swal2-icon { grid-area: icon; font-size: 5.6px !important; margin: 21px 0 0 22px !important; }
.gc-dlg .swal2-title { grid-area: title; padding: 22px 22px 0 12px !important; margin: 0 !important; text-align: left !important; font-size: 1.1rem !important; font-weight: 600 !important; color: var(--gc-ink) !important; line-height: 1.35; }
.gc-dlg .swal2-icon[style*="display: none"] + .swal2-title, .gc-dlg .swal2-title:first-child { padding-left: 22px !important; grid-column: 1 / -1; }
.gc-dlg .swal2-html-container { grid-area: body; margin: 0 !important; padding: 8px 22px 20px !important; text-align: left !important; color: var(--gc-muted) !important; font-size: .9rem !important; line-height: 1.55; }
.gc-dlg .swal2-html-container:empty { display: none !important; }
.gc-dlg .swal2-input, .gc-dlg .swal2-textarea { grid-column: 1 / -1; margin: 0 22px 16px !important; width: auto !important; border-radius: var(--gc-radius-sm) !important; font-size: .95rem !important; box-shadow: none !important; border: 1px solid var(--gc-border) !important; border-bottom-color: var(--gc-stroke-strong) !important; }
.gc-dlg .swal2-validation-message { grid-area: msg; margin: 0 !important; background: #FDF3F4 !important; color: #B91C1C !important; font-size: .82rem !important; }
.gc-dlg-actions.swal2-actions {
  grid-area: foot; display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; width: 100%;
  margin: 0 !important; padding: 16px 22px !important; background: var(--gc-bg); border-top: 1px solid var(--gc-border);
}
.gc-dlg-actions .btn { margin: 0 !important; width: 100%; }
.gc-dlg .swal2-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; font-size: 1.4rem; color: var(--gc-muted); border-radius: var(--gc-radius-sm); }
.gc-dlg .swal2-close:hover { background: var(--gc-hover); color: var(--gc-ink); }
.gc-dlg .swal2-timer-progress-bar { background: var(--gc-red-600); }
@keyframes gc-dlg-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes gc-dlg-out { from { opacity: 1; } to { opacity: 0; transform: scale(.98); } }
.gc-dlg-in { animation: gc-dlg-in .16s cubic-bezier(.1, .9, .2, 1); }
.gc-dlg-out { animation: gc-dlg-out .1s ease-in forwards; }

.swal2-popup.gc-toast {
  width: min(94vw, 360px) !important; padding: 10px 12px !important; border-radius: var(--gc-radius) !important; font-family: inherit !important;
  background: rgba(252, 252, 253, .96) !important; border: 1px solid rgba(0, 0, 0, .08); box-shadow: var(--gc-shadow-lg) !important;
  display: flex !important; align-items: center; gap: 10px; flex-wrap: nowrap;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .swal2-popup.gc-toast { background: rgba(252, 252, 253, .86) !important; -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); }
}
/* Toast icons are 2em in SweetAlert2: 11px = 22 px */
.gc-toast .swal2-icon { flex-shrink: 0; font-size: 11px !important; margin: 0 !important; }
.gc-toast .swal2-title { flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; font-size: .86rem !important; font-weight: 600 !important; color: var(--gc-ink) !important; text-align: left; line-height: 1.35; }
.gc-toast .swal2-html-container { display: none !important; }
.gc-toast-actions.swal2-actions { flex-shrink: 0; margin: 0 !important; padding: 0 !important; width: auto !important; }
.gc-toast-actions .btn { margin: 0 !important; white-space: nowrap; }
.swal2-container.swal2-bottom-end { padding: 0 16px 16px 0 !important; }
.swal2-container.swal2-top { padding-top: calc(var(--gc-appbar-h) + 6px) !important; }
@keyframes gc-toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes gc-toast-in-top { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes gc-toast-out { from { opacity: 1; } to { opacity: 0; } }
.gc-toast-in { animation: gc-toast-in .22s cubic-bezier(.1, .9, .2, 1); }
.gc-toast-in-top { animation: gc-toast-in-top .2s cubic-bezier(.1, .9, .2, 1); }
.gc-toast-out { animation: gc-toast-out .12s ease-in forwards; }
@media (prefers-reduced-motion: reduce) { .gc-dlg-in, .gc-toast-in, .gc-toast-in-top { animation: none; } }

/* ---------- Error pages ---------- */
.gc-error { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.gc-error-code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; line-height: 1; color: var(--gc-red); letter-spacing: -0.04em; }

/* ---------- Utilities ---------- */
.gc-stack-sm > * + * { margin-top: 8px; }
.gc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #F3F4F6; font-size: .78rem; font-weight: 600; color: var(--gc-ink-2); }
.gc-chip-red { background: var(--gc-red-50); color: var(--gc-red-700); }
.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.min-w-0 { min-width: 0; }

/* =============================================================================
   STAGE 2 - STOREFRONT
   ============================================================================= */
.gc-z1 { z-index: 1; }
.gc-section-tint { background: linear-gradient(180deg, #FFF7F7 0%, #FFFFFF 100%); border-top: 1px solid var(--gc-border); border-bottom: 1px solid var(--gc-border); }
.gc-section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--gc-red-700); white-space: nowrap; }
.gc-section-link:hover { color: var(--gc-red); }

/* ---------- Header search ---------- */
.gc-search-trigger {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: var(--gc-radius);
  background: transparent; color: var(--gc-ink-2); font-size: 1.2rem; padding: 0;
}
.gc-search-trigger:hover { background: #F3F4F6; color: var(--gc-ink); }
.gc-search-trigger span, .gc-search-trigger kbd { display: none; }
/* Desktop: a Windows-style search box in the title bar */
@media (min-width: 992px) {
  .gc-search-trigger {
    display: inline-flex; align-items: center; gap: 10px; width: clamp(240px, 28vw, 380px); height: 34px; padding: 0 8px 0 12px; margin-right: 6px;
    background: rgba(255, 255, 255, .75); border: 1px solid var(--gc-border); border-bottom-color: var(--gc-stroke-strong);
    border-radius: var(--gc-radius-sm); font-size: .85rem; color: var(--gc-muted); justify-content: flex-start;
  }
  .gc-search-trigger:hover { background: #fff; color: var(--gc-muted); }
  .gc-search-trigger i { font-size: .95rem; color: var(--gc-muted); }
  .gc-search-trigger span { display: inline; }
  .gc-search-trigger kbd { display: inline-block; margin-left: auto; background: var(--gc-surface-2); color: var(--gc-muted); border: 1px solid var(--gc-border); font-size: .7rem; padding: 0 6px; border-radius: 4px; box-shadow: none; }
}
.gc-search-modal .modal-content { border: 0; border-radius: var(--gc-radius-lg); overflow: hidden; }
@media (max-width: 767.98px) { .gc-search-modal .modal-content { border-radius: 0; } }
.gc-search-modal .modal-dialog { margin-top: 70px; }
@media (max-width: 767.98px) { .gc-search-modal .modal-dialog { margin-top: 0; } }
.gc-search-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--gc-border); background: #fff; position: sticky; top: 0; z-index: 2; }
.gc-search-form > i { color: var(--gc-muted); font-size: 1.15rem; }
.gc-search-form input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; padding: 8px 0; min-width: 0; background: transparent; }
.gc-search-form input::-webkit-search-cancel-button { cursor: pointer; }
.gc-search-body { padding: 14px 16px 20px; max-height: 70vh; overflow-y: auto; }
@media (max-width: 767.98px) { .gc-search-body { max-height: none; } }
.gc-search-body h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gc-subtle); margin: 6px 0 10px; }
.gc-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
a.gc-chip, button.gc-chip { border: 1px solid transparent; color: var(--gc-ink-2); }
a.gc-chip:hover, button.gc-chip:hover { background: #fff; border-color: var(--gc-border); text-decoration: none; color: var(--gc-ink); }
.gc-suggest-group + .gc-suggest-group { margin-top: 12px; }
.gc-suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--gc-radius); color: var(--gc-ink); }
.gc-suggest-item:hover, .gc-suggest-item.active { background: #F3F4F6; text-decoration: none; color: var(--gc-ink); }
.gc-suggest-item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius-sm); flex-shrink: 0; }
.gc-suggest-item .t { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.gc-suggest-item .m { font-size: .78rem; color: var(--gc-subtle); }
.gc-suggest-item .p { margin-left: auto; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.gc-suggest-item .ico { width: 48px; height: 48px; border-radius: var(--gc-radius-sm); background: var(--gc-red-50); color: var(--gc-red); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.gc-suggest-all { display: block; text-align: center; margin-top: 12px; padding: 10px; border-radius: var(--gc-radius); background: var(--gc-red-50); color: var(--gc-red-700); font-weight: 700; font-size: .9rem; }
.gc-suggest-empty { text-align: center; color: var(--gc-muted); padding: 18px 0; font-size: .92rem; }

/* ---------- Page header band ---------- */
.gc-band { background: rgba(255, 255, 255, .6); border-bottom: 1px solid var(--gc-border); padding: 8px 0 12px; }
@media (min-width: 992px) { .gc-band { padding: 16px 0 24px; } }
.gc-band h1 { font-size: clamp(1.15rem, 1rem + 1vw, 1.9rem); font-weight: 600; margin: 0 0 2px; letter-spacing: -0.015em; }
.gc-band p { color: var(--gc-muted); margin: 0; max-width: 760px; font-size: .86rem; }
@media (max-width: 575.98px) { .gc-band p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
@media (min-width: 992px) { .gc-band p { font-size: .95rem; } }
.gc-band-media { display: flex; gap: 12px; align-items: center; }
.gc-band-media img { width: 52px; height: 52px; border-radius: var(--gc-radius); object-fit: cover; border: 1px solid var(--gc-border); background: #fff; flex-shrink: 0; }
.gc-band-media img.contain { object-fit: contain; padding: 4px; width: 104px; } /* brand logos are 2:1 */
@media (min-width: 992px) { .gc-band-media img { width: 88px; height: 88px; } .gc-band-media img.contain { width: 176px; } }
/* Breadcrumbs: always one line. Long items shrink with an ellipsis - the current
   page first (it is also the page heading), then middle links; "Home" never shrinks.
   Full text is in the title tooltip. Applies to every .breadcrumb on the site. */
.breadcrumb { --bs-breadcrumb-divider: "\203A"; --bs-breadcrumb-item-padding-x: .4rem; font-size: .76rem; margin-bottom: 6px; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; min-width: 0; }
@media (min-width: 992px) { .breadcrumb { font-size: .8rem; } }
.breadcrumb-item { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb-item:first-child { flex-shrink: 0; }
.breadcrumb-item.active { flex-shrink: 100; min-width: 4em; color: var(--gc-ink-2); }
.breadcrumb-item:not(:first-child):not(.active) { min-width: 3.5em; max-width: 45%; }
.breadcrumb-item a { color: var(--gc-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gc-subtle); }

/* ---------- Badges & price ---------- */
.gc-pbadges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 1; }
.gc-pbadge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 6px; color: #fff; line-height: 1.35; text-transform: uppercase; }
.gc-pbadge-red { background: var(--gc-red); }
.gc-pbadge-orange { background: #EA580C; }
.gc-pbadge-green { background: #16A34A; }
.gc-pbadge-blue { background: #2563EB; }
.gc-pbadge-dark { background: var(--gc-ink); }
.gc-pbadge-new { background: #0F766E; }
.gc-pbadge-off { background: #FEF3C7; color: #92400E; }
.gc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.gc-price-now { font-weight: 800; color: var(--gc-ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.gc-price-mrp { color: var(--gc-subtle); font-size: .82em; }
.gc-price-off { color: var(--gc-success); font-weight: 700; font-size: .82em; }
.gc-price-request { font-weight: 700; color: var(--gc-red-700); }
.gc-price-card .gc-price-now { font-size: 1.02rem; }
.gc-price-card .gc-price-request { font-size: .9rem; }
.gc-price-page .gc-price-now { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.1rem); }
.gc-price-page .gc-price-mrp { font-size: 1rem; }
.gc-price-page .gc-price-off { font-size: 1rem; }
.gc-price-page .gc-price-request { font-size: 1.35rem; }
.gc-price-note { color: var(--gc-muted); font-size: .82rem; margin-top: 2px; }

/* ---------- Product cards ---------- */
.gc-pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 576px) { .gc-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .gc-pgrid { gap: 12px; } }
@media (min-width: 1200px) { .gc-pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 992px) and (max-width: 1199.98px) { .gc-listing .gc-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gc-listing .gc-pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .gc-listing .gc-pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Rails show ~2.6 cards on a phone so the swipe is obvious */
.gc-prail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 38%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1px 1px 6px; margin: 0 -1px; scrollbar-width: none; }
.gc-prail::-webkit-scrollbar { display: none; }
.gc-prail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .gc-prail { grid-auto-columns: 24%; } }
@media (min-width: 992px) { .gc-prail { grid-auto-columns: calc(16.666% - 10px); gap: 12px; } }
/* position: relative keeps absolutely positioned children (e.g. visually-hidden text) inside
   the card, so cards scrolled out of a rail can never widen the page */
.gc-pcard { position: relative; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); overflow: hidden; height: 100%; transition: box-shadow .15s ease, border-color .15s ease; }
.gc-pcard:hover { box-shadow: var(--gc-shadow); border-color: #CFCFD4; }
.gc-pcard-link { display: flex; flex-direction: column; height: 100%; color: var(--gc-ink); }
.gc-pcard-link:hover { text-decoration: none; color: var(--gc-ink); }
.gc-pcard-media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.gc-pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .25s ease; }
@media (min-width: 768px) { .gc-pcard-media img { padding: 10px; } }
.gc-pcard:hover .gc-pcard-media img { transform: scale(1.03); }
.gc-pcard.is-out .gc-pcard-media img { opacity: .55; filter: grayscale(.6); }
.gc-pcard-body { padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 1px; flex: 1; border-top: 1px solid #F1F1F3; }
@media (min-width: 768px) { .gc-pcard-body { padding: 10px 12px 12px; gap: 2px; } }
.gc-pcard-meta { font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gc-subtle); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-pcard-title { font-size: .8rem; font-weight: 600; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
@media (min-width: 768px) { .gc-pcard-title { font-size: .88rem; } .gc-pcard-meta { font-size: .68rem; } }
.gc-pcard-point { font-size: .74rem; color: var(--gc-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767.98px) { .gc-pcard-point { display: none; } }
.gc-pcard-foot { margin-top: auto; padding-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.gc-pcard-foot .gc-price { gap: 0 6px; }
.gc-pcard-foot .gc-price-mrp, .gc-pcard-foot .gc-price-off { font-size: .7rem; }
@media (max-width: 767.98px) { .gc-price-card .gc-price-now { font-size: .9rem !important; } .gc-price-card .gc-price-request { font-size: .8rem !important; } }
.gc-pcard-stock { font-size: .68rem; font-weight: 600; display: flex; align-items: center; gap: 4px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gc-pcard-stock i { flex-shrink: 0; }
@media (min-width: 768px) { .gc-pcard-stock { font-size: .74rem; } }
/* Phones: brand/category line hidden in cards (the title says enough), tighter media */
@media (max-width: 575.98px) {
  .gc-pcard-meta { display: none; }
  /* Product photos are stored square (see IMAGE_PRESETS), so the card box is square too: full-size product, no letterboxing */
  .gc-pcard-media img { padding: 2px; }
  .gc-pcard-body { padding: 5px 7px 7px; }
  .gc-pcard-title { font-size: .78rem; }
  .gc-pcard .gc-pbadges { top: 5px; left: 5px; gap: 2px; }
  .gc-pcard .gc-pbadge { font-size: .56rem; padding: 1px 5px; }
}
.gc-pcard-stock.out { color: #B91C1C; }
.gc-pcard-stock.low { color: var(--gc-warning); }
.gc-pcard-stock.in { color: var(--gc-success); }
.gc-pcard-stock.info { color: var(--gc-muted); }
.gc-pcard .gc-pbadges { top: 8px; left: 8px; }
.gc-pcard .gc-pbadge { font-size: .62rem; padding: 2px 6px; }
@media (min-width: 576px) { .gc-pcard .gc-pbadge { font-size: .66rem; } }

/* ---------- Brands ---------- */
.gc-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .gc-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 992px) { .gc-brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gc-brand-tile { background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; color: var(--gc-ink); transition: box-shadow .15s, border-color .15s; height: 100%; }
@media (min-width: 768px) { .gc-brand-tile { padding: 12px; } }
.gc-brand-tile:hover { box-shadow: var(--gc-shadow); border-color: #CFCFD4; text-decoration: none; color: var(--gc-ink); }
.gc-brand-tile-logo { width: 100%; aspect-ratio: 2 / 1; display: grid; place-items: center; margin-bottom: 4px; }
/* Hard-bounded 2:1 box: any logo shape fits inside without stretching or growing the tile */
.gc-brand-tile-logo { overflow: hidden; }
.gc-brand-tile-logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gc-brand-mono { width: 40px; height: 40px; border-radius: 50%; background: var(--gc-red-50); color: var(--gc-red-700); display: grid; place-items: center; font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
@media (min-width: 768px) { .gc-brand-mono { width: 56px; height: 56px; font-size: 1.1rem; } }
.gc-brand-tile-name { font-weight: 600; font-size: .78rem; line-height: 1.25; overflow-wrap: anywhere; }
.gc-brand-tile-count { font-size: .68rem; color: var(--gc-subtle); }
@media (min-width: 768px) { .gc-brand-tile-name { font-size: .88rem; } .gc-brand-tile-count { font-size: .74rem; } }

/* ---------- Listing layout & filters ---------- */
.gc-listing { display: block; padding: 10px 0 28px; }
@media (min-width: 992px) { .gc-listing { padding: 18px 0 40px; } }
@media (min-width: 1200px) { .gc-listing { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; } }
.gc-listing-main { min-width: 0; }
@media (min-width: 1200px) {
  .gc-listing-side.offcanvas-xl { background-color: transparent !important; }
  .gc-listing-side .offcanvas-header { display: none; }
  .gc-listing-side .offcanvas-body { padding: 0; position: sticky; top: calc(var(--gc-appbar-h) + 16px); max-height: calc(100vh - var(--gc-appbar-h) - 32px); overflow-y: auto; }
}
@media (max-width: 1199.98px) {
  .gc-listing-side.offcanvas-xl { background-color: #fff !important; width: min(88vw, 360px) !important; z-index: 1060; }
  .gc-listing-side .offcanvas-body { padding: 4px 18px 28px; }
}
.gc-filter-group { padding: 14px 0; border-bottom: 1px solid var(--gc-border); }
.gc-filter-group:first-of-type { padding-top: 0; }
@media (max-width: 991.98px) { .gc-filter-group:first-of-type { padding-top: 10px; } }
.gc-filter-title { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gc-subtle); font-weight: 700; margin: 0 0 10px; }
.gc-filter-form .form-check { margin-bottom: 6px; }
.gc-filter-form .form-check-label { font-size: .9rem; cursor: pointer; }
.gc-filter-form .form-check-input { cursor: pointer; }
.gc-price-range { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 6px; align-items: center; font-size: .82rem; color: var(--gc-subtle); }
.gc-price-range .form-control { padding-left: .55rem; padding-right: .55rem; }
.gc-price-range .btn { padding-left: .6rem; padding-right: .6rem; }
.gc-facet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.gc-facet-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--gc-radius-sm); color: var(--gc-ink-2); font-size: .9rem; }
.gc-facet-list a:hover { background: #fff; text-decoration: none; }
.gc-facet-list a.active { background: var(--gc-red-50); color: var(--gc-red-700); font-weight: 700; }
.gc-facet-list .count { font-size: .76rem; color: var(--gc-subtle); background: #fff; border: 1px solid var(--gc-border); border-radius: 999px; padding: 0 7px; font-weight: 600; }
.gc-listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.gc-result-count { color: var(--gc-muted); font-size: .88rem; }
.gc-result-count strong { color: var(--gc-ink); }
.gc-listing-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.gc-sort { width: auto; min-width: 150px; font-size: .84rem; font-weight: 600; background-color: #fff; border-bottom-color: #CFCFD4; }
@media (pointer: coarse) { .gc-sort { font-size: 16px; } }
.gc-fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.gc-fchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--gc-ink); color: #fff; font-size: .8rem; font-weight: 600; }
.gc-fchip:hover { background: var(--gc-ink-2); color: #fff; text-decoration: none; }
.gc-fchip i { font-size: .7rem; }
.gc-fclear { font-size: .82rem; font-weight: 700; }
.gc-pagination { margin-top: 26px; }
.gc-pagination .page-link { border-radius: var(--gc-radius-sm) !important; margin: 0 3px; border: 1px solid var(--gc-border); color: var(--gc-ink-2); font-weight: 600; min-width: 40px; text-align: center; }
.gc-pagination .page-item.active .page-link { background: var(--gc-red); border-color: var(--gc-red); color: #fff; }
.gc-pagination .page-item.disabled .page-link { background: transparent; color: var(--gc-subtle); }

/* ---------- Empty state ---------- */
.gc-empty { text-align: center; padding: 44px 16px; background: #fff; border: 1px dashed #D7DAE0; border-radius: var(--gc-radius); }
.gc-empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gc-red-50); color: var(--gc-red); display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 14px; }
.gc-empty h2 { font-size: 1.15rem; margin-bottom: 6px; }
.gc-empty p { color: var(--gc-muted); margin: 0 auto 16px; max-width: 420px; }
.gc-empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ---------- Product page ---------- */
.gc-pdp { display: grid; gap: 12px; padding: 4px 0 18px; }
@media (min-width: 992px) { .gc-pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding: 8px 0 40px; align-items: start; } }
@media (min-width: 992px) { .gc-pdp-gallery { position: sticky; top: calc(var(--gc-appbar-h) + 16px); } }
.gc-gallery { position: relative; }
.gc-gallery-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius-lg); aspect-ratio: 1 / 1; }
.gc-gallery-main::-webkit-scrollbar { display: none; }
.gc-gallery-slide { scroll-snap-align: center; margin: 0; display: grid; place-items: center; }
.gc-gallery-slide button { border: 0; background: transparent; padding: 0; width: 100%; height: 100%; cursor: zoom-in; display: grid; place-items: center; }
.gc-gallery-slide img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
@media (max-width: 575.98px) { .gc-gallery-main { aspect-ratio: 4 / 3.4; } }
.gc-gallery .gc-pbadges { top: 14px; left: 14px; }
.gc-gallery .gc-pbadge { font-size: .74rem; padding: 4px 9px; }
.gc-gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.gc-gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: #D1D5DB; transition: width .2s, background .2s; }
.gc-gallery-dots span.active { width: 20px; border-radius: 4px; background: var(--gc-red); }
@media (min-width: 768px) { .gc-gallery-dots { display: none; } }
.gc-gallery-thumbs { display: none; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 768px) { .gc-gallery-thumbs { display: flex; } }
.gc-gallery-thumbs button { width: 72px; height: 72px; flex-shrink: 0; border: 2px solid var(--gc-border); border-radius: var(--gc-radius); background: #fff; padding: 4px; }
.gc-gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gc-gallery-thumbs button.active { border-color: var(--gc-red); }
.gc-gallery-share { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gc-border); background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--gc-ink-2); }
.gc-gallery-share:hover { background: #fff; color: var(--gc-red); }
.gc-pdp-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.gc-pdp-meta a { color: var(--gc-red-700); }
.gc-pdp-meta span { color: var(--gc-subtle); }
.gc-pdp h1 { font-size: clamp(1.15rem, 1rem + 1vw, 1.85rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 4px; }
.gc-pdp-ids { color: var(--gc-muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; }
.gc-pdp-ids strong { color: var(--gc-ink-2); font-weight: 600; }
.gc-pdp-info .gc-pbadges { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 12px; }
.gc-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; margin-top: 10px; }
.gc-stock.in { color: var(--gc-success); }
.gc-stock.low { color: var(--gc-warning); }
.gc-stock.out { color: #B91C1C; }
.gc-stock.info { color: var(--gc-ink-2); }
.gc-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.gc-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--gc-ink-2); }
.gc-points i { color: var(--gc-red); margin-top: 2px; }
.gc-pdp-summary { color: var(--gc-muted); margin: 14px 0 0; line-height: 1.65; }
.gc-buybox { margin-top: 12px; padding: 12px; }
@media (min-width: 576px) { .gc-buybox { padding: 20px; } }
.gc-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gc-qty { display: inline-flex; align-items: center; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); overflow: hidden; background: #fff; }
.gc-qty button { width: 42px; height: 42px; border: 0; background: #F9FAFB; font-size: 1.1rem; color: var(--gc-ink); }
.gc-qty button:hover:not(:disabled) { background: #F3F4F6; }
.gc-qty button:disabled { color: #C4C8CF; }
.gc-qty input { width: 52px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.gc-qty input::-webkit-outer-spin-button, .gc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gc-qty-label { font-weight: 600; font-size: .9rem; color: var(--gc-ink-2); }
.gc-qty-max { font-size: .76rem; color: var(--gc-subtle); }
.gc-install { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 14px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); cursor: pointer; background: #FCFCFD; transition: border-color .15s, background .15s; }
.gc-install:hover { border-color: #D1D5DB; }
.gc-install:has(input:checked) { border-color: var(--gc-red); background: var(--gc-red-50); }
.gc-install .form-check-input { margin-top: 3px; flex-shrink: 0; }
.gc-install-title { font-weight: 700; font-size: .92rem; display: block; }
.gc-install-sub { font-size: .8rem; color: var(--gc-muted); display: block; margin-top: 2px; }
.gc-buy-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gc-border); font-size: .92rem; color: var(--gc-muted); }
.gc-buy-total strong { color: var(--gc-ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.gc-buy-actions { display: grid; gap: 8px; margin-top: 14px; }
@media (min-width: 576px) { .gc-buy-actions { grid-template-columns: 1fr 1fr; } .gc-buy-actions .btn:only-child { grid-column: 1 / -1; } }
.gc-buy-note { font-size: .78rem; color: var(--gc-subtle); margin: 10px 0 0; display: flex; gap: 6px; }
.gc-promise { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.gc-promise li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--gc-ink-2); }
.gc-promise i { width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--gc-radius-sm); background: #F3F4F6; color: var(--gc-ink-2); display: grid; place-items: center; font-size: 1rem; }
.gc-promise small { display: block; color: var(--gc-subtle); font-size: .78rem; }
.gc-pdp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gc-series { margin: 0 0 24px; }
.gc-series h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gc-subtle); margin-bottom: 10px; }
.gc-detail-card { padding: 0; overflow: hidden; margin-bottom: 28px; }
.gc-tabs { display: flex; flex-wrap: nowrap; gap: 4px; padding: 8px 8px 0; border-bottom: 1px solid var(--gc-border); overflow-x: auto; scrollbar-width: none; background: #FCFCFD; }
.gc-tabs::-webkit-scrollbar { display: none; }
.gc-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--gc-muted); font-weight: 700; font-size: .92rem; padding: 10px 14px 11px; white-space: nowrap; background: transparent; }
.gc-tabs .nav-link:hover { color: var(--gc-ink); }
.gc-tabs .nav-link.active { color: var(--gc-red-700); border-bottom-color: var(--gc-red); background: transparent; }
.gc-tab-body { padding: 18px; }
@media (min-width: 768px) { .gc-tab-body { padding: 24px 28px; } }
.gc-rich { line-height: 1.7; color: var(--gc-ink-2); overflow-wrap: anywhere; }
.gc-rich h2, .gc-rich h3, .gc-rich h4 { font-size: 1.05rem; margin-top: 1.2rem; }
.gc-rich table { width: 100% !important; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.gc-rich th, .gc-rich td { border: 1px solid var(--gc-border); padding: 8px 10px; vertical-align: top; }
.gc-rich th { background: #F9FAFB; }
.gc-rich img { max-width: 100%; height: auto; }
.gc-plain { white-space: pre-line; line-height: 1.7; color: var(--gc-ink-2); }
.gc-spec { width: 100%; font-size: .92rem; }
.gc-spec th { width: 38%; color: var(--gc-muted); font-weight: 600; padding: 10px 12px 10px 0; vertical-align: top; border-bottom: 1px solid var(--gc-border); }
.gc-spec td { padding: 10px 0; font-weight: 600; color: var(--gc-ink); border-bottom: 1px solid var(--gc-border); }
.gc-spec tr:last-child th, .gc-spec tr:last-child td { border-bottom: 0; }
.gc-file { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); color: var(--gc-ink); background: #fff; }
.gc-file:hover { border-color: #D1D5DB; text-decoration: none; color: var(--gc-ink); box-shadow: var(--gc-shadow-sm); }
.gc-file-icon { width: 44px; height: 44px; border-radius: var(--gc-radius-sm); background: #FEE2E2; color: #B91C1C; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.gc-file-name { font-weight: 700; font-size: .92rem; display: block; }
.gc-file-meta { font-size: .78rem; color: var(--gc-subtle); }
.gc-file .bi-download { margin-left: auto; color: var(--gc-muted); }

/* Product page - desktop proportions (content sits beside the nav pane) */
@media (min-width: 992px) {
  .gc-pdp { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
  .gc-gallery-main { max-height: 520px; }
}
@media (min-width: 1400px) { .gc-pdp { gap: 36px; } }

/* Product page - grouped rows (all sizes) */
.gc-pdp-pricerow { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; margin-top: 2px; }
.gc-pdp-pricerow .gc-price { flex: 1 1 auto; }
.gc-pdp-pricerow .gc-stock { margin: 0; padding: 3px 10px; border-radius: 999px; font-size: .78rem; white-space: nowrap; }
.gc-pdp-pricerow .gc-stock.in { background: #E9F7EE; }
.gc-pdp-pricerow .gc-stock.low { background: #FEF3E2; }
.gc-pdp-pricerow .gc-stock.out { background: #FDECEC; }
.gc-pdp-pricerow .gc-stock.info { background: var(--gc-surface-2); border: 1px solid var(--gc-border); }
.gc-points { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; }
/* Key points carousel (product.js): one point at a time, swipeable, dots below */
.gc-points.is-carousel {
  display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 100%; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-top: 10px; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); max-width: 520px;
}
.gc-points.is-carousel::-webkit-scrollbar { display: none; }
.gc-points.is-carousel li { scroll-snap-align: start; padding: 9px 12px; align-items: center; min-width: 0; }
.gc-points.is-carousel li span { font-weight: 600; line-height: 1.35; }
.gc-points-dots { display: flex; gap: 5px; margin: 6px 0 0 2px; }
.gc-points-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: #CFCFD4; transition: width .2s ease, background-color .2s ease; }
.gc-points-dots button.active { width: 16px; background: var(--gc-red-600); }
/* Pincode facts: stacked chips share one width on phones, side by side (auto width) from 768 px */
@media (max-width: 767.98px) { .gc-pin-result .gc-pin-facts { display: grid; grid-template-columns: 1fr; } }
.gc-buy-row { flex-wrap: nowrap; align-items: center; }
.gc-buy-qty { display: flex; flex-direction: column; gap: 2px; }
.gc-buy-row .gc-buy-total { margin: 0; padding: 0; border: 0; flex-direction: column; align-items: flex-end; gap: 0; text-align: right; font-size: .78rem; line-height: 1.3; }
.gc-buy-row .gc-buy-total strong { font-size: 1.2rem; }
.gc-pin-field { position: relative; }
.gc-pin-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--gc-red-700); pointer-events: none; z-index: 1; font-size: .95rem; }
.gc-pin-field .form-control { padding-left: 30px; }
.gc-pin-line.place { align-items: center; }
.gc-pin-line.place .gc-pin-change { margin-left: auto; }
.gc-pin-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-pin-fact { display: inline-flex; align-items: flex-start; gap: 6px; padding: 4px 9px; border-radius: var(--gc-radius-sm); background: #fff; border: 1px solid var(--gc-border); font-size: .76rem; line-height: 1.35; color: var(--gc-ink-2); }
.gc-pin-fact i { margin-top: 1px; }
.gc-pin-fact.ok i { color: var(--gc-success); }
.gc-pin-fact.bad { color: #B91C1C; border-color: #F5C2C2; background: #FDF3F3; }
.gc-buy-links a, .gc-buy-links button { padding: 4px 10px; border: 1px solid var(--gc-border); border-radius: 999px; background: #fff; font-size: .8rem; }
.gc-buy-links a:hover, .gc-buy-links button:hover { text-decoration: none; background: var(--gc-surface-2); }

/* Product page - phone density */
@media (max-width: 767.98px) {
  .gc-pdp-meta { font-size: .66rem; margin-bottom: 2px; gap: 4px 10px; }
  .gc-pdp-ids { font-size: .76rem; margin-bottom: 6px; gap: 2px 12px; }
  .gc-price-page .gc-price-now { font-size: 1.35rem; }
  .gc-price-page .gc-price-mrp, .gc-price-page .gc-price-off { font-size: .85rem; }
  .gc-price-note { font-size: .74rem; }
  .gc-pdp-pricerow .gc-stock { font-size: .72rem; padding: 2px 8px; }
  .gc-points { margin-top: 8px; gap: 3px 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .gc-points li { font-size: .8rem; gap: 6px; line-height: 1.35; }
  .gc-points i { font-size: .8rem; }
  .gc-pdp-summary { font-size: .84rem; margin-top: 8px; line-height: 1.55; }
  .gc-buybox { padding: 10px; }
  .gc-qty button { width: 36px; height: 36px; }
  .gc-qty input { width: 42px; height: 36px; }
  .gc-qty-label { font-size: .84rem; }
  .gc-install { padding: 8px 10px; margin-top: 10px; gap: 10px; }
  .gc-install-title { font-size: .84rem; }
  .gc-install-sub { font-size: .74rem; }
  .gc-pin { margin-top: 8px; padding: 8px; }
  .gc-pin-field { min-width: 0; }
  .gc-pin-result { font-size: .76rem; margin-top: 6px; gap: 6px; }
  .gc-buy-row .gc-buy-total strong { font-size: 1.1rem; }
  .gc-buy-actions { grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .gc-buy-actions .btn:only-child { grid-column: 1 / -1; }
  .gc-buy-actions .btn-lg { --bs-btn-font-size: .9rem; --bs-btn-padding-y: .55rem; --bs-btn-padding-x: .5rem; white-space: nowrap; }
  .gc-buy-links { margin-top: 8px; font-size: .8rem; gap: 4px 14px; }
  .gc-buy-note { font-size: .72rem; margin-top: 6px; }
  .gc-promise { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  .gc-promise li { font-size: .76rem; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); line-height: 1.3; }
  .gc-promise i { width: 24px; height: 24px; font-size: .8rem; }
  .gc-promise small { font-size: .68rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .gc-pdp-tools { margin-top: 10px; gap: 6px; }
  .gc-series { margin-bottom: 12px; }
  .gc-detail-card { margin-bottom: 16px; }
  .gc-tabs .nav-link { font-size: .84rem; padding: 8px 10px 9px; }
  .gc-tab-body { padding: 12px; }
  .gc-rich, .gc-plain { font-size: .86rem; line-height: 1.6; }
  .gc-spec { font-size: .84rem; }
  .gc-spec th, .gc-spec td { padding-top: 7px; padding-bottom: 7px; }
}

/* Smallest phones: long button pairs stack instead of wrapping inside the buttons */
@media (max-width: 359.98px) { .gc-buy-actions { grid-template-columns: 1fr; } }

/* Sticky purchase bar (mobile) */
.gc-stickybar {
  position: fixed; left: 0; right: 0; z-index: 1025;
  bottom: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--gc-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 10px 14px; display: flex; align-items: center; gap: 12px;
  transform: translateY(120%); transition: transform .22s ease; box-shadow: 0 -8px 24px -12px rgba(16, 24, 40, .18);
}
.gc-stickybar.show { transform: translateY(0); }
.gc-stickybar .info { min-width: 0; flex: 1; }
.gc-stickybar .name { font-size: .78rem; color: var(--gc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-stickybar .price { font-weight: 800; font-size: 1.05rem; }
.gc-stickybar .btn { flex-shrink: 0; }
@media (min-width: 992px) { .gc-stickybar { display: none; } }

/* Zoom viewer */
.gc-zoom .modal-content { background: #fff; border: 0; }
.gc-zoom-stage { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.gc-zoom-stage img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.gc-zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gc-border); background: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--gc-shadow-sm); }
.gc-zoom-nav.prev { left: 12px; }
.gc-zoom-nav.next { right: 12px; }
.gc-zoom-count { font-size: .85rem; color: var(--gc-muted); font-weight: 600; }

/* ---------- Forms in modals / contact ---------- */
.gc-form-card { padding: 14px; }
@media (min-width: 768px) { .gc-form-card { padding: 24px; } }
.gc-modal .modal-content { border: 0; border-radius: var(--gc-radius-lg); }
.gc-modal .modal-header { border-bottom: 1px solid var(--gc-border); padding: 16px 20px; }
.gc-modal .modal-body { padding: 18px 20px 22px; }
.gc-modal-product { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--gc-radius); background: #F9FAFB; margin-bottom: 14px; }
.gc-modal-product img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: var(--gc-radius-sm); border: 1px solid var(--gc-border); }
.gc-modal-product strong { display: block; font-size: .92rem; line-height: 1.3; }
.gc-modal-product span { font-size: .8rem; color: var(--gc-muted); }
.gc-success-box { text-align: center; padding: 18px 6px 6px; }
.gc-success-box .ico { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: var(--gc-success); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 12px; }
.gc-map { border: 1px solid var(--gc-border); width: 100%; height: 100%; min-height: 200px; border-radius: var(--gc-radius); display: block; background: var(--gc-surface-2); }
@media (min-width: 992px) { .gc-map { min-height: 280px; } }
.gc-hours { list-style: none; padding: 0; margin: 0; }
.gc-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--gc-border); font-size: .9rem; }
.gc-hours li:last-child { border-bottom: 0; }

/* ---------- Downloads ---------- */
.gc-dl-grid { display: grid; gap: 10px; }
@media (min-width: 768px) { .gc-dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gc-dl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gc-dl-group + .gc-dl-group { margin-top: 28px; }
.gc-dl-group h2 { font-size: 1.05rem; margin-bottom: 12px; }

/* ---------- Static pages ---------- */
.gc-policy-summary { display: grid; gap: 10px; margin: 18px 0 8px; }
@media (min-width: 768px) { .gc-policy-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gc-policy-summary .gc-card { padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; }
.gc-policy-summary i { color: var(--gc-red); font-size: 1.25rem; }
.gc-policy-summary strong { display: block; font-size: .95rem; color: var(--gc-ink); }
.gc-state-list { columns: 2; column-gap: 24px; padding-left: 1.1rem; }
@media (min-width: 768px) { .gc-state-list { columns: 3; } }

@media (max-width: 575.98px) {
  .gc-section-head { flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; }
  .gc-section-head .gc-section-link { font-size: .85rem; }
}

/* =============================================================================
   STAGE 3 - PINCODE CHECK
   ============================================================================= */
.gc-pin { margin-top: 14px; padding: 12px 14px; border-radius: var(--gc-radius); background: #F9FAFB; border: 1px solid var(--gc-border); }
.gc-pin-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gc-pin-form[hidden] { display: none; }
.gc-pin-label { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--gc-ink-2); }
.gc-pin-label i { color: var(--gc-red); }
.gc-pin-field { display: flex; gap: 6px; flex: 1; min-width: 200px; }
.gc-pin-field .form-control { letter-spacing: .12em; font-weight: 600; }
.gc-pin-field .btn { flex-shrink: 0; }
.gc-pin-result { font-size: .84rem; color: var(--gc-muted); margin-top: 8px; display: grid; gap: 8px; }
.gc-pin-form[hidden] + .gc-pin-result { margin-top: 0; }
.gc-pin-line { display: flex; gap: 10px; align-items: flex-start; color: var(--gc-ink-2); line-height: 1.4; }
.gc-pin-line i { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.gc-pin-line.place i { color: var(--gc-red); }
.gc-pin-line.ok i { color: var(--gc-success); }
.gc-pin-line.bad { color: #B91C1C; }
.gc-pin-line small { color: var(--gc-muted); font-size: .8rem; }
.gc-pin-change { border: 0; background: none; padding: 0 0 0 4px; color: var(--gc-red-700); font-weight: 700; font-size: .82rem; }
.gc-pin-change:hover { text-decoration: underline; }
.gc-pin-note { font-size: .78rem; color: var(--gc-subtle); margin-top: 8px; }
.gc-install.is-disabled { opacity: .7; cursor: not-allowed; background: #F3F4F6; }
.gc-install-warn { display: flex; align-items: center; gap: 6px; color: #B91C1C; font-size: .8rem; font-weight: 700; margin-top: 4px; }
.gc-install-warn[hidden] { display: none; }

/* =============================================================================
   STAGE 4 - CART, ADDRESSES
   ============================================================================= */
.gc-cart-btn { position: relative; }
.gc-cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--gc-red); color: #fff; font-size: .66rem; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #fff; font-variant-numeric: tabular-nums;
}
.gc-cart-count[hidden] { display: none; }
.gc-tab-icon { position: relative; display: inline-block; line-height: 1; }
.gc-tab-icon i { font-size: 1.3rem; }
.gc-tab-icon .gc-cart-count { top: -6px; right: -12px; }
.gc-in-cart { margin-top: 10px; font-size: .85rem; color: var(--gc-success); font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gc-in-cart[hidden] { display: none; }
.gc-buy-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .86rem; }
.gc-buy-links a, .gc-buy-links button { display: inline-flex; align-items: center; gap: 6px; color: var(--gc-ink-2); font-weight: 600; background: none; border: 0; padding: 0; }
.gc-buy-links a:hover, .gc-buy-links button:hover { color: var(--gc-red-700); text-decoration: underline; }
.gc-buy-links .bi-whatsapp { color: #1FA855; }

/* Cart page */
.gc-cartpage { display: grid; gap: 12px; padding: 12px 0 20px; }
/* Fixed bottom bars (cart / checkout total bar, product sticky bar) sit above the tab bar on phones:
   while one is showing, reserve its height so the footer is never hidden behind it. */
@media (max-width: 991.98px) {
  body:has(.gc-cartbar:not([hidden])), body:has(.gc-stickybar.show) { padding-bottom: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom) + 64px); }
}
@media (min-width: 992px) { .gc-cartpage { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 26px 0 56px; align-items: start; } }
.gc-cartpage.is-empty { grid-template-columns: 1fr; }
.gc-cartpage.is-busy .gc-cart-lines, .gc-cartpage.is-busy .gc-cart-summary { opacity: .65; pointer-events: none; transition: opacity .15s; }
.gc-cart-side[hidden] { display: none; }
@media (min-width: 992px) { .gc-cart-side { position: sticky; top: calc(var(--gc-appbar-h) + 16px); } }
.gc-cart-lines { display: grid; gap: 8px; }
/* Cart line - native shopping-app layout: thumbnail, name + remove (x), meta,
   price + quantity stepper on one row, installation toggle, and a small
   calculation preview ("₹8,700 × 1 + ₹2,360 installation  ₹11,060"). */
.gc-cline { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); }
@media (min-width: 576px) { .gc-cline { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 12px 14px; } }
.gc-cline.is-out { background: #FAFAFA; }
.gc-cline.is-out .gc-cline-img img { opacity: .5; filter: grayscale(.7); }
.gc-cline-img { display: block; align-self: start; aspect-ratio: 1 / 1; border: 1px solid #F0F1F3; border-radius: var(--gc-radius-sm); background: #fff; overflow: hidden; }
.gc-cline-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gc-cline-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gc-cline-top { display: flex; align-items: flex-start; gap: 6px; }
.gc-cline-name { flex: 1; min-width: 0; font-weight: 600; font-size: .88rem; color: var(--gc-ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gc-cline-name:hover { color: var(--gc-red-700); }
.gc-cline-remove { flex-shrink: 0; width: 28px; height: 28px; margin: -4px -4px 0 0; display: grid; place-items: center; border: 0; border-radius: var(--gc-radius-sm); background: none; color: var(--gc-subtle); font-size: .8rem; }
.gc-cline-remove:hover { background: #FDECEC; color: #B91C1C; }
.gc-cline-meta { font-size: .72rem; color: var(--gc-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-cline-mid { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.gc-cline-price { font-size: .9rem; min-width: 0; }
.gc-cline-price s { color: var(--gc-subtle); font-size: .74rem; }
.gc-cline-price .off { color: var(--gc-success); font-weight: 600; font-size: .72rem; }
.gc-cline-out { color: #B91C1C; font-size: .78rem; font-weight: 600; }
.gc-cline-install { display: flex; gap: 6px; align-items: center; font-size: .78rem; color: var(--gc-ink-2); margin-top: 2px; cursor: pointer; }
.gc-cline-install .form-check-input { margin: 0; flex-shrink: 0; }
.gc-cline-install.is-disabled { color: var(--gc-subtle); cursor: not-allowed; }
.gc-cline-install small { color: var(--gc-subtle); }
.gc-cline-warn { font-size: .72rem; font-weight: 600; color: #B91C1C; }
.gc-cline-calc { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 5px; border-top: 1px dashed var(--gc-border); font-size: .72rem; color: var(--gc-subtle); }
.gc-cline-calc span { min-width: 0; }
.gc-cline-total { font-weight: 700; font-size: .95rem; color: var(--gc-ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc-qty-sm { border-radius: var(--gc-radius-sm); flex-shrink: 0; }
.gc-qty-sm button { width: 30px; height: 30px; font-size: .85rem; }
.gc-qty-sm .gc-qty-val { min-width: 28px; text-align: center; font-weight: 600; font-size: .88rem; }
.gc-cart-summary { padding: 18px; }
.gc-cart-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gc-subtle); font-weight: 700; margin: 0 0 10px; }
.gc-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .92rem; color: var(--gc-ink-2); }
.gc-sum-row > span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.gc-sum-row.total { border-top: 1px dashed var(--gc-border); margin-top: 6px; padding-top: 12px; font-weight: 800; color: var(--gc-ink); font-size: 1.05rem; }
.gc-sum-note { font-size: .8rem; color: var(--gc-muted); text-align: right; margin-top: -2px; }
.gc-sum-note[hidden], .gc-sum-row[hidden], .gc-sum-save[hidden] { display: none; }
.gc-sum-save { font-size: .82rem; color: var(--gc-success); font-weight: 700; text-align: right; }
.gc-cart-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .76rem; color: var(--gc-subtle); margin: 10px 0 0; text-align: center; }
.gc-addr-list { display: grid; gap: 8px; }
.gc-addr-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); cursor: pointer; font-size: .86rem; background: #fff; }
.gc-addr-opt .form-check-input { margin-top: 3px; flex-shrink: 0; }
.gc-addr-opt.active { border-color: var(--gc-red); background: var(--gc-red-50); }
.gc-addr-opt > span:not(.gc-addr-edit) { flex: 1; min-width: 0; }
.gc-addr-edit { flex-shrink: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin: -2px -4px 0 0; padding: 4px 8px; border-radius: var(--gc-radius-sm); font-size: .76rem; font-weight: 600; color: var(--gc-red-700); text-decoration: none; }
.gc-addr-edit:hover { background: rgba(255, 255, 255, .8); text-decoration: none; }
.gc-addr-label { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gc-ink-2); }
.gc-addr-label em { font-style: normal; color: var(--gc-red-700); margin-left: 6px; }
.gc-cartbar {
  position: fixed; left: 0; right: 0; z-index: 1025; bottom: calc(var(--gc-tabbar-h) + var(--gc-safe-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--gc-border); padding: 10px 14px; display: flex; align-items: center; gap: 12px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -12px rgba(16,24,40,.18);
}
.gc-cartbar[hidden] { display: none; }
.gc-cartbar .info { flex: 1; display: flex; flex-direction: column; }
.gc-cartbar .label { font-size: .74rem; color: var(--gc-muted); }
.gc-cartbar .value { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
@media (min-width: 992px) { .gc-cartbar { display: none !important; } }
.gc-sheet { height: auto !important; max-height: 85vh; border-radius: 20px 20px 0 0; }
@media (min-width: 768px) { .gc-sheet { max-width: 480px; margin: 0 auto; } }
.gc-sheet-safe { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--gc-radius); background: #ECFDF5; color: #065F46; font-size: .9rem; }
.gc-sheet-safe i { font-size: 1.3rem; }
.gc-req-box { padding: 12px 14px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); margin-bottom: 10px; background: #FCFCFD; }

/* Address book */
.gc-narrow { max-width: 880px; }
.gc-addr-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .gc-addr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gc-addr-card { padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.gc-addr-card.is-default { border-color: var(--gc-red); box-shadow: 0 0 0 1px var(--gc-red) inset; }
.gc-addr-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.gc-label-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-label-pick .btn-check:checked + .btn { background: var(--gc-ink); border-color: var(--gc-ink); color: #fff; }
.gc-place-out { min-height: 44px; padding: 8px 12px; border-radius: var(--gc-radius); background: #F9FAFB; border: 1px solid var(--gc-border); font-size: .86rem; }
.gc-pin-input { letter-spacing: .12em; font-weight: 600; }
.gc-pin-field .form-control::placeholder, .gc-pin-input::placeholder { letter-spacing: normal; font-weight: 400; }

/* =============================================================================
   Stage 5: checkout, orders, order tracking
   ============================================================================= */
.gc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .01em; }
.gc-co-main { display: grid; gap: 14px; min-width: 0; }
.gc-checkout.is-busy .gc-cart-summary, .gc-checkout.is-busy .gc-co-items { opacity: .65; transition: opacity .15s; }
.gc-co-step { padding: 16px; }
@media (min-width: 576px) { .gc-co-step { padding: 20px; } }
.gc-co-h { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
.gc-co-h .n { width: 26px; height: 26px; border-radius: 50%; background: var(--gc-ink); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.gc-co-choice { display: grid; gap: 6px; }
.gc-co-choice .form-check { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border: 1px solid var(--gc-border); border-radius: var(--gc-radius); cursor: pointer; }
.gc-co-choice .form-check .form-check-input { float: none; margin: 0; flex-shrink: 0; }
.gc-co-choice .form-check:has(input:checked) { border-color: var(--gc-red); background: var(--gc-red-50); }
.gc-co-err { margin-top: 10px; padding: 8px 12px; border-radius: var(--gc-radius-sm); background: #FEF2F2; color: #B91C1C; font-size: .84rem; font-weight: 600; }
.gc-co-err[hidden], .gc-co-alert[hidden], [data-gst-fields][hidden], [data-billing-list][hidden] { display: none !important; }
.gc-co-alert { margin-top: 12px; padding: 8px 12px; border-radius: var(--gc-radius-sm); background: #FEF2F2; color: #B91C1C; font-size: .84rem; font-weight: 600; }
.gc-co-items { display: grid; gap: 10px; }
.gc-co-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.gc-co-item img { width: 56px; height: 56px; object-fit: contain; border: 1px solid #F0F1F3; border-radius: var(--gc-radius-sm); background: #fff; padding: 3px; }
.gc-co-item.is-out { opacity: .6; }
.gc-co-item-name { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.gc-co-item-name a { color: inherit; }
.gc-co-item-meta { font-size: .78rem; color: var(--gc-muted); }
.gc-co-item-warn { font-size: .76rem; font-weight: 700; color: #B91C1C; }
.gc-co-item-total { font-weight: 800; font-size: .9rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc-co-tax { margin-top: 10px; padding: 10px 12px; border-radius: var(--gc-radius); background: #F9FAFB; }
.gc-co-tax .gc-sum-row { padding: 3px 0; font-size: .84rem; }
.gc-co-tax-h { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gc-subtle); font-weight: 700; }
.gc-co-pos { font-size: .78rem; color: var(--gc-muted); margin-top: 4px; }
.gc-co-terms { font-size: .74rem; color: var(--gc-subtle); margin: 10px 0 0; line-height: 1.45; }
.gc-co-done { max-width: 520px; margin: 24px auto 40px; padding: 18px; }
.gc-co-done[hidden] { display: none; }

/* Orders */
.gc-otabs { display: flex; gap: 6px; margin: 6px 0 4px; }
.gc-otabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gc-border); background: #fff; font-weight: 700; font-size: .88rem; color: var(--gc-ink-2); text-decoration: none; }
.gc-otabs a span { color: var(--gc-subtle); font-weight: 600; margin-left: 4px; }
.gc-otabs a.active { background: var(--gc-ink); border-color: var(--gc-ink); color: #fff; }
.gc-otabs a.active span { color: rgba(255,255,255,.7); }
.gc-olist { display: grid; gap: 10px; }
.gc-ocard { display: flex; align-items: center; gap: 14px; padding: 14px; color: var(--gc-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.gc-ocard:hover { border-color: #D0D4DA; box-shadow: var(--gc-shadow-sm); color: var(--gc-ink); }
.gc-ocard img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #F0F1F3; border-radius: var(--gc-radius); background: #fff; padding: 4px; flex-shrink: 0; }
.gc-ocard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gc-ocard-items { font-size: .88rem; color: var(--gc-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-ocard-meta { font-size: .8rem; color: var(--gc-muted); }
.gc-ocard-pay { font-size: .78rem; font-weight: 700; color: var(--gc-warning); }
.gc-ocard-go { color: var(--gc-subtle); }
.gc-ocard-inst { font-size: .78rem; font-weight: 600; color: #1D4ED8; }
.gc-ocard-inst.is-pending { color: #92400E; }
.gc-ocard-inst.is-done { color: #15803D; }
.gc-ostatus { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.gc-ostatus.is-info { background: #EFF6FF; color: #1D4ED8; }
.gc-ostatus.is-ship { background: #F5F3FF; color: #6D28D9; }
.gc-ostatus.is-ok { background: #DCFCE7; color: #15803D; }
.gc-ostatus.is-warn { background: #FEF3C7; color: #92400E; }
.gc-ostatus.is-muted { background: #F3F4F6; color: #4B5563; }
.gc-page-head h1.gc-mono { font-size: clamp(1.2rem, 1.1rem + .6vw, 1.55rem); }
.gc-oalert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; font-size: .9rem; }
.gc-oalert > i { font-size: 1.35rem; line-height: 1; }
.gc-oalert.is-ok { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.gc-oalert.is-warn { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }
.gc-oalert.is-muted { background: #F9FAFB; color: var(--gc-ink-2); }
.gc-track { padding: 16px; }
.gc-track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.gc-track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.gc-track-steps li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 3px; background: var(--gc-border); z-index: 0; }
.gc-track-steps li:first-child::before { display: none; }
.gc-track-steps li.done::before { background: var(--gc-success); }
.gc-track-steps .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--gc-border); display: grid; place-items: center; color: #fff; font-size: .85rem; }
.gc-track-steps li.done .dot { background: var(--gc-success); border-color: var(--gc-success); }
.gc-track-steps li.current .dot { box-shadow: 0 0 0 4px #DCFCE7; }
.gc-track-steps .t { font-size: .76rem; font-weight: 700; color: var(--gc-ink-2); }
.gc-track-steps li:not(.done) .t { color: var(--gc-subtle); }
.gc-track-steps .d { font-size: .7rem; color: var(--gc-subtle); min-height: 1em; }
.gc-ship { padding: 14px 16px; border-left: 4px solid #6D28D9; }
/* Installation section on the customer's order page */
.gc-oinstall { padding: 14px 16px; border-left: 4px solid #0F7B0F; }
.gc-oinstall-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.gc-oinstall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 8px 16px; }
.gc-oinstall-fact { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gc-oinstall-fact span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--gc-muted); }
.gc-oinstall-fact strong { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.gc-inv-box { padding: 10px 12px; border: 1px dashed var(--gc-border); border-radius: var(--gc-radius); }
.gc-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--gc-border); display: grid; gap: 14px; }
.gc-timeline li { position: relative; }
.gc-timeline li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gc-subtle); box-shadow: 0 0 0 3px #fff; }
.gc-timeline li:first-child::before { background: var(--gc-red); }
.gc-timeline .fw-semibold .bi { color: var(--gc-muted); }
.gc-ohelp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* =============================================================================
   Stage 7: accessibility polish
   ============================================================================= */
/* Links inside running text are underlined, so they don't rely on colour alone (WCAG 1.4.1). */
main p a:not(.btn), main li a:not(.btn):not([class]), main small a:not(.btn), main .small a:not(.btn), main .text-muted a:not(.btn), .gc-co-terms a, .gc-section-sub a, .form-text a {
  text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px;
}
/* Clear keyboard focus everywhere (mouse clicks don't show it). */
:focus-visible { outline: 2px solid var(--gc-ink); outline-offset: 1px; }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible { outline: 2px solid var(--gc-ink); outline-offset: 1px; }
/* Very small phones (320 px): keep the bottom bars inside the screen. */
@media (max-width: 359.98px) {
  .gc-tabbar a { font-size: .66rem; }
  .gc-cartbar { gap: 8px; padding: 10px; }
  .gc-cartbar .btn { padding-left: .8rem; padding-right: .8rem; }
}
.gc-install-link { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; margin-right: 8px; }
.gc-install-link[hidden], [data-install-app][hidden], [data-install-ios][hidden] { display: none !important; }
/* Visually hidden labels inside scrolling tables must not widen the page. */
.table-responsive { position: relative; }

/* =============================================================================
   Windows 11 app cursor (storefront, mouse / trackpad only)
   Like native Windows apps: the standard arrow over buttons, menu items,
   cards and tiles; the hand only over real text links; I-beam in text
   fields; "not allowed" on disabled controls; zoom-in on product images.
   Uses the operating system's own cursors (no images). Off in the admin
   panel, when UI_CUSTOM_CURSOR=false, or when the visitor switches it off
   in My account (html.gc-native-cursor = plain browser behaviour).
   ============================================================================= */
@media (hover: hover) and (pointer: fine) {
  /* :where() keeps the lists at low specificity so later, more specific rules win */
  html:not(.gc-native-cursor) body:not(.gc-admin) :where(button, [role="button"], summary, select, label, .btn, [data-bs-toggle], [data-bs-dismiss],
      .form-check-input, .gc-nav-item, .gc-tabbar a, .gc-pcard-link, .gc-cat-icon, .gc-cat, .gc-brand-tile, .gc-quick a, .gc-sidenav-user, .gc-icon-btn,
      .gc-chip, .gc-addr-opt, .gc-install, .gc-cline-install, .gc-co-choice .form-check, .gc-video, .gc-ocard, .gc-file, .gc-contact-item, .page-link,
      .swal2-confirm, .swal2-cancel, .swal2-close, .gc-brand) { cursor: default; }
  html:not(.gc-native-cursor) body:not(.gc-admin) :where(main p a, main li a:not([class]), .gc-prose a, .gc-footer a, .gc-section-link, .breadcrumb a, .form-text a, .gc-co-terms a) { cursor: pointer; }
  html:not(.gc-native-cursor) body:not(.gc-admin) :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="range"]), textarea, [contenteditable="true"]) { cursor: text; }
  html:not(.gc-native-cursor) body:not(.gc-admin) :where(button:disabled, .btn.disabled, .btn:disabled, input:disabled, select:disabled, .is-disabled, .is-disabled *) { cursor: not-allowed; }
  html:not(.gc-native-cursor) body:not(.gc-admin) .gc-gallery-slide button { cursor: zoom-in; }
}
@media not all and (hover: hover) and (pointer: fine) { .gc-pref-cursor { display: none; } }
/* Long e-mail addresses in the footer wrap instead of widening small screens. */
.gc-footer li, .gc-footer a, .gc-footer address { overflow-wrap: anywhere; }
.text-primary { color: var(--gc-red-700) !important; }
/* Imported spec tables sometimes colour values (e.g. "Red" in red); keep them readable. */
.gc-rich td[style*="color"], .gc-rich span[style*="color"], .gc-rich p[style*="color"], .gc-rich font[color] { color: inherit !important; }
