:root {
    --brand-blue: #0057b8;
    --brand-cyan: #00aeef;
    --brand-navy: #071a33;
    --brand-dark: #111827;
    --brand-light: #f3f8fc;
    --brand-white: #ffffff;
    --brand-muted: #64748b;
    --whatsapp-green: #25d366;
    --whatsapp-green-dark: #128c7e;
    --primary-color: var(--brand-blue);
    --secondary-color: var(--brand-cyan);
    --text-color: var(--brand-dark);
    --light-bg: var(--brand-light);
    --focus-ring: 0 0 0 0.2rem rgba(0, 87, 184, 0.28);
    --radius-sm: 8px;
    --radius-md: 12px;
    --button-radius: 8px;
    --card-radius: 12px;
    --brand-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --brand-blue-rgb: 0, 87, 184;
    --brand-cyan-rgb: 0, 174, 239;
    --brand-navy-rgb: 7, 26, 51;
    --shadow-sm: 0 2px 8px rgba(7, 26, 51, 0.06);
    --shadow-md: 0 6px 18px rgba(7, 26, 51, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--brand-font-family);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    background-color: #f3f8fc; /* light neutral storefront surface */
    background-image: none;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
    height: auto;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.site-navbar .cyberleo-nav-link:focus-visible,
.site-navbar .navbar-toggler:focus-visible,
.site-navbar .site-navbar-toggler:focus-visible,
.admin-navbar .admin-nav-link:focus-visible,
.admin-navbar .navbar-toggler:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.text-primary {
    color: var(--brand-blue) !important;
}

.bg-primary {
    background-color: var(--brand-blue) !important;
}

/* ---------- Brand logo ---------- */
.brand-logo {
    display: block;
    width: auto;
    height: 62px;
    object-fit: contain;
    object-position: left center;
    aspect-ratio: auto;
    filter: none;
    max-width: min(240px, 68vw);
}

.brand-logo-sm {
    height: 42px;
    max-width: 160px;
}

.brand-logo-login {
    height: 72px;
    max-width: 260px;
    margin: 0 auto 1rem;
}

@media (max-width: 575.98px) {
    .brand-logo {
        height: 48px;
        max-width: min(148px, 46vw);
    }
}

/* ---------- Navigation ---------- */
.site-navbar {
    --cyberleo-nav-height: 4.5rem;
    background: var(--brand-white);
    border-bottom: 1px solid rgba(0, 87, 184, 0.12);
    box-shadow: var(--shadow-sm);
    padding: 0.35rem 0;
    min-height: var(--cyberleo-nav-height);
    z-index: 1030;
}

.site-navbar .site-navbar-brand,
.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin-right: 1rem;
}

