/* Fosh Food at Home — identidad: negro #1a1919, crema #faf0e6, dorado #e8b869 · títulos Kapra, texto Montserrat (como la web anterior) */
@font-face { font-family: "Kapra"; src: url("../fonts/kapra-regular.woff2") format("woff2"), url("../fonts/kapra-regular.woff") format("woff"), url("../fonts/kapra-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
    --ink: #1a1919;
    --ink-soft: #3b3836;
    --cream: #faf0e6;
    --cream-deep: #f3e4d2;
    --gold: #e8b869;
    --gold-deep: #c9974a;
    --green: #5f7f4f;
    --muted: #8a7d6b;
    --line: #e9dccb;
    --white: #fff;
    --danger: #b3412f;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(26, 25, 25, .08);
    --serif: "Kapra", "Oswald", "Arial Narrow", sans-serif;   /* títulos */
    --sans: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .72rem; line-height: 1.5; margin-top: 14px; }

.eyebrow { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .8em; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: 3px; text-transform: uppercase; line-height: 1.05; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; color: var(--ink-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: .2s ease; }
.btn--sm { padding: 11px 18px; letter-spacing: .14em; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); color: var(--cream); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }
.link-arrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; }
.link-arrow:hover { color: var(--gold-deep); }

/* Top bar & header */
.topbar { background: var(--ink); color: var(--cream); font-size: .74rem; letter-spacing: .06em; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__info { margin: 0; opacity: .85; }
.lang { display: flex; gap: 2px; }
.lang a { text-decoration: none; padding: 4px 8px; border-radius: 6px; font-weight: 600; opacity: .6; }
.lang a.is-active, .lang a:hover { opacity: 1; color: var(--gold); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.header__logo img { width: 66px; height: 66px; object-fit: contain; }
.nav { display: flex; gap: clamp(14px, 2vw, 32px); align-items: center; }
.nav a { text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); text-decoration: none; transition: .2s; }
.cart-btn:hover { background: var(--gold); }
.cart-btn__count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.18); } }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 12px; }
.burger span:not(.sr-only) { display: block; height: 1.6px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* Notices */
.notice-closed { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border: 0; background: var(--gold); color: var(--ink); font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.notice-closed:hover { background: var(--gold-deep); }
.notice-closed__more { font-weight: 500; letter-spacing: .08em; text-transform: none; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
.notice-closed__icon { animation: twinkle 1.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .4; transform: scale(1.2); } }
.flash { background: var(--ink); color: var(--cream); font-size: .9rem; }
.flash .wrap { padding: 12px 0; }
.flash a { color: var(--gold); margin-left: 10px; font-weight: 600; }
.flash--error { background: var(--danger); color: #fff; }
.alert { background: #fbe9e4; color: var(--danger); border-radius: 10px; padding: 12px 16px; font-size: .9rem; }
.error { color: var(--danger); font-size: .8rem; display: block; margin-top: 4px; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero__media img { object-position: center 20%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,25,25,0) 15%, rgba(26,25,25,.55) 45%, rgba(26,25,25,.9) 100%); }
.hero__content { position: relative; width: min(1200px, 100% - 40px); margin: 0 auto; padding: 0 0 clamp(40px, 8vw, 90px); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.8rem); letter-spacing: 3px; text-transform: uppercase; line-height: 1.04; max-width: 820px; margin-bottom: .3em; }
.hero__lead { max-width: 520px; font-size: 1.1rem; font-weight: 300; opacity: .92; }
.hero .eyebrow { color: var(--gold); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Sections */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0 clamp(60px, 8vw, 100px); }
.section--center { text-align: center; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .display { color: var(--cream); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head .display { margin: 0; }
.section__head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__img { aspect-ratio: 4/3; background-size: cover; background-position: center; }

.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 18px; }
.steps h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.newsletter input { flex: 1 1 200px; max-width: 280px; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(250,240,230,.3); background: transparent; color: var(--cream); font: inherit; }
.newsletter input::placeholder { color: rgba(250,240,230,.6); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.flash-inline { color: var(--gold); font-weight: 600; }

.page-head { background: var(--cream); padding: clamp(50px, 7vw, 90px) 0; position: relative; background-size: cover; background-position: center; }
.page-head--slim { padding: 44px 0; }
.page-head .display { margin: 0; }
.page-head .lead { margin: 14px auto 0; }
.page-head--image { color: #fff; }
.page-head--image::before { content: ""; position: absolute; inset: 0; background: rgba(26,25,25,.6); }
.page-head--image .wrap { position: relative; }
.page-head--image .lead, .page-head--image .display { color: #fff; }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 1/1; background: var(--cream); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card__title { font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.card__title a { text-decoration: none; }
.card__excerpt { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--sans); font-size: 1.3rem; font-weight: 500; color: var(--green); }
.price--lg { font-size: 2rem; margin-bottom: .6em; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.badge--inline { position: static; display: inline-block; }

.add-form { display: flex; gap: 8px; align-items: center; }
.add-form--lg { margin: 26px 0; }
.add-form--lg .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 38px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--cream); }
.qty input { width: 38px; border: 0; text-align: center; font: 600 .95rem var(--sans); -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-form--lg .qty button { height: 50px; width: 42px; }

/* Product page */
.breadcrumb { padding: 24px 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; }
.breadcrumb a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); padding: 26px 0 40px; align-items: start; }
.product__media { display: grid; gap: 16px; }
.product__media img { border-radius: var(--radius); width: 100%; background: var(--cream); }
.product__info { position: sticky; top: 110px; }
.product__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: 3px; text-transform: uppercase; line-height: 1.05; }
.pairing { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; margin-top: 12px; }
.pairing:hover { border-color: var(--gold); }
.pairing img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.pairing small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

.prose { color: var(--ink-soft); }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose a { color: var(--gold-deep); }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-top: 1.4em; }
.prose--page { font-size: 1.02rem; }
.prose--page .wrap, .prose--page section, .prose--page .col { width: auto; padding: 0; max-width: none; }

/* Cart */
.empty { text-align: center; padding: 40px 0; }
.cart-layout, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto 90px 32px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row__img img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--cream); }
.cart-row__name a { text-decoration: none; font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; }
.cart-row__name small { display: block; color: var(--muted); }
.cart-row__total { text-align: right; }
.cart-row__remove { border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.cart-row__remove:hover { color: var(--danger); }
.cart-table__actions { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
.summary { background: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 110px; }
.summary--static { position: static; margin-bottom: 30px; }
.summary h2 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 18px 0; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { font-size: 1.15rem; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); }
.summary__lines { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.progress { height: 6px; background: #fff; border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); }

/* Forms */
fieldset { border: 0; padding: 0; margin: 0 0 36px; }
legend { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); font: inherit; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; background: #fff; }
.options { display: grid; gap: 12px; margin-bottom: 20px; }
.option { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.option:has(input:checked) { border-color: var(--gold); background: #fffaf3; }
.option input { accent-color: var(--ink); width: 18px; height: 18px; }
.option span { flex: 1; }
.option strong { display: block; font-size: .95rem; }
.option small { color: var(--muted); }
.option em { font-style: normal; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 12px 0; }
.check input { margin-top: 4px; accent-color: var(--ink); }
.check a { color: var(--gold-deep); }

/* Footer */
.footer__top { background: var(--cream); padding: 70px 0 40px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.footer p { font-size: .9rem; color: var(--ink-soft); }
.footer a { text-decoration: none; }
.footer__logo { width: 86px; margin-bottom: 14px; }
.footer__tagline { font-family: var(--serif); font-size: 1.7rem !important; letter-spacing: 3px; text-transform: uppercase; }
.footer__moto { margin: 30px auto 0; opacity: .9; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); transition: .2s; }
.social a:hover { background: var(--gold); color: var(--ink); }
.footer__bottom { background: var(--ink); color: var(--cream); font-size: .74rem; letter-spacing: .08em; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; color: inherit; font-size: inherit; opacity: .7; }
.footer__bottom a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 1080px) {
    .burger { display: block; }
    .nav { position: fixed; inset: 124px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 10px 20px 30px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
    .nav a { width: 100%; text-align: center; padding: 16px 0; font-size: .9rem; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
    body.nav-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
    body.nav-open .burger span:nth-child(2) { opacity: 0; }
    body.nav-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
}
@media (max-width: 900px) {
    .product, .cart-layout, .checkout { grid-template-columns: 1fr; }
    .product__info, .summary { position: static; }
    .steps { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
    .social { justify-content: center; }
    .footer__logo { margin-inline: auto; }
}
@media (max-width: 640px) {
    .topbar__info { font-size: .66rem; }
    .duo { grid-template-columns: 1fr; }
    .fields { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 64px 1fr auto; }
    .cart-row__img img { width: 64px; height: 64px; }
    .cart-row .qty { grid-column: 2; }
    .cart-row__total { grid-column: 3; grid-row: 1; }
    .cart-row__remove { grid-column: 3; grid-row: 2; justify-self: end; }
    .footer__bottom-inner { justify-content: center; text-align: center; padding: 14px 0; }
}
.footer__moto { mix-blend-mode: multiply; }
.paying { min-height: 100vh; display: grid; place-items: center; background: var(--cream); }
.paying__box { text-align: center; padding: 40px 24px; max-width: 480px; }
.paying__box img { margin: 0 auto 24px; }
.options--compact { margin: 18px 0; }
.options--compact .option { padding: 12px 14px; background: #fff; }
.status-box { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; text-align: center; }
.status-box--paid { background: #edf4e8; color: #3f6b30; }
.status-box--pending { background: #fff6e5; color: #8a5a10; }
.status-box--failed { background: #fbe9e4; color: var(--danger); }
.status-box p { margin: 0 0 12px; }
.status-box p:last-child { margin: 0; }

/* Mensaje emergente (tienda cerrada) */
.popup { border: 0; padding: 0; background: transparent; max-width: min(520px, 100% - 32px); width: 100%; }
.popup::backdrop { background: rgba(26, 25, 25, .62); backdrop-filter: blur(3px); }
.popup[open] { animation: popup-in .35s ease; }
@keyframes popup-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.popup__card { position: relative; margin: 0; background: var(--cream); border-radius: 20px; padding: 44px 36px 36px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--gold); }
.popup__logo { margin: 0 auto 18px; }
.popup__text { font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 2.6vw, 1.15rem); line-height: 1.6; color: var(--ink); margin-bottom: 28px; }
.popup__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.popup__close:hover { background: rgba(0,0,0,.06); }
.popup__image { width: calc(100% + 72px); max-width: none; margin: -44px -36px 24px; border-radius: 14px 14px 0 0; aspect-ratio: 16/9; object-fit: cover; }
.btn:focus-visible, .popup__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Ficha de producto: texto justificado */
.product__info .prose { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.product__info .prose h2, .product__info .prose h3, .product__info .prose h4 { text-align: left; }

/* Rejilla centrada (p. ej. "También te puede gustar") */
.grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--center > .card { flex: 0 1 300px; }

/* Área de cliente */
.account-btn { position: relative; }
.account-btn__dot { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.auth { display: grid; place-items: center; background: var(--cream); min-height: 60vh; }
.auth__card { width: min(520px, 100% - 32px); background: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); }
.auth__card .display { text-align: center; margin-bottom: 24px; }
.auth__form { display: grid; gap: 16px; }
.auth__form .fields { margin: 0; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth__row .check { margin: 0; }
.auth__link, .auth__alt a { color: var(--gold-deep); font-size: .88rem; }
.auth__alt { text-align: center; margin: 22px 0 0; font-size: .92rem; }
.auth__note { text-align: center; font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.auth__intro { color: var(--ink-soft); text-align: center; }
.auth__status { background: #edf4e8; color: #3f6b30; border-radius: 10px; padding: 12px 16px; font-size: .9rem; }
.account { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.account-nav { display: grid; gap: 4px; position: sticky; top: 110px; }
.account-nav a, .account-nav button { display: block; width: 100%; text-align: left; padding: 12px 16px; border-radius: 10px; text-decoration: none; font: 500 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 0; background: none; cursor: pointer; color: var(--ink); }
.account-nav a:hover, .account-nav button:hover { background: var(--cream); }
.account-nav a.is-active { background: var(--ink); color: var(--cream); }
.account-nav form { margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
.account__title { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.account__password { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.orders { border-top: 1px solid var(--line); }
.orders__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto; gap: 14px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.orders__row:hover { background: #fffaf3; }
.orders__row small { display: block; color: var(--muted); }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; background: var(--cream); }
.status--completed { background: #edf4e8; color: #3f6b30; }
.status--processing, .status--ready { background: #fff6e5; color: #8a5a10; }
.status--cancelled, .status--failed, .status--refunded { background: #fbe9e4; color: var(--danger); }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 24px; }
.pager a { text-decoration: none; font-weight: 700; }
@media (max-width: 800px) {
    .account { grid-template-columns: 1fr; }
    .account-nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; }
    .account-nav form { margin: 0; border: 0; padding: 0; }
    .orders__row { grid-template-columns: 1fr auto; }
    .orders__row > span:nth-child(2), .orders__row > span:nth-child(3) { display: none; }
}
.checkout__login { background: var(--cream); border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 28px; } .checkout__login a { color: var(--gold-deep); font-weight: 600; } .field input[readonly] { opacity: .7; }

/* Vinos: todas las botellas a la misma altura (imágenes recortadas con `php artisan images:trim`) */
.card--bottle .card__media img { object-fit: contain; padding: 26px 0 18px; }
.card--bottle:hover .card__media img { transform: scale(1.03); }
.product--bottle .product__media img { width: 100%; height: clamp(380px, 64vh, 580px); object-fit: contain; padding: 32px 0; background: var(--cream); }
