/* =====================================================================
   NOVA TELA INICIAL MODERNA (ESTILO DELIVERY APP / MOCKUP)
   ===================================================================== */

/* ── Top Search Bar ── */
.store-search-container {
    max-width: 800px;
    margin: 15px auto 25px;
    padding: 0 10px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--input-bg, #1e1e1e);
    border: 1.5px solid var(--input-border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 6px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.search-input-wrapper:focus-within {
    border-color: var(--accent-color, #e91e63);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
}

.search-input-wrapper .search-icon {
    color: var(--text-light, #888);
    font-size: 1.1rem;
    margin-right: 12px;
}

.search-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color, #fff);
    font-size: 1rem;
    padding: 10px 0;
    font-family: inherit;
}

.search-input-wrapper input::placeholder {
    color: var(--text-light, #777);
    font-size: 0.95rem;
}

.search-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent-color, #e91e63);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-filter-btn:hover {
    background: var(--accent-color, #e91e63);
    color: white;
}

/* ── Categorias ── */
.categories-section {
    margin-bottom: 30px;
}

.categories-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 5px;
}

.categories-header-row .cat-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--text-light, #888);
    text-transform: uppercase;
}

.categories-header-row .cat-scroll-hint {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color, #e91e63);
    display: flex;
    align-items: center;
    gap: 6px;
}

.categories-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 5px 0;
}

.categories-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.categories-scroll-track {
    display: flex;
    gap: 10px;
    width: max-content;
    padding: 2px 2px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg, #1a1a1a);
    color: var(--text-color, #eee);
    border: 1px solid var(--input-border, rgba(255, 255, 255, 0.08));
    border-radius: 25px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
}

.category-pill i {
    font-size: 0.95rem;
    color: inherit;
    transition: color 0.25s ease;
}

.category-pill:hover {
    background: rgba(233, 30, 99, 0.14) !important;
    border-color: var(--accent-color, #e91e63) !important;
    color: var(--accent-color, #e91e63) !important;
    transform: translateY(-2px);
    box-shadow: none !important;
}

.category-pill:hover i {
    color: var(--accent-color, #e91e63) !important;
}

.category-pill.active {
    background: linear-gradient(135deg, #e91e63, #ff4081) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.category-pill.active i {
    color: #ffffff !important;
}

/* ── Promo Banner Card (Hero 3D Showcase) ── */
.promo-banner-container {
    position: relative;
    margin-top: 15px;
    margin-bottom: 28px;
}

@media (min-width: 901px) {
    .promo-banner-container {
        margin-top: 15px !important;
        margin-bottom: 32px !important;
    }
}

.btn-edit-banner-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    background: rgba(255, 42, 116, 0.18);
    border: 1px solid rgba(255, 42, 116, 0.4);
    color: #ff80ab !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 42, 116, 0.2);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-edit-banner-badge:hover {
    background: linear-gradient(135deg, #ff2a74, #e91e63);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 116, 0.45);
    border-color: transparent;
}

.promo-carousel-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
}

.promo-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: stretch;
}

.promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.promo-banner-card {
    --slide-accent: #ff2a74;
    background: radial-gradient(circle at 74% 50%, rgba(255, 42, 116, 0.16) 0%, rgba(255, 42, 116, 0.02) 48%, transparent 72%), linear-gradient(135deg, #16161c 0%, #0d0d12 100%);
    border: 1px solid rgba(255, 42, 116, 0.22);
    border-radius: 26px;
    padding: 32px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    min-height: 270px;
    box-sizing: border-box;
}

[data-theme="light"] .promo-banner-card {
    background: radial-gradient(circle at 74% 50%, rgba(255, 42, 116, 0.14) 0%, rgba(255, 42, 116, 0.03) 50%, transparent 70%), linear-gradient(135deg, #fff5f8 0%, #ffe6ef 100%);
    border: 1px solid rgba(255, 42, 116, 0.25);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.1);
}

/* ── Coluna Esquerda: Textos ── */
.promo-banner-content {
    flex: 1;
    max-width: 48%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--slide-accent, #ff2a74);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.promo-tag-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--slide-accent, #ff2a74), #ff6090);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 0 12px rgba(255, 42, 116, 0.45);
    flex-shrink: 0;
}

.promo-title {
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-family: inherit;
    letter-spacing: -0.5px;
}

[data-theme="light"] .promo-title {
    color: #1a1a1f;
}

.promo-title-highlight {
    color: var(--slide-accent, #ff4081);
    font-weight: 950;
    text-shadow: 0 0 20px rgba(255, 64, 129, 0.7), 0 0 40px rgba(255, 42, 116, 0.35);
    display: inline-block;
}

.promo-subtitle {
    font-size: 0.94rem;
    line-height: 1.5;
    color: #a1a1aa;
    margin: 0 0 20px 0;
    max-width: 440px;
    font-weight: 400;
}

[data-theme="light"] .promo-subtitle {
    color: #55555e;
}

.promo-action-wrapper {
    margin-bottom: 18px;
}

.btn-promo-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--slide-accent, #ff2a74), #e91e63);
    box-shadow: 0 8px 24px rgba(255, 42, 116, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: fit-content;
}

.btn-promo-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 42, 116, 0.6);
    filter: brightness(1.08);
}

.btn-promo-action i {
    transition: transform 0.25s ease;
    font-size: 0.85rem;
}

.btn-promo-action:hover i {
    transform: translateX(4px);
}

.promo-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.promo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="light"] .promo-dot {
    background: rgba(0, 0, 0, 0.15);
}

.promo-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--slide-accent, #ff2a74);
    box-shadow: 0 0 10px rgba(255, 42, 116, 0.6);
}

/* ── Coluna Direita: Showcase com Pódio 3D, Card de Preço e Tag ── */
.promo-banner-showcase {
    flex: 1;
    max-width: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 220px;
}

/* Card de Preço */
.promo-price-card {
    background: rgba(20, 20, 26, 0.85);
    border: 2px solid var(--slide-accent, #ff2a74);
    border-radius: 20px;
    padding: 14px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    box-shadow: 0 0 25px rgba(255, 42, 116, 0.3), inset 0 0 15px rgba(255, 42, 116, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    animation: priceCardFloat 4s ease-in-out infinite alternate;
}

[data-theme="light"] .promo-price-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
}

.promo-price-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #e4e4e7;
    text-transform: uppercase;
    margin-bottom: 2px;
}

[data-theme="light"] .promo-price-label {
    color: #333333;
}

.promo-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--slide-accent, #ff2a74);
    margin: 2px 0;
}

.promo-price-currency {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-right: 4px;
}

[data-theme="light"] .promo-price-currency {
    color: #1a1a1f;
}

.promo-price-amount {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px var(--slide-accent, #ff2a74), 0 0 22px var(--slide-accent, #ff2a74), 0 0 35px rgba(255, 42, 116, 0.6);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

[data-theme="light"] .promo-price-amount {
    color: var(--slide-accent, #e91e63);
    text-shadow: 0 0 12px rgba(233, 30, 99, 0.4);
}

.promo-price-subtext {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #e4e4e7;
    text-transform: uppercase;
    margin-top: 3px;
}

[data-theme="light"] .promo-price-subtext {
    color: #333333;
}

/* Palco / Pódio 3D */
.promo-stage-wrap {
    position: relative;
    width: 175px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo-neon-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2.5px solid var(--slide-accent, #ff2a74);
    box-shadow: 0 0 25px var(--slide-accent, #ff2a74), 0 0 50px rgba(255, 42, 116, 0.4), inset 0 0 25px rgba(255, 42, 116, 0.3);
    pointer-events: none;
    z-index: 2;
    animation: haloPulse 3.5s ease-in-out infinite alternate;
}

.promo-podium-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    height: 44px;
    background: radial-gradient(ellipse at center top, #32323e 0%, #15151a 80%);
    border-radius: 50%;
    border-top: 3px solid var(--slide-accent, #ff4081);
    box-shadow: 0 -4px 20px rgba(255, 64, 129, 0.8), 0 15px 30px rgba(0,0,0,0.85);
    z-index: 1;
}

[data-theme="light"] .promo-podium-base {
    background: radial-gradient(ellipse at center top, #ffffff 0%, #e0e0e0 80%);
    box-shadow: 0 -4px 15px rgba(233, 30, 99, 0.4), 0 10px 20px rgba(0,0,0,0.15);
}

.promo-podium-base::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(255, 42, 116, 0.45) 0%, transparent 70%);
    filter: blur(6px);
    border-radius: 50%;
}

.promo-product-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    z-index: 3;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-product-element:hover {
    transform: translate(-50%, -62%) scale(1.05);
}

.promo-zoom-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(18, 18, 24, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    opacity: 0.85;
    transition: all 0.25s ease;
    z-index: 5;
}

.promo-product-element:hover .promo-zoom-badge {
    opacity: 1;
    transform: scale(1.15);
    background: var(--slide-accent, #ff2a74);
    border-color: var(--slide-accent, #ff2a74);
    box-shadow: 0 0 14px var(--slide-accent, #ff2a74);
}

.promo-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.7)) drop-shadow(0 0 14px rgba(255, 42, 116, 0.3));
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 18px;
    pointer-events: auto;
}

.promo-product-img:hover {
    transform: translateY(-6px) scale(1.04);
}

.promo-product-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.4rem;
    color: var(--slide-accent, #ff4081);
    filter: drop-shadow(0 0 18px var(--slide-accent, #ff4081)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
    animation: floatIcon 3.5s ease-in-out infinite alternate;
}

/* Tag Flutuante de Desconto */
.promo-discount-tag {
    position: absolute;
    right: -16px;
    top: 36px;
    z-index: 4;
    background: linear-gradient(135deg, var(--slide-accent, #ff2a74) 0%, #d81b60 100%);
    color: #ffffff;
    padding: 10px 14px 8px;
    border-radius: 10px 10px 12px 12px;
    transform: rotate(12deg);
    box-shadow: 0 8px 25px rgba(255, 42, 116, 0.55);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: floatDiscountTag 3.5s ease-in-out infinite alternate;
    pointer-events: none;
    white-space: nowrap;
}

.promo-discount-tag::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #16161c;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

/* ── Keyframe Animations ── */
@keyframes floatDiscountTag {
    0% { transform: rotate(12deg) translateY(0); }
    100% { transform: rotate(10deg) translateY(-7px); }
}

@keyframes haloPulse {
    0% { opacity: 0.85; transform: translate(-50%, -58%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -58%) scale(1.03); }
}

@keyframes priceCardFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes floatIcon {
    0% { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-7px) rotate(4deg); }
}

/* ── Responsividade Mobile & Tablet ── */
@media (max-width: 900px) {
    .promo-banner-card {
        flex-direction: column;
        padding: 26px 20px;
        gap: 22px;
        text-align: center;
    }

    .promo-banner-content {
        max-width: 100%;
        align-items: center;
    }

    .promo-title {
        font-size: 1.85rem;
    }

    .promo-subtitle {
        font-size: 0.88rem;
    }

    .promo-action-wrapper {
        width: 100%;
    }

    .btn-promo-action {
        width: 100%;
        justify-content: center;
    }

    .promo-banner-showcase {
        max-width: 100%;
        gap: 14px;
        justify-content: center;
    }

    .promo-price-card {
        min-width: 120px;
        padding: 10px 14px;
    }

    .promo-price-amount {
        font-size: 1.8rem;
    }

    .promo-stage-wrap {
        width: 145px;
        height: 175px;
    }

    .promo-neon-halo {
        width: 135px;
        height: 135px;
    }

    .promo-podium-base {
        width: 135px;
        height: 36px;
    }

    .promo-product-element {
        width: 110px;
        height: 110px;
    }

    .promo-product-icon-box {
        font-size: 3.6rem;
    }

    .promo-discount-tag {
        right: -8px;
        top: 25px;
        font-size: 0.72rem;
        padding: 8px 10px 6px;
    }
}

@media (max-width: 480px) {
    .promo-banner-card {
        padding: 22px 14px;
        border-radius: 20px;
    }

    .promo-title {
        font-size: 1.6rem;
    }

    .promo-banner-showcase {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .promo-price-card {
        min-width: 105px;
        padding: 8px 10px;
    }

    .promo-price-amount {
        font-size: 1.6rem;
    }

    .promo-stage-wrap {
        width: 130px;
        height: 160px;
    }

    .promo-neon-halo {
        width: 120px;
        height: 120px;
    }

    .promo-podium-base {
        width: 120px;
        height: 32px;
    }

    .promo-product-element {
        width: 95px;
        height: 95px;
    }

    .promo-product-icon-box {
        font-size: 3.2rem;
    }
}

/* ── Section Title Row ── */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    padding: 0 5px;
}

.section-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-color, #fff);
    margin: 0 0 4px 0;
    font-family: inherit;
}

.section-subheading {
    font-size: 0.9rem;
    color: var(--text-light, #888);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-toggles {
    display: flex;
    gap: 6px;
    background: var(--input-bg, #1a1a1a);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--input-border, rgba(255,255,255,0.06));
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-light, #888);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn.active {
    background: var(--accent-color, #e91e63);
    color: white;
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ── Products Grid Divider ── */
.products-grid-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 15px;
    width: 100%;
}

.products-grid-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

[data-theme="light"] .products-grid-divider .divider-line {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
}

.products-grid-divider .divider-text {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-light, #999);
    background: var(--input-bg, #1e1e1e);
    padding: 7px 18px;
    border-radius: 20px;
    border: 1px solid var(--input-border, rgba(255, 255, 255, 0.08));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ── Product Grid - List View Mode ── */
.product-grid.list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.product-grid.list-view .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 120px !important;
    border-radius: 18px !important;
}

.product-grid.list-view .product-image-container {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 18px 0 0 18px !important;
}

.product-grid.list-view .product-info {
    padding: 12px 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.product-grid.list-view .product-title {
    font-size: 1rem !important;
    margin: 0 0 4px 0 !important;
}

.product-grid.list-view .product-desc {
    font-size: 0.82rem !important;
    margin: 0 0 8px 0 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
}

.product-grid.list-view .product-bottom-row {
    padding-top: 6px !important;
    margin-top: auto !important;
}

.product-grid.list-view .badge-top-left {
    top: 8px !important;
    left: 8px !important;
    padding: 2px 7px !important;
    font-size: 0.65rem !important;
}

.product-grid.list-view .badge-top-right {
    top: 8px !important;
    right: 8px !important;
    padding: 2px 6px !important;
    font-size: 0.68rem !important;
}

.product-grid.list-view .product-category-icon-tag {
    bottom: 8px !important;
    left: 8px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
}

/* ── Product Card Modern ── */
.product-card {
    background: var(--card-bg, #181818);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--input-border, rgba(255, 255, 255, 0.06));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(233, 30, 99, 0.3);
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--input-bg, #141414);
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    text-decoration: none;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.overlay-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: translateY(10px);
    transition: transform 0.25s ease;
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

/* Badges */
.badge-top-left {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

.product-category-icon-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 2px solid var(--accent-color, #e91e63);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.product-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color, #fff);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-light, #888);
    line-height: 1.45;
    margin: 0 0 16px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--input-border, rgba(255, 255, 255, 0.05));
}

.product-price-col {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color, #e91e63);
}

.btn-add-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(233, 30, 99, 0.5);
}

.btn-add-circle:active {
    transform: scale(0.95);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    .product-info {
        padding: 14px 12px 12px;
    }
    .product-title {
        font-size: 0.95rem;
    }
    .product-price {
        font-size: 1.1rem;
    }
    .btn-add-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ── Lightbox Modal do Post / Destaque ── */
.highlight-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-modal-container {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.highlight-lightbox-overlay.active .lightbox-modal-container {
    transform: scale(1) translateY(0);
}

.btn-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1e1e26;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lightbox-close:hover {
    transform: scale(1.12) rotate(90deg);
    background: var(--lightbox-accent, #ff2a74);
    border-color: var(--lightbox-accent, #ff2a74);
    box-shadow: 0 0 20px var(--lightbox-accent, #ff2a74);
}

.lightbox-media-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 65vh;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #111116;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-bottom: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--lightbox-accent, rgba(255, 42, 116, 0.3));
}

.lightbox-img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    border-radius: 22px 22px 0 0;
}

.lightbox-icon-box {
    padding: 60px 20px;
    font-size: 6.5rem;
    color: var(--lightbox-accent, #ff4081);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 25px var(--lightbox-accent, #ff4081));
}

.lightbox-caption-card {
    width: 100%;
    background: #16161f;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 24px 24px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-text-col {
    flex: 1;
    min-width: 0;
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.lightbox-title span {
    color: var(--lightbox-accent, #ff4081);
    font-weight: 900;
    text-shadow: 0 0 12px var(--lightbox-accent, #ff4081);
}

.lightbox-desc {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.4;
}

.btn-lightbox-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--lightbox-accent, #ff2a74), #e91e63);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(255, 42, 116, 0.4);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-lightbox-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255, 42, 116, 0.6);
    filter: brightness(1.08);
}

@media (max-width: 600px) {
    .lightbox-modal-container {
        max-width: 95vw;
    }
    .lightbox-media-wrapper {
        max-height: 52vh;
    }
    .lightbox-img {
        max-height: 52vh;
    }
    .lightbox-caption-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
        padding: 14px 16px;
    }
    .btn-lightbox-cta {
        justify-content: center;
    }
    .btn-lightbox-close {
        top: -10px;
        right: -6px;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

