    html.hide-mascot-initial .mascot-chatbot {
      display: none !important;
    }

    :root {
      color-scheme: light only;
      --blue: #0061BF;
      --blue-dark: #004A94;
      --blue-light: #EBF4FF;
      --blue-mid: #2979C8;
      --ink: #0D1117;
      --ink-soft: #374151;
      --muted: #6B7280;
      --line: #E5E7EB;
      --surface: #F9FAFB;
      --white: #FFFFFF;
      --gold: #F59E0B;
      --success: #059669;
      --danger: #DC2626;
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
      --shadow-blue: 0 8px 32px rgba(0, 97, 191, 0.12);
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }



    html,
    body {
      background-color: #FFFFFF !important;
      color-scheme: light !important;
    }

    body {
      margin: 0;
      background-color: var(--surface);
      color: var(--ink);
      font-family: "Inter", Arial, sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.7;
      overflow-x: hidden;
    }

    h1,
    h2,
    .section-title {
      font-family: "Sora", "Inter", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    body.no-scroll {
      overflow: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
      touch-action: manipulation;
    }

    a,
    button,
    [role="button"],
    img,
    .product-card,
    .category-tab,
    .detail-carousel-dot {
      -webkit-tap-highlight-color: transparent;
    }

    :focus:not(:focus-visible) {
      outline: none;
    }

    :focus-visible {
      outline: 3px solid rgba(0, 97, 191, 0.28);
      outline-offset: 3px;
    }

    img {
      -webkit-touch-callout: none;
      -webkit-user-drag: none;
      user-select: none;
    }

    .container {
      width: min(100% - 40px, var(--container));
      margin: 0 auto;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .section {
      padding: 96px 0;
    }

    .eyebrow {
      margin: 0 0 10px;
      color: var(--blue);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .section-title {
      margin: 0;
      color: var(--ink);
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1.18;
    }

    .section-subtitle {
      max-width: 560px;
      margin: 14px auto 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.7;
    }

    .section-heading {
      margin-bottom: 34px;
      text-align: center;
    }

    .btn {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 12px;
      padding: 14px 28px;
      font-size: 15px;
      font-weight: 600;
      line-height: 1;
      transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .btn-primary {
      background: var(--blue);
      color: var(--white);
    }

    .btn-primary:hover {
      background: var(--blue-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 97, 191, 0.25);
    }

    .btn-ghost {
      border: 1.5px solid var(--blue);
      background: transparent;
      color: var(--blue);
    }

    .btn-ghost:hover {
      background: var(--blue);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 97, 191, 0.25);
    }

    .icon-button {
      position: relative;
      display: inline-flex;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--white);
      color: var(--ink-soft);
      transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    }

    .icon-button:hover {
      background-color: rgba(0, 0, 0, 0.04);
      border-color: rgba(0, 0, 0, 0.1);
      color: var(--ink);
    }

    .icon-button i {
      font-size: 22px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 {
      transition-delay: 80ms;
    }

    .reveal-delay-2 {
      transition-delay: 160ms;
    }

    .reveal-delay-3 {
      transition-delay: 240ms;
    }

    /* === Navigation === */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 800;
      border-bottom: 1px solid rgba(0, 97, 191, 0.15);
      background: var(--white);
      box-shadow: none;
      transition: background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
    }

    .site-header.scrolled {
      border-color: rgba(0, 97, 191, 0.25);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: none;
    }

    .nav {
      position: relative;
      display: flex;
      padding: 18px 0;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--ink);
      min-width: 0;
    }

    .brand-mark {
      display: inline-flex;
      width: 46px;
      height: 46px;
      flex: 0 0 46px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(0, 97, 191, 0.14);
      border-radius: 14px;
      background: var(--white);
      overflow: hidden;
    }

    .brand-mark i {
      font-size: 24px;
    }

    .brand-mark img {
      width: 88%;
      height: 88%;
      display: block;
      object-fit: contain;
    }

    .brand-text, .brand .brand-text {
      font-family: "Space Grotesk", sans-serif;
      color: #0D1117 !important;
      font-size: clamp(15px, 2vw, 18px);
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 1.08;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      position: relative;
      color: var(--ink-soft);
      font-size: 15px;
      font-weight: 500;
      padding: 4px 0;
      transition: color 0.2s ease;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--blue);
      border-radius: 99px;
      transition: width 200ms ease;
    }

    .nav-links a:hover {
      color: var(--blue);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .menu-toggle {
      display: none;
      overflow: hidden;
      border-color: rgba(0, 97, 191, 0.14);
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 8px 22px rgba(13, 17, 23, 0.08);
    }

    .menu-toggle-lines {
      position: relative;
      display: block;
      width: 20px;
      height: 14px;
    }

    .menu-toggle-lines::before,
    .menu-toggle-lines::after,
    .menu-toggle-lines span {
      position: absolute;
      left: 0;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      content: "";
      transition: transform 0.24s var(--ease), opacity 0.18s var(--ease), top 0.24s var(--ease);
    }

    .menu-toggle-lines::before {
      top: 0;
    }

    .menu-toggle-lines span {
      top: 6px;
    }

    .menu-toggle-lines::after {
      top: 12px;
    }

    .menu-toggle[aria-expanded="true"] {
      border-color: var(--blue);
      color: var(--blue);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
      top: 6px;
      transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines span {
      opacity: 0;
      transform: translateX(8px);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
      top: 6px;
      transform: rotate(-45deg);
    }

    .cart-badge {
      position: absolute;
      top: -7px;
      right: -7px;
      display: inline-flex;
      min-width: 21px;
      height: 21px;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--white);
      border-radius: 999px;
      background: var(--blue);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      transform-origin: center;
    }

    .cart-badge.bump {
      animation: badgeBump 0.32s var(--ease);
    }

    .mobile-menu {
      position: absolute;
      top: 100%;
      right: 0;
      width: 200px;
      z-index: 999;
      display: grid;
      gap: 6px;
      border: 1px solid rgba(0, 97, 191, 0.12);
      border-radius: 18px;
      background: var(--white);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
      opacity: 0;
      padding: 10px;
      pointer-events: none;
      transform: translateY(-10px) scale(0.98);
      transform-origin: top right;
      transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
      visibility: hidden;
    }

    .mobile-menu.open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(8px) scale(1);
      visibility: visible;
    }

    .mobile-menu a {
      display: flex;
      min-height: 48px;
      align-items: center;
      border-radius: 12px;
      color: var(--ink-soft);
      padding: 0 14px;
      font-size: 15px;
      font-weight: 500;
      transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
    }

    .mobile-menu a+a {
      border-top: 1px solid rgba(13, 17, 23, 0.07);
    }

    .mobile-menu a:hover {
      color: var(--blue);
      background: rgba(0, 97, 191, 0.04);
    }
    .mobile-menu a:hover {
      transform: translateX(2px);
    }

    /* === Hero === */
    .hero {
      position: relative;
      min-height: min(780px, calc(100vh - 104px));
      display: flex;
      align-items: center;
      overflow: hidden;
      padding: clamp(72px, 9vw, 118px) 0;
      isolation: isolate;
      background: var(--ink);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background-image: url("https://ik.imagekit.io/satish44444/store%20image.png");
      background-position: center;
      background-size: cover;
      transform: scale(1.03);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at 18% 22%, rgba(0, 97, 191, 0.54), rgba(0, 97, 191, 0) 34%),
        linear-gradient(90deg, rgba(13, 17, 23, 0.91) 0%, rgba(13, 17, 23, 0.78) 48%, rgba(13, 17, 23, 0.58) 100%);
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
      align-items: center;
      gap: clamp(28px, 6vw, 78px);
    }

    .hero-copy {
      position: relative;
      max-width: 820px;
      color: var(--white);
    }

    .hero-copy>* {
      opacity: 0;
      transform: translateY(24px);
      animation: slideUp 0.65s var(--ease) forwards;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      margin: 0 0 22px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.92);
      padding: 8px 14px;
      backdrop-filter: blur(14px);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
      line-height: 1.2;
      text-transform: uppercase;
      animation-delay: 0ms;
    }

    .hero-eyebrow i {
      color: var(--blue-light);
      font-size: 16px;
    }

    .hero h1 {
      max-width: 820px;
      margin: 0;
      color: var(--white);
      font-size: clamp(2.9rem, 6.4vw, 6.8rem);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 0.98;
      text-wrap: balance;
      text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
      animation-delay: 90ms;
    }

    .hero-line {
      display: block;
    }

    .hero-line-accent {
      color: #9fd0ff;
    }

    .playfair-accent {
      font-family: "Sora", "Inter", sans-serif;
      font-weight: 700;
    }

    .hero-subline {
      max-width: 720px;
      margin: 26px 0 0;
      color: rgba(255, 255, 255, 0.82);
      font-size: clamp(1rem, 1.35vw, 1.18rem);
      font-weight: 400;
      line-height: 1.7;
      animation-delay: 180ms;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 32px;
      animation-delay: 270ms;
    }

    .hero-cta-row .btn-ghost {
      border-color: rgba(255, 255, 255, 0.72);
      background: rgba(255, 255, 255, 0.1);
      color: var(--white);
      backdrop-filter: blur(12px);
    }

    .hero-cta-row .btn-ghost:hover {
      border-color: var(--blue);
      background: var(--blue);
      color: var(--white);
    }

    .hero-trust-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 26px;
      animation-delay: 360ms;
    }

    .hero-trust-badges span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.9);
      padding: 9px 12px;
      backdrop-filter: blur(12px);
      font-size: 13px;
      font-weight: 700;
      line-height: 1;
    }

    .hero-trust-badges i {
      color: #9fd0ff;
      font-size: 17px;
    }

    .hero-proof {
      position: relative;
      min-height: 360px;
    }

    .hero-proof-card {
      position: absolute;
      display: flex;
      align-items: center;
      gap: 12px;
      width: min(100%, 245px);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.13);
      box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
      padding: 16px;
      backdrop-filter: blur(18px);
      color: var(--white);
      animation: softFloat 3.4s ease-in-out infinite;
    }

    .hero-proof-card i {
      color: #9fd0ff;
      font-size: 32px;
    }

    .hero-proof-card strong {
      display: block;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.25;
    }

    .hero-proof-card span {
      display: block;
      margin-top: 2px;
      color: rgba(255, 255, 255, 0.72);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.35;
    }

    .hero-proof-card.card-one {
      top: 34px;
      right: 16px;
    }

    .hero-proof-card.card-two {
      top: 154px;
      left: 10px;
      animation-delay: 0.35s;
    }

    .hero-proof-card.card-three {
      right: 0;
      bottom: 28px;
      animation-delay: 0.7s;
    }

    /* === Stats === */
    .stats-section {
      background: var(--blue);
      color: var(--white);
      padding: 22px 0;
    }

    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .stat-item {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 16px;
      border-right: 1px solid rgba(255, 255, 255, 0.2);
      text-align: left;
      padding: 0 54px;
    }

    .stat-item:last-child {
      border-right: 0;
    }

    .stat-number {
      color: var(--white);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1;
    }

    .stat-label {
      margin-top: 0;
      color: rgba(255, 255, 255, 0.8);
      font-size: 14px;
      line-height: 1.3;
    }

    /* === Catalogue heading — minimal editorial style === */
    .catalogue {
      background: var(--white);
      padding-top: 48px;
      scroll-margin-top: 86px;
    }

    /* No box — sits flat on the page, separated only by a bottom rule */
    .catalogue-heading-custom {
      padding-bottom: 20px;
      margin-bottom: 24px;
      border-bottom: 1px solid var(--line);
    }

    /* Eyebrow: accent dash + label */
    .catalogue-eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 8px;
      color: var(--blue);
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.14em;
      line-height: 1;
      text-transform: uppercase;
    }

    .catalogue-eyebrow-bar {
      display: inline-block;
      width: 20px;
      height: 3px;
      border-radius: 99px;
      background: var(--blue);
      flex-shrink: 0;
    }

    /* Main heading — reduced, still strong */
    .catalogue-main-title {
      margin: 0 0 10px;
      font-family: "Sora", "Inter", sans-serif;
      font-size: clamp(1.8rem, 4vw, 2.4rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--ink);
    }

    .catalogue-title-accent {
      color: var(--blue);
    }

    /* Price note — small plain muted caption */
    .catalogue-price-note {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      margin: 0;
      color: var(--ink-soft);
      font-size: 11.5px;
      font-weight: 400;
      line-height: 1.4;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .catalogue-price-note i {
      font-size: 12px;
      flex-shrink: 0;
      color: var(--ink-soft);
      opacity: 0.7;
    }

    @keyframes iconWobble {
      0%, 100% { transform: rotate(-8deg); }
      50%       { transform: rotate(8deg); }
    }

    .catalogue-tagline {
      margin: 0;
      color: var(--muted);
      font-size: 19px;
      font-weight: 600;
      line-height: 1.4;
      letter-spacing: 0.05em;
    }

    .catalogue-tools {
      position: relative;
      z-index: 30;
      display: flex;
      align-items: center;
      margin-bottom: 18px;
    }

    .search-box {
      position: relative;
      width: 100%;
    }

    .search-box i {
      position: absolute;
      top: 50%;
      left: 14px;
      color: var(--muted);
      font-size: 18px;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .search-box input,
    .form-control {
      width: 100%;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--white);
      color: var(--ink-soft);
      outline: 0;
      transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    }

    .search-box input {
      padding: 0 14px 0 42px;
    }

    .search-box input:focus,
    .form-control:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(0, 97, 191, 0.12);
    }

    /* ── Global search mode: hide drill-down filter rows ── */
    .filters-search-active .category-tabs,
    .filters-search-active .subcategory-tabs,
    .filters-search-active .type-grid {
      display: none !important;
    }

    .category-tabs {
      position: relative;
      z-index: 20;
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
      white-space: nowrap;
    }

    .category-tabs::-webkit-scrollbar {
      display: none;
    }

    .category-tab {
      min-height: 34px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--surface);
      color: var(--ink-soft);
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    }

    .category-tab.active,
    .category-tab:hover {
      border-color: var(--blue);
      background: var(--blue);
      color: var(--white);
    }



    .products-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 20px;
      opacity: 1;
      min-height: 50vh;
      transition: opacity 0.2s var(--ease);
    }

    .products-grid.fading {
      opacity: 0;
    }

    /* ── Task 2: Stacked Filter Navigation ──────────────────────────────── */

    /* Material chips (level 2 — underline tabs, visually lighter than level 1 pills) */
    .subcategory-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-content: flex-start;
      row-gap: 4px;
      column-gap: 0;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--line);
    }

    .material-chip {
      display: inline-flex;
      align-items: center;
      flex: 0 1 auto;
      gap: 6px;
      padding: 10px 12px;        /* slightly less vertical than before */
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      border-radius: 0;
      color: var(--muted);
      font-size: 14px;           /* one step smaller than level-1 pills (13px) */
      font-weight: 500;          /* lighter than level-1's 600 — reads as sub-tier */
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s var(--ease);
    }

    .material-chip i {
      font-size: 16px;           /* was 18px — proportional to smaller font-size */
    }

    .material-chip:hover {
      color: var(--ink);
    }

    .material-chip.active {
      color: var(--blue);
      border-bottom-color: var(--blue);
    }

    .material-chip-count {
      font-size: 12px;
      background: rgba(0, 0, 0, 0.06);
      padding: 2px 8px;
      border-radius: 12px;
      margin-left: 2px;
      font-weight: 700;
      transition: all 0.2s var(--ease);
    }

    .material-chip.active .material-chip-count {
      background: rgba(0, 97, 191, 0.12);
      color: var(--blue);
    }

    /* Type tabs (level 2 for Pipes, level 3 for Fittings) — compact flex-wrap, no scroll */
    .type-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 20px;
    }


    .type-card {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 11px;
      height: 32px;           /* fixed height — every pill is exactly the same tall */
      border: 1px solid var(--line);
      border-radius: 99px;
      background: var(--white);
      color: var(--ink-soft);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;    /* never wrap inside the pill */
      flex-shrink: 0;
      transition: all 0.18s var(--ease);
      animation: productCardIn 0.38s var(--ease) both;
      animation-delay: var(--card-delay, 0ms);
    }

    .type-card i {
      font-size: 14px;
      color: var(--muted);       /* neutral gray on inactive — no blue until selected */
      flex-shrink: 0;
    }

    .type-card:hover {
      border-color: var(--blue);
      background: var(--blue-light);
    }

    .type-card.active {
      /* Softer than level-1's solid blue fill — bg tint + blue border + blue text */
      border-color: var(--blue);
      background: var(--blue-light);
      color: var(--blue);
    }

    .type-card.active i,
    .type-card.active .type-card-count {
      color: var(--blue);        /* stays blue, good contrast on blue-light bg */
      opacity: 1;
    }

    .type-card-count {
      font-size: 10px;
      margin-left: 1px;
      opacity: 0.65;
    }

    /* ── Show-more toggle for type-grid ── */
    .type-grid-more-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 13px;
      height: 32px;
      border: 1px dashed var(--line);
      border-radius: 99px;
      background: transparent;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
    }

    .type-grid-more-btn:hover {
      color: var(--blue);
      border-color: var(--blue);
    }

    .type-grid-more-btn i {
      font-size: 14px;
      transition: transform 0.22s var(--ease);
    }

    .type-grid-more-btn.expanded i {
      transform: rotate(180deg);
    }

    /* ── End Task 2 ─────────────────────────────────────────────────── */

    .product-card {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--white);
      box-shadow: 0 4px 16px rgba(13, 17, 23, 0.07);
      cursor: default;
      animation: productCardIn 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: var(--card-delay, 0ms);
      transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    }

    @keyframes productCardIn {
      from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .product-card:hover {
      border-color: var(--blue);
      box-shadow: 0 8px 24px rgba(0, 97, 191, 0.14);
      transform: translateY(-4px);
    }

    @media (prefers-reduced-motion: reduce) {
      .product-card {
        animation: none;
      }

      .product-detail-page.active .detail-back,
      .product-detail-page.active .detail-hero,
      .product-detail-page.active .detail-section {
        animation: none;
      }
    }

    .product-visual {
      position: relative;
      display: flex;
      aspect-ratio: 1 / 1;
      align-items: center;
      cursor: pointer;
      justify-content: center;
      isolation: isolate;
      background: #DDEAFE;
      border-bottom: 1px solid #C7DCF8;
    }

    .product-visual::before {
      content: none;
    }

    .product-visual::after {
      content: none;
    }

    .product-visual>i {
      position: relative;
      z-index: 1;
      color: var(--blue);
      font-size: 72px;
      opacity: 0.46;
    }

    .product-image {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      filter: none;
      transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
    }

    .product-card:hover .product-image {
      transform: scale(1.04);
      filter: none;
    }

    /* === Quick Add Button === */
    @keyframes qty-bump {
      0% {
        transform: scale(0.85);
        opacity: 0.8;
      }

      50% {
        transform: scale(1.15);
        opacity: 1;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .quick-add-hit-area {
      position: absolute;
      top: 0;
      right: 0;
      min-width: 60px;
      height: 60px;
      z-index: 10;
      display: flex;
      justify-content: flex-end;
      align-items: flex-start;
      padding: 8px;
    }

    .card-quick-add {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
      overflow: hidden;
      height: 32px;
      transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s, border-color 0.2s;
    }

    .card-quick-add.is-add {
      width: 32px;
      color: var(--blue);
      cursor: pointer;
    }

    .card-quick-add.is-add:hover {
      background: var(--blue);
      color: #fff;
      border-color: var(--blue);
    }

    .card-quick-add.is-stepper {
      width: 86px;
      justify-content: space-between;
      border-color: var(--blue);
      background: #fff;
    }

    .card-quick-add-btn {
      width: 28px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      color: inherit;
      cursor: pointer;
      font-size: 14px;
      transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
    }

    .card-quick-add.is-stepper .card-quick-add-btn {
      color: var(--blue);
    }

    .card-quick-add.is-add .add-initial {
      width: 100%;
      height: 100%;
    }

    .card-quick-add-btn:active {
      transform: scale(0.85);
      background: rgba(0, 0, 0, 0.05);
    }

    .card-quick-add-qty {
      font-size: 13px;
      font-weight: 600;
      color: var(--foreground);
      user-select: none;
      display: inline-block;
      animation: qty-bump 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .product-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 2;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.94);
      color: var(--blue);
      padding: 5px 10px;
      box-shadow: 0 4px 12px rgba(0, 17, 38, 0.1);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .product-content {
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 6px;
      /* Super tight consistent gap */
      padding: 14px 18px 18px;
      position: relative;
    }

    .product-name {
      display: -webkit-box;
      min-height: 51px;
      /* Reserves exactly 2 lines of space for perfect grid alignment */
      margin: 0;
      overflow: hidden;
      color: var(--ink);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.4;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      transition: color 0.2s var(--ease);
    }

    .product-name-suffix {
      font-size: 14px;
      color: var(--ink-soft);
      font-weight: 500;
    }

    @media (max-width: 640px) {
      .product-name {
        font-size: 15px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        min-height: 63px;
      }
    }

    .product-card-price {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 0px;
      margin-bottom: 0px;
      flex-wrap: wrap;
    }

    .card-mrp {
      color: #9CA3AF;
      font-size: 13px;
    }

    .card-price {
      color: #15803D;
      font-size: 18px;
      font-weight: 800;
    }

    .card-discount-badge {
      display: inline-block;
      background: #DCFCE7;
      color: #15803D;
      font-size: 11px;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
      line-height: 1.2;
    }

    .product-card:hover .product-name {
      color: var(--blue);
    }

    .product-meta {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 10px;
      margin-top: 10px;
    }

    .price-block {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 6px 9px;
      line-height: 1.2;
    }

    .price-stack {
      display: grid;
      gap: 5px;
    }

    .product-price {
      color: var(--ink);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .price-mrp {
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.3;
    }

    /* MRP strikethrough — custom line so it matches brand style */
    .price-mrp s {
      position: relative;
      display: inline-block;
      text-decoration: none;
    }

    .price-mrp s::after {
      content: "";
      position: absolute;
      left: 0.82em;
      right: 0;
      top: 54%;
      height: 1px;
      border-radius: 999px;
      background: currentColor;
      opacity: 0.72;
      transform: translateY(-50%);
    }

    /* Discount badge (e.g. "40% OFF") shown next to MRP */
    .price-discount-badge {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      border-radius: 6px;
      background: #dcfce7;
      color: #15803d;
      padding: 2px 7px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.02em;
      white-space: nowrap;
      line-height: 1.4;
    }

    .product-detail {
      margin: 12px 0 16px;
      color: var(--ink-soft);
      font-size: 13px;
      font-weight: 500;
      line-height: 1.5;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      flex: 1;
    }

    .product-card-cta {
      display: flex;
      align-items: center;
      margin-top: auto;
      /* Forces button to the exact bottom of the card */
      cursor: pointer;
      width: 100%;
    }

    .product-card-tap-hint {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      gap: 6px;
      color: var(--blue);
      font-size: 14px;
      font-weight: 600;
      background: #EFF6FF;
      padding: 10px 12px;
      border-radius: 10px;
      transition: transform 0.15s var(--ease), background-color 0.2s var(--ease);
      user-select: none;
    }

    .product-card-tap-hint i {
      font-size: 14px;
      transition: transform 0.2s var(--ease);
    }

    .product-card:hover .product-card-tap-hint {
      background: #DBEAFE;
    }

    .product-card:hover .product-card-tap-hint i {
      transform: translateX(4px);
    }

    .product-card-cta:active .product-card-tap-hint {
      transform: scale(0.97);
    }

    .rating {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      color: var(--gold);
      font-size: 12px;
    }

    .quantity-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-top: auto;
      padding-top: 14px;
    }

    .unit-selector-wrap {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .unit-selector-label {
      font-size: 13px;
      font-weight: 700;
      color: var(--ink);
    }

    .unit-toggle-new {
      display: flex;
      position: relative;
      background: #e2e8f0;
      border-radius: 9px;
      padding: 3px;
      gap: 4px;
      width: 100%;
      margin-bottom: 8px;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    }

    .unit-sliding-pill {
      position: absolute;
      top: 3px;
      bottom: 3px;
      width: calc(50% - 5px);
      background: var(--blue);
      border-radius: 7px;
      box-shadow: 0 2px 8px rgba(0, 97, 191, 0.25);
      transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.4, 1);
      z-index: 1;
    }

    .unit-toggle-new:has(input[value="piece"]:checked) .unit-sliding-pill {
      transform: translateX(0);
    }

    .unit-toggle-new:has(input[value="packet"]:checked) .unit-sliding-pill {
      transform: translateX(calc(100% + 4px));
    }

    .product-detail-content {
      transition: opacity 0.2s ease;
    }
    .product-detail-content.switching {
      opacity: 0;
    }

    /* Segmented Control for Variant Group Redirection */
    .variant-group-selector {
      display: flex;
      position: relative;
      gap: 4px;
      background: #e2e8f0;
      border-radius: 9px;
      padding: 3px;
      width: 100%;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    }

    .variant-sliding-pill {
      position: absolute;
      top: 3px;
      bottom: 3px;
      background: var(--blue);
      border-radius: 7px;
      box-shadow: 0 2px 8px rgba(0, 97, 191, 0.25);
      transition: all 0.45s cubic-bezier(0.3, 1.6, 0.4, 1);
      z-index: 1;
    }

    .variant-group-btn {
      position: relative;
      z-index: 2;
      flex: 1;
      padding: 8px 6px;
      font-size: 13px;
      font-weight: 600;
      color: #334155;
      background: transparent;
      border: none;
      border-radius: 7px;
      cursor: pointer;
      transition: color 0.2s ease;
      font-family: inherit;
      text-align: center;
    }

    .variant-group-btn:hover:not(.active) {
      color: var(--blue);
      background: rgba(255, 255, 255, 0.5);
    }

    .variant-group-btn.active {
      color: #ffffff;
      font-weight: 700;
      cursor: default;
    }

    .unit-option {
      flex: 1;
      position: relative;
      cursor: pointer;
      z-index: 2;
      -webkit-tap-highlight-color: transparent;
    }


    .unit-option:active .unit-option-content {
      transform: scale(0.98);
    }

    .unit-option input {
      display: none;
    }

    .unit-option-content {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px 6px;
      font-size: 13px;
      font-weight: 600;
      transition: color 0.2s ease, transform 0.15s ease;
      color: #334155;
      transform-origin: center;
    }

    .unit-toggle-new:has(input[value="piece"]:checked) .unit-option:nth-of-type(1) .unit-option-content,
    .unit-toggle-new:has(input[value="packet"]:checked) .unit-option:nth-of-type(2) .unit-option-content {
      color: #ffffff;
      font-weight: 700;
    }

    .unit-info-box {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #64748b;
      font-size: 13px;
    }

    .unit-info-box i {
      color: var(--blue);
      font-size: 16px;
    }

    .stepper {
      display: inline-flex;
      height: 32px;
      align-items: center;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
    }

    .stepper button {
      display: inline-flex;
      width: 32px;
      height: 32px;
      align-items: center;
      justify-content: center;
      background: var(--white);
      color: var(--ink-soft);
      transition: background 0.2s var(--ease), color 0.2s var(--ease);
    }

    .stepper button:hover {
      background: var(--blue-light);
      color: var(--blue);
    }

    .stepper button i {
      font-size: 14px;
    }

    .quantity-input {
      width: 40px;
      height: 32px;
      border: 0;
      border-right: 1px solid var(--line);
      border-left: 1px solid var(--line);
      color: var(--ink);
      text-align: center;
      outline: 0;
      -moz-appearance: textfield;
      appearance: textfield;
    }

    .quantity-input::-webkit-outer-spin-button,
    .quantity-input::-webkit-inner-spin-button {
      margin: 0;
      appearance: none;
    }

    .add-to-cart {
      width: 100%;
      height: 44px;
      margin-top: 14px;
      border-radius: 10px;
      background: var(--blue);
      color: var(--white);
      font-size: 14px;
      font-weight: 600;
      transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .add-to-cart:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
    }

    .add-to-cart i {
      margin-right: 7px;
      font-size: 17px;
      vertical-align: -3px;
    }

    .empty-state {
      display: none;
      border: 1px dashed var(--line);
      border-radius: 16px;
      padding: 56px 20px;
      text-align: center;
    }

    .empty-state.show {
      display: block;
    }

    .empty-state i {
      color: var(--muted);
      font-size: 64px;
      opacity: 0.55;
    }

    .empty-state h3 {
      margin: 12px 0 4px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
    }

    .clear-search {
      min-height: 44px;
      margin-top: 10px;
      background: transparent;
      color: var(--blue);
      font-weight: 700;
    }

    /* === Services === */
    .services {
      position: relative;
      overflow: hidden;
      background: var(--white);
    }

    .services::before {
      content: "";
      position: absolute;
      top: 82px;
      left: 50%;
      width: min(760px, 80vw);
      height: 260px;
      border-radius: 999px;
      background: rgba(0, 97, 191, 0.035);
      filter: blur(14px);
      transform: translateX(-50%);
      pointer-events: none;
    }

    .services .container {
      position: relative;
      z-index: 1;
    }

    .services-list {
      display: flex;
      flex-direction: column;
      gap: 56px;
    }

    .service-row {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      gap: 64px;
      width: 100%;
    }

    .service-row.reverse {
      flex-direction: row-reverse;
    }

    .service-image-block {
      flex: 0 0 320px;
      border-radius: 16px;
      overflow: hidden;
      background: var(--surface-1);
      aspect-ratio: 4 / 3;
    }

    .service-image-block img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .service-text-block {
      flex: 0 1 auto;
      max-width: 420px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }

    .service-text-block h3 {
      margin: 0;
      color: var(--ink);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.25;
    }

    .service-subtitle {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.5;
    }

    .service-cta-inline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 14px;
      border: 1px solid var(--blue);
      padding: 10px 24px;
      border-radius: 10px;
      background: transparent;
      color: var(--blue);
      font-size: 15px;
      font-weight: 700;
      transition: all 0.2s var(--ease);
      text-decoration: none;
    }

    .service-cta-inline:hover {
      background: var(--blue);
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 97, 191, 0.2);
    }

    /* === Why Choose Us === */
    .why {
      background: var(--surface);
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .feature-card {
      position: relative;
      background: var(--white);
      border: 0.5px solid var(--line);
      border-radius: 16px;
      padding: 24px;
      overflow: hidden;
      z-index: 1;
    }

    .feature-number {
      position: absolute;
      top: 12px;
      right: 16px;
      font-size: 48px;
      font-weight: 500;
      color: var(--blue-light);
      line-height: 1;
      z-index: 0;
      pointer-events: none;
    }

    .feature-icon-badge,
    .feature-card h3,
    .feature-card p {
      position: relative;
      z-index: 2;
    }

    .feature-icon-badge {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
    }

    .feature-icon-badge i {
      color: var(--white);
      font-size: 20px;
    }

    .feature-card h3 {
      margin: 0 0 4px;
      color: var(--ink);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
    }

    .feature-card p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    /* === About === */
    .about {
      background: var(--white);
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
      align-items: center;
      gap: 76px;
    }

    .about-visual-wrap {
      position: relative;
      min-height: 430px;
    }

    .about-visual {
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      width: min(100%, 380px);
      height: 380px;
      border: 1px solid rgba(0, 97, 191, 0.08);
      border-radius: 20px;
      background: var(--blue-light);
      box-shadow: 0 18px 44px rgba(0, 97, 191, 0.12);
      overflow: hidden;
      transform: translate(-50%, -50%);
    }

    .about-store-img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      filter: saturate(1.04) contrast(1.02);
    }

    .about-pill {
      position: absolute;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--white);
      box-shadow: var(--shadow-sm);
      padding: 10px 14px;
      color: var(--ink-soft);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .about-pill i {
      color: var(--blue);
      font-size: 17px;
    }

    .about-pill.blue-pill {
      border-color: var(--blue);
      border-radius: 999px;
      background: var(--blue);
      color: var(--white);
    }

    .about-pill.blue-pill i {
      color: var(--white);
    }

    .pill-customers {
      top: 24px;
      left: 16px;
      z-index: 2;
    }

    .pill-quality {
      top: 140px;
      right: 16px;
      z-index: 2;
    }

    .pill-brands {
      bottom: 24px;
      left: 24px;
      z-index: 2;
    }

    .about-copy .section-title {
      max-width: 520px;
      font-size: clamp(1.6rem, 3vw, 2rem);
    }

    .about-copy p {
      max-width: 590px;
      margin: 18px 0 0;
      color: var(--ink-soft);
      font-size: 16px;
      line-height: 1.7;
    }

    .check-list {
      display: grid;
      gap: 12px;
      margin-top: 24px;
    }

    .check-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--ink-soft);
      font-size: 15px;
      font-weight: 600;
      line-height: 1.5;
    }

    .check-row i {
      color: var(--blue);
      font-size: 20px;
      line-height: 1.4;
    }

    /* === Product Detail Page === */
    .product-detail-page {
      display: none;
      background: var(--white);
      padding: 44px 0 92px;
    }

    .product-detail-page.active {
      display: block;
    }

    .product-detail-page.active .detail-back,
    .product-detail-page.active .detail-hero,
    .product-detail-page.active .detail-section {
      animation: detailPageDropIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .product-detail-page.active .detail-hero {
      animation-delay: 70ms;
    }

    .product-detail-page.active .detail-section {
      animation-delay: 140ms;
    }

    @keyframes detailPageDropIn {
      from {
        opacity: 0;
        transform: translateY(-22px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .detail-back {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      gap: 8px;
      color: var(--blue);
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 22px;
    }

    .detail-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
      gap: 34px;
      align-items: start;
    }

    .detail-gallery {
      display: grid;
      gap: 14px;
    }

    .detail-media-main {
      position: relative;
      display: grid;
      aspect-ratio: 1 / 1;
      place-items: center;
      overflow: hidden;
      border: 1px solid #C7DCF8;
      border-radius: 20px;
      background: #DDEAFE;
    }

    .detail-media-frame {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .detail-media-main::before {
      content: none;
    }

    .detail-media-main img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(1.04) contrast(1.04);
    }

    .detail-media-main i {
      position: relative;
      z-index: 1;
      color: var(--blue);
      font-size: 96px;
      opacity: 0.48;
    }

    .detail-media-main.is-switching .detail-media-frame>* {
      animation: detailMediaSwitch 0.32s var(--ease);
    }

    .detail-carousel-dots {
      position: absolute;
      left: 50%;
      bottom: 16px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.84);
      box-shadow: 0 8px 22px rgba(13, 17, 23, 0.12);
      padding: 7px 9px;
      transform: translateX(-50%);
    }

    .detail-carousel-dot {
      width: 7px;
      height: 7px;
      border: 0;
      border-radius: 999px;
      background: rgba(0, 97, 191, 0.26);
      cursor: pointer;
      padding: 0;
      transition: width 0.22s var(--ease), background 0.22s var(--ease);
    }

    .detail-carousel-dot.active {
      width: 20px;
      background: var(--blue);
    }

    @keyframes detailMediaSwitch {
      from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .detail-panel {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--white);
      box-shadow: var(--shadow-sm);
      padding: 28px;
    }

    .detail-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .detail-chip {
      display: inline-flex;
      min-height: 28px;
      align-items: center;
      gap: 6px;
      border-radius: 999px;
      background: var(--blue-light);
      color: var(--blue);
      padding: 5px 10px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .detail-title {
      margin: 0;
      color: var(--ink);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.05;
    }

    .detail-rating {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .detail-rating .rating {
      font-size: 15px;
    }

    .detail-price {
      margin-top: 18px;
    }

    .detail-price .product-price {
      color: var(--ink);
      font-size: clamp(1.65rem, 3vw, 2.15rem);
      font-weight: 900;
      line-height: 1.1;
    }

    .detail-price .price-mrp {
      font-size: 15px;
    }

    .detail-updated {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      line-height: 1.45;
    }

    .detail-description {
      margin: 16px 0 0;
      color: var(--ink-soft);
      font-size: 15px;
      line-height: 1.75;
    }

    .detail-feature-list {
      display: grid;
      gap: 10px;
      margin: 20px 0 0;
      padding: 0;
      list-style: none;
    }

    .detail-feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.5;
    }

    .detail-feature-list i {
      color: var(--blue);
      font-size: 18px;
      margin-top: 1px;
    }

    .detail-actions {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    /* Task 3: Fittings variant dropdowns */
    .fittings-variant-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
    }

    @media (max-width: 480px) {
      .fittings-variant-row {
        grid-template-columns: 1fr;
      }
    }

    .variant-field {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .variant-field label {
      font-size: 11px;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .variant-select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      height: 42px;
      padding: 0 32px 0 14px;
      border: 2px solid var(--line);
      border-radius: 10px;
      background-color: var(--white);
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s var(--ease);
    }

    .variant-select:focus {
      outline: none;
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(0, 97, 191, 0.15);
    }

    .variant-select:hover {
      border-color: #d1d5db;
    }

    .variant-note {
      display: flex;
      align-items: center;
      gap: 6px;
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.4;
    }

    .variant-note i {
      font-size: 15px;
      flex-shrink: 0;
    }

    /* End Task 3 */


    .detail-qty-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .detail-unit-row {
      display: grid;
      gap: 8px;
      margin-top: 18px;
    }

    .detail-unit-row .unit-toggle {
      width: min(100%, 280px);
      margin-top: 0;
    }

    .detail-qty-label {
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
    }

    .detail-button-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .detail-buy-now,
    .detail-add-cart {
      height: 50px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 800;
    }

    .detail-buy-now {
      background: var(--ink);
      color: var(--white);
    }

    .detail-buy-now:hover {
      background: var(--blue-dark);
    }

    .detail-add-cart {
      background: var(--blue);
      color: var(--white);
    }

    .detail-add-cart:hover {
      background: var(--blue-dark);
    }

    .detail-service-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 18px;
    }

    .detail-service {
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--surface);
      padding: 12px;
      color: var(--ink-soft);
      font-size: 13px;
      font-weight: 700;
    }

    .detail-service i {
      color: var(--blue);
      font-size: 20px;
    }

    .detail-section {
      margin-top: 58px;
    }

    .detail-section h2 {
      margin: 0 0 22px;
      color: var(--ink);
      font-size: clamp(1.45rem, 3vw, 2rem);
      font-weight: 800;
      line-height: 1.2;
    }

    /* ── 1. WHY CHOOSE — vertical timeline ─────────────── */
    .detail-highlight-grid {
      display: flex;
      flex-direction: column;
      position: relative;
      padding-left: 38px;
      gap: 0;
    }

    /* continuous vertical line */
    .detail-highlight-grid::before {
      content: "";
      position: absolute;
      left: 9px;
      top: 10px;
      bottom: 10px;
      width: 2px;
      background: var(--line);
    }

    .detail-highlight {
      position: relative;
      background: transparent;
      border: none;
      border-radius: 0;
      box-shadow: none;
      padding: 14px 0;
    }

    /* icon dot on the line */
    .detail-highlight i {
      position: absolute;
      left: -38px;
      top: 14px;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--blue);
      color: var(--white);
      font-size: 11px;
      z-index: 1;
    }

    .detail-highlight .social-logo {
      position: absolute;
      left: -38px;
      top: 14px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      z-index: 1;
    }

    .detail-highlight h3 {
      margin: 0 0 4px;
      color: var(--ink);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.35;
    }

    .detail-highlight p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    /* ── 2. FAQ — spec-sheet / parts-list style ────────── */
    .faq-list {
      display: flex;
      flex-direction: column;
      background: var(--white);
      border: 0.5px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
    }

    .faq-item {
      border-bottom: 1px dashed var(--line);
      background: transparent;
      overflow: hidden;
    }

    .faq-item:last-child {
      border-bottom: none;
    }

    .faq-question {
      display: flex;
      width: 100%;
      min-height: 0;
      align-items: center;
      gap: 12px;
      background: transparent;
      color: var(--ink);
      padding: 14px 16px;
      font-size: 13.5px;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      transition: background 0.15s var(--ease);
    }

    .faq-question:hover {
      background: var(--surface);
    }

    .faq-question .faq-badge {
      flex: 0 0 22px;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      border: 1px solid var(--line);
      background: transparent;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
      transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
    }

    .faq-item.open .faq-question .faq-badge {
      border-color: var(--blue);
      color: var(--blue);
    }

    .faq-question span {
      flex: 1;
      min-width: 0;
    }

    .faq-question .faq-toggle-icon {
      flex: 0 0 auto;
      color: var(--muted);
      font-size: 16px;
      transition: color 0.2s var(--ease);
    }

    /* hide the wrong icon based on state */
    .faq-question .faq-icon-minus { display: none; }
    .faq-question .faq-icon-plus { display: inline-block; }
    .faq-item.open .faq-question .faq-icon-minus { display: inline-block; }
    .faq-item.open .faq-question .faq-icon-plus { display: none; }

    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      padding: 0 16px 0 50px;
      font-size: 13px;
      line-height: 1.65;
      color: var(--muted);
      transition: grid-template-rows 0.3s var(--ease);
    }

    .faq-answer-inner {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      overflow: hidden;
      padding-bottom: 0;
      opacity: 0;
      transition: padding-bottom 0.3s var(--ease), opacity 0.3s var(--ease);
    }

    .faq-answer .faq-badge-a {
      flex: 0 0 22px;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      background: var(--blue);
      color: var(--white);
      font-size: 11px;
      font-weight: 800;
      line-height: 1;
    }

    .faq-answer-text {
      flex: 1;
      min-width: 0;
    }

    .faq-item.open .faq-answer {
      grid-template-rows: 1fr;
    }

    .faq-item.open .faq-answer-inner {
      padding-bottom: 16px;
      opacity: 1;
    }

    /* ── 3. RELATED PRODUCTS — horizontal scroll carousel ── */
    .detail-related-grid {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 8px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .detail-related-grid::-webkit-scrollbar {
      display: none;
    }

    .detail-related-card {
      flex: 0 0 180px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--white);
      padding: 14px;
      box-shadow: var(--shadow-sm);
      scroll-snap-align: start;
      cursor: pointer;
      transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    }

    .detail-related-card:hover {
      border-color: var(--blue);
      box-shadow: 0 8px 24px rgba(0, 97, 191, 0.14);
      transform: translateY(-3px);
    }

    .detail-related-card h3 {
      margin: 8px 0 4px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
      line-height: 1.3;
    }

    .detail-related-card p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .detail-related-card .price-block {
      margin-top: 6px;
      gap: 4px 5px;
    }

    .detail-related-card .product-price {
      font-size: 14px;
    }

    .detail-related-card .price-mrp {
      font-size: 11px;
    }

    .detail-related-media {
      display: grid;
      aspect-ratio: 1 / 1;
      place-items: center;
      border-radius: 12px;
      background: var(--blue-light);
      overflow: hidden;
      margin-bottom: 8px;
    }

    .detail-related-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .detail-related-media i {
      color: var(--blue);
      font-size: 36px;
      opacity: 0.35;
    }

    /* === Footer === */
    .footer {
      background: var(--ink);
      color: var(--white);
      padding: 64px 0 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 0.9fr 1.1fr;
      gap: 44px;
      padding-bottom: 46px;
    }

    .footer .brand,
    .footer .brand-text {
      color: var(--white);
    }

    .footer p {
      max-width: 310px;
      margin: 16px 0 0;
      color: rgba(255, 255, 255, 0.62);
      font-size: 14px;
      line-height: 1.7;
    }

    .footer h3 {
      margin: 0 0 14px;
      color: var(--white);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.4;
    }

    .footer-links {
      display: grid;
      gap: 10px;
    }

    .footer-links a,
    .contact-link {
      color: rgba(255, 255, 255, 0.7);
      font-size: 14px;
      line-height: 1.5;
      transition: color 0.2s var(--ease);
    }

    .footer-links a:hover,
    .contact-link:hover {
      color: var(--white);
    }

    .contact-link {
      display: flex;
      align-items: flex-start;
      gap: 9px;
    }

    .contact-link i {
      margin-top: 2px;
      color: var(--white);
      font-size: 17px;
    }

    .social-logo {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      object-fit: contain;
    }

    .contact-link .social-logo {
      margin-top: 1px;
    }

    .submit-order .social-logo,
    .mascot-whatsapp-main .social-logo {
      width: 20px;
      height: 20px;
    }

    .detail-service .social-logo {
      width: 20px;
      height: 20px;
    }

    .detail-highlight .social-logo {
      width: 20px;
      height: 20px;
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 20px 0;
      color: rgba(255, 255, 255, 0.5);
      font-size: 13px;
      line-height: 1.5;
    }

    /* === Cart Sidebar === */
    .overlay {
      position: fixed;
      inset: 0;
      z-index: 900;
      display: none;
      background: rgba(0, 0, 0, 0.4);
      opacity: 0;
      transition: opacity 0.25s var(--ease);
    }

    .overlay.open {
      display: block;
      opacity: 1;
    }

    .cart-sidebar {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 1000;
      display: flex;
      width: 420px;
      max-width: 100vw;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      flex-direction: column;
      background: var(--white);
      box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
      transform: translateX(100%);
      transition: transform 0.3s var(--ease);
    }

    .cart-sidebar.open {
      transform: translateX(0);
    }

    .drawer-header,
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .drawer-header {
      border-bottom: 1px solid var(--line);
      padding: 20px 22px;
    }

    .drawer-title {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
      line-height: 1.3;
    }

    .item-count-pill {
      display: inline-flex;
      min-width: 26px;
      height: 26px;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: var(--blue-light);
      color: var(--blue);
      font-size: 12px;
      font-weight: 800;
    }

    .cart-items {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding: 10px 22px;
      overscroll-behavior: contain;
    }

    .cart-empty {
      display: grid;
      min-height: 260px;
      place-items: center;
      color: var(--muted);
      text-align: center;
    }

    .cart-empty i {
      color: var(--line);
      font-size: 58px;
    }

    .cart-empty p {
      margin: 8px 0 0;
      font-weight: 600;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      border-bottom: 1px solid var(--line);
      padding: 16px 0;
    }

    .cart-item h4 {
      margin: 0;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.45;
    }

    .cart-item p {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.4;
    }

    .cart-item strong {
      display: block;
      margin-top: 7px;
      color: var(--blue);
      font-size: 14px;
      line-height: 1.2;
    }

    .remove-item {
      align-self: start;
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--surface);
      color: var(--muted);
      transition: color 0.2s var(--ease), background 0.2s var(--ease);
    }

    .remove-item:hover {
      background: #FEF2F2;
      color: var(--danger);
    }

    .drawer-footer {
      flex: 0 0 auto;
      border-top: 1px solid var(--line);
      background: var(--white);
      padding: 18px 22px max(22px, calc(18px + env(safe-area-inset-bottom)));
    }

    .subtotal-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
      color: var(--ink);
      font-size: 16px;
      font-weight: 700;
    }

    .place-order {
      width: 100%;
      height: 48px;
      border-radius: 12px;
      background: var(--blue);
      color: var(--white);
      font-size: 15px;
      font-weight: 700;
      transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .place-order:hover:not(:disabled) {
      background: var(--blue-dark);
      transform: translateY(-1px);
    }

    .place-order:disabled {
      cursor: not-allowed;
      opacity: 0.55;
    }

    .place-order i {
      margin-right: 7px;
      font-size: 18px;
      vertical-align: -3px;
    }

    /* === Order Modal === */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.4);
      padding: 24px;
    }

    .modal-overlay.open {
      display: flex;
    }

    .order-modal {
      position: relative;
      width: min(100%, 820px);
      max-height: calc(100vh - 48px);
      overflow-y: auto;
      border-radius: 20px;
      background: var(--white);
      padding: 0;
      box-shadow: 0 18px 48px rgba(13, 17, 23, 0.18);
    }

    .modal-header {
      align-items: flex-start;
      border-bottom: 1px solid var(--line);
      padding: 28px 32px 22px;
    }

    .modal-title-row {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .modal-icon {
      display: inline-flex;
      width: 46px;
      height: 46px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      background: var(--blue-light);
      color: var(--blue);
    }

    .modal-icon i {
      font-size: 24px;
    }

    .modal-kicker {
      margin: 0 0 2px;
      color: var(--blue);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.12em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .modal-header h2 {
      margin: 0;
      color: var(--ink);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.25;
    }

    .modal-subtitle {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .order-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
      gap: 28px;
      padding: 28px 32px 32px;
    }

    .field {
      margin-bottom: 16px;
    }

    .field label {
      display: block;
      margin-bottom: 6px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 600;
      line-height: 1.3;
    }

    .form-control {
      height: 48px;
      padding: 0 14px;
    }

    textarea.form-control {
      min-height: 110px;
      resize: vertical;
      padding-top: 11px;
    }

    .form-control.error {
      border-color: var(--danger);
    }

    .error-message {
      min-height: 18px;
      margin-top: 4px;
      color: var(--danger);
      font-size: 12px;
      line-height: 1.4;
    }

    .summary-panel {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      border: 1px solid rgba(0, 97, 191, 0.16);
      border-radius: 18px;
      background: #F8FBFF;
      padding: 18px;
    }

    .summary-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 14px;
    }

    .summary-title {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .summary-title-icon {
      display: inline-flex;
      width: 36px;
      height: 36px;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: var(--white);
      color: var(--blue);
      box-shadow: var(--shadow-sm);
    }

    .summary-title-icon i {
      font-size: 20px;
    }

    .summary-panel h3 {
      margin: 0;
      color: var(--ink);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
    }

    .summary-note {
      margin: 2px 0 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.4;
    }

    .summary-badge {
      flex: 0 0 auto;
      border-radius: 999px;
      background: var(--blue);
      color: var(--white);
      padding: 5px 10px;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.2;
    }

    .summary-list {
      display: grid;
      gap: 10px;
      max-height: 260px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .summary-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      border: 1px solid rgba(0, 97, 191, 0.1);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.88);
      padding: 12px;
      color: var(--ink-soft);
      font-size: 13px;
      line-height: 1.45;
    }

    .summary-item strong {
      display: block;
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
      line-height: 1.35;
    }

    .summary-item-meta {
      margin-top: 5px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.4;
    }

    .summary-item-value {
      align-self: center;
      max-width: 112px;
      color: var(--blue);
      font-size: 13px;
      font-weight: 800;
      line-height: 1.25;
      text-align: right;
    }

    .summary-total {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      border-top: 1px solid rgba(0, 97, 191, 0.14);
      margin-top: auto;
      padding-top: 18px;
      color: var(--ink);
      font-weight: 800;
    }

    .summary-total span:first-child {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .summary-total span:last-child {
      color: var(--ink);
      font-size: clamp(1.05rem, 2vw, 1.35rem);
      line-height: 1.2;
      text-align: right;
    }

    .submit-order {
      width: 100%;
      height: 48px;
      margin-top: 8px;
      border-radius: 12px;
      background: var(--blue);
      color: var(--white);
      font-size: 15px;
      font-weight: 700;
      transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .submit-order:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
    }

    .submit-order:disabled {
      cursor: wait;
      opacity: 0.72;
      transform: none;
    }

    .submit-order i {
      margin-right: 8px;
      font-size: 18px;
      vertical-align: -3px;
    }

    .form-helper {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.5;
    }

    .form-helper i {
      color: var(--success);
      font-size: 17px;
    }

    /* === Floating UI === */
    .toast {
      position: fixed;
      right: 22px;
      bottom: 84px;
      z-index: 1300;
      display: flex;
      min-width: 280px;
      max-width: min(360px, calc(100vw - 40px));
      align-items: center;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--white);
      box-shadow: var(--shadow-blue);
      padding: 13px 15px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
      transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    .toast i {
      color: var(--success);
      font-size: 20px;
    }

    /* === Animations === */
    @keyframes slideUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes softFloat {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes badgeBump {
      0% {
        transform: scale(1);
      }

      45% {
        transform: scale(1.4);
      }

      100% {
        transform: scale(1);
      }
    }

    /* === Responsive === */
    @media (max-width: 980px) {
      .section {
        padding: 76px 0;
      }

      .catalogue {
        padding-top: 40px;
      }

      .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
      }

      .hero {
        min-height: auto;
        padding: 82px 0;
      }

      .hero-grid {
        grid-template-columns: 1fr;
      }

      .hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
      }

      .hero h1,
      .hero-subline {
        margin-right: auto;
        margin-left: auto;
      }

      .hero-cta-row,
      .hero-trust-badges {
        justify-content: center;
      }

      .hero-proof {
        min-height: 170px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 760px;
        margin: 22px auto 0;
      }

      .hero-proof-card {
        position: static;
        width: auto;
        min-width: 0;
      }

      .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
      }

      .stat-item {
        padding: 0 10px;
      }

      .stat-item:nth-child(2) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
      }

      .features-grid {
        grid-template-columns: 1fr;
      }




      .about-visual-wrap {
        min-height: 400px;
        order: 2;
      }

      .about-copy {
        order: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .about-copy .check-list {
        text-align: left;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .order-layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      .container {
        width: min(100% - 32px, var(--container));
      }

      .site-header .container {
        width: min(100% - 20px, var(--container));
      }

      .nav {
        gap: 6px;
      }

      .nav-actions {
        gap: 12px;
      }

      .brand {
        gap: 6px;
        flex: 1;
        flex-shrink: 1;
        min-width: 0;
      }

      .brand-mark {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border-radius: 10px;
      }

      .brand-mark i {
        font-size: 18px;
      }

      .brand-text, .brand .brand-text {
        font-size: 14px !important;
        white-space: nowrap;
        overflow: visible;
        max-width: none;
        line-height: 1.15;
      }

      .nav-links {
        display: none;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .hero {
        min-height: auto;
        padding: 66px 0 70px;
      }

      .hero::before {
        background-position: center top;
        transform: scale(1.05);
      }

      .hero::after {
        background:
          radial-gradient(circle at 50% 12%, rgba(0, 97, 191, 0.42), rgba(0, 97, 191, 0) 42%),
          linear-gradient(180deg, rgba(13, 17, 23, 0.86) 0%, rgba(13, 17, 23, 0.78) 56%, rgba(13, 17, 23, 0.9) 100%);
      }

      .hero-copy {
        max-width: 100%;
      }

      .hero-eyebrow {
        margin-bottom: 18px;
        padding: 8px 11px;
        font-size: 10px;
        letter-spacing: 0.1em;
      }

      .hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 10.6vw, 4.5rem);
        line-height: 1.04;
      }

      .hero-line {
        white-space: normal;
      }

      .hero-subline {
        max-width: 36rem;
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.6;
      }

      .product-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        border-radius: 14px;
        box-shadow: 0 3px 9px rgba(0, 17, 38, 0.08);
        font-size: 8.5px;
        letter-spacing: 0.05em;
      }

      .hero-cta-row {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 26px auto 0;
      }

      .hero-cta-row .btn {
        width: 100%;
        justify-content: center;
      }

      .hero-trust-badges {
        max-width: 360px;
        margin: 22px auto 0;
        gap: 8px;
      }

      .hero-trust-badges span {
        flex: 1 1 145px;
        justify-content: center;
        padding: 9px 10px;
        font-size: 12px;
      }

      .hero-proof {
        display: none;
      }

      .stats-section {
        padding: 24px 0;
      }

      .stat-item {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0 2px;
      }

      .stat-number {
        font-size: 20px;
      }

      .stat-label {
        font-size: 10px;
        margin: 4px auto 0;
        line-height: 1.2;
        padding: 0 4px;
        max-width: 100px;
        text-align: center;
      }

      .catalogue {
        padding-top: 16px;
      }

      .catalogue-heading-custom {
        padding: 0 4px 16px;
        margin-bottom: 20px;
      }

      .catalogue-eyebrow {
        margin-bottom: 10px;
      }

      .catalogue-main-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
      }

      .catalogue-price-note {
        margin-top: 10px;
        white-space: normal;
      }

      .catalogue-tools {
        align-items: stretch;
        flex-direction: column;
      }

      .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .service-row,
      .service-row.reverse {
        flex-direction: column;
        gap: 20px;
      }

      .service-image-block {
        flex: 0 0 auto;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
      }

      .service-text-block {
        flex: 1 1 auto;
        align-items: center;
        text-align: center;
      }

      .product-content {
        padding: 14px;
      }

      .product-image {
        width: 100%;
        height: 100%;
      }

      .quantity-row {
        align-items: flex-start;
        flex-direction: column;
      }

      .stepper {
        width: 100%;
        justify-content: space-between;
      }

      .quantity-input {
        flex: 1;
      }

      .footer-grid,
      .footer-bottom {
        grid-template-columns: 1fr;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
      }

      .cart-sidebar {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        max-height: 100dvh;
      }

      .drawer-header {
        flex: 0 0 auto;
        padding: 18px;
      }

      .cart-items {
        padding: 10px 18px;
      }

      .drawer-footer {
        padding: 16px 18px max(24px, calc(18px + env(safe-area-inset-bottom)));
      }

      .place-order {
        height: 52px;
      }

      .modal-overlay {
        align-items: stretch;
        padding: 0;
      }

      .order-modal {
        width: 100vw;
        max-height: none;
        min-height: 100vh;
        border-radius: 0;
      }

      .modal-header {
        padding: 22px 18px 18px;
      }

      .modal-title-row {
        align-items: flex-start;
      }

      .modal-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
      }

      .order-layout {
        gap: 20px;
        padding: 22px 18px 26px;
      }

      .summary-panel {
        min-height: auto;
      }

      .about-visual-wrap {
        width: 100%;
        max-width: 420px;
        min-height: 380px;
        margin: 0 auto;
      }

      .about-visual {
        width: calc(100% - 48px);
        height: 320px;
      }

      .about-pill {
        max-width: calc(100% - 28px);
        padding: 9px 12px;
        font-size: 12px;
      }

      .pill-customers {
        top: 12px;
        left: 0;
      }

      .pill-quality {
        top: 154px;
        right: 0;
      }

      .pill-brands {
        bottom: 18px;
        left: 0;
      }

      .product-detail-page {
        padding: 28px 0 72px;
      }

      .detail-hero {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .detail-panel {
        padding: 20px;
      }

      .detail-button-row,
      .detail-service-grid {
        grid-template-columns: 1fr;
      }

      .detail-related-card {
        flex: 0 0 150px;
      }

      .detail-carousel-dots {
        bottom: 12px;
      }

      .toast {
        right: 16px;
        bottom: 78px;
      }
    }

    @media (max-width: 420px) {
      .nav-actions {
        gap: 8px;
      }

      .about-visual {
        width: calc(100% - 34px);
        height: 300px;
      }

      .pill-customers {
        left: 0;
      }

      .pill-quality {
        right: 0;
      }
    }

    @media (max-width: 340px) {
      .products-grid {
        grid-template-columns: 1fr;
      }
    }
  
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 86px;
    }

    /* Initial Page Load Animations */
    @keyframes fadeUpPage {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .page-banner {
      animation: fadeUpPage 0.4s ease-out forwards;
    }
    
    .layout-wrapper {
      opacity: 0; /* Starts hidden, revealed by animation */
      animation: fadeUpPage 0.4s ease-out 0.1s forwards;
    }

    /* Scroll Reveal Animation */
    .scroll-section {
      transition: opacity 0.3s ease-out, transform 0.3s ease-out;
      scroll-margin-top: 100px;
    }
    .scroll-section.observe-init {
      opacity: 0;
      transform: translateY(15px);
    }
    .scroll-section.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Header */
    .header {
      background: var(--white);
      border-bottom: 1px solid var(--line);
      position: sticky;
      top: 0;
      z-index: 100;
      padding: 16px 0;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* Banner */
    .page-banner {
      background: var(--blue-dark);
      background-image: linear-gradient(135deg, var(--blue-dark) 0%, #002244 100%);
      padding: 40px 24px 70px;
      text-align: center;
      color: var(--white);
    }
    
    .banner-inner {
      max-width: var(--container);
      margin: 0 auto;
      text-align: left;
    }
    
    .banner-text-center {
      text-align: center;
    }

    .page-banner h1 {
      font-family: 'Sora', sans-serif;
      font-size: 42px;
      font-weight: 800;
      margin: 0 0 16px;
      letter-spacing: -0.02em;
    }

    .last-updated-text {
      color: var(--muted);
      font-size: 14px;
      margin-bottom: 24px;
      font-style: italic;
    }

    /* Content Layout */
    .layout-wrapper {
      max-width: var(--container);
      margin: -30px auto 80px;
      padding: 0 24px;
      position: relative;
      z-index: 10;
    }

    
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--white);
      text-decoration: none;
      font-weight: 600;
      margin-bottom: 24px;
      transition: opacity 0.2s, transform 0.15s ease-out;
    }
    .back-link:hover { 
      opacity: 0.8; 
    }
    @media (hover: hover) {
      .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
    }
    .back-link:active {
      transform: scale(0.96);
      opacity: 0.7;
    }

    /* Refined Legal Content Styles */
    .content-box {
      background: var(--white);
      border-radius: 20px;
      padding: 60px 80px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.02);
      border: 1px solid var(--line);
      margin: 0 auto;
    }

    .content-box h2 {
      font-family: 'Sora', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: var(--ink);
      margin: 56px 0 24px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--line);
      line-height: 1.4;
      position: relative;
    }

    .content-box h2::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 60px;
      height: 2px;
      background: var(--blue);
    }

    .content-box h2:first-of-type {
      margin-top: 0;
    }

    .content-box h3 {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      margin: 32px 0 16px;
      line-height: 1.4;
    }

    .content-box p {
      margin: 0 0 20px;
      font-size: 16px;
      line-height: 1.8;
      color: var(--ink-soft);
    }

    .content-box strong {
      color: var(--ink);
      font-weight: 600;
    }

    .content-box ul,
    .content-box ol {
      margin: 20px 0 24px;
      padding-left: 0;
      list-style: none;
    }

    .content-box li {
      position: relative;
      margin-bottom: 12px;
      padding-left: 28px;
      font-size: 16px;
      line-height: 1.7;
      color: var(--ink-soft);
    }

    .content-box ul li::before {
      content: '';
      position: absolute;
      left: 8px;
      top: 10px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--blue);
      box-shadow: 0 0 0 3px var(--blue-light);
    }

    .content-box table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin: 32px 0;
      font-size: 15px;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }

    .content-box th,
    .content-box td {
      padding: 16px 20px;
      text-align: left;
      border-bottom: 1px solid var(--line);
    }

    .content-box tr:last-child td {
      border-bottom: none;
    }

    .content-box th {
      background-color: #F8FAFC;
      font-weight: 600;
      color: var(--ink);
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 0.5px;
      border-right: 1px solid var(--line);
    }
    .content-box th:last-child {
      border-right: none;
    }

    .content-box td {
      color: var(--ink-soft);
      line-height: 1.6;
      border-right: 1px solid var(--line);
    }
    .content-box td:last-child {
      border-right: none;
    }

    .content-box tr:hover td {
      background-color: #F8FAFC;
    }

    .content-box blockquote {
      margin: 32px 0;
      padding: 24px 32px;
      border-left: 4px solid var(--blue);
      background: linear-gradient(90deg, var(--blue-light) 0%, rgba(239,246,255,0.3) 100%);
      color: var(--ink);
      font-size: 16px;
      font-style: italic;
      line-height: 1.8;
      border-radius: 0 12px 12px 0;
      position: relative;
    }

    .content-box blockquote p {
      margin: 0;
      color: var(--ink);
    }
    
    .content-box blockquote strong {
      color: var(--blue-dark);
    }

    /* Footer */
    .footer {
      background: var(--ink);
      color: rgba(255, 255, 255, 0.7);
      padding: 60px 24px 30px;
    }
    .footer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer .brand-text { color: var(--white); }
    .footer h3 {
      color: var(--white);
      font-family: 'Sora', sans-serif;
      font-size: 16px;
      margin: 0 0 20px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s var(--ease);
    }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 20px;
      font-size: 13px;
    }

    @media (max-width: 768px) {
      .page-banner { padding: 30px 20px 80px; }
      .page-banner h1 { font-size: 30px; }
      .back-link {
        font-size: 13px;
        opacity: 0.85;
        font-weight: 500;
        margin-bottom: 32px;
      }
      .layout-wrapper { margin-top: -50px; }
      .content-box { padding: 30px 24px; }
      .footer-grid { grid-template-columns: 1fr; gap: 30px; }
      .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
      .toc-grid { grid-template-columns: 1fr; }
    }

