/* ═══════════════════════════════════════════════════════════════════════════
   TIENDA SOLIDARIA IMFUNDO KAHLE - ESTILO EDITORIAL (0px BORDER-RADIUS)
   Replicación 100% fiel de https://imfundoweb.cristopher-v-mendoza.workers.dev/tienda
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700;900&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

.tienda-avanzada-root,
.tienda-catalog-section,
.shop-layout {
    font-family: 'Poppins', 'Inter', sans-serif !important;
    color: #1E293B;
    box-sizing: border-box;
}

.tienda-avanzada-root *,
.tienda-catalog-section *,
.shop-layout * {
    box-sizing: border-box;
    border-radius: 0px !important;
}

/* ── 1. HERO BANNER INTERACTIVO DE 6 CATEGORÍAS (2 SLIDES CON NAVEGACIÓN) ── */
.hero-banner {
    position: relative;
    display: flex;
    width: 100%;
    height: 380px;
    background-color: #181528;
    overflow: hidden;
    border-radius: 0px !important;
    border-bottom: 4px solid #C43430;
}

/* Track del Carrusel (2 Slides de ancho = 200%) */
.hero-track {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Cada slide contiene 3 paneles de categoría (50% del track = 100% viewport) */
.hero-slide {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

/* Paneles individuales de producto / categoría */
.hero-panel {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    cursor: pointer;
    z-index: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #181528;
    overflow: hidden;
    border-radius: 0px !important;
    transition: transform 0.3s ease;
}

.hero-panel:last-child {
    border-right: none;
}

/* Imágenes dentro de los paneles */
.hero-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 0px !important;
}

.hero-panel-img--cover {
    object-fit: cover;
    padding: 0;
}

.hero-panel:hover .hero-panel-img {
    transform: scale(1.08);
}

/* Overlay con gradiente armónico */
.hero-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 21, 40, 0.88) 0%, rgba(24, 21, 40, 0.45) 55%, rgba(24, 21, 40, 0.15) 100%);
    transition: all 0.35s ease;
    z-index: 2;
    border-radius: 0px !important;
}

.hero-panel:hover .hero-panel-overlay {
    background: linear-gradient(to top, rgba(196, 52, 48, 0.90) 0%, rgba(24, 21, 40, 0.55) 60%, rgba(24, 21, 40, 0.2) 100%);
}

/* Contenido de texto y botón */
.hero-panel-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 36px;
    height: 100%;
    gap: 12px;
    transition: transform 0.35s ease;
}

.hero-panel:hover .hero-panel-content {
    transform: translateY(-4px);
}

.hero-panel-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Botón Ver Más */
.btn-ver-mas {
    height: 40px;
    padding: 0 24px;
    background-color: #FFFFFF;
    color: #181528;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 0px !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ver-mas:hover {
    background-color: #C43430;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(196, 52, 48, 0.45);
}

/* Flechas de navegación del Slider */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 0px !important;
    background: rgba(255, 255, 255, 0.95);
    color: #181528;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.banner-arrow:hover {
    background: #C43430;
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.05);
}

.banner-arrow svg {
    width: 20px;
    height: 20px;
}

.banner-arrow-prev { left: 24px; }
.banner-arrow-next { right: 24px; }

@media (max-width: 860px) {
    .hero-banner {
        height: 280px;
    }
    .hero-panel-label {
        font-size: 15px;
    }
    .btn-ver-mas {
        height: 34px;
        padding: 0 16px;
        font-size: 11px;
    }
    .banner-arrow {
        width: 36px;
        height: 36px;
    }
    .banner-arrow-prev { left: 10px; }
    .banner-arrow-next { right: 10px; }
}

@media (max-width: 600px) {
    .hero-banner {
        height: 220px;
    }
    .hero-panel-content {
        padding-bottom: 20px;
        gap: 8px;
    }
    .hero-panel-label {
        font-size: 12px;
    }
}

