
    :root {
      --navy: #1b2138;
      --navy-light: #2a3150;
      --cream: #faf9f7;
      --card-bg: #f2f0ec;
      --text-dark: #1b2138;
      --text-muted: #6b7280;
      --trust-green: #1cbf6f;
      --accent-gold: #d99b26;
      --red: #b91c1c;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-dark);
      background: var(--cream);
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

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

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button {
      font-family: inherit;
    }

    /* ---------- HEADER ---------- */
    header {
      background: var(--navy);
      color: #fff;
      padding: 16px 32px;
      position: sticky;
      top: 0;
      z-index: 200;
    }

    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      text-decoration: none;
    }

    .logo-img {
      height: 42px;
      width: auto;
      object-fit: contain;
      border-radius: 6px;
    }

    .logo-text {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 22px;
      color: #ffffff;
      letter-spacing: 0.5px;
    }

    nav {
      position: relative;
    }

    .nav-links {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .nav-item {
      background: none;
      border: none;
      color: #fff;
      font-size: 15px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
      opacity: .92;
      cursor: pointer;
      padding: 10px 14px;
      border-radius: 10px;
      transition: background .15s, opacity .15s;
    }

    .nav-item:hover,
    .nav-item.active {
      opacity: 1;
      background: rgba(255, 255, 255, .14);
    }

    .chev {
      font-size: 11px;
      opacity: .7;
      transition: transform .15s;
    }

    .nav-item.active .chev {
      transform: rotate(180deg);
    }

    .dropdown {
      position: absolute;
      top: calc(100% + 10px);
      background: #fff;
      color: var(--text-dark);
      border-radius: 16px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
      padding: 10px;
      min-width: 200px;
      display: none;
      flex-direction: column;
      gap: 4px;
      z-index: 250;
    }

    .dropdown.open {
      display: flex;
    }

    .dropdown a {
      padding: 11px 16px;
      border-radius: 10px;
      font-size: 14.5px;
      font-weight: 600;
      transition: background .15s, color .15s;
      color: var(--navy);
    }

    .dropdown a:hover {
      background: var(--card-bg);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .cart-btn {
      background: var(--navy-light);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 30px;
      padding: 9px 18px;
      font-size: 14.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #fff;
      cursor: pointer;
      transition: background .15s;
    }

    .cart-btn:hover {
      background: rgba(255, 255, 255, .15);
    }

    .cart-badge {
      background: var(--trust-green);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 26px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 8px;
    }

    .menu-toggle:hover {
      background: rgba(255, 255, 255, .1);
    }

    /* ---------- HERO ---------- */
    .hero {
      padding: 50px 32px 60px;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 40px;
      align-items: center;
    }

    .hero h1 {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 46px;
      line-height: 1.12;
      letter-spacing: -.5px;
      margin-bottom: 18px;
    }

    .hero p {
      color: var(--text-muted);
      font-size: 16px;
      line-height: 1.6;
      max-width: 440px;
      margin-bottom: 28px;
    }

    .hero-buttons {
      display: flex;
      gap: 14px;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }

    .btn-dark {
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 14px 28px;
      border-radius: 30px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: transform .15s, background .15s;
    }

    .btn-dark:hover {
      background: var(--navy-light);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid #d8d6d0;
      color: var(--text-dark);
      padding: 14px 24px;
      border-radius: 30px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: background .15s, transform .15s;
    }

    .btn-outline:hover {
      background: #f0eee9;
      transform: translateY(-2px);
    }

    .social-proof {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .avatars {
      display: flex;
    }

    .avatars img {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 2.5px solid var(--cream);
      object-fit: cover;
      margin-left: -10px;
    }

    .avatars img:first-child {
      margin-left: 0;
    }

    .customer-count {
      font-size: 13.5px;
    }

    .customer-count b {
      display: block;
      font-size: 15px;
    }

    .customer-count span {
      color: var(--text-muted);
      font-size: 12.5px;
    }

    .hero-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      height: 380px;
    }

    .hero-card {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    }

    .hero-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .3s;
    }

    .hero-card:hover img {
      transform: scale(1.06);
    }

    .hero-card .tag {
      position: absolute;
      left: 16px;
      bottom: 16px;
      color: #fff;
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 17px;
      line-height: 1.2;
      text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
    }

    /* ---------- SECTION POPULAR PRODUCTS ---------- */
    .section {
      padding: 40px 32px 60px;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }

    .section-head h2 {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 32px;
    }

    .see-all-btn {
      font-size: 14.5px;
      font-weight: 700;
      color: var(--navy);
      border-bottom: 2px solid var(--navy);
      padding-bottom: 2px;
      background: none;
      border-top: none;
      border-left: none;
      border-right: none;
      cursor: pointer;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .product-card {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform .2s;
    }

    .product-card:hover {
      transform: translateY(-3px);
    }

    .product-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .badge {
      background: #fff;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 14px;
      color: var(--navy);
    }

    .rating {
      font-size: 13px;
      font-weight: 700;
      color: var(--accent-gold);
    }

    /* PRODUCT IMAGE FITTING CARD FRAME PERFECTLY */
    .product-img {
      height: 200px;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      margin: 14px 0;
      cursor: pointer;
      background: #e8e5df;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
      transition: transform .25s;
    }

    .product-card:hover .product-img img {
      transform: scale(1.06);
    }

    .product-info h3 {
      font-size: 16.5px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .product-info p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 14px;
    }

    .product-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 10px;
      border-top: 1px solid rgba(0, 0, 0, .06);
    }

    .product-price {
      font-size: 18px;
      font-weight: 700;
    }

    .btn-add {
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 9px 16px;
      border-radius: 18px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
    }

    .btn-add:hover {
      background: var(--navy-light);
    }

    .stock-out {
      color: var(--red);
      font-weight: 700;
      font-size: 14px;
      display: flex;
      align-items: center;
    }

    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 30px;
    }

    .pagination button {
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border: 1px solid #d8d6d0;
      border-radius: 10px;
      background: #fff;
      color: var(--navy);
      font-weight: 700;
      cursor: pointer;
    }

    .pagination button:hover:not(:disabled),
    .pagination button.active {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }

    .pagination button:disabled {
      opacity: .4;
      cursor: not-allowed;
    }

    .pagination .ellipsis {
      color: var(--text-muted);
      padding: 0 3px;
    }

    /* ---------- POUR QUI SECTION (SIMPLE CATEGORIES) ---------- */
    .audience-section {
      background: #fff;
      padding: 50px 32px;
      border-top: 1px solid #eae8e3;
      border-bottom: 1px solid #eae8e3;
    }

    .audience-wrap {
      text-align: center;
    }

    .audience-wrap h2 {
      font-family: 'Fraunces', serif;
      font-size: 32px;
      margin-bottom: 10px;
    }

    .audience-wrap p {
      color: var(--text-muted);
      font-size: 15px;
      max-width: 500px;
      margin: 0 auto 36px;
    }

    .audience-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .audience-card {
      background: var(--card-bg);
      border-radius: 20px;
      padding: 30px 24px;
      text-align: center;
      cursor: pointer;
      border: none;
      transition: transform .2s, box-shadow .2s;
    }

    .audience-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    }

    .audience-icon {
      font-size: 42px;
      margin-bottom: 14px;
      display: block;
    }

    .audience-card h3 {
      font-family: 'Fraunces', serif;
      font-size: 22px;
      margin-bottom: 6px;
    }

    .audience-card p {
      font-size: 13.5px;
      color: var(--text-muted);
      margin: 0;
    }

    /* ABOUT SECTION */
    .about-section {
      padding: 50px 32px;
    }

    .about-box {
      background: var(--navy);
      color: #fff;
      border-radius: 24px;
      padding: 40px 36px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: center;
    }

    .about-box h2 {
      font-family: 'Fraunces', serif;
      font-size: 32px;
      margin-bottom: 12px;
    }

    .about-box p {
      color: rgba(255, 255, 255, .8);
      font-size: 15px;
      line-height: 1.6;
    }

    .about-features {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .about-feature {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 15px;
      font-weight: 600;
    }

    .about-feature span {
      background: rgba(255, 255, 255, .15);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    footer {
      text-align: center;
      padding: 28px 20px;
      font-size: 13px;
      color: var(--text-muted);
      background: #fff;
      border-top: 1px solid #eae8e3;
      margin-top: auto;
    }

    /* ---------- MODALS & CART DRAWER ---------- */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(20, 22, 35, .55);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s;
      z-index: 300;
    }

    .overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -46%);
      background: #fff;
      border-radius: 24px;
      padding: 36px;
      width: min(460px, 92vw);
      z-index: 400;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      max-height: 88vh;
      overflow-y: auto;
    }

    .modal.open {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%);
    }

    .modal h3 {
      font-family: 'Fraunces', serif;
      font-size: 24px;
      margin-bottom: 8px;
    }

    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--card-bg);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
    }

    /* ENLARGED & HIGHLY VISIBLE QUICK VIEW MODAL */
    #modal-quickview {
      width: min(1100px, 96vw);
      padding: 48px;
    }

    .qv-body {
      display: flex;
      gap: 46px;
      align-items: center;
    }

    .qv-img {
      flex: 0 0 480px;
      width: 480px;
      height: 420px;
      background: var(--card-bg);
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .qv-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .qv-nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      color: var(--navy);
      border: none;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      cursor: pointer;
      font-size: 26px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 5;
      box-shadow: 0 4px 14px rgba(0,0,0,0.15);
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .qv-nav-arrow:hover {
      background: #ffffff;
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    .qv-nav-arrow.prev-arrow { left: -14px; }
    .qv-nav-arrow.next-arrow { right: -14px; }

    #qv-thumbnails {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 16px;
      justify-content: center;
    }

    .qv-thumb {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color 0.2s, transform 0.2s;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    
    .qv-thumb:hover, .qv-thumb.active {
      border-color: var(--navy);
      transform: translateY(-2px);
    }

    .qv-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .qv-info .code {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 6px;
      color: var(--navy);
    }

    .qv-info .public {
      color: var(--text-muted);
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 12px;
    }

    .qv-description {
      margin: 10px 0 16px;
      font-size: 14.5px;
      line-height: 1.6;
      white-space: pre-wrap;
      color: #374151;
      background: #f8f7f4;
      padding: 14px 18px;
      border-radius: 12px;
      border-left: 4px solid var(--navy);
      font-weight: 400;
    }

    .qv-info .price {
      font-size: 34px;
      font-weight: 800;
      margin-bottom: 8px;
      color: var(--navy);
    }

    .qv-stock {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .qv-stock.is-out {
      color: #b91c1c;
    }

    .qty-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    .qty-row button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1.5px solid #d0cecb;
      background: #fff;
      cursor: pointer;
      font-size: 20px;
      font-weight: 600;
      transition: background .15s;
    }

    .qty-row button:hover {
      background: var(--card-bg);
    }

    .qty-row button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .qty-row span {
      font-weight: 700;
      min-width: 24px;
      text-align: center;
      font-size: 18px;
    }

    .qv-info .btn-dark {
      padding: 16px 28px;
      font-size: 16px;
      border-radius: 30px;
    }

    /* CART DRAWER */
    #cart-drawer {
      position: fixed;
      top: 0;
      right: -420px;
      width: 400px;
      max-width: 92vw;
      height: 100%;
      background: #fff;
      z-index: 400;
      padding: 28px 24px;
      box-shadow: -14px 0 40px rgba(0, 0, 0, .12);
      transition: right .25s ease;
      display: flex;
      flex-direction: column;
    }

    #cart-drawer.open {
      right: 0;
    }

    .cart-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .cart-head h3 {
      font-family: 'Fraunces', serif;
      font-size: 22px;
    }

    #cart-items {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .cart-empty {
      color: var(--text-muted);
      font-size: 14px;
      text-align: center;
      margin-top: 60px;
    }

    .cart-line {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .cart-line .thumb {
      width: 56px;
      height: 56px;
      background: var(--card-bg);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 56px;
      overflow: hidden;
    }

    .cart-line .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .cart-line .meta {
      flex: 1;
    }

    .cart-line .meta .name {
      font-size: 14px;
      font-weight: 700;
    }

    .cart-line .meta .sub {
      font-size: 12.5px;
      color: var(--text-muted);
      margin: 2px 0;
    }

    .cart-line .remove {
      background: #fef2f2;
      border: 1px solid #fecaca;
      color: #b91c1c;
      cursor: pointer;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 8px;
      margin-top: 6px;
      transition: background .15s;
    }

    .cart-line .remove:hover {
      background: #fee2e2;
    }

    .cart-qty {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 6px;
    }

    .cart-qty button {
      width: 26px;
      height: 26px;
      border: 1px solid #e8e5df;
      background: #fff;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cart-qty button:hover {
      background: var(--card-bg);
    }

    .cart-qty button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .cart-qty span {
      font-size: 13px;
      font-weight: 600;
      min-width: 18px;
      text-align: center;
    }

    .cart-foot {
      border-top: 1px solid #f0eee9;
      padding-top: 18px;
      margin-top: 14px;
    }

    .cart-total {
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    #toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--navy);
      color: #fff;
      padding: 13px 26px;
      border-radius: 30px;
      font-size: 14px;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      z-index: 500;
    }

    #toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ---------- MOBILE RESPONSIVE OPTIMIZATION & HEADER FIX ---------- */
    @media(max-width:960px) {
      header {
        position: relative;
        padding: 14px 20px;
      }

      nav {
        position: static;
      }

      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 18px 24px;
        gap: 12px;
        display: none;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
        border-top: 1px solid rgba(255, 255, 255, .1);
        z-index: 250;
      }

      .nav-links.mobile-open {
        display: flex;
      }

      .nav-item {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 16px;
        background: rgba(255, 255, 255, .08);
        border-radius: 12px;
      }

      .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, .25);
        border-radius: 12px;
        padding: 8px;
        margin-top: 6px;
      }

      .dropdown a {
        color: #fff;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
      }

      .dropdown a:hover {
        background: rgba(255, 255, 255, .15);
      }

      .hero {
        grid-template-columns: 1fr;
        padding: 30px 20px;
      }

      .hero h1 {
        font-size: 34px;
      }

      .hero-cards {
        height: 280px;
      }

      .section,
      .audience-section,
      .about-section {
        padding-left: 20px;
        padding-right: 20px;
      }

      .products-grid,
      .audience-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }

      #modal-quickview {
        padding: 34px;
      }

      .qv-body {
        gap: 28px;
      }

      .qv-img {
        flex-basis: 360px;
        width: 360px;
        height: 330px;
      }

      .about-box {
        grid-template-columns: 1fr;
      }
    }

    @media(max-width:768px) {
      #modal-quickview {
        padding: 26px 20px;
      }

      .qv-body {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        text-align: center;
      }

      .qv-img {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
      }

      .qty-row {
        justify-content: center;
      }
    }

    @media(max-width:580px) {

      .products-grid,
      .audience-cards {
        grid-template-columns: 1fr;
      }

      .hero-cards {
        grid-template-columns: 1fr;
        height: auto;
      }

      .hero-card {
        height: 160px;
      }
    }
  
