:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #fce4ec;
    --dark: #1a1a1a;
    --gray-dark: #444;
    --gray: #777;
    --gray-light: #f0f0f0;
    --light: #ffffff;
    --bg: #f8fafc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Banner */
.hero-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.product-hero {
    padding: 40px 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Image Gallery */
.image-section {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 65vh;
    aspect-ratio: 1/1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.main-image:hover {
    transform: scale(1.05);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1/0.8;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Product Details */
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #111;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin: 15px 0;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    font-size: 1.4rem;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-badge {
    background: #ffeb3b;
    color: #000;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Options Styling */
.option-group {
    margin: 25px 0;
}

.option-group h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-dark);
}

.colors {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.color-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 1.5px #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.color-btn.active {
    box-shadow: 0 0 0 3px var(--primary);
    transform: scale(1.1);
}

.sizes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-btn {
    min-width: 55px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--gray-dark);
}

.size-btn.active,
.size-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.2);
}

.size-chart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: var(--transition);
}

.size-chart-link:hover {
    opacity: 0.8;
    transform: translateX(4px);
}

/* Description Box */
.description {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin: 30px 0;
}

.description h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #111;
}

.description ul {
    margin-top: 12px;
    list-style: none;
}

.description li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Sections Shared Styling */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Video Holder */
.video-section {
    padding: 60px 0;
}

.video-wrap {
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
}

.video-container {
    position: relative;
    padding-bottom: 177.78%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Size Chart Section */
.size-chart-section {
    padding: 60px 0;
    background: white;
}

.size-chart-img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Checkout Form */
.checkout-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.qty-container {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 5px;
}

.qty-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #edf2f7;
    background: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--primary);
}

.qty-btn:first-child {
    border-radius: 10px 0 0 10px;
}

.qty-btn:last-child {
    border-radius: 0 10px 10px 0;
}

.qty-input {
    width: 60px;
    height: 45px;
    border: 2px solid #edf2f7;
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: #f9fbfc;
}

.qty-btn:hover {
    background: var(--primary-light);
}

.order-summary-box {
    margin-top: 25px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid #edf2f7;
    box-shadow: var(--shadow-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--gray-dark);
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #edf2f7;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #f9fbfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.delivery-info {
    margin-top: 25px;
    padding: 18px;
    background: #f0f7ff;
    border-radius: 12px;
    border-left: 5px solid #2196f3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-item {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

/* Trust Badges */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    text-align: center;
}

.trust-item {
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

.trust-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-dark);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-btn-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
}

.whatsapp-btn-inline:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-section {
        position: static;
    }

    .product-info h1 {
        font-size: 1.8rem;
    }

    .main-image-container {
        max-height: 50vh;
        aspect-ratio: auto;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 20px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .checkout-form {
        padding: 25px 15px;
    }

    .price {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}