/* ── 2. LAYOUT GENERAL DE LA TIENDA (ANCHO COMPLETO SIN MÁRGENES ASIMÉTRICOS) ── */
html, body {
    overflow-x: hidden !important;
}

.entry-content,
.wp-block-post-content,
.tienda-hero-container,
.tienda-catalog-section,
.tienda-avanzada-root {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    max-width: 1360px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 32px 24px 64px 24px !important;
    min-width: 0;
    box-sizing: border-box !important;
}

/* ── 3. SIDEBAR DE FILTROS ── */
.filter-sidebar {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 90px;
}

.product-search-wrap {
    position: relative;
    margin-bottom: 20px;
}

.product-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #FAF7F4;
    border: 1px solid #E5E7EB;
    padding: 0 14px;
    height: 46px;
    transition: border-color 0.2s, background-color 0.2s;
}

.product-search-box:focus-within {
    border-color: #C43430;
    background-color: #FFFFFF;
}

.product-search-icon {
    width: 18px;
    height: 18px;
    color: #9CA3AF;
    flex-shrink: 0;
}

.product-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14px;
    color: #111827;
    padding: 0 10px;
    height: 100%;
}

.product-search-box input::placeholder {
    color: #9CA3AF;
}

.product-search-clear {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    border: none;
    color: #4B5563;
    cursor: pointer;
    transition: background 0.2s;
}

.product-search-clear:hover {
    background: #D1D5DB;
    color: #111827;
}

.product-search-clear svg {
    width: 12px;
    height: 12px;
}

.filter-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    overflow: hidden;
}

.filter-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-family: 'Oswald', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #181528;
    cursor: pointer;
    list-style: none;
    background: #FAF7F4;
    user-select: none;
}

.filter-group summary::-webkit-details-marker {
    display: none;
}

.filter-group summary .chevron-down {
    width: 16px;
    height: 16px;
    color: #6B7280;
    transition: transform 0.2s ease;
}

.filter-group[open] summary .chevron-down {
    transform: rotate(180deg);
}

.filter-options {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #4B5563;
    cursor: pointer;
    transition: color 0.15s;
}

.filter-options label:hover {
    color: #C43430;
}

.filter-options input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #C43430;
    cursor: pointer;
}

.btn-clear-filters {
    margin-top: 16px;
    width: 100%;
    padding: 10px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-filters:hover {
    background: #C43430;
    color: #FFFFFF;
    border-color: #C43430;
}

/* ── 4. ÁREA PRINCIPAL Y CATÁLOGO DE PRODUCTOS ── */
.shop-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 10px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #181528;
    cursor: pointer;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
}

/* ── 5. TARJETA DE PRODUCTO (PRODUCT CARD) ── */
.product-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.product-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #C43430;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 10;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #C43430;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product-card:hover:before {
    transform: scaleX(1);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: #F8F6F3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
}

.product-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.04);
}

/* Badges */
.badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.badge-new {
    background-color: #C43430;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    display: inline-block;
}

.sin-stock-ribbon {
    position: absolute;
    background: rgba(196, 52, 48, 0.92);
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 0;
    width: 180%;
    left: -40%;
    top: 36%;
    transform: rotate(-35deg);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Product Info */
.product-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    background: #FFFFFF;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-origin {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #C43430;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-category-tag {
    font-size: 11.5px;
    color: #9CA3AF;
    font-weight: 500;
}

.product-name {
    font-family: 'Oswald', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #181528 !important;
    line-height: 1.25 !important;
    margin: 2px 0 0 0 !important;
    text-transform: uppercase !important;
}

.product-price {
    font-size: 14px;
    color: #181528;
    font-weight: 500;
    margin: 4px 0;
}

.product-price strong {
    font-size: 22px;
    font-weight: 800;
    color: #181528;
    margin-left: 2px;
}

.product-price .old-price {
    color: #9CA3AF;
    text-decoration: line-through;
    font-size: 13px;
    margin-right: 6px;
}

