/* --- Shop Pre-Sale Refined Styles --- */

/* Grid Layout */
.grid-shop-drops {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-shop-drops { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-shop-drops { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
    .grid-shop-drops { grid-template-columns: repeat(5, 1fr); }
}

/* Consistent Card Styling */
.shop-item-card {
    position: relative;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 340px;
    backdrop-filter: blur(20px);
    cursor: pointer;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.shop-item-card:hover {
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8);
}

/* Accessible Focus State */
.shop-item-card:focus-visible {
    outline: 2px solid var(--combat-indigo);
    outline-offset: 4px;
}

/* Banner Deal - Full Row Spanning & Premium Cinematic Polish */
@media (min-width: 640px) {
    .shop-item-card.banner-deal {
        grid-column: 1 / -1;
    }
}

.shop-item-card.banner-deal {
    position: relative;
    background-color: #020617;
    /* Layered Background System */
    background-image: 
        /* Vignette + Edge Fades to Black */
        radial-gradient(circle, transparent 10%, rgba(2, 6, 23, 0.6) 60%, #020617 100%),
        /* Brand Glow + Dark Overlay */
        linear-gradient(165deg, rgba(15, 23, 42, 0.8) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(2, 6, 23, 0.95) 100%),
        /* Boxing Asset */
        url('/cssn/combat/assets/boxing-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal, normal, luminosity;
    
    border: 2px solid rgba(99, 102, 241, 0.3);
    min-height: auto;
    box-shadow: 
        0 40px 100px -20px rgba(0, 0, 0, 1), 
        inset 0 0 120px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(99, 102, 241, 0.05);
}

.shop-item-card.banner-deal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.shop-item-card.banner-deal:hover {
    border-color: var(--combat-indigo-bright);
    box-shadow: 
        0 60px 140px -30px rgba(0, 0, 0, 1), 
        0 0 60px rgba(99, 102, 241, 0.25),
        inset 0 0 50px rgba(99, 102, 241, 0.1);
    background-color: #050505;
}

/* Ensure content stays above background layers */
.shop-item-card.banner-deal > * {
    position: relative;
    z-index: 1;
}

.venue-location-label {
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
}

.banner-bullets {
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Dominant Pricing Block for Banner Deal */
.deal-pricing-block {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    z-index: 20;
    text-align: right;
}

.price-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.original-price-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.1em;
}

.strikethrough {
    color: #ef4444;
    text-decoration: line-through;
    margin-left: 6px;
    font-size: 1.25rem;
    font-weight: 900;
}

.deal-price-label {
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    color: var(--combat-indigo);
    letter-spacing: 0.25em;
    margin-top: 8px;
    font-style: italic;
    text-shadow: 0 0 15px var(--combat-indigo-glow);
}

.main-deal-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4.5rem, 7vw, 7.5rem);
    font-weight: 950;
    line-height: 0.8;
    color: #fff;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.6), 0 10px 40px rgba(0,0,0,0.5);
    margin: 10px 0;
    letter-spacing: -0.04em;
}

.savings-badge {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    padding: 6px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    font-style: italic;
}

@media (max-width: 900px) {
    .deal-pricing-block {
        position: relative;
        top: 0; right: 0;
        margin: 1.5rem 0 2.5rem;
        text-align: center;
        width: 100%;
        order: -1;
    }
    .price-stack {
        align-items: center;
    }
    .main-deal-price {
        font-size: 5.5rem;
    }
}

/* CTA Button Shine Animation for SPECIAL banner */
.banner-cta-btn {
    position: relative;
    overflow: hidden;
}

.banner-cta-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(30deg);
    animation: cta-shine 3.5s infinite;
}

@keyframes cta-shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.shop-item-card.banner-deal:hover .banner-cta-btn {
    animation: cta-pulse 1.5s infinite;
}

/* Category Specific Accent Glows */
.cat-apparel { border-top: 2px solid #6366f1; }
.cat-apparel:hover { box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 30px rgba(99, 102, 241, 0.1); border-color: #818cf8; }

.cat-accessories { border-top: 2px solid #94a3b8; }
.cat-accessories:hover { box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 30px rgba(148, 163, 184, 0.1); border-color: #cbd5e1; }

.cat-bundles { border-top: 2px solid #f59e0b; }
.cat-bundles:hover { box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 30px rgba(245, 158, 11, 0.1); border-color: #fbbf24; }

.cat-kits { border-top: 2px solid #ef4444; }
.cat-kits:hover { box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8), 0 0 30px rgba(239, 68, 68, 0.1); border-color: #f87171; }

/* Selected State */
.shop-item-card.is-selected {
    border-color: var(--combat-indigo);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 40px var(--combat-indigo-glow);
    transform: translateY(-4px) scale(1.02);
}

.item-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 8px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #64748b;
    opacity: 0.8;
}

.price-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.85rem;
    border-radius: 99px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 950;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.shop-item-card:hover .price-tag {
    background: var(--combat-indigo);
    border-color: #818cf8;
}

.item-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0.5rem;
}

.shop-item-card:hover .item-icon-box {
    color: white;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.1) rotate(4deg);
}

.select-item-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-item-card:hover .select-item-btn { 
    color: #fff; 
    gap: 12px;
}

/* Form Styles */
.input-label {
    display: block;
    font-size: 9px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #64748b;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.form-input-premium {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input-premium:focus {
    border-color: var(--combat-indigo);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

select.form-input-premium {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
}

/* Submit Button Disabled State */
.btn-tactical:disabled {
    opacity: 0.35;
    cursor: not-allowed !important;
    box-shadow: none !important;
    filter: grayscale(1);
    transform: none !important;
}

.btn-tactical:disabled:hover {
    background: var(--combat-indigo); /* Maintain base color */
    box-shadow: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes pulse-indigo {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.form-pulse {
    animation: pulse-indigo 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .glass-module { padding: 2rem !important; border-radius: 2rem !important; }
}