/* ==================== CSS RESET & ROOT VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2e7d32;
    --primary-green-light: #4caf50;
    --primary-green-dark: #1b5e20;
    --secondary-orange: #ff9800;
    --accent-red: #e53935;
    --accent-pink: #e91e63;
    --accent-pink-light: #f48fb1;
    --accent-blue: #1976d2;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #212121;
    --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    --gradient-pink: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #f48fb1;
    border-radius: 3px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ad1457, #e91e63, #f06292);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.site-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.page-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
    padding: 20px 15px 40px;
    min-height: calc(100vh - 65px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* ==================== SUMMARY CARD ==================== */
.summary-card {
    background: linear-gradient(135deg, #ad1457, #e91e63, #f06292);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.summary-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.summary-info h2 {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 4px;
}

.summary-count {
    font-size: 2.2rem;
    font-weight: 700;
}

.summary-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== Summary Action Buttons - Matched ===== */
.add-all-btn,
.clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-all-btn {
    background: var(--white);
    color: var(--accent-pink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.add-all-btn:active {
    transform: scale(0.97);
}

.clear-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.clear-btn:hover {
    background: var(--white);
    color: var(--accent-red);
    transform: translateY(-2px);
}

.clear-btn:active {
    transform: scale(0.97);
}

/* ==================== WISHLIST GRID ==================== */
.wishlist-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* Wishlist Item Card */
.wishlist-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.wishlist-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.item-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.wishlist-item:hover .item-image img {
    transform: scale(1.05);
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--accent-red);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 10;
}

.wishlist-item:hover .remove-btn {
    opacity: 1;
}

.remove-btn:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: scale(1.08);
}

.item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.item-content {
    padding: 14px;
}

.item-category {
    font-size: 0.68rem;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green-dark);
}

.original-price {
    font-size: 0.82rem;
    color: var(--medium-gray);
    text-decoration: line-through;
}

.discount-percent {
    font-size: 0.72rem;
    color: var(--accent-red);
    font-weight: 600;
}

.item-actions {
    display: flex;
    gap: 8px;
}

/* ===== Add to Cart Button - Matched ===== */
.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.add-to-cart-btn:active {
    transform: scale(0.97);
}

/* ===== Quick View Button - Matched ===== */
.quick-view-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 12px;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-view-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.quick-view-btn:active {
    transform: scale(0.97);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    padding: 50px 20px;
    text-align: center;
}

.empty-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon i {
    font-size: 2.8rem;
    color: var(--accent-pink);
}

.empty-content h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.empty-content p {
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.88rem;
}

