/* ===== TOL LUXURY HAIRS - PAGES STYLESHEET (About, Product, Categories, etc.) ===== */

/* Font Smoothing */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Menu Styles */
#mobile-menu-overlay {
    transition: opacity 0.3s ease-in-out;
}

#mobile-menu-overlay.opacity-0 {
    opacity: 0;
}

#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.-translate-x-full {
    transform: translateX(-100%);
}

/* Product Page Specifics */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

.slide-out-left {
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.cart-indicator {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-bar {
    transition: transform 0.3s ease-in-out;
}

.cart-panel-overlay {
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.cart-panel-overlay.active {
    pointer-events: auto;
}

.cart-panel {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), backdrop-filter 0.4s ease;
    transform: translateX(100%);
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-item {
    animation: slideInLeft 0.3s ease-out;
}

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

/* Dropdown Menu Styles */
.dropdown-toggle {
    position: relative;
}

.dropdown-toggle.open {
    color: #D4AF37;
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.dropdown-menu.open {
    max-height: 500px;
}

.dropdown-item {
    padding: 10px 0;
    display: block;
}

/* Cart Panel Specific */
.cart-empty {
    min-height: 300px;
}

/* Scrollbar Hide */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navigation Links */
nav a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #D4AF37;
}

/* Modal Styles */
.modal-overlay {
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    transition: all 0.3s ease;
}

/* Button States */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #D4AF37;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero Video Container */
.hero-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
}

.hero-video-container video,
.hero-video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .dropdown-menu.open {
        max-height: 300px;
    }

    .cart-panel {
        width: 100%;
    }

    header {
        padding: 1rem;
    }
}

@media (min-width: 768px) {
    .glass {
        background: rgba(255, 255, 255, 0.05);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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


