:root{
  --bg:#f7f1ea;
  --paper:#fffaf5;
  --surface:#f1e7dc;
  --ink:#201915;
  --muted:#74685e;
  --line:rgba(58,42,31,.12);
  --accent:#7d6146;
  --accent-deep:#3b2c21;
  --shadow:0 22px 60px rgba(36,24,17,.12);
  --radius-xl:26px;
  --radius-lg:18px;
  --radius-md:12px;
  --shell:min(1280px,calc(100vw - 40px));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:linear-gradient(180deg,#fbf7f1 0%,#f5ede3 50%,#efe5d8 100%);
  font-family:Manrope,system-ui,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
img{display:block;max-width:100%}

.shell{width:var(--shell);margin:0 auto}
.hidden{display:none!important}

.page-loader{
  position:fixed;
  inset:0;
  z-index:110;
  display:grid;
  place-items:center;
  background:rgba(255,250,245,.96);
  backdrop-filter:blur(10px);
  transition:opacity .45s ease, visibility .45s ease;
}
.page-loader__mark{
  font-family:"Playfair Display",serif;
  font-size:clamp(28px,4vw,52px);
  letter-spacing:.12em;
  animation:loaderPulse 1.3s ease-in-out infinite alternate;
}
.loaded .page-loader{opacity:0;visibility:hidden}

.announcement-bar{
  overflow:hidden;
  background:#171311;
  color:#f5ece0;
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.announcement-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:marquee 28s linear infinite;
}
.announcement-group{
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.announcement-group span{
  position:relative;
  padding:12px 34px 12px 0;
  margin-right:34px;
  white-space:nowrap;
}
.announcement-group span::after{
  content:"•";
  position:absolute;
  right:0;
  color:#ceb190;
}

.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(251,247,241,.84);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(58,42,31,.08);
}
.site-header--scrolled{
  background:rgba(255,250,245,.94);
  box-shadow:0 10px 28px rgba(36,24,17,.08);
}
.header-shell{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  width:calc(100vw - 8px);
  margin-left:4px;
  margin-right:4px;
  min-height:88px;
}
.header-burger{justify-self:start}

.brand-wordmark{
  justify-self:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
}
.brand-wordmark__main{
  font-family:"Playfair Display",serif;
  font-size:clamp(28px,3.4vw,48px);
  letter-spacing:.16em;
  line-height:1;
}
.brand-wordmark__sub{
  font-size:12px;
  letter-spacing:.3em;
  text-transform:uppercase;
}
.brand-wordmark--small .brand-wordmark__main{font-size:32px}

.header-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.icon-button,
.cart-button,
.login-link{
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  color:var(--ink);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.icon-button{
  width:46px;
  height:46px;
  border-radius:999px;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.icon-button svg,
.cart-button svg,
.social-bubble svg,
.search-input svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.icon-button:hover,
.cart-button:hover,
.login-link:hover,
.button:hover,
.ghost-button:hover,
.solid-button:hover,
.filter-chip:hover{
  transform:translateY(-2px);
}
.login-link{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.cart-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
}
.cart-button strong{
  min-width:26px;
  height:26px;
  padding:0 8px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#171311;
  color:#fff;
  font-size:12px;
}
.cart-button__label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero-section{padding:24px 0 18px}
.hero-stage,
.editorial-banner img{
  border-radius:0;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-stage{
  position:relative;
  min-height:calc(100vh - 136px);
  background:#ddd2c6;
}
.hero-stage img,
.editorial-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-stage img{
  min-height:calc(100vh - 136px);
  object-fit:cover;
  object-position:center center;
}
.hero-overlay{
  position:absolute;
  left:clamp(18px,6vw,70px);
  right:clamp(18px,6vw,70px);
  bottom:clamp(28px,7vw,76px);
}
.hero-overlay p{
  margin:0;
  max-width:540px;
  color:#fff;
  font-size:clamp(28px,4.4vw,54px);
  font-weight:500;
  line-height:1.08;
  text-shadow:0 16px 40px rgba(0,0,0,.28);
}

.collection-section{margin-top:44px}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.eyebrow{
  margin:0 0 10px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
}
.section-head h2,
.panel h1,
.legal-panel h1,
.admin-card h2,
.search-overlay__head h2,
.modal-content h2{
  margin:0;
  font-family:"Times New Roman",Times,serif;
}
.section-head h2{
  font-size:clamp(36px,4.6vw,64px);
}
.filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}
.filter-chip{
  border:1px solid var(--line);
  border-radius:4px;
  padding:11px 16px;
  background:rgba(255,255,255,.7);
  color:#4d4138;
  cursor:pointer;
  transition:all .2s ease;
}
.filter-chip.active{
  background:#171311;
  color:#fff;
  border-color:#171311;
}
.filter-chip--single{
  pointer-events:none;
  letter-spacing:.08em;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.product-card{
  overflow:hidden;
  border-radius:0;
  border:1px solid var(--line);
  background:rgba(255,250,245,.9);
  box-shadow:0 10px 26px rgba(36,24,17,.08);
  transition:transform .28s ease, box-shadow .28s ease, opacity .28s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px rgba(36,24,17,.12);
}
.product-card__media{
  position:relative;
  aspect-ratio:3 / 4;
  overflow:hidden;
  background:#e7ddd0;
}
.product-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s ease;
}
.product-card:hover .product-card__media img{transform:scale(1.03)}
.product-badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:1;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,250,245,.94);
  color:var(--accent-deep);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.product-badge.sold-out{
  background:#171311;
  color:#fff;
}
.product-card__body{padding:18px}
.product-card h3{
  margin:0 0 14px;
  font-size:22px;
  font-weight:600;
  font-family:"Playfair Display",serif;
}
.price-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
}
.price-line strong{font-size:18px}
.price-line del{color:#a39689}
.product-card__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.button,
.btn,
.ghost-button,
.solid-button{
  min-height:46px;
  border:1px solid #171311;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.button,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
}
.ghost-button,
.solid-button{
  border-radius:0;
}
.button--ghost,
.ghost-button,
.btn.ghost{
  background:rgba(255,255,255,.78);
  color:#171311;
}
.button--solid,
.solid-button,
.btn.burgundy{
  background:#171311;
  color:#fff;
}
.solid-button:disabled,
.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}
.collection-footer{
  display:flex;
  justify-content:center;
  margin-top:30px;
}

.site-footer{
  margin-top:76px;
  padding:48px 0 56px;
  background:#171311;
  color:#f7ede1;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.1fr .8fr 1fr;
  gap:28px;
}
.site-footer h3{
  margin:0 0 12px;
  font-family:"Playfair Display",serif;
  font-size:34px;
}
.site-footer p,
.site-footer a{
  color:#ddcfbf;
  line-height:1.8;
}

.search-overlay,
.mobile-menu,
.modal{
  position:fixed;
  inset:0;
  z-index:95;
}
.search-overlay__backdrop,
.mobile-menu__backdrop,
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,13,11,.58);
  backdrop-filter:blur(10px);
}
.search-overlay__panel,
.mobile-menu__panel,
.modal-card{
  position:relative;
  z-index:1;
}
.search-overlay{
  display:grid;
  place-items:center;
  padding:20px;
}
.search-overlay__panel{
  width:min(860px,100%);
  padding:30px;
  border-radius:24px;
  background:#fffaf5;
  border:1px solid var(--line);
  box-shadow:0 30px 100px rgba(0,0,0,.22);
}
.search-overlay__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.search-overlay__head h2{font-size:42px}
.search-input{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:0 16px;
}
.search-input input{
  width:100%;
  border:0;
  background:transparent;
  padding:16px 0;
  outline:none;
}
.search-results{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.search-result{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:14px;
  align-items:center;
  padding:10px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
}
.search-result img{
  width:72px;
  height:92px;
  object-fit:cover;
  border-radius:10px;
}
.search-result small{display:block;color:var(--muted)}

.mobile-menu{
  display:grid;
  justify-items:start;
}
.mobile-menu__panel{
  width:min(420px,100%);
  height:100%;
  background:#fffaf5;
  border-right:1px solid var(--line);
  padding:22px;
  box-shadow:0 20px 70px rgba(0,0,0,.18);
}
.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}
.mobile-menu__links{
  display:grid;
  gap:8px;
}
.mobile-menu__links a{
  padding:14px 0;
  border-bottom:1px solid rgba(58,42,31,.08);
  font-size:18px;
}