/* ===== Shop Now Button - Matched ===== */
.shop-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: linear-gradient(135deg, #e91e63, #f48fb1);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.shop-now-btn:active {
    transform: scale(0.97);
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    color: var(--dark-gray);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    max-width: 420px;
    width: 90%;
    border-left: 4px solid var(--primary-green);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success { border-left-color: var(--primary-green); }
.toast.error { border-left-color: var(--accent-red); }
.toast.info { border-left-color: var(--accent-blue); }

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.toast-content i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast.success .toast-content i { color: var(--primary-green); }
.toast.error .toast-content i { color: var(--accent-red); }
.toast.info .toast-content i { color: var(--accent-blue); }

.toast-content span {
    font-size: 0.85rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: #bdbdbd;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: var(--off-white);
    color: #757575;
}

/* ==================== LOADING ==================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--accent-pink);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner span {
    color: #757575;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo i {
    color: var(--primary-green-light);
}

.footer-content p {
    color: var(--medium-gray);
    font-size: 0.82rem;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-gray);
    font-size: 0.78rem;
    color: var(--medium-gray);
}

/* ==================== UTILITY ==================== */
.hidden {
    display: none !important;
}

/* ==================== RESPONSIVE - TABLET ==================== */
/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 768px) {
    /* --- NAVBAR FIXED --- */
    .navbar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    /* FIXED: Logo visible on mobile */
    .nav-left {
        display: flex;
    }

    .site-name {
        font-size: 1.05rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav-right {
        margin-left: auto;
        gap: 6px;
    }

    /* FIXED: Back button text visible */
    .back-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 4px;
        border-radius: 8px;
    }

    .back-btn span {
        font-size: 0.72rem;
    }

    .cart-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 0.9rem;
    }

    /* --- MAIN CONTENT --- */
    .main-content {
        padding: 12px 10px 30px;
    }

    /* --- SUMMARY CARD --- */
    .summary-card {
        padding: 18px;
    }

    .summary-header {
        gap: 12px;
        margin-bottom: 14px;
    }

    .summary-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.3rem;
    }

    .summary-count {
        font-size: 1.8rem;
    }

    .summary-info h2 {
        font-size: 0.88rem;
    }

    .summary-actions {
        flex-direction: column;
        gap: 8px;
    }

    .add-all-btn,
    .clear-btn {
        width: 100%;
        min-width: unset;
    }

    /* --- WISHLIST GRID --- */
    .wishlist-section {
        padding: 14px;
        border-radius: 12px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wishlist-item:hover {
        transform: none;
    }

    .item-image {
        height: 140px;
    }

    /* Always show remove button on touch devices */
    .remove-btn {
        opacity: 1 !important;
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.8rem;
        top: 8px;
        right: 8px;
    }

    .item-badge {
        padding: 3px 8px;
        font-size: 0.6rem;
        top: 8px;
        left: 8px;
    }

    .item-content {
        padding: 10px;
    }

    .item-category {
        font-size: 0.62rem;
        margin-bottom: 3px;
    }

    .item-name {
        font-size: 0.82rem;
        margin-bottom: 5px;
    }

    .item-price-row {
        gap: 6px;
        margin-bottom: 10px;
    }

    .current-price {
        font-size: 0.95rem;
    }

    .original-price {
        font-size: 0.72rem;
    }

    .discount-percent {
        font-size: 0.65rem;
    }

    .item-actions {
        flex-direction: column;
        gap: 6px;
    }

    .add-to-cart-btn {
        padding: 11px 14px;
        font-size: 0.8rem;
    }

    .quick-view-btn {
        width: 100%;
        height: 38px;
        border-radius: 10px;
    }

    /* --- EMPTY STATE --- */
    .empty-state {
        padding: 35px 15px;
    }

    .empty-icon {
        width: 80px;
        height: 80px;
    }

    .empty-icon i {
        font-size: 2.2rem;
    }

    .empty-content h3 {
        font-size: 1.05rem;
    }

    .empty-content p {
        font-size: 0.82rem;
    }

    .shop-now-btn {
        width: 100%;
        min-width: unset;
    }

    /* --- TOAST --- */
    .toast {
        width: 94%;
        bottom: 16px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 20px 15px;
    }

    .footer-logo {
        font-size: 1rem;
    }
}

