/* ============================================================
   STREETSOLE — Stylesheet
   Design: Sneaker Culture / Luxe Urbain
   ============================================================ */

/* ----------------------------------------
   Animations Keyframes
   ---------------------------------------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide-in {
    animation: slideIn 0.6s ease forwards;
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* ----------------------------------------
   Gradient Text
   ---------------------------------------- */
.text-gradient {
    background: linear-gradient(135deg, #E85A2A 0%, #D4A574 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #D4A574 0%, #B8956E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------
   Section Title
   ---------------------------------------- */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #E85A2A, transparent);
    border-radius: 2px;
}

.section-title-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ----------------------------------------
   Glassmorphism
   ---------------------------------------- */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-white {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------
   Cards
   ---------------------------------------- */
.sneaker-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sneaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

.sneaker-card-dark {
    position: relative;
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sneaker-card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(232, 90, 42, 0.3);
}

.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------
   Category Card (Showroom)
   ---------------------------------------- */
.category-card {
    position: relative;
    display: block;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #1a1a1a;
}

.category-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 10;
}

/* ----------------------------------------
   Marquee
   ---------------------------------------- */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* ----------------------------------------
   Badges
   ---------------------------------------- */
.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #0a0a0a;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.badge-hot {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.badge-discount {
    display: inline-flex;
    align-items: center;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #E85A2A;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #d14d20;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: #E85A2A;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid #E85A2A;
    border-radius: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: #E85A2A;
    color: white;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #22c55e;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* ----------------------------------------
   WhatsApp Float Button
   ---------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* ----------------------------------------
   Product Detail
   ---------------------------------------- */
.gallery-main {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #E85A2A;
}

.size-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    padding: 0 0.75rem;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.size-btn:hover {
    border-color: #E85A2A;
}

.size-btn.active {
    background: #E85A2A;
    border-color: #E85A2A;
    color: white;
}

.size-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 0.5rem;
    overflow: hidden;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #f5f5f5;
    font-weight: 600;
    font-size: 1.25rem;
    transition: background 0.2s ease;
    cursor: pointer;
    border: none;
}

.qty-btn:hover {
    background: #e5e5e5;
}

.qty-input {
    width: 3rem;
    height: 3rem;
    text-align: center;
    font-weight: 600;
    border: none;
    background: transparent;
}

/* ----------------------------------------
   Filter & Chips
   ---------------------------------------- */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-chip:hover {
    border-color: #E85A2A;
    color: #E85A2A;
}

.filter-chip.active {
    background: #E85A2A;
    border-color: #E85A2A;
    color: white;
}

/* ----------------------------------------
   Breadcrumb
   ---------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb .separator {
    color: #a3a3a3;
}

.breadcrumb .current {
    color: #737373;
}

/* ----------------------------------------
   Loading Skeleton
   ---------------------------------------- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 768px) {
    .sneaker-card:hover,
    .sneaker-card-dark:hover,
    .card-lift:hover {
        transform: none;
    }
    
    .category-card:hover .category-card-image {
        transform: none;
    }
}




/* ----------------------------------------
   WhatsApp Button
   ---------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}