.page{
  width:min(980px,calc(100vw - 36px));
  margin:40px auto 70px;
}
.panel,
.legal-panel,
.admin-card{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,250,245,.86);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  padding:30px;
}
.panel h1,
.legal-panel h1{font-size:clamp(38px,5vw,68px)}
.small{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.cart-row{
  display:grid;
  grid-template-columns:88px 1fr auto;
  gap:16px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.cart-row img{
  width:88px;
  height:112px;
  object-fit:cover;
  border-radius:12px;
}
.cart-row h3{
  margin:0 0 8px;
  font-family:"Playfair Display",serif;
  font-size:28px;
}
.qty{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
}
.qty button{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.total-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:24px;
  font-size:20px;
  font-weight:800;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.field{display:flex;flex-direction:column;gap:8px}
.field.full,
.checkline.full{grid-column:1 / -1}
.field label{
  color:var(--muted);
  font-size:13px;
}
.field input,
.field textarea,
.field select{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:14px 15px;
  outline:none;
}
.field textarea{min-height:110px}
.checkline{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.checkline a{
  color:var(--accent);
  text-decoration:underline;
}

.payment-body{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:20px;
}
.pay-card{
  width:min(560px,100%);
  padding:34px;
  text-align:center;
  border-radius:28px;
  border:1px solid var(--line);
  background:#fffaf5;
  box-shadow:var(--shadow);
}
.secure-icon{
  width:76px;
  height:76px;
  margin:0 auto 18px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(125,97,70,.12);
  font-size:34px;
}

.legal-page{
  width:min(980px,calc(100vw - 36px));
  margin:40px auto 72px;
}
.legal-panel p{
  color:var(--muted);
  line-height:1.85;
}
.legal-stack{
  display:grid;
  gap:14px;
  margin-top:18px;
}
.legal-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.72);
}
.legal-card h2{
  margin:0 0 10px;
  font-family:"Playfair Display",serif;
  font-size:30px;
}

.admin-body{
  background:linear-gradient(180deg,#f7f2ea 0%,#efe6da 100%);
}
.login{
  width:min(460px,calc(100vw - 36px));
  margin:70px auto;
}
.admin-shell{
  width:var(--shell);
  margin:28px auto 60px;
}
.admin-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.admin-grid{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:18px;
}
.admin-card h2{
  font-size:34px;
  margin-bottom:18px;
}
.product-list{
  display:grid;
  gap:12px;
}
.admin-product{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:12px;
  align-items:center;
  padding:10px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.72);
}
.admin-product img{
  width:72px;
  height:92px;
  object-fit:cover;
  border-radius:12px;
}
.danger{
  border:1px solid #be445b;
  border-radius:999px;
  background:#fff;
  color:#be445b;
  padding:10px 13px;
  cursor:pointer;
}

.cookie-banner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:85;
  width:min(980px,calc(100vw - 36px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,250,245,.94);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 60px rgba(36,24,17,.16);
}
.cookie-banner p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.modal{
  display:grid;
  align-items:center;
  justify-items:center;
  padding:24px;
}
.modal-card{
  width:min(1040px,calc(100vw - 32px));
  max-height:88vh;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.75fr);
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fffaf5;
  box-shadow:0 30px 100px rgba(0,0,0,.22);
}
.modal-media{
  height:min(78vh,680px);
  min-height:0;
  background:#e5dbcf;
}
.modal-card img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center top;
}
.modal-content{
  max-height:88vh;
  overflow:auto;
  padding:32px;
}
.modal-content h2{
  font-size:clamp(36px,4vw,50px);
  line-height:1.04;
}
.modal-close{
  position:absolute;
  top:14px;
  right:14px;
}

