/* ==========================================================
   CATALOG & PRODUCT GRID (OHSOME REDESIGNED SPEC)
   ========================================================== */
.catalog {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 16px 48px;
    box-sizing: border-box;
}

/* Redesigned Catalog Heading Bar */
.catalog-header-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.catalog-header-text {
    display: flex;
    flex-direction: column;
}
.catalog-badge-pill {
    background: #FEF9C3;
    border: 1px solid #FDE047;
    color: #854D0E;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    width: fit-content;
}
.catalog-badge-pill i { color: #CA8A04; }
.catalog-heading-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 900;
    color: #111315;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.catalog-heading-desc {
    font-size: 0.88rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}
.view-all-products-btn {
    background: #111315;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(17, 19, 21, 0.15);
}
.view-all-products-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 19, 21, 0.25);
}

/* Quick Category Filter Chips */
.catalog-quick-chips {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.chips-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.chips-title i { color: #EAB308; }
.chips-scroll-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}
.chips-scroll-track::-webkit-scrollbar {
    display: none;
}
.cat-chip-btn {
    background: #F3F4F6;
    border: 1.5px solid #E5E7EB;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cat-chip-btn:hover {
    background: #FFD12F;
    border-color: #FFD12F;
    color: #111315;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 209, 47, 0.3);
}
.cat-chip-btn.active {
    background: #FFD12F;
    border-color: #FFD12F;
    color: #111315;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(255, 209, 47, 0.35);
}

/* Modern Unified Filter Toolbar */
.catalog-toolbar {
    background: #FFFFFF;
    border: 1.5px solid #F0F2F5;
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.catalog-form-unified {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}
.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-field-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
}
.filter-search-wrap {
    flex: 2 1 280px;
    min-width: 220px;
}
.search-input-box {
    position: relative;
    width: 100%;
}
.search-inner-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 0.95rem;
    pointer-events: none;
}
.search-input-box input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 0.9rem;
    color: #111315;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.search-input-box input:focus {
    border-color: #FFD12F;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 209, 47, 0.2);
}

.filter-select-wrap {
    flex: 1 1 180px;
    min-width: 150px;
}
.select-box-wrap {
    position: relative;
    width: 100%;
}
.select-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 0.95rem;
    pointer-events: none;
}
.select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 0.75rem;
    pointer-events: none;
}
.select-box-wrap select {
    width: 100%;
    height: 44px;
    padding: 0 34px 0 40px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 0.88rem;
    font-weight: 600;
    color: #111315;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}
.select-box-wrap select:focus {
    border-color: #FFD12F;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 209, 47, 0.2);
}

.catalog-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.filter-submit-btn {
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    background: #FFD12F;
    color: #111315;
    font-weight: 800;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(255, 209, 47, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
}
.filter-submit-btn:hover {
    background: #FFC700;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 209, 47, 0.45);
}
.reset-filter-btn {
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #F3F4F6;
    color: #4B5563;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1.5px solid #E5E7EB;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.reset-filter-btn:hover {
    background: #E5E7EB;
    color: #111315;
}

.catalog-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

/* ==========================================================
   PRODUCT GRID (MOBILE 2-COL, DESKTOP 4-5 COL)
   ========================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .catalog {
        padding: 20px 12px 36px;
    }
    .catalog-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }
    .catalog-heading-title {
        font-size: 1.3rem;
    }
    .catalog-heading-desc {
        font-size: 0.8rem;
    }
    .view-all-products-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.84rem;
    }
    .catalog-quick-chips {
        margin-bottom: 14px;
        gap: 6px;
    }
    .chips-title {
        font-size: 0.72rem;
    }
    .cat-chip-btn {
        font-size: 0.76rem;
        padding: 5px 11px;
    }
    .catalog-toolbar {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 20px;
    }
    .catalog-form-unified {
        gap: 10px;
    }
    .filter-search-wrap {
        width: 100%;
        flex: 1 1 100%;
    }
    .filter-select-wrap {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }
    .select-box-wrap select {
        padding: 0 24px 0 32px;
        font-size: 0.8rem;
        height: 42px;
    }
    .select-icon-left {
        left: 10px;
        font-size: 0.82rem;
    }
    .select-chevron {
        right: 8px;
    }
    .search-input-box input {
        height: 42px;
        font-size: 0.85rem;
        padding: 0 12px 0 38px;
    }
    .search-inner-icon {
        left: 12px;
        font-size: 0.85rem;
    }
    .catalog-filter-actions {
        width: 100%;
        display: flex;
        gap: 8px;
        margin-top: 2px;
    }
    .filter-submit-btn {
        flex: 1;
        justify-content: center;
        height: 42px;
        font-size: 0.84rem;
    }
    .reset-filter-btn {
        flex: 1;
        justify-content: center;
        height: 42px;
        font-size: 0.84rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: auto;
        box-sizing: border-box;
    }
    .add-cart-btn {
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 36px !important;
        padding: 0 !important;
        border-radius: 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .add-cart-btn .btn-text {
        display: none !important;
    }
    .add-cart-btn i {
        font-size: 1.15rem !important;
        margin: 0 !important;
    }
    .buy-now-btn {
        flex: 1 !important;
        height: 36px !important;
        padding: 0 6px !important;
        font-size: 0.78rem !important;
        border-radius: 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
    }
    .buy-now-btn .btn-text {
        display: inline !important;
    }
    .buy-now-btn i {
        font-size: 0.95rem !important;
        margin: 0 !important;
    }
    .catalog-load-progress-wrap {
        padding: 0 8px;
    }
    .catalog-load-more-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
    }
}

/* Product Card */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(255, 209, 47, 0.15);
    border-color: #FFD12F;
}
.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    background: var(--surface-soft);
    margin-bottom: 10px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover img {
    transform: scale(1.04);
}
.product-card-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    background: var(--surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}
.product-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    color: var(--brand-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.product-card p {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0 0 8px;
}
.product-card strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-ink);
    margin: 0 0 8px;
    display: block;
}
.product-card > .stock-badge {
    margin-bottom: 12px;
    align-self: flex-start;
}