/* === APPENDED: Mascot Chatbot Styles === */
    /* === Mascot Chatbot Widget === */
    .mascot-chatbot {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 2000;
      font-family: "Inter", sans-serif;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    body.no-scroll .mascot-chatbot {
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px) scale(0.92);
      visibility: hidden;
    }

    .mascot-button {
      position: relative;
      display: grid;
      width: 66px;
      height: 66px;
      place-items: center;
      border: 0;
      border-radius: 50%;
      background: linear-gradient(135deg, #fcd34d, #f59e0b);
      box-shadow: 0 12px 30px rgba(0, 97, 191, 0.26), inset 0 -4px 12px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      animation: mascotFloat 2.8s ease-in-out infinite;
      transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mascot-button::before {
      position: absolute;
      inset: -6px;
      border: 2px solid rgba(245, 158, 11, 0.4);
      border-radius: 50%;
      animation: mascotPulse 2.4s ease-out infinite;
      content: "";
    }

    .mascot-button::after {
      position: absolute;
      right: 2px;
      bottom: 2px;
      width: 14px;
      height: 14px;
      border: 3px solid #ffffff;
      border-radius: 50%;
      background: #10b981;
      box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
      content: "";
    }

    .mascot-button:hover {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 16px 38px rgba(0, 97, 191, 0.32), inset 0 -4px 12px rgba(0, 0, 0, 0.1);
    }

    .mascot-button img {
      width: 58px;
      height: 58px;
      object-fit: contain;
      pointer-events: none;
      transform: scale(1.15) translateY(-4px);
    }

    .mascot-hello-badge {
      position: absolute;
      right: 56px;
      bottom: 48px;
      min-width: max-content;
      border: 1px solid rgba(0, 97, 191, 0.14);
      border-radius: 999px;
      background: #ffffff;
      box-shadow: 0 10px 26px rgba(13, 17, 23, 0.12);
      color: #0d1117;
      font-size: 14px;
      font-weight: 600;
      line-height: 1;
      padding: 10px 14px;
      opacity: 1;
      transform-origin: bottom right;
      animation: badgeWiggle 2.5s ease-in-out infinite;
      transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
      visibility: visible;
      white-space: nowrap;
    }

    .mascot-hello-badge.hide {
      opacity: 0;
      transform: translateY(8px);
      visibility: hidden;
    }

    .mascot-panel {
      position: absolute;
      right: 0;
      bottom: 84px;
      width: 300px;
      max-width: calc(100vw - 32px);
      max-height: calc(100dvh - 112px);
      overflow: hidden;
      border: 1px solid #e5e7eb;
      border-radius: 20px;
      background: #ffffff;
      box-shadow: 0 22px 54px rgba(13, 17, 23, 0.18);
      opacity: 0;
      pointer-events: none;
      transform: translateY(16px) scale(0.96);
      transform-origin: bottom right;
      transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mascot-chatbot.open .mascot-panel {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }

    .mascot-panel-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      background: #ffffff;
      padding: 16px;
      border-bottom: 1px solid #f1f5f9;
    }

    .mascot-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .mascot-avatar-wrap {
      position: relative;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #ebf4ff;
      border: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: none !important;
      filter: none !important;
    }

    .mascot-avatar-wrap img {
      width: 32px;
      height: auto;
      box-shadow: none !important;
      filter: none !important;
    }

    .mascot-online-dot {
      position: absolute;
      bottom: 0px;
      right: 0px;
      width: 10px;
      height: 10px;
      background: #10b981;
      border: 2px solid #ffffff;
      border-radius: 50%;
    }

    .mascot-panel-title {
      font-family: "Space Grotesk", sans-serif;
      margin: 0;
      color: #0f172a;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.2;
    }

    .mascot-panel-status {
      display: block;
      margin-top: 2px;
      color: #64748b;
      font-size: 12px;
      font-weight: 600;
    }

    .mascot-close {
      display: grid;
      width: 32px;
      height: 32px;
      place-items: center;
      background: transparent;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      font-size: 16px;
      font-weight: 800;
      border-radius: 50%;
      transition: background 0.2s, color 0.2s;
    }

    .mascot-close:hover {
      background: #f1f5f9;
      color: #0f172a;
    }

    .mascot-banner {
      position: relative;
      background: linear-gradient(180deg, #eaf3ff 0%, #ffffff 100%);
      padding: 16px 16px 20px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      border-bottom: 1px solid #f1f5f9;
    }

    .mascot-bubble {
      padding: 8px 14px;
      border-radius: 14px;
      font-size: 12px;
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      width: fit-content;
      position: relative;
    }

    .bubble-1 {
      background: #ffffff;
      color: #0f172a;
      transform: rotate(-4deg);
      z-index: 2;
      align-self: flex-start;
      margin-left: 10px;
    }

    .bubble-2 {
      background: var(--blue);
      color: #ffffff;
      transform: rotate(3deg);
      z-index: 3;
      margin-top: -8px;
      align-self: flex-end;
      margin-right: 10px;
    }

    .mascot-panel-body {
      display: flex;
      flex-direction: column;
      gap: 12px;
      background: #f8fafc;
      max-height: calc(100dvh - 280px);
      overflow-y: auto;
      padding: 12px;
    }

    .mascot-date-divider {
      display: flex;
      align-items: center;
      text-align: center;
      color: #94a3b8;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .mascot-date-divider::before,
    .mascot-date-divider::after {
      content: "";
      flex: 1;
      border-bottom: 1px solid #e2e8f0;
    }

    .mascot-date-divider span {
      padding: 0 10px;
    }

    .mascot-bot-message {
      display: flex;
      align-items: flex-end;
      gap: 8px;
    }

    .bot-avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      padding: 2px;
    }

    .bot-bubble {
      background: #ffffff;
      color: #0f172a;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.4;
      padding: 8px 12px;
      border-radius: 14px 14px 14px 4px;
      border: 1px solid #e2e8f0;
      max-width: 85%;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .mascot-quick-links {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
      margin-top: 4px;
    }

    .mascot-quick-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: #ffffff;
      color: #0f172a;
      padding: 8px 12px;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, border-color 0.2s ease;
      width: fit-content;
      max-width: 90%;
    }

    .mascot-quick-link:hover {
      border-color: var(--blue);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .quick-link-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .mascot-quick-link .ph-caret-right {
      color: #94a3b8;
      font-size: 14px;
    }

    .quick-link-left i:not(.ph-caret-right) {
      color: var(--blue);
      font-size: 18px;
    }

    .mascot-whatsapp-main {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
      border: none;
      border-radius: 12px;
      background: #16a34a;
      color: #ffffff;
      padding: 10px 15px;
      font-size: 14px;
      font-weight: 800;
      text-decoration: none;
      transition: transform 0.2s ease, background 0.2s ease;
      box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
    }

    .mascot-whatsapp-main:hover {
      background: #15803d;
      transform: translateY(-1px);
    }

    .mascot-whatsapp-main i {
      font-size: 20px;
    }

    @keyframes badgeWiggle {

      0%,
      100% {
        transform: rotate(-3deg);
      }

      50% {
        transform: rotate(3deg);
      }
    }

    @keyframes mascotFloat {

      0%,
      100% {
        transform: translateY(0) rotate(0deg);
      }

      50% {
        transform: translateY(-8px) rotate(4deg);
      }
    }

    @keyframes mascotPulse {
      0% {
        opacity: 0.45;
        transform: scale(0.92);
      }

      70% {
        opacity: 0;
        transform: scale(1.12);
      }

      100% {
        opacity: 0;
        transform: scale(1.12);
      }
    }

    @media (max-width: 520px) {
      .mascot-chatbot {
        right: 14px;
        bottom: 14px;
      }

      .mascot-button {
        width: 54px;
        height: 54px;
        box-shadow: 0 9px 22px rgba(0, 97, 191, 0.22), 0 0 0 5px rgba(235, 244, 255, 0.88);
      }

      .mascot-button::before {
        inset: -5px;
      }

      .mascot-button::after {
        right: 4px;
        bottom: 5px;
        width: 10px;
        height: 10px;
        border-width: 2px;
      }

      .mascot-button img {
        width: 47px;
        height: 47px;
      }

      .mascot-panel {
        right: 0;
        bottom: 72px;
        width: 280px;
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 104px);
        border-radius: 18px;
      }

      .mascot-panel-body {
        max-height: calc(100dvh - 180px);
      }

      .mascot-hello-badge {
        right: 44px;
        bottom: 40px;
        font-size: 12px;
        padding: 8px 11px;
      }
    }

    body:has(.product-detail-page.active) .mascot-chatbot {
      display: none !important;
    }

/* === APPENDED: Cookie Consent Styles === */
    /* === Cookie Consent === */
    .cookie-consent {
      position: fixed;
      left: 24px;
      bottom: 24px;
      z-index: 2100;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 14px;
      width: min(640px, calc(100vw - 48px));
      border: 1px solid rgba(0, 97, 191, 0.14);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 18px 48px rgba(13, 17, 23, 0.16);
      color: var(--ink-soft);
      opacity: 0;
      padding: 16px;
      pointer-events: none;
      transform: translateY(18px);
      transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s var(--ease);
      visibility: hidden;
    }

    .cookie-consent.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
      visibility: visible;
    }

    .cookie-icon {
      display: grid;
      width: 42px;
      height: 42px;
      place-items: center;
      border-radius: 12px;
      background: var(--blue-light);
      color: var(--blue);
      font-size: 22px;
    }

    .cookie-copy strong {
      display: block;
      margin-bottom: 3px;
      color: var(--ink);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
    }

    .cookie-copy span {
      display: block;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .cookie-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cookie-btn {
      min-height: 42px;
      border-radius: 10px;
      padding: 10px 16px;
      font-size: 13px;
      font-weight: 800;
      transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .cookie-btn:hover {
      transform: translateY(-1px);
    }

    .cookie-reject {
      border: 1px solid var(--line);
      background: var(--white);
      color: var(--ink-soft);
    }

    .cookie-reject:hover {
      border-color: var(--blue);
      color: var(--blue);
    }

    .cookie-accept {
      border: 1px solid var(--blue);
      background: var(--blue);
      color: var(--white);
    }

    .cookie-accept:hover {
      border-color: var(--blue-dark);
      background: var(--blue-dark);
    }

    @media (max-width: 640px) {
      .cookie-consent {
        left: 14px;
        right: 14px;
        bottom: 14px;
        grid-template-columns: auto 1fr;
        width: auto;
        gap: 12px;
        padding: 14px;
      }

      .cookie-actions {
        grid-column: 1 / -1;
        width: 100%;
      }

      .cookie-btn {
        flex: 1;
      }
    }

    /* === Anchor Scroll Offsets === */
    /* Ensures sections jumped to via nav links don't hide behind the sticky header */
    #home,
    #products,
    #about,
    #contact {
      scroll-margin-top: 86px;
    }