/* === CATALOG STYLES === */

    :root {
      --navy: #1b2138;
      --navy-light: #2a3150;
      --cream: #faf9f7;
      --card-bg: #f2f0ec;
      --text-dark: #1b2138;
      --text-muted: #6b7280;
      --trust-green: #1cbf6f;
      --accent-gold: #d99b26;
      --red: #b91c1c;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-dark);
      background: var(--cream);
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

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

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button,
    input,
    select {
      font-family: inherit;
    }

    /* ---------- HEADER ---------- */
    header {
      background: var(--navy);
      color: #fff;
      padding: 16px 32px;
      position: sticky;
      top: 0;
      z-index: 200;
    }

    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 26px;
      letter-spacing: .5px;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
    }

    nav {
      position: relative;
    }

    .nav-links {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .nav-item {
      background: none;
      border: none;
      color: #fff;
      font-size: 15px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
      opacity: .92;
      cursor: pointer;
      padding: 10px 14px;
      border-radius: 10px;
      transition: background .15s, opacity .15s;
    }

    .nav-item:hover,
    .nav-item.active {
      opacity: 1;
      background: rgba(255, 255, 255, .14);
    }

    .chev {
      font-size: 11px;
      opacity: .7;
      transition: transform .15s;
    }

    .nav-item.active .chev {
      transform: rotate(180deg);
    }

    .dropdown {
      position: absolute;
      top: calc(100% + 10px);
      background: #fff;
      color: var(--text-dark);
      border-radius: 16px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
      padding: 10px;
      min-width: 200px;
      display: none;
      flex-direction: column;
      gap: 4px;
      z-index: 250;
    }

    .dropdown.open {
      display: flex;
    }

    .dropdown a {
      padding: 11px 16px;
      border-radius: 10px;
      font-size: 14.5px;
      font-weight: 600;
      transition: background .15s, color .15s;
      color: var(--navy);
    }

    .dropdown a:hover {
      background: var(--card-bg);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .cart-btn {
      background: var(--navy-light);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 30px;
      padding: 9px 18px;
      font-size: 14.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #fff;
      cursor: pointer;
      transition: background .15s;
    }

    .cart-btn:hover {
      background: rgba(255, 255, 255, .15);
    }

    .cart-badge {
      background: var(--trust-green);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 26px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 8px;
    }

    .menu-toggle:hover {
      background: rgba(255, 255, 255, .1);
    }

    /* ---------- HERO BANNER ---------- */
    .catalog-banner {
      background: linear-gradient(135deg, #1b2138 0%, #2a3150 100%);
      color: #fff;
      padding: 32px 32px;
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .breadcrumbs {
      font-size: 13.5px;
      color: rgba(255, 255, 255, .7);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .breadcrumbs a {
      color: #fff;
      font-weight: 500;
    }

    .breadcrumbs a:hover {
      text-decoration: underline;
    }

    .breadcrumbs .sep {
      opacity: .4;
    }

    .catalog-title {
      font-family: 'Fraunces', serif;
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .catalog-desc {
      color: rgba(255, 255, 255, .8);
      font-size: 14.5px;
      max-width: 600px;
    }

    /* ---------- MAIN CONTENT LAYOUT ---------- */
    .catalog-container {
      padding: 28px 32px 60px;
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 32px;
      flex: 1;
      width: 100%;
    }

    /* MOBILE FILTER TOGGLE */
    .mobile-filter-btn {
      display: none;
      width: 100%;
      padding: 12px;
      background: #fff;
      border: 1.5px solid #d8d6d0;
      border-radius: 14px;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--navy);
      cursor: pointer;
      margin-bottom: 16px;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    /* SIDEBAR FILTERS */
    .filter-sidebar {
      background: #fff;
      border-radius: 20px;
      padding: 22px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
      height: fit-content;
      position: sticky;
      top: 85px;
    }

    .sidebar-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 1.5px solid #f0eee9;
    }

    .sidebar-head h3 {
      font-family: 'Fraunces', serif;
      font-size: 19px;
      font-weight: 700;
    }

    .btn-reset-filters {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
    }

    .btn-reset-filters:hover {
      color: var(--navy);
    }

    .filter-group {
      margin-bottom: 20px;
    }

    .filter-group:last-child {
      margin-bottom: 0;
    }

    .filter-group-title {
      font-size: 13.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
      color: var(--text-dark);
      margin-bottom: 12px;
    }

    .filter-options {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .filter-option {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14.5px;
      color: #374151;
      cursor: pointer;
      user-select: none;
      padding: 4px 0;
    }

    .filter-option:hover {
      color: var(--navy);
    }

    .filter-option input[type="checkbox"],
    .filter-option input[type="radio"] {
      accent-color: var(--navy);
      width: 18px;
      height: 18px;
      cursor: pointer;
    }

    .filter-option .count {
      margin-left: auto;
      font-size: 12px;
      color: var(--text-muted);
      background: var(--card-bg);
      padding: 2px 8px;
      border-radius: 10px;
      font-weight: 600;
    }

    .price-slider-wrap {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .price-slider-wrap input[type="range"] {
      width: 100%;
      accent-color: var(--navy);
      cursor: pointer;
      height: 6px;
    }

    .price-range-val {
      display: flex;
      justify-content: space-between;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--text-dark);
    }

    /* PRODUCTS SECTION */
    .products-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 14px;
    }

    .results-count {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-dark);
    }

    .sort-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 500;
    }

    .sort-select {
      padding: 10px 16px;
      border-radius: 12px;
      border: 1.5px solid #e5e3dd;
      background: #fff;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-dark);
      cursor: pointer;
    }

    .sort-select:focus {
      outline: 2px solid var(--navy);
    }

    /* ACTIVE TAGS */
    .active-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .tag-pill {
      background: #fff;
      border: 1px solid #e2ded7;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--navy);
    }

    .tag-pill button {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 14px;
      color: var(--text-muted);
      margin-left: 2px;
    }

    .tag-pill button:hover {
      color: var(--navy);
    }

    /* PRODUCT GRID & CARDS FIT */
    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 26px;
    }

    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin: 34px 0 4px;
    }

    .pagination button {
      min-width: 42px;
      height: 42px;
      padding: 0 13px;
      border: 1px solid #d8d6d0;
      border-radius: 11px;
      background: #fff;
      color: var(--navy);
      font-weight: 700;
      cursor: pointer;
    }

    .pagination button:hover:not(:disabled),
    .pagination button.active {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }

    .pagination button:disabled { opacity: .4; cursor: not-allowed; }
    .pagination .ellipsis { color: var(--text-muted); padding: 0 3px; }

    .catalog-card {
      background: #fff;
      border: 1px solid #e7e3db;
      border-radius: 22px;
      padding: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 5px 16px rgba(27, 33, 56, .04);
      transition: transform .2s, box-shadow .2s, border-color .2s;
    }

    .catalog-card:hover {
      transform: translateY(-5px);
      border-color: rgba(27, 33, 56, .22);
      box-shadow: 0 16px 32px rgba(27, 33, 56, .12);
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .badge-pill {
      background: #fff;
      font-size: 11.5px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 14px;
      color: var(--navy);
    }

    .rating-pill {
      font-size: 12.5px;
      font-weight: 700;
      color: var(--accent-gold);
    }

    .card-img-wrap {
      height: 250px;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      margin: 14px 0;
      cursor: pointer;
      background: #e8e5df;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
      transition: transform .25s;
    }

    .catalog-card:hover .card-img-wrap img {
      transform: scale(1.06);
    }

    .card-details {
      margin-bottom: 14px;
    }

    .card-code {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 4px;
      cursor: pointer;
    }

    .card-code:hover {
      color: var(--navy-light);
    }

    .card-public {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 500;
      margin-bottom: 6px;
    }

    .card-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 12px;
      border-top: 1px solid rgba(0, 0, 0, .06);
    }

    .card-price {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-dark);
    }

    .card-actions {
      display: flex;
      gap: 8px;
    }

    .btn-qv {
      background: #fff;
      border: 1.5px solid #d8d6d0;
      color: var(--text-dark);
      padding: 9px 14px;
      border-radius: 18px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background .15s;
    }

    .btn-qv:hover {
      background: #e9e6e0;
    }

    .btn-add-cart {
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 9px 16px;
      border-radius: 18px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background .15s;
    }

    .btn-add-cart:hover {
      background: var(--navy-light);
    }

    .stock-out {
      color: #b91c1c;
      font-weight: 700;
      font-size: 14px;
      display: flex;
      align-items: center;
    }

    /* EMPTY STATE */
    .empty-state {
      grid-column: 1/-1;
      text-align: center;
      padding: 60px 20px;
      background: #fff;
      border-radius: 20px;
    }

    .empty-icon {
      font-size: 44px;
      margin-bottom: 14px;
      display: block;
    }

    .empty-state h3 {
      font-family: 'Fraunces', serif;
      font-size: 22px;
      margin-bottom: 8px;
    }

    .empty-state p {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 20px;
    }

    .btn-reset-empty {
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 24px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
    }

    footer {
      text-align: center;
      padding: 28px 20px;
      font-size: 13px;
      color: var(--text-muted);
      background: #fff;
      border-top: 1px solid #eae8e3;
      margin-top: auto;
    }

    /* ---------- MODALS & CART DRAWER ---------- */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(20, 22, 35, .55);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s;
      z-index: 300;
    }

    .overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -46%);
      background: #fff;
      border-radius: 24px;
      padding: 36px;
      width: min(460px, 92vw);
      z-index: 400;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      max-height: 88vh;
      overflow-y: auto;
    }

    .modal.open {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%);
    }

    .modal h3 {
      font-family: 'Fraunces', serif;
      font-size: 24px;
      margin-bottom: 8px;
    }

    .modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--card-bg);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
    }

    /* ENLARGED & HIGHLY VISIBLE QUICK VIEW MODAL */
    #modal-quickview {
      width: min(1100px, 96vw);
      padding: 48px;
    }

    .qv-body {
      display: flex;
      gap: 46px;
      align-items: center;
    }

    .qv-img {
      flex: 0 0 480px;
      width: 480px;
      height: 420px;
      background: var(--card-bg);
      border-radius: 20px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .qv-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .qv-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .qv-info .code {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.25;
      margin-bottom: 6px;
      color: var(--navy);
    }

    .qv-info .public {
      color: var(--text-muted);
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 16px;
    }

    .qv-info .price {
      font-size: 34px;
      font-weight: 800;
      margin-bottom: 8px;
      color: var(--navy);
    }

    .qv-stock {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .qv-stock.is-out {
      color: #b91c1c;
    }

    .qty-row {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }

    .qty-row button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1.5px solid #d0cecb;
      background: #fff;
      cursor: pointer;
      font-size: 20px;
      font-weight: 600;
      transition: background .15s;
    }

    .qty-row button:hover {
      background: var(--card-bg);
    }

    .qty-row button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .qty-row span {
      font-weight: 700;
      min-width: 24px;
      text-align: center;
      font-size: 18px;
    }

    .qv-info .btn-dark {
      padding: 16px 28px;
      font-size: 16px;
      border-radius: 30px;
    }

    /* CART DRAWER */
    #cart-drawer {
      position: fixed;
      top: 0;
      right: -420px;
      width: 400px;
      max-width: 92vw;
      height: 100%;
      background: #fff;
      z-index: 400;
      padding: 28px 24px;
      box-shadow: -14px 0 40px rgba(0, 0, 0, .12);
      transition: right .25s ease;
      display: flex;
      flex-direction: column;
    }

    #cart-drawer.open {
      right: 0;
    }

    .cart-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .cart-head h3 {
      font-family: 'Fraunces', serif;
      font-size: 22px;
    }

    #cart-items {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .cart-empty {
      color: var(--text-muted);
      font-size: 14px;
      text-align: center;
      margin-top: 60px;
    }

    .cart-line {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .cart-line .thumb {
      width: 56px;
      height: 56px;
      background: var(--card-bg);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 56px;
      overflow: hidden;
    }

    .cart-line .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .cart-line .meta {
      flex: 1;
    }

    .cart-line .meta .name {
      font-size: 14px;
      font-weight: 700;
    }

    .cart-line .meta .sub {
      font-size: 12.5px;
      color: var(--text-muted);
      margin: 2px 0;
    }

    .cart-line .remove {
      background: #fef2f2;
      border: 1px solid #fecaca;
      color: #b91c1c;
      cursor: pointer;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 8px;
      margin-top: 6px;
      transition: background .15s;
    }

    .cart-line .remove:hover {
      background: #fee2e2;
    }

    .cart-qty {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 6px;
    }

    .cart-qty button {
      width: 26px;
      height: 26px;
      border: 1px solid #e8e5df;
      background: #fff;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cart-qty button:hover {
      background: var(--card-bg);
    }

    .cart-qty button:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .cart-qty span {
      font-size: 13px;
      font-weight: 600;
      min-width: 18px;
      text-align: center;
    }

    .cart-foot {
      border-top: 1px solid #f0eee9;
      padding-top: 18px;
      margin-top: 14px;
    }

    .cart-total {
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    .btn-dark {
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 14px 22px;
      border-radius: 30px;
      font-size: 14.5px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
    }

    .btn-dark:hover {
      background: var(--navy-light);
    }

    #toast {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--navy);
      color: #fff;
      padding: 13px 26px;
      border-radius: 30px;
      font-size: 14px;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      z-index: 500;
    }

    #toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ---------- MOBILE RESPONSIVE OPTIMIZATION & HEADER FIX ---------- */
    @media(max-width:960px) {
      header {
        position: relative;
        padding: 14px 20px;
      }

      nav {
        position: static;
      }

      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        padding: 18px 24px;
        gap: 12px;
        display: none;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
        border-top: 1px solid rgba(255, 255, 255, .1);
        z-index: 250;
      }

      .nav-links.mobile-open {
        display: flex;
      }

      .nav-item {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 16px;
        background: rgba(255, 255, 255, .08);
        border-radius: 12px;
      }

      .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(0, 0, 0, .25);
        border-radius: 12px;
        padding: 8px;
        margin-top: 6px;
      }

      .dropdown a {
        color: #fff;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
      }

      .dropdown a:hover {
        background: rgba(255, 255, 255, .15);
        color: #fff;
      }

      .catalog-banner,
      .catalog-container {
        padding-left: 20px;
        padding-right: 20px;
      }

      .catalog-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 20px;
      }

      .mobile-filter-btn {
        display: flex;
      }

      .filter-sidebar {
        display: none;
        position: static;
        box-shadow: none;
        border: 1px solid #e5e3dd;
        margin-bottom: 10px;
      }

      .filter-sidebar.mobile-visible {
        display: block;
      }

      .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }

      #modal-quickview {
        padding: 34px;
      }

      .qv-body {
        gap: 28px;
      }

      .qv-img {
        flex-basis: 360px;
        width: 360px;
        height: 330px;
      }
    }

    @media(max-width:768px) {
      #modal-quickview {
        padding: 26px 20px;
      }

      .qv-body {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        text-align: center;
      }

      .qv-img {
        flex: 0 0 200px;
        width: 100%;
        height: 200px;
      }

      .qty-row {
        justify-content: center;
      }
    }

    @media(max-width:580px) {
      .catalog-title {
        font-size: 26px;
      }

      .catalog-grid {
        grid-template-columns: 1fr;
      }

      .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }

      .sort-wrap {
        width: 100%;
        justify-content: space-between;
      }

      .sort-select {
        width: 100%;
      }
    }

    /* Checkout Validation Styles */
    .form-group {
      margin-bottom: 18px;
    }

    .input-field.is-invalid {
      border-color: #dc2626 !important;
      background-color: #fef2f2 !important;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    }

    .field-error {
      color: #dc2626;
      font-size: 12.5px;
      font-weight: 500;
      margin-top: 5px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

/* === HOME PAGE === */
body.home-page {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(217, 155, 38, .12), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(27, 33, 56, .06), transparent 50%),
    var(--cream);
}

body.home-page .btn-dark {
  width: auto;
}

body.home-page header {
  background: rgba(27, 33, 56, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.home-page .home-hero {
  padding: 56px 32px 28px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

body.home-page .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ece8e0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

body.home-page .hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(217, 155, 38, .22);
}

body.home-page .home-hero h1 {
  font-family: Fraunces, serif;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.8px;
  margin-bottom: 16px;
}

body.home-page .home-hero h1 em {
  font-style: italic;
  color: #8a6410;
}

body.home-page .home-hero p.lead {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

body.home-page .hero-buttons {
  margin-bottom: 22px;
}

body.home-page .hero-buttons .btn-dark,
body.home-page .hero-buttons .btn-outline {
  box-shadow: 0 10px 24px rgba(27, 33, 56, .12);
}

body.home-page .hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

body.home-page .hero-stat b {
  display: block;
  font-family: Fraunces, serif;
  font-size: 22px;
}

body.home-page .hero-stat span {
  color: var(--text-muted);
  font-size: 12.5px;
}

body.home-page .hero-mosaic {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 240px 180px;
  gap: 14px;
  height: 434px;
}

body.home-page .hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(27, 33, 56, .16);
}

body.home-page .hero-card:first-child {
  grid-row: 1 / span 2;
  height: auto;
}

body.home-page .hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 20, 34, .78) 100%);
}