/* Scroll Anchor Offset to prevent header overlap */
#catalog-section,
#catalog-title,
.catalog {
    scroll-margin-top: 115px;
}

.product-card-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.product-card-actions button {
    height: 38px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 750;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    padding: 0 8px;
    line-height: 1;
    text-decoration: none;
}
.product-card-actions button i {
    font-size: 0.95rem;
    flex-shrink: 0;
    margin: 0;
}
.product-card-actions button .btn-text {
    margin: 0 !important;
    align-self: center !important;
    white-space: nowrap;
    line-height: 1;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Button 1: Tambah ke Keranjang (Balanced Cream/Amber Tone) */
.add-cart-btn {
    background: #FFFDF5;
    color: #92400E;
    border: 1.5px solid #FDE68A !important;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}
.add-cart-btn:hover {
    background: #FEF3C7;
    border-color: #F59E0B !important;
    color: #78350F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.22);
}
.add-cart-btn:active {
    transform: translateY(0);
}
.add-cart-btn i {
    color: #CA8A04;
    transition: transform 0.2s ease;
}
.add-cart-btn:hover i {
    transform: scale(1.15);
}

/* Button 2: Beli Sekarang (Vibrant Gold Hero CTA) */
.buy-now-btn {
    background: var(--brand-yellow, #FFD12F);
    color: #111827;
    border: 1.5px solid #FBBF24 !important;
    flex: 1.15;
    min-width: 0;
    font-weight: 850;
    box-shadow: 0 3px 10px rgba(255, 209, 47, 0.35);
    padding: 0 8px;
}
.buy-now-btn:hover {
    background: #FCC800;
    border-color: #F59E0B !important;
    color: #0F172A;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 209, 47, 0.5);
}
.buy-now-btn:active {
    transform: translateY(0);
}
.buy-now-btn i {
    color: #111827;
    transition: transform 0.2s ease;
}
.buy-now-btn:hover i {
    transform: scale(1.15);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination button {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.15s;
}
.pagination button:hover:not(:disabled) {
    border-color: var(--brand-ink);
    background: var(--surface-muted);
}
.pagination button:disabled {
    background: var(--brand-yellow);
    color: var(--brand-ink);
    border-color: var(--brand-yellow);
    cursor: default;
    box-shadow: 0 2px 6px rgba(255, 209, 47, 0.35);
}

/* ==========================================================
   SKELETON LOADER (MODERN APP SHIMMER PLACEHOLDERS)
   ========================================================== */
.skeleton-card {
    background: #FFFFFF;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: skeletonPulseIn 0.35s ease-out both;
}
@keyframes skeletonPulseIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        #F1F5F9 0%,
        #E2E8F0 35%,
        #FFFFFF 50%,
        #E2E8F0 65%,
        #F1F5F9 100%
    );
    background-size: 200% 100%;
    animation: skeletonWave 1.3s infinite ease-in-out;
    border-radius: 8px;
}

@keyframes skeletonWave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-img-box {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
}

.skeleton-line {
    height: 14px;
    border-radius: 6px;
}
.skeleton-line.title {
    width: 85%;
    height: 18px;
    margin-top: 4px;
}
.skeleton-line.sku {
    width: 50%;
    height: 12px;
}
.skeleton-line.price {
    width: 65%;
    height: 20px;
}
.skeleton-line.badge {
    width: 45%;
    height: 22px;
    border-radius: 9999px;
}
.skeleton-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.skeleton-btn-box {
    flex: 1;
    height: 34px;
    border-radius: 9999px;
}

/* Staggered Card Entrance Animation */
.product-card {
    animation: fadeInProductCard 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--card-index, 0) * 0.04s);
}
@keyframes fadeInProductCard {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Infinite Scroll Loader Bar */
.catalog-scroll-status {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    gap: 10px;
    width: 100%;
}
.scroll-load-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill, 9999px);
    background: #FFFFFF;
    border: 1px solid var(--border, #E5E7EB);
    color: var(--brand-ink, #111315);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.scroll-load-pill i.spinner-icon {
    display: inline-block;
    animation: spinLoader 0.7s linear infinite;
    color: var(--brand-yellow, #FFD12F);
}
@keyframes spinLoader {
    to { transform: rotate(360deg); }
}
.scroll-end-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill, 9999px);
    background: var(--surface-muted, #F1F3F5);
    color: #64748B;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ==========================================================
   LIHAT SEMUA PRODUK & FILTER ACTIONS
   ========================================================== */
.view-all-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--brand-yellow, #FFD12F);
    color: var(--brand-ink, #111315);
    border: none;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 209, 47, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-all-products-btn:hover {
    background: #ffc700;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 209, 47, 0.45);
}
.view-all-products-btn:active {
    transform: scale(0.96);
}

.catalog-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reset-filter-btn {
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-pill, 999px);
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.reset-filter-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
}

/* ==========================================================
   PROGRESSIVE ON-DEMAND LOAD MORE (PROGRESS BAR & BUTTON)
   ========================================================== */
.catalog-load-section {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.catalog-load-progress-wrap {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.catalog-load-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary, #64748B);
    font-weight: 600;
}
.catalog-load-stats strong {
    color: var(--brand-ink, #0F172A);
}
.catalog-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--surface-muted, #E2E8F0);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.catalog-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ca8a04 0%, #FFD12F 100%);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-ink, #0F172A);
    border: 1.5px solid var(--border, #E2E8F0);
    font-size: 0.92rem;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-load-more-btn:hover {
    border-color: var(--brand-yellow, #FFD12F);
    background: #FFFDF5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 209, 47, 0.25);
    color: #92400e;
}
.catalog-load-more-btn:active {
    transform: scale(0.97);
}
.catalog-load-more-btn.is-loading {
    pointer-events: none;
    opacity: 0.75;
}
.catalog-load-more-btn .spinner-icon {
    animation: spinLoader 0.7s linear infinite;
    color: #ca8a04;
}
.catalog-all-loaded-msg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 600;
}
.catalog-all-loaded-msg i {
    color: #16a34a;
    font-size: 1rem;
}

/* ==========================================================
   FLY-TO-CART ANIMATION & FEEDBACK
   ========================================================== */
.fly-cart-bubble {
    position: fixed;
    z-index: 9999999;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: 2.5px solid var(--brand-yellow, #FFD12F);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22), 0 0 18px rgba(255, 209, 47, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}
.fly-cart-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Cart Destination Animations */
.cart-bounce-pop {
    animation: cartBouncePop 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
@keyframes cartBouncePop {
    0% { transform: scale(1); }
    35% { transform: scale(1.35) rotate(-10deg); color: #FF6B00; }
    65% { transform: scale(1.2) rotate(8deg); }
    85% { transform: scale(0.95) rotate(-2deg); }
    100% { transform: scale(1); }
}

.cart-badge-bounce {
    animation: badgeBounce 0.55s ease-out !important;
}
@keyframes badgeBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.6); background: #EF4444; color: #FFF; box-shadow: 0 0 14px rgba(239, 68, 68, 0.7); }
    100% { transform: scale(1); }
}

/* Plus 1 Floating Indicator */
.cart-plus-one {
    position: fixed;
    z-index: 9999999;
    pointer-events: none;
    font-size: 0.85rem;
    font-weight: 900;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    animation: floatUpFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes floatUpFade {
    0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; }
    30% { transform: translate(-50%, -10px) scale(1.15); opacity: 1; }
    80% { transform: translate(-50%, -24px) scale(1); opacity: 0.9; }
    100% { transform: translate(-50%, -36px) scale(0.85); opacity: 0; }
}

/* Added Button Success Pulse */
.add-cart-btn.btn-added-success {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
    transform: scale(1.04);
}

/* ==========================================================
   TOAST NOTIFICATION (MOBILE & DESKTOP FRIENDLY)
   ========================================================== */
.store-toast-container {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
@media (max-width: 768px) {
    .store-toast-container {
        top: 16px;
        left: 16px;
        right: 16px;
    }
}
.store-toast {
    pointer-events: auto;
    background: #111827;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.store-toast.hiding {
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
}
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-18px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.store-toast-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.store-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.store-toast-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}
.store-toast-link {
    background: var(--brand-yellow, #FFD12F);
    color: #111827;
    font-weight: 750;
    font-size: 0.8rem;
    padding: 7px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s;
}
.store-toast-link:hover {
    transform: scale(1.05);
}
