:root {
    --pink: #ef3f6d;
    --pink-dark: #d92c5b;
    --pink-soft: #fff0f3;
    --coral: #ff8c92;
    --cream: #fffaf5;
    --cream-deep: #faeee4;
    --wine: #4c151a;
    --text: #3b1e22;
    --muted: #806a6d;
    --line: #f0d7d4;
    --white: #fff;
    --shadow: 0 18px 55px rgba(91, 34, 46, .10);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fffdf9; font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.text-pink { color: var(--pink) !important; }
.btn { border-radius: 12px; font-weight: 700; padding: .72rem 1.2rem; }
.btn-pink { color: #fff; border-color: var(--pink); background: linear-gradient(135deg, var(--pink), #f62f64); box-shadow: 0 9px 20px rgba(239, 63, 109, .20); }
.btn-pink:hover, .btn-pink:focus { color: #fff; background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-1px); }
.btn-outline-pink { color: var(--pink); border: 1px solid var(--pink); background: transparent; }
.btn-outline-pink:hover { color: #fff; background: var(--pink); }
.eyebrow { color: var(--pink); text-transform: uppercase; letter-spacing: .09em; font-size: .76rem; font-weight: 800; }

.top-strip { padding: .62rem 0; color: #fff; background: linear-gradient(90deg, #ea496e, #f75d7b); font-size: .78rem; }
.top-strip span { display: flex; align-items: center; gap: .5rem; }
.shop-navbar { min-height: 104px; background: rgba(255, 253, 249, .94); border-bottom: 1px solid rgba(108, 35, 46, .06); backdrop-filter: blur(16px); }
.navbar-brand img { width: 180px; height: 86px; object-fit: contain; object-position: center; }
.shop-navbar .nav-link { position: relative; padding: .75rem .7rem !important; font-size: .92rem; font-weight: 600; }
.shop-navbar .nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .35rem; height: 2px; border-radius: 3px; background: var(--pink); transform: scaleX(0); transition: .2s ease; }
.shop-navbar .nav-link:hover { color: var(--pink); }
.shop-navbar .nav-link:hover::after { transform: scaleX(1); }
.nav-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 1.15rem; transition: .2s ease; }
.nav-icon:hover { color: var(--pink); background: var(--pink-soft); }
.cart-badge { position: absolute; right: -1px; top: 0; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: var(--pink); border: 2px solid #fff; border-radius: 20px; font-size: .65rem; font-weight: 800; }
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.hero-section { min-height: 475px; display: grid; grid-template-columns: 43% 57%; overflow: hidden; border-radius: 0 0 34px 34px; background: radial-gradient(circle at 20% 10%, #fff 0, transparent 28%), linear-gradient(135deg, #ffe8e4, #ffc6c5 55%, #f69ca7); box-shadow: var(--shadow); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 4rem 1rem 4rem 4rem; }
.hero-copy::before { content: "♥"; position: absolute; left: 3%; top: 10%; color: #ff9bad; font-size: 2rem; transform: rotate(-18deg); opacity: .65; }
.hero-eyebrow { width: max-content; margin-bottom: 1rem; padding: .5rem .85rem; color: #9b374a; background: rgba(255, 255, 255, .55); border-radius: 999px; font-weight: 700; font-size: .84rem; }
.hero-copy h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .86; letter-spacing: -.06em; font-weight: 800; color: #7b2634; }
.hero-copy h1 em { color: var(--pink); font-family: Pacifico, cursive; font-size: .84em; font-weight: 400; text-shadow: 0 4px #fff; }
.hero-copy p { max-width: 430px; margin: 1.8rem 0; font-size: 1.08rem; line-height: 1.65; }
.hero-copy .btn { align-self: flex-start; min-width: 185px; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 23%; background: linear-gradient(90deg, #ffd3d0, transparent); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.hero-badge { position: absolute; right: 7%; bottom: 10%; z-index: 2; width: 132px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; border: 3px solid #fff; outline: 6px solid var(--pink); background: var(--pink); border-radius: 50%; transform: rotate(-7deg); font-family: Pacifico, cursive; font-size: 1.55rem; box-shadow: 0 12px 30px rgba(99, 22, 42, .25); }
.hero-badge small { font: 700 .72rem "DM Sans", sans-serif; }
.hero-badge i { margin-top: .4rem; font-size: 1rem; }

.benefit-strip, .trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: .9rem; padding: 1.15rem 1.5rem; background: linear-gradient(90deg, #fff5eb, #fffaf4); border: 1px solid #f8e8db; border-radius: 20px; }
.benefit-strip > div, .trust-strip > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .25rem 1rem; border-right: 1px solid #f0ddd5; }
.benefit-strip > div:last-child, .trust-strip > div:last-child { border-right: 0; }
.benefit-strip i, .trust-strip i { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff9bae, var(--pink)); border-radius: 50%; font-size: 1.25rem; }
.benefit-strip span, .trust-strip span { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.35; }
.benefit-strip b, .trust-strip b { font-size: .86rem; }
.section-space { padding-top: 2.8rem; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 1.5rem; text-align: center; }
.section-heading h2 { margin: 0; font-size: 1.45rem; font-weight: 800; }
.section-heading span { color: #ff8da7; }
.section-heading.with-action { justify-content: space-between; text-align: left; }
.section-heading.with-action > div { display: flex; align-items: center; gap: 1rem; }

.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; }
.category-card { padding: 5px 5px .7rem; color: var(--pink); text-align: center; background: #fff9f4; border: 1px solid #f4bfc7; border-radius: 18px; font-weight: 700; transition: .22s ease; }
.category-card img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 14px; }
.category-card strong { display: block; padding-top: .65rem; }
.category-card:hover { color: var(--pink-dark); transform: translateY(-5px); box-shadow: 0 14px 30px rgba(115, 44, 55, .12); }

.product-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(84, 30, 38, .11); }
.product-ribbon { position: absolute; z-index: 2; left: 0; top: 0; padding: .42rem .75rem; color: #fff; background: var(--pink); border-radius: 17px 0 12px 0; font-size: .67rem; font-weight: 700; }
.product-image-wrap { display: block; padding: 5px; }
.product-image-wrap img { width: 100%; aspect-ratio: 1.18; object-fit: cover; border-radius: 14px; transition: transform .35s ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.product-card-body { padding: .8rem .8rem 1rem; text-align: center; }
.product-title { display: block; min-height: 1.5rem; font-weight: 800; }
.product-title:hover { color: var(--pink); }
.product-card-body p { min-height: 2.4rem; margin: .25rem 0 .3rem; color: var(--muted); font-size: .72rem; }
.product-price { display: block; color: var(--pink); font-size: 1.04rem; }
.quick-add { display: flex; gap: .45rem; }
.quick-add .btn { padding: .55rem .5rem; font-size: .75rem; }
.qty-control { height: 38px; display: inline-flex; align-items: center; overflow: hidden; background: #fff; border: 1px solid #efcdd0; border-radius: 10px; }
.qty-control button { width: 29px; height: 100%; padding: 0; border: 0; color: var(--pink); background: transparent; font-size: 1.1rem; font-weight: 700; }
.qty-control button:hover { background: var(--pink-soft); }
.qty-control input { width: 30px; padding: 0; text-align: center; border: 0; outline: 0; font-weight: 700; }
.qty-large { height: 50px; border-radius: 13px; }
.qty-large button { width: 42px; }
.qty-large input { width: 38px; }

.promo-banner { min-height: 200px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 1.7rem 0 1.7rem 2.8rem; background: linear-gradient(120deg, #fff1eb, #ffd9d3); border-radius: 20px; }
.promo-banner h3 { margin-bottom: .35rem; font-size: 1.35rem; font-weight: 800; }
.promo-banner p { max-width: 230px; font-size: 1.04rem; }
.promo-banner img { align-self: stretch; width: 48%; padding: .3rem; object-fit: contain; object-position: right center; mix-blend-mode: multiply; }
.promo-banner.delivery { background: linear-gradient(120deg, #ffece7, #ffcfd1); }
.trust-strip { margin-top: 1rem; }
.trust-strip i { color: var(--pink); background: #fff; border: 2px solid #ff9cb1; }

.page-hero { padding: 4rem 0; text-align: center; background: radial-gradient(circle at 18% 30%, #fff 0, transparent 19%), linear-gradient(135deg, #fff3ed, #ffd9da); }
.page-hero.compact { padding: 2.5rem 0; }
.page-hero h1 { margin: .4rem 0; color: var(--wine); font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; }
.page-hero p { margin: 0; color: var(--muted); }
.catalog-filters { display: flex; justify-content: center; gap: .8rem; }
.catalog-filters select, .search-box { min-height: 48px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.catalog-filters select { min-width: 240px; padding: 0 1rem; }
.search-box { min-width: min(430px, 50vw); display: flex; align-items: center; gap: .6rem; padding: 0 1rem; }
.search-box i { color: var(--pink); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; }
.detail-image { position: relative; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.detail-image img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: 20px; }
.detail-image span { position: absolute; left: 28px; bottom: 28px; padding: .6rem .85rem; color: #2c713f; background: rgba(255,255,255,.9); border-radius: 999px; font-size: .8rem; font-weight: 800; }
.detail-price { color: var(--pink); font-size: 2rem; font-weight: 800; }
.detail-benefits { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; color: var(--muted); font-size: .8rem; }
.detail-benefits i { color: var(--pink); }
.extras-panel { padding: 1.5rem; background: linear-gradient(135deg, #fff8f3, #fff0f1); border: 1px solid #f5ded7; border-radius: 20px; }
.extras-panel h2, .extras-panel h3 { margin: .2rem 0; font-weight: 800; }
.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin-top: 1rem; }
.extra-chip { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .7rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.extra-chip > i { width: 38px; height: 38px; display: grid; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 50%; }
.extra-chip span { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: .78rem; }
.extra-chip small { color: var(--pink); }
.extra-chip button { width: 30px; height: 30px; border: 0; color: #fff; background: var(--pink); border-radius: 50%; font-weight: 800; }

.cart-panel, .order-summary, .checkout-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 35px rgba(83, 39, 43, .06); }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto 92px; align-items: center; gap: 1rem; padding: 1rem; border-bottom: 1px solid #f4e5e2; }
.cart-row:last-child { border: 0; }
.cart-row > img { width: 88px; height: 74px; object-fit: cover; border-radius: 12px; }
.cart-info { display: flex; flex-direction: column; }
.cart-info a, .cart-info b { font-weight: 800; }
.cart-info span { color: var(--muted); font-size: .8rem; }
.cart-row form { display: flex; align-items: center; gap: .4rem; }
.cart-row > strong { text-align: right; color: var(--pink); }
.btn-icon { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; color: var(--muted); background: transparent; border-radius: 50%; }
.btn-icon:hover { background: var(--pink-soft); }
.addon-row { grid-template-columns: 88px 1fr auto 92px; }
.addon-cart-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-left: 14px; color: var(--pink); background: var(--pink-soft); border-radius: 50%; font-size: 1.3rem; }
.order-summary { padding: 1.5rem; }
.order-summary h3 { margin-bottom: 1.3rem; font-weight: 800; }
.order-summary > div:not(.mini-item):not(.secure-note) { display: flex; justify-content: space-between; gap: 1rem; margin: .85rem 0; font-size: .9rem; }
.summary-total strong { color: var(--pink); font-size: 1.5rem; }
.continue-link { display: block; margin-top: 1rem; text-align: center; color: var(--pink); font-size: .85rem; font-weight: 700; }
.coupon-form label { margin-bottom: .35rem; font-size: .78rem; font-weight: 700; }
.coupon-form > div { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.coupon-form input { width: 100%; min-width: 0; padding: .7rem; border: 0; outline: 0; text-transform: uppercase; }
.coupon-form button { border: 0; color: var(--pink); background: var(--pink-soft); font-weight: 800; }
.empty-state { max-width: 640px; margin: 2rem auto; padding: 4rem 2rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state > i { color: var(--pink); font-size: 4rem; }
.empty-state h1, .empty-state h2, .empty-state h3 { margin-top: 1rem; font-weight: 800; }

.checkout-steps { max-width: 620px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.checkout-steps span { display: flex; align-items: center; gap: .4rem; color: #9a8083; font-size: .72rem; font-weight: 700; }
.checkout-steps b { width: 25px; height: 25px; display: grid; place-items: center; background: #fff; border: 1px solid #e2babe; border-radius: 50%; }
.checkout-steps span.active, .checkout-steps span.done { color: var(--pink); }
.checkout-steps span.active b, .checkout-steps span.done b { color: #fff; background: var(--pink); border-color: var(--pink); }
.checkout-steps i { flex: 1; height: 1px; margin: 0 .6rem; background: #e2babe; }
.login-nudge { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; padding: 1.2rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.login-nudge h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.login-nudge p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.google-mark { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; color: #4285f4; background: #fff; border-radius: 50%; box-shadow: 0 5px 18px rgba(0,0,0,.12); font-size: 1.35rem; font-weight: 800; }
.btn-google { margin-left: auto; color: #333; background: #fff; border: 1px solid #ddd; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.btn-google:hover { background: #f7f7f7; border-color: #ccc; }
.checkout-card { padding: 2rem; }
.checkout-title { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.checkout-title > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--pink); border-radius: 50%; font-weight: 800; }
.checkout-title h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.checkout-title p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.form-control, .form-select { min-height: 46px; border-color: #e8d4d1; border-radius: 11px; }
.form-control:focus, .form-select:focus { border-color: #ff99ae; box-shadow: 0 0 0 .22rem rgba(239, 63, 109, .12); }
.form-label { font-size: .82rem; font-weight: 700; }
.payment-shield { color: #36a36a; font-size: 1.5rem; }
.locked-form { opacity: .58; pointer-events: none; }
.sticky-summary { position: sticky; top: 130px; }
.mini-item { display: grid !important; grid-template-columns: 52px 1fr auto; align-items: center; gap: .7rem !important; padding: .65rem 0; }
.mini-item img { width: 52px; height: 45px; object-fit: cover; border-radius: 9px; }
.mini-item span { display: flex; flex-direction: column; min-width: 0; }
.mini-item b { font-size: .8rem; }
.mini-item small { color: var(--muted); }
.mini-item strong { color: var(--pink); font-size: .8rem; }
.mini-item.addon > i { width: 40px; height: 40px; display: grid; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 50%; }
.secure-note { display: flex; gap: .7rem; margin-top: 1.3rem; padding: .8rem; color: #2f754c; background: #eefaf3; border-radius: 11px; font-size: .75rem; }

.auth-section { min-height: calc(100vh - 139px); display: grid; place-items: center; padding: 3rem 1rem; background: radial-gradient(circle at 15% 20%, #fff 0, transparent 16%), linear-gradient(135deg, #fff1ea, #ffcfd4); }
.auth-card { width: min(500px, 100%); padding: 2.5rem; text-align: center; background: rgba(255,255,255,.93); border: 1px solid #f3ced3; border-radius: 28px; box-shadow: var(--shadow); }
.auth-card > img { width: 210px; height: 110px; object-fit: cover; mix-blend-mode: multiply; }
.auth-card h1 { margin: .5rem 0 1rem; font-size: 2rem; font-weight: 800; }
.auth-card p { color: var(--muted); line-height: 1.65; }
.auth-card .btn-google { margin: 1rem 0 0; }
.auth-benefits { display: flex; justify-content: center; gap: 1rem; margin: 1.4rem 0; color: var(--muted); font-size: .7rem; }
.auth-benefits i { color: var(--pink); }
.back-link { color: var(--pink); font-size: .82rem; font-weight: 700; }
.result-card { max-width: 720px; margin: 2rem auto; padding: 3rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.result-icon { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 1.4rem; color: #fff; background: #36ad6d; border-radius: 50%; font-size: 2rem; box-shadow: 0 10px 25px rgba(54,173,109,.22); }
.result-card.pending .result-icon { background: #f5a532; }
.result-card.failure .result-icon { background: var(--pink); }
.result-card h1 { font-weight: 800; }
.result-card > p { color: var(--muted); }
.order-number { display: inline-flex; flex-direction: column; margin: 1.4rem 0; padding: .8rem 2rem; background: var(--pink-soft); border-radius: 12px; }
.order-number span { font-size: .72rem; }
.order-number strong { color: var(--pink); font-size: 1.2rem; }
.result-details { margin: 1rem 0 1.5rem; text-align: left; }
.result-details > div { display: flex; justify-content: space-between; gap: 2rem; padding: .7rem 0; border-bottom: 1px solid #eee; font-size: .83rem; }
.orders-grid { max-width: 900px; display: grid; gap: 1rem; margin: 0 auto; }
.customer-order { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 26px rgba(78, 38, 44, .05); }
.customer-order-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #f0e7e4; }
.customer-order-head > div { display: flex; flex-direction: column; }
.customer-order-head small, .customer-order-head span { color: var(--muted); font-size: .72rem; }
.customer-order-head strong { color: var(--wine); }
.order-status { padding: .4rem .7rem; color: #8c6419 !important; background: #fff4d9; border-radius: 99px; font-weight: 800; }
.status-delivered { color: #257c4d !important; background: #e7f8ee; }
.status-cancelled { color: #a33e4b !important; background: #ffe9ec; }
.customer-order-body { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1rem; padding: 1rem 0; }
.customer-order-body > div { display: flex; align-items: center; gap: .65rem; }
.customer-order-body i { color: var(--pink); }
.customer-order-body span { display: flex; flex-direction: column; min-width: 0; }
.customer-order-body small { color: var(--muted); font-size: .68rem; }
.customer-order-body b { font-size: .78rem; }
.order-progress { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; padding-top: .9rem; }
.order-progress::before { content: ""; position: absolute; left: 8%; right: 8%; top: 6px; height: 3px; background: #eee1df; }
.order-progress span { position: relative; padding-top: .6rem; color: #a28b8d; text-align: center; font-size: .65rem; }
.order-progress span::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -8px; width: 13px; height: 13px; background: #dfd4d2; border: 3px solid #fff; border-radius: 50%; transform: translateX(-50%); }
.order-progress span.done { color: var(--pink); font-weight: 800; }
.order-progress span.done::before { background: var(--pink); }

.site-footer { color: #4e282d; background: linear-gradient(180deg, #fff7f1, #fff0e8); }
.footer-logo { width: 190px; height: 94px; object-fit: contain; object-position: left center; }
.site-footer h6 { font-weight: 800; }
.site-footer .col-6 > a { display: block; margin: .45rem 0; color: #72565a; font-size: .8rem; }
.site-footer .col-6 > a:hover { color: var(--pink); }
.socials { display: flex; gap: .5rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--pink); border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; color: #967a7c; border-top: 1px solid #efdcd5; font-size: .72rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 55px; height: 55px; border: 0; color: #fff; background: #25d366; border-radius: 50%; box-shadow: 0 10px 25px rgba(37,211,102,.35); font-size: 1.6rem; }

/* Administración */
.admin-body { min-height: 100vh; background: #f8f6f4; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 250px; padding: 1.2rem; color: #fff; background: linear-gradient(180deg, #4b1822, #301017); }
.admin-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .7rem; opacity: .95; }
.admin-brand img { width: 150px; height: 76px; object-fit: contain; }
.admin-sidebar nav { display: grid; gap: .35rem; }
.admin-sidebar nav a { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; color: #f8dce1; border-radius: 11px; font-size: .86rem; font-weight: 600; }
.admin-sidebar nav a i { width: 20px; text-align: center; color: #ff87a0; }
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-header { height: 92px; display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem; background: #fff; border-bottom: 1px solid #ece5e2; }
.admin-header h1 { margin: 0; font-size: 1.7rem; font-weight: 800; }
.admin-user { margin-left: auto; color: var(--muted); font-size: .82rem; }
.admin-content { padding: 2rem; }
.admin-panel { padding: 1.5rem; background: #fff; border: 1px solid #ebe2df; border-radius: 18px; box-shadow: 0 8px 28px rgba(70,43,46,.05); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.panel-heading h3, .admin-panel > h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.panel-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.stat-card { min-height: 140px; display: flex; align-items: center; gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid #ece2df; border-radius: 17px; }
.stat-card > span { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; font-size: 1.35rem; }
.stat-card.pink > span { color: var(--pink); background: var(--pink-soft); }.stat-card.orange > span { color: #e58d2b; background: #fff5e7; }.stat-card.purple > span { color: #9168d8; background: #f4efff; }.stat-card.green > span { color: #35a46a; background: #eaf9f1; }
.stat-card div { display: flex; flex-direction: column; }
.stat-card small, .stat-card em { color: var(--muted); font-size: .7rem; font-style: normal; }
.stat-card strong { font-size: 1.5rem; }
.admin-table th { color: #806c6e; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td { font-size: .82rem; border-color: #f0e9e7; }
.table-product { display: flex; align-items: center; gap: .75rem; min-width: 210px; }
.table-product img { width: 52px; height: 46px; object-fit: cover; border-radius: 9px; }
.table-product span { display: flex; flex-direction: column; }
.table-product small { color: var(--muted); }
.status-pill { display: inline-block; padding: .3rem .55rem; border-radius: 99px; font-size: .67rem; font-weight: 800; }
.status-pill.active { color: #238853; background: #e8f8ef; }.status-pill.inactive { color: #7c696b; background: #eee9e8; }.status-pill.warning { color: #a76c15; background: #fff3d8; }
.table-actions { display: flex; justify-content: flex-end; }
.table-actions a, .table-actions button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; color: var(--muted); background: transparent; border-radius: 8px; }
.table-actions a:hover, .table-actions button:hover { color: var(--pink); background: var(--pink-soft); }
.image-upload { padding: .8rem; text-align: center; background: #faf8f7; border: 1px dashed #dcbfc0; border-radius: 14px; }
.image-upload > img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 10px; }
.image-upload label { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .8rem; color: var(--pink); cursor: pointer; font-weight: 700; font-size: .8rem; }
.image-upload input { display: none; }
.image-upload small { color: var(--muted); font-size: .68rem; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #eee7e5; }
.category-admin-list, .promotion-list { display: grid; gap: .6rem; }
.category-admin-list > div, .promotion-row { display: flex; align-items: center; gap: .8rem; padding: .7rem; border: 1px solid #eee5e2; border-radius: 12px; }
.category-admin-list img { width: 64px; height: 52px; object-fit: cover; border-radius: 9px; }
.category-admin-list span:nth-child(2), .promotion-row > div { flex: 1; display: flex; flex-direction: column; }
.category-admin-list small, .promotion-row small { color: var(--muted); font-size: .72rem; }
.ticket-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 11px; }
.customer-cell { display: flex; align-items: center; gap: .6rem; min-width: 150px; }
.customer-cell img, .customer-cell > span { width: 34px; height: 34px; display: grid; place-items: center; object-fit: cover; color: var(--pink); background: var(--pink-soft); border-radius: 50%; }
.inline-status { min-width: 150px; }

@media (max-width: 1199.98px) {
    .hero-section { grid-template-columns: 48% 52%; min-height: 430px; }
    .hero-copy { padding-left: 2.5rem; }
    .hero-copy h1 { font-size: 4.2rem; }
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
    .shop-navbar { min-height: 80px; }
    .navbar-brand img { width: 135px; height: 70px; }
    .navbar-collapse { padding: 1rem 0; }
    .shop-navbar .nav-link { padding: .65rem !important; }
    .hero-section { grid-template-columns: 1fr; }
    .hero-copy { min-height: 390px; padding: 3.2rem 2.5rem; background: linear-gradient(90deg, rgba(255,220,218,.98), rgba(255,217,214,.72), rgba(255,217,214,.15)); }
    .hero-visual { position: absolute; z-index: 0; inset: 0 0 0 30%; }
    .hero-copy h1 { font-size: clamp(3.2rem, 10vw, 5rem); }
    .benefit-strip, .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
    .benefit-strip > div:nth-child(2), .trust-strip > div:nth-child(2) { border-right: 0; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .sticky-summary { position: static; }
    .admin-sidebar { transform: translateX(-100%); transition: .25s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}

@media (max-width: 767.98px) {
    .hero-section { margin-top: 0 !important; min-height: 505px; border-radius: 0 0 25px 25px; }
    .hero-copy { justify-content: flex-end; min-height: 505px; padding: 2rem 1.4rem; background: linear-gradient(0deg, #ffd9d8 0, rgba(255,217,216,.94) 43%, rgba(255,217,216,.2) 75%); }
    .hero-visual { inset: 0 0 37% 0; }
    .hero-copy h1 { font-size: 3.4rem; }
    .hero-copy p { margin: 1rem 0; font-size: .92rem; }
    .hero-badge { right: 5%; top: 18px; bottom: auto; width: 96px; font-size: 1.05rem; }
    .benefit-strip, .trust-strip { margin-inline: 12px; padding: 1rem .4rem; }
    .benefit-strip > div, .trust-strip > div { justify-content: flex-start; padding: .35rem .6rem; }
    .benefit-strip i, .trust-strip i { flex-basis: 38px; width: 38px; height: 38px; font-size: 1rem; }
    .benefit-strip span, .trust-strip span { font-size: .68rem; }
    .benefit-strip b, .trust-strip b { font-size: .73rem; }
    .section-heading { gap: .6rem; }
    .section-heading h2 { font-size: 1.15rem; }
    .section-heading.with-action { align-items: flex-end; }
    .section-heading.with-action > div span { display: none; }
    .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 .2rem .7rem; }
    .category-card { min-width: 155px; scroll-snap-align: start; }
    .product-card-body p { min-height: auto; }
    .promo-banner { min-height: 180px; padding-left: 1.2rem; }
    .promo-banner img { width: 43%; }
    .catalog-filters { flex-direction: column; }
    .catalog-filters select, .search-box { width: 100%; min-width: 0; }
    .cart-row { grid-template-columns: 70px 1fr auto; gap: .7rem; }
    .cart-row > img { width: 70px; height: 64px; }
    .cart-row form { grid-column: 2; }
    .cart-row > strong { grid-column: 3; grid-row: 1 / span 2; }
    .addon-row { grid-template-columns: 70px 1fr auto; }
    .addon-cart-icon { width: 50px; height: 50px; margin-left: 10px; }
    .extras-grid { grid-template-columns: 1fr; }
    .login-nudge { flex-direction: column; text-align: center; }
    .login-nudge .btn-google { width: 100%; margin: 0; }
    .checkout-card { padding: 1.2rem; }
    .checkout-steps span { font-size: 0; }
    .checkout-steps b { font-size: .72rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .admin-content, .admin-header { padding: 1rem; }
    .admin-header h1 { font-size: 1.25rem; }
    .admin-user { display: none; }
}

@media (max-width: 479.98px) {
    .navbar-brand img { width: 112px; height: 60px; }
    .nav-icon { width: 36px; height: 36px; }
    .hero-copy h1 { font-size: 2.85rem; }
    .benefit-strip, .trust-strip { grid-template-columns: 1fr 1fr; }
    .section-heading.with-action .btn { padding: .5rem .65rem; font-size: .72rem; }
    .auth-card { padding: 1.6rem 1.2rem; }
    .auth-benefits { flex-direction: column; gap: .45rem; }
    .result-card { padding: 2rem 1.2rem; }
    .customer-order-body { grid-template-columns: 1fr; }
    .order-progress span { font-size: .55rem; }
}

/* Páginas informativas */
.info-hero { padding: 3.5rem 0; background: radial-gradient(circle at 80% 20%, #fff 0, transparent 18%), linear-gradient(135deg, #fff4ee, #ffdadd); }
.info-hero-inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; text-align: left; }
.info-hero-inner h1 { margin: .25rem 0; color: var(--wine); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; }
.info-hero-inner p { max-width: 650px; margin: 0; color: var(--muted); }
.info-icon { flex: 0 0 82px; width: 82px; height: 82px; display: grid; place-items: center; color: var(--pink); background: rgba(255,255,255,.78); border: 1px solid rgba(239,63,109,.15); border-radius: 26px; box-shadow: var(--shadow); font-size: 2rem; }
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 2rem; }
.info-content { display: grid; gap: .85rem; }
.info-card { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.info-card > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 13px; font-weight: 800; font-size: .8rem; }
.info-card h2 { margin: 0 0 .35rem; color: var(--wine); font-size: 1rem; font-weight: 800; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .9rem; }
.info-help { position: sticky; top: 130px; padding: 1.7rem; text-align: center; color: var(--wine); background: linear-gradient(145deg, #fff5ef, #ffdfe2); border-radius: 20px; }
.info-help > i { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 1rem; color: #fff; background: var(--pink); border-radius: 50%; font-size: 1.35rem; }
.info-help h3 { font-size: 1.15rem; font-weight: 800; }
.info-help p { color: var(--muted); font-size: .85rem; }
.info-help-link { display: inline-block; margin-top: 1rem; color: var(--wine); font-size: .8rem; font-weight: 700; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
.story-copy h2 { margin: .45rem 0 1rem; color: var(--wine); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; font-weight: 800; letter-spacing: -.04em; }
.story-copy p { color: var(--muted); line-height: 1.75; }
.story-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.story-values article { min-height: 190px; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 10px 28px rgba(88,41,47,.05); }
.story-values i { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 1rem; color: var(--pink); background: var(--pink-soft); border-radius: 14px; }
.story-values h3 { color: var(--wine); font-size: 1rem; font-weight: 800; }
.story-values p { margin: 0; color: var(--muted); font-size: .82rem; }
.values-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-block: 1rem 4rem; padding: 2.2rem 2.5rem; color: #fff; background: linear-gradient(120deg, var(--pink), #f27c90); border-radius: 22px; }
.values-cta span { font-size: .78rem; opacity: .85; }
.values-cta h2 { margin: .2rem 0 0; font-size: 1.7rem; font-weight: 800; }
.occasion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.occasion-grid > a { min-height: 260px; padding: 1.5rem; color: var(--wine); background: linear-gradient(160deg, #fff, #fff4ef); border: 1px solid var(--line); border-radius: 20px; transition: .25s ease; }
.occasion-grid > a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.occasion-grid > a > i { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.5rem; color: #fff; background: var(--pink); border-radius: 16px; font-size: 1.25rem; }
.occasion-grid h2 { font-size: 1.2rem; font-weight: 800; }
.occasion-grid p { min-height: 75px; color: var(--muted); font-size: .84rem; }
.occasion-grid span { color: var(--pink); font-size: .78rem; font-weight: 800; }
.occasion-guide { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; margin-top: 2rem; padding: 2rem; background: #fff3ee; border-radius: 22px; }
.occasion-guide h2 { color: var(--wine); font-size: 1.6rem; font-weight: 800; }
.occasion-guide p { margin: 0; color: var(--muted); }
.portion-pills { display: grid; gap: .65rem; }
.portion-pills span { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; background: #fff; border-radius: 12px; font-size: .82rem; }
.portion-pills b { min-width: 55px; color: var(--pink); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 1rem; padding: 1.3rem; color: var(--wine); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.contact-card:hover { color: var(--wine); box-shadow: var(--shadow); }
.contact-card > i:first-child { width: 52px; height: 52px; display: grid; place-items: center; color: var(--pink); background: var(--pink-soft); border-radius: 15px; font-size: 1.25rem; }
.contact-card.whatsapp > i:first-child { color: #fff; background: #25d366; }
.contact-card span { min-width: 0; display: flex; flex-direction: column; }
.contact-card small, .contact-card em { color: var(--muted); font-size: .7rem; font-style: normal; }
.contact-card b { overflow-wrap: anywhere; font-size: .9rem; }
.contact-note { display: flex; align-items: center; gap: 1.3rem; margin-top: 2rem; padding: 1.6rem; background: #fff4ef; border-radius: 18px; }
.contact-note > i { color: var(--pink); font-size: 2rem; }
.contact-note div { flex: 1; }
.contact-note h2 { margin: 0; color: var(--wine); font-size: 1.1rem; font-weight: 800; }
.contact-note p { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; }

/* Tamaños de productos */
.size-picker { margin: 0; padding: 0; border: 0; }
.size-picker legend { margin-bottom: .65rem; font-size: .92rem; font-weight: 800; }
.size-picker legend small { margin-left: .35rem; color: var(--muted); font-size: .7rem; font-weight: 500; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.size-option { position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span { min-height: 94px; display: flex; flex-direction: column; justify-content: center; padding: .75rem; background: #fff; border: 1px solid #eadad8; border-radius: 14px; transition: .2s ease; }
.size-option b { color: var(--wine); font-size: .78rem; }
.size-option em { margin-top: .1rem; color: var(--pink); font-size: .9rem; font-style: normal; font-weight: 800; }
.size-option small { color: #469765; font-size: .62rem; }
.size-option input:checked + span { border-color: var(--pink); background: var(--pink-soft); box-shadow: 0 0 0 2px rgba(239,63,109,.1); }
.size-option.sold-out { cursor: not-allowed; opacity: .48; }
.size-option.sold-out small { color: #9a777c; }
.cart-size { width: max-content; margin: .15rem 0; padding: .2rem .45rem; color: var(--wine) !important; background: var(--pink-soft); border-radius: 99px; font-size: .66rem !important; font-weight: 700; }
.sizes-admin { padding: 1.3rem; background: #fffaf8; border: 1px solid #eee1de; border-radius: 17px; }
.sizes-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sizes-admin-head h4 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.sizes-admin-head p { margin: .25rem 0 0; color: var(--muted); font-size: .76rem; }
.size-admin-labels, .size-admin-row { display: grid; grid-template-columns: .7fr 1.35fr 1fr .7fr .7fr 38px; gap: .65rem; align-items: center; }
.size-admin-labels { padding: 0 .2rem .4rem; color: var(--muted); font-size: .66rem; font-weight: 700; }
.size-admin-row { margin-bottom: .55rem; padding: .65rem; background: #fff; border: 1px solid #eee5e2; border-radius: 12px; }
.size-admin-row .form-control { min-width: 0; font-size: .78rem; }
.size-active { display: flex; align-items: center; gap: .35rem; font-size: .72rem; }
.sizes-empty { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 86px; color: var(--muted); background: #fff; border: 1px dashed #dfccca; border-radius: 12px; font-size: .78rem; }
.form-text { color: var(--muted); font-size: .65rem; }
.footer-contact { color: inherit; }

@media (max-width: 991.98px) {
    .navbar-brand img { width: 138px; height: 64px; }
    .occasion-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .info-layout { grid-template-columns: 1fr; }
    .info-help { position: static; }
    .size-admin-labels { display: none; }
    .size-admin-row { grid-template-columns: repeat(2, 1fr) 40px; }
    .size-admin-row .size-active { grid-column: 1 / 3; }
}

@media (max-width: 767.98px) {
    .shop-navbar { min-height: 72px; }
    .navbar-brand img { width: 118px; height: 56px; }
    .hero-visual img { object-position: 52% center; }
    .promo-banner { min-height: 260px; align-items: flex-start; padding: 1.4rem; }
    .promo-banner > div { position: relative; z-index: 2; max-width: 62%; }
    .promo-banner img { position: absolute; right: 0; bottom: 0; width: 58%; height: 82%; padding: .5rem; object-fit: contain; object-position: right bottom; }
    .promo-banner.delivery img { width: 67%; height: 72%; }
    .footer-logo { width: 155px; height: 78px; }
    .info-hero { padding: 2.4rem 0; }
    .info-hero-inner { align-items: flex-start; justify-content: flex-start; }
    .info-icon { flex-basis: 58px; width: 58px; height: 58px; border-radius: 17px; font-size: 1.35rem; }
    .info-card { grid-template-columns: 42px 1fr; padding: 1rem; }
    .info-card > span { width: 36px; height: 36px; }
    .occasion-grid, .occasion-guide { grid-template-columns: 1fr; }
    .occasion-grid > a { min-height: 220px; }
    .occasion-grid p { min-height: auto; }
    .story-values { grid-template-columns: 1fr; }
    .story-values article { min-height: 150px; }
    .values-cta, .contact-note { align-items: flex-start; flex-direction: column; }
    .values-cta .btn, .contact-note .btn { width: 100%; }
    .size-options { grid-template-columns: repeat(2, 1fr); }
    .product-buy-row { flex-direction: column; }
    .product-buy-row .qty-control { width: 100%; }
    .product-buy-row .qty-control input { flex: 1; }
    .sizes-admin-head { align-items: flex-start; flex-direction: column; }
    .sizes-admin-head .btn { width: 100%; }
    .size-admin-row { grid-template-columns: 1fr 1fr; }
    .size-admin-row .size-active { grid-column: 1; }
    .size-admin-row [data-remove-size] { justify-self: end; }
}

@media (max-width: 479.98px) {
    .navbar-brand img { width: 102px; height: 50px; }
    .navbar-toggler { padding-inline: .25rem; }
    .info-hero-inner { gap: .8rem; }
    .info-icon { display: none; }
    .occasion-grid { gap: .75rem; }
    .contact-card { grid-template-columns: 46px 1fr auto; padding: 1rem; }
    .contact-card > i:first-child { width: 46px; height: 46px; }
    .size-options { grid-template-columns: 1fr 1fr; }
    .size-option span { min-height: 86px; padding: .65rem; }
}
