﻿:root {
      --ink: #4a1f17;
      --coffee: #2d1711;
      --champagne: #efe4cd;
      --cream: #fffaf2;
      --paper: #fffefd;
      --gold: #c89b3c;
      --soft-gold: #e8cf93;
      --muted: #7b625b;
      --line: rgba(74, 31, 23, 0.16);
      --shadow: 0 18px 50px rgba(74, 31, 23, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--coffee);
      background:
        radial-gradient(circle at 18% 8%, rgba(232, 207, 147, 0.42), transparent 28%),
        linear-gradient(180deg, #fffefd 0%, #fff8ee 46%, #f7eddc 100%);
      font-family: "Segoe UI", Arial, sans-serif;
      line-height: 1.5;
    }

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

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

    .topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 14px clamp(18px, 5vw, 64px);
      border-bottom: 1px solid var(--line);
      background: rgba(255, 254, 253, 0.88);
      backdrop-filter: blur(18px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand img {
      width: 54px;
      height: 54px;
      border: 1px solid var(--line);
      border-radius: 50%;
      object-fit: cover;
      background: var(--paper);
    }

    .brand-text {
      display: grid;
      gap: 1px;
      min-width: 0;
    }

    .brand-name {
      color: var(--ink);
      font-size: 20px;
      font-weight: 300;
      letter-spacing: 0;
      line-height: 1;
      text-transform: lowercase;
    }

    .brand-subtitle {
      color: var(--muted);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .nav a,
    .filter-button,
    .whatsapp,
    .cart-trigger {
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      font-weight: 600;
      padding: 10px 14px;
      cursor: pointer;
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    }

    .nav a:hover,
    .filter-button:hover,
    .whatsapp:hover,
    .cart-trigger:hover,
    .filter-button.active {
      transform: translateY(-1px);
      border-color: rgba(200, 155, 60, 0.56);
      background: var(--champagne);
    }

    .whatsapp {
      background: var(--ink);
      color: #fffaf2;
      border-color: var(--ink);
    }

    .cart-trigger {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .cart-icon {
      font-size: 16px;
      line-height: 1;
    }

    .cart-count {
      min-width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: var(--ink);
      color: white;
      font-size: 11px;
      line-height: 1;
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
      gap: clamp(26px, 5vw, 70px);
      align-items: center;
      padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 64px) clamp(28px, 5vw, 70px);
    }

    .hero-copy {
      max-width: 620px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 2.6px;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 42px;
      height: 1px;
      background: var(--gold);
    }

    h1 {
      margin: 18px 0 16px;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(44px, 8vw, 96px);
      font-weight: 400;
      line-height: 0.92;
      letter-spacing: 0;
    }

    .hero-copy p {
      max-width: 540px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(16px, 2vw, 20px);
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .hero-media {
      position: relative;
      min-height: 540px;
    }

    .feature-image {
      position: absolute;
      overflow: hidden;
      border: 1px solid rgba(74, 31, 23, 0.1);
      background: var(--paper);
      box-shadow: var(--shadow);
    }

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

    .feature-main {
      inset: 0 9% 16% 0;
      border-radius: 8px;
    }

    .feature-small {
      right: 0;
      bottom: 0;
      width: 44%;
      aspect-ratio: 4 / 5;
      border-radius: 8px;
      border: 8px solid var(--cream);
    }

    .catalog {
      padding: 20px clamp(18px, 5vw, 64px) 72px;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 24px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    .section-heading h2 {
      margin: 0;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(30px, 4vw, 54px);
      font-weight: 400;
      letter-spacing: 0;
    }

    .section-heading p {
      max-width: 430px;
      margin: 0;
      color: var(--muted);
      font-size: 15px;
    }

    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 24px;
    }

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

    .product {
      display: flex;
      flex-direction: column;
      height: 100%;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(255, 254, 253, 0.84);
      box-shadow: 0 12px 34px rgba(74, 31, 23, 0.08);
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .product:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 44px rgba(74, 31, 23, 0.14);
    }

    .product.hidden,
    .product[hidden] {
      display: none !important;
    }

    .product-image {
      flex: 0 0 auto;
      width: 100%;
      overflow: hidden;
      aspect-ratio: 4 / 5;
      background: #f8f5ef;
    }

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

    .product-content {
      flex: 1;
      display: grid;
      grid-template-rows: minmax(42px, auto) minmax(63px, auto) auto auto;
      gap: 10px;
      padding: 16px;
    }

    .product-top {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 12px;
    }

    .product h3 {
      display: -webkit-box;
      overflow: hidden;
      margin: 0;
      color: var(--coffee);
      font-size: 17px;
      line-height: 1.18;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .tag {
      flex: 0 0 auto;
      border: 1px solid rgba(200, 155, 60, 0.44);
      border-radius: 999px;
      color: var(--ink);
      background: rgba(232, 207, 147, 0.26);
      font-size: 11px;
      font-weight: 700;
      padding: 5px 8px;
      text-transform: uppercase;
    }

    .product p {
      display: -webkit-box;
      overflow: hidden;
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .price {
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 19px;
      font-weight: 700;
    }

    .product-details {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: auto;
    }

    .add-selection {
      min-height: 42px;
      width: 100%;
      border: 1px solid var(--ink);
      border-radius: 6px;
      background: transparent;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
    }

    .add-selection:hover,
    .add-selection.selected {
      border-color: var(--ink);
      background: var(--ink);
      color: white;
    }

    body.cart-open {
      overflow: hidden;
    }

    .cart-backdrop {
      position: fixed;
      inset: 0;
      z-index: 40;
      visibility: hidden;
      background: rgba(45, 23, 17, 0.38);
      opacity: 0;
      transition: opacity 220ms ease, visibility 220ms ease;
    }

    .cart-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 50;
      width: min(440px, 100%);
      height: 100dvh;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      border-left: 1px solid var(--line);
      background: var(--paper);
      box-shadow: -18px 0 50px rgba(45, 23, 17, 0.18);
      transform: translateX(100%);
      transition: transform 220ms ease;
    }

    body.cart-open .cart-backdrop {
      visibility: visible;
      opacity: 1;
    }

    body.cart-open .cart-drawer {
      transform: translateX(0);
    }

    .cart-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      padding: 24px;
      border-bottom: 1px solid var(--line);
    }

    .cart-header h2 {
      margin: 5px 0 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 32px;
      font-weight: 400;
      letter-spacing: 0;
    }

    .cart-close {
      width: 40px;
      height: 40px;
      flex: 0 0 auto;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: white;
      color: var(--ink);
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

    .cart-body {
      overflow-y: auto;
      padding: 0 24px;
    }

    .cart-empty {
      margin: 0;
      padding: 42px 0;
      color: var(--muted);
      text-align: center;
    }

    .cart-items {
      display: grid;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
    }

    .cart-item img {
      width: 76px;
      height: 88px;
      border-radius: 6px;
      object-fit: cover;
      background: var(--cream);
    }

    .cart-item-content {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .cart-item-content strong {
      font-size: 14px;
      line-height: 1.25;
    }

    .cart-item-content span {
      color: var(--muted);
      font-size: 12px;
    }

    .cart-item-content .cart-item-price {
      color: var(--ink);
      font-weight: 700;
    }

    .cart-remove {
      border: 0;
      background: transparent;
      color: var(--muted);
      font: inherit;
      font-size: 12px;
      text-decoration: underline;
      cursor: pointer;
    }

    .cart-footer {
      display: grid;
      gap: 8px;
      padding: 20px 24px 24px;
      border-top: 1px solid var(--line);
      background: var(--cream);
    }

    .cart-summary {
      display: grid;
      gap: 3px;
      padding-bottom: 8px;
    }

    .cart-summary strong {
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 22px;
      letter-spacing: 0;
    }

    .cart-summary span {
      color: var(--muted);
      font-size: 12px;
    }

    .cart-checkout {
      min-height: 48px;
      border: 1px solid var(--ink);
      border-radius: 6px;
      background: var(--ink);
      color: white;
      font: inherit;
      font-weight: 750;
      cursor: pointer;
    }

    .cart-checkout:disabled {
      cursor: not-allowed;
      opacity: 0.42;
    }

    .cart-footer small {
      color: var(--muted);
      text-align: center;
    }

    .code {
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    .about {
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr);
      gap: clamp(20px, 4vw, 46px);
      align-items: center;
      padding: 42px clamp(18px, 5vw, 64px) 70px;
      border-top: 1px solid var(--line);
      background: rgba(239, 228, 205, 0.36);
    }

    .about-logo {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--paper);
      box-shadow: var(--shadow);
    }

    .about h2 {
      margin: 0 0 12px;
      color: var(--ink);
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(28px, 4vw, 46px);
      font-weight: 400;
    }

    .about p {
      max-width: 740px;
      margin: 0;
      color: var(--muted);
      font-size: 17px;
    }

    footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 24px clamp(18px, 5vw, 64px);
      color: var(--muted);
      border-top: 1px solid var(--line);
      background: var(--paper);
      font-size: 13px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .footer-brand img {
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 50%;
      object-fit: cover;
      background: var(--paper);
    }

    .footer-brand-text {
      display: grid;
      gap: 2px;
    }

    .footer-brand strong {
      color: var(--ink);
      font-size: 14px;
      font-weight: 700;
    }

    @media (max-width: 1080px) {
      .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 820px) {
      .topbar,
      .section-heading,
      footer {
        align-items: flex-start;
        flex-direction: column;
      }

      .nav {
        justify-content: flex-start;
      }

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

      .hero-media {
        min-height: 460px;
      }

      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

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

      .about-logo {
        max-width: 220px;
      }
    }

    @media (max-width: 560px) {
      .brand img {
        width: 48px;
        height: 48px;
      }

      .brand-name {
        font-size: 18px;
      }

      .brand-subtitle {
        font-size: 10px;
        letter-spacing: 1.5px;
      }

      .nav a,
      .filter-button,
      .whatsapp,
      .cart-trigger {
        padding: 9px 11px;
      }

      .hero-media {
        min-height: 360px;
      }

      .feature-main {
        inset: 0 0 20% 0;
      }

      .feature-small {
        width: 50%;
      }

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

      .cart-header,
      .cart-body,
      .cart-footer {
        padding-left: 18px;
        padding-right: 18px;
      }

      .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
      }

      .cart-item img {
        width: 64px;
        height: 74px;
      }

      .cart-remove {
        grid-column: 2;
        justify-self: start;
        padding: 0;
      }
    }
