:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --background: #f8fafc;
    --surface: #fff;
    --surface-soft: #f1f5f9;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --danger: #dc2626;
    --overlay: rgba(15, 23, 42, .56);
    --shadow: 0 12px 30px rgba(15, 23, 42, .1);
    --shadow-soft: 0 4px 18px rgba(15, 23, 42, .1);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --font-body: Inter;
    --font-heading: Inter;
    --font-accent: Inter;
    --button-radius: 99px;
    --container: 1180px;
    --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body), system-ui, sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin: auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--surface-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h1, .section-heading h2 { margin: 4px 0 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
h1, h2, h3, .price, .btn { font-family: var(--font-heading), var(--font-body), system-ui, sans-serif; }
.eyebrow { color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.brand-name, .footer-brand-name, .eyebrow { font-family: var(--font-accent), var(--font-heading), var(--font-body), sans-serif; }
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--header-height); background: var(--surface); border-bottom: 1px solid var(--border); }
.navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 112px; height: 38px; object-fit: contain; }
.brand-name, .footer-brand-name { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; min-height: 38px; padding: 5px 18px; background: var(--secondary); color: #fff; font-family: var(--font-heading), var(--font-body), sans-serif; font-size: 1.15rem; font-weight: 750; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--text-light); font-weight: 650; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; }
.cart-link, .menu-toggle { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); }
.cart-link { position: relative; }
.cart-badge { position: absolute; top: -6px; right: -5px; min-width: 21px; padding: 2px 5px; border-radius: 99px; background: var(--primary); color: #fff; font-size: .7rem; text-align: center; }
.menu-toggle { display: none; }
main { padding-top: var(--header-height); }
.hero { position: relative; min-height: 690px; display: grid; place-items: center; border: 2px solid #111; background-position: center; background-size: cover; color: #fff; isolation: isolate; }
.banner::before, .category-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--overlay); }
.hero-content { max-width: 720px; padding: 100px 0; text-align: center; text-shadow: 0 2px 14px rgba(15, 23, 42, .72); }
.hero .eyebrow { color: var(--hero-eyebrow-color, #2563eb); }
.hero h1 { margin: 16px 0 24px; color: var(--hero-title-color, #fff); font-size: clamp(3rem, 7vw, 5.8rem); line-height: .98; }
.hero p { max-width: 590px; margin: 0 auto 34px; color: var(--hero-description-color, #fff); font-size: 1.2rem; }
.hero .btn { background: var(--hero-button-color, #2563eb); color: var(--hero-button-text-color, #fff); }
.hero .btn:hover { filter: brightness(.9); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--button-radius); background: var(--primary); color: #fff; font-weight: 750; }
.btn:hover { background: var(--primary-hover); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { position: relative; min-height: 245px; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); color: #fff; isolation: isolate; }
.category-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card-content { position: absolute; inset: auto 22px 20px; }
.category-card h3 { margin: 2px 0; font-size: 1.3rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 240px)); justify-content: center; gap: 18px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover, .product-card:focus-visible { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-soft); outline: none; }
.product-image { position: relative; height: 155px; overflow: hidden; background: var(--surface-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.availability { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 99px; background: #fff; color: var(--danger); font-size: .72rem; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 15px 16px 16px; }
.product-body h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.product-body p { min-height: 42px; margin: 7px 0 14px; color: var(--text-light); font-size: .84rem; line-height: 1.45; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-size: .98rem; font-weight: 850; }
.original-price { display: block; color: var(--text-light); font-size: .78rem; }
.promotion-badge { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; }
.product-promotion { display: flex; gap: 10px; align-items: center; color: var(--accent); font-size: .85rem; font-weight: 800; }
.product-promotion del { color: var(--text-light); font-weight: 500; }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.1rem; }
.icon-button:disabled { cursor: not-allowed; opacity: .45; }
.banner { position: relative; display: flex; align-items: center; min-height: 330px; padding: 54px; border-radius: var(--radius-lg); background-position: center; background-size: cover; color: #fff; isolation: isolate; overflow: hidden; }
.banner-content { max-width: 530px; }
.banner h2 { color: var(--banner-title-color, #fff); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }
.banner p { color: var(--banner-description-color, #fff); }
.banner .banner-button { background: var(--banner-button-color, #2563eb); color: var(--banner-button-text-color, #fff); }
.banner .banner-button:hover { filter: brightness(.9); }
.toolbar { display: flex; gap: 14px; margin-bottom: 30px; }
.search { position: relative; flex: 1; }
.search input { width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); }
.filters { display: flex; gap: 8px; overflow: auto; padding-bottom: 2px; }
.filter { padding: 11px 17px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--text-light); font-weight: 700; white-space: nowrap; }
.filter.active { background: var(--secondary); color: #fff; }
.empty-state { grid-column: 1 / -1; padding: 70px 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); text-align: center; }
.cart-layout { display: grid; grid-template-columns: 1.6fr .8fr; align-items: start; gap: 28px; }
.cart-list, .summary-card, .info-card, .review-card { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 20px; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 100px; height: 85px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item h3 { margin: 0; }
.quantity { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.quantity button { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); }
.remove { border: 0; background: none; color: var(--danger); }
.summary-card { position: sticky; top: 95px; padding: 26px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-light); }
.summary-row.total { border-top: 1px solid var(--border); color: var(--text); font-size: 1.2rem; }
.summary-card .btn { width: 100%; margin-top: 18px; }
.floating-cart { position: fixed; z-index: 40; bottom: 22px; left: 22px; display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 99px; background: var(--secondary); color: #fff; box-shadow: var(--shadow); }
.floating-cart-count { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); }
.floating-cart strong { display: block; }
.floating-cart small { color: var(--border); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 28px; }
.info-card { padding: 28px; }
.info-list { display: grid; gap: 22px; margin-top: 28px; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.info-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-soft); }
.info-item h3 { margin: 0; }
.info-item p, .info-item a { margin: 2px 0; color: var(--text-light); }
.social-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.social-link { padding: 9px 14px; border: 1px solid var(--border); border-radius: 99px; }
.map { width: 100%; min-height: 520px; border: 0; border-radius: var(--radius-md); }
.rating-overview { margin-bottom: 36px; text-align: center; }
.rating-number { font-size: 4.5rem; font-weight: 900; }
.stars { color: var(--accent); font-size: 1.35rem; letter-spacing: .12em; }
.reviews-carousel { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 18px; margin-top: 42px; }
.reviews-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 22px; padding: 30px 10px; }
.review-card { min-height: 235px; padding: 25px; opacity: .58; transform: scale(.88); transition: transform .55s, opacity .55s; }
.review-card.is-active { z-index: 2; opacity: 1; transform: scale(1.08); border-color: var(--primary); box-shadow: var(--shadow); }
.review-card blockquote { margin: 18px 0; color: var(--text-light); }
.review-meta { display: flex; justify-content: space-between; gap: 16px; }
.carousel-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); font-size: 1.35rem; box-shadow: var(--shadow-soft); }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--border); }
.carousel-dot.is-active { width: 26px; border-radius: 99px; background: var(--primary); }
.review-submit-section { padding-top: 20px; background: var(--surface); }
.review-form-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 46px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--background); box-shadow: var(--shadow-soft); }
.review-form-intro h2 { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; }
.review-form-intro p { color: var(--text-light); }
.review-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-form-fields label > span, .review-form-fields legend { display: block; margin-bottom: 7px; color: var(--text); font-size: .86rem; font-weight: 750; }
.review-form-fields fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-form-fields input[type="text"], .review-form-fields textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); resize: vertical; }
.review-form-fields input:focus, .review-form-fields textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.review-message-field { grid-column: 1 / -1; }
.review-rating-input { display: flex; gap: 4px; min-height: 50px; align-items: center; }
.review-rating-star { padding: 2px; border: 0; background: none; color: var(--border); font-size: 2rem; line-height: 1; -webkit-text-stroke: 1px #000; paint-order: stroke fill; text-shadow: 0 0 1px #000; transition: color .15s, transform .15s; }
.review-rating-star:hover, .review-rating-star.active { color: var(--accent); transform: scale(1.08); }
.review-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.review-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.review-feedback { flex: 1; margin: 0; color: var(--text-light); font-size: .9rem; }
.review-feedback.success { color: #15803d; }
.review-feedback.error { color: var(--danger); }
.site-footer { padding: 65px 0 25px; background: var(--secondary); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 45px; }
.footer-logo { width: 120px; margin-bottom: 18px; }
.footer-brand-name { margin-bottom: 18px; border: 1px solid rgba(255, 255, 255, .18); }
.footer-grid p, .footer-grid a { color: var(--border); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--text-light); color: var(--text-light); text-align: center; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; padding: 14px 20px; border-radius: var(--radius-sm); background: var(--secondary); color: #fff; box-shadow: var(--shadow); animation: fade-up .25s both; }
body.modal-open { overflow: hidden; }
.product-modal-backdrop { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(15, 23, 42, .72); backdrop-filter: blur(5px); animation: modal-fade .2s both; }
.product-modal { position: relative; width: min(100%, 1020px); max-height: min(88vh, 760px); overflow: auto; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 28px 80px rgba(15, 23, 42, .3); }
.product-modal-close { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .82); color: #fff; font-size: 1.65rem; line-height: 1; }
.product-modal-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); min-height: 520px; }
.product-gallery { min-width: 0; padding: 22px; background: var(--surface-soft); }
.product-gallery-stage { position: relative; height: 430px; overflow: hidden; border-radius: var(--radius-md); background: #e2e8f0; }
.product-gallery-stage > img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-counter { position: absolute; z-index: 2; top: 14px; left: 50%; padding: 6px 12px; border-radius: 99px; background: rgba(15, 23, 42, .78); color: #fff; font-size: .78rem; font-weight: 800; transform: translateX(-50%); }
.product-gallery-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text); font-size: 1.2rem; box-shadow: var(--shadow-soft); transform: translateY(-50%); }
.product-gallery-arrow.previous { left: 14px; }
.product-gallery-arrow.next { right: 14px; }
.product-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding-top: 14px; }
.product-thumbnail { flex: 0 0 70px; width: 70px; height: 58px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 9px; background: #fff; opacity: .68; }
.product-thumbnail.active { border-color: var(--primary); opacity: 1; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-content { display: flex; flex-direction: column; justify-content: center; padding: 52px 42px 42px; }
.product-modal-content h2 { margin: 8px 0 16px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.product-modal-description { color: var(--text-light); font-size: 1.02rem; white-space: pre-line; }
.product-modal-price { margin: 14px 0 26px; font-size: 1.65rem; }
.product-modal-purchase { padding-top: 22px; border-top: 1px solid var(--border); }
.product-purchase-options { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(180px, 1.3fr); align-items: start; gap: 20px; }
.quantity-label { display: block; margin-bottom: 8px; color: var(--text-light); font-size: .85rem; font-weight: 750; text-transform: uppercase; }
.modal-quantity { display: inline-flex; align-items: center; gap: 20px; padding: 6px; border: 1px solid var(--border); border-radius: 99px; }
.modal-quantity button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-soft); font-size: 1.15rem; }
.product-extras { min-width: 0; padding: 0; border: 0; }
.product-extras legend { margin-bottom: 8px; color: var(--text-light); font-size: .85rem; font-weight: 750; text-transform: uppercase; }
.product-extras-list { display: grid; gap: 8px; max-height: 170px; overflow-y: auto; padding-right: 4px; }
.product-extra-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
.product-extra-option:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.product-extra-option input { width: 18px; height: 18px; accent-color: var(--primary); }
.product-extra-option span { overflow: hidden; font-size: .9rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.product-extra-option b { color: var(--primary); font-size: .84rem; white-space: nowrap; }
.product-extras-empty p { margin: 0; color: var(--text-light); font-size: .9rem; }
.cart-item-extras { margin: 7px 0 10px; padding: 0; list-style: none; color: var(--text-light); font-size: .82rem; }
.cart-item-extras li { display: flex; flex-wrap: wrap; gap: 5px; }
.cart-item-extras span { color: var(--primary); font-weight: 700; }
.product-modal-add { width: 100%; margin-top: 20px; }
.product-unavailable { padding: 14px 18px; border-radius: var(--radius-sm); background: #fee2e2; color: var(--danger); font-weight: 700; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.hero-content, .section-heading, .product-card, .category-card, .review-card { animation: fade-up .55s both; }

/* Secciones opcionales disponibles para todas las plantillas. */
.storefront-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.storefront-gallery figure { position: relative; min-height: 290px; overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.storefront-gallery img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; transition: transform .35s ease; }
.storefront-gallery figure:hover img { transform: scale(1.045); }
.storefront-gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-family: var(--font-heading), var(--font-body), sans-serif; font-weight: 700; }
.reservation-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.reservation-intro h1 { margin: 8px 0 18px; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .95; }
.reservation-intro p { color: var(--text-light); }
.reservation-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reservation-form label > span { display: block; margin-bottom: 7px; color: var(--text); font-size: .84rem; font-weight: 750; }
.reservation-form input, .reservation-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--background); color: var(--text); }
.reservation-form input:focus, .reservation-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.reservation-notes, .reservation-form .btn { grid-column: 1 / -1; }

/* Tasty: reinterpretación dinámica de la plantilla editorial recibida. */
.storefront-template-tasty {
    --container: 1160px;
    background-color: var(--background);
    background-image: radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 28%), radial-gradient(circle at 85% 75%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 24%);
}
.storefront-template-tasty .site-header { height: 82px; border-bottom-color: color-mix(in srgb, var(--text) 16%, transparent); background: color-mix(in srgb, var(--surface) 84%, #eadbc6); backdrop-filter: blur(12px); }
.storefront-template-tasty .brand-name { min-width: 0; padding: 0; background: transparent; color: var(--text); font-family: var(--font-accent), var(--font-heading), serif; font-size: 1.75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.storefront-template-tasty .nav-link { color: var(--text); font-size: .75rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.storefront-template-tasty .nav-link:hover, .storefront-template-tasty .nav-link.active { color: var(--primary); }
.storefront-template-tasty .cart-link, .storefront-template-tasty .menu-toggle { border-color: color-mix(in srgb, var(--text) 24%, transparent); background: transparent; color: var(--text); }
.storefront-template-tasty main { padding-top: 0; }
.storefront-template-tasty .hero { min-height: 100vh; border: 0; }
.storefront-template-tasty .hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .72)); }
.storefront-template-tasty .hero-content { max-width: 930px; padding-top: 170px; }
.storefront-template-tasty .hero .eyebrow { font-size: 1.2rem; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.storefront-template-tasty .hero h1 { margin: 14px auto 20px; font-size: clamp(4rem, 8vw, 8.2rem); font-weight: 500; line-height: .83; }
.storefront-template-tasty .hero p { font-size: 1.15rem; font-style: italic; }
.storefront-template-tasty .btn { min-height: 52px; border: 1px solid var(--primary); border-radius: var(--button-radius); background: transparent; color: var(--primary); letter-spacing: .07em; }
.storefront-template-tasty .btn:hover { background: var(--primary); color: var(--secondary); }
.storefront-template-tasty .section { padding: 110px 0; }
.storefront-template-tasty .section-soft { background: color-mix(in srgb, var(--surface) 86%, var(--secondary)); }
.storefront-template-tasty .section-heading { align-items: flex-start; }
.storefront-template-tasty .section-heading h1, .storefront-template-tasty .section-heading h2 { font-size: clamp(3.2rem, 6vw, 5.8rem); font-weight: 500; line-height: .88; }
.storefront-template-tasty .eyebrow { font-size: 1.05rem; font-weight: 400; letter-spacing: .03em; text-transform: none; }
.storefront-template-tasty .category-grid { gap: 0; }
.storefront-template-tasty .category-card, .storefront-template-tasty .banner, .storefront-template-tasty .product-card, .storefront-template-tasty .review-card, .storefront-template-tasty .info-card, .storefront-template-tasty .map, .storefront-template-tasty .reservation-layout, .storefront-template-tasty .storefront-gallery figure { border-radius: 0; }
.storefront-template-tasty .category-card { min-height: 310px; box-shadow: none; }
.storefront-template-tasty .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.storefront-template-tasty .product-card { border-color: color-mix(in srgb, var(--border) 70%, transparent); box-shadow: none; }
.storefront-template-tasty .product-card:nth-child(even) { transform: translateY(34px); }
.storefront-template-tasty .product-card:nth-child(even):hover { transform: translateY(27px); }
.storefront-template-tasty .product-image { height: 245px; }
.storefront-template-tasty .product-body { padding: 24px; }
.storefront-template-tasty .product-body h3 { font-size: 1.55rem; font-weight: 500; }
.storefront-template-tasty .price { color: var(--primary); font-size: 1.3rem; font-weight: 500; }
.storefront-template-tasty .icon-button { border: 1px solid var(--primary); background: transparent; color: var(--primary); }
.storefront-template-tasty .banner::before { background: rgba(0, 0, 0, .62); }
.storefront-template-tasty .site-footer { background: var(--secondary); }
.storefront-template-tasty .footer-brand-name { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--primary); font-size: 2.1rem; font-weight: 400; }
.storefront-template-tasty .storefront-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.storefront-template-tasty .storefront-gallery figure:nth-child(3n + 1) { grid-row: span 2; }
.storefront-template-tasty .storefront-gallery figure:nth-child(3n + 1) img { min-height: 580px; }
.storefront-template-tasty .reservation-layout { background: color-mix(in srgb, var(--surface) 92%, var(--secondary)); }

/* Catálogo Tasty: composición editorial inspirada en boutiques. */
.storefront-template-tasty .catalog-section {
    min-height: calc(100vh - 82px);
    padding: 112px 0 90px;
    background: color-mix(in srgb, var(--background) 78%, #efe5d5);
}
.storefront-template-tasty .catalog-container { width: min(calc(100% - 64px), 1380px); }
.storefront-template-tasty .catalog-heading { margin: 0 0 26px; }
.storefront-template-tasty .catalog-heading .eyebrow { display: none; }
.storefront-template-tasty .catalog-heading h1 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-accent), var(--font-heading), serif;
    font-size: clamp(2.35rem, 4vw, 4.15rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}
.storefront-template-tasty .catalog-tools {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 17%, transparent);
}
.storefront-template-tasty .catalog-tools .filters { flex: 1; gap: 22px; }
.storefront-template-tasty .catalog-tools .filter {
    padding: 3px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--text-light);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.storefront-template-tasty .catalog-tools .filter.active {
    border-bottom-color: var(--text);
    background: transparent;
    color: var(--text);
}
.storefront-template-tasty .catalog-tools .toolbar { width: min(310px, 34vw); margin: 0; }
.storefront-template-tasty .catalog-tools .search { display: flex; align-items: center; gap: 10px; }
.storefront-template-tasty .catalog-tools .search .eyebrow { color: var(--text); font-size: .68rem; }
.storefront-template-tasty .catalog-tools .search input {
    height: 38px;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 24%, transparent);
    border-radius: 0;
    background: transparent;
    color: var(--text);
}
.storefront-template-tasty .catalog-tools .search input:focus { border-bottom-color: var(--primary); outline: 0; }
.storefront-template-tasty .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 58px 38px;
}
.storefront-template-tasty .catalog-product-grid .product-card,
.storefront-template-tasty .catalog-product-grid .product-card:nth-child(even) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.storefront-template-tasty .catalog-product-grid .product-card:hover,
.storefront-template-tasty .catalog-product-grid .product-card:focus-visible,
.storefront-template-tasty .catalog-product-grid .product-card:nth-child(even):hover { border-color: transparent; box-shadow: none; transform: none; }
.storefront-template-tasty .catalog-product-grid .product-image {
    height: auto;
    aspect-ratio: .84;
    background: color-mix(in srgb, var(--surface) 70%, #d9cfbe);
}
.storefront-template-tasty .catalog-product-grid .product-image img { object-fit: cover; transform: none; }
.storefront-template-tasty .catalog-product-grid .product-card:hover .product-image img { transform: scale(1.018); }
.storefront-template-tasty .catalog-product-grid .product-body { position: relative; padding: 17px 0 0; }
.storefront-template-tasty .catalog-product-grid .product-body h3 {
    padding-right: 46px;
    color: var(--text);
    font-family: var(--font-accent), var(--font-heading), serif;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -.01em;
}
.storefront-template-tasty .catalog-product-grid .product-body p {
    min-height: 0;
    margin: 5px 50px 9px 0;
    color: var(--text-light);
    font-size: .78rem;
    line-height: 1.45;
}
.storefront-template-tasty .catalog-product-grid .product-footer { align-items: flex-end; }
.storefront-template-tasty .catalog-product-grid .price { color: var(--text); font-family: var(--font-body), sans-serif; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.storefront-template-tasty .catalog-product-grid .icon-button {
    position: absolute;
    top: 14px;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
    background: transparent;
    color: var(--text);
    opacity: .72;
}
.storefront-template-tasty .catalog-product-grid .icon-button:hover { border-color: var(--primary); background: var(--primary); color: #fff; opacity: 1; }

/* Banner de contacto editorial de Tasty: texto y llamada a la acción junto a la imagen. */
.storefront-template-tasty .tasty-contact-section {
    padding: clamp(76px, 8vw, 124px) 0;
    background:
        radial-gradient(circle at 12% 14%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 28%),
        color-mix(in srgb, var(--secondary) 94%, #050505);
}
.storefront-template-tasty .tasty-contact-banner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    align-items: stretch;
    min-height: 590px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--surface) 18%, transparent);
    border-radius: 0;
    background:
        radial-gradient(circle at 22% 20%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 32%),
        color-mix(in srgb, var(--secondary) 90%, #090909);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    color: var(--surface);
}
.storefront-template-tasty .tasty-contact-banner::before { display: none; }
.storefront-template-tasty .tasty-contact-banner .banner-content {
    max-width: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 7vw, 96px);
}
.storefront-template-tasty .tasty-contact-banner h2 {
    max-width: 560px;
    margin: 0 0 28px;
    font-family: var(--font-accent), var(--font-heading), serif;
    font-size: clamp(3rem, 5.2vw, 5.7rem);
    font-weight: 500;
    line-height: .9;
}
.storefront-template-tasty .tasty-contact-banner p {
    max-width: 520px;
    margin: 0 0 38px;
    color: var(--banner-description-color, rgba(255, 255, 255, .72));
    font-size: 1rem;
    line-height: 1.85;
}
.storefront-template-tasty .tasty-banner-media { min-width: 0; min-height: 590px; overflow: hidden; background: color-mix(in srgb, var(--surface) 8%, var(--secondary)); }
.storefront-template-tasty .tasty-banner-media img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.storefront-template-tasty .tasty-contact-banner:hover .tasty-banner-media img { transform: scale(1.025); }
.storefront-template-tasty .tasty-banner-media-empty {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent),
        color-mix(in srgb, var(--surface) 7%, var(--secondary));
}