.social-bubble{
  position:fixed;
  right:18px;
  bottom:110px;
  z-index:80;
  display:flex;
  flex-direction:column-reverse;
  align-items:flex-end;
  gap:10px;
}
.social-bubble__main,
.social-bubble__menu a{
  width:54px;
  height:54px;
  border:1px solid var(--line);
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.92);
  color:#171311;
  box-shadow:0 10px 28px rgba(36,24,17,.14);
}
.social-bubble__main{
  cursor:pointer;
}
.social-bubble__menu a[aria-label="WhatsApp"] svg{
  width:22px;
  height:22px;
}
.social-bubble__menu{
  display:flex;
  flex-direction:column;
  gap:10px;
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease;
}
.social-bubble.is-open .social-bubble__menu{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  z-index:100;
  border-radius:999px;
  background:#171311;
  color:#fff;
  padding:12px 18px;
  box-shadow:var(--shadow);
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}
.delay-1{transition-delay:.12s}
.stagger .product-card{
  opacity:0;
  transform:translateY(24px);
}
.stagger .product-card.in-view{
  opacity:1;
  transform:translateY(0);
}

@keyframes loaderPulse{
  from{transform:translateY(0);opacity:.72}
  to{transform:translateY(-8px);opacity:1}
}
@keyframes marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-33.3333%)}
}

@media (max-width:1080px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .section-head,
  .footer-grid,
  .admin-grid{grid-template-columns:1fr}
  .section-head{align-items:flex-start;flex-direction:column}
}

@media (max-width:860px){
  .header-shell{
    grid-template-columns:auto 1fr auto;
    min-height:76px;
  }
  .brand-wordmark__main{font-size:32px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .login-link{display:none}
  .cart-button__label{display:none}
  .footer-grid,
  .admin-grid,
  .modal-card{grid-template-columns:1fr}
  .modal-card{max-height:92vh}
  .modal-media{height:58vh}
  .modal-card img{height:100%}
  .modal-content{max-height:none}
}

@media (max-width:580px){
  .shell{width:min(100vw - 24px,1280px)}
  .hero-stage,
  .hero-stage img{min-height:70vh}
  .hero-overlay p{
    font-size:34px;
    max-width:260px;
  }
  .product-grid,
  .form-grid,
  .footer-grid{grid-template-columns:1fr}
  .search-overlay__panel,
  .panel,
  .legal-panel,
  .admin-card{padding:22px}
  .mobile-menu__panel{width:min(100vw - 40px,420px)}
  .search-result{grid-template-columns:64px 1fr}
  .search-result button{grid-column:1 / -1}
  .cookie-banner{grid-template-columns:1fr}
  .cart-row{grid-template-columns:72px 1fr}
  .cart-row .right{grid-column:2}
  .modal{
    align-items:end;
    padding:0;
  }
  .modal-card{
    width:100%;
    border-radius:22px 22px 0 0;
  }
  .modal-media{height:56vh}
  .modal-card img{height:100%}
  .modal-content h2{font-size:38px}
}

@media (prefers-reduced-motion:reduce){
  *{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .reveal,
  .stagger .product-card{
    opacity:1!important;
    transform:none!important;
  }
}
