* {
    box-sizing: border-box;
}

:root {
    --brand-red: #d90429;
    --brand-deep: #2b2d42;
    --brand-dark: #111111;
    --surface: rgba(255, 255, 255, 0.94);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #1f1f1f;
    position: relative;
}

body.cart-open {
    overflow: hidden;
}
body.page-ready .hero-overlay {
    animation: heroFadeUp 0.55s ease both;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(245, 245, 245, 0.78), rgba(245, 245, 245, 0.84)),
        url("img/logotipo.png") center center / min(82vw, 880px) no-repeat;
    opacity: 0.78;
    pointer-events: none;
    z-index: -1;
}

.header {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-deep));
    color: #ffffff;
    text-align: center;
    padding: 18px 16px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.admin-link {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.admin-link:hover,
.admin-link:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-overlay {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 22px 20px;
    border-radius: 24px;
    background: rgba(17, 17, 17, 0.18);
    backdrop-filter: blur(2px);
    display: grid;
    justify-items: center;
}

.brand-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.brand-logo {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.header h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

.header p {
    margin: 8px 0 0;
    opacity: 0.9;
    text-align: center;
}

main {
    position: relative;
    z-index: 1;
    padding-bottom: 28px;
}

.ticker-wrap,
.highlight-section,
.info-hub,
.site-footer,
.search-empty,
.admin-page {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ticker-wrap {
    padding: 0 14px;
}

.ticker-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(99, 48, 128, 0.96), rgba(43, 45, 66, 0.96));
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}
.ticker-wrap-top {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 0;
    white-space: nowrap;
    will-change: transform;
    animation: tickerFlow 22s linear infinite;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}



.section-kicker,
.contacto-label {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


.highlight-section {
    padding: 0 14px;
    margin-top: 18px;
}

.section-heading {
    margin-bottom: 14px;
}

.section-heading h2 {
    margin: 8px 0 6px;
    font-size: 1.6rem;
}

.section-heading p {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.45;
}

.section-kicker,
.contacto-label {
    background: rgba(217, 4, 41, 0.12);
    color: #b30222;
}

.destacados-grid,
.catalogo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.info-hub {
    padding: 0 14px;
    margin-top: 18px;
}
.hero-nav {
    margin-top: 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
}
.hero-nav::-webkit-scrollbar {
    display: none;
}

.hero-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    position: relative;
    padding-bottom: 6px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.hero-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}
.hero-nav-link:hover::after,
.hero-nav-link:focus::after {
    transform: scaleX(1);
}
.hero-nav-link:hover,
.hero-nav-link:focus,
.hero-nav-link.active {
    color: #ffffff;
}
.hero-nav-link.active::after {
    transform: scaleX(1);
}

.ubicacion-toggle {
    width: 100%;
    display: grid;
    gap: 16px;
    padding: 0;
    text-align: left;
    
}

.info-stack {
    display: grid;
    gap: 18px;
}
.info-block {
    scroll-margin-top: 110px;
}
.info-contenido {
    margin-top: 14px;
    display: none;
}

.info-contenido.active {
    display: block;
}

.info-panel {
    display: grid;
    gap: 14px;
}


.ubicacion-info,
.mapa-wrap,
.products-panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.ubicacion-info {
    padding: 24px;
}

.active-panel {
    display: block;
}

.direccion-texto {
    margin: 0 0 18px;
    color: #3e3e3e;
    line-height: 1.5;
}

.map-link,
.footer-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--brand-dark);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.contacto-card {
    display: grid;
    gap: 16px;
}

.contacto-art {
    position: relative;
    min-height: 170px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 30%),
        linear-gradient(135deg, #1e1f3b, #0f9b62);
}

.contacto-art-circle,
.social-art-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.contacto-art-circle-one {
    width: 120px;
    height: 120px;
    top: -24px;
    right: -10px;
}

.contacto-art-circle-two {
    width: 90px;
    height: 90px;
    bottom: -12px;
    left: -10px;
}

.contacto-art-phone {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 4rem;
}

.contacto-copy {
    display: grid;
    gap: 10px;
}

.social-links {
    display: grid;
    gap: 10px;
}

.social-link {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ececec;
}

