/* assets/css/shop_theme.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --bg-dark: #ffffff;
    --bg-card: #f9f9f9;
    --bg-input: #f0f0f0;
    --text-primary: #000000;
    --text-secondary: #555555;
    --gold: #000000;
    --gold-dim: #333333;
    --gold-glow: rgba(0, 0, 0, 0.1);
    --border-color: #dddddd;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --whatsapp: #000000;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-bottom: 80px;
    position: relative;
}

/* Background Blur */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../images/fondo1.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    /* Ensure it stays with the fixed div */
    filter: blur(3px) grayscale(100%);
    z-index: -1;
    transform: scale(1.05);
    opacity: 0.1;
    pointer-events: none;
}



/* Titles & Typography */
h1,
h2,
h3,
h4 {
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: var(--gold);
}

/* --- Header --- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    /* Center the logo */
    align-items: center;
    height: 80px;
    /* Reduced header height */
    /* Enforce height */
}

/* Logo Link Container */
.app-header>a {
    z-index: 2;
    /* Ensure clicks */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text img {
    height: 100px;
    /* Bigger Logo */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    /* Pop against background */
    transition: transform 0.3s;
}

.header-actions {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 3;
}

/* --- Category Pills --- */
.category-scroll {
    display: flex;
    overflow-x: auto;
    padding: 15px 20px;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* --- Sticky Filters Wrapper --- */
.sticky-filters-wrapper {
    position: sticky;
    top: 80px; /* Matches header height */
    z-index: 95;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    /* By default hidden until scrolled */
}

.sticky-filters-wrapper.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sticky-filters-wrapper.static {
    position: relative;
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cat-pill:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--gold-glow);
}

@keyframes pillActiveGlow {
    0% { box-shadow: 0 4px 12px var(--gold-glow); transform: scale(1.05); }
    50% { box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4); transform: scale(1.08); }
    100% { box-shadow: 0 4px 12px var(--gold-glow); transform: scale(1.05); }
}

.cat-pill.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    font-weight: 800;
    animation: pillActiveGlow 2s infinite ease-in-out;
}

/* Forzar siempre 2 columnas, nunca 1 */
.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* En desktop sigue siendo auto-fill */
@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Pantallas pequeñas (320px–390px) */
@media (max-width: 390px) {
    .product-grid {
        gap: 8px;
        padding: 0 8px 40px;
    }

    .product-card {
        padding: 8px;
    }

    .product-img {
        height: 110px;
    }

    .product-brand {
        font-size: 0.6rem;
    }

    .product-title {
        font-size: 0.75rem;
        height: auto;
        -webkit-line-clamp: 2;
    }

    .product-price,
    .current-price {
        font-size: 0.8rem;
    }

    .original-price {
        font-size: 0.7rem;
    }

    .add-btn {
        font-size: 0.7rem;
        padding: 6px 4px;
        letter-spacing: 0;
    }

    .size-pill-xs {
        font-size: 0.55rem;
        padding: 2px 4px;
    }
}



/* --- Size Filter Bar --- */
.size-scroll {
    display: flex;
    overflow-x: auto;
    padding: 10px 20px 20px;
    gap: 10px;
    scrollbar-width: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: slideDown 0.3s ease-out;
}

.size-scroll::-webkit-scrollbar {
    display: none;
}

.size-filter-pill {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Circle */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    flex: 0 0 auto;
}

.size-filter-pill:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 4px 10px var(--gold-glow);
}

@keyframes sizeActiveGlow {
    0% { box-shadow: 0 0 10px var(--gold-glow); transform: scale(1.15); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); transform: scale(1.2); }
    100% { box-shadow: 0 0 10px var(--gold-glow); transform: scale(1.15); }
}

.size-filter-pill.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    font-weight: 800;
    animation: sizeActiveGlow 1.5s infinite ease-in-out;
    z-index: 2;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Promo Layout --- */
.hero-promo-layout {
    display: none; /* toggled by JS */
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    gap: 15px;
}

@media (min-width: 1024px) {
    .hero-promo-layout {
        flex-direction: row;
        padding: 0;
        max-width: 100%;
        margin: 0 0 30px 0;
        gap: 0;
    }
}

.hero-promo-products {
    display: none; /* Oculto en móviles */
}

@media (min-width: 1024px) {
    .hero-promo-products {
        display: none !important; /* Ocultamos los cuadros de productos en PC */
    }
}

/* --- Hero Promo Slider --- */
.hero-slider-container {
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
    flex: 1.5;
}

@media (min-width: 1024px) {
    .hero-slider-container {
        border-radius: 0;
        box-shadow: none;
    }
}

.hero-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    height: auto; /* Height adapts to the image naturally on mobile */
    background: #0a0a0a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* On desktop limit the max height so it doesn't grow huge on wide screens */
@media (min-width: 1024px) {
    .hero-slide {
        height: 550px; /* Reduced from 100vh to show products below */
    }
}

.hero-slide picture {
    display: block;
    width: 100%;
    height: auto;
}