.site-navbar .cyberleo-nav-link,
.site-navbar .nav-link.cyberleo-nav-link {
    color: var(--brand-navy);
    font-weight: 560;
    font-size: 0.95rem;
    line-height: 1.25;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-navbar .cyberleo-nav-link:hover,
.site-navbar .cyberleo-nav-link:focus,
.site-navbar .nav-link.cyberleo-nav-link:hover,
.site-navbar .nav-link.cyberleo-nav-link:focus {
    color: var(--brand-blue);
    background-color: rgba(0, 87, 184, 0.06);
}

.site-navbar .cyberleo-nav-link.active,
.site-navbar .cyberleo-nav-link[aria-current="page"],
.site-navbar .nav-link.cyberleo-nav-link.active,
.site-navbar .nav-link.cyberleo-nav-link[aria-current="page"] {
    color: var(--brand-blue);
    background-color: rgba(0, 87, 184, 0.1);
}

.site-navbar .site-navbar-toggler,
.site-navbar .navbar-toggler {
    border-color: rgba(0, 87, 184, 0.25);
    padding: 0.35rem 0.55rem;
}

.site-navbar .site-navbar-toggler:focus,
.site-navbar .site-navbar-toggler:focus-visible,
.site-navbar .navbar-toggler:focus,
.site-navbar .navbar-toggler:focus-visible {
    box-shadow: var(--focus-ring);
}

/* Variante navy: debe ir después de .site-navbar .nav-link (misma especificidad). */
.site-navbar.site-navbar-navy {
    background: var(--brand-navy);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-navbar.site-navbar-navy .cyberleo-nav-link,
.site-navbar.site-navbar-navy .nav-link.cyberleo-nav-link {
    color: rgba(255, 255, 255, 0.92);
}

.site-navbar.site-navbar-navy .cyberleo-nav-link:hover,
.site-navbar.site-navbar-navy .cyberleo-nav-link:focus,
.site-navbar.site-navbar-navy .cyberleo-nav-link.active,
.site-navbar.site-navbar-navy .cyberleo-nav-link[aria-current="page"],
.site-navbar.site-navbar-navy .nav-link.cyberleo-nav-link:hover,
.site-navbar.site-navbar-navy .nav-link.cyberleo-nav-link:focus,
.site-navbar.site-navbar-navy .nav-link.cyberleo-nav-link.active,
.site-navbar.site-navbar-navy .nav-link.cyberleo-nav-link[aria-current="page"] {
    color: var(--brand-white);
    background-color: rgba(255, 255, 255, 0.12);
}

.site-navbar.site-navbar-navy .site-navbar-toggler,
.site-navbar.site-navbar-navy .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

.site-navbar.site-navbar-navy .navbar-toggler-icon {
    filter: invert(1) brightness(1.15);
}

.site-navbar .site-navbar-toggler {
    min-width: 44px;
    min-height: 44px;
}

.site-navbar-toggler-label {
    display: none;
    margin-left: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.site-navbar-links {
    flex-wrap: wrap;
    max-width: 100%;
}

.site-nav-products {
    position: relative;
}

.site-nav-products-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    min-height: 44px;
    cursor: pointer;
}

.site-nav-caret {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.site-nav-products-toggle.is-open .site-nav-caret,
.site-nav-products-toggle[aria-expanded="true"] .site-nav-caret {
    transform: rotate(180deg);
}

.site-mega {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: auto;
    width: min(720px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid rgba(0, 87, 184, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(7, 26, 51, 0.12);
    z-index: 1080;
    padding: 0.75rem;
}

.site-mega-inner {
    display: grid;
    grid-template-columns: minmax(180px, 34%) 1fr;
    gap: 0.75rem;
    min-width: 0;
}

.site-mega-cats,
.site-mega-subs {
    min-width: 0;
}

.site-mega-cat-btn,
.site-mega-cat-link,
.site-mega-all,
.site-mega-sublink,
.site-acc-link,
.site-acc-sublink,
.site-acc-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--brand-navy);
    text-align: left;
    text-decoration: none;
    font-weight: 560;
    overflow-wrap: anywhere;
}

.site-mega-cat-btn:hover,
.site-mega-cat-btn:focus,
.site-mega-cat-link:hover,
.site-mega-cat-link:focus,
.site-mega-cat-btn.is-active,
.site-mega-cat-link.is-active,
.site-mega-all:hover,
.site-mega-sublink:hover,
.site-mega-all.is-current,
.site-mega-sublink.is-current,
.site-acc-link.is-current,
.site-acc-sublink.is-current {
    background: rgba(0, 174, 239, 0.12);
    color: var(--brand-blue);
}

.site-mega-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-mega-empty {
    margin: 0.5rem;
    color: var(--brand-muted, #5b6b7c);
}

.site-acc-row {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
    min-width: 0;
}

.site-acc-link {
    flex: 1 1 auto;
}

.site-acc-toggle {
    flex: 0 0 44px;
    width: 44px;
    justify-content: center;
    border: 1px solid rgba(0, 87, 184, 0.18);
}

.site-acc-panel {
    padding-left: 0.5rem;
}

@media (max-width: 991.98px) {
    .site-mega {
        display: none !important;
    }

    .site-navbar .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .site-navbar .site-navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-navbar .site-navbar-toggler,
    .site-navbar .navbar-toggler {
        display: inline-flex !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        background: rgba(0, 87, 184, 0.08);
        border: 1px solid rgba(0, 87, 184, 0.28);
        color: var(--brand-navy);
    }

    .site-navbar-toggler-label {
        display: inline;
    }

    .site-navbar-links {
        padding: 0.5rem 0 1rem;
        width: 100%;
    }

    .site-navbar .cyberleo-nav-link,
    .site-nav-products-toggle,
    .site-nav-cart {
        min-height: 44px;
    }
}

@media (min-width: 992px) {
    .site-nav-accordion {
        display: none !important;
    }
}

.site-nav-cart.nav-cart-btn,
.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--brand-blue);
    color: var(--brand-white) !important;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav-cart.nav-cart-btn:hover,
.site-nav-cart.nav-cart-btn:focus,
.nav-cart-btn:hover,
.nav-cart-btn:focus {
    background: var(--brand-navy);
    color: var(--brand-white) !important;
}

.site-nav-cart.nav-cart-btn.active,
.site-nav-cart.nav-cart-btn[aria-current="page"],
.nav-cart-btn.active,
.nav-cart-btn[aria-current="page"] {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav-cart-btn .cart-count {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--brand-white);
    color: var(--brand-navy);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 450px;
    min-height: 420px;
    max-height: 480px;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    margin-bottom: 1.25rem;
    background-color: var(--brand-navy);
    background-image:
        linear-gradient(135deg, rgba(var(--brand-navy-rgb), 0.96) 0%, rgba(var(--brand-blue-rgb), 0.88) 55%, rgba(var(--brand-cyan-rgb), 0.35) 100%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    background-position: center;
    background-repeat: no-repeat, repeat, repeat;
    text-shadow: none;
}

.hero-section.hero-height-compact {
    height: 360px;
    min-height: 320px;
    max-height: 380px;
}

.hero-section.hero-height-large {
    /* Cap large heroes so the first viewport stays balanced. */
    height: 470px;
    min-height: 430px;
    max-height: 480px;
}

.hero-section.hero-align-left .hero-content {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.hero-section.hero-has-image::after {
    background: rgba(var(--brand-navy-rgb), 0.62);
}

.hero-section.hero-has-image.hero-overlay-soft::after {
    background: rgba(var(--brand-navy-rgb), 0.4);
}

.hero-section.hero-has-image.hero-overlay-medium::after {
    background: rgba(var(--brand-navy-rgb), 0.62);
}

.hero-section.hero-has-image.hero-overlay-strong::after {
    background: rgba(var(--brand-navy-rgb), 0.78);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(var(--brand-cyan-rgb), 0.18), transparent 42%),
        radial-gradient(circle at 82% 70%, rgba(var(--brand-blue-rgb), 0.25), transparent 45%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-section.hero-has-image {
    background-size: cover !important;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 42rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    animation: fadeInUp 0.55s ease-out;
}

.hero-content h1 {
    font-size: clamp(1.65rem, 3.2vw, 2.55rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--brand-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-content .hero-subtitle,
.hero-content h3 {
    font-size: clamp(0.98rem, 1.8vw, 1.15rem);
    font-weight: 500;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
}

.hero-content .hero-subtitle {
    color: #d7f4ff;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--brand-white) !important;
    border-color: var(--brand-white) !important;
    color: var(--brand-navy) !important;
    font-weight: 700;
}

.hero-cta:hover,
.hero-cta:focus,
.hero-cta:active {
    background: var(--brand-cyan) !important;
    border-color: var(--brand-cyan) !important;
    color: var(--brand-navy) !important;
}

@media (max-width: 768px) {
    .hero-section {
        height: 320px;
        min-height: 280px;
        max-height: 350px;
        border-radius: var(--radius-sm);
        margin-bottom: 0.85rem;
    }

    .hero-section.hero-height-compact {
        height: 280px;
        min-height: 260px;
        max-height: 320px;
    }

    .hero-section.hero-height-large {
        height: 340px;
        min-height: 300px;
        max-height: 350px;
    }

    .hero-content {
        padding: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Search ---------- */
.search-section {
    margin-top: -0.25rem;
    margin-bottom: 1.5rem;
}

.search-section .input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 87, 184, 0.18);
    background: var(--brand-white);
}

.search-section .form-control {
    border: none;
    padding: 0.7rem 1rem;
    box-shadow: none;
}

.search-section .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.search-section .input-group:focus-within {
    border-color: var(--brand-blue);
    box-shadow: var(--focus-ring);
}

.search-section .input-group-text,
.search-section .btn-search {
    background: var(--brand-blue);
    color: var(--brand-white);
    border: none;
    padding: 0.7rem 1rem;
}

.search-section .btn-search:hover {
    background: var(--brand-navy);
    color: var(--brand-white);
}

/* ---------- Cards / products ---------- */
.card,
.product-card,
.category-card {
    border: 1px solid rgba(0, 87, 184, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--brand-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: none;
}

.card:hover,
.product-card:hover,
.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 87, 184, 0.22);
}

.card-img-container,
.product-card .product-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    height: 220px;
    max-height: 280px;
    background: linear-gradient(160deg, #eef5fb 0%, #e2ebf5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-media img,
.product-card .single-product-image,
.product-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-image-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    height: 100%;
    color: var(--brand-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-image-empty i {
    font-size: 2rem;
    color: rgba(0, 87, 184, 0.45);
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
}

.card-footer {
    border-top: none;
    background: transparent;
    padding: 0 1.15rem 1.15rem;
    margin-top: auto;
}

.product-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.product-card .price-old {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-muted);
    text-decoration: line-through;
}

.product-card .price-sale {
    font-size: 1.2rem;
    font-weight: 800;
    color: #c62828;
}

/* ---------- Catalog Stage 3: columns + card variants ---------- */
.row.product-grid {
    align-items: stretch;
}

.product-grid > .product-grid-item {
    display: flex;
    min-width: 0;
}

.product-grid > .product-grid-item > .product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.product-card .card-title,
.product-card .price,
.product-card .price-sale,
.product-card .card-footer {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-grid.product-cols-2 > .product-grid-item {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
}

.product-grid.product-cols-3 > .product-grid-item {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    max-width: 33.333333%;
}

.product-grid.product-cols-4 > .product-grid-item {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
}

@media (max-width: 991.98px) {
    .product-grid.product-cols-3 > .product-grid-item,
    .product-grid.product-cols-4 > .product-grid-item {
        flex-basis: 50%;
        width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .product-grid.product-cols-2 > .product-grid-item,
    .product-grid.product-cols-3 > .product-grid-item,
    .product-grid.product-cols-4 > .product-grid-item {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}

.product-card-bordered {
    box-shadow: none;
    border: 1px solid rgba(0, 87, 184, 0.22);
}

.product-card-elevated {
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 87, 184, 0.1);
}

.product-card-minimal {
    box-shadow: none;
    border: none;
    background: transparent;
}

.product-card-minimal .card-body,
.product-card-minimal .card-footer {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.product-card-align-left .card-body,
.product-card-align-left .card-title,
.product-card-align-left .card-text,
.product-card-align-left .product-price-block {
    text-align: left;
}

.product-card-align-center .card-body,
.product-card-align-center .card-title,
.product-card-align-center .card-text {
    text-align: center;
}

.product-card-align-center .product-price-block,
.product-card-align-center .d-flex.justify-content-between {
    justify-content: center !important;
}

.product-card.product-fit-contain .product-media img,
.product-card.product-fit-contain .single-product-image,
.product-card.product-fit-contain .product-carousel .carousel-item img {
    object-fit: contain;
}

.product-card.product-fit-cover .product-media img,
.product-card.product-fit-cover .single-product-image,
.product-card.product-fit-cover .product-carousel .carousel-item img {
    object-fit: cover;
}

.product-card.product-height-compact .product-media {
    height: 160px;
    max-height: 160px;
}

.product-card.product-height-normal .product-media {
    height: 220px;
    max-height: 220px;
}

.product-card.product-height-large .product-media {
    height: 280px;
    max-height: 280px;
}

.product-sale-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    background: #c62828;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.28rem 0.55rem;
    border-radius: 4px;
    line-height: 1.2;
    max-width: calc(100% - 1.3rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-share .product-share-btn {
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-share .btn-whatsapp,
.product-share .share-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
}

.product-share .btn-whatsapp:hover,
.product-share .share-whatsapp:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: #fff;
}

.product-share .btn-primary {
    background-color: #1877f2;
    border-color: #1877f2;
}

.product-share .btn-primary:hover {
    background-color: #166fe5;
    border-color: #166fe5;
}

.description-container .ver-mas {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

/* Admin catalog preview */
.catalog-preview-wrap {
    max-width: 320px;
}

.catalog-preview-card .product-media {
    position: relative;
    height: 160px;
    background: linear-gradient(160deg, #eef5fb 0%, #e2ebf5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-preview-card .catalog-preview-image-sim {
    width: 72%;
    height: 72%;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.18), rgba(0, 174, 239, 0.28));
    border: 1px dashed rgba(0, 87, 184, 0.35);
}

.catalog-preview-meta {
    font-size: 0.8rem;
    color: var(--brand-muted, #64748b);
}

.catalog-preview-card.product-card-align-center .card-body {
    text-align: center;
}

.catalog-preview-card.product-height-compact .product-media { height: 120px; }
.catalog-preview-card.product-height-normal .product-media { height: 160px; }
.catalog-preview-card.product-height-large .product-media { height: 200px; }

.stock-indicator,
.stock-display {
    font-size: 0.8rem;
    color: var(--brand-muted);
    font-weight: 500;
}

.category-card {
    background: var(--brand-white);
}

.category-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.category-card .category-icon {
    color: var(--brand-blue);
    font-size: 1.35rem;
}

.category-card .badge {
    background: #eef5fb !important;
    color: #071a33 !important;
    border: 1px solid rgba(0, 87, 184, 0.22);
    font-weight: 650;
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 0.35rem 0.55rem;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

.badge.bg-warning {
    background: rgba(0, 87, 184, 0.1) !important;
    color: var(--brand-navy) !important;
    box-shadow: none;
}

.badge.bg-danger {
    background: #c62828 !important;
    box-shadow: none;
}

.badge.bg-info {
    background: rgba(0, 174, 239, 0.15) !important;
    color: var(--brand-navy) !important;
}

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: var(--brand-white);
    box-shadow: none;
    padding: 0.55rem 1.15rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--brand-navy) !important;
    border-color: var(--brand-navy) !important;
    color: var(--brand-white) !important;
    transform: none;
    box-shadow: none;
}

.btn-outline-primary {
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    padding: 0.55rem 1.15rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--brand-white);
    transform: none;
}

.btn:focus {
    box-shadow: var(--focus-ring);
}

.btn-whatsapp,
.btn-whatsapp:visited,
a.btn-success.btn-whatsapp,
#whatsapp-order.btn-success,
.share-whatsapp {
    background: var(--whatsapp-green) !important;
    border-color: var(--whatsapp-green) !important;
    color: #fff !important;
    box-shadow: none;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
#whatsapp-order.btn-success:hover,
.share-whatsapp:hover {
    background: var(--whatsapp-green-dark) !important;
    border-color: var(--whatsapp-green-dark) !important;
    color: #fff !important;
    transform: none;
}

.btn-success:not(.btn-whatsapp):not(#whatsapp-order):not(.share-whatsapp) {
    background: #198754;
    border-color: #198754;
    box-shadow: none;
}

.btn-success:not(.btn-whatsapp):not(#whatsapp-order):not(.share-whatsapp):hover {
    background: #146c43;
    border-color: #146c43;
    transform: none;
}

.add-to-cart:hover {
    transform: none;
}

.btn-gradient:hover {
    filter: brightness(1.05);
}

/* ---------- Cart ---------- */
.cart-page-title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0;
}

.cart-summary-card .card-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    color: var(--brand-white);
    border: none;
}

.cart-summary-card #cart-total {
    color: var(--brand-blue);
    font-weight: 800;
}

.cart-item {
    border-color: rgba(0, 87, 184, 0.1) !important;
}

.cart-item:hover {
    background-color: rgba(0, 87, 184, 0.04);
}

.cart-item .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-item .input-group .btn {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
}

.cart-item .input-group .btn:hover {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}

.cart-item .input-group .form-control {
    border-left: none;
    border-right: none;
    font-weight: 600;
}

.cart-item .remove-from-cart {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item .remove-from-cart:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.product-image-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #eef5fb 0%, #e2ebf5 100%);
    border: 1px dashed rgba(0, 87, 184, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--brand-muted);
    font-size: 1.25rem;
}

.cart-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0, 87, 184, 0.15);
}

.cart-image-size-compact .cart-product-image,
.cart-image-size-compact .product-image-placeholder {
    width: 48px;
    height: 48px;
}

.cart-image-size-large .cart-product-image,
.cart-image-size-large .product-image-placeholder {
    width: 80px;
    height: 80px;
}

.cart-image-fit-contain .cart-product-image {
    object-fit: contain;
    background: #f8fafc;
}

.cart-image-fit-cover .cart-product-image {
    object-fit: cover;
}

.cart-layout-compact .cart-item {
    padding: 0.65rem !important;
}

.cart-layout-compact .cart-item h6 {
    font-size: 0.95rem;
}

.cart-summary-sticky {
    position: sticky;
    top: 1rem;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .cart-summary-sticky {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-item,
    .cart-summary-card,
    .btn-whatsapp {
        transition: none !important;
    }
}

.checkout-preview-card .checkout-preview-image-sim {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
    border: 1px solid rgba(0, 87, 184, 0.2);
}

.checkout-preview-card.checkout-preview-compact .checkout-preview-image-sim {
    width: 48px;
    height: 48px;
}

.checkout-preview-card[data-image-size="large"] .checkout-preview-image-sim {
    width: 80px;
    height: 80px;
}

.cart-empty-state {
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.cart-empty-state i {
    color: rgba(0, 87, 184, 0.4);
}

/* ---------- Footer ---------- */
.footer.site-footer,
footer.site-footer {
    background: var(--brand-navy) !important;
    background-color: #071a33 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-top: none !important;
    box-shadow: none !important;
    margin-top: 3rem;
    padding-top: 2.25rem;
    padding-bottom: 0;
    background-image: none !important;
}

/* Legacy footer-banner markup must not appear with the refined footer. */
.site-footer .footer-banner {
    display: none !important;
}

.site-footer-inner {
    max-width: 100%;
}

.site-footer-grid {
    display: grid;
    gap: 1.75rem 2rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.site-footer-cols-3 {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
}

.site-footer-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer-cols-1 {
    grid-template-columns: minmax(0, 1fr);
}

.site-footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 0.85rem;
}

.site-footer-logo-link {
    display: inline-flex;
    margin-bottom: 0.85rem;
}

.site-footer-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 28rem;
}

.site-footer-links,
.site-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.site-footer-link,
.footer a.site-footer-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 560;
    text-decoration: none;
    border-radius: 4px;
}

.site-footer-link:hover,
.site-footer-link:focus,
.footer a.site-footer-link:hover,
.footer a.site-footer-link:focus {
    color: var(--brand-cyan);
    text-decoration: underline;
}

.site-footer-link.is-current,
.site-footer-link[aria-current="page"] {
    color: var(--brand-cyan);
}

.site-footer-social,
.footer a.site-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--brand-cyan);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.site-footer-social:hover,
.site-footer-social:focus,
.footer a.site-footer-social:hover,
.footer a.site-footer-social:focus {
    color: #7fdfff;
    text-decoration: underline;
}

.site-footer-social i {
    font-size: 1.2rem;
    line-height: 1;
}

.site-footer-ig i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-footer-wa i {
    color: var(--whatsapp-green, #25d366);
    -webkit-text-fill-color: initial;
}

.site-footer-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.45;
}

.site-footer-meta-item i {
    color: var(--brand-cyan);
    margin-top: 0.15rem;
}

.site-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0 1.25rem;
}

.footer a {
    color: var(--brand-cyan);
    font-weight: 600;
    text-decoration: none;
}

.footer a:hover,
.footer a:focus {
    color: #7fdfff;
    text-decoration: underline;
}

.footer a:focus-visible,
.site-footer-link:focus-visible,
.site-footer-social:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 3px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Legacy banner classes kept for admin preview compatibility */
.footer-banner {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.92);
    min-width: 0;
}

.footer-banner .footer-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}

.footer-banner.footer-ig .footer-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-banner.footer-wa .footer-icon {
    color: var(--whatsapp-green);
}

@media (max-width: 767.98px) {
    .site-footer-cols-3,
    .site-footer-cols-2,
    .site-footer-cols-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer-grid {
        gap: 1.5rem;
    }
}

/* ---------- Announcement bar ---------- */
.site-announcement {
    width: 100%;
    margin: 0;
    padding: 0.55rem 0;
    color: #fff;
    position: relative;
    z-index: 1031;
}

.site-announcement[hidden] {
    display: none !important;
}

.site-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    text-align: center;
    padding-right: 2rem;
}

.site-announcement-text,
.site-announcement-link {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.site-announcement-link:hover,
.site-announcement-link:focus-visible {
    text-decoration: underline;
    color: inherit;
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.site-announcement-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.15rem 0.4rem;
    cursor: pointer;
    border-radius: 4px;
}

.site-announcement-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.site-announcement-primary {
    background: var(--brand-blue);
}

.site-announcement-secondary {
    background: var(--brand-cyan);
    color: var(--brand-navy);
}

.site-announcement-secondary .site-announcement-close,
.site-announcement-secondary .site-announcement-link {
    color: var(--brand-navy);
}

.site-announcement-navy {
    background: var(--brand-navy);
}

/* ---------- Promo banner ---------- */
.promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius, var(--radius-md));
    margin: 1.5rem 0;
    min-height: 180px;
    display: grid;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            rgba(var(--brand-navy-rgb, 7, 26, 51), 0.94) 0%,
            rgba(var(--brand-blue-rgb, 0, 87, 184), 0.88) 55%,
            rgba(var(--brand-cyan-rgb, 0, 174, 239), 0.55) 100%
        );
}

