:root {
  --temple-red: #65150f;
  --temple-red-dark: #3d0c09;
  --peacock: #062d3d;
  --peacock-light: #0d4352;
  --parchment: #f7ead0;
  --paper: #fff8e9;
  --gold: #c8953e;
  --gold-light: #e8c77e;
  --ink: #261b16;
  --muted: #71645b;
  --green: #176b46;
  --border: rgba(160, 108, 35, .42);
  --shadow: 0 18px 45px rgba(39, 21, 10, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1679a0; outline-offset: 3px; }

.site-header {
  align-items: center;
  background: var(--temple-red);
  border-bottom: 2px solid var(--gold);
  color: var(--parchment);
  height: 82px;
  padding: 0;
  position: relative;
  z-index: 20;
}
.site-header__inner { align-items: center; display: flex; height: 100%; justify-content: space-between; margin: 0 auto; max-width: 1500px; padding: 0 clamp(18px, 4vw, 64px); width: 100%; }
.brand { align-items: center; display: inline-flex; gap: 12px; min-width: 0; }
.brand img { height: 54px; object-fit: contain; width: 54px; }
.brand span { color: var(--gold-light); font: 700 clamp(1.35rem, 2vw, 2.15rem)/1 var(--serif); letter-spacing: .01em; }
.site-nav { align-items: center; display: flex; gap: clamp(18px, 2.6vw, 42px); }
.site-nav > a { border-bottom: 2px solid transparent; font-size: .93rem; font-weight: 600; padding: 29px 0 24px; }
.site-nav > a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.cart-link { align-items: center; display: flex; gap: 7px; position: relative; }
.cart-link b { align-items: center; background: var(--gold-light); border-radius: 999px; color: var(--temple-red-dark); display: flex; font-size: .65rem; height: 19px; justify-content: center; min-width: 19px; padding: 0 5px; position: absolute; right: -16px; top: 16px; }
.menu-toggle { background: transparent; border: 0; color: var(--gold-light); display: none; font-size: 1.6rem; padding: 8px; }

.hero {
  align-items: center;
  background-color: var(--peacock);
  background-image: url("../images/generated/hero-mythology.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 4px solid var(--gold);
  display: flex;
  min-height: min(610px, 68vw);
  padding: clamp(50px, 8vw, 118px) clamp(20px, 7vw, 108px);
}
.hero__content { background: rgba(5, 25, 32, .82); border: 1px solid rgba(230, 194, 117, .55); color: var(--parchment); max-width: 660px; padding: clamp(28px, 4vw, 56px); }
.hero__content h1 { color: #fff1d0; font: 600 clamp(3rem, 5.7vw, 6rem)/.94 var(--serif); letter-spacing: -.035em; margin: 8px 0 24px; }
.hero__content p { font-size: clamp(1rem, 1.5vw, 1.25rem); max-width: 520px; }
.eyebrow { color: var(--gold); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { align-items: center; border: 1px solid transparent; cursor: pointer; display: inline-flex; font-weight: 800; gap: 9px; justify-content: center; min-height: 48px; padding: 12px 22px; transition: transform .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--temple-red); border-color: var(--gold); color: #fff5dd; }
.button--secondary { background: var(--peacock); border-color: var(--gold); color: var(--gold-light); }
.button--whatsapp { background: #177d4e; color: #fff; width: 100%; }

.section { margin: 0 auto; max-width: 1500px; padding: clamp(58px, 7vw, 96px) clamp(16px, 4vw, 64px); }
.section--compact { padding-top: 44px; }
.section-heading { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 30px; }
.section-heading h2, .page-intro h1, .category-hero h1 { color: var(--temple-red); font: 700 clamp(2.35rem, 4vw, 4.5rem)/1 var(--serif); margin: 7px 0 0; }
.section-heading p { color: var(--muted); margin: 0; max-width: 540px; }
.text-link { color: var(--temple-red); font-weight: 800; white-space: nowrap; }
.text-link i { margin-left: 8px; }

.category-grid { display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card { aspect-ratio: 1.15 / 1; background: var(--peacock); border: 1px solid var(--gold); box-shadow: var(--shadow); color: #fff; overflow: hidden; position: relative; }
.category-card > img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.category-card__veil { background: rgba(5, 24, 31, .52); inset: 0; position: absolute; }
.category-card__content { bottom: 0; display: grid; grid-template-columns: 1fr auto; left: 0; padding: clamp(13px, 2vw, 24px); position: absolute; right: 0; }
.category-card small { color: var(--gold-light); font-size: .65rem; font-weight: 800; grid-column: 1 / -1; letter-spacing: .12em; text-transform: uppercase; }
.category-card strong { font: 700 clamp(1.25rem, 2vw, 2rem)/1.05 var(--serif); }
.category-card i { align-self: center; color: var(--gold-light); }
.category-card:hover > img { transform: scale(1.05); }

.heritage-banner { align-items: center; background: var(--peacock); border: 1px solid var(--gold); color: var(--parchment); display: grid; gap: 30px; grid-template-columns: 1.2fr .8fr; margin: 0 auto; max-width: 1372px; overflow: hidden; }
.heritage-banner__copy { padding: clamp(34px, 5vw, 70px); }
.heritage-banner h2 { color: var(--gold-light); font: 700 clamp(2.2rem, 4vw, 4rem)/1 var(--serif); margin: 8px 0 20px; }
.heritage-banner p { max-width: 620px; }
.heritage-banner img { height: 100%; min-height: 350px; object-fit: cover; width: 100%; }

.product-grid { display: grid; gap: clamp(12px, 1.8vw, 24px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { background: #fff7e7; border: 1px solid var(--border); box-shadow: 0 10px 25px rgba(48, 24, 10, .08); height: 100%; overflow: hidden; }
.product-image { background: var(--parchment); display: block; overflow: hidden; }
.product-image img { aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: transform .35s ease; width: 100%; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card__body { display: flex; flex-direction: column; min-height: 230px; padding: clamp(14px, 1.8vw, 22px); }
.product-card h3 { font: 700 clamp(1.25rem, 1.8vw, 1.65rem)/1.05 var(--serif); margin: 8px 0 4px; }
.variant { color: var(--muted); font-size: .85rem; margin: 0; }
.details { color: var(--muted); font-size: .73rem; margin: 7px 0 0; }
.product-note { color: var(--peacock-light); font-size: .75rem; margin: 8px 0 0; }
.product-card__footer { align-items: end; border-top: 1px solid var(--border); display: flex; gap: 8px; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.product-card__footer strong { color: var(--temple-red); font-size: .86rem; }
.icon-button { align-items: center; background: var(--temple-red); border: 1px solid var(--gold); border-radius: 50%; color: #fff3d4; cursor: pointer; display: inline-flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.icon-button:hover { background: var(--peacock); }

.page-intro { background: var(--peacock); border-bottom: 3px solid var(--gold); color: var(--parchment); padding: clamp(52px, 8vw, 100px) clamp(20px, 7vw, 108px); text-align: center; }
.page-intro h1 { color: #fff0cb; }
.page-intro p { margin: 16px auto 0; max-width: 670px; }
.filter-row { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 30px; padding: 4px 3px 12px; }
.filter-chip { background: transparent; border: 1px solid var(--border); border-radius: 99px; color: var(--ink); cursor: pointer; min-width: 0; padding: 10px 12px; width: 100%; }
.filter-chip.is-active, .filter-chip:hover { background: var(--temple-red); border-color: var(--gold); color: #fff; }

.category-hero { align-items: end; background-color: var(--peacock); background-image: var(--category-image); background-position: center; background-size: cover; border-bottom: 3px solid var(--gold); display: flex; min-height: 410px; padding: clamp(34px, 6vw, 80px); position: relative; }
.category-hero::before { background: rgba(5, 25, 32, .64); content: ""; inset: 0; position: absolute; }
.category-hero__copy { background: rgba(61, 12, 9, .88); border: 1px solid var(--gold); color: var(--parchment); max-width: 660px; padding: clamp(24px, 4vw, 48px); position: relative; }
.category-hero h1 { color: #fff0cb; }
.category-hero p { margin-bottom: 0; }

.story-grid, .contact-grid { align-items: center; display: grid; gap: clamp(32px, 6vw, 84px); grid-template-columns: 1fr 1fr; }
.story-grid img, .contact-card { border: 1px solid var(--gold); box-shadow: var(--shadow); }
.story-copy h2, .contact-copy h2 { color: var(--temple-red); font: 700 clamp(2.2rem, 4vw, 4rem)/1 var(--serif); margin: 8px 0 20px; }
.value-list { display: grid; gap: 16px; margin-top: 28px; }
.value-list > div { align-items: start; display: grid; gap: 12px; grid-template-columns: 34px minmax(0, 1fr); }
.value-list > div > div { min-width: 0; }
.value-list i { color: var(--gold); font-size: 1.35rem; margin-top: 4px; }
.value-list strong { display: block; }
.value-list p { color: var(--muted); margin: 2px 0 0; }
.contact-card { background: var(--peacock); color: var(--parchment); padding: clamp(30px, 5vw, 64px); }
.contact-card a:not(.button) { color: var(--gold-light); font-weight: 700; }
.contact-list { display: grid; gap: 20px; margin: 28px 0; }
.contact-list > div { display: grid; gap: 12px; grid-template-columns: 24px minmax(0, 1fr); }
.contact-list > div > div { min-width: 0; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
.contact-list i { color: var(--gold-light); margin-top: 4px; }

.cart-layout { align-items: start; display: grid; gap: 36px; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); }
.cart-items { display: grid; gap: 14px; }
.cart-item { align-items: center; background: #fff7e7; border: 1px solid var(--border); display: grid; gap: 18px; grid-template-columns: 116px minmax(0, 1fr) auto auto; padding: 14px; }
.cart-item > img { aspect-ratio: 1; height: 116px; object-fit: cover; width: 116px; }
.cart-item__info span { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cart-item h2 { font: 700 1.45rem/1 var(--serif); margin: 5px 0; }
.cart-item p { color: var(--muted); font-size: .84rem; margin: 0 0 6px; }
.cart-item strong { color: var(--temple-red); font-size: .9rem; }
.quantity { align-items: center; border: 1px solid var(--border); display: flex; }
.quantity button { background: transparent; border: 0; color: var(--temple-red); cursor: pointer; height: 38px; width: 38px; }
.quantity span { min-width: 28px; text-align: center; }
.remove-button { background: transparent; border: 0; color: var(--muted); cursor: pointer; display: grid; gap: 4px; justify-items: center; }
.remove-button:hover { color: var(--temple-red); }
.remove-button span { font-size: .68rem; }
.order-summary { background: var(--peacock); border: 1px solid var(--gold); color: var(--parchment); padding: clamp(24px, 3vw, 38px); position: sticky; top: 24px; }
.order-summary h2 { color: var(--gold-light); font: 700 2.2rem/1 var(--serif); margin: 8px 0 26px; }
.summary-line { align-items: center; border-bottom: 1px solid rgba(232,199,126,.35); border-top: 1px solid rgba(232,199,126,.35); display: flex; justify-content: space-between; margin-bottom: 18px; padding: 18px 0; }
.summary-note, .privacy-note { color: #dccfb9; font-size: .78rem; }
.summary-note i { color: var(--gold-light); margin-right: 5px; }
.privacy-note { margin: 12px 0 0; text-align: center; }
.empty-state { background: var(--parchment); border: 1px solid var(--border); padding: clamp(44px, 8vw, 100px); text-align: center; }
.empty-state > i { color: var(--gold); font-size: 3rem; }
.empty-state h2 { font: 700 2.6rem/1 var(--serif); margin: 18px 0 10px; }
.empty-state p { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }

.site-footer { align-items: center; background: var(--temple-red-dark); border-top: 3px solid var(--gold); color: var(--parchment); display: grid; gap: 24px; grid-template-columns: 1fr auto; padding: 40px clamp(20px, 5vw, 72px); }
.footer-brand { align-items: center; display: flex; gap: 12px; }
.footer-brand img { height: 58px; object-fit: contain; width: 58px; }
.footer-brand strong { color: var(--gold-light); display: block; font: 700 1.45rem/1 var(--serif); }
.footer-brand span { color: #d7c6aa; font-size: .78rem; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a:hover { color: var(--gold-light); }
.footer-contact { border-top: 1px solid rgba(232,199,126,.25); display: grid; font-style: normal; gap: 12px 28px; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 24px; }
.footer-contact > a, .footer-contact > span { align-items: start; color: #d7c6aa; display: grid; font-size: .78rem; gap: 10px; grid-template-columns: 18px 1fr; }
.footer-contact i { color: var(--gold-light); margin-top: 3px; text-align: center; }
.footer-contact a:hover { color: #fff3d4; }
.footer-copyright { color: #cbbda7; font-size: .72rem; grid-column: 1 / -1; margin: 0; text-align: center; }
.footer-bottom { align-items: center; border-top: 1px solid rgba(232,199,126,.25); display: grid; gap: 18px; grid-column: 1 / -1; grid-template-columns: 1fr auto 1fr; padding-top: 22px; width: 100%; }
.site-footer .footer-legal { gap: 18px; justify-self: start; }
.footer-legal a { color: #d7c6aa; font-size: .7rem; }
.studio-signature { color: var(--gold-light); font-size: .72rem; justify-self: center; letter-spacing: .04em; text-align: center; }
.studio-signature:hover { color: #fff3d4; text-decoration: underline; }
.visitor-counter { display: flex; font-size: .6rem; gap: .35rem; justify-self: end; margin: 0; opacity: .58; width: max-content; }
.visitor-counter strong { color: var(--gold-light); }

.legal-content { margin: 0 auto; max-width: 920px; padding: clamp(52px, 7vw, 92px) clamp(18px, 4vw, 48px); }
.legal-content h2 { color: var(--temple-red); font: 700 clamp(1.65rem, 3vw, 2.3rem)/1.1 var(--serif); margin: 38px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--temple-red); font-weight: 700; text-decoration: underline; }
.legal-content ul { padding-left: 22px; }

.toast { background: var(--peacock); border: 1px solid var(--gold); bottom: 24px; color: #fff; left: 50%; opacity: 0; padding: 12px 22px; pointer-events: none; position: fixed; transform: translate(-50%, 18px); transition: opacity .2s ease, transform .2s ease; z-index: 50; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav { gap: 20px; }
  .heritage-banner { margin-left: 24px; margin-right: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 768px) {
  .site-header { height: 74px; }
  .site-header__inner { padding: 0 14px; }
  .brand img { height: 44px; width: 44px; }
  .brand span { font-size: clamp(1.28rem, 5.7vw, 1.7rem); }
  .menu-toggle { display: block; }
  .site-nav { align-items: stretch; background: var(--temple-red-dark); border-bottom: 2px solid var(--gold); display: none; flex-direction: column; gap: 0; left: 0; padding: 12px 20px 20px; position: absolute; right: 0; top: 74px; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { border-bottom: 1px solid rgba(232,199,126,.2); padding: 14px 4px; }
  .cart-link b { right: auto; top: 10px; left: 54px; }
  .hero { align-items: center; aspect-ratio: 1817 / 866; background-image: url("../images/generated/hero-mythology-mobile-v3.jpg"); background-position: center; justify-content: center; min-height: 0; padding: clamp(18px, 5vw, 38px); }
  .hero__content { background: transparent; border: 0; max-width: 86%; padding: 0; text-align: center; }
  .hero__content .eyebrow, .hero__content p, .hero__actions { display: none; }
  .hero__content h1 { font-size: clamp(2.15rem, 9.8vw, 4.25rem); line-height: .9; margin: 0; text-shadow: 0 3px 18px rgba(0, 0, 0, .72); }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { aspect-ratio: .92 / 1; }
  .category-card__content { padding: 12px; }
  .category-card strong { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .heritage-banner { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; }
  .heritage-banner img { max-height: 360px; min-height: 0; order: -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card__body { min-height: 205px; }
  .page-intro { padding-top: 52px; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-hero { min-height: 370px; padding: 20px 16px; }
  .cart-item { align-items: start; grid-template-columns: 90px minmax(0, 1fr); }
  .cart-item > img { height: 90px; width: 90px; }
  .quantity { grid-column: 1; }
  .remove-button { align-items: center; display: flex; grid-column: 2; justify-self: end; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; gap: 12px 22px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .site-footer .footer-legal { justify-self: start; }
  .visitor-counter { justify-self: end; }
}

@media (max-width: 430px) {
  .section { padding-left: 12px; padding-right: 12px; }
  .hero { padding-left: 14px; padding-right: 14px; }
  .category-grid { gap: 8px; }
  .category-card { aspect-ratio: .88 / 1; }
  .category-card small { font-size: .56rem; }
  .product-grid { gap: 8px; }
  .product-card__body { min-height: 198px; padding: 11px; }
  .product-card h3 { font-size: 1.08rem; }
  .product-card__footer strong { font-size: .73rem; }
  .icon-button { flex-basis: 34px; height: 34px; }
  .category-hero__copy { padding: 20px; }
  .cart-item { gap: 12px; padding: 10px; }
  .cart-item h2 { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
