/* Style 9: The Fluid Canvas - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --theme-teal: #00bfa5;
    --theme-teal-light: #e6fcf9;
    --liquid-bg: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --premium-shadow: 0 15px 35px rgba(0,0,0,0.08);
    --rounded-xl: 16px;
    --rounded-lg: 12px;
    --rounded-md: 8px;
    --navbar-midnight: rgba(15, 23, 42, 0.9);
    --navbar-midnight-solid: #0f172a;
}

.text-theme-teal { color: var(--theme-teal) !important; }
.bg-theme-teal { background-color: var(--theme-teal) !important; }
.btn-theme-teal { background-color: var(--theme-teal) !important; color: white !important; }

body {
    font-family: 'Outfit', sans-serif !important;
    background: var(--liquid-bg) !important;
    color: #2d3436;
    padding-top: 100px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    background-attachment: fixed !important;
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6, .section-title-modern {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
}

.section-title-modern {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Components */
.rounded-4 { border-radius: 25px !important; }
.shadow-premium { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important; }
.transition-base { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Glassmorphism Navigation */
.glass-effect {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.glass-effect-dark {
    background: var(--navbar-midnight) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.logo-badge-modern {
    background: white;
    padding: 5px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-badge-modern:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.nav-link-light {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.nav-link-light:hover {
    color: #00bfa5 !important;
}

.action-item-light {
    color: white !important;
}

.action-item-light:hover {
    color: #00bfa5 !important;
}

.icon-circle-premium {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-circle-premium:hover {
    background: rgba(0, 191, 165, 0.15);
    border-color: rgba(0, 191, 165, 0.3);
    transform: translateY(-2px);
}

.badge-count-mobile {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3f6c;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50px;
    border: 2px solid var(--navbar-midnight-solid);
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(255, 63, 108, 0.3);
}

/* Mobile Menu Premium Dropdown */
@media (max-width: 991.98px) {
    body { padding-top: 85px !important; }
    .container-fluid { padding-left: 15px !important; padding-right: 15px !important; }
    
    .product-img-stage { height: 180px !important; }
    .product-card-modern { padding: 8px !important; }

    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 0 0 20px 20px;
        margin: 0 -15px;
        padding: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    
    .nav-link-mobile-custom {
        color: white !important;
        font-weight: 700;
        font-size: 1.1rem;
        padding: 12px 15px !important;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }
    
    .nav-link-mobile-custom:active, .nav-link-mobile-custom:hover {
        background: rgba(0, 191, 165, 0.15);
        color: #00bfa5 !important;
    }
}

/* Instagram-Style Story Icons */
.story-ring {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    padding: 3px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.category-circle-modern {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #fff;
}

.category-circle-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-name-modern {
    display: block;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 5px;
    font-family: 'Outfit', sans-serif;
}

/* Style 9 Product Cards */
.product-card-modern {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12) !important;
}

.product-img-stage {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-brand-modern {
    font-size: 14px;
    font-weight: 800;
    color: #00bfa5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
}

.product-name-modern {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 10px;
}

.price-current {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
}

/* Navigation Utilities */
.scrollbar-hidden::-webkit-scrollbar { display: none; }

.btn-teal-modern {
    background: #00bfa5 !important;
    color: white !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    padding: 10px 30px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-teal-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 191, 165, 0.3);
}

/* Mobile Adjustments */
/* Component: Category Stories (Instagram Style) */
.category-slider-wrapper { position: relative; z-index: 10; }
.categorySwiper { padding: 5px 0 15px; }

.swiper-button-next-modern, .swiper-button-prev-modern {
    position: absolute;
    top: 45%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: #00bfa5;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}
.swiper-button-next-modern:after, .swiper-button-prev-modern:after {
    font-family: swiper-icons;
    font-size: 15px;
    font-weight: bold;
}
.swiper-button-next-modern:after { content: 'next'; }
.swiper-button-prev-modern:after { content: 'prev'; }

.swiper-button-next-modern:hover, .swiper-button-prev-modern:hover {
    background: #00bfa5 !important;
    color: white !important;
    transform: scale(1.1);
}
.swiper-button-next-modern { right: 10px; }
.swiper-button-prev-modern { left: 10px; }

/* Component: Trending Gallery */
.trending-tabs-modern .trend-tab-modern {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.trending-tabs-modern .trend-tab-modern.active { color: #00bfa5 !important; }

.wishlist-overlay-modern {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 5;
}
.product-card-modern:hover .wishlist-overlay-modern { opacity: 1; transform: scale(1); }

.icon-circle {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3436;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rating-badge-modern {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 5;
}

.price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 5px;
}

.discount-pill {
    font-size: 10px;
    font-weight: 800;
    background: #e6fcf9 !important;
    color: #00bfa5 !important;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Component: Featured Gallery (Our Collection) */
.pill-modern {
    background: #fff !important;
    border: none !important;
    color: #64748b !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.pill-modern:hover { color: #00bfa5 !important; transform: translateY(-2px); }
.pill-modern.active { 
    background: #00bfa5 !important; 
    color: #fff !important; 
    box-shadow: 0 10px 20px rgba(0, 191, 165, 0.2); 
}

.product-item-box {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Utils */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.trending-item-wrapper-modern {
    flex: 0 0 320px;
    width: 320px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .trending-item-wrapper-modern {
        flex: 0 0 220px;
        width: 220px;
    }
}

/* Style 9: Final Layout Polish */
.container-fluid { padding-left: 4% !important; padding-right: 4% !important; }
.section-title-modern { margin-bottom: 15px !important; font-size: 20px !important; }

@media (max-width: 768px) {
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
@media (max-width: 768px) {
    .py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
}

/* --- Style 9: Premium Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Micro-Interactions */
.hover-lift { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--premium-shadow); }

.hover-glow:hover { box-shadow: 0 0 20px rgba(0, 191, 165, 0.3); }

.scroll-reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