body.home-page .hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

body.home-page .hero-card:hover img {
  transform: scale(1.08);
}

body.home-page .hero-card .tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-family: Fraunces, serif;
  font-size: 20px;
  line-height: 1.2;
  text-shadow: none;
}

body.home-page .hero-card .tag small {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .85;
  margin-top: 4px;
}

body.home-page .trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 8px auto 12px;
  padding: 0 32px 20px;
}

body.home-page .trust-item {
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(27, 33, 56, .04);
}

body.home-page .trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f4efe4;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

body.home-page .trust-item strong {
  display: block;
  font-size: 14.5px;
}

body.home-page .trust-item span {
  color: var(--text-muted);
  font-size: 13px;
}

body.home-page .section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 64px;
}

body.home-page .section-head {
  align-items: flex-end;
  gap: 16px;
}

body.home-page .section-kicker {
  color: #8a6410;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.home-page .section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
}

body.home-page .see-all-btn {
  border: none;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 18px;
  text-decoration: none;
}

body.home-page .product-card {
  background: #fff;
  border: 1px solid #ece8e0;
  box-shadow: 0 10px 28px rgba(27, 33, 56, .06);
}

body.home-page .products-empty {
  grid-column: 1 / -1;
  text-align: center;
  background: #fff;
  border: 1px dashed #ddd7cc;
  border-radius: 22px;
  padding: 48px 20px;
  color: var(--text-muted);
}

