@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');
:root{--paper:#fbf9f3;--ink:#22251e;--green:#273d30;--muted:#62665a;--line:#dedbd0;--serif:"Instrument Serif",Georgia,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px "DM Sans",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ae682e;outline-offset:3px}img{display:block;width:100%;object-fit:cover}.wrap{width:min(1240px,calc(100% - 96px));margin:auto}.ribbon{text-align:center;background:var(--green);color:#fff;padding:10px;font-size:10px;letter-spacing:.23em}.ribbon span{margin:0 12px;color:#dfbc8e}.bar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{font:32px/1 var(--serif);white-space:nowrap}.brand i{color:#526d57}.bar nav,.foot div{display:flex;align-items:center;gap:28px}.bar nav a:hover,.foot a:hover{text-decoration:underline}.outline,.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 19px;border:1px solid var(--green);border-radius:2px;background:transparent;color:var(--green);font-weight:700;white-space:nowrap}.button{background:var(--green);color:white;padding:14px 20px}.button:hover{background:#405e4c}.outline:hover{background:#e5e8df}.hero{display:grid;grid-template-columns:42% 58%;background:#ece9dc;min-height:510px}.intro{align-self:center;padding:56px 28px 56px max(48px,calc((100vw - 1240px)/2))}.label{letter-spacing:.17em;font-weight:700;font-size:11px;color:#52614d;margin:0 0 15px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:clamp(54px,7vw,110px);line-height:.89;margin-bottom:22px;letter-spacing:-.017em}h1 i{color:#577059}.subtitle{font-size:17px;line-height:1.55;color:#52574b;max-width:310px;margin-bottom:26px}.hero-photos{display:grid;grid-template-columns:58% 42%;gap:3px;overflow:hidden;min-height:510px}.hero-photos img{height:100%;max-height:630px;object-position:center 35%}.collection{padding:64px 0 76px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.section-head h2,.visit h2{font-size:clamp(45px,5vw,72px);line-height:.95;margin:0}.search{display:grid;gap:6px;font-weight:600}.search input,input,select,textarea{border:1px solid var(--line);padding:10px 12px;background:#fff;color:var(--ink);width:100%;border-radius:2px}.filters{display:flex;flex-wrap:wrap;gap:8px}.filters button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:30px;padding:8px 15px}.filters button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.muted{color:var(--muted)}#result{margin:16px 0}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 16px}.card{display:block;text-align:left;width:100%;background:none;border:0;padding:0;color:inherit}.card .photo{overflow:hidden;background:#e8e4d9;aspect-ratio:4/5}.card img{height:100%;transition:transform .25s;object-position:center 32%}.card:hover img{transform:scale(1.035)}.tag{font-size:11px;color:#52614d;text-transform:uppercase;letter-spacing:.1em;margin:11px 0 3px}.card h3{font-size:29px;margin:0 0 5px;line-height:1}.card .muted{font-size:13px}.visit{background:#e8eadf;padding:54px 0}.visit-inner,.foot{display:flex;justify-content:space-between;gap:24px;align-items:center}.visit p:last-child{margin:16px 0 0;line-height:1.6}.foot{padding:24px 0}.foot div{flex-wrap:wrap}dialog{padding:0;border:0;background:var(--paper);color:var(--ink);width:min(830px,calc(100% - 24px));max-height:90vh;overflow:auto}dialog::backdrop{background:#1b231bb3}.close{position:absolute;right:12px;top:12px;border:1px solid var(--line);border-radius:50%;width:38px;height:38px;background:#fff;color:var(--ink);font-size:24px;z-index:1}.detail-grid{display:grid;grid-template-columns:1fr 1fr}.detail-grid img{height:100%;max-height:72vh;object-position:center 30%}.detail-info{padding:55px 26px 30px}.detail-info h2,#editor h2{font-size:45px;line-height:1;margin:4px 0 15px}.variants{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 24px}.variants button{background:white;border:1px solid var(--line);padding:6px 10px}.variants button[aria-pressed=true]{border-color:var(--green);background:#e8eadf}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 24px}.stats div{border:1px solid var(--line);padding:14px}.stats strong{display:block;font:38px var(--serif)}#admin h1{font-size:clamp(45px,5.5vw,80px)}.admin-row{display:grid;grid-template-columns:56px 1fr auto auto;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}.admin-row img{height:64px}.admin-row p{margin:3px 0}.reset{margin-top:22px}#editor{max-width:480px}#edit-form{display:grid;gap:11px;padding:35px}#edit-form label{display:grid;gap:4px}#edit-form .check{display:flex;align-items:center;gap:8px}#edit-form input[type=checkbox]{width:auto}#edit-error:empty{display:none}
@media(max-width:850px){.wrap{width:calc(100% - 36px)}.hero{grid-template-columns:46% 54%;min-height:420px}.intro{padding:35px 18px}.hero-photos{min-height:420px}.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:590px){.bar{height:71px;gap:8px}.bar nav{display:none}.brand{font-size:26px}.bar .outline{padding:9px 10px}.hero{grid-template-columns:1fr}.intro{padding:33px 18px}.intro h1 br{display:none}.hero-photos{height:370px;min-height:0}.hero-photos img{min-height:0}.collection{padding:42px 0}.section-head{align-items:stretch;flex-direction:column;gap:14px}.section-head .button{align-self:start}.products{grid-template-columns:repeat(2,1fr);gap:22px 10px}.card h3{font-size:24px}.visit-inner,.foot{align-items:start;flex-direction:column}.detail-grid{grid-template-columns:1fr}.detail-grid img{height:43vh}.detail-info{padding:18px}.admin-row{grid-template-columns:45px 1fr auto;gap:8px}.admin-row .status{display:none}.admin-row .outline{padding:8px}.stats div{padding:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

@media (max-width: 590px) {
  .intro h1 {
    font-size: clamp(46px, 10vw, 60px);
    line-height: 1;
    text-wrap: balance;
  }
  .intro h1 i { white-space: nowrap; }
  .card h3 { line-height: 1.12; }
  .card .muted { line-height: 1.4; }
  .detail-info .button {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}

/* Portada editorial y encuadre del catálogo */
.hero { min-height: 0; grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); background: #eae7db; }
.intro { padding-block: clamp(48px, 8vw, 112px); }
.intro h1 { max-width: 6.5em; font-size: clamp(60px, 7.1vw, 116px); line-height: .91; text-wrap: balance; }
.hero-photos { display: block; position: relative; margin: 0; min-height: 0; overflow: hidden; }
.hero-photos img { position: absolute; inset: 0; height: 100%; max-height: none; object-position: 50% 43%; }
.collection { padding-top: 76px; }
.products { gap: 30px 20px; }
.card .photo { display: grid; place-items: center; background: #efebe2; aspect-ratio: 4 / 5; }
.card img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.card h3 { line-height: 1.1; }
.card .tag { margin-top: 14px; }
.detail-grid > img { object-fit: contain; background: #efebe2; }
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
}
@media (max-width: 590px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photos { height: auto; aspect-ratio: 5 / 4; }
  .intro { padding: 32px 18px; }
  .intro h1 { font-size: clamp(46px, 11vw, 62px); line-height: 1; max-width: none; }
  .collection { padding-top: 48px; }
  .products { gap: 24px 12px; }
}
.card .photo { position: relative; } .card img { position: absolute; inset: 0; }

.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #eae7db; }
.hero-photos img { position: static; min-width: 0; min-height: 0; height: 100%; object-position: center 32%; }
@media (max-width: 590px) {
  .hero-photos { aspect-ratio: 4 / 3; }
}

.hero { background: #263a30; color: #fcf8ee; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
.intro .label { color: #e8cda6; }
.intro h1 { max-width: 7em; }
.intro h1 i { color: #eed8ba; }
.intro .subtitle { color: #ede9de; }
.intro .button { color: #263a30; background: #fcf8ee; border-color: #fcf8ee; }
.intro .button:hover { background: #eed8ba; }
.hero-photos { display: block; isolation: isolate; min-height: 570px; background: #d5c5af; }
.hero-photos img { position: absolute; inset: 0; height: 100%; object-position: center 52%; }
.hero-photos figcaption { position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; background: #fcf8ee; color: #263a30; font-size: 13px; }
@media (max-width: 850px) {
  .hero-photos { min-height: 470px; }
}
@media (max-width: 590px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photos { min-height: 0; aspect-ratio: 4 / 5; }
  .intro h1 { max-width: none; }
}
.hero-photos { background: #997454; } .hero-photos img { object-fit: contain; }

@media (max-width: 590px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .card { display: grid; grid-template-rows: auto auto 3.6em auto; align-content: start; min-width: 0; font-size: 13px; }
  .card .photo { width: 100%; aspect-ratio: 4 / 5; }
  .card img { object-fit: cover; object-position: center 28%; }
  .card .tag { margin: 10px 0 5px; font-size: 10px; line-height: 1.25; }
  .card h3 { margin: 0; font: 600 13px/1.2 "DM Sans", Arial, sans-serif; overflow-wrap: anywhere; }
  .card .muted { font-size: 12px; line-height: 1.35; margin-top: 4px; }
}


.brand { display: inline-flex; align-items: center; }
.brand img { width: 142px; height: auto; border-radius: 3px; }
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  min-height: 46px;
  border-radius: 999px;
  background: #25d366;
  color: #102b1c;
  font-weight: 700;
  box-shadow: 0 4px 16px #0003;
}
.whatsapp-float:hover { background: #20bf5b; }
.foot { padding-bottom: 76px; }
@media (max-width: 590px) {
  .bar { height: 76px; }
  .bar nav { display: flex; gap: 13px; font-size: 13px; }
  .brand img { width: 122px; }
  .hero { position: relative; display: grid; min-height: min(690px, 155vw); align-items: end; isolation: isolate; }
  .hero-photos { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
  .hero-photos img { object-fit: cover; object-position: center 29%; }
  .hero-photos figcaption { display: none; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #14291ff7, #14291fd9 25%, #14291f00 69%); }
  .intro { padding: 24px 20px 26px; align-self: end; }
  .intro h1 { max-width: 8em; font-size: clamp(44px, 12vw, 64px); margin-bottom: 12px; text-wrap: initial; }
  .intro .label { margin-bottom: 9px; }
  .intro .subtitle { font-size: 14px; margin-bottom: 15px; max-width: 245px; }
  .intro .button { padding: 10px 13px; font-size: 13px; }
}

.brand-lockup { display: grid; justify-items: center; color: #22251e; }
.brand-star { font: 15px/1 Georgia, serif; color: #526d57; }
.brand-name { font: 48px/.98 var(--serif); letter-spacing: -.035em; }
.brand-caption { margin-top: 6px; font: 700 9px/1 "DM Sans", Arial, sans-serif; letter-spacing: .25em; }
.bar { height: 106px; }
.foot .brand-name { font-size: 38px; }
@media (max-width: 590px) {
  .bar { height: auto; flex-direction: column; gap: 15px; padding: 14px 0; }
  .bar nav { gap: 24px; }
  .brand-name { font-size: clamp(42px, 12vw, 55px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-photos img { animation: hero-focus 1.4s ease-out both; }
  .intro { animation: catalog-enter .55s ease-out both; }
  @keyframes hero-focus { from { transform: scale(1.045); } to { transform: scale(1); } }
  @keyframes catalog-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}

.product-price { display:flex; flex-wrap:wrap; align-items:center; gap:5px 8px; font-size:13px; }
.discount { background:#e8eadf; color:#273d30; padding:2px 5px; font-weight:700; }
.detail-info .product-price { margin-bottom:16px; }
.variant-label { margin:0; font-weight:700; }
.detail-info .variants { margin-bottom:14px; }
.size-picker { display:grid; gap:5px; margin-bottom:16px; font-weight:700; }
#edit-colors { min-width:0; margin:0; border:1px solid var(--line); }
#edit-colors .color-edit { display:grid; grid-template-columns:36px minmax(0,1fr); gap:8px; align-items:center; margin:5px 0; }
.color-edit img { height:42px; }
.brand img.boutique-logo { width: min(270px, 72vw); height: 86px; object-fit: contain; }

.product-price-offer { display:grid; justify-items:start; gap:4px; }
.original-price { color:var(--muted); font-size:12px; }
.offer-value { display:flex; flex-wrap:wrap; align-items:center; gap:5px 8px; }
.offer-value strong { color:#273d30; font-size:1.28em; font-variant-numeric:tabular-nums; }
.product-price-offer .discount { background:#273d30; color:#fff; border-radius:20px; padding:3px 8px; font-size:10px; }
.detail-info .product-price-offer { font-size:17px; }

.brand .elegance-name { font: 600 clamp(24px, 7.6vw, 46px)/1.03 "Cormorant Garamond", Georgia, serif; letter-spacing: .055em; }
.brand .elegance-caption { font-size: 9px; letter-spacing: .42em; margin-top: 9px; }
@media (max-width: 590px) { .hero-photos { position: relative; z-index: auto; grid-row: 1; height: auto; aspect-ratio: 4 / 5; } .hero-photos img { object-fit: contain; } .hero::after { display: none; } } .hero-photos { background: #263a30; } .hero-photos img { animation: none; }

.catalog-tile { display:grid; grid-template-rows:1fr auto; min-width:0; gap:10px; }
.catalog-tile .card { align-content:start; }
.catalog-add { display:grid; place-items:center; min-height:44px; padding:8px; border-radius:4px; background:#171717; color:white; font-weight:700; }
.catalog-add:hover { background:#343434; }
.whatsapp-float { box-sizing:border-box; width:52px; height:52px; padding:0; justify-content:center; background:#087e48; }
.whatsapp-float:hover { background:#06693c; }
.whatsapp-float img { width:25px; height:25px; }

.cart-toggle { position:relative; display:flex; align-items:center; justify-content:center; gap:8px; min-width:48px; min-height:48px; padding:8px 14px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); font-weight:700; }
.cart-toggle:hover { background:#e8eadf; }
.cart-toggle svg { flex:none; }
@media (max-width:590px) {
  .bar { position:relative; }
  .cart-toggle { position:absolute; top:8px; right:0; padding:0; }
  .cart-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .cart-toggle #cart-count { position:absolute; top:-5px; right:-5px; min-width:19px; padding:2px 4px; font-size:11px; }
  .bar .elegance-name { font-size:clamp(18px, 5.4vw, 30px); }
  .bar .brand { max-width:calc(100% - 108px); }
}
#cart-count { min-width:24px; padding:3px 5px; border-radius:999px; background:var(--green); color:white; }
#cart-dialog { max-width:520px; }
.cart-content { padding:28px 18px; }
.cart-content h2 { font-size:36px; margin:0 0 16px; }
.cart-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.cart-controls { display:flex; align-items:center; gap:6px; }
.cart-controls button { min-width:38px; min-height:42px; padding:5px; }
#cart-send { margin-top:16px; white-space:normal; }
#cart-send[hidden] { display:none; }
.detail-add { margin-top:10px; width:100%; border:0; }

.hero-carousel { position:relative; overflow:hidden; }
.hero-carousel .hero-slide { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .3s ease; }
.hero-carousel .hero-slide.current { opacity:1; }
.hero-switches { position:absolute; bottom:12px; left:12px; right:12px; display:flex; align-items:center; justify-content:center; gap:8px; z-index:1; }
.hero-switches button { border:1px solid #fff; background:#273d30; color:#fff; min-width:28px; height:28px; border-radius:20px; }
.hero-switches button[aria-current] { background:#fff; border-color:#273d30; }
#hero-pause { font-size:11px; padding:0 10px; }
@media(prefers-reduced-motion:reduce) { .hero-carousel .hero-slide { transition:none; } }
