/* Maxsus stillar va zamonaviy moda tipografiyasi */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-serif: 'Bodoni Moda', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --color-primary: #121212;
    --color-accent: #C5A880;
    --color-bg-subtle: #F9F9F8;
}

body {
    font-family: var(--font-sans);
    background-color: #FFFFFF;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
}

.font-editorial {
    font-family: var(--font-serif);
}

/* 3:4 Moda portret nisbati */
.aspect-fashion {
    aspect-ratio: 3 / 4;
}

/* Kartochka tasvirlari animatsiyasi */
.product-image-container {
    overflow: hidden;
    position: relative;
    background-color: #F3F3F1;
}

.product-image-primary {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.product-image-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .product-image-primary {
    transform: scale(1.05);
}

.group:hover .product-image-secondary {
    opacity: 1;
    transform: scale(1.05);
}

/* Maxsus skrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Shisha effekti (Glassmorphism) */
.glass-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Modal va Drawer animatsiyalari */
.modal-backdrop {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.drawer-content {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rang nuqtasi effekti */
.color-swatch-ring {
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #121212;
}

/* Maxsus tugma uslublari */
.btn-luxury {
    background: #121212;
    color: #FFFFFF;
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-luxury:hover {
    background: #2E2E2E;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-luxury-outline {
    border: 1px solid #121212;
    color: #121212;
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-luxury-outline:hover {
    background: #121212;
    color: #FFFFFF;
}

/* Toast xabari */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #121212;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease forwards;
    pointer-events: auto;
}

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