.hero{background:#092d1e url('hero-logo-aprobado.webp') 62% center/cover no-repeat;min-height:740px}
.hero:before{display:block;background:linear-gradient(90deg,rgba(4,27,17,.92) 0%,rgba(4,27,17,.75) 34%,rgba(4,27,17,.17) 70%,rgba(4,27,17,.03) 100%)}
.hero-content{display:block;padding-top:185px;padding-bottom:180px}.hero-copy{max-width:700px}.hero-scene{display:none}
.nav-cart{border:1px solid #ffffff9e;background:#ffffff1e;color:white;border-radius:99px;padding:12px 16px;cursor:pointer;font-weight:700;white-space:nowrap}
.nav-cart:hover{background:#ffffff32}.nav-cart strong{display:inline-grid;place-items:center;background:var(--gold);color:var(--deep);border-radius:50%;min-width:25px;height:25px;margin-left:5px}
.card-info{min-height:185px;display:flex;flex-direction:column}.card-info h3{font-size:21px}.card-info .price{font-size:20px;font-weight:800;color:var(--green);margin:7px 0 12px}
.add-to-cart{width:100%;margin-top:auto;background:var(--green);color:white;border:0;border-radius:99px;padding:12px 14px;cursor:pointer;font-weight:800}.add-to-cart:hover{background:var(--deep)}
.demo-note{background:#eee9d9;border-left:4px solid var(--gold);padding:15px 18px;line-height:1.55;color:#273c30;margin:0 0 26px;font-size:14px}.demo-note a{text-decoration:underline}
.cart-backdrop{position:fixed;inset:0;background:#061a1399;z-index:40;opacity:0;pointer-events:none;transition:opacity .2s}.cart-backdrop.open{opacity:1;pointer-events:auto}
.cart-panel{position:fixed;top:0;bottom:0;right:0;width:min(440px,100%);z-index:41;background:#fffdf8;box-shadow:-20px 0 45px #0003;transform:translateX(105%);transition:transform .25s;display:flex;flex-direction:column;color:var(--ink)}
.cart-panel.open{transform:translateX(0)}.cart-head{display:flex;justify-content:space-between;align-items:center;padding:25px 25px 16px;border-bottom:1px solid #ddd9cb}.cart-head h2{font:700 30px Fraunces,Georgia,serif;margin:0}.cart-close{font-size:30px;border:0;background:none;cursor:pointer;line-height:1}
.cart-lines{overflow:auto;flex:1;padding:14px 22px}.cart-line{display:grid;grid-template-columns:70px 1fr;gap:13px;padding:15px 0;border-bottom:1px solid #e9e3d5}.cart-line img{width:70px;height:88px;object-fit:contain;background:#f5f2e9;border-radius:8px}.cart-line h3{font-size:15px;margin:0 0 5px}.cart-line p{margin:0 0 8px;color:#586658}.quantity{display:flex;align-items:center;gap:9px}.quantity button{border:1px solid #c9d2c6;background:white;border-radius:50%;width:32px;height:32px;cursor:pointer;font-weight:800}.quantity .remove{margin-left:auto;border:0;background:none;text-decoration:underline;color:#626c63;width:auto;font-weight:500}
.cart-summary{padding:23px;border-top:1px solid #d9ddcf;background:#f5f1e7}.cart-summary .total{display:flex;justify-content:space-between;gap:10px;font-weight:800;font-size:20px}.cart-summary p{font-size:13px;line-height:1.4;color:#617064}.cart-summary button{width:100%;border:0;background:var(--green);color:white;border-radius:99px;padding:16px;cursor:pointer;font-weight:800}.cart-summary button:disabled{opacity:.5;cursor:not-allowed}
.checkout{padding:85px 0;background:#f3f0e4}.checkout-inner{display:grid;grid-template-columns:1fr 1.3fr;gap:80px}.checkout h2{font:700 clamp(38px,4.3vw,60px)/1.1 Fraunces,Georgia,serif;margin-bottom:20px}.checkout p{line-height:1.6}.checkout form{background:white;border-radius:22px;padding:30px;box-shadow:0 9px 35px #0a311214}.checkout form h3{font:700 26px Fraunces,Georgia,serif}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkout label{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:14px;margin-bottom:16px}.checkout input,.checkout textarea{width:100%;padding:13px 14px;border:1px solid #bfc8bc;border-radius:9px;font:inherit;background:#fff}.checkout input:focus,.checkout textarea:focus{outline:2px solid var(--green);outline-offset:1px}.checkout textarea{resize:vertical;min-height:85px}.checkout .submit{border:0;background:var(--green);color:white;border-radius:99px;padding:16px 24px;cursor:pointer;font-weight:800}.checkout .submit:disabled{opacity:.55;cursor:not-allowed}.order-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#ecf0e8;padding:17px;border-radius:10px;line-height:1.5}.preview-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.preview-actions button{border:0;background:var(--green);color:white;border-radius:99px;padding:12px 20px;cursor:pointer;font-weight:700}
@media(max-width:900px){.checkout-inner{gap:30px}.hero-content{padding-top:160px}}
@media(max-width:640px){.nav{gap:8px}.nav-cart{margin-left:auto;padding:8px 10px;font-size:12px}.nav-cart strong{min-width:22px;height:22px}.hero{min-height:685px;background-position:59% center}.hero:before{background:linear-gradient(180deg,#08291fe8 0%,#08291fc9 44%,#08291f38 100%)}.hero-content{padding-top:150px;padding-bottom:205px}.hero h1{font-size:clamp(42px,11vw,62px)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-image{height:180px}.card-info{min-height:195px}.card-info h3{font-size:17px}.card-info .price{font-size:18px}.checkout{padding:65px 0}.checkout-inner,.field-grid{display:block}.checkout form{padding:20px}.checkout-inner>div:first-child{margin-bottom:26px}.demo-note{font-size:13px}}
/* The image has its own fixed area, so the package can never cover the caption. */
.card{display:flex;flex-direction:column;min-width:0}
.card-image{height:370px;min-height:370px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:22px}
.card-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain}
.card-info{position:relative;z-index:1;flex:1;background:#f5f4ec;padding:22px 23px 25px;min-height:195px;gap:0}
.card-info small{margin:0 0 11px}.card-info h3{font-size:21px;line-height:1.25;min-height:2.5em;margin:0 0 10px;overflow-wrap:anywhere}
.card-info .price{margin:0 0 17px}.card-info .add-to-cart{margin-top:auto}
.story-video{margin-top:29px;max-width:540px}.story-video h3{font:700 23px/1.2 Fraunces,Georgia,serif;margin-bottom:13px;color:white}
.story-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#072318;display:block}.story-video a{display:inline-block;color:#f2d38a;text-decoration:underline;margin-top:12px;font-size:14px}
.story-source{font-size:13px!important;margin:17px 0 0!important}.story-source a{text-decoration:underline}
@media(max-width:900px){.card-image{height:320px;min-height:320px}}
@media(max-width:640px){.card-image{height:220px;min-height:220px;padding:11px}.card-info{padding:17px 14px 19px;min-height:188px}.card-info h3{font-size:17px;min-height:2.5em}.card-info small{margin-bottom:8px}.card-info .price{margin-bottom:12px}}
.nav{height:126px}
.brand-logo{min-width:0;transform:none;display:block;flex:0 0 auto;line-height:normal;white-space:normal;border-radius:9px;overflow:hidden;background:#f8f4e9;box-shadow:0 6px 18px #00150b29}
.brand-logo img{width:151px;height:auto;display:block}
.footer-main .brand-logo{min-width:0;transform:none;display:block}.footer-main .brand-logo img{width:170px}
.footer-main p{max-width:360px}.footer-bottom{justify-content:flex-start}
.story-visual{background-image:url('hero-logo-aprobado.webp');background-position:62% center}
@media(max-width:640px){.nav{height:98px}.brand-logo img{width:112px}.links{top:98px}.footer-main .brand-logo img{width:145px}.hero-content{padding-top:150px}}
/* Keep the primary actions available while browsing the catalogue. */
header{position:fixed;top:0;left:0;right:0;z-index:50;background:#19382c;box-shadow:0 5px 22px #00190c35;padding-top:env(safe-area-inset-top,0px)}
.cart-backdrop{z-index:80}.cart-panel{z-index:81}
html{scroll-padding-top:115px}
.nav{height:94px}
.nav>.brand-logo{background:none;border-radius:0;box-shadow:none;overflow:visible}
.nav>.brand-logo img{width:104px;height:auto}
.menu{cursor:pointer}
.menu-bars{display:grid;gap:5px;place-items:center}
.menu-bars span{display:block;width:25px;height:3px;background:currentColor;border-radius:99px;transition:transform .2s,opacity .2s}
.menu.is-open .menu-bars span:first-child{transform:translateY(8px) rotate(45deg)}
.menu.is-open .menu-bars span:nth-child(2){opacity:0}
.menu.is-open .menu-bars span:last-child{transform:translateY(-8px) rotate(-45deg)}
@media(max-width:640px){
  html{scroll-padding-top:calc(100px + env(safe-area-inset-top,0px))}
  body{overscroll-behavior-y:none}
  header{border-radius:0 0 16px 16px}
  .nav{height:92px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:4px;align-items:center}
  .nav .menu{grid-column:1;grid-row:1;justify-self:start;display:grid;place-items:center;width:51px;height:51px;padding:0;border:1px solid #ffffff80;border-radius:16px;background:#ffffff14;color:white}
  .nav>.brand-logo{grid-column:2;grid-row:1;justify-self:center;min-width:0}
  .nav>.brand-logo img{width:105px}
  .nav .nav-cart{grid-column:3;grid-row:1;justify-self:end;margin:0;padding:9px 11px;font-size:12px;min-height:51px}
  .links{top:calc(92px + env(safe-area-inset-top,0px));left:12px;right:12px;border-radius:0 0 18px 18px;box-shadow:0 18px 25px #00190c40}
  .hero-content{padding-top:156px}
}
@media(max-width:375px){.nav.container{width:calc(100% - 24px)}.nav>.brand-logo img{width:94px}.nav .nav-cart{padding:8px 9px}}
[hidden]{display:none!important}
.cart-head{padding-top:calc(22px + env(safe-area-inset-top,0px));gap:18px}
.cart-close{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:2px solid #c59437;border-radius:16px;background:var(--gold);color:var(--deep);font:600 34px/1 'DM Sans',sans-serif;box-shadow:0 4px 0 #b48a3b;transition:transform .2s,box-shadow .2s}
.cart-close:hover{transform:translateY(-2px);box-shadow:0 6px 0 #b48a3b}
.cart-close:focus-visible,.send-option:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.preview-actions{display:grid;gap:11px;margin-top:24px}
.preview-actions h3{margin:0 0 5px!important;font-size:24px!important}
.send-option{width:100%;min-height:69px;display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:13px;padding:11px 17px;border:1px solid #d9ddcc;border-radius:17px;text-align:left;font:800 16px/1.25 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;transition:transform .2s,box-shadow .2s;color:var(--deep)}
.send-option:hover{transform:translateY(-2px);box-shadow:0 7px 18px #10372621}
.send-option small{display:block;margin-top:4px;font-size:12px;font-weight:500;line-height:1.35}
.send-option .option-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;font:800 23px/1 'DM Sans',sans-serif}
.send-option.whatsapp{background:#e7f3e5;border-color:#a7cba9}.whatsapp .option-icon{background:#236647;color:white}
.send-option.email{background:#fff8e9;border-color:#ddc78e}.email .option-icon{background:var(--gold);color:var(--deep)}
.send-option.payment{background:#e9eee9;border-color:#c9d3c9}.payment .option-icon{background:var(--green);color:white}
.email-note,.payment-note{font-size:13px;line-height:1.45;color:#596b5d;margin:0 3px 3px!important}
.payment-note{padding:13px 15px;background:#fff4d8;border-radius:12px;color:#263c30}
.checkout-amount{padding:17px 0;border-top:1px solid #cfd6c7;border-bottom:1px solid #cfd6c7;font-size:17px}
.checkout-amount strong{font-size:22px}
.order-steps{display:grid;gap:12px;margin:28px 0 30px;font-size:15px;font-weight:700}
.order-steps span:before{content:'✓';display:inline-grid;place-items:center;width:25px;height:25px;margin-right:11px;border-radius:50%;background:var(--gold);color:var(--deep)}
.delivery-choice{border:0;padding:0;margin:0 0 27px;min-width:0}
.delivery-choice legend{font:700 26px Fraunces,Georgia,serif;margin-bottom:13px}
.checkout .delivery-option{display:flex;flex-direction:row;align-items:flex-start;gap:13px;border:1px solid #ccd3c6;border-radius:15px;padding:16px;margin:0 0 10px;background:#fbfcf8;cursor:pointer;font-size:16px}
.checkout .delivery-option:has(input:checked){border-color:var(--green);background:#eaf0e8;box-shadow:0 0 0 2px #123d2d2e}
.checkout .delivery-option input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--green);margin:2px 0 0;padding:0}
.delivery-option small{display:block;margin-top:5px;color:#586d60;font-weight:500;font-size:13px;line-height:1.45}
#shipping-fields{padding-top:4px}
#shipping-fields h3{margin:0 0 17px}
.checkout .optional{font-weight:500;color:#69776b;font-size:13px}
.form-disclosure{font-size:13px;line-height:1.5;color:#53685b;margin:6px 0 22px}
.form-disclosure a{text-decoration:underline;text-underline-offset:2px}
.review-block{margin-top:32px;padding-top:26px;border-top:1px solid #d6ddcf}
.review-block>h3{margin-bottom:14px}
.review-warning{margin:11px 0 19px;color:#596b5d;font-size:13px}
.send-option.pending{background:#f2f2ec;border-color:#d7dbd0;color:#687568;cursor:default}
.send-option.pending .option-icon{background:#e1e6dc;color:#53665a}
.send-option.pending:hover{transform:none;box-shadow:none}
.demo-conditions{padding:37px 0;background:#edece2;color:#334d3d}
.demo-conditions .container{max-width:900px}
.demo-conditions h2{font:700 24px Fraunces,Georgia,serif;margin:0 0 12px}
.demo-conditions p{font-size:14px;line-height:1.6;margin:0 0 10px}

/* Approved artwork is reused as delivered, preserving its cream background. */
.nav>.brand-logo{overflow:visible;border-radius:0;background:none;box-shadow:none}
.nav>.brand-logo img{width:116px;height:auto}
.footer-main .brand-logo{background:none;box-shadow:none;overflow:visible;border-radius:0}
@media(max-width:640px){.nav>.brand-logo img{width:106px}}
@media(max-width:375px){.nav>.brand-logo img{width:98px}}

/* Transparent negative logo integrates directly with green surfaces. */
.nav>.brand-logo img{max-height:78px;width:auto;max-width:116px;object-fit:contain}
.footer-main .brand-logo img{width:170px;height:auto}
@media(max-width:640px){.nav>.brand-logo img{max-width:106px;max-height:76px}.footer-main .brand-logo img{width:145px}}
@media(max-width:375px){.nav>.brand-logo img{max-width:98px}}

/* Real vector outlines, cropped to the approved artwork. */
.nav>.brand-logo img{width:82px;max-width:82px;height:79px;max-height:79px}
.footer-main .brand-logo img{width:135px;height:auto}
.history-hero{background:var(--deep);color:var(--cream);padding:160px 0 65px}
.history-hero h1{font-size:clamp(54px,6vw,88px);max-width:800px;margin:24px 0}
.history-hero h1 em{color:var(--gold)}
.history-hero p{max-width:560px;font-size:20px;line-height:1.6;margin-bottom:30px}
.history-family,.history-castle{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-bottom:95px;align-items:center}
.history-page h2{font:700 clamp(36px,4vw,58px)/1.12 Fraunces,Georgia,serif;letter-spacing:-1.5px;margin-bottom:26px}
.history-family p,.history-place p,.history-castle p{font-size:18px;line-height:1.8;color:var(--muted)}
.history-video h3{font:700 28px Fraunces,Georgia,serif;margin-bottom:20px}
.history-video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:20px}
.history-place{background:var(--green);color:var(--cream);padding:85px 0}
.history-place-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.history-place .section-kicker{color:var(--gold)}
.history-place p{color:#d9e4d8}
.history-place figure{margin:0}
.history-place img{width:100%;height:440px;object-fit:cover;border-radius:130px 130px 20px 20px}
.history-place figcaption{font-size:11px;line-height:1.7;color:#d9e4d8;margin-top:16px}
.history-place a,.history-sources a{text-decoration:underline;text-underline-offset:3px}
.history-castle{padding-top:95px;align-items:start}
.history-sources{font-size:12px;line-height:1.8;margin-top:24px;color:var(--muted)}
@media(max-width:640px){.nav>.brand-logo img{width:78px;max-width:78px;height:75px;max-height:75px}.history-hero{padding:145px 0 55px}.history-hero h1{font-size:54px;letter-spacing:-2px}.history-hero p{font-size:17px}.history-family,.history-castle,.history-place-grid{display:block}.history-family{padding-bottom:65px}.history-video{margin-top:35px}.history-place{padding:60px 0}.history-place img{height:310px}.history-place figure{margin-bottom:40px}.history-castle{padding-top:65px;padding-bottom:65px}.history-family p,.history-place p,.history-castle p{font-size:16px}.history-page h2{font-size:39px}}

/* Preserve the approved label colours in the final jar photographs. */
.card[data-type="aceitunas"] .card-image img{mix-blend-mode:normal;filter:none}

.footer-legal{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.footer-bottom{align-items:center;flex-wrap:wrap}.footer-credit a{text-decoration:underline}@media(max-width:640px){.footer-legal{justify-content:center}.footer-bottom{text-align:center;align-items:center}}

#send-email {font:inherit;cursor:pointer;text-align:left;width:100%;} #send-email:disabled{opacity:.75;cursor:default} #order-send-status{font-weight:600;line-height:1.5;margin:12px 0 0;}

/* CTA de envío: corregir contraste frente al estilo genérico de los botones. */
.preview-actions .send-option.email,
.preview-actions .send-option.email:visited{background:#f4bd52;color:#153528;border:2px solid #c49a3e;}
.preview-actions .send-option.email small{color:#254333;opacity:1;}
.preview-actions .send-option.email .option-icon{background:#173d2c;color:#fff;}
.preview-actions .send-option.email:hover{background:#f8ca6c;}
.preview-actions .send-option.email:disabled{opacity:.75;cursor:default;}
.preview-actions .send-option.whatsapp{color:#153528;}
@media(max-width:480px){.preview-actions .send-option{grid-template-columns:43px minmax(0,1fr);min-height:72px;padding:13px;gap:12px}.preview-actions .send-option span{min-width:0}.preview-actions .send-option small{overflow-wrap:anywhere}}


/* ROMERO V7 · Ajustes definitivos sin reemplazar estilos de la tienda */
.ticker{overflow:hidden;padding:15px 0}
.ticker-track{display:flex;width:max-content;animation:romeroTicker 38s linear infinite;will-change:transform}
.ticker-segment{display:flex;align-items:center;gap:30px;flex:0 0 auto;padding-right:30px;white-space:nowrap;font-size:12px;letter-spacing:2px;font-weight:800;text-transform:uppercase}
.ticker-segment b{font-size:18px;line-height:1}
@keyframes romeroTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mobile-filter-wrap{display:none}
.contact{padding:48px 0 50px;background:var(--gold);color:var(--deep)}
.contact-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.contact .section-kicker{color:#705118!important;margin-bottom:10px}
.contact h2{font-size:clamp(35px,3.7vw,54px);line-height:1.1;letter-spacing:-1.6px;max-width:none;margin:0}
.contact p{font-size:16px;line-height:1.5;margin:11px 0 0}
.contact .btn{background:var(--deep);color:white;flex-shrink:0;padding:16px 23px;border-radius:999px;margin:0;font-weight:800;text-align:center;white-space:normal}
.footer-legal{display:flex;gap:12px 18px;flex-wrap:wrap;align-items:center}
.footer-credit a{text-decoration:underline;text-underline-offset:3px}
.footer-bottom{align-items:center;flex-wrap:wrap;gap:12px 28px}
@media(max-width:640px){
  .ticker{padding:13px 0}
  .ticker-segment{font-size:11px;letter-spacing:1.3px;gap:22px;padding-right:22px}
  .catalog{padding:64px 0 70px}
  .mobile-filter-wrap{display:flex;flex-direction:column;align-items:center;gap:9px;margin:22px auto 26px;text-align:center}
  .mobile-filter-wrap label{font-size:13px;font-weight:800;color:var(--green)}
  .mobile-filter-wrap select{font:700 16px 'DM Sans',sans-serif;color:var(--green);background:#fffdf7;border:1px solid #aebbad;border-radius:16px;padding:14px 18px;width:min(100%,330px);min-height:52px;cursor:pointer}
  .filters{display:none}
  .contact{padding:36px 0 39px}
  .contact-row{display:flex;flex-direction:column;align-items:stretch;gap:19px}
  .contact h2{font-size:clamp(34px,9vw,43px);letter-spacing:-1.2px}
  .contact p{font-size:15px;margin-top:8px}
  .contact .btn{width:fit-content;max-width:100%;margin:0}
  .footer-main{display:flex;flex-direction:column;gap:12px;text-align:center}
  .footer-main p{margin:0}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center;align-items:center}
  .footer-legal{justify-content:center}
}
@media(max-width:375px){.contact .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}.ticker{overflow-x:auto}.ticker-segment:nth-child(2){display:none}}