.promo-banner-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.promo-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-banner-has-image.promo-banner-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            135deg,
            rgba(var(--brand-navy-rgb, 7, 26, 51), 0.82) 0%,
            rgba(var(--brand-blue-rgb, 0, 87, 184), 0.72) 55%,
            rgba(var(--brand-cyan-rgb, 0, 174, 239), 0.45) 100%
        );
}

.promo-banner-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem 1.5rem;
    max-width: 40rem;
}

.promo-banner-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-banner-text {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

.promo-banner-cta {
    font-weight: 600;
    color: var(--brand-navy);
}

.promo-banner-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ---------- Benefits ---------- */
.benefits-section {
    margin: 1.75rem 0 1.25rem;
    max-width: 100%;
    overflow-x: clip;
}

.benefits-surface {
    background: #ffffff;
    border: 1px solid rgba(7, 26, 51, 0.1);
    border-radius: calc(var(--card-radius, var(--radius-md)) + 4px);
    box-shadow: 0 10px 28px rgba(7, 26, 51, 0.05);
    padding: 1.35rem 1.15rem 1.25rem;
}

.benefits-heading {
    text-align: center;
    color: var(--brand-navy);
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    font-weight: 750;
    margin: 0 0 1.1rem;
    letter-spacing: -0.01em;
}

.benefits-grid {
    margin: 0;
}

.benefits-section .benefit-block,
.benefit-block {
    background: #ffffff !important;
    border: 1px solid rgba(7, 26, 51, 0.1) !important;
    border-radius: var(--card-radius, var(--radius-md));
    padding: 22px !important;
    text-align: center;
    box-shadow: 0 6px 18px rgba(7, 26, 51, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefits-section .benefit-block:hover,
.benefit-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(7, 26, 51, 0.08);
}

.benefits-section .benefit-icon,
.benefit-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    margin: 0 auto 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 174, 239, 0.14);
    color: var(--brand-cyan);
    font-size: 2.65rem; /* ~42px */
    line-height: 1;
}

