/* Reset complet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    color: #000000;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Variables CSS pour les effets */
:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* Interface plein écran */
.yeezy-fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Barre de navigation minimaliste avec effets premium */
.yeezy-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.yeezy-top-bar:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.yeezy-nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yeezy-logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary-black);
    white-space: nowrap;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.yeezy-logo:hover {
    transform: translateY(-1px);
    color: var(--gray-600);
}

.yeezy-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: width var(--transition-normal);
}

.yeezy-logo:hover::after {
    width: 100%;
}

.yeezy-actions {
    display: flex;
    align-items: center;
}

.yeezy-cart {
    position: relative;
    color: var(--primary-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all var(--transition-normal);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.yeezy-cart:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-600);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    text-align: center;
    line-height: 14px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    letter-spacing: 0.3px;
}

.cart-count:empty {
    display: none !important;
}

.cart-count.show {
    animation: cartCountPulse 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cartCountPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .cart-count {
        font-size: 10px;
        padding: 2px 6px;
        min-width: 18px;
        height: 18px;
        line-height: 14px;
        top: -6px;
        right: -6px;
    }
}

/* Modals personnalisés style Yeezy */
.yeezy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.yeezy-modal-overlay.show {
    opacity: 1;
}

.yeezy-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.yeezy-modal-overlay.show .yeezy-modal {
    transform: scale(1) translateY(0);
}

.yeezy-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--gray-200);
}

.yeezy-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 0.5px;
    margin: 0;
}

.yeezy-modal-body {
    padding: 24px;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.6;
}

.yeezy-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--gray-200);
}

.yeezy-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.yeezy-modal-btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.yeezy-modal-btn-secondary:hover {
    background: var(--gray-200);
    transform: translateY(-1px);
}

.yeezy-modal-btn-primary {
    background: var(--primary-black);
    color: var(--white);
}

.yeezy-modal-btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.yeezy-modal-btn-danger {
    background: #dc3545;
    color: var(--white);
}

.yeezy-modal-btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Notification toast style Yeezy */
.yeezy-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-black);
}

.yeezy-toast.show {
    transform: translateX(0);
}

.yeezy-toast.success {
    border-left-color: #28a745;
}

.yeezy-toast.error {
    border-left-color: #dc3545;
}

.yeezy-toast.warning {
    border-left-color: #ffc107;
}

.yeezy-toast-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-black);
    margin: 0;
}

@media (max-width: 768px) {
    .yeezy-modal {
        width: 95%;
        max-width: none;
    }
    
    .yeezy-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Contenu principal avec effets premium */
.yeezy-main-content {
    flex: 1;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(250,250,250,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

/* Grille de produits avec effets premium */
.yeezy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

.yeezy-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 160px;
    flex: 0 0 auto;
    position: relative;
    transform-style: preserve-3d;
    text-decoration: none;
    color: inherit;
}

.yeezy-product:hover {
    transform: translateY(-8px) rotateX(5deg);
    z-index: 10;
}

.yeezy-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.05));
    border-radius: 8px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.yeezy-product:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 240px;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.yeezy-product:hover .product-image {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left var(--transition-slow);
}

.yeezy-product:hover .product-placeholder::before {
    left: 100%;
}

/* Couleurs exactes comme dans l'image */
.product-placeholder.white {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
}

.product-placeholder.light-gray {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.product-placeholder.gray {
    background-color: #d0d0d0;
    border: 1px solid #c0c0c0;
}

.product-placeholder.dark-gray {
    background-color: #808080;
    color: #ffffff;
    border: 1px solid #707070;
}

.product-placeholder.olive {
    background-color: #8b8b5a;
    color: #ffffff;
    border: 1px solid #7a7a4a;
}

.product-placeholder.brown {
    background-color: #8b4513;
    color: #ffffff;
    border: 1px solid #7a3d0f;
}

.product-placeholder.black {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.product-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-black);
    text-align: center;
    letter-spacing: 1px;
    margin-top: 12px;
    transition: all var(--transition-normal);
    position: relative;
}

.yeezy-product:hover .product-code {
    color: var(--gray-600);
    transform: translateY(-2px);
}

.product-code::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-black);
    transition: width var(--transition-normal);
}

.yeezy-product:hover .product-code::after {
    width: 100%;
}



/* Responsive pour mobile */
@media (max-width: 1200px) {
    .yeezy-grid {
        gap: 20px;
        max-width: 800px;
    }
    
    .yeezy-product {
        width: 140px;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .yeezy-grid {
        gap: 15px;
        max-width: 600px;
    }
    
    .yeezy-product {
        width: 120px;
    }
    
    .product-image {
        height: 180px;
    }
    
}

@media (max-width: 480px) {
    .yeezy-grid {
        gap: 12px;
        max-width: 400px;
    }
    
    .yeezy-product {
        width: 100px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-code {
        font-size: 12px;
    }
    
    .yeezy-main-content {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Animations subtiles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yeezy-product {
    animation: fadeIn 0.4s ease-out;
}

.yeezy-product:nth-child(odd) {
    animation-delay: 0.05s;
}

.yeezy-product:nth-child(even) {
    animation-delay: 0.1s;
}

/* États de survol */
.yeezy-product:hover .product-placeholder {
    transform: scale(1.01);
}

.yeezy-product:hover .product-code {
    color: #666;
}

/* Scrollbar masquée */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Masquer les éléments de navigation du navigateur */
body {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Interface plein écran sans onglets */
html {
    overflow: hidden;
}

body {
    overflow: hidden;
}

.yeezy-main-content {
    overflow-y: auto;
    overflow-x: hidden;
}