/* Shop Page Styles */
.shop-hero {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-red) 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        );
    pointer-events: none;
}

.shop-hero .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.shop-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.storefronts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.storefront-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.1),
        0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.storefront-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.storefront-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 25px rgba(0,0,0,0.1);
}

.storefront-card:hover::before {
    opacity: 1;
}

.storefront-card.featured {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--gold), var(--accent-red)) border-box;
    position: relative;
}

.storefront-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    border-radius: 22px;
    z-index: -1;
}

.storefront-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.storefront-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-red), #e74c3c);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    z-index: 2;
}

.storefront-content {
    padding: 35px;
    position: relative;
    z-index: 2;
}

.storefront-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.storefront-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.storefront-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    color: var(--gold);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Shop Button Fixes */
.shop-btn {
    width: auto;
    max-width: 280px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.shop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.shop-btn:hover::before {
    left: 100%;
}

.shop-btn i {
    transition: transform 0.3s ease;
}

.shop-btn:hover i {
    transform: translateX(3px);
}

.categories-grid {
    margin-top: 80px;
}

.category-section {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.category-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
}

.category-title i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 12px 28px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(0,0,0,0.08);
}

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

.product-card.featured {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--gold), var(--accent-red)) border-box;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.discount-badge,
.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 2;
}

.discount-badge {
    background: linear-gradient(135deg, var(--accent-red), #e74c3c);
}

.featured-badge {
    background: linear-gradient(135deg, var(--gold), #f39c12);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
    line-height: 1.3;
}

.product-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    margin: 15px 0;
}

.discount {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 14px;
    background: rgba(220, 53, 69, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
}

.price {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.product-btn {
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    display: block;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: auto;
    max-width: 200px;
    justify-content: center;
    margin: 15px auto 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
    position: relative;
    text-align: center;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.product-btn:hover::before {
    left: 100%;
}

.product-btn i {
    transition: transform 0.3s ease;
}

.product-btn:hover i {
    transform: translateX(2px);
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.code-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 
        0 12px 28px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 18px 18px 0 0;
}

.code-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(0,0,0,0.08);
}

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

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.code-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

.discount-amount {
    background: linear-gradient(135deg, var(--accent-red), #e74c3c);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.code-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.code {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 16px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--black);
    border: 2px dashed var(--gold);
    flex: 1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    font-size: 16px;
}

.copy-btn {
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 80px;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.copy-btn:hover::before {
    left: 100%;
}

.auto-applied {
    color: #28a745;
    font-size: 18px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 12px 28px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 18px 18px 0 0;
}

.benefit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 8px 20px rgba(0,0,0,0.08);
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
    line-height: 1.3;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Toast Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    animation: slideInRight 0.3s ease;
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: var(--accent-red);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-hero {
        padding: 80px 20px 60px;
    }
    
    .shop-hero .page-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .shop-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .storefronts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .storefront-content {
        padding: 25px;
    }
    
    .category-title {
        font-size: 1.6rem;
        gap: 12px;
    }
    
    .category-title i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .codes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .code-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .code-display {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .copy-btn {
        width: 100%;
        padding: 12px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .benefit-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
        margin-bottom: 15px;
    }
}
/* Shop Content */
.shop-content {
    padding-bottom: 4rem;
}

.featured-shops {
    padding-top: 4rem;
}