* { box-sizing: border-box; }

body { 
    background: #1a1a1a; 
    color: #e5e5e5; 
    font-family: system-ui, -apple-system, sans-serif; 
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #2a2a2a; }
::-webkit-scrollbar-thumb { background: #0abab5; border-radius: 10px; }

.scrollbar-hide::-webkit-scrollbar { display: none; }

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #0abab5;
    color: black;
    text-align: center;
    border-radius: 50px;
    padding: 12px 24px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.toast.show { visibility: visible; opacity: 1; }

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.product-modal.open { display: flex; }

.product-modal-content {
    background: #1e1e1e;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.slider-container { position: relative; overflow: hidden; border-radius: 24px; }
.slider-wrapper { display: flex; transition: transform 0.3s ease; }
.slider-img { width: 100%; flex-shrink: 0; object-fit: cover; aspect-ratio: 1 / 1; }

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dot { width: 8px; height: 8px; background: #555; border-radius: 50%; cursor: pointer; transition: 0.2s; }
.dot.active { background: #0abab5; width: 24px; border-radius: 10px; }

.size-btn {
    background: #2a2a2a;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.size-btn.selected, .size-btn:hover { background: #0abab5; color: black; border-color: #0abab5; }

.cart-sidebar {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.cart-sidebar.open { transform: translateX(0); }

.checkout-step { display: none; }
.checkout-step.active { display: block; }

.shipping-option {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.shipping-option.selected { border-color: #0abab5; background: #0abab520; }
.shipping-icon { font-size: 24px; }

.product-card { transition: transform 0.2s; }
.product-card:hover { transform: scale(1.02); }

.product-image-container {
    position: relative;
    overflow: hidden;
    background: #2a2a2a;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-image.hover { opacity: 0; }
.product-image-container:hover .product-image.main { opacity: 0; }
.product-image-container:hover .product-image.hover { opacity: 1; }

.old-price { text-decoration: line-through; color: #888; margin-right: 8px; }
.sale-badge { background: #e63946; color: white; padding: 2px 8px; border-radius: 30px; font-size: 10px; margin-left: 8px; }
.region-badge { background: #0abab5; color: black; padding: 6px 12px; border-radius: 40px; font-size: 12px; font-weight: bold; display: inline-block; margin-top: 8px; }

.continue-btn { background: #3a3a3a; color: #888; cursor: not-allowed; transition: 0.2s; }
.continue-btn.active { background: #0abab5; color: black; cursor: pointer; }

input, select {
    background: #2a2a2a;
    border: 1px solid #444;
    padding: 12px 16px;
    border-radius: 16px;
    color: white;
    outline: none;
}

input:focus, select:focus { border-color: #0abab5; }

.email-popup {
    position: absolute;
    top: 50px;
    left: 0;
    background: #222;
    border: 1px solid #0abab5;
    border-radius: 16px;
    padding: 12px 20px;
    width: 220px;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.email-popup.show { opacity: 1; visibility: visible; }

.logo-tiffany {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #0abab5;
}