body.home-page .audience-section {
  background: transparent;
  border: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px 56px;
}

body.home-page .audience-wrap h2 {
  font-size: clamp(28px, 3vw, 38px);
}

body.home-page .audience-card {
  background: #fff;
  border: 1px solid #ece8e0;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

body.home-page .audience-visual {
  height: 150px;
  background-size: cover;
  background-position: center;
}

body.home-page .audience-body {
  padding: 22px 22px 24px;
}

body.home-page .about-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 64px;
}

body.home-page .about-box {
  padding: 48px 44px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(217, 155, 38, .28), transparent 55%),
    var(--navy);
  box-shadow: 0 24px 50px rgba(27, 33, 56, .28);
}

body.home-page footer.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  border: none;
  padding: 28px 32px 32px;
}

body.home-page .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

body.home-page .footer-brand {
  color: #fff;
  font-family: Fraunces, serif;
  font-size: 20px;
}

@media (max-width: 960px) {
  body.home-page .home-hero,
  body.home-page .trust-bar,
  body.home-page .audience-section,
  body.home-page .about-section,
  body.home-page .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.home-page .home-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  body.home-page .hero-mosaic {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px;
  }

  body.home-page .hero-card:first-child {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  body.home-page .trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  body.home-page .hero-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  body.home-page .hero-card,
  body.home-page .hero-card:first-child {
    height: 180px;
    grid-column: auto;
  }
}

/* === PRODUCT GALLERY === */
#modal-quickview {
  width: min(1320px, 98vw) !important;
  padding: 22px 24px 26px !important;
  max-height: 94vh !important;
}