.social-link-instagram .social-art {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 30%),
        linear-gradient(135deg, #833ab4, #fd1d1d 50%, #fcb045);
}

.social-link-tiktok .social-art {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(135deg, #111111, #25f4ee);
}

.social-art {
    position: relative;
    height: 84px;
    border-radius: 16px;
    overflow: hidden;
}

.social-art-circle-one {
    width: 48px;
    height: 48px;
    top: -8px;
    right: -6px;
}

.social-art-circle-two {
    width: 36px;
    height: 36px;
    bottom: -6px;
    left: -6px;
}

.social-art-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.social-copy {
    display: grid;
    gap: 4px;
}

.social-copy strong {
    font-size: 1rem;
}

.social-label {
    font-size: 0.82rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mapa-wrap {
    overflow: hidden;
    min-height: 280px;
}

.mapa-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}

.products-panel {
    padding: 18px;
}

.section-heading-small h2 {
    font-size: 1.45rem;
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-tools {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #666666;
}

.search-box input,
.filter-field select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px 14px 46px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    color: #1f1f1f;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.filter-field select {
    padding-left: 16px;
    min-height: 48px;
    box-shadow: none;
}

.search-box input:focus,
.filter-field select:focus,
.cart-footer select:focus,
.cart-footer input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.12);
}

.filter-toggle {
    min-height: 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-deep));
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filters-panel {
    display: none;
    gap: 10px;
    margin-bottom: 14px;
}

.filters-panel.active {
    display: grid;
}

.filter-field {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.search-empty {
    margin-top: 12px;
    color: #5c5c5c;
    font-weight: 600;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.card-media {
    position: relative;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.78);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-badge.promo {
    background: rgba(217, 4, 41, 0.9);
}

.card-content {
    padding: 14px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.card-tag {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(217, 4, 41, 0.08);
    color: #8f132d;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: capitalize;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.card-detail {
    margin: 0 0 10px;
    color: #666666;
    line-height: 1.4;
    font-size: 0.95rem;
}

.price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-red);
}

.card button {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: var(--brand-dark);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    margin-top: 20px;
    padding: 24px 14px 110px;
    background: linear-gradient(180deg, rgba(82, 31, 111, 0.98), rgba(43, 45, 66, 0.98));
    color: #ffffff;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.08);
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 18px;
}

.footer-brand {
    display: grid;
    gap: 14px;
    align-items: center;
    justify-items: center;
    max-width: 340px;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    padding: 8px;
}

.footer-brand strong {
    display: block;
    font-size: 1.2rem;
}

.footer-brand p,
.footer-credit {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
}

.footer-link {
    width: 52px;
    height: 52px;
    padding: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1.2rem;
}

.footer-credit {
    margin-top: 18px;
    font-size: 0.95rem;
}

.cart-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-deep));
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(43, 45, 66, 0.28);
    z-index: 1100;
}

.cart-btn span {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--brand-red);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 12px;
    right: -420px;
    width: min(calc(100% - 12px), 420px);
    height: calc(100dvh - 24px);
    max-height: calc(100svh - 24px);
    background: linear-gradient(180deg, rgba(217, 4, 41, 0.98), rgba(43, 45, 66, 0.98));
    box-shadow: -12px 0 30px rgba(43, 45, 66, 0.24);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.cart-header h2 {
    margin: 0;
}

.cart-header button {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ffffff;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 24px;
    min-height: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
    color: #ffffff;
}

.cart-item strong,
.cart-item span {
    display: block;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.cart-item-body {
    min-width: 0;
}

.cart-item-detail {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.35;
}

.cart-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #b30222;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
}

.cart-item-qty {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
}

.cart-item-price {
    font-size: 0.95rem;
    text-align: right;
    color: #ffffff;
}

.empty-cart {
    text-align: center;
    color: rgba(255, 255, 255, 0.84);
    margin-top: 30px;
}