/* Controles Liquid Glass exclusivos de la plantilla Tasty. */
.storefront-template-tasty :is(
    .btn,
    .cart-link,
    .menu-toggle,
    .icon-button,
    .filter,
    .quantity button,
    .remove,
    .carousel-arrow,
    .product-modal-close,
    .product-gallery-arrow,
    .modal-quantity button,
    .floating-cart,
    .social-link
) {
    border: 1px solid color-mix(in srgb, var(--surface) 58%, transparent);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 40%, transparent), color-mix(in srgb, var(--surface) 8%, transparent)),
        color-mix(in srgb, var(--primary) 18%, transparent);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 72%, transparent),
        inset 0 -1px 0 color-mix(in srgb, var(--text) 10%, transparent),
        0 9px 28px color-mix(in srgb, var(--secondary) 18%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.storefront-template-tasty :is(
    .btn,
    .cart-link,
    .menu-toggle,
    .icon-button,
    .filter,
    .quantity button,
    .remove,
    .carousel-arrow,
    .product-modal-close,
    .product-gallery-arrow,
    .modal-quantity button,
    .floating-cart,
    .social-link
):hover {
    border-color: color-mix(in srgb, var(--primary) 60%, #fff);
    background:
        linear-gradient(135deg, color-mix(in srgb, #fff 48%, transparent), color-mix(in srgb, var(--surface) 12%, transparent)),
        color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        0 13px 34px color-mix(in srgb, var(--primary) 24%, transparent);
    transform: none;
}
.storefront-template-tasty .hero .btn {
    border-color: color-mix(in srgb, var(--hero-button-color, var(--primary)) 55%, #fff);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .08)),
        color-mix(in srgb, var(--hero-button-color, var(--primary)) 30%, transparent);
    color: var(--hero-button-text-color, #fff);
}
.storefront-template-tasty .tasty-contact-banner .banner-button {
    border-color: color-mix(in srgb, var(--banner-button-color, var(--primary)) 60%, #fff);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .08)),
        color-mix(in srgb, var(--banner-button-color, var(--primary)) 34%, transparent);
    color: var(--banner-button-text-color, #fff);
}
.storefront-template-tasty .filter.active {
    border-color: color-mix(in srgb, var(--primary) 72%, #fff);
    background:
        linear-gradient(135deg, rgba(255,255,255,.4), rgba(255,255,255,.08)),
        color-mix(in srgb, var(--primary) 42%, transparent);
    color: var(--text);
}
.storefront-template-tasty :is(button, .btn, .cart-link, .floating-cart, .social-link):focus-visible {
    outline: 2px solid color-mix(in srgb, var(--primary) 78%, #fff);
    outline-offset: 3px;
}
.storefront-template-tasty :is(button, .btn)[disabled] { cursor: not-allowed; opacity: .48; transform: none; }
.storefront-template-tasty :is(.carousel-dot, .product-thumbnail) {
    border-color: color-mix(in srgb, var(--surface) 62%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 7px 18px rgba(0,0,0,.14);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
}
.storefront-template-tasty .review-rating-star { filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--secondary) 22%, transparent)); }

/* El botón de agregar del catálogo tenía reglas editoriales más específicas.
   Se iguala de forma explícita al Liquid Glass del carrito y permanece fijo al interactuar. */
.storefront-template-tasty .catalog-product-grid .icon-button {
    display: grid;
    place-items: center;
    border-color: color-mix(in srgb, var(--surface) 58%, transparent);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 40%, transparent), color-mix(in srgb, var(--surface) 8%, transparent)),
        color-mix(in srgb, var(--primary) 18%, transparent);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 72%, transparent),
        inset 0 -1px 0 color-mix(in srgb, var(--text) 10%, transparent),
        0 9px 28px color-mix(in srgb, var(--secondary) 18%, transparent);
    line-height: 1;
    opacity: 1;
    -webkit-backdrop-filter: blur(18px) saturate(165%);
    backdrop-filter: blur(18px) saturate(165%);
    transform: none;
}
.storefront-template-tasty .catalog-product-grid .icon-button:hover {
    border-color: color-mix(in srgb, var(--primary) 60%, #fff);
    background:
        linear-gradient(135deg, color-mix(in srgb, #fff 48%, transparent), color-mix(in srgb, var(--surface) 12%, transparent)),
        color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        0 13px 34px color-mix(in srgb, var(--primary) 24%, transparent);
    opacity: 1;
    transform: none;
}

/* Plantilla elegante con navegación vertical: lenguaje editorial propio. */
.storefront-template-elegant-sidebar .sidebar-contact-section {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--secondary) 5%, transparent), transparent 42%),
        var(--background);
}
.storefront-template-elegant-sidebar .sidebar-contact-banner {
    display: grid;
    grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    min-height: 540px;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: var(--secondary);
    box-shadow: 20px 22px 0 color-mix(in srgb, var(--secondary) 7%, transparent);
    color: #fff;
}
.storefront-template-elegant-sidebar .sidebar-contact-banner::before { display: none; }
.storefront-template-elegant-sidebar .sidebar-banner-media { min-width: 0; min-height: 540px; overflow: hidden; background: color-mix(in srgb, var(--secondary) 10%, var(--surface)); }
.storefront-template-elegant-sidebar .sidebar-banner-media img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; filter: saturate(.82) contrast(1.04); transition: filter .4s ease, transform .6s ease; }
.storefront-template-elegant-sidebar .sidebar-contact-banner:hover .sidebar-banner-media img { filter: saturate(1) contrast(1); transform: scale(1.02); }
.storefront-template-elegant-sidebar .sidebar-banner-media-empty { background: linear-gradient(145deg, color-mix(in srgb, var(--secondary) 90%, #000), color-mix(in srgb, var(--primary) 45%, var(--secondary))); }
.storefront-template-elegant-sidebar .sidebar-contact-banner .banner-content {
    position: relative;
    max-width: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: clamp(46px, 7vw, 92px);
    background: var(--secondary);
}
.storefront-template-elegant-sidebar .sidebar-contact-banner .banner-content::before {
    content: '';
    width: 58px;
    height: 3px;
    margin-bottom: 34px;
    background: var(--accent);
}
.storefront-template-elegant-sidebar .sidebar-contact-banner h2 {
    margin: 0 0 24px;
    color: var(--banner-title-color, var(--text));
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: .92;
}
.storefront-template-elegant-sidebar .sidebar-contact-banner p { max-width: 560px; margin: 0 0 36px; color: var(--banner-description-color, var(--text-light)); font-size: 1rem; line-height: 1.75; }

.storefront-template-elegant-sidebar .sidebar-catalog-section { min-height: 100vh; background: color-mix(in srgb, var(--background) 92%, var(--secondary)); }
.storefront-template-elegant-sidebar .sidebar-catalog-container { width: min(calc(100% - 72px), 1320px); }
.storefront-template-elegant-sidebar .sidebar-catalog-heading { max-width: 900px; margin-bottom: 46px; }
.storefront-template-elegant-sidebar .sidebar-catalog-heading h1 { margin-top: 12px; font-size: clamp(3.4rem, 7vw, 7rem); line-height: .86; }
.storefront-template-elegant-sidebar .sidebar-catalog-heading p { max-width: 650px; color: var(--text-light); font-size: 1.02rem; }
.storefront-template-elegant-sidebar .sidebar-catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); align-items: end; gap: 28px; margin-bottom: 42px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.storefront-template-elegant-sidebar .sidebar-catalog-controls .toolbar { margin: 0; }
.storefront-template-elegant-sidebar .sidebar-catalog-controls .search .eyebrow { display: block; margin-bottom: 7px; font-size: .65rem; }
.storefront-template-elegant-sidebar .sidebar-catalog-controls .search input { height: 45px; border-width: 0 0 1px; border-color: var(--text-light); border-radius: 0; background: transparent; }
.storefront-template-elegant-sidebar .product-grid.sidebar-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 28px; }
.storefront-template-elegant-sidebar .sidebar-catalog-grid .product-card { display: grid; grid-template-columns: minmax(150px, .78fr) minmax(0, 1.22fr); min-height: 230px; border-color: color-mix(in srgb, var(--border) 78%, transparent); background: var(--surface); }
.storefront-template-elegant-sidebar .sidebar-catalog-grid .product-image { width: 100%; height: 100%; min-height: 230px; }
.storefront-template-elegant-sidebar .sidebar-catalog-grid .product-body { padding: 27px 24px; }
.storefront-template-elegant-sidebar .sidebar-catalog-grid .product-body h3 { font-size: 1.3rem; }
.storefront-template-elegant-sidebar .sidebar-catalog-grid .product-body p { min-height: 60px; }

/* Botones rectos y precisos, inspirados en la barra lateral. */
.storefront-template-elegant-sidebar :is(.btn, .cart-link, .floating-cart, .icon-button, .filter, .quantity button, .remove, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .social-link, .menu-toggle) {
    border: 1px solid color-mix(in srgb, var(--secondary) 72%, var(--border));
    border-radius: 2px;
    background: var(--secondary);
    color: #fff;
    box-shadow: 4px 4px 0 color-mix(in srgb, var(--accent) 45%, transparent);
    transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.storefront-template-elegant-sidebar :is(.btn, .cart-link, .floating-cart, .icon-button, .filter, .quantity button, .remove, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .social-link, .menu-toggle):hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--secondary) 88%, var(--primary));
    color: #fff;
    box-shadow: 2px 2px 0 var(--accent);
    transform: translate(2px, 2px);
}
.storefront-template-elegant-sidebar .filter.active { border-color: var(--accent); background: var(--secondary); color: #fff; box-shadow: 4px 4px 0 var(--accent); }
.storefront-template-elegant-sidebar .hero .btn { background: color-mix(in srgb, var(--hero-button-color, var(--secondary)) 82%, var(--secondary)); color: var(--hero-button-text-color, #fff); }
.storefront-template-elegant-sidebar .sidebar-contact-banner .banner-button { background: color-mix(in srgb, var(--banner-button-color, var(--secondary)) 82%, var(--secondary)); color: var(--banner-button-text-color, #fff); }
.storefront-template-elegant-sidebar :is(button, .btn, .social-link):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Conserva la navegación lateral y la lógica del storefront. */
@media (min-width: 761px) {
    body.storefront-template-elegant-sidebar {
        --sidebar-width: 272px;
        --container: 1240px;
    }
    .storefront-template-elegant-sidebar .site-header {
        inset: 0 auto 0 0;
        width: var(--sidebar-width);
        height: 100vh;
        border-right: 1px solid color-mix(in srgb, var(--border) 58%, transparent);
        border-bottom: 0;
        background: var(--secondary);
        color: #fff;
        box-shadow: 18px 0 55px rgba(15, 23, 42, .08);
    }
    .storefront-template-elegant-sidebar .navbar {
        width: 100%;
        height: 100%;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 42px 30px 30px;
    }
    .storefront-template-elegant-sidebar .brand {
        display: block;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }
    .storefront-template-elegant-sidebar .brand-name {
        min-width: 0;
        min-height: 0;
        justify-content: flex-start;
        padding: 0;
        background: transparent;
        color: #fff;
        font-size: 1.55rem;
        font-weight: 600;
        letter-spacing: .15em;
    }
    .storefront-template-elegant-sidebar .nav-links {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        margin-top: 40px;
    }
    .storefront-template-elegant-sidebar .nav-link {
        position: relative;
        padding: 14px 0 14px 22px;
        color: rgba(255, 255, 255, .62);
        font-size: .82rem;
        font-weight: 650;
        letter-spacing: .12em;
        text-transform: uppercase;
        transition: color .2s, transform .2s;
    }
    .storefront-template-elegant-sidebar .nav-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 7px;
        height: 1px;
        background: currentColor;
        transition: width .2s;
    }
    .storefront-template-elegant-sidebar .nav-link:hover,
    .storefront-template-elegant-sidebar .nav-link.active {
        color: #fff;
        transform: translateX(4px);
    }
    .storefront-template-elegant-sidebar .nav-link.active::before { width: 13px; background: var(--accent); }
    .storefront-template-elegant-sidebar .nav-actions {
        margin-top: auto;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }
    .storefront-template-elegant-sidebar .cart-link {
        width: 100%;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 17px;
        border-color: rgba(255, 255, 255, .18);
        border-radius: 0;
        background: rgba(255, 255, 255, .06);
        color: #fff;
        font-size: .83rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .storefront-template-elegant-sidebar .cart-badge {
        position: static;
        min-width: 25px;
        background: var(--accent);
    }
    .storefront-template-elegant-sidebar main,
    .storefront-template-elegant-sidebar .site-footer {
        margin-left: var(--sidebar-width);
    }
    .storefront-template-elegant-sidebar main { padding-top: 0; }
    .storefront-template-elegant-sidebar .hero {
        min-height: 100vh;
        place-items: center start;
        border-width: 0 0 1px;
    }
    .storefront-template-elegant-sidebar .hero-content {
        width: min(calc(100% - 96px), 850px);
        max-width: none;
        margin: 0;
        padding: 110px 0 110px clamp(58px, 7vw, 120px);
        text-align: left;
    }
    .storefront-template-elegant-sidebar .hero h1 {
        max-width: 820px;
        margin: 20px 0 28px;
        font-size: clamp(4rem, 7vw, 7.5rem);
        font-weight: 600;
        letter-spacing: -.045em;
        line-height: .9;
    }
    .storefront-template-elegant-sidebar .hero p {
        max-width: 560px;
        margin: 0 0 38px;
        font-size: 1.08rem;
    }
    .storefront-template-elegant-sidebar .eyebrow { letter-spacing: .22em; }
    .storefront-template-elegant-sidebar .btn,
    .storefront-template-elegant-sidebar .filter,
    .storefront-template-elegant-sidebar .search input,
    .storefront-template-elegant-sidebar .social-link {
        border-radius: 2px;
    }
    .storefront-template-elegant-sidebar .section { padding: 108px 0; }
    .storefront-template-elegant-sidebar .section-heading h1,
    .storefront-template-elegant-sidebar .section-heading h2 {
        font-weight: 600;
        letter-spacing: -.035em;
    }
    .storefront-template-elegant-sidebar .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .storefront-template-elegant-sidebar .product-card,
    .storefront-template-elegant-sidebar .cart-list,
    .storefront-template-elegant-sidebar .summary-card,
    .storefront-template-elegant-sidebar .info-card,
    .storefront-template-elegant-sidebar .review-card,
    .storefront-template-elegant-sidebar .review-form-card {
        border-radius: 2px;
        box-shadow: none;
    }
    .storefront-template-elegant-sidebar .product-card { transition: transform .25s, border-color .25s; }
    .storefront-template-elegant-sidebar .product-card:hover { border-color: var(--text-light); transform: translateY(-5px); }
    .storefront-template-elegant-sidebar .product-image { height: 300px; }
    .storefront-template-elegant-sidebar .category-card,
    .storefront-template-elegant-sidebar .banner,
    .storefront-template-elegant-sidebar .map { border-radius: 2px; }
    .storefront-template-elegant-sidebar .floating-cart { display: none; }
    .storefront-template-elegant-sidebar .toast { left: calc(var(--sidebar-width) + 22px); right: auto; }
    .storefront-template-elegant-sidebar .site-footer { padding-top: 80px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
    body.storefront-template-elegant-sidebar { --sidebar-width: 224px; }
    .storefront-template-elegant-sidebar .navbar { padding-right: 24px; padding-left: 24px; }
    .storefront-template-elegant-sidebar .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .storefront-template-elegant-sidebar .hero-content { width: min(calc(100% - 56px), 760px); padding-left: 48px; }
}

/* Bento Pop: bloques modulares, contornos marcados y sombras físicas. */
.storefront-template-bento-pop { --bento-ink: #111; --container: 1320px; background-color: var(--background); background-image: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1px); background-size: 22px 22px; }
.storefront-template-bento-pop .site-header { inset: 16px 20px auto; width: auto; height: 70px; border: 2px solid var(--bento-ink); border-radius: 18px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 6px 6px 0 var(--bento-ink); backdrop-filter: blur(12px); }
.storefront-template-bento-pop .brand-name { border: 2px solid var(--bento-ink); border-radius: 10px; background: var(--primary); color: #fff; box-shadow: 3px 3px 0 var(--bento-ink); }
.storefront-template-bento-pop .nav-link { color: var(--text); font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.storefront-template-bento-pop .nav-link:hover, .storefront-template-bento-pop .nav-link.active { color: var(--primary); }
.storefront-template-bento-pop main { padding-top: 102px; }
.storefront-template-bento-pop .bento-hero { min-height: 720px; display: block; padding: 34px 0 74px; border: 0; background: transparent; color: var(--text); }
.storefront-template-bento-pop .bento-hero-grid { position: relative; min-height: 610px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 145px; gap: 20px; }
.storefront-template-bento-pop .bento-hero-copy { grid-column: 1 / 8; grid-row: 1 / 3; width: auto; max-width: none; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 86px); border: 3px solid var(--bento-ink); border-radius: 26px; background: var(--secondary); box-shadow: 10px 10px 0 var(--bento-ink); text-align: left; text-shadow: none; }
.storefront-template-bento-pop .bento-hero-copy h1 { max-width: 760px; margin: 18px 0 25px; color: var(--hero-title-color, #fff); font-size: clamp(4rem, 7vw, 7.3rem); font-weight: 900; letter-spacing: -.065em; line-height: .78; }
.storefront-template-bento-pop .bento-hero-copy p { max-width: 550px; margin: 0 0 36px; color: var(--hero-description-color, #fff); font-size: 1.05rem; }
.storefront-template-bento-pop .bento-hero-image { grid-column: 8 / 13; grid-row: 1 / 2; border: 3px solid var(--bento-ink); border-radius: 26px; background-color: var(--accent); background-position: center; background-size: cover; box-shadow: 10px 10px 0 var(--bento-ink); }
.storefront-template-bento-pop .bento-hero-note { grid-column: 8 / 13; grid-row: 2 / 3; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px; border: 3px solid var(--bento-ink); border-radius: 26px; background: var(--accent); color: var(--bento-ink); box-shadow: 10px 10px 0 var(--bento-ink); text-transform: uppercase; }
.storefront-template-bento-pop .bento-hero-note strong { font-size: 3.4rem; line-height: 1; }
.storefront-template-bento-pop .bento-hero-note span { max-width: 150px; font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.storefront-template-bento-pop .bento-spark { position: absolute; z-index: 2; display: grid; place-items: center; border: 3px solid var(--bento-ink); border-radius: 50%; color: var(--bento-ink); box-shadow: 4px 4px 0 var(--bento-ink); }
.storefront-template-bento-pop .bento-spark-one { top: -22px; right: -15px; width: 74px; height: 74px; background: var(--primary); color: #fff; font-size: 2rem; transform: rotate(12deg); }
.storefront-template-bento-pop .bento-spark-two { right: 38%; bottom: -22px; width: 54px; height: 54px; background: var(--surface); }
.storefront-template-bento-pop .section { padding: 90px 0; }
.storefront-template-bento-pop .section-soft { background: color-mix(in srgb, var(--primary) 8%, var(--background)); }
.storefront-template-bento-pop .section-heading h1, .storefront-template-bento-pop .section-heading h2 { font-weight: 900; letter-spacing: -.05em; }
.storefront-template-bento-pop .category-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.storefront-template-bento-pop .category-card { min-height: 300px; border: 3px solid var(--bento-ink); border-radius: 22px; box-shadow: 7px 7px 0 var(--bento-ink); }
.storefront-template-bento-pop .category-card:nth-child(3n + 2) { transform: rotate(1deg); }
.storefront-template-bento-pop .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 24px; }
.storefront-template-bento-pop :is(.product-card, .review-card, .info-card, .review-form-card, .summary-card, .cart-list, .reservation-layout) { border: 3px solid var(--bento-ink); border-radius: 22px; box-shadow: 7px 7px 0 var(--bento-ink); }
.storefront-template-bento-pop .product-card:hover { border-color: var(--bento-ink); box-shadow: 3px 3px 0 var(--bento-ink); transform: translate(4px, 4px); }
.storefront-template-bento-pop .product-image { height: 245px; }
.storefront-template-bento-pop .product-body { padding: 21px; }
.storefront-template-bento-pop .product-body h3 { font-size: 1.25rem; font-weight: 900; }
.storefront-template-bento-pop .bento-contact-section { overflow: hidden; }
.storefront-template-bento-pop .bento-contact-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(30px, 6vw, 80px); min-height: 540px; padding: clamp(42px, 6vw, 82px); overflow: visible; border: 3px solid var(--bento-ink); border-radius: 28px; background: var(--primary); box-shadow: 11px 11px 0 var(--bento-ink); }
.storefront-template-bento-pop .bento-contact-banner::before { display: none; }
.storefront-template-bento-pop .bento-contact-banner .banner-content { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; max-width: none; }
.storefront-template-bento-pop .bento-contact-banner h2 { margin: 0 0 24px; font-size: clamp(3.4rem, 6vw, 6.3rem); font-weight: 900; letter-spacing: -.065em; line-height: .78; }
.storefront-template-bento-pop .bento-contact-banner p { max-width: 570px; margin: 0 0 34px; font-size: 1.05rem; line-height: 1.65; }
.storefront-template-bento-pop .bento-banner-media { min-width: 0; min-height: 400px; overflow: hidden; border: 3px solid var(--bento-ink); border-radius: 18px; background: var(--accent); box-shadow: 8px 8px 0 var(--bento-ink); transform: rotate(2deg); }
.storefront-template-bento-pop .bento-banner-media img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.storefront-template-bento-pop .bento-banner-media-empty { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--primary) 50%, #fff)); }
.storefront-template-bento-pop .bento-banner-star { position: absolute; top: -27px; left: 42%; font-size: 3.6rem; color: var(--accent); -webkit-text-stroke: 2px var(--bento-ink); transform: rotate(-12deg); }
.storefront-template-bento-pop .bento-banner-label { position: absolute; right: -28px; bottom: 42px; padding: 10px 18px; border: 3px solid var(--bento-ink); border-radius: 99px; background: var(--accent); color: var(--bento-ink); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-7deg); }
.storefront-template-bento-pop .bento-catalog-section { min-height: 100vh; }
.storefront-template-bento-pop .bento-catalog-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 28px; margin-bottom: 28px; }
.storefront-template-bento-pop .bento-catalog-heading, .storefront-template-bento-pop .bento-catalog-intro .toolbar { margin: 0; padding: 34px; border: 3px solid var(--bento-ink); border-radius: 22px; background: var(--surface); box-shadow: 7px 7px 0 var(--bento-ink); }
.storefront-template-bento-pop .bento-catalog-heading h1 { font-size: clamp(3.2rem, 6vw, 6rem); }
.storefront-template-bento-pop .bento-catalog-intro .toolbar { display: flex; align-items: center; }
.storefront-template-bento-pop .bento-catalog-intro .search input { margin-top: 9px; border: 2px solid var(--bento-ink); border-radius: 10px; }
.storefront-template-bento-pop .bento-filters { margin: 0 0 30px; padding: 18px; border: 3px solid var(--bento-ink); border-radius: 18px; background: var(--accent); box-shadow: 6px 6px 0 var(--bento-ink); }
.storefront-template-bento-pop .product-grid.bento-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) { grid-column: span 2; display: grid; grid-template-columns: minmax(240px, 1.1fr) minmax(0, .9fr); }
.storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) .product-image { width: 100%; height: 100%; min-height: 320px; }
.storefront-template-bento-pop :is(.btn, .cart-link, .menu-toggle, .icon-button, .filter, .quantity button, .remove, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .floating-cart, .social-link) { border: 2px solid var(--bento-ink); border-radius: 10px; background: var(--primary); color: #fff; box-shadow: 4px 4px 0 var(--bento-ink); font-weight: 900; transition: box-shadow .16s ease, transform .16s ease, filter .16s ease; }
.storefront-template-bento-pop :is(.btn, .cart-link, .menu-toggle, .icon-button, .filter, .quantity button, .remove, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .floating-cart, .social-link):hover { filter: brightness(1.06); box-shadow: 1px 1px 0 var(--bento-ink); transform: translate(3px, 3px); }
.storefront-template-bento-pop .filter { background: var(--surface); color: var(--text); }
.storefront-template-bento-pop .filter.active { background: var(--secondary); color: #fff; }
.storefront-template-bento-pop .hero .btn { background: var(--hero-button-color, var(--primary)); color: var(--hero-button-text-color, #fff); }
.storefront-template-bento-pop .bento-contact-banner .banner-button { background: var(--banner-button-color, var(--secondary)); color: var(--banner-button-text-color, #fff); }
.storefront-template-bento-pop :is(button, .btn, .cart-link, .floating-cart, .social-link):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.storefront-template-bento-pop .site-footer { border-top: 3px solid var(--bento-ink); background: var(--secondary); }

/* Boutique suave: composición refinada, aireada y de tonos empolvados. */
.storefront-template-soft-boutique {
    --boutique-rose: color-mix(in srgb, var(--primary) 30%, #955064);
    --boutique-blush: color-mix(in srgb, var(--surface) 74%, #f3dfe1);
    --boutique-ink: color-mix(in srgb, var(--text) 84%, #4a3035);
    --container: 1280px;
    background: color-mix(in srgb, var(--background) 96%, #fff8f8);
}
.storefront-template-soft-boutique .site-header { height: 76px; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 12px 35px rgba(91,57,65,.05); backdrop-filter: blur(14px); }
.storefront-template-soft-boutique .brand-name { min-width: 0; padding: 0; background: transparent; color: var(--boutique-ink); font-family: var(--font-accent), var(--font-heading), serif; font-size: 1.55rem; font-weight: 500; letter-spacing: .03em; }
.storefront-template-soft-boutique .nav-links { gap: 31px; }
.storefront-template-soft-boutique .nav-link { color: color-mix(in srgb, var(--boutique-ink) 62%, transparent); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.storefront-template-soft-boutique .nav-link:hover, .storefront-template-soft-boutique .nav-link.active { color: var(--boutique-rose); }
.storefront-template-soft-boutique main { padding-top: 76px; }
.storefront-template-soft-boutique .boutique-hero-shell { padding: 24px 0 70px; }
.storefront-template-soft-boutique .boutique-hero { min-height: 600px; border: 0; border-radius: 0; background-position: center; }
.storefront-template-soft-boutique .boutique-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(55,34,40,.18), rgba(55,34,40,.04) 62%, rgba(55,34,40,.16)); }
.storefront-template-soft-boutique .boutique-hero-content { max-width: 690px; padding: 100px 35px; text-shadow: 0 2px 15px rgba(42,25,31,.28); }
.storefront-template-soft-boutique .boutique-hero-content .eyebrow { color: var(--hero-eyebrow-color, #fff); font-size: .72rem; letter-spacing: .2em; }
.storefront-template-soft-boutique .boutique-hero-content h1 { margin: 14px 0 28px; color: var(--hero-title-color, #fff); font-size: clamp(3.5rem, 6.5vw, 6.8rem); font-weight: 500; letter-spacing: -.035em; line-height: .88; }
.storefront-template-soft-boutique .boutique-hero-description { padding: 27px clamp(22px, 5vw, 70px); border-radius: 0 0 18px 18px; background: var(--boutique-blush); text-align: center; }
.storefront-template-soft-boutique .boutique-hero-description p { max-width: 980px; margin: 0 auto; color: var(--boutique-ink); font-size: 1rem; line-height: 1.65; }
.storefront-template-soft-boutique .section { padding: 94px 0; }
.storefront-template-soft-boutique .section-soft { background: transparent; }
.storefront-template-soft-boutique .section-heading h1, .storefront-template-soft-boutique .section-heading h2 { color: var(--boutique-ink); font-size: clamp(2.7rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.035em; }
.storefront-template-soft-boutique .eyebrow { color: var(--boutique-rose); font-size: .7rem; letter-spacing: .19em; }
.storefront-template-soft-boutique .category-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.storefront-template-soft-boutique .category-card { min-height: 310px; border-radius: 12px; box-shadow: none; }
.storefront-template-soft-boutique .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; gap: 16px; }
.storefront-template-soft-boutique .product-card { border: 0; border-radius: 13px; background: color-mix(in srgb, var(--surface) 84%, var(--boutique-blush)); box-shadow: none; }
.storefront-template-soft-boutique .product-card:hover { border-color: transparent; box-shadow: 0 18px 42px rgba(91,57,65,.14); transform: translateY(-5px); }
.storefront-template-soft-boutique .product-image { height: 300px; }
.storefront-template-soft-boutique .product-body { padding: 18px 17px 20px; }
.storefront-template-soft-boutique .product-body h3 { color: var(--boutique-ink); font-size: 1.1rem; font-weight: 500; }
.storefront-template-soft-boutique .product-body p { color: color-mix(in srgb, var(--boutique-ink) 62%, transparent); }
.storefront-template-soft-boutique .price { color: var(--boutique-rose); font-weight: 700; }
.storefront-template-soft-boutique .boutique-contact-section { background: var(--boutique-blush); }
.storefront-template-soft-boutique .boutique-contact-banner { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); align-items: stretch; min-height: 520px; padding: 0; border-radius: 16px; background: var(--boutique-rose); color: #fff; box-shadow: 0 24px 60px rgba(91,57,65,.1); }
.storefront-template-soft-boutique .boutique-contact-banner::before { display: none; }
.storefront-template-soft-boutique .boutique-banner-media { min-width: 0; min-height: 520px; overflow: hidden; border-radius: 16px 0 0 16px; background: var(--boutique-rose); }
.storefront-template-soft-boutique .boutique-banner-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.storefront-template-soft-boutique .boutique-banner-media-empty { background: linear-gradient(145deg, var(--boutique-blush), var(--boutique-rose)); }
.storefront-template-soft-boutique .boutique-contact-banner .banner-content { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; max-width: none; padding: clamp(48px, 7vw, 90px); background: var(--boutique-rose); }
.storefront-template-soft-boutique .boutique-contact-banner h2 { margin: 0 0 24px; color: var(--banner-title-color, var(--boutique-ink)); font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 500; letter-spacing: -.04em; line-height: .9; }
.storefront-template-soft-boutique .boutique-contact-banner p { margin: 0 0 35px; color: var(--banner-description-color, var(--boutique-ink)); line-height: 1.75; }
.storefront-template-soft-boutique .boutique-catalog-section { min-height: 100vh; padding-top: 78px; }
.storefront-template-soft-boutique .boutique-catalog-heading { max-width: 760px; margin-bottom: 42px; }
.storefront-template-soft-boutique .boutique-catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: end; gap: 30px; margin-bottom: 30px; padding: 25px 28px; border-radius: 14px; background: var(--boutique-rose); }
.storefront-template-soft-boutique .boutique-catalog-tools .toolbar { margin: 0; }
.storefront-template-soft-boutique .boutique-catalog-tools .eyebrow { color: #fff; }
.storefront-template-soft-boutique .boutique-catalog-tools .search input { margin-top: 7px; border: 0; border-radius: 8px; background: rgba(255,255,255,.92); }
.storefront-template-soft-boutique .boutique-catalog-tools .filters { gap: 10px; }
.storefront-template-soft-boutique .boutique-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.storefront-template-soft-boutique :is(.btn, .cart-link, .menu-toggle, .icon-button, .filter, .quantity button, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .social-link) { border: 1px solid color-mix(in srgb, var(--boutique-rose) 45%, transparent); border-radius: 7px; background: var(--boutique-blush); color: var(--boutique-ink); box-shadow: none; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.storefront-template-soft-boutique :is(.btn, .cart-link, .menu-toggle, .icon-button, .filter, .quantity button, .carousel-arrow, .product-modal-close, .product-gallery-arrow, .modal-quantity button, .social-link):hover { background: var(--boutique-rose); color: #fff; box-shadow: 0 9px 24px rgba(91,57,65,.15); transform: translateY(-2px); }
.storefront-template-soft-boutique .filter.active { border-color: #fff; background: #fff; color: var(--boutique-rose); }
.storefront-template-soft-boutique .hero .btn { background: var(--hero-button-color, var(--boutique-blush)); color: var(--hero-button-text-color, var(--boutique-ink)); }
.storefront-template-soft-boutique .boutique-contact-banner .banner-button { background: var(--banner-button-color, var(--boutique-blush)); color: var(--banner-button-text-color, var(--boutique-ink)); }
.storefront-template-soft-boutique .review-card, .storefront-template-soft-boutique .review-form-card, .storefront-template-soft-boutique .info-card, .storefront-template-soft-boutique .reservation-layout { border: 0; border-radius: 14px; box-shadow: 0 20px 50px rgba(91,57,65,.09); }
.storefront-template-soft-boutique .site-footer { background: var(--boutique-rose); }

@media (max-width: 1000px) {
    .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { grid-template-columns: 1fr .65fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .storefront-gallery, .storefront-template-tasty .storefront-gallery { grid-template-columns: repeat(2, 1fr); }
    .storefront-template-tasty .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .storefront-template-tasty .catalog-product-grid { gap: 46px 24px; }
    .storefront-template-bento-pop .product-grid,
    .storefront-template-bento-pop .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .storefront-template-soft-boutique .product-grid,
    .storefront-template-soft-boutique .category-grid,
    .storefront-template-soft-boutique .boutique-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 62px 0; }
    .menu-toggle { display: grid; }
    .nav-links { position: fixed; inset: var(--header-height) 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; background: var(--surface); transform: translateX(100%); transition: transform .25s; }
    .nav-links.open { transform: none; }
    .nav-link { padding: 16px; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
    .nav-actions .cart-link { display: none; }
    .hero { min-height: 620px; }
    .hero-content { text-align: left; }
    .hero p { margin-left: 0; }
    .section-heading { align-items: start; flex-direction: column; }
    .cart-layout, .contact-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .map { min-height: 360px; }
    .footer-grid { grid-template-columns: 1fr; }
    .floating-cart { bottom: 14px; left: 14px; }
    .toast { top: calc(var(--header-height) + 14px); right: 14px; bottom: auto; left: 14px; text-align: center; }
    .cart-item { grid-template-columns: 78px 1fr; }
    .cart-item img { width: 78px; height: 78px; }
    .cart-item-price { grid-column: 2; }
    .banner { padding: 34px 25px; }
    .review-form-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
    .reservation-layout, .reservation-form { grid-template-columns: 1fr; }
    .reservation-notes, .reservation-form .btn { grid-column: auto; }
    .storefront-template-tasty .site-header { height: var(--header-height); }
    .storefront-template-tasty main { padding-top: var(--header-height); }
    .storefront-template-tasty .nav-links { background: color-mix(in srgb, var(--surface) 90%, #eadbc6); }
    .storefront-template-tasty .nav-link { color: var(--text); }
    .storefront-template-tasty .catalog-section { padding: 38px 0 72px; }
    .storefront-template-tasty .catalog-container { width: min(calc(100% - 30px), 1380px); }
    .storefront-template-tasty .catalog-tools { align-items: stretch; flex-direction: column-reverse; gap: 18px; }
    .storefront-template-tasty .catalog-tools .toolbar { width: 100%; }
    .storefront-template-tasty .catalog-tools .filters { gap: 18px; }
    .storefront-template-tasty .catalog-heading h1 { font-size: clamp(2.25rem, 11vw, 3.45rem); }
    .storefront-template-tasty .product-card:nth-child(even), .storefront-template-tasty .product-card:nth-child(even):hover { transform: none; }
    .storefront-template-tasty .tasty-contact-section { padding: 58px 0; }
    .storefront-template-tasty .tasty-contact-banner { grid-template-columns: 1fr; min-height: 0; }
    .storefront-template-tasty .tasty-contact-banner .banner-content { padding: 48px 30px; }
    .storefront-template-tasty .tasty-contact-banner h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
    .storefront-template-tasty .tasty-banner-media,
    .storefront-template-tasty .tasty-banner-media img { min-height: 420px; }
    .storefront-template-elegant-sidebar .sidebar-contact-section { padding: 58px 0; }
    .storefront-template-elegant-sidebar .sidebar-contact-banner { grid-template-columns: 1fr; min-height: 0; overflow: hidden; box-shadow: 10px 12px 0 color-mix(in srgb, var(--secondary) 7%, transparent); }
    .storefront-template-elegant-sidebar .sidebar-banner-media,
    .storefront-template-elegant-sidebar .sidebar-banner-media img { min-height: 390px; }
    .storefront-template-elegant-sidebar .sidebar-contact-banner .banner-content { padding: 48px 30px; }
    .storefront-template-elegant-sidebar .sidebar-catalog-section { padding: 62px 0; }
    .storefront-template-elegant-sidebar .sidebar-catalog-container { width: min(calc(100% - 30px), 1320px); }
    .storefront-template-elegant-sidebar .sidebar-catalog-controls { grid-template-columns: 1fr; align-items: stretch; }
    .storefront-template-elegant-sidebar .product-grid.sidebar-catalog-grid { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .site-header { inset: 10px 12px auto; height: 68px; border-radius: 14px; }
    .storefront-template-bento-pop main { padding-top: 92px; }
    .storefront-template-bento-pop .nav-links { inset: 90px 12px 12px; padding: 18px; border: 2px solid var(--bento-ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--bento-ink); }
    .storefront-template-bento-pop .bento-hero { min-height: 0; padding: 24px 0 58px; }
    .storefront-template-bento-pop .bento-hero-grid { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; }
    .storefront-template-bento-pop .bento-hero-copy,
    .storefront-template-bento-pop .bento-hero-image,
    .storefront-template-bento-pop .bento-hero-note { grid-column: 1; grid-row: auto; }
    .storefront-template-bento-pop .bento-hero-copy { min-height: 500px; padding: 48px 30px; }
    .storefront-template-bento-pop .bento-hero-copy h1 { font-size: clamp(3.6rem, 15vw, 6rem); }
    .storefront-template-bento-pop .bento-hero-image { min-height: 400px; }
    .storefront-template-bento-pop .bento-hero-note { min-height: 130px; }
    .storefront-template-bento-pop .bento-spark-one { top: -15px; right: -7px; }
    .storefront-template-bento-pop .bento-spark-two { display: none; }
    .storefront-template-bento-pop .bento-contact-banner { grid-template-columns: 1fr; gap: 34px; padding: 42px 28px; }
    .storefront-template-bento-pop .bento-banner-media,
    .storefront-template-bento-pop .bento-banner-media img { min-height: 340px; }
    .storefront-template-bento-pop .bento-banner-star { left: auto; right: 22px; }
    .storefront-template-bento-pop .bento-banner-label { right: -8px; bottom: 24px; }
    .storefront-template-bento-pop .bento-catalog-intro { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .product-grid.bento-catalog-grid { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) { grid-column: auto; display: flex; }
    .storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) .product-image { height: 245px; min-height: 0; }
    .storefront-template-soft-boutique .site-header { height: var(--header-height); }
    .storefront-template-soft-boutique main { padding-top: var(--header-height); }
    .storefront-template-soft-boutique .nav-links { background: rgba(255,255,255,.98); }
    .storefront-template-soft-boutique .boutique-hero-shell { padding: 14px 0 52px; }
    .storefront-template-soft-boutique .boutique-hero { min-height: 580px; }
    .storefront-template-soft-boutique .boutique-hero-content { padding: 80px 25px; text-align: center; }
    .storefront-template-soft-boutique .boutique-hero-content h1 { font-size: clamp(3.25rem, 14vw, 5.2rem); }
    .storefront-template-soft-boutique .boutique-contact-banner { grid-template-columns: 1fr; min-height: 0; }
    .storefront-template-soft-boutique .boutique-banner-media,
    .storefront-template-soft-boutique .boutique-banner-media img { min-height: 380px; border-radius: 16px 16px 0 0; }
    .storefront-template-soft-boutique .boutique-contact-banner .banner-content { padding: 48px 30px; }
    .storefront-template-soft-boutique .boutique-catalog-tools { grid-template-columns: 1fr; align-items: stretch; }
    .review-form-fields { grid-template-columns: 1fr; }
    .review-message-field { grid-column: auto; }
    .review-form-footer { align-items: stretch; flex-direction: column; }
    .review-form-footer .btn { width: 100%; }
    .product-modal-backdrop { align-items: end; padding: 10px; }
    .product-modal { max-height: 92vh; border-radius: 22px 22px 10px 10px; }
    .product-modal-grid { grid-template-columns: 1fr; }
    .product-gallery { padding: 12px; }
    .product-gallery-stage { height: min(48vh, 360px); }
    .product-modal-content { padding: 28px 22px 26px; }
    .product-modal-content h2 { font-size: 2rem; }
    .product-purchase-options { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .reviews-carousel { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
    .reviews-track { display: block; padding: 18px 4px; }
    .review-card.is-side { display: none; }
    .review-card.is-active { min-height: 245px; transform: none; }
    .carousel-arrow { width: 40px; height: 40px; }
}
@media (max-width: 520px) {
    .product-grid, .category-grid { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .product-grid,
    .storefront-template-bento-pop .category-grid { grid-template-columns: 1fr; }
    .storefront-template-soft-boutique .product-grid,
    .storefront-template-soft-boutique .category-grid,
    .storefront-template-soft-boutique .boutique-catalog-grid { grid-template-columns: 1fr; }
    .product-card { display: grid; grid-template-columns: 105px 1fr; }
    .product-image { width: 105px; height: 100%; min-height: 150px; }
    .product-body p { min-height: 0; }
    .category-card { min-height: 190px; }
    .hero h1 { font-size: 3.2rem; }
    .storefront-gallery, .storefront-template-tasty .storefront-gallery { grid-template-columns: 1fr; }
    .storefront-template-tasty .storefront-gallery figure:nth-child(3n + 1) { grid-row: auto; }
    .storefront-template-tasty .storefront-gallery figure:nth-child(3n + 1) img { min-height: 290px; }
    .storefront-template-tasty .hero h1 { font-size: 4rem; }
    .storefront-template-tasty .catalog-product-grid { grid-template-columns: 1fr; gap: 42px; }
    .storefront-template-tasty .catalog-product-grid .product-card { display: flex; }
    .storefront-template-tasty .catalog-product-grid .product-image { width: 100%; height: auto; min-height: 0; aspect-ratio: .94; }
    .storefront-template-tasty .tasty-contact-banner .banner-content { padding: 40px 23px; }
    .storefront-template-tasty .tasty-banner-media,
    .storefront-template-tasty .tasty-banner-media img { min-height: 330px; }
    .storefront-template-elegant-sidebar .sidebar-banner-media,
    .storefront-template-elegant-sidebar .sidebar-banner-media img { min-height: 310px; }
    .storefront-template-elegant-sidebar .sidebar-contact-banner .banner-content { padding: 40px 23px; }
    .storefront-template-elegant-sidebar .sidebar-catalog-grid .product-card { grid-template-columns: 118px minmax(0, 1fr); min-height: 190px; }
    .storefront-template-elegant-sidebar .sidebar-catalog-grid .product-image { min-height: 190px; }
    .storefront-template-elegant-sidebar .sidebar-catalog-grid .product-body { padding: 20px 17px; }
    .storefront-template-elegant-sidebar .sidebar-catalog-grid .product-body p { min-height: 0; }
    .storefront-template-bento-pop .site-header { inset: 10px 12px auto; height: 68px; border-radius: 14px; }
    .storefront-template-bento-pop main { padding-top: 92px; }
    .storefront-template-bento-pop .nav-links { inset: 90px 12px 12px; padding: 18px; border: 2px solid var(--bento-ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--bento-ink); }
    .storefront-template-bento-pop .bento-hero { min-height: 0; padding: 24px 0 58px; }
    .storefront-template-bento-pop .bento-hero-grid { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; }
    .storefront-template-bento-pop .bento-hero-copy,
    .storefront-template-bento-pop .bento-hero-image,
    .storefront-template-bento-pop .bento-hero-note { grid-column: 1; grid-row: auto; }
    .storefront-template-bento-pop .bento-hero-copy { min-height: 530px; padding: 48px 30px; }
    .storefront-template-bento-pop .bento-hero-copy h1 { font-size: clamp(3.6rem, 15vw, 6rem); }
    .storefront-template-bento-pop .bento-hero-image { min-height: 420px; }
    .storefront-template-bento-pop .bento-hero-note { min-height: 130px; }
    .storefront-template-bento-pop .bento-spark-one { top: -15px; right: -7px; }
    .storefront-template-bento-pop .bento-spark-two { display: none; }
    .storefront-template-bento-pop .bento-contact-banner { grid-template-columns: 1fr; gap: 34px; padding: 42px 28px; }
    .storefront-template-bento-pop .bento-banner-media,
    .storefront-template-bento-pop .bento-banner-media img { min-height: 340px; }
    .storefront-template-bento-pop .bento-banner-star { left: auto; right: 22px; }
    .storefront-template-bento-pop .bento-banner-label { right: -8px; bottom: 24px; }
    .storefront-template-bento-pop .bento-catalog-intro { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .product-grid.bento-catalog-grid { grid-template-columns: 1fr; }
    .storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) { grid-column: auto; display: flex; }
    .storefront-template-bento-pop .bento-catalog-grid .product-card:nth-child(5n + 1) .product-image { height: 245px; min-height: 0; }
    .floating-cart { right: 14px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
