﻿


/* Gallery */
.main-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #FFE5EC 0%, #E8D5F2 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-image:hover img {
        transform: scale(1.08);
    }

.thumbnail {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #FFE5EC 0%, #E8D5F2 100%);
}

    .thumbnail.active {
        border-color: #FF6B9D;
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Color Swatches */
.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 2px rebeccapurple;
}

    .color-swatch.active {
        border-color: #FF6B9D;
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .color-swatch::after {
        content: '✓';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
        opacity: 0;
        transition: opacity 0.3s;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .color-swatch.active::after {
        opacity: 1;
    }

/* Size Selector */
.size-option {
    min-width: 50px;
    height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.1);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .size-option:hover {
        border-color: #FF6B9D;
        transform: translateY(-2px);
    }

    .size-option.active {
        background: linear-gradient(135deg, #FF6B9D, #C44569);
        color: white;
        border-color: #FF6B9D;
        box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    }

    .size-option.disabled {
        opacity: 0.4;
        cursor: not-allowed;
        text-decoration: line-through;
    }

/* Quantity Stepper */
.qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    border: 2px solid rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .qty-btn:hover {
        border-color: #FF6B9D;
        color: #FF6B9D;
        transform: scale(1.05);
    }
.mb-3{
    margin-bottom:15px;
}
.qty-value {
    width: 32px !important;
    text-align: center;
    border: none;
}
    /* Tabs */
    .tab-btn {
        padding: 16px 28px;
        border-radius: 16px 16px 0 0;
        font-weight: 700;
        color: #666;
        cursor: pointer;
        transition: all 0.3s;
        border: 2px solid transparent;
        border-bottom: none;
        position: relative;
    }

    .tab-btn.active {
        color: #FF6B9D;
        background: white;
        border-color: rgba(255, 107, 157, 0.2);
    }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(135deg, #FF6B9D, #C44569);
            border-radius: 3px 3px 0 0;
        }

.tab-content {
    display: none;
    padding: 32px;
    background: white;
    border-radius: 0 0 24px 24px;
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-top: none;
}

    .tab-content.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(255, 107, 157, 0.45);
    }

.btn-secondary {
    background: white;
    color: #FF6B9D;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    border: 2px solid #FF6B9D;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

    .btn-secondary:hover {
        background: #FF6B9D;
        color: white;
        transform: translateY(-3px);
    }

/* Review Stars */
.star-filled {
    color: #FBBF24;
}

.star-empty {
    color: #E5E7EB;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.product-card-img {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #FFE5EC 0%, #E8D5F2 100%);
    position: relative;
    overflow: hidden;
}

/* Header */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s;
}

    .header-sticky.scrolled {
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

/* Nav Link */
.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
}

    .nav-link:hover {
        background: rgba(255, 214, 224, 0.3);
        color: #FF6B9D;
    }

/* Breadcrumb */
.breadcrumb-link {
    color: #666;
    transition: color 0.3s;
}

    .breadcrumb-link:hover {
        color: #FF6B9D;
    }

/* Badge */
.badge-new {
    background: linear-gradient(135deg, #FFD6E0, #FFE5D0);
    color: #C44569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-sale {
    background: linear-gradient(135deg, #FF6B9D, #FF8FA3);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Progress Bar for Reviews */
.rating-bar {
    height: 8px;
    background: #F3F4F6;
    border-radius: 10px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD6E0, #FF6B9D);
    border-radius: 10px;
}

/* Zoom Modal */
.zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .zoom-modal.active {
        display: flex;
    }

    .zoom-modal img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        border-radius: 20px;
    }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(200%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border-right: 4px solid #FF6B9D;
}

    .toast.show {
        transform: translateY(0);
    }