.cart-footer {
    position: sticky;
    bottom: 0;
    background: rgba(17, 17, 17, 0.16);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.total-text {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.cart-footer select,
.cart-footer input,
.btn-wsp {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
}

.cart-footer select,
.cart-footer input {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.btn-wsp {
    border: none;
    background: #1faa59;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.admin-body {
    min-height: 100vh;
}

.admin-page {
    min-height: 100vh;
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 24px 14px 40px;
}

.admin-card {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 22px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.admin-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.08);
    color: #111111;
    text-decoration: none;
    font-weight: 700;
}

.admin-head h1,
.admin-head h2 {
    margin: 0 0 8px;
}

.admin-head p {
    margin: 0;
    color: #5b5b5b;
    line-height: 1.5;
}

.admin-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.admin-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.admin-field-group {
    display: grid;
    gap: 8px;
}

.admin-field-title {
    font-weight: 700;
}

.admin-field-help {
    margin: 0;
    color: #666666;
    line-height: 1.45;
    font-size: 0.92rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
}


.admin-primary,
.admin-secondary,
.admin-danger {
    min-height: 48px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-primary {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-deep));
    color: #ffffff;
}

.admin-secondary {
    background: #111111;
    color: #ffffff;
}

.admin-danger {
    min-height: 44px;
    background: var(--brand-red);
    color: #ffffff;
    font-size: 0.95rem;
}

.admin-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 155, 98, 0.12);
    color: #0d6a43;
    font-weight: 700;
}

.admin-status.error {
    background: rgba(217, 4, 41, 0.12);
    color: #b30222;
}

.admin-actions {
    margin-top: 16px;
}

.admin-form-actions {
    display: grid;
    gap: 10px;
}

.admin-check-grid {
    display: grid;
    gap: 10px;
}

.admin-check-grid-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.04);
    font-weight: 700;
}

.admin-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.current-image-wrap {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.current-image-preview {
    width: 100%;
    max-width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.admin-list-head {
    margin-top: 24px;
}

.admin-products-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.admin-product-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #ececec;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.admin-product-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
}

.admin-product-body {
    display: grid;
    gap: 6px;
}

.admin-product-body strong {
    font-size: 1.05rem;
}

.admin-product-body p {
    margin: 0;
    color: #5a5a5a;
    line-height: 1.45;
}

.admin-product-body span {
    font-weight: 700;
    color: #b30222;
}

.admin-product-actions {
    display: grid;
    gap: 10px;
}

.admin-empty {
    margin: 0;
    color: #5a5a5a;
    font-weight: 600;
}

@media (min-width: 641px) {
    .ticker-wrap,
    .highlight-section,
    .info-hub {
        padding-left: 20px;
        padding-right: 20px;
    }

    .admin-page {
        padding: 32px 20px 48px;
    }

    .admin-form-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-product-card {
        grid-template-columns: 180px 1fr auto;
        align-items: center;
    }

    .admin-product-image {
        height: 130px;
    }

    .admin-product-actions {
        width: 120px;
    }

    .location-panel {
        grid-template-columns: minmax(280px, 360px) 1fr;
        align-items: stretch;
    }
    .contact-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .destacados-grid,
    .catalogo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .product-tools {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .filters-panel,
    .filters-panel.active {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        padding: 28px 20px 48px;
    }
}

@media (min-width: 900px) {
    .destacados-grid,
    .catalogo {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-link {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .header h1 {
        font-size: 1.7rem;
    }

    .hero-overlay {
        padding: 18px 16px;
    }

    .brand-head {
        gap: 12px;
    }

    .brand-logo {
        width: 74px;
        height: 74px;
        border-radius: 18px;
    }
    
    .hero-nav {
        justify-content: center;
    }
    .hero-nav {
        gap: 16px;
        justify-content: flex-start;
    }

    .hero-nav-link {
        font-size: 0.9rem;
    }

    .page-bg {
        background-size: 110vw;
        opacity: 0.72;
    }

    .mapa-wrap {
        min-height: 260px;
    }

    .cart-panel {
        top: auto;
        right: 0;
        bottom: -100dvh;
        width: 100%;
        height: min(82dvh, 760px);
        max-height: min(82svh, 760px);
        border-radius: 24px 24px 0 0;
        transition: bottom 0.3s ease;
    }

    .cart-panel.active {
        right: 0;
        bottom: 0;
    }

    .cart-items {
        padding: 16px 16px 18px;
    }

    .cart-footer {
        padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    }
}

@keyframes promoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes tickerFlow {
    from {
         transform: translateX(0);
    }

    to {
         transform: translateX(-45%);
    }
}