:root{--ink:#102e38;--teal:#277f86;--orange:#e48534;--cream:#fffaf1;--white:#fff;--line:#d9e4e1;--muted:#62737a;--serif:Georgia,"Times New Roman",serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.55}img{display:block;max-width:100%}a{color:inherit}.header{height:66px;padding:7px max(25px,4vw);display:flex;align-items:center;justify-content:space-between;background:rgba(255,250,241,.97);position:sticky;top:0;z-index:20;border-bottom:1px solid #ebe7de}.logo img{width:76px;height:52px;object-fit:contain;mix-blend-mode:multiply}.header nav{display:flex;align-items:center;gap:23px}.header nav a{text-decoration:none;text-transform:uppercase;font-size:10px;font-weight:700}.cta,.btn{background:var(--teal);color:#fff!important;border:1px solid var(--teal);border-radius:5px;padding:11px 16px;text-decoration:none;text-transform:uppercase;font-size:10px;font-weight:800;display:inline-flex;justify-content:center}.menu{display:none;background:none;border:0;font-size:24px}.hero{display:grid;grid-template-columns:42% 58%;height:470px;background:#fffdf8}.hero-copy{padding:37px 34px 32px max(34px,4.5vw);align-self:center}.kicker{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--orange);letter-spacing:.06em}.hero h1,.section h2,.auth h1,.order-page h1,.account h1{font-family:var(--serif);line-height:1.04}.hero h1{font-size:clamp(36px,3.25vw,50px);margin:10px 0 14px}.hero h1 em{font-style:normal;color:var(--orange)}.hero p{max-width:480px;color:var(--muted);font-size:14px}.hero-photo img{width:100%;height:470px;object-fit:cover}.actions{display:flex;gap:12px;margin-top:18px}.ghost{background:transparent;color:var(--teal)!important}.benefits{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-block:1px solid var(--line)}.benefits article{display:flex;gap:12px;align-items:center;padding:17px 24px;border-right:1px solid var(--line)}.benefits b,.benefits small{display:block}.benefits b{font-size:11px;text-transform:uppercase}.benefits small{font-size:10px;color:var(--muted)}.section{padding:54px max(25px,5vw)}.section-head{text-align:center;max-width:720px;margin:0 auto 24px}.section h2{font-size:clamp(28px,2.7vw,40px)}.section-head p,.historia p,.granizados p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;max-width:1220px;margin:auto}.card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.card img{width:100%;aspect-ratio:1.2/1;object-fit:cover}.card-body{padding:10px}.card h3{font:700 15px var(--serif);margin:0}.center{text-align:center;margin-top:28px}.historia,.granizados{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;background:#fff}.historia img{border-radius:12px}.historia blockquote{font:700 22px var(--serif);color:var(--teal);margin:26px 0}.botes{display:flex;align-items:end;justify-content:center;gap:18px}.botes img{max-height:340px;mix-blend-mode:multiply}.auth,.order-page,.account,.install-page{padding:55px max(22px,7vw);min-height:70vh}.auth{display:grid;place-items:center}.panel,.install-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;box-shadow:0 12px 30px rgba(20,60,65,.08)}.auth .panel{width:min(520px,100%)}label{display:block;font-size:12px;font-weight:700;margin-bottom:13px}input,select,textarea{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:6px;padding:10px;font:inherit;background:#fff}.notice{padding:11px 12px;border-radius:7px;margin-bottom:14px}.notice.ok{background:#e9f7ef;color:#1c6b43}.notice.error{background:#fff1ef;color:#9a3026}.order-page{display:grid;grid-template-columns:.72fr 1.28fr;gap:42px}.order-intro h1{font-size:42px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px}.account-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.orders{display:grid;gap:12px}.order-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px;display:grid;grid-template-columns:1fr 1.4fr .7fr auto;gap:16px;align-items:center}.order-card span,.order-card b{display:block}.order-card span{font-size:12px;color:var(--muted)}.status{display:inline-block!important;background:#e8f3f2;color:var(--teal)!important;border-radius:999px;padding:4px 9px;text-transform:uppercase}.link-btn{border:0;background:none;color:var(--teal);font-weight:800;cursor:pointer}footer{background:#79b5b8;padding:30px max(25px,5vw);display:grid;grid-template-columns:160px repeat(3,1fr);gap:28px;align-items:center}footer img{width:110px;mix-blend-mode:multiply}footer b,footer span{display:block}footer b{font-size:11px;text-transform:uppercase}footer span{font-size:11px}.install-card{max-width:650px;margin:50px auto}
@media(max-width:1050px){.cards{grid-template-columns:repeat(4,1fr)}.header nav{gap:13px}}
@media(max-width:780px){.menu{display:block}.header nav{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;padding:20px;flex-direction:column}.header nav.open{display:flex}.hero{grid-template-columns:1fr;height:auto}.hero-photo{order:-1}.hero-photo img{height:280px}.hero h1{font-size:38px}.benefits{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,1fr)}.historia,.granizados,.order-page{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.order-card{grid-template-columns:1fr}.account-head{align-items:flex-start;flex-direction:column}footer{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.benefits{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr;gap:9px}.card h3{font-size:13px}.actions{flex-direction:column}footer{grid-template-columns:1fr;text-align:center}footer img{margin:auto}}

/* v1.1 multipágina + administración */
.header nav a.active{color:var(--orange)}
.hero{height:420px}.hero-photo img{height:420px}.hero h1{font-size:clamp(35px,3vw,49px);max-width:620px}
.story-teaser{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;background:#fff}
.story-teaser img,.contact-photo{border-radius:12px;box-shadow:0 14px 35px rgba(20,60,65,.12)}
.text-link{font-weight:800;color:var(--teal);text-decoration:none}
.order-banner{display:flex;justify-content:space-between;align-items:center;gap:35px;background:var(--teal);color:#fff}
.order-banner p{color:#e7f4f4}.light{background:#fff;color:var(--teal)!important;border-color:#fff}
.page-hero{padding:55px max(25px,7vw);background:linear-gradient(135deg,#fffaf1,#edf6f3);text-align:center}
.page-hero.compact h1{font:700 clamp(36px,4vw,58px) var(--serif);margin:8px 0 10px}.page-hero p{color:var(--muted);max-width:650px;margin:auto}
.filters{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:28px}.filters button,.admin-filters a{border:1px solid var(--line);background:#fff;padding:9px 15px;border-radius:999px;font-size:11px;font-weight:800;cursor:pointer;text-decoration:none}.filters .active,.admin-filters .active{background:var(--teal);color:#fff}
.flavours-grid{grid-template-columns:repeat(5,1fr)}.flavour-card small{display:block;color:var(--orange);font-size:9px;text-transform:uppercase;font-weight:800;margin-bottom:3px}.soldout{display:inline-block;margin-top:7px;background:#f5ded9;color:#8c3428;border-radius:999px;padding:3px 8px;font-size:10px}.flavour-card[hidden]{display:none}
.full-story{background:#fff}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.timeline article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.timeline strong{color:var(--orange)}.timeline h3{font-family:var(--serif);font-size:20px}.timeline p{color:var(--muted);font-size:12px}
.feature-page{background:#fff}.checklist{padding:0;list-style:none}.checklist li{padding:7px 0;border-bottom:1px solid var(--line)}.checklist li:before{content:"✓";color:var(--teal);font-weight:900;margin-right:9px}
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;align-items:center}.contact-card h2{font:700 32px var(--serif)}
.admin-body{background:#f1f5f4}.admin-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr}.admin-side{background:var(--ink);color:#fff;padding:22px 17px;position:sticky;top:0;height:100vh}.admin-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;margin-bottom:28px}.admin-brand img{width:54px;height:48px;object-fit:contain;background:#fff;border-radius:7px}.admin-side nav{display:grid;gap:5px}.admin-side nav a{color:#dbe8e8;text-decoration:none;padding:11px 12px;border-radius:7px}.admin-side nav a:hover{background:rgba(255,255,255,.08);color:#fff}.admin-main{padding:26px 30px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.admin-top span{font-size:11px;text-transform:uppercase;color:var(--orange);font-weight:800}.admin-top h1{font:700 34px var(--serif);margin:2px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stats-grid article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.stats-grid span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:800}.stats-grid strong{display:block;font:700 31px var(--serif);margin-top:8px}
.admin-section{margin-top:24px}.admin-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.admin-section-head h2{font:700 23px var(--serif)}.admin-table-wrap{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:720px}.admin-table th,.admin-table td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle}.admin-table th{font-size:10px;text-transform:uppercase;color:var(--muted);background:#f8faf9}.admin-table td small{display:block;color:var(--muted);font-size:10px}.status-form{display:flex;gap:6px}.status-form select{margin:0;padding:7px}.status-form button{border:0;background:var(--teal);color:#fff;border-radius:5px;padding:7px 9px;cursor:pointer}
.admin-toolbar{margin-bottom:15px}.admin-filters{justify-content:flex-start}.manage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.manage-grid article{background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;display:flex;justify-content:space-between;align-items:center}.manage-grid strong,.manage-grid span{display:block}.manage-grid span{font-size:10px}.available{color:#24734d}.unavailable{color:#9a3026}.switch{width:42px;height:23px;border:0;border-radius:999px;background:#cad5d3;position:relative;cursor:pointer}.switch:before{content:"";position:absolute;width:17px;height:17px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch.on{background:var(--teal)}.switch.on:before{transform:translateX(19px)}.inline-add{display:flex;gap:8px;align-items:center}.inline-add input{margin:0}.product-admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.product-edit textarea{min-height:75px}.check{display:flex;gap:8px;align-items:center}.check input{width:auto;margin:0}
@media(max-width:1050px){.flavours-grid{grid-template-columns:repeat(4,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.manage-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.hero{height:auto}.hero-photo img{height:280px}.story-teaser,.contact-layout{grid-template-columns:1fr}.order-banner{align-items:flex-start;flex-direction:column}.timeline{grid-template-columns:1fr 1fr}.flavours-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.admin-side{position:relative;height:auto}.admin-side nav{grid-template-columns:repeat(2,1fr)}.admin-main{padding:20px 15px}.manage-grid,.product-admin-grid{grid-template-columns:1fr}}
@media(max-width:480px){.timeline,.stats-grid{grid-template-columns:1fr}.admin-side nav{grid-template-columns:1fr}}

/* v1.2 */
.stats-six{grid-template-columns:repeat(6,1fr)}.admin-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.ranking{display:grid;gap:9px}.ranking article{display:grid;grid-template-columns:34px 1fr auto;align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px}.ranking article>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e8f3f2;color:var(--teal);font-weight:800}
.status-recibido{background:#fff1d8!important;color:#9a6413!important}.status-confirmado{background:#e8eefb!important;color:#365ca5!important}.status-preparando{background:#e7f1ff!important;color:#2563a5!important}.status-listo{background:#e5f6eb!important;color:#267047!important}.status-entregado{background:#edf0ef!important;color:#4a5d58!important}.status-cancelado{background:#f9e4e1!important;color:#9a3026!important}
.detail-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px}.detail-list{display:grid;grid-template-columns:110px 1fr;gap:10px}.detail-list dd{margin:0}.order-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.order-line span{display:block;color:var(--muted);font-size:12px}.order-total{display:flex;justify-content:space-between;font-size:22px;padding-top:18px}
.flavour-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.flavour-edit-card{padding:18px}.flavour-edit-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.flavour-edit-top strong,.flavour-edit-top span{display:block}.compact-form label{font-size:10px;margin-bottom:9px}.compact-form input,.compact-form select,.compact-form textarea{padding:8px}.form-grid-mini{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.customer-summary{display:grid;grid-template-columns:1.5fr .7fr .9fr;gap:15px;margin-bottom:20px}.customer-summary>article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.customer-summary>article span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:800}.customer-summary>article strong{display:block;font:700 27px var(--serif);margin-top:8px}
@media(max-width:1250px){.stats-six{grid-template-columns:repeat(3,1fr)}.flavour-admin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.admin-dashboard-grid,.detail-grid{grid-template-columns:1fr}.flavour-admin-grid,.customer-summary{grid-template-columns:1fr}}@media(max-width:600px){.stats-six{grid-template-columns:1fr 1fr}}

/* v1.3 */
.orders-toolbar{display:grid;gap:14px}.admin-search{display:flex;gap:8px;max-width:820px}.admin-search input{margin:0}.admin-search .btn{white-space:nowrap}
.detail-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.detail-status-form{display:flex;gap:8px}.detail-status-form select{min-width:170px}.order-notes{margin-top:18px;padding:14px;background:#f8faf9;border-radius:8px}.order-notes p{margin:7px 0 0}
.add-product-form{margin-bottom:18px}.add-product-form .form-grid{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.detail-actions{align-items:stretch;flex-direction:column}.detail-status-form{width:100%}.detail-status-form select{flex:1}.add-product-form .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.admin-search{flex-direction:column}.add-product-form .form-grid{grid-template-columns:1fr}.detail-status-form{flex-direction:column}}

/* v1.4 */
.flavour-preview{height:150px;border-radius:9px;overflow:hidden;background:#f4f7f6;margin-bottom:14px;border:1px solid var(--line)}
.flavour-preview img{width:100%;height:100%;object-fit:cover}
.image-placeholder{height:100%;display:grid;place-items:center;color:var(--muted);font-size:12px}
.compact-form small{display:block;color:var(--muted);font-weight:400;margin-top:5px}
.detail-action-buttons{display:flex;gap:8px}
.admin-search input[type="date"]{max-width:160px}
@media print{
  .admin-side,.admin-top,.detail-actions{display:none!important}
  .admin-shell{display:block}
  .admin-main{padding:0}
  body{background:#fff}
  .detail-grid{grid-template-columns:1fr 1fr}
  .panel{box-shadow:none}
}
@media(max-width:800px){
  .admin-search input[type="date"]{max-width:none}
  .detail-action-buttons{flex-direction:column}
}

/* v1.5 carrito real */
.cart-link{position:relative}.cart-badge{position:absolute;right:-8px;top:-9px;width:20px;height:20px;border-radius:50%;background:var(--orange);display:grid;place-items:center;color:#fff;font-size:10px}
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:24px;align-items:start}
.product-picker-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}
.product-picker h2{font:700 25px var(--serif);margin:6px 0}.product-picker p{color:var(--muted);min-height:42px}.product-price{font:700 24px var(--serif);display:block;margin-bottom:15px}
.cart-panel{position:sticky;top:84px}.cart-panel h2{font:700 30px var(--serif)}
.cart-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.cart-row span{display:block;color:var(--muted);font-size:11px}.cart-row>div:last-child{text-align:right}.remove-item{border:0;background:none;color:#a43d31;font-size:10px;cursor:pointer;padding:4px 0}.cart-total{display:flex;justify-content:space-between;font-size:22px;padding:18px 0}.checkout-form{border-top:1px solid var(--line);padding-top:16px}.checkout-button{width:100%}.empty-cart{color:var(--muted)}
.month-flavour{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;background:linear-gradient(135deg,#eaf6f2,#fff6e9)}.month-flavour img{width:100%;max-height:380px;object-fit:cover;border-radius:12px}.month-flavour h2{font:700 42px var(--serif)}
.flavour-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.flavour-actions form{margin:0}.small-action{border:1px solid var(--line);background:#fff;padding:7px 9px;border-radius:6px;font-size:10px;font-weight:800;cursor:pointer}.small-action.active{background:var(--orange);color:#fff}.small-action.danger{color:#9a3026}
@media(max-width:1000px){.shop-layout{grid-template-columns:1fr}.cart-panel{position:relative;top:auto}.product-picker-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.product-picker-grid,.month-flavour{grid-template-columns:1fr}}

/* v1.5.1: carrito siempre visible */
.cart-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.cart-badge{
  position:static;
  flex:0 0 auto;
  width:21px;
  height:21px;
  line-height:21px;
}

@media(max-width:1000px){
  .cart-panel{
    order:-1;
    position:relative;
    top:auto;
    border:2px solid var(--teal);
  }
  .shop-layout{
    grid-template-columns:1fr;
  }
}

#carrito{
  scroll-margin-top:90px;
}

/* v1.5.2: carrito fijo y catálogo compacto */
.sticky-cart-summary{
  position:sticky;
  top:66px;
  z-index:18;
  margin:0;
  padding:12px max(24px,5vw);
  background:rgba(255,250,241,.96);
  backdrop-filter:blur(10px);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 24px rgba(25,57,61,.08);
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:22px;
  align-items:center;
}
.sticky-cart-summary>div:first-child span,
.sticky-cart-summary>div:first-child strong,
.sticky-cart-total span,
.sticky-cart-total strong{display:block}
.sticky-cart-summary>div:first-child strong{font-size:16px}
.sticky-cart-total{text-align:right}
.sticky-cart-total span{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:800}
.sticky-cart-total strong{font:700 22px var(--serif)}
.sticky-cart-summary .btn{white-space:nowrap}

.shop-layout{
  grid-template-columns:minmax(0,1fr) 360px;
  gap:22px;
  padding-top:34px;
}
.product-list-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:16px;
}
.product-list-head h2{font:700 30px var(--serif);margin:5px 0 0}
.product-list-head p{margin:0;color:var(--muted);font-size:12px}

.product-picker-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.compact-product-card{
  padding:18px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.compact-product-card h2{
  font-size:22px;
  line-height:1.05;
  margin:5px 0 8px;
}
.compact-product-card p{
  min-height:32px;
  margin:0 0 8px;
  font-size:12px;
}
.compact-product-card .product-price{
  font-size:21px;
  margin-bottom:10px;
}
.compact-product-card form{
  margin-top:auto;
}
.compact-product-card label{
  margin-bottom:7px;
  font-size:10px;
}
.compact-product-card select,
.compact-product-card input{
  padding:8px 9px;
  margin-top:4px;
}
.compact-product-card .btn{
  width:100%;
  margin-top:6px;
  padding:10px 12px;
}
.cart-panel{
  top:138px;
  max-height:calc(100vh - 155px);
  overflow:auto;
}

@media(max-width:1250px){
  .product-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  .shop-layout{grid-template-columns:1fr}
  .cart-panel{
    order:0;
    position:relative;
    top:auto;
    max-height:none;
  }
}
@media(max-width:700px){
  .sticky-cart-summary{
    top:60px;
    grid-template-columns:1fr auto;
    padding:10px 16px;
    gap:10px;
  }
  .sticky-cart-summary>div:first-child{display:none}
  .sticky-cart-summary .btn{padding:9px 12px}
  .product-picker-grid{grid-template-columns:1fr}
  .product-list-head{align-items:flex-start;flex-direction:column}
}

/* v1.6 — experiencia de pedido moderna */
.order-hero{padding:44px max(24px,6vw) 38px}
.order-hero h1{font:700 clamp(38px,4.5vw,64px) var(--serif);margin:8px 0 10px}
.order-app{padding:34px max(24px,5vw) 110px}
.order-app-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}
.order-app-head h2{font:700 34px var(--serif);margin:5px 0 0}
.category-tabs{display:flex;gap:8px;flex-wrap:wrap}
.category-tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;font-weight:800;font-size:11px;cursor:pointer}
.category-tabs button.active{background:var(--teal);color:#fff;border-color:var(--teal)}

.modern-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.modern-product-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 34px rgba(29,62,66,.07);transition:.2s transform,.2s box-shadow}
.modern-product-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(29,62,66,.12)}
.product-visual{height:150px;display:grid;place-items:center;background:linear-gradient(135deg,#edf7f4,#fff4e5)}
.product-visual span{font:700 56px var(--serif);color:var(--teal);opacity:.55}
.product-content{padding:17px}
.product-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}
.product-meta span{font-size:10px;text-transform:uppercase;color:var(--orange);font-weight:800}
.product-meta strong{font-size:15px}
.product-content h3{font:700 23px var(--serif);margin:8px 0 7px}
.product-content p{font-size:12px;color:var(--muted);min-height:36px;margin:0 0 15px}
.product-content .btn{width:100%}

.floating-cart-button{position:fixed;right:24px;bottom:24px;z-index:55;display:flex;align-items:center;gap:12px;border:0;border-radius:16px;background:var(--ink);color:#fff;padding:13px 17px;box-shadow:0 18px 45px rgba(10,33,36,.28);cursor:pointer;text-align:left}
.floating-cart-button small,.floating-cart-button strong{display:block}
.floating-cart-button small{font-size:10px;color:#bdd2d0;text-transform:uppercase;font-weight:800}
.floating-cart-button strong{font-size:13px;margin-top:2px}
.floating-cart-icon{font-size:20px}

.drawer-backdrop,.product-modal-backdrop{position:fixed;inset:0;background:rgba(8,24,27,.42);backdrop-filter:blur(3px);z-index:70;opacity:0;pointer-events:none;transition:.25s}
.drawer-backdrop.open,.product-modal-backdrop.open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:0;width:min(460px,94vw);height:100vh;background:#fff;z-index:80;transform:translateX(105%);transition:.28s;display:flex;flex-direction:column;box-shadow:-18px 0 60px rgba(7,31,34,.22)}
.cart-drawer.open{transform:translateX(0)}
.cart-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:1px solid var(--line)}
.cart-drawer-head h2{font:700 32px var(--serif);margin:4px 0 0}
.drawer-close{border:0;background:#eef4f3;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer}
.cart-drawer-body{flex:1;overflow:auto;padding:6px 24px}
.drawer-cart-row{display:flex;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}
.drawer-cart-row span{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.drawer-row-end{text-align:right}
.cart-drawer-footer{padding:20px 24px;border-top:1px solid var(--line);background:#fbfcfc}
.drawer-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.drawer-total strong{font:700 27px var(--serif)}
.cart-drawer-footer>.btn{width:100%}
.empty-cart-modern{text-align:center;padding:55px 20px;color:var(--muted)}
.empty-cart-modern span{font-size:42px}
.empty-cart-modern h3{font:700 23px var(--serif);color:var(--ink);margin:12px 0 7px}

.modern-checkout{display:none;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.modern-checkout.open{display:block}
.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.product-modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;opacity:0;pointer-events:none;transition:.2s}
.product-modal.open{opacity:1;pointer-events:auto}
.product-modal-card{width:min(520px,92vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 24px 70px rgba(8,24,27,.28);position:relative}
.product-modal-card h2{font:700 34px var(--serif);margin:7px 0 3px}
.modal-close{position:absolute;top:16px;right:16px}
.modal-price{font-weight:800;color:var(--teal);margin-bottom:18px}
.quantity-control{display:grid;grid-template-columns:44px 1fr 44px;gap:6px}
.quantity-control button{border:1px solid var(--line);background:#f6f9f8;border-radius:7px;font-size:21px;cursor:pointer}
.quantity-control input{text-align:center}
.modal-add-button{width:100%;margin-top:8px}

.floating-notice{position:fixed;top:88px;left:50%;transform:translateX(-50%);z-index:65;min-width:280px;max-width:90vw;padding:12px 17px;border-radius:10px;box-shadow:0 15px 35px rgba(15,40,43,.15)}
.floating-notice.ok{background:#e9f7ef;color:#1f6a43}
.floating-notice.error{background:#fff0ee;color:#9a3026}

@media(max-width:1200px){.modern-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){
  .modern-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-app-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
  .modern-product-grid{grid-template-columns:1fr}
  .checkout-grid{grid-template-columns:1fr}
  .floating-cart-button{left:14px;right:14px;bottom:14px;justify-content:center}
  .category-tabs{overflow:auto;flex-wrap:nowrap;width:100%;padding-bottom:3px}
}

/* v1.6.2 — confirmación de recogida */
.pickup-confirmation{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px 10px;
  align-items:end;
}
.pickup-confirmation label{margin:0}
.confirm-pickup{height:44px;white-space:nowrap}
.pickup-confirmed{
  grid-column:1/-1;
  display:block;
  color:var(--muted);
  font-size:11px;
}
.pickup-confirmed.ok{color:#267047;font-weight:700}
.pickup-confirmed.error{color:#9a3026;font-weight:700}
@media(max-width:600px){
  .pickup-confirmation{grid-template-columns:1fr}
  .confirm-pickup{width:100%}
}

/* v1.7 — WhatsApp, Bizum y Glovo */
.checkout-choice{
  border:0;
  padding:0;
  margin:0 0 14px;
}
.checkout-choice legend{
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.choice-card{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px;
  margin-bottom:8px;
  border:1px solid var(--line);
  border-radius:10px;
  cursor:pointer;
  background:#fff;
  transition:.2s;
}
.choice-card:hover{border-color:var(--teal)}
.choice-card.selected{
  border-color:var(--teal);
  background:#eef8f6;
  box-shadow:0 0 0 2px rgba(39,127,134,.09);
}
.choice-card.disabled{
  opacity:.55;
  cursor:not-allowed;
  background:#f5f6f6;
}
.choice-card input{
  width:auto;
  margin:3px 0 0;
}
.choice-card span,.choice-card strong,.choice-card small{display:block}
.choice-card small{color:var(--muted);margin-top:3px;font-weight:400}
.muted-choice{opacity:.5;pointer-events:none}

.bizum-info{
  display:none;
  gap:11px;
  align-items:center;
  padding:13px;
  border-radius:10px;
  background:#e7f4f3;
  border:1px solid #cce4e1;
  margin-bottom:14px;
}
.bizum-info.visible{display:flex}
.bizum-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--teal);
  color:#fff;
  font-weight:900;
}
.bizum-info strong,.bizum-info small{display:block}
.bizum-info small{color:var(--muted);margin-top:3px}

.whatsapp-order-button{
  display:none;
  width:100%;
  background:#25D366;
  border-color:#25D366;
  margin-top:8px;
}
.whatsapp-order-button:hover{
  background:#1ebe5a;
  border-color:#1ebe5a;
}
.whatsapp-order-button.visible-action{display:flex}
.glovo-order-button{
  width:100%;
  margin-top:8px;
  background:#f4c400;
  border-color:#f4c400;
  color:#263238!important;
  opacity:.6;
  cursor:not-allowed;
}
.hidden-action{display:none!important}

/* v1.8 — fotografía, historia y checkout visual */
.product-visual{height:210px;background:#eef5f3;overflow:hidden}
.product-visual img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.modern-product-card:hover .product-visual img{transform:scale(1.045)}
.checkout-step{margin:18px 0;padding-top:16px;border-top:1px solid var(--line)}
.checkout-step-title{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.checkout-step-title>span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-weight:900}
.checkout-step-title strong,.checkout-step-title small{display:block}.checkout-step-title small{color:var(--muted);margin-top:2px}
.channel-card-grid{display:grid;gap:9px}.channel-card{position:relative;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:13px;background:#fff;cursor:pointer}.channel-card input,.payment-card input{position:absolute;opacity:0;pointer-events:none}.channel-card .channel-icon{font-size:24px}.channel-card strong,.channel-card small{display:block}.channel-card small{color:var(--muted);margin-top:2px}.channel-card i{opacity:0;width:25px;height:25px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;font-style:normal}.channel-card.selected{border-color:var(--teal);background:#eef8f6}.channel-card.selected i{opacity:1}.channel-card.disabled{opacity:.58;cursor:not-allowed}.channel-card em{font-size:9px;font-style:normal;background:#f5c84b;padding:5px 7px;border-radius:999px}
.payment-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.payment-card{position:relative;display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;cursor:pointer}.payment-card>span{font-size:20px}.payment-card strong,.payment-card small{display:block}.payment-card small{color:var(--muted)}.payment-card i{opacity:0;font-style:normal;color:var(--teal);font-weight:900}.payment-card.selected{border-color:var(--teal);background:#eef8f6}.payment-card.selected i{opacity:1}
.family-story-home{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center;background:#fff}.family-story-copy h2{font:700 clamp(34px,4vw,52px) var(--serif);margin:9px 0 16px}.family-story-copy p{color:var(--muted);font-size:16px;line-height:1.7}.family-photo-stack{position:relative;min-height:520px}.family-main{width:88%;height:500px;object-fit:cover;border-radius:18px;box-shadow:0 24px 60px rgba(16,50,54,.18)}.family-small{position:absolute;right:0;bottom:-10px;width:38%;height:230px;object-fit:cover;border-radius:14px;border:8px solid #fff;box-shadow:0 18px 40px rgba(16,50,54,.18)}
.order-channels-home{background:#f6faf9}.channel-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.channel-home-grid>a,.channel-home-grid>div{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:0 12px 30px rgba(19,55,59,.07)}.channel-home-grid span{font-size:30px}.channel-home-grid strong{font:700 25px var(--serif)}.channel-home-grid small{color:var(--muted);font-size:13px}.channel-home-grid .coming{opacity:.68}
.history-intro-modern{display:grid;grid-template-columns:1fr .8fr;gap:50px;align-items:center}.history-intro-modern h2{font:700 clamp(36px,4vw,54px) var(--serif)}.history-intro-modern img{width:100%;height:600px;object-fit:cover;border-radius:18px;filter:sepia(.16)}.generation-story{display:grid;gap:70px}.generation-story article{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}.generation-story article.reverse img{order:2}.generation-story img{width:100%;height:520px;object-fit:cover;border-radius:18px}.generation-story h2{font:700 40px var(--serif);margin:8px 0 14px}.generation-story .year{color:var(--orange);font-weight:900;text-transform:uppercase}.generation-story p{color:var(--muted);font-size:16px;line-height:1.7}.history-gallery{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;align-items:stretch}.history-gallery img{width:100%;height:420px;object-fit:cover;border-radius:15px}.history-gallery>div{background:var(--teal);color:#fff;border-radius:15px;padding:35px;display:flex;flex-direction:column;justify-content:center}.history-gallery h2{font:700 36px var(--serif)}
@media(max-width:900px){.family-story-home,.history-intro-modern,.generation-story article{grid-template-columns:1fr}.generation-story article.reverse img{order:0}.family-photo-stack{min-height:440px}.family-main{height:420px}.channel-home-grid,.history-gallery{grid-template-columns:1fr}.history-gallery img{height:330px}}
@media(max-width:600px){.payment-card-grid{grid-template-columns:1fr}.product-visual{height:230px}.family-small{width:44%;height:180px}.family-main{height:390px}.history-intro-modern img,.generation-story img{height:420px}}

/* v1.9 — ajuste de fotografía y catálogo inspirado en el mockup aprobado */
.history-intro-modern img{
  object-position:50% 8%;
  background:#e9e2d3;
}
.history-catalog-preview{
  padding-top:34px;
  padding-bottom:56px;
  border-top:1px solid var(--line);
}
.history-catalog-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}
.history-catalog-head h2{
  font:700 clamp(30px,3vw,42px) var(--serif);
  margin:6px 0 0;
}
.history-product-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.history-product-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:12px;
  color:var(--ink);
  text-decoration:none;
  box-shadow:0 10px 30px rgba(22,55,59,.07);
  transition:.22s transform,.22s box-shadow;
}
.history-product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 17px 38px rgba(22,55,59,.13);
}
.history-product-card img{
  width:100%;
  height:150px;
  object-fit:contain;
  border-radius:10px;
  background:#f5f8f7;
  margin-bottom:10px;
}
.history-product-card>span{
  color:var(--orange);
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}
.history-product-card h3{
  font:700 20px var(--serif);
  line-height:1.05;
  margin:7px 0;
}
.history-product-card p{
  color:var(--muted);
  font-size:11px;
  min-height:30px;
  margin:0 0 12px;
}
.history-product-card strong{
  margin-top:auto;
  display:block;
  background:var(--teal);
  color:#fff;
  padding:9px 10px;
  border-radius:7px;
  text-align:center;
  font-size:10px;
  text-transform:uppercase;
}

/* El catálogo de pedido queda más parecido al diseño aprobado */
.order-app{
  padding-top:26px;
}
.modern-product-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.modern-product-card{
  border-radius:15px;
  box-shadow:0 10px 30px rgba(22,55,59,.07);
}
.product-visual{
  height:180px;
  padding:8px;
  background:#f4f8f7;
}
.product-visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:9px;
}
.product-content{
  padding:14px;
}
.product-content h3{
  font-size:20px;
  line-height:1.05;
}
.product-content p{
  min-height:30px;
  font-size:11px;
}
.product-meta strong{
  font-size:14px;
}
.product-content .btn{
  padding:10px 8px;
  font-size:10px;
}
@media(max-width:1400px){
  .modern-product-grid,.history-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1000px){
  .modern-product-grid,.history-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  .modern-product-grid,.history-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .history-catalog-head{align-items:flex-start;flex-direction:column}
  .history-intro-modern img{height:520px;object-position:50% 5%}
}
@media(max-width:480px){
  .modern-product-grid,.history-product-grid{grid-template-columns:1fr}
}

/* v1.10 — checkout sin WhatsApp */
.channel-card-grid-two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.channel-card-grid-two .channel-card{
  min-height:96px;
}
.whatsapp-order-button,
.whatsapp-card{
  display:none!important;
}
@media(max-width:640px){
  .channel-card-grid-two{
    grid-template-columns:1fr;
  }
}

/* v1.11 — portada sin WhatsApp y dos canales */
.channel-home-grid-two{
  grid-template-columns:repeat(2,minmax(0,1fr));
  max-width:1320px;
  margin-inline:auto;
}
.channel-home-grid-two > *{
  min-height:245px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
}
.channel-home-grid-two em{
  display:inline-flex;
  align-self:flex-start;
  margin-top:18px;
  padding:9px 13px;
  border-radius:8px;
  background:var(--teal);
  color:#fff;
  font-size:10px;
  font-style:normal;
  font-weight:900;
  text-transform:uppercase;
}
.channel-home-grid-two .coming em{
  background:#eef2f1;
  color:var(--muted);
}
.channel-home-primary:hover{
  transform:translateY(-4px);
}
@media(max-width:760px){
  .channel-home-grid-two{
    grid-template-columns:1fr;
  }
}

/* v1.12 — Historia premium y tratamiento fotográfico vintage */
.history-page-v112{background:#f8f1e5}
.history-hero-v112{display:grid;grid-template-columns:1fr .82fr;gap:clamp(35px,6vw,85px);align-items:center;padding:70px max(25px,7vw);min-height:680px;background:radial-gradient(circle at 8% 10%,rgba(228,133,52,.12),transparent 30%),linear-gradient(135deg,#fffaf1 0%,#f4ead9 100%);overflow:hidden}
.history-hero-copy-v112{max-width:690px}.history-hero-copy-v112 h1{font:700 clamp(43px,5.2vw,76px)/.98 var(--serif);margin:13px 0 23px;letter-spacing:-.025em}.history-hero-copy-v112 p{font-size:17px;line-height:1.8;color:var(--muted);max-width:620px}.history-hero-copy-v112 blockquote{font:italic 700 clamp(21px,2.2vw,31px)/1.35 var(--serif);color:var(--teal);margin:30px 0 0;padding-left:24px;border-left:3px solid var(--orange)}
.vintage-photo{position:relative;margin:0;padding:10px 10px 34px;background:#f6ecd9;border:1px solid rgba(92,69,44,.18);border-radius:3px;box-shadow:0 18px 35px rgba(70,48,27,.18),inset 0 0 0 1px rgba(255,255,255,.7);transform:rotate(-.55deg);overflow:hidden}.vintage-photo:after{content:"";position:absolute;inset:10px 10px 34px;pointer-events:none;background:radial-gradient(circle at 30% 20%,transparent 0 35%,rgba(71,45,25,.11) 100%),repeating-linear-gradient(0deg,rgba(66,44,26,.028) 0 1px,transparent 1px 3px);mix-blend-mode:multiply}.vintage-photo img{width:100%;height:100%;object-fit:cover;filter:sepia(.30) saturate(.78) contrast(.96) brightness(1.03)}.vintage-photo figcaption{position:absolute;left:14px;right:14px;bottom:8px;text-align:center;font:italic 12px var(--serif);color:#6e5a45}.vintage-photo-hero{height:560px;transform:rotate(1.25deg);border-width:2px}.vintage-photo-hero:before{content:"";position:absolute;width:80px;height:24px;top:-5px;left:50%;transform:translateX(-50%) rotate(-2deg);background:rgba(222,202,164,.68);z-index:3;box-shadow:0 1px 2px rgba(50,35,20,.12)}
.history-timeline-v112{background:#fffaf1}.history-title-v112{text-align:center;max-width:760px;margin:0 auto 55px}.history-title-v112 h2{font:700 clamp(38px,4.2vw,60px)/1.02 var(--serif);margin:10px 0 16px}.history-title-v112 p{color:var(--muted);font-size:16px}.timeline-premium-v112{position:relative;max-width:1180px;margin:auto;display:grid;gap:34px}.timeline-premium-v112:before{content:"";position:absolute;left:92px;top:30px;bottom:30px;width:1px;background:linear-gradient(var(--teal),var(--orange),#be747b)}.timeline-entry-v112{display:grid;grid-template-columns:185px 1fr;gap:28px;position:relative}.timeline-marker-v112{position:relative;z-index:2;justify-self:start;width:118px;min-height:118px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#285f5d;color:#fff;border:8px solid #fffaf1;box-shadow:0 10px 25px rgba(33,65,63,.18)}.timeline-marker-v112 strong{font:700 18px var(--serif)}.timeline-marker-v112 span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-top:3px}.marker-teal{background:#438b8c}.marker-orange{background:#cc7740}.marker-gold{background:#ae8b45}.marker-rose{background:#a85e68}.timeline-card-v112{display:grid;grid-template-columns:1fr 330px;gap:34px;align-items:center;background:#fff;border:1px solid #eadfce;border-radius:18px;padding:28px;box-shadow:0 16px 45px rgba(69,48,27,.08)}.timeline-card-v112.reverse .vintage-photo{order:-1;transform:rotate(.65deg)}.timeline-card-v112 .vintage-photo{height:285px}.timeline-copy-v112 .year{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--orange);font-weight:900}.timeline-copy-v112 h3{font:700 clamp(28px,3vw,40px)/1.06 var(--serif);margin:7px 0 13px}.timeline-copy-v112 p{color:var(--muted);font-size:15px;line-height:1.72;margin:0 0 10px}
.history-memory-v112{display:grid;grid-template-columns:1.1fr .9fr;gap:75px;align-items:center;background:#e9f1ed;overflow:hidden}.memory-collage-v112{position:relative;min-height:590px}.memory-collage-v112 .vintage-photo{position:absolute;width:58%;height:390px}.polaroid-one{left:2%;top:45px;transform:rotate(-6deg)}.polaroid-two{right:2%;top:5px;transform:rotate(5deg)}.polaroid-three{left:22%;bottom:0;transform:rotate(-1deg);z-index:3}.memory-copy-v112 h2{font:700 clamp(38px,4.2vw,57px)/1.05 var(--serif);margin:10px 0 20px}.memory-copy-v112 p{font-size:16px;line-height:1.75;color:var(--muted)}.handwritten-v112{display:block;margin-top:28px;font:italic 700 clamp(23px,2.5vw,34px) var(--serif);color:var(--orange);transform:rotate(-1deg)}
.history-values-v112{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dfd2bd;padding-top:0;padding-bottom:0}.history-values-v112 article{background:#fffaf1;text-align:center;padding:38px 24px}.history-values-v112 span{display:grid;place-items:center;margin:0 auto 13px;width:54px;height:54px;border-radius:50%;background:#e3efeb;font-size:24px}.history-values-v112 h3{font:700 20px var(--serif);margin:0 0 8px}.history-values-v112 p{font-size:12px;color:var(--muted);margin:0}
.family-photo-stack .family-main,.family-photo-stack .family-small{filter:sepia(.24) saturate(.82) contrast(.97);border-radius:4px}.family-photo-stack .family-main{border:10px solid #f8efdf;box-shadow:0 24px 55px rgba(69,48,27,.18)}.family-photo-stack .family-small{border:9px solid #fff7e9;transform:rotate(2.5deg);box-shadow:0 16px 38px rgba(69,48,27,.2)}
@media(max-width:950px){.history-hero-v112,.history-memory-v112{grid-template-columns:1fr}.history-hero-v112{padding-top:50px}.vintage-photo-hero{height:500px}.timeline-card-v112{grid-template-columns:1fr}.timeline-card-v112.reverse .vintage-photo{order:0}.history-values-v112{grid-template-columns:1fr 1fr}.memory-collage-v112{min-height:560px}}
@media(max-width:680px){.history-hero-v112{padding:42px 20px}.history-hero-copy-v112 h1{font-size:43px}.vintage-photo-hero{height:420px}.history-timeline-v112{padding-left:18px;padding-right:18px}.timeline-premium-v112:before{left:29px}.timeline-entry-v112{grid-template-columns:58px 1fr;gap:12px}.timeline-marker-v112{width:58px;min-height:58px;border-width:5px}.timeline-marker-v112 strong{font-size:11px}.timeline-marker-v112 span{display:none}.timeline-card-v112{padding:18px;gap:20px}.timeline-card-v112 .vintage-photo{height:245px}.history-memory-v112{padding-left:20px;padding-right:20px;gap:25px}.memory-collage-v112{min-height:440px}.memory-collage-v112 .vintage-photo{height:300px}.history-values-v112{grid-template-columns:1fr}.history-values-v112 article{padding:28px 20px}}

/* v1.12.1 — Corrección de encuadre: no cortar cabezas */
/* En Historia mostramos la fotografía completa dentro del marco vintage. */
.history-page-v112 .vintage-photo img{
  object-fit:contain;
  object-position:center top;
  background:#efe5d4;
}
/* El marco mantiene su proporción y el acabado editorial aunque sobre espacio. */
.history-page-v112 .vintage-photo{
  background:#f6ecd9;
}
/* En portada mantenemos el llenado del marco, pero priorizando siempre los rostros. */
.family-photo-stack .family-main,
.family-photo-stack .family-small{
  object-position:center top;
}
/* Refuerzo para fotografías verticales o retratos en bloques antiguos de Historia. */
.history-intro-modern img,
.generation-story img,
.history-gallery img{
  object-position:center top;
}
@media(max-width:680px){
  .history-page-v112 .vintage-photo img{
    object-position:center top;
  }
}

/* v1.12.2 — Historia editorial Atlas: sin óvalos, hitos discretos */
.history-timeline-v112{
  background:linear-gradient(180deg,#fffaf1 0%,#f8f1e5 100%);
}
.timeline-premium-v112{
  max-width:1240px;
  gap:18px;
}
.timeline-premium-v112:before{
  left:112px;
  top:18px;
  bottom:18px;
  width:1px;
  background:rgba(53,102,101,.32);
}
.timeline-entry-v112{
  grid-template-columns:190px minmax(0,1fr);
  gap:38px;
  align-items:start;
}
.timeline-marker-v112,
.timeline-marker-v112.marker-teal,
.timeline-marker-v112.marker-orange,
.timeline-marker-v112.marker-gold,
.timeline-marker-v112.marker-rose{
  position:relative;
  width:154px;
  min-height:0;
  justify-self:start;
  margin-top:30px;
  padding:14px 12px 13px;
  border-radius:5px;
  border:1px solid rgba(92,69,44,.16);
  background:#f7eddc;
  color:var(--ink);
  box-shadow:0 7px 18px rgba(69,48,27,.08);
  transform:rotate(-.35deg);
}
.timeline-marker-v112:after{
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border-radius:50%;
  right:-76px;
  top:50%;
  transform:translateY(-50%);
  background:var(--orange);
  border:3px solid #fffaf1;
  box-shadow:0 0 0 1px rgba(53,102,101,.25);
}
.timeline-marker-v112 strong{
  font:700 22px/1.05 var(--serif);
  color:var(--teal);
}
.timeline-marker-v112 span{
  display:block;
  margin-top:6px;
  color:var(--orange);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}
.timeline-card-v112{
  grid-template-columns:minmax(0,1fr) minmax(300px,390px);
  gap:44px;
  align-items:center;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(92,69,44,.14);
  border-radius:0;
  padding:22px 0 44px;
  box-shadow:none;
}
.timeline-entry-v112:last-child .timeline-card-v112{border-bottom:0}
.timeline-card-v112 .vintage-photo{
  height:330px;
  border-radius:2px;
  box-shadow:0 14px 30px rgba(70,48,27,.15),inset 0 0 0 1px rgba(255,255,255,.7);
}
.timeline-card-v112.reverse .vintage-photo{order:-1}
.timeline-copy-v112 .year{font-size:10px;letter-spacing:.13em}
.timeline-copy-v112 h3{font-size:clamp(31px,3.2vw,47px);margin-top:9px}
.timeline-copy-v112 p{font-size:15px;line-height:1.76;max-width:690px}

@media(max-width:950px){
  .timeline-premium-v112:before{left:88px}
  .timeline-entry-v112{grid-template-columns:150px 1fr;gap:24px}
  .timeline-marker-v112,
  .timeline-marker-v112.marker-teal,
  .timeline-marker-v112.marker-orange,
  .timeline-marker-v112.marker-gold,
  .timeline-marker-v112.marker-rose{width:126px;margin-top:18px}
  .timeline-marker-v112:after{right:-29px}
  .timeline-card-v112{grid-template-columns:1fr;gap:24px;padding-top:14px}
  .timeline-card-v112.reverse .vintage-photo{order:0}
}
@media(max-width:680px){
  .timeline-premium-v112:before{left:5px}
  .timeline-entry-v112{grid-template-columns:1fr;gap:10px;padding-left:20px}
  .timeline-marker-v112,
  .timeline-marker-v112.marker-teal,
  .timeline-marker-v112.marker-orange,
  .timeline-marker-v112.marker-gold,
  .timeline-marker-v112.marker-rose{
    width:auto;
    justify-self:start;
    margin:0;
    padding:9px 12px 8px;
    text-align:left;
    align-items:flex-start;
  }
  .timeline-marker-v112:after{left:-24px;right:auto;top:50%}
  .timeline-marker-v112 strong{font-size:18px}
  .timeline-marker-v112 span{display:block;font-size:8px}
  .timeline-card-v112{padding:4px 0 30px}
  .timeline-card-v112 .vintage-photo{height:300px}
}

/* v1.13 — Historia rehecha para aproximarse al mockup Atlas */
.history-page-v113{background:#f7efdf;color:var(--ink)}
.history-atlas-hero{display:grid;grid-template-columns:.95fr 1.15fr;gap:clamp(38px,6vw,88px);align-items:center;padding:44px max(34px,6.5vw) 28px;background:radial-gradient(circle at 10% 20%,rgba(228,133,52,.11),transparent 28%),linear-gradient(180deg,#fbf4e7 0%,#f7efdf 100%)}
.history-atlas-copy{max-width:680px}.history-atlas-copy h1{font:700 clamp(42px,4.8vw,72px)/.96 var(--serif);letter-spacing:-.03em;margin:10px 0 18px}.history-atlas-copy p{max-width:620px;font-size:16px;line-height:1.55;color:var(--muted);margin:0}.history-atlas-copy blockquote{font:italic 700 clamp(22px,2.15vw,31px)/1.28 var(--serif);color:#437f84;margin:26px 0 0;padding:5px 0 5px 20px;border-left:3px solid var(--orange);max-width:610px}
.atlas-photo{position:relative;margin:0;background:#efe2c8;padding:10px 10px 34px;border:1px solid rgba(109,79,46,.22);box-shadow:0 15px 32px rgba(77,54,28,.18);transform:rotate(-.45deg)}.atlas-photo img{width:100%;height:100%;display:block;object-fit:contain;object-position:center top;background:#e9deca;filter:sepia(.34) saturate(.78) contrast(.97) brightness(1.03)}.atlas-photo:after{content:"";position:absolute;inset:10px 10px 34px;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(56,40,24,.026) 0 1px,transparent 1px 3px),radial-gradient(circle at 50% 42%,transparent 52%,rgba(72,48,27,.09));mix-blend-mode:multiply}.atlas-photo figcaption{position:absolute;left:12px;right:12px;bottom:7px;text-align:center;font:italic 13px var(--serif);color:#6f5a43}.atlas-photo-hero{height:350px;transform:rotate(1deg)}.atlas-tape{position:absolute;z-index:3;top:-11px;left:50%;width:95px;height:28px;transform:translateX(-50%) rotate(2deg);background:rgba(222,201,160,.72);box-shadow:0 1px 3px rgba(55,39,23,.12)}.atlas-tape.left{left:18%;transform:rotate(-5deg)}.atlas-tape.right{left:auto;right:13%;transform:rotate(4deg)}
.history-atlas-timeline{padding-top:18px;padding-bottom:24px;background:#f7efdf}.atlas-section-title{display:flex;align-items:center;justify-content:center;gap:30px;margin:0 auto 22px;color:#2e7278;text-transform:uppercase;font-size:13px;font-weight:900;letter-spacing:.05em}.atlas-section-title span{width:42px;height:1px;background:var(--orange)}
.atlas-timeline-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;max-width:1450px;margin:auto;align-items:start}.atlas-milestone{text-align:center;min-width:0}.atlas-milestone .atlas-photo{height:196px;margin-bottom:13px}.atlas-milestone:nth-child(2n) .atlas-photo{transform:rotate(.55deg)}.atlas-milestone h2{font:700 clamp(17px,1.25vw,22px)/1.05 var(--serif);margin:0 0 5px}.atlas-milestone b{display:block;color:var(--orange);text-transform:uppercase;font-size:11px;letter-spacing:.05em;margin-bottom:8px}.atlas-milestone p{font-size:12px;line-height:1.45;color:#5e6668;margin:0 auto;max-width:245px}.atlas-timeline-line{position:relative;display:grid;grid-template-columns:repeat(5,1fr);max-width:1450px;margin:17px auto 0;height:22px;align-items:center}.atlas-timeline-line:before{content:"";position:absolute;left:10%;right:10%;top:50%;height:2px;background:#5d9aa0;transform:translateY(-50%)}.atlas-timeline-line i{position:relative;z-index:2;justify-self:center;width:18px;height:18px;border-radius:50%;background:var(--orange);border:4px solid #f7efdf;box-shadow:0 0 0 1px rgba(53,102,101,.15)}
.history-atlas-values{margin:18px max(34px,5vw) 44px;padding:26px 32px;border:1px solid rgba(106,83,56,.14);border-radius:14px;background:rgba(255,250,241,.52);box-shadow:0 9px 30px rgba(78,54,28,.05);display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:center}.history-atlas-values>h2{font:700 31px/1 var(--serif);margin:0}.atlas-values-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}.atlas-values-grid article{display:flex;align-items:flex-start;gap:11px}.atlas-values-grid article>span{font-size:28px;color:var(--orange);line-height:1}.atlas-values-grid h3{font:700 16px var(--serif);margin:0 0 3px}.atlas-values-grid p{font-size:11px;line-height:1.35;color:#5e6668;margin:0}
@media(max-width:1100px){.history-atlas-hero{grid-template-columns:1fr 1fr}.atlas-timeline-grid{grid-template-columns:repeat(3,1fr)}.atlas-timeline-line{display:none}.atlas-values-grid{grid-template-columns:repeat(3,1fr)}.history-atlas-values{grid-template-columns:1fr}}
@media(max-width:760px){.history-atlas-hero{grid-template-columns:1fr;padding:38px 20px 22px}.history-atlas-copy h1{font-size:43px}.atlas-photo-hero{height:auto;aspect-ratio:4/3}.history-atlas-timeline{padding-left:20px;padding-right:20px}.atlas-timeline-grid{grid-template-columns:1fr 1fr;gap:25px 16px}.atlas-milestone .atlas-photo{height:220px}.history-atlas-values{margin:16px 20px 30px;padding:24px}.atlas-values-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.atlas-timeline-grid{grid-template-columns:1fr}.atlas-milestone .atlas-photo{height:auto;aspect-ratio:4/3}.atlas-values-grid{grid-template-columns:1fr}.history-atlas-copy h1{font-size:39px}}

/* v1.14 — Home editorial Atlas */
.home-page-v114{background:#f7efdf}
.home-page-v114 main{overflow:hidden}
.home-atlas-hero{min-height:650px;display:grid;grid-template-columns:.88fr 1.12fr;gap:clamp(35px,5.5vw,90px);align-items:center;padding:58px max(34px,6.5vw) 62px;background:radial-gradient(circle at 9% 15%,rgba(228,133,52,.12),transparent 27%),linear-gradient(180deg,#fbf4e7,#f7efdf)}
.home-atlas-copy{max-width:680px;position:relative;z-index:2}.home-atlas-copy h1{font:700 clamp(48px,5.35vw,82px)/.91 var(--serif);letter-spacing:-.045em;margin:12px 0 22px}.home-atlas-copy h1 em{font-style:italic;color:var(--orange);font-weight:600}.home-atlas-copy>p{font-size:16px;line-height:1.7;color:var(--muted);max-width:565px}.home-atlas-actions{margin-top:27px}.home-signature{display:flex;align-items:center;gap:12px;margin-top:42px;color:#6c6c62;text-transform:uppercase;font-size:9px;font-weight:800;letter-spacing:.12em}.home-signature strong{font:700 27px/1 var(--serif);color:var(--teal);letter-spacing:-.02em}.home-atlas-collage{position:relative;min-height:520px}.home-photo-main{position:absolute;right:2%;top:0;width:min(72%,610px);height:450px;transform:rotate(1.3deg)}.home-photo-secondary{position:absolute;left:0;bottom:-4px;width:49%;height:245px;transform:rotate(-2.4deg);z-index:4}.home-photo-main img,.home-photo-secondary img{object-fit:cover;object-position:center}.home-photo-main img{object-position:center 48%}.home-photo-secondary img{object-position:center}
.home-memory-strip{min-height:62px;display:flex;align-items:center;justify-content:center;gap:24px;padding:15px 5vw;border-block:1px solid rgba(106,83,56,.14);background:rgba(255,250,241,.52);text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.1em;color:#486f70}.home-memory-strip i{width:4px;height:4px;border-radius:50%;background:var(--orange)}
.home-editorial-story{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(45px,7vw,110px);align-items:center;background:#fffaf1;padding-top:90px;padding-bottom:100px}.home-story-photos{position:relative;min-height:570px}.story-photo-large{position:absolute;left:0;top:0;width:78%;height:495px;transform:rotate(-1deg)}.story-photo-large img,.story-photo-small img{object-fit:contain;object-position:center top}.story-photo-small{position:absolute;right:0;bottom:-5px;width:39%;height:310px;transform:rotate(2.2deg);z-index:3}.home-story-copy h2{font:700 clamp(43px,4.8vw,70px)/.94 var(--serif);letter-spacing:-.035em;margin:12px 0 21px}.home-story-copy>p{font-size:16px;line-height:1.75;color:var(--muted);max-width:580px}.home-story-copy blockquote{font:italic 700 clamp(23px,2.3vw,32px)/1.25 var(--serif);color:#437f84;border-left:3px solid var(--orange);padding-left:20px;margin:28px 0}.atlas-text-link{display:inline-flex;gap:12px;align-items:center;text-transform:uppercase;font-size:10px;letter-spacing:.05em}.atlas-text-link span{font-size:16px}
.home-flavours-v114{background:#f7efdf;padding-top:94px;padding-bottom:95px}.home-section-title{max-width:1320px;margin:0 auto 42px;display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:end}.home-section-title h2{font:700 clamp(41px,4.2vw,64px)/.95 var(--serif);letter-spacing:-.035em;margin:9px 0 0;max-width:790px}.home-section-title>p{font-size:14px;line-height:1.7;color:var(--muted);max-width:430px;margin:0 0 7px}.home-flavour-gallery{max-width:1450px;margin:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.home-flavour-card a{text-decoration:none;display:block}.home-flavour-image{aspect-ratio:.82/1;overflow:hidden;background:#eee2ce;box-shadow:0 13px 25px rgba(75,54,30,.10)}.home-flavour-image img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease,filter .55s ease;filter:saturate(.87) contrast(.96) brightness(1.02)}.home-flavour-card:nth-child(2n) .home-flavour-image{margin-top:27px}.home-flavour-card:hover img{transform:scale(1.035);filter:saturate(1) contrast(.98)}.home-flavour-caption{padding:13px 3px 0}.home-flavour-caption span{font-size:9px;font-weight:800;color:var(--orange)}.home-flavour-caption h3{font:700 clamp(16px,1.25vw,21px)/1.05 var(--serif);margin:3px 0 6px}.home-flavour-caption em{font-style:normal;text-transform:uppercase;font-size:8px;font-weight:900;letter-spacing:.05em;color:var(--teal);opacity:0;transition:.2s}.home-flavour-card:hover .home-flavour-caption em{opacity:1}
.home-craft{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(45px,8vw,125px);align-items:center;background:#fffaf1;padding-top:95px;padding-bottom:95px}.home-craft-copy{max-width:600px}.home-craft-copy h2{font:700 clamp(44px,4.6vw,70px)/.94 var(--serif);letter-spacing:-.035em;margin:11px 0 22px}.home-craft-copy>p{font-size:16px;line-height:1.75;color:var(--muted)}.home-craft-notes{display:grid;gap:11px;margin-top:28px}.home-craft-notes span{display:flex;align-items:center;gap:12px;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.05em}.home-craft-notes span:before{content:"";width:28px;height:1px;background:var(--orange)}.home-craft-image{margin:0;position:relative;height:620px}.home-craft-image img{width:100%;height:100%;object-fit:cover;object-position:center 34%;filter:saturate(.86) sepia(.08) contrast(.96)}.home-craft-image figcaption{position:absolute;right:18px;bottom:16px;background:rgba(247,239,223,.90);padding:8px 11px;font:italic 11px var(--serif);color:#695743}
.home-order-v114{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:center;background:#e9d9bf}.home-order-copy h2{font:700 clamp(43px,4.5vw,69px)/.92 var(--serif);letter-spacing:-.04em;margin:11px 0 18px}.home-order-copy p{color:#59686b;max-width:500px;line-height:1.7;margin-bottom:25px}.home-order-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.home-order-card{min-height:270px;padding:28px;display:flex;flex-direction:column;text-decoration:none;background:rgba(255,250,241,.72);border:1px solid rgba(87,68,45,.15);transition:.25s}.home-order-card.primary:hover{transform:translateY(-4px);background:#fffaf1}.home-order-card small{color:var(--orange);font-weight:900}.home-order-card strong{font:700 30px/1.05 var(--serif);margin:37px 0 10px}.home-order-card span{font-size:12px;color:var(--muted);max-width:290px}.home-order-card em{margin-top:auto;padding-top:25px;font-style:normal;text-transform:uppercase;font-size:9px;font-weight:900;color:var(--teal)}
.home-month-v114{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center;background:#fffaf1}.home-month-v114 h2{font:700 clamp(42px,4vw,63px)/.95 var(--serif);margin:10px 0 16px}.home-month-v114 p{color:var(--muted);max-width:520px}.home-month-v114>img{width:100%;height:410px;object-fit:cover}
.home-closing-v114{min-height:650px;position:relative;display:flex;align-items:center;padding:70px max(34px,7vw);color:#fff;background:#173c43}.home-closing-v114>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-closing-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,39,45,.88) 0%,rgba(11,39,45,.60) 46%,rgba(11,39,45,.13) 76%)}.home-closing-copy{position:relative;z-index:2;max-width:710px}.home-closing-copy .kicker{color:#ffd0a6}.home-closing-copy h2{font:700 clamp(49px,5.6vw,86px)/.88 var(--serif);letter-spacing:-.045em;margin:13px 0 24px}.home-closing-copy h2 em{font-style:italic;color:#f4b275}.home-closing-copy p{font-size:16px;line-height:1.65;max-width:570px;color:#edf2f0}.closing-ghost{background:transparent;border-color:rgba(255,255,255,.65);color:#fff!important}.home-page-v114 footer{background:#76aaab}
@media(max-width:1100px){.home-atlas-hero{grid-template-columns:1fr 1fr}.home-photo-main{width:82%}.home-flavour-gallery{grid-template-columns:repeat(3,1fr)}.home-flavour-card:nth-child(2n) .home-flavour-image{margin-top:0}.home-editorial-story{grid-template-columns:1fr 1fr}.home-order-v114{grid-template-columns:1fr}.home-craft{grid-template-columns:1fr 1fr}}
@media(max-width:780px){.home-atlas-hero{grid-template-columns:1fr;padding:45px 22px 50px}.home-atlas-copy h1{font-size:50px}.home-atlas-collage{min-height:460px;margin-top:10px}.home-photo-main{right:0;width:83%;height:390px}.home-photo-secondary{width:48%;height:190px}.home-memory-strip{justify-content:flex-start;overflow:auto;white-space:nowrap}.home-editorial-story,.home-craft,.home-section-title,.home-month-v114{grid-template-columns:1fr}.home-story-photos{min-height:520px}.story-photo-large{width:82%;height:440px}.story-photo-small{width:42%;height:270px}.home-story-copy{padding-top:15px}.home-flavour-gallery{grid-template-columns:repeat(2,1fr)}.home-craft-image{height:500px}.home-order-cards{grid-template-columns:1fr}.home-closing-v114{min-height:600px;padding:55px 23px}.home-closing-copy h2{font-size:55px}}
@media(max-width:500px){.home-atlas-copy h1{font-size:43px}.home-atlas-actions{flex-direction:column}.home-atlas-collage{min-height:390px}.home-photo-main{width:88%;height:330px}.home-photo-secondary{width:53%;height:160px}.home-signature{margin-top:30px}.home-editorial-story{padding-top:65px;padding-bottom:70px}.home-story-photos{min-height:430px}.story-photo-large{width:85%;height:370px}.story-photo-small{height:220px}.home-story-copy h2,.home-craft-copy h2{font-size:43px}.home-flavour-gallery{gap:12px}.home-flavour-caption h3{font-size:16px}.home-order-v114{gap:35px}.home-closing-copy h2{font-size:47px}.home-closing-v114 .actions{flex-direction:column;align-items:flex-start}.home-craft-image{height:420px}}

/* v1.14.1 — Logo con mayor presencia sin aumentar el header */
.header{
  height:68px;
  padding-top:5px;
  padding-bottom:5px;
}
.header .logo{
  width:104px;
  height:58px;
  display:flex;
  align-items:center;
  flex:0 0 104px;
  overflow:visible;
}
.header .logo img{
  width:104px;
  height:58px;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.header nav{gap:21px}
.header nav a{font-size:10px;letter-spacing:.015em}
.header .cta{padding:10px 15px}
@media(max-width:1050px){
  .header .logo{width:96px;flex-basis:96px}
  .header .logo img{width:96px;height:56px}
  .header nav{gap:12px}
}
@media(max-width:780px){
  .header{height:66px;padding-top:4px;padding-bottom:4px}
  .header .logo{width:92px;height:56px;flex-basis:92px}
  .header .logo img{width:92px;height:54px}
  .header nav{top:66px}
}

/* v1.15 Sabores Atlas */
.flavours-atlas-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end;padding:72px max(34px,6.5vw) 55px;background:linear-gradient(180deg,#fbf4e7,#f7efdf)}.flavours-atlas-hero h1{font:700 clamp(52px,6vw,92px)/.88 var(--serif);letter-spacing:-.05em;margin:12px 0 0}.flavours-atlas-hero h1 em{font-style:italic;color:var(--orange)}.flavours-atlas-hero>p{font-size:15px;line-height:1.75;color:var(--muted);max-width:460px}.flavours-atlas-section{background:#f7efdf;padding-top:0}.flavours-atlas-section .filters{position:sticky;top:68px;z-index:8;margin:0 calc(-1 * max(34px,6.5vw)) 48px;padding:15px max(34px,6.5vw);background:rgba(247,239,223,.94);backdrop-filter:blur(12px);border-block:1px solid rgba(92,69,44,.11)}.flavours-atlas-section .filters button{border:0;background:transparent;border-radius:0;padding:9px 2px;margin-right:22px;font-size:10px;font-weight:900;text-transform:uppercase;border-bottom:2px solid transparent}.flavours-atlas-section .filters button.active{color:var(--teal);border-bottom-color:var(--orange)}.flavours-grid-atlas{display:grid;grid-template-columns:repeat(4,1fr);gap:52px 24px;max-width:1450px;margin:auto}.flavour-card-atlas{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;transition:.35s}.flavour-card-atlas:hover{transform:translateY(-6px)}.flavour-card-atlas img{width:100%;aspect-ratio:.86/1;object-fit:cover;border-radius:2px;box-shadow:0 15px 30px rgba(75,54,30,.12);filter:saturate(.86) contrast(.96) brightness(1.02)}.flavour-card-atlas .card-body{padding:15px 3px 0!important}.flavour-card-atlas .card-body small{display:block;color:var(--orange);font-size:9px;font-weight:900;text-transform:uppercase;margin-bottom:5px}.flavour-card-atlas .card-body h3{font:700 clamp(21px,1.8vw,29px)/1 var(--serif);margin:0}.flavours-atlas-closing{max-width:1450px;margin:95px auto 15px;padding:60px clamp(28px,5vw,75px);background:#e9d9bf;display:grid;grid-template-columns:.65fr 1.35fr auto;gap:35px;align-items:center}.flavours-atlas-closing>span{text-transform:uppercase;font-size:9px;font-weight:900;color:var(--orange)}.flavours-atlas-closing h2{font:700 clamp(30px,3.2vw,49px)/.96 var(--serif);margin:0}@media(max-width:1050px){.flavours-grid-atlas{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.flavours-atlas-hero{grid-template-columns:1fr;gap:24px;padding:48px 22px 38px}.flavours-atlas-hero h1{font-size:54px}.flavours-atlas-section{padding-left:22px;padding-right:22px}.flavours-atlas-section .filters{top:66px;margin:0 -22px 36px;padding:12px 22px;display:flex;overflow-x:auto;white-space:nowrap}.flavours-grid-atlas{grid-template-columns:repeat(2,1fr);gap:38px 14px}.flavours-atlas-closing{margin-top:65px;grid-template-columns:1fr;padding:38px 28px}}

/* v1.15.1 — equilibrio de catálogo: fotos más compactas */
.flavours-atlas-hero{padding-bottom:42px}
.flavours-atlas-section .filters{margin-bottom:38px}
.flavours-grid-atlas{max-width:1320px;gap:38px 26px}
.flavour-card-atlas img{aspect-ratio:1.42/1;max-height:245px;object-fit:cover;border-radius:10px}
.flavour-card-atlas .card-body{padding:13px 8px 18px!important}
.flavour-card-atlas .card-body h3{font-size:clamp(20px,1.55vw,26px)}
.flavour-card-atlas{background:rgba(255,252,245,.58)!important;border:1px solid rgba(92,69,44,.08)!important;border-radius:13px!important;padding:8px;box-shadow:0 8px 20px rgba(75,54,30,.055)!important}
@media(max-width:1050px){.flavour-card-atlas img{max-height:225px}}
@media(max-width:780px){.flavour-card-atlas img{aspect-ratio:1.15/1;max-height:none}.flavour-card-atlas{padding:6px}}


/* v1.17 — Pedido premium + footer editorial */
.order-atlas-hero{
  background:
    radial-gradient(circle at 82% 16%,rgba(78,132,137,.12),transparent 26%),
    radial-gradient(circle at 12% 10%,rgba(228,133,52,.10),transparent 24%),
    linear-gradient(180deg,#fbf4e7,#f7efdf);
  padding-top:70px!important;
  padding-bottom:44px!important;
}
.order-atlas-hero h1{
  font:700 clamp(48px,5.7vw,84px)/.92 var(--serif);
  letter-spacing:-.045em;
  max-width:820px;
}
.order-atlas-page,
body:has(.order-atlas-form) main{
  background:#f7efdf;
}
.order-atlas-form{
  max-width:1050px;
  margin:0 auto 90px;
  padding:42px clamp(22px,4vw,56px);
  background:#fffaf1;
  border:1px solid rgba(91,68,43,.10);
  border-radius:18px;
  box-shadow:0 20px 50px rgba(65,48,29,.08);
}
.order-atlas-form label{
  display:block;
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:var(--teal);
  margin-bottom:7px;
}
.order-atlas-form input,
.order-atlas-form select,
.order-atlas-form textarea{
  width:100%;
  background:#fffdf8;
  border:1px solid rgba(63,85,83,.16);
  border-radius:10px;
  padding:13px 14px;
  font:inherit;
  color:var(--ink);
  box-shadow:none;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.order-atlas-form input:focus,
.order-atlas-form select:focus,
.order-atlas-form textarea:focus{
  outline:none;
  border-color:rgba(51,105,108,.65);
  box-shadow:0 0 0 4px rgba(51,105,108,.08);
  background:#fff;
}
.order-atlas-form button,
.order-atlas-form .btn{
  min-height:48px;
  border-radius:10px;
  padding-inline:24px;
}
.capri-premium-footer{
  background:#173b3e;
  color:#f8efdf;
  padding:72px max(28px,6vw) 42px;
  margin-top:0;
}
.capri-premium-footer__inner{
  max-width:1450px;
  margin:auto;
  display:grid;
  grid-template-columns:1.25fr .95fr;
  gap:80px;
  align-items:end;
}
.capri-premium-footer .kicker{color:#e88a38}
.capri-premium-footer h2{
  font:700 clamp(34px,4.3vw,62px)/.95 var(--serif);
  letter-spacing:-.04em;
  max-width:760px;
  margin:10px 0 20px;
  color:#fff8eb;
}
.capri-premium-footer__story p{
  max-width:580px;
  color:rgba(255,248,235,.72);
  line-height:1.7;
}
.capri-premium-footer__meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.16);
}
.capri-premium-footer__meta div{display:flex;flex-direction:column;gap:7px}
.capri-premium-footer__meta strong{
  color:#e88a38;
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.09em;
}
.capri-premium-footer__meta span,
.capri-premium-footer__meta a{
  color:rgba(255,248,235,.78);
  font-size:13px;
  line-height:1.5;
  text-decoration:none;
}
.capri-premium-footer__meta a:hover{color:#fff}
@media(max-width:900px){
  .capri-premium-footer__inner{grid-template-columns:1fr;gap:45px}
}
@media(max-width:620px){
  .order-atlas-form{margin-inline:16px;padding:28px 18px}
  .capri-premium-footer{padding:55px 22px 34px}
  .capri-premium-footer__meta{grid-template-columns:1fr;gap:22px}
}

/* v1.17.1 — Footer compacto inspirado en mockup */
.capri-premium-footer{display:none!important}
.capri-footer-cta{
  min-height:300px;
  padding:58px max(34px,7vw);
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  gap:50px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 77% 38%,rgba(225,145,82,.16),transparent 25%),
    linear-gradient(90deg,#fbf5e9,#f7ecda);
  border-top:1px solid rgba(191,119,56,.22);
}
.capri-footer-cta:after{
  content:"";
  position:absolute;
  right:8%;
  bottom:-150px;
  width:420px;height:420px;
  border:1px solid rgba(49,92,95,.09);
  border-radius:50%;
}
.capri-footer-cta__copy{max-width:650px;position:relative;z-index:1}
.capri-footer-cta h2{
  font:700 clamp(34px,3.8vw,58px)/.98 var(--serif);
  letter-spacing:-.035em;
  color:var(--ink);
  margin:10px 0 14px;
}
.capri-footer-cta p{color:var(--muted);margin:0 0 24px}
.capri-footer-cta .btn{min-height:46px;padding:13px 24px}
.capri-footer-cta__mark{
  justify-self:center;
  width:205px;height:205px;border-radius:50%;
  border:2px solid rgba(190,113,49,.18);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  font:700 31px/1 var(--serif);
  letter-spacing:.06em;
  color:rgba(185,105,42,.22);
  transform:rotate(-8deg);
}
.capri-footer-cta__mark small{font:800 9px/1.2 var(--sans);letter-spacing:.12em;margin-top:10px}
footer:not(.capri-premium-footer){
  padding-top:38px!important;
  padding-bottom:30px!important;
  min-height:0!important;
}
footer:not(.capri-premium-footer) .container,
footer:not(.capri-premium-footer) .footer-inner{
  max-width:1450px!important;
  margin:auto!important;
}
@media(max-width:780px){
 .capri-footer-cta{grid-template-columns:1fr;padding:46px 22px;min-height:0}
 .capri-footer-cta__mark{display:none}
 .capri-footer-cta h2{font-size:38px}
}


/* v1.17.2 — Footer crema editorial */
footer:not(.capri-premium-footer){
  background:
    radial-gradient(circle at 15% 0%,rgba(228,133,52,.05),transparent 26%),
    linear-gradient(180deg,#fbf5e9,#f7efdf)!important;
  color:var(--ink)!important;
  border-top:1px solid rgba(190,113,49,.18)!important;
  padding:28px max(34px,6.5vw) 24px!important;
  min-height:0!important;
  box-shadow:none!important;
}
footer:not(.capri-premium-footer) *{
  color:inherit;
}
footer:not(.capri-premium-footer) a{
  color:var(--teal)!important;
  text-decoration:none;
}
footer:not(.capri-premium-footer) a:hover{
  color:var(--orange)!important;
}
footer:not(.capri-premium-footer) img{
  max-height:76px;
  width:auto;
}
footer:not(.capri-premium-footer) .container,
footer:not(.capri-premium-footer) .footer-inner,
footer:not(.capri-premium-footer) .footer-grid{
  max-width:1450px!important;
  margin:0 auto!important;
}
footer:not(.capri-premium-footer) .footer-grid{
  display:grid!important;
  grid-template-columns:180px repeat(3,1fr)!important;
  gap:48px!important;
  align-items:start!important;
}
footer:not(.capri-premium-footer) h3,
footer:not(.capri-premium-footer) h4,
footer:not(.capri-premium-footer) strong{
  color:var(--ink)!important;
}
footer:not(.capri-premium-footer) p,
footer:not(.capri-premium-footer) span{
  color:rgba(31,48,53,.76)!important;
}
@media(max-width:900px){
  footer:not(.capri-premium-footer) .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:28px!important;
  }
}
@media(max-width:560px){
  footer:not(.capri-premium-footer){
    padding:26px 22px 22px!important;
  }
  footer:not(.capri-premium-footer) .footer-grid{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  footer:not(.capri-premium-footer) img{
    max-height:66px;
  }
}


/* v1.17.3 — Footer HTML completo, fiel al mockup */
.capri-site-footer{
  background:
    radial-gradient(circle at 11% 88%, rgba(138,102,65,.06), transparent 17%),
    linear-gradient(180deg,#fbf5e9 0%,#f7efdf 100%) !important;
  color:var(--ink)!important;
  border-top:1px solid rgba(190,113,49,.22)!important;
  padding:0!important;
  min-height:0!important;
}
.capri-site-footer__main{
  max-width:1450px;
  margin:0 auto;
  padding:54px max(24px,3vw) 42px;
  display:grid;
  grid-template-columns:1.25fr 1fr 1.22fr .82fr .82fr;
  gap:0;
  align-items:start;
}
.capri-site-footer__brand{
  padding-right:48px;
  position:relative;
  min-height:300px;
}
.capri-site-footer__logo{
  display:block;
  width:178px!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  mix-blend-mode:multiply;
  margin:0 0 23px;
}
.capri-site-footer__brand>p:not(.capri-site-footer__thanks){
  max-width:265px;
  font-size:14px;
  line-height:1.65;
  color:rgba(31,48,53,.78)!important;
  margin:0 0 22px;
}
.capri-site-footer__thanks{
  margin:0;
  color:var(--orange)!important;
  font-family:var(--serif);
  font-size:24px;
  font-style:italic;
  line-height:1.28;
  transform:rotate(-2deg);
  transform-origin:left center;
}
.capri-site-footer__memory{
  position:absolute;
  left:-8px;
  bottom:-42px;
  width:225px!important;
  height:106px!important;
  max-height:none!important;
  object-fit:cover;
  object-position:center;
  filter:sepia(.45) grayscale(.35) contrast(.82);
  opacity:.20;
  mix-blend-mode:multiply;
  -webkit-mask-image:linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.65) 55%,transparent 100%);
  mask-image:linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.65) 55%,transparent 100%);
}
.capri-site-footer__column{
  min-height:210px;
  padding:8px 28px 8px 40px;
  border-left:1px solid rgba(183,141,95,.22);
  display:flex;
  flex-direction:column;
  gap:9px;
}
.capri-site-footer__column h3{
  margin:0 0 18px;
  color:var(--ink)!important;
  font-family:var(--sans);
  font-size:12px;
  line-height:1;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.capri-site-footer__column p,
.capri-site-footer__column a{
  margin:0;
  font-size:13px;
  line-height:1.65;
}
.capri-site-footer__column p{
  color:rgba(31,48,53,.78)!important;
}
.capri-site-footer__column a{
  width:max-content;
  max-width:100%;
  color:var(--ink)!important;
  text-decoration:none;
}
.capri-site-footer__column a:hover{
  color:var(--orange)!important;
}
.capri-site-footer__small{
  max-width:245px;
  font-size:12px!important;
  color:rgba(31,48,53,.60)!important;
}
.capri-site-footer__order{
  margin-top:8px;
  font-weight:800;
  color:var(--teal)!important;
}
.capri-site-footer__bottom{
  max-width:1450px;
  margin:0 auto;
  padding:20px max(24px,3vw) 24px;
  border-top:1px solid rgba(183,141,95,.22);
  display:flex;
  justify-content:space-between;
  gap:24px;
  font-size:11px;
  color:rgba(31,48,53,.68)!important;
}
.capri-site-footer__bottom span{
  color:inherit!important;
}
@media(max-width:1100px){
  .capri-site-footer__main{
    grid-template-columns:1.15fr 1fr 1fr;
    row-gap:32px;
  }
  .capri-site-footer__brand{grid-row:span 2}
  .capri-site-footer__column:nth-of-type(4),
  .capri-site-footer__column:nth-of-type(5){border-top:1px solid rgba(183,141,95,.16)}
}
@media(max-width:760px){
  .capri-site-footer__main{
    grid-template-columns:1fr 1fr;
    padding:38px 22px 30px;
  }
  .capri-site-footer__brand{
    grid-column:1/-1;
    min-height:0;
    padding:0 0 28px;
  }
  .capri-site-footer__logo{width:154px!important}
  .capri-site-footer__memory{display:none}
  .capri-site-footer__column{
    border-left:0;
    border-top:1px solid rgba(183,141,95,.18);
    padding:24px 20px 6px 0;
    min-height:0;
  }
  .capri-site-footer__bottom{
    flex-direction:column;
    padding:18px 22px 24px;
  }
}
@media(max-width:470px){
  .capri-site-footer__main{grid-template-columns:1fr}
  .capri-site-footer__column{padding-right:0}
  .capri-site-footer__thanks{font-size:22px}
}


/* v1.17.4 — FIX definitivo footer 5 columnas */
body .capri-site-footer{
  display:block!important;
  width:100%!important;
  margin:0!important;
  background:linear-gradient(180deg,#fbf5e9 0%,#f7efdf 100%)!important;
  color:#20383d!important;
  border-top:1px solid rgba(190,113,49,.22)!important;
  padding:0!important;
  min-height:0!important;
}
body .capri-site-footer .capri-site-footer__main{
  box-sizing:border-box!important;
  width:min(1450px,calc(100% - 80px))!important;
  max-width:1450px!important;
  margin:0 auto!important;
  padding:52px 0 44px!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1.25fr) minmax(180px,1fr) minmax(230px,1.15fr) minmax(150px,.8fr) minmax(150px,.8fr)!important;
  column-gap:0!important;
  row-gap:0!important;
  align-items:start!important;
}
body .capri-site-footer .capri-site-footer__brand{
  grid-column:auto!important;
  grid-row:auto!important;
  display:block!important;
  min-width:0!important;
  min-height:280px!important;
  padding:0 42px 0 0!important;
  margin:0!important;
}
body .capri-site-footer .capri-site-footer__column{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  min-width:0!important;
  min-height:220px!important;
  width:auto!important;
  margin:0!important;
  padding:8px 26px 8px 34px!important;
  border-left:1px solid rgba(183,141,95,.22)!important;
  border-top:0!important;
  float:none!important;
  position:relative!important;
}
body .capri-site-footer .capri-site-footer__logo{
  width:176px!important;
  height:auto!important;
  max-width:176px!important;
  max-height:none!important;
  margin:0 0 22px!important;
  object-fit:contain!important;
}
body .capri-site-footer .capri-site-footer__brand > p{
  max-width:265px!important;
}
body .capri-site-footer .capri-site-footer__thanks{
  color:#d47a2c!important;
  font-family:var(--serif)!important;
  font-size:23px!important;
  font-style:italic!important;
  line-height:1.3!important;
  margin-top:10px!important;
}
body .capri-site-footer .capri-site-footer__memory{
  width:215px!important;
  height:100px!important;
  max-width:215px!important;
  max-height:100px!important;
}
body .capri-site-footer .capri-site-footer__column h3{
  margin:0 0 18px!important;
  font-size:12px!important;
  line-height:1!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
body .capri-site-footer .capri-site-footer__column p,
body .capri-site-footer .capri-site-footer__column a{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 0 7px!important;
  line-height:1.55!important;
}
body .capri-site-footer .capri-site-footer__bottom{
  box-sizing:border-box!important;
  width:min(1450px,calc(100% - 80px))!important;
  max-width:1450px!important;
  margin:0 auto!important;
  padding:20px 0 25px!important;
  display:flex!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:30px!important;
  border-top:1px solid rgba(183,141,95,.22)!important;
}
@media (max-width:1100px){
  body .capri-site-footer .capri-site-footer__main{
    width:min(920px,calc(100% - 48px))!important;
    grid-template-columns:1.15fr 1fr 1fr!important;
    row-gap:30px!important;
  }
  body .capri-site-footer .capri-site-footer__brand{
    grid-row:span 2!important;
  }
  body .capri-site-footer .capri-site-footer__bottom{
    width:min(920px,calc(100% - 48px))!important;
  }
}
@media (max-width:760px){
  body .capri-site-footer .capri-site-footer__main{
    width:calc(100% - 44px)!important;
    grid-template-columns:1fr 1fr!important;
    padding:38px 0 30px!important;
  }
  body .capri-site-footer .capri-site-footer__brand{
    grid-column:1/-1!important;
    grid-row:auto!important;
    min-height:0!important;
    padding:0 0 28px!important;
  }
  body .capri-site-footer .capri-site-footer__column{
    min-height:0!important;
    padding:24px 18px 10px 0!important;
    border-left:0!important;
    border-top:1px solid rgba(183,141,95,.18)!important;
  }
  body .capri-site-footer .capri-site-footer__bottom{
    width:calc(100% - 44px)!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:6px!important;
  }
}
@media (max-width:480px){
  body .capri-site-footer .capri-site-footer__main{
    grid-template-columns:1fr!important;
  }
}


/* v1.18 — Contacto editorial + acabados generales */
.contact-atlas-hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:70px;
  align-items:end;
  padding:72px max(34px,6.5vw) 58px;
  background:
    radial-gradient(circle at 84% 14%,rgba(78,132,137,.13),transparent 28%),
    radial-gradient(circle at 12% 14%,rgba(228,133,52,.10),transparent 22%),
    linear-gradient(180deg,#fbf5e9 0%,#f7efdf 100%);
}
.contact-atlas-hero h1{
  margin:10px 0 16px;
  font:700 clamp(54px,6vw,92px)/.9 var(--serif);
  letter-spacing:-.05em;
  color:var(--ink);
}
.contact-atlas-hero h1 em{
  color:var(--orange);
  font-style:italic;
  font-weight:600;
}
.contact-atlas-hero__copy p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}
.contact-atlas-hero__note{
  justify-self:end;
  width:min(320px,100%);
  padding:34px 36px;
  border:1px solid rgba(190,113,49,.22);
  background:rgba(255,250,241,.65);
  box-shadow:0 18px 40px rgba(72,54,35,.07);
  transform:rotate(1deg);
}
.contact-atlas-hero__note span{
  display:block;
  color:var(--orange);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.contact-atlas-hero__note strong{
  font:700 30px/1.05 var(--serif);
  color:var(--ink);
}
.contact-atlas-section{
  background:#f7efdf;
  padding-top:48px!important;
  padding-bottom:82px!important;
}
.contact-atlas-section > .grid,
.contact-atlas-section .contact-grid{
  max-width:1280px;
  margin:0 auto;
  gap:30px;
}
.contact-atlas-section .card,
.contact-atlas-section .panel{
  background:#fffaf1!important;
  border:1px solid rgba(91,68,43,.10)!important;
  border-radius:14px!important;
  box-shadow:0 16px 38px rgba(65,48,29,.07)!important;
}
.contact-atlas-form{
  background:#fffaf1;
  border:1px solid rgba(91,68,43,.10);
  border-radius:16px;
  padding:34px;
  box-shadow:0 16px 38px rgba(65,48,29,.07);
}
.contact-atlas-form label{
  display:block;
  margin:0 0 7px;
  color:var(--teal);
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.contact-atlas-form input,
.contact-atlas-form textarea,
.contact-atlas-form select{
  width:100%;
  background:#fffdf8;
  border:1px solid rgba(63,85,83,.16);
  border-radius:10px;
  padding:13px 14px;
  color:var(--ink);
}
.contact-atlas-form input:focus,
.contact-atlas-form textarea:focus,
.contact-atlas-form select:focus{
  outline:none;
  border-color:rgba(51,105,108,.65);
  box-shadow:0 0 0 4px rgba(51,105,108,.08);
}

/* Acabados globales */
html{scroll-behavior:smooth}
::selection{background:rgba(228,133,52,.22);color:var(--ink)}
a,button,.btn{transition:color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
.btn:hover{transform:translateY(-2px)}
img{image-rendering:auto}
main section{scroll-margin-top:84px}

/* Animación muy sutil, solo si el usuario no ha pedido reducir movimiento */
@media (prefers-reduced-motion:no-preference){
  .flavour-card-atlas,
  .capri-footer-cta__copy,
  .contact-atlas-hero__copy,
  .contact-atlas-hero__note{
    animation:capriFade .55s ease both;
  }
  @keyframes capriFade{
    from{opacity:.001;transform:translateY(8px)}
    to{opacity:1;transform:translateY(0)}
  }
  .contact-atlas-hero__note{animation-delay:.08s}
}
@media(max-width:820px){
  .contact-atlas-hero{
    grid-template-columns:1fr;
    gap:28px;
    padding:50px 22px 42px;
  }
  .contact-atlas-hero h1{font-size:56px}
  .contact-atlas-hero__note{
    justify-self:start;
    width:auto;
    transform:none;
  }
}
@media(max-width:520px){
  .contact-atlas-hero h1{font-size:46px}
  .contact-atlas-form{padding:24px 18px}
}


/* v1.18.1 — Contacto hero integrado */
.contact-atlas-hero--integrated{
  display:block!important;
  padding:66px max(34px,6.5vw) 34px!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(78,132,137,.10),transparent 27%),
    radial-gradient(circle at 8% 20%,rgba(228,133,52,.08),transparent 22%),
    linear-gradient(180deg,#fbf5e9 0%,#f8f0e2 100%)!important;
  border-bottom:0!important;
}
.contact-atlas-hero--integrated .contact-atlas-hero__copy{
  max-width:1040px!important;
  margin:0 auto!important;
  text-align:center!important;
}
.contact-atlas-hero--integrated .kicker{
  display:block!important;
  margin-bottom:13px!important;
}
.contact-atlas-hero--integrated h1{
  margin:0 0 16px!important;
  font-size:clamp(50px,5.3vw,82px)!important;
  line-height:.92!important;
}
.contact-atlas-hero--integrated .contact-atlas-hero__copy > p{
  max-width:760px!important;
  margin:0 auto!important;
  font-size:15px!important;
  line-height:1.7!important;
}
.contact-atlas-hero__meta{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin-top:20px!important;
  font-size:10px!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.contact-atlas-hero__meta span{
  color:var(--orange)!important;
  font-weight:900!important;
}
.contact-atlas-hero__meta strong{
  color:var(--teal)!important;
  font-weight:900!important;
}
.contact-atlas-hero__meta span:after{
  content:"·";
  margin-left:10px;
  color:rgba(31,48,53,.35);
}
.contact-atlas-section{
  padding-top:18px!important;
}
@media(max-width:780px){
  .contact-atlas-hero--integrated{
    padding:46px 22px 28px!important;
  }
  .contact-atlas-hero--integrated h1{
    font-size:50px!important;
  }
  .contact-atlas-hero__meta{
    flex-wrap:wrap!important;
  }
}


/* v1.19 — Coherencia visual global + responsive final */

/* Escala y ritmo comunes */
:root{
  --capri-section-x:max(24px,6.2vw);
  --capri-section-y:clamp(52px,6vw,88px);
}
body{
  background:#f8f0e3;
}
main{
  overflow:hidden;
}
.section,
.page-section{
  padding-left:var(--capri-section-x);
  padding-right:var(--capri-section-x);
}
.kicker{
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  color:var(--orange)!important;
}
.btn{
  border-radius:9px!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  box-shadow:none!important;
}
.btn:hover{
  box-shadow:0 8px 22px rgba(45,73,75,.12)!important;
}

/* Header: marca protagonista sin crecer en altura */
header,
.site-header{
  min-height:72px!important;
}
header .logo img,
.site-header .logo img,
header img[alt*="Capri"],
.site-header img[alt*="Capri"]{
  max-height:62px!important;
  width:auto!important;
}
header nav a,
.site-header nav a{
  font-size:11px!important;
  letter-spacing:.015em!important;
}
header .btn,
.site-header .btn{
  min-height:44px!important;
  padding:12px 19px!important;
}

/* Títulos más coherentes */
.page-hero h1,
.flavours-atlas-hero h1,
.contact-atlas-hero h1,
.order-atlas-hero h1{
  color:var(--ink)!important;
}
.page-hero p,
.flavours-atlas-hero p,
.contact-atlas-hero p,
.order-atlas-hero p{
  color:var(--muted)!important;
}

/* Tarjetas: mismas sombras y bordes */
.card,
.panel,
.contact-card,
.order-atlas-form{
  box-shadow:0 14px 34px rgba(69,50,31,.075)!important;
  border-color:rgba(91,68,43,.105)!important;
}
.card img,
.contact-photo{
  box-shadow:none!important;
}

/* Sabores: algo más de respiración y menos agresividad visual */
.flavours-grid-atlas{
  max-width:1360px!important;
  gap:44px 22px!important;
}
.flavour-card-atlas img{
  aspect-ratio:1.08/1!important;
  object-fit:cover!important;
}
.flavour-card-atlas .card-body h3{
  font-size:clamp(20px,1.55vw,27px)!important;
}

/* Granizados y batidos */
.granizados-grid,
.batidos-grid{
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.granizados-grid .card,
.batidos-grid .card{
  border-radius:12px!important;
}

/* Contacto: bloque principal más compacto */
.contact-layout{
  max-width:1440px!important;
  margin:0 auto!important;
  grid-template-columns:minmax(340px,.8fr) minmax(600px,1.4fr)!important;
  gap:38px!important;
  align-items:stretch!important;
}
.contact-card{
  padding:42px 34px!important;
}
.contact-photo{
  width:100%!important;
  height:100%!important;
  min-height:430px!important;
  object-fit:cover!important;
  border-radius:14px!important;
}

/* Footer: ajuste fino */
.capri-site-footer__main{
  padding-top:46px!important;
  padding-bottom:38px!important;
}
.capri-site-footer__brand{
  min-height:250px!important;
}
.capri-site-footer__column{
  min-height:195px!important;
}
.capri-site-footer__thanks{
  font-size:22px!important;
}
.capri-site-footer__bottom{
  font-size:10.5px!important;
}

/* Responsive coherente */
@media(max-width:1180px){
  header nav,
  .site-header nav{
    gap:18px!important;
  }
  .contact-layout{
    grid-template-columns:.9fr 1.1fr!important;
  }
  .flavours-grid-atlas{
    grid-template-columns:repeat(3,1fr)!important;
  }
}
@media(max-width:900px){
  :root{
    --capri-section-x:26px;
  }
  header .logo img,
  .site-header .logo img,
  header img[alt*="Capri"],
  .site-header img[alt*="Capri"]{
    max-height:56px!important;
  }
  .contact-layout{
    grid-template-columns:1fr!important;
  }
  .contact-photo{
    min-height:360px!important;
  }
}
@media(max-width:760px){
  :root{
    --capri-section-x:22px;
    --capri-section-y:54px;
  }
  .flavours-grid-atlas{
    grid-template-columns:repeat(2,1fr)!important;
    gap:34px 12px!important;
  }
  .flavour-card-atlas img{
    aspect-ratio:1/1!important;
  }
  .contact-card{
    padding:30px 24px!important;
  }
  .contact-photo{
    min-height:300px!important;
  }
}
@media(max-width:480px){
  header,
  .site-header{
    min-height:66px!important;
  }
  header .logo img,
  .site-header .logo img,
  header img[alt*="Capri"],
  .site-header img[alt*="Capri"]{
    max-height:52px!important;
  }
  .flavours-grid-atlas{
    gap:28px 10px!important;
  }
  .flavour-card-atlas .card-body h3{
    font-size:19px!important;
  }
}

/* Accesibilidad y acabado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid var(--orange)!important;
  outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}



/* v1.20 — Remates de rendimiento y accesibilidad */
img{height:auto}
img[loading="lazy"]{content-visibility:auto}
a[href^="mailto:"]{overflow-wrap:anywhere}
@media (max-width:760px){
  body{overflow-x:hidden}
  .capri-site-footer__main,
  .capri-site-footer__bottom{max-width:100%!important}
}


/* v1.21 — Pedido + carrito premium */
.order-premium-shell,
.cart-premium-shell{
  background:
    radial-gradient(circle at 88% 8%,rgba(78,132,137,.10),transparent 28%),
    radial-gradient(circle at 10% 12%,rgba(228,133,52,.08),transparent 24%),
    linear-gradient(180deg,#fbf5e9,#f7efdf);
  padding:64px max(24px,6vw) 88px;
  min-height:70vh;
}
.order-premium-shell > *,
.cart-premium-shell > *{
  max-width:1280px;
  margin-left:auto;
  margin-right:auto;
}
.order-premium-title,
.cart-premium-title{
  font:700 clamp(46px,5vw,76px)/.92 var(--serif)!important;
  letter-spacing:-.045em!important;
  color:var(--ink)!important;
  margin:0 0 34px!important;
}
.order-premium-form,
.order-premium-shell form{
  max-width:980px;
  background:#fffaf1;
  border:1px solid rgba(91,68,43,.10);
  border-radius:18px;
  box-shadow:0 20px 48px rgba(65,48,29,.075);
  padding:38px clamp(22px,4vw,50px);
}
.order-premium-shell label{
  display:block;
  color:var(--teal);
  font-size:10px;
  line-height:1.2;
  letter-spacing:.07em;
  text-transform:uppercase;
  font-weight:900;
  margin:0 0 7px;
}
.order-premium-shell input,
.order-premium-shell select,
.order-premium-shell textarea{
  width:100%;
  background:#fffdf8;
  border:1px solid rgba(63,85,83,.16);
  border-radius:10px;
  padding:13px 14px;
  color:var(--ink);
  min-height:46px;
}
.order-premium-shell textarea{min-height:110px}
.order-premium-shell input:focus,
.order-premium-shell select:focus,
.order-premium-shell textarea:focus{
  outline:none;
  border-color:rgba(51,105,108,.6);
  box-shadow:0 0 0 4px rgba(51,105,108,.08);
}
.order-premium-shell fieldset{
  border:0;
  margin:0 0 28px;
  padding:0;
}
.order-premium-shell legend{
  font:700 26px/1.05 var(--serif);
  color:var(--ink);
  margin-bottom:18px;
}
.order-premium-shell .summary,
.order-premium-shell .order-summary,
.cart-premium-shell .summary,
.cart-premium-shell .cart-summary{
  background:#efe1c9!important;
  border:0!important;
  border-radius:14px!important;
  padding:26px!important;
}
.cart-premium-shell table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.cart-premium-shell thead th{
  padding:0 14px 8px;
  text-align:left;
  color:var(--orange);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.cart-premium-shell tbody tr{
  background:#fffaf1;
  box-shadow:0 10px 26px rgba(65,48,29,.06);
}
.cart-premium-shell tbody td{
  padding:16px 14px;
  border-top:1px solid rgba(91,68,43,.08);
  border-bottom:1px solid rgba(91,68,43,.08);
}
.cart-premium-shell tbody td:first-child{
  border-left:1px solid rgba(91,68,43,.08);
  border-radius:12px 0 0 12px;
}
.cart-premium-shell tbody td:last-child{
  border-right:1px solid rgba(91,68,43,.08);
  border-radius:0 12px 12px 0;
}
.cart-premium-shell img{
  max-width:84px;
  border-radius:10px;
}
.order-premium-shell .btn,
.order-premium-shell button,
.cart-premium-shell .btn,
.cart-premium-shell button{
  min-height:46px;
  border-radius:10px!important;
}
.cart-premium-shell .cart-actions,
.order-premium-shell .actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
@media(max-width:760px){
  .order-premium-shell,
  .cart-premium-shell{
    padding:46px 20px 64px;
  }
  .order-premium-title,
  .cart-premium-title{
    font-size:48px!important;
  }
  .order-premium-form,
  .order-premium-shell form{
    padding:28px 18px;
  }
  .cart-premium-shell table,
  .cart-premium-shell thead,
  .cart-premium-shell tbody,
  .cart-premium-shell tr,
  .cart-premium-shell th,
  .cart-premium-shell td{
    display:block;
    width:100%;
  }
  .cart-premium-shell thead{display:none}
  .cart-premium-shell tbody tr{
    margin-bottom:14px;
    border-radius:12px;
    overflow:hidden;
  }
  .cart-premium-shell tbody td{
    border:0!important;
    border-bottom:1px solid rgba(91,68,43,.08)!important;
    border-radius:0!important;
  }
  .cart-premium-shell tbody td:last-child{border-bottom:0!important}
}


/* v1.21.2 — Carrito flotante global */
.capri-floating-cart{
  position:fixed!important;
  left:clamp(18px,4vw,72px)!important;
  bottom:clamp(18px,4vw,48px)!important;
  z-index:9999!important;
  display:none!important;
  align-items:center!important;
  gap:18px!important;
  min-width:310px!important;
  max-width:440px!important;
  padding:18px 24px!important;
  border-radius:22px!important;
  background:#17343d!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 18px 42px rgba(13,34,40,.24)!important;
  transition:transform .22s ease,box-shadow .22s ease,opacity .22s ease!important;
}
.capri-floating-cart.is-visible{
  display:flex!important;
}
.capri-floating-cart:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 22px 50px rgba(13,34,40,.30)!important;
}
.capri-floating-cart__icon{
  flex:0 0 auto!important;
  font-size:34px!important;
  line-height:1!important;
}
.capri-floating-cart__text{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  min-width:0!important;
}
.capri-floating-cart__text strong{
  color:#fff!important;
  font-size:14px!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  letter-spacing:.045em!important;
}
.capri-floating-cart__text span{
  color:#fff!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .capri-floating-cart{
    left:14px!important;
    right:14px!important;
    bottom:14px!important;
    min-width:0!important;
    max-width:none!important;
    padding:15px 18px!important;
    border-radius:16px!important;
  }
  .capri-floating-cart__icon{font-size:28px!important}
  .capri-floating-cart__text span{font-size:16px!important}
}


/* v1.22 — Acceso, registro y cuenta */
.auth-premium-shell,
.account-premium-shell{
  min-height:72vh;
  padding:64px max(22px,6vw) 84px;
  background:
    radial-gradient(circle at 84% 12%,rgba(78,132,137,.10),transparent 28%),
    radial-gradient(circle at 10% 12%,rgba(228,133,52,.08),transparent 24%),
    linear-gradient(180deg,#fbf5e9,#f7efdf);
}
.auth-premium-shell > *,
.account-premium-shell > *{
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
.auth-premium-title,
.account-premium-title{
  font:700 clamp(46px,5vw,74px)/.92 var(--serif)!important;
  letter-spacing:-.045em!important;
  color:var(--ink)!important;
  margin:0 auto 30px!important;
}
.auth-premium-shell{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.auth-premium-shell .auth-premium-title{
  width:min(720px,100%);
}
.auth-premium-form{
  width:min(720px,100%);
  padding:38px clamp(22px,4vw,50px);
  background:#fffaf1;
  border:1px solid rgba(91,68,43,.10);
  border-radius:18px;
  box-shadow:0 20px 48px rgba(65,48,29,.075);
}
.auth-premium-form label,
.account-premium-form label{
  display:block;
  color:var(--teal);
  font-size:10px;
  line-height:1.2;
  letter-spacing:.07em;
  text-transform:uppercase;
  font-weight:900;
  margin:0 0 7px;
}
.auth-premium-form input,
.auth-premium-form select,
.auth-premium-form textarea,
.account-premium-form input,
.account-premium-form select,
.account-premium-form textarea{
  width:100%;
  min-height:46px;
  padding:13px 14px;
  border:1px solid rgba(63,85,83,.16);
  border-radius:10px;
  background:#fffdf8;
  color:var(--ink);
}
.auth-premium-form input:focus,
.auth-premium-form select:focus,
.auth-premium-form textarea:focus,
.account-premium-form input:focus,
.account-premium-form select:focus,
.account-premium-form textarea:focus{
  outline:none;
  border-color:rgba(51,105,108,.6);
  box-shadow:0 0 0 4px rgba(51,105,108,.08);
}
.auth-premium-form .btn,
.auth-premium-form button,
.account-premium-form .btn,
.account-premium-form button{
  min-height:46px;
  border-radius:10px!important;
}
.account-premium-shell .panel,
.account-premium-shell .card,
.account-premium-shell table{
  background:#fffaf1!important;
  border:1px solid rgba(91,68,43,.10)!important;
  box-shadow:0 16px 38px rgba(65,48,29,.065)!important;
}
.account-premium-shell table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius:14px;
  overflow:hidden;
}
.account-premium-shell th{
  background:#efe1c9;
  color:var(--ink);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
  padding:13px 14px;
  text-align:left;
}
.account-premium-shell td{
  padding:14px;
  border-top:1px solid rgba(91,68,43,.08);
}
.account-premium-shell a:not(.btn){
  color:var(--teal);
}
.account-premium-shell a:not(.btn):hover{
  color:var(--orange);
}
@media(max-width:760px){
  .auth-premium-shell,
  .account-premium-shell{
    padding:46px 20px 64px;
  }
  .auth-premium-title,
  .account-premium-title{
    font-size:48px!important;
  }
  .auth-premium-form{
    padding:28px 18px;
  }
  .account-premium-shell table,
  .account-premium-shell thead,
  .account-premium-shell tbody,
  .account-premium-shell tr,
  .account-premium-shell th,
  .account-premium-shell td{
    display:block;
    width:100%;
  }
  .account-premium-shell thead{display:none}
  .account-premium-shell tr{border-bottom:1px solid rgba(91,68,43,.10)}
}


/* v1.23 — Página 404 y pequeños estados */
.error-atlas{
  min-height:65vh;
  padding:100px max(24px,7vw);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  background:
    radial-gradient(circle at 84% 20%,rgba(78,132,137,.10),transparent 28%),
    radial-gradient(circle at 12% 18%,rgba(228,133,52,.09),transparent 24%),
    linear-gradient(180deg,#fbf5e9,#f7efdf);
}
.error-atlas h1{
  max-width:850px;
  margin:10px 0 18px;
  font:700 clamp(52px,6vw,88px)/.9 var(--serif);
  letter-spacing:-.05em;
}
.error-atlas p{
  max-width:660px;
  color:var(--muted);
  line-height:1.7;
  margin:0 0 28px;
}
.error-atlas .actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