.stock-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #10B981;
    margin-bottom: 6px;
}

.stock-badge.out-of-stock {
    color: #9CA3AF;
}

.stock-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    display: inline-block;
}

.stock-badge.out-of-stock .stock-dot {
    background: #9CA3AF;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: #C43430;
    color: #FFFFFF;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: auto;
}

.btn-add-cart:hover:not(:disabled) {
    background: #991B1B;
}

.btn-add-cart:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
}

/* ── 6. MODAL DE VISTA RÁPIDA (QUICK VIEW) ── */
.tienda-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.tienda-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.tienda-modal-box {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: scale(0.96);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tienda-modal-overlay.is-open .tienda-modal-box {
    transform: scale(1);
}

.tienda-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #F3F4F6;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4B5563;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}

.tienda-modal-close:hover {
    background: #C43430;
    color: #FFFFFF;
}

.tienda-modal-img {
    background: #FAF7F4;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tienda-modal-img img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.tienda-modal-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.tienda-modal-content .modal-origin {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #C43430;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tienda-modal-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #181528;
    margin: 0;
    text-transform: uppercase;
}

.tienda-modal-content p {
    font-size: 13.5px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}

.tienda-modal-content .modal-price {
    font-size: 26px;
    font-weight: 800;
    color: #181528;
}

@media (max-width: 640px) {
    .tienda-modal-box {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ── 7. BOTÓN FLOTANTE DE CARRITO Y DRAWER DE COMPRA ── */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #181528;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 9000;
    border: none;
    transition: transform 0.2s, background 0.2s;
}

.floating-cart-btn:hover {
    background: #C43430;
    transform: scale(1.08);
}

.floating-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #C43430;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.cart-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100vw;
        width: 100vw;
    }
}

.cart-drawer-overlay.is-open .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    background: #FAF7F4;
    box-sizing: border-box;
}

.cart-drawer-header h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    color: #181528 !important;
    letter-spacing: 0.05em;
}

.cart-drawer-close {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.cart-drawer-close:hover {
    background: #C43430;
    color: #FFFFFF;
    border-color: #C43430;
}

.cart-drawer-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.cart-empty-state {
    text-align: center;
    padding: 48px 0;
    color: #9CA3AF;
    font-size: 13.5px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #FAF7F4;
    border: 1px solid #E5E7EB;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

.cart-item-img {
    width: 54px;
    height: 54px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 2px;
}

.cart-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #181528;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.cart-item-meta {
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-stepper {
    display: inline-flex;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    height: 24px;
}

.cart-item-stepper button {
    background: #FAF7F4;
    border: none;
    width: 24px;
    height: 100%;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    color: #181528;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.cart-item-stepper button:hover {
    background: #E5E7EB;
}

.cart-item-stepper span {
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    height: 100%;
}

.cart-item-price {
    font-size: 13.5px;
    font-weight: 800;
    color: #C43430;
    text-align: right;
    white-space: nowrap;
}

.cart-item-delete {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 11px;
    margin-top: 4px;
    padding: 0;
    transition: color 0.15s;
    text-decoration: underline;
    display: block;
    text-align: right;
    width: 100%;
}

.cart-item-delete:hover {
    color: #C43430;
}

.cart-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #E5E7EB;
    background: #FAF7F4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #181528;
    text-transform: uppercase;
}

.btn-cart-checkout {
    width: 100%;
    padding: 13px;
    background: #C43430;
    color: #FFFFFF;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

.btn-cart-checkout:hover {
    background: #991B1B;
}

/* ── 8. TOAST NOTIFICATION ── */
.imfundo-toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #181528;
    color: #FFFFFF;
    border-left: 4px solid #10B981;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.imfundo-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        display: none;
        position: static;
    }
    .filter-sidebar.is-mobile-open {
        display: block !important;
    }
    .mobile-filter-btn {
        display: inline-flex;
    }
}