/* ==================== RESPONSIVE - SMALL MOBILE ==================== */
@media (max-width: 480px) {
    /* --- NAVBAR --- */
    .navbar {
        padding: 8px 10px;
        gap: 6px;
    }

    .site-name {
        font-size: 0.88rem;
    }

    .logo-icon {
        font-size: 1.1rem;
    }

    .back-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
        gap: 3px;
    }

    .back-btn span {
        font-size: 0.65rem;
    }

    .cart-link {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }

    .page-title {
        font-size: 0.82rem;
    }

    /* --- WISHLIST GRID --- */
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .item-image {
        height: 120px;
    }

    .remove-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 0.7rem;
        top: 6px;
        right: 6px;
    }

    .item-badge {
        padding: 2px 6px;
        font-size: 0.55rem;
        top: 6px;
        left: 6px;
    }

    .item-content {
        padding: 8px;
    }

    .item-category {
        font-size: 0.58rem;
    }

    .item-name {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .current-price {
        font-size: 0.88rem;
    }

    .original-price {
        font-size: 0.68rem;
    }

    .discount-percent {
        font-size: 0.6rem;
    }

    .add-to-cart-btn {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .quick-view-btn {
        height: 34px;
        font-size: 0.82rem;
    }

    /* --- SUMMARY CARD --- */
    .summary-card {
        padding: 14px;
    }

    .summary-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }

    .summary-count {
        font-size: 1.5rem;
    }

    .summary-info h2 {
        font-size: 0.8rem;
    }

    .add-all-btn,
    .clear-btn,
    .shop-now-btn {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    /* --- EMPTY STATE --- */
    .empty-state {
        padding: 30px 12px;
    }

    .empty-icon {
        width: 70px;
        height: 70px;
    }

    .empty-icon i {
        font-size: 2rem;
    }

    .empty-content h3 {
        font-size: 0.95rem;
    }

    .empty-content p {
        font-size: 0.78rem;
        margin-bottom: 20px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 18px 12px;
    }

    .footer-logo {
        font-size: 0.95rem;
    }

    .footer-content p {
        font-size: 0.78rem;
    }

    .footer-bottom {
        font-size: 0.72rem;
        margin-top: 12px;
        padding-top: 12px;
    }
}

/* ==================== RESPONSIVE - VERY SMALL ==================== */
@media (max-width: 340px) {
    /* --- NAVBAR --- */
    .navbar {
        padding: 6px 8px;
        gap: 5px;
    }

    .site-name {
        font-size: 0.78rem;
    }

    .logo-icon {
        font-size: 1rem;
    }

    /* Only hide back button text at extreme small */
    .back-btn span {
        display: none;
    }

    .back-btn {
        width: 28px;
        height: 28px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-full);
        font-size: 0.75rem;
    }

    .cart-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .cart-count {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
    }

    .page-title {
        font-size: 0.75rem;
    }

    /* --- WISHLIST GRID --- */
    .wishlist-grid {
        gap: 6px;
    }

    .item-image {
        height: 100px;
    }

    .remove-btn {
        width: 22px;
        height: 22px;
        min-width: 22px;
        font-size: 0.6rem;
        top: 4px;
        right: 4px;
    }

    .item-badge {
        padding: 1px 4px;
        font-size: 0.5rem;
        top: 4px;
        left: 4px;
    }

    .item-content {
        padding: 6px;
    }

    .item-category {
        font-size: 0.52rem;
    }

    .item-name {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .item-price-row {
        gap: 4px;
        margin-bottom: 8px;
    }

    .current-price {
        font-size: 0.78rem;
    }

    .original-price {
        font-size: 0.62rem;
    }

    .discount-percent {
        font-size: 0.55rem;
    }

    .add-to-cart-btn {
        padding: 8px;
        font-size: 0.7rem;
        gap: 4px;
    }

    .quick-view-btn {
        height: 30px;
        font-size: 0.75rem;
    }

    /* --- SUMMARY CARD --- */
    .summary-card {
        padding: 12px;
    }

    .summary-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .summary-count {
        font-size: 1.3rem;
    }

    .summary-info h2 {
        font-size: 0.72rem;
    }

    .add-all-btn,
    .clear-btn,
    .shop-now-btn {
        padding: 10px;
        font-size: 0.75rem;
    }

    /* --- TOAST --- */
    .toast {
        width: 92%;
        bottom: 12px;
        padding: 10px 14px;
    }

    .toast-content span {
        font-size: 0.78rem;
    }

    .toast-content i {
        font-size: 0.95rem;
    }

    /* --- EMPTY STATE --- */
    .empty-state {
        padding: 24px 10px;
    }

    .empty-icon {
        width: 60px;
        height: 60px;
    }

    .empty-icon i {
        font-size: 1.7rem;
    }

    .empty-content h3 {
        font-size: 0.88rem;
    }

    .empty-content p {
        font-size: 0.72rem;
        margin-bottom: 16px;
    }

    /* --- FOOTER --- */
    .footer {
        padding: 14px 10px;
    }

    .footer-logo {
        font-size: 0.85rem;
    }

    .footer-content p {
        font-size: 0.72rem;
    }

    .footer-bottom {
        font-size: 0.65rem;
        margin-top: 10px;
        padding-top: 10px;
    }
}
/* ==================== PRINT ==================== */
@media print {
    .navbar,
    .footer,
    .toast,
    .loading-overlay,
    .summary-actions,
    .item-actions,
    .remove-btn {
        display: none !important;
    }

    body {
        background: var(--white);
    }

    .wishlist-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .wishlist-item {
        break-inside: avoid;
    }
}