/* ===== Custom Styles for Poonam Collection ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --black: #000000;
    --white: #ffffff;
    --red: #dc2626;
    --red-dark: #b91c1c;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

/* Promo Bar */
.promo-bar {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.hero-slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-slide-content p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 550px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero-primary {
    display: inline-block;
    padding: 16px 44px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #fff;
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary {
    display: inline-block;
    padding: 16px 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    font-size: 14px;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.15);
}

.hero-dot:hover {
    border-color: #fff;
}

/* Shop button */
.btn-shop {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

/* View All Button */
.btn-view-all {
    display: inline-block;
    padding: 14px 44px;
    border: 2px solid var(--gray-900);
    color: var(--gray-900);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: var(--gray-900);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--white);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--gray-200);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gray-100);
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
}

.badge-best-seller {
    background: var(--black);
    color: var(--white);
}

.badge-new-arrival {
    background: var(--red);
    color: var(--white);
}

.badge-handcrafted {
    background: var(--gray-700);
    color: var(--white);
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-info h3 a:hover {
    color: var(--red);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price .current {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.product-price .original {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-price .discount {
    font-size: 12px;
    color: var(--red);
    font-weight: 600;
}

/* Quick add button */
.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border: none;
    width: 100%;
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background: var(--white);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.2s;
}

.cart-sidebar-close:hover {
    color: var(--black);
}

.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-sidebar-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.cart-sidebar-item img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    background: var(--gray-100);
}

.cart-sidebar-item-info {
    flex: 1;
}

.cart-sidebar-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-sidebar-item-info .item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-sidebar-item-info .item-qty {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.cart-sidebar-footer .subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: var(--red);
}

.btn-view-cart {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--black);
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gray-300);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.btn-view-cart:hover {
    background: var(--gray-100);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 999;
    padding: 80px 40px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--gray-900);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--red);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-500);
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--gray-500);
    font-size: 14px;
}

.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--gray-200);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Collection Card */
.collection-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--gray-100);
    cursor: pointer;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--white);
}

.collection-card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.collection-card-overlay p {
    font-size: 13px;
    opacity: 0.8;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--gray-400);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Flash Messages */
.flash-message {
    padding: 12px 20px;
    margin: 16px auto;
    max-width: 600px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quantity Input */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    width: fit-content;
}

.qty-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.qty-selector button:hover {
    background: var(--gray-200);
}

.qty-selector input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Page Header */
.page-header {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 75vh;
        min-height: 450px;
    }

    .hero-slide-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 30px;
        font-size: 12px;
    }

    .hero-controls {
        bottom: 24px;
    }
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: var(--white);
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}