.hero-img {
    width: 100%;
    height: auto;
    /* object-fit cover only really affects desktop where height is fixed */
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

@media (min-width: 1024px) {
    .hero-img {
        height: 100%;
    }
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Original Price */
.original-price {
    text-decoration: line-through;
    text-decoration-color: #ff3333;
    text-decoration-thickness: 2px;
    color: #888;
    font-weight: 600;
    font-size: 0.9em;
    margin-right: 5px;
    opacity: 0.9;
}

/* Price Labels & Logic */
.price-label-small {
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.price-label-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 4px;
}

.current-price {
    color: var(--gold);
    font-weight: 800;
}

/* Out of Stock Badges */
.out-of-stock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.out-of-stock-badge-slider {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3333;
    color: white;
    padding: 2px 8px;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 4px;
    z-index: 5;
}

/* Mobile Adjustments for Badges and Prices */
@media (max-width: 600px) {
    .price-label-small {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    .current-price {
        font-size: 0.95rem;
    }

    .original-price {
        font-size: 0.8rem;
    }

    .out-of-stock-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    .product-footer {
        padding-top: 6px;
    }
}

/* --- Hero Slider (Product Fallback) --- */
.slider-container {
    padding: 0 20px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 20px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-color), transparent);
}

.product-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.slider-card {
    min-width: 280px;
    background: linear-gradient(145deg, var(--bg-card), #ffffff);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

.slider-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.slider-info {
    flex: 1;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 0 20px 40px;
}

@media (min-width: 600px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}


.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle gold border */
    transition: transform 0.2s, background 0.3s;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
    background: rgba(240, 240, 240, 0.9);
    border-color: var(--gold);
}

.product-card:active {
    transform: scale(0.98);
}

.product-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.product-card:hover .product-img {
    transform: scale(1.05) translateY(-5px);
}

.product-brand {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
    /* Fixed height for 2 lines */
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Added subtle divider */
    padding-top: 10px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.add-btn {
    padding: 6px 16px;
    border-radius: 20px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.add-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Sizes badge --- */
.size-badge-container {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.size-pill-xs {
    font-size: 0.65rem;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    color: #555;
}

/* --- General Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    /* Bottom sheet on mobile */
    justify-content: center;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        /* Center on desktop */
    }
}

.bottom-sheet {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 20px 20px 0 0;
    padding: 10px 20px 0 20px;
    /* Reduced top padding */
    height: auto;
    /* Give more height instead of 85 */
    max-height: 90vh;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    animation: slideUp 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    padding: 5px;
    transition: color 0.3s;
}

.modal-close-btn:hover {
    color: var(--gold);
}

@media (min-width: 768px) {
    .bottom-sheet {
        border-radius: 20px;
        width: 500px;
        height: auto;
        max-height: 90vh;
        animation: zoomIn 0.2s ease-out;
        border: 1px solid var(--border-color);
        padding-bottom: 25px;
    }
}

/* Scrollable Body */
.modal-scrollable-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
    /* Scrollbar hidden mainly */
    scrollbar-width: none;
}

.modal-scrollable-body::-webkit-scrollbar {
    display: none;
}

/* Footer Fixed */
.modal-footer-fixed {
    flex: 0 0 auto;
    padding: 10px 0 15px;
    /* Compact padding */
    background: #ffffff;
    border-top: 1px solid #ddd;
    z-index: 10;
}


/* --- Animations --- */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Product Detail Modal Specifics --- */
.modal-handle-bar {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 10px;
    flex: 0 0 auto;
}

.modal-img-wrapper {
    width: 100%;
    /* Fixed height relative to viewport */
    height: 40vh;
    /* Increased for better visibility */
    min-height: 250px;
    background: transparent;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .modal-img-wrapper {
        height: 45vh;
        /* Taller on desktop */
    }
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.thumb-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #333;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.2s;
    cursor: pointer;
}

.thumb-img.active {
    border-color: var(--gold);
    opacity: 1;
    transform: scale(1.05);
}

.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.size-btn {
    min-width: 45px;
    padding: 6px;
    text-align: center;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.size-btn.selected {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    font-weight: 700;
}

.size-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    text-decoration: line-through;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 30px;
    padding: 5px 15px;
    border: 1px solid #ddd;
}

.qty-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 1.2rem;
    padding: 5px 10px;
    cursor: pointer;
}

/* --- Checkout Modal Steps --- */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s;
    border: 2px solid #ffffff;
}

.step-dot.active {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    margin-left: 5px;
}

.form-input {
    width: 100%;
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--gold);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.selected {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.05);
}

.payment-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

/* Primary Button */
.btn-primary {
    width: 100%;
    background: var(--gold);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    width: 100%;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #f0f0f0;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Radio Chips for Order Type */
.radio-chip {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.radio-chip i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.radio-chip.selected {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 4px 15px var(--gold-glow);
    font-weight: 700;
}

/* Strict mobile overrides */
@media (max-width: 600px) {
    .product-grid {
        gap: 8px;
        /* 8px gap on mobile */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 400px) {
    .product-card {
        padding: 8px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-img {
        height: 110px;
        margin-bottom: 6px;
    }

    .product-brand {
        font-size: 0.6rem;
        margin-bottom: 3px;
    }

    .product-title {
        font-size: 0.75rem;
        height: 2.6em;
        margin-bottom: 5px;
    }

    .price-group {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .product-price {
        font-size: 0.8rem;
    }

    .current-price {
        font-size: 0.8rem !important;
    }

    .original-price {
        font-size: 0.7rem !important;
    }

    .add-btn {
        font-size: 0.7rem;
        padding: 6px 4px;
        width: 100%;
    }

    .size-pill-xs {
        font-size: 0.55rem;
        padding: 2px 4px;
    }

    .product-footer {
        padding-top: 5px;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }
}