#modal-quickview .qv-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.qv-gallery {
  min-width: 0;
}

.qv-stage {
  position: relative;
  background: #fff;
  border: 1px solid #e4dfd6;
  border-radius: 22px;
  min-height: 520px;
  height: min(72vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qv-stage img#qv-img,
.qv-stage > img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
  padding: 0 !important;
  background: #fff;
}

.qv-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--navy);
  border: 1px solid #e4dfd6;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 8px 22px rgba(27, 33, 56, .14);
}

.qv-nav-arrow:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.qv-nav-arrow.prev-arrow { left: 12px; }
.qv-nav-arrow.next-arrow { right: 12px; }
.qv-nav-arrow[hidden] { display: none !important; }

.qv-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(27, 33, 56, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 10px;
  border-radius: 999px;
}

.qv-counter:empty { display: none; }

.qv-thumbs,
#qv-thumbnails {
  display: flex !important;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 2px 6px;
}

.qv-thumbs[hidden],
#qv-thumbnails[hidden] {
  display: none !important;
}

button.qv-thumb {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

button.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

button.qv-thumb.active,
button.qv-thumb:hover {
  border-color: var(--navy);
}

#modal-quickview .qv-info .btn-dark {
  width: 100%;
}

.card-img-wrap,
.product-img {
  position: relative;
  background: #fff !important;
}