.benefits-section .benefit-icon i,
.benefit-icon i {
    font-size: 2.65rem !important; /* 42px */
    line-height: 1;
    color: var(--brand-cyan) !important;
}

.benefits-section .benefit-title,
.benefit-title {
    color: var(--brand-navy);
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.benefits-section .benefit-text,
.benefit-text {
    color: var(--brand-muted, #64748b);
    font-size: 0.94rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .benefits-surface {
        padding: 1.5rem 1.35rem 1.4rem;
    }

    .benefits-section .benefit-icon,
    .benefit-icon {
        width: 3.25rem;
        height: 3.25rem;
    }

    .benefits-section .benefit-icon,
    .benefits-section .benefit-icon i,
    .benefit-icon,
    .benefit-icon i {
        font-size: 2.85rem !important; /* ~45.6px, within 42–48 */
    }
}

@media (max-width: 767.98px) {
    .benefits-section .benefit-block,
    .benefit-block {
        padding: 22px !important;
    }
}

/* Admin Stage-2 previews */
.home-preview-block {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.home-preview-announcement {
    padding: 0.45rem 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.home-preview-announcement.is-primary { background: var(--brand-blue, #0057b8); }
.home-preview-announcement.is-secondary { background: var(--brand-cyan, #00aeef); color: var(--brand-navy, #071a33); }
.home-preview-announcement.is-navy { background: var(--brand-navy, #071a33); }
.home-preview-announcement.is-off { display: none; }

.home-preview-promo {
    padding: 1rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(7, 26, 51, 0.94), rgba(0, 87, 184, 0.88));
}

.home-preview-promo.is-off { display: none; }

.home-preview-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
}

.home-preview-benefits-title {
    grid-column: 1 / -1;
    text-align: center;
    font-weight: 700;
    color: var(--brand-navy, #071a33);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.home-preview-benefit {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
}

.home-preview-benefit i {
    display: block;
    font-size: 1.2rem;
    color: var(--brand-blue, #0057b8);
    margin-bottom: 0.25rem;
}

.home-preview-footer {
    padding: 0.75rem;
    background: var(--brand-navy, #071a33);
    color: #fff;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .promo-banner-content {
        padding: 1.25rem 1rem;
    }

    .home-preview-benefits {
        grid-template-columns: 1fr;
    }
}

/* ---------- Admin login ---------- */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #e8f2fb 0%, var(--brand-light) 45%, #dceaf8 100%);
    display: flex;
    flex-direction: column;
}

.admin-login-page .login-card {
    border: 1px solid rgba(0, 87, 184, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.admin-login-page .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: var(--focus-ring);
}

/* ---------- Floating cart ---------- */
.floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background-color: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(7, 26, 51, 0.28);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
}

.floating-cart:hover,
.floating-cart:focus {
    transform: scale(1.06);
    color: white;
    text-decoration: none;
    background-color: var(--brand-navy);
}

.floating-cart .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #c62828;
    color: white;
    border-radius: 50%;
    padding: 2px;
    font-size: 12px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .floating-cart {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

/* ---------- Misc ---------- */
.breadcrumb {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 87, 184, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--brand-blue);
    font-weight: bold;
}

.toast-notification,
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--brand-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    z-index: 9999;
}

.table {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table th {
    background-color: var(--brand-light);
    border: none;
}

.table td {
    vertical-align: middle;
    border-color: var(--brand-light);
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 87, 184, 0.1);
    padding: 0.5rem;
    z-index: 1050 !important;
}

.dropdown-item:hover {
    background-color: rgba(0, 87, 184, 0.08);
    color: var(--brand-navy);
}

.site-navbar,
.admin-navbar {
    position: relative;
    z-index: 1020;
    overflow: visible !important;
}

.site-navbar .navbar-collapse,
.admin-navbar .navbar-collapse {
    overflow: visible !important;
}

.admin-navbar {
    background: linear-gradient(135deg, #0057b8 0%, #071a33 100%) !important;
    min-height: 3.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.admin-navbar .admin-navbar-brand {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.admin-navbar .admin-navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    border-color: rgba(255, 255, 255, 0.45);
}

.admin-navbar .admin-nav-link,
.admin-navbar .nav-link.admin-nav-link {
    color: rgba(255, 255, 255, 0.9);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
}

.admin-navbar .admin-nav-link:hover,
.admin-navbar .admin-nav-link:focus,
.admin-navbar .admin-nav-link.active,
.admin-navbar .admin-nav-link[aria-current="page"] {
    color: #fff;
    background: rgba(0, 174, 239, 0.22);
}

.admin-navbar .admin-nav-logout {
    color: #ffd9d9;
}

.mensaje-pedidos {
    color: var(--brand-navy);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.texto-destacado {
    color: var(--brand-dark);
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0.8rem;
}

.opciones-pago {
    color: var(--brand-muted);
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
}

.destacar {
    color: #c62828;
    font-weight: 600;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.45s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cart-item {
        padding: 1rem !important;
    }

    .cart-item .row > div {
        margin-bottom: 0.75rem;
    }

    .cart-item .input-group {
        max-width: 100px !important;
        margin: 0 auto;
    }

    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card-img-container,
    .product-card.product-height-normal .product-media {
        height: 180px;
    }

    .product-card.product-height-compact .product-media {
        height: 140px;
    }

    .product-card.product-height-large .product-media {
        height: 220px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-content,
    .fade-in {
        animation: none !important;
    }

    .card:hover,
    .product-card:hover,
    .category-card:hover,
    .floating-cart:hover,
    .benefits-section .benefit-block:hover,
    .benefit-block:hover {
        transform: none;
    }
}

/* Avoid horizontal overflow */
body,
main,
.container {
    max-width: 100%;
    overflow-x: clip;
}