.card-img-wrap {
  height: 280px !important;
}

.product-img {
  height: 240px !important;
}

.card-img-wrap img,
.product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
}

.photo-count {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(27, 33, 56, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  #modal-quickview .qv-body {
    grid-template-columns: 1fr !important;
  }

  .qv-stage {
    min-height: 360px;
    height: 58vh;
  }

  .qv-stage img#qv-img,
  .qv-stage > img {
    padding: 0 !important;
  }
}

/* === CATALOG PAGE (aligned with home) === */
body.catalog-page {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(217, 155, 38, .12), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(27, 33, 56, .06), transparent 50%),
    var(--cream);
}

body.catalog-page header {
  background: rgba(27, 33, 56, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.catalog-page .catalog-banner {
  background: transparent;
  color: var(--navy);
  padding: 36px 32px 8px;
  border: none;
}

body.catalog-page .banner-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

body.catalog-page .breadcrumbs {
  color: var(--text-muted);
  margin-bottom: 16px;
}

body.catalog-page .breadcrumbs a {
  color: var(--navy);
  font-weight: 600;
}

body.catalog-page .section-kicker {
  color: #8a6410;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

body.catalog-page .catalog-title {
  font-family: Fraunces, serif;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.6px;
  margin-bottom: 10px;
  color: var(--navy);
}

body.catalog-page .catalog-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.6;
}

body.catalog-page .catalog-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 72px;
  width: 100%;
}

body.catalog-page .filter-sidebar {
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(27, 33, 56, .06);
}

body.catalog-page .sidebar-head h3 {
  font-family: Fraunces, serif;
}

body.catalog-page .filter-group-title {
  color: #8a6410;
  letter-spacing: .1em;
}

body.catalog-page .mobile-filter-btn {
  border-radius: 16px;
  border-color: #ece8e0;
  box-shadow: 0 8px 20px rgba(27, 33, 56, .04);
}

body.catalog-page .catalog-card {
  background: #fff;
  border: 1px solid #ece8e0;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(27, 33, 56, .06);
}

body.catalog-page .catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 33, 56, .18);
  box-shadow: 0 18px 40px rgba(27, 33, 56, .12);
}

body.catalog-page .badge-pill {
  background: #f4efe4;
}

body.catalog-page .card-code {
  font-family: Fraunces, serif;
  font-size: 20px;
}

body.catalog-page .btn-qv,
body.catalog-page .btn-add-cart {
  border-radius: 999px;
}

body.catalog-page .sort-select {
  border-radius: 14px;
  border-color: #ece8e0;
}

body.catalog-page .tag-pill {
  background: #fff;
  border-color: #ece8e0;
  border-radius: 999px;
}

body.catalog-page .empty-state {
  background: #fff;
  border: 1px dashed #ddd7cc;
  box-shadow: 0 10px 28px rgba(27, 33, 56, .04);
}

body.catalog-page footer.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  border: none;
  padding: 28px 32px 32px;
  text-align: left;
}

body.catalog-page .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

body.catalog-page .footer-brand {
  color: #fff;
  font-family: Fraunces, serif;
  font-size: 20px;
}

@media (max-width: 960px) {
  body.catalog-page .catalog-banner,
  body.catalog-page .catalog-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

 
