/* assets/css/style.css */
/* Premium Custom Design Tokens for Adic Spices */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-primary: #7C3F1B;      /* Spice Red */
    --color-primary-hover: #FFB800; /* Turmeric Gold */
    --color-bg-dark: #FDF8F5;      /* Warm Light BG */
    --color-bg-dark-sec: #FFFDFB;  /* Secondary Warm Light BG */
    --color-border-dark: #EFE4DC;  /* Soft Warm Border */
    --color-bg-light: #FFFDFB;     /* Primary BG */
    --color-text-dark: #2E2925;    /* High contrast charcoal */
    --color-text-light: #1E1B18;   /* Deep charcoal */
    --color-text-gray: #7D6B6F;    /* Soft warm grey */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}

/* Hide scrollbars for sliders */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Premium Typography */
.font-brand {
    font-family: var(--font-heading);
    letter-spacing: 0.18em;
}
.font-serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
}
.text-gold {
    color: var(--color-primary);
}
.bg-gold {
    background-color: var(--color-primary);
}
.border-gold {
    border-color: var(--color-primary);
}

/* Main Layout Grid & Structure */
.container-max {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Luxury Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.btn-gold:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: transparent;
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

/* Header & Video Hero Styles */
.video-overlay {
    background: linear-gradient(to right, rgba(10, 7, 4, 0.9) 0%, rgba(10, 7, 4, 0.5) 50%, rgba(10, 7, 4, 0.8) 100%);
}

.hero-header {
    height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Category Circle List hover effect */
.category-circle-card {
    transition: var(--transition-smooth);
}
.category-circle-card:hover .circle-wrap {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

/* Advanced grid for Occasions */
.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .occasion-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.occasion-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-dark-sec);
}
.occasion-card img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: transform 0.8s ease;
}
.occasion-card:hover img {
    transform: scale(1.08);
}
.occasion-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,7,4,0.9) 0%, rgba(10,7,4,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

/* Luxury E-Commerce Product Card styling */
.product-card {
    background: #ffffff;
    border: 1px solid rgba(31, 22, 14, 0.08);
    border-radius: 8px;
    padding: 10px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 7, 4, 0.05);
}
.product-card-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    background-color: var(--color-bg-light);
    border-radius: 6px;
    overflow: hidden;
}
.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-card-img-wrap img {
    transform: scale(1.06);
}

/* Floating Navigation Bottom Bar for Mobile Devices */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 9, 6, 0.95);
    border-top: 1px solid var(--color-border-dark);
    backdrop-filter: blur(10px);
    z-index: 50;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    width: 20%;
    transition: var(--transition-smooth);
}
.mobile-bottom-nav-item.active, .mobile-bottom-nav-item:hover {
    color: var(--color-primary);
}
.mobile-bottom-nav-item svg {
    width: 20px;
    height: 20px;
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px; /* Reset position for desktop viewports */
    right: 30px;
    z-index: 45;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: var(--transition-smooth);
}
@media (max-width: 1023px) {
    .whatsapp-widget {
        display: none !important;
    }
}
.whatsapp-widget:hover {
    transform: scale(1.1);
}
.whatsapp-widget svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* App-like Filter Slide-up Drawers */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 101;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 2rem 1.5rem;
}
.drawer-panel.active {
    transform: translateY(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Desktop Sidebar overlay menu */
.desktop-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 320px;
    background-color: var(--color-bg-dark-sec);
    border-left: 1px solid var(--color-border-dark);
    z-index: 110;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 2rem;
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}
.desktop-menu-drawer.active {
    transform: translateX(0);
}

/* Premium Login & Register Forms */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: transparent;
    border: 1px solid rgba(31, 22, 14, 0.15);
    border-radius: 4px;
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}
.form-input:focus {
    border-color: var(--color-primary);
}
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-gray);
    margin-bottom: 0.5rem;
}

/* Admin Dashboard layout style */
.admin-sidebar {
    background-color: var(--color-bg-dark-sec);
    border-right: 1px solid var(--color-border-dark);
    min-height: 100vh;
    color: var(--color-text-light);
}

/* Pulse animation for premium scrolls */
@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(195, 155, 75, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(195, 155, 75, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(195, 155, 75, 0); }
}
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

/* Checkout payment method labels */
.payment-option-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.payment-option-input:checked + .payment-option-label {
    border-color: var(--color-primary);
    background-color: rgba(195, 155, 75, 0.05);
}

/* Admin Table styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background-color: var(--color-bg-dark);
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 12px;
    text-align: left;
}
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Auto-Scrolling Reviews Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}
/* ==========================================================================
   PREMIUM BLUE (#7C3F1B) & TURMERIC GOLD (#FFB800) Spice Theme Overrides
   ========================================================================== */

/* Global Body skin */
body {
    background-color: #FFFDFB !important;
    color: #0F172A !important;
}

/* Force all section wrappers to use warm white background */
section.bg-white, 
section.bg-brand-bg, 
main.flex-grow,
.bg-brand-bg {
    background-color: #FFFDFB !important;
}

/* Force elegant slate headings across the entire site */
h1, h2, h3, h4, 
.font-brand, 
.text-brand-dark,
h2.tracking-[0.18em],
.tracking-[0.18em],
header h1,
header h1 span,
.product-card h3,
.product-card h3 a {
    color: #0F172A !important; 
    background: none !important;
    -webkit-text-fill-color: #0F172A !important;
    background-clip: initial !important;
    display: inline-block;
}

/* Sub-titles and italic description text in brand blue */
.font-serif-italic,
.font-serif-italic span,
p.font-serif-italic {
    color: #7C3F1B !important;
    background: none !important;
    -webkit-text-fill-color: #7C3F1B !important;
}

/* Global text readability overrides for light background */
p, 
.text-gray-500, 
.text-gray-600, 
.text-gray-400, 
.text-gray-700,
li, 
td, 
th, 
label,
.form-label {
    color: #0F172A !important; /* Premium dark text */
}

/* Muted helper texts */
p, .text-gray-500, .text-gray-400 {
    color: #64748B !important; /* Slate grey */
}

/* Keep primary accents blue */
.text-gold, 
.text-primary, 
.text-gold-hover {
    color: #7C3F1B !important;
}

/* SOLID PREMIUM BLUE BUTTONS */
.bg-gold,
.btn-gold,
button.bg-gold,
button.btn-gold,
.btn-gold-card,
a.bg-gold {
    background-color: #7C3F1B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border: 1px solid #7C3F1B !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(124, 63, 27, 0.15) !important;
    background-image: none !important;
    background-clip: border-box !important;
}
.bg-gold:hover,
.btn-gold:hover,
button.bg-gold:hover,
a.bg-gold:hover {
    background-color: #FFB800 !important;
    border-color: #FFB800 !important;
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
}

/* BOUTIQUE ACCENT OUTLINE BUTTONS */
.btn-outline,
a.bg-transparent.text-gold,
a.border-brand-dark,
button.border-brand-dark,
.border-brand-dark,
.border-black {
    border: 1px solid #7C3F1B !important;
    background: #FFFFFF !important;
    color: #7C3F1B !important;
    box-shadow: 0 4px 10px rgba(124, 63, 27, 0.05) !important;
}
.btn-outline:hover,
.hover\:bg-brand-dark:hover {
    background: #7C3F1B !important;
    color: #FFFFFF !important;
    border: 1px solid #7C3F1B !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* VIEW ALL links (Blue color, Blue border, NO hover effect) */
a[href*="shop"].text-white,
a[href*="shop"].border-gold,
.view-all-link {
    color: #7C3F1B !important;
    border-color: #7C3F1B !important;
    background-color: transparent !important;
    background-image: none !important;
    -webkit-text-fill-color: #7C3F1B !important;
    background-clip: initial !important;
}
a[href*="shop"].text-white:hover {
    color: #FFB800 !important;
    border-color: #FFB800 !important;
    background-color: transparent !important;
}

/* Category more buttons (Blue font) */
.flex.justify-center.mt-12 a,
.flex.justify-center.mt-12 a span {
    color: #7C3F1B !important;
    border-color: #7C3F1B !important;
    background-color: transparent !important;
    -webkit-text-fill-color: #7C3F1B !important;
}


/* LUXURY LIGHT CARDS */
.product-card, 
.testimonial-card,
.bg-white.rounded-lg,
.bg-white.border {
    background-color: #FFFFFF !important; /* Pure white card background */
    border: 1px solid #EADAD0 !important; /* Soft blue border */
    box-shadow: 0 10px 25px rgba(124, 63, 27, 0.03) !important;
}

/* Sidebar and filter wrapper backgrounds */
aside, 
aside div,
.aside-wrapper {
    background-color: #FFFFFF !important;
    border-color: #EADAD0 !important;
}
aside a {
    color: #0F172A !important;
}
aside a:hover, 
aside a.text-gold,
aside .text-gold {
    color: #7C3F1B !important;
}

/* Hover effect on cards */
.product-card:hover {
    border-color: #FFB800 !important;
    box-shadow: 0 12px 30px rgba(124, 63, 27, 0.08) !important;
}

/* SOLID text inside cards */
.product-card span,
.product-card p,
.testimonial-card p,
.testimonial-card h4,
.testimonial-card span,
aside label,
aside span,
aside h3 {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    background: none !important;
    background-clip: initial !important;
    display: inline-block;
}

/* Prices inside cards (Solid Dark / Blue accents) */
.product-card .text-gray-900,
.product-card .font-bold {
    color: #7C3F1B !important;
    -webkit-text-fill-color: #7C3F1B !important;
}
.product-card .line-through {
    color: #64748B !important; /* Muted grey */
    -webkit-text-fill-color: #64748B !important;
}
.product-card .text-red-500 {
    color: #DC2626 !important; /* Vibrant red discount tag */
    -webkit-text-fill-color: #DC2626 !important;
}

/* % OFF discount badge inside cards */
.product-card span.bg-red-500,
.product-card span.bg-red-600,
.product-card .bg-red-600,
.product-card .bg-red-500,
span.bg-red-600,
span.bg-red-500 {
    background-color: #DC2626 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-image: none !important;
    background-clip: border-box !important;
    font-weight: 700 !important;
    display: inline-block !important;
    padding: 0.125rem 0.375rem !important;
    border-radius: 0.25rem !important;
}

/* Action Buttons inside cards (Blue outlines) */
.product-card .btn-outline,
.product-card a.bg-transparent.text-gold,
.product-card a.border-gold {
    border: 1px solid #7C3F1B !important;
    color: #7C3F1B !important;
    -webkit-text-fill-color: #7C3F1B !important;
    background-color: transparent !important;
    background: none !important;
}
.product-card .btn-outline:hover,
.product-card a.bg-transparent.text-gold:hover {
    background-color: #7C3F1B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #7C3F1B !important;
}

/* Form inputs on light cards */
.form-input, select, input[type="number"], input[type="text"] {
    background-color: #FFFFFF !important;
    border-color: #EADAD0 !important;
    color: #0F172A !important;
}
select option {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
}

/* Wishlist floating circle adjustment inside cards */
.absolute.top-2.right-2.w-7.h-7.rounded-full {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #EADAD0 !important;
}
.absolute.top-2.right-2.w-7.h-7.rounded-full svg {
    color: #7C3F1B !important;
}

/* Add to cart bottom-right circle adjustment inside cards */
.absolute.bottom-2.right-2.w-8.h-8.rounded-full {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #EADAD0 !important;
}
.absolute.bottom-2.right-2.w-8.h-8.rounded-full svg {
    color: #7C3F1B !important;
}
.absolute.bottom-2.right-2.w-8.h-8.rounded-full:hover {
    background-color: #7C3F1B !important;
}
.absolute.bottom-2.right-2.w-8.h-8.rounded-full:hover svg {
    color: #FFFFFF !important;
}

/* Payment Option Labels custom styling */
.payment-option-label {
    background-color: #FFFFFF !important;
    border: 1px solid #EADAD0 !important;
    color: #0F172A !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.payment-option-input:checked + .payment-option-label {
    border-color: #7C3F1B !important;
    background-color: rgba(124, 63, 27, 0.06) !important;
    box-shadow: 0 0 0 1px #7C3F1B !important;
}



/* Premium Alert box color overrides */
.bg-red-50, 
.bg-red-100 {
    background-color: #FEF2F2 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #991B1B !important;
}
.bg-red-50 *, 
.bg-red-100 * {
    color: #991B1B !important;
}
.bg-green-50, 
.bg-green-100 {
    background-color: #F0FDF4 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #166534 !important;
}
.bg-green-50 *, 
.bg-green-100 * {
    color: #166534 !important;
}
.bg-yellow-50, 
.bg-yellow-100 {
    background-color: #FEF3C7 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #92400E !important;
}
.bg-yellow-50 *, 
.bg-yellow-100 * {
    color: #92400E !important;
}
.bg-blue-50, 
.bg-blue-100 {
    background-color: #EFF6FF !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    color: #1E40AF !important;
}
.bg-blue-50 *, 
.bg-blue-100 * {
    color: #1E40AF !important;
}

/* Hide scrollbars */
.scrollbar-hide::-webkit-scrollbar {
    display: none !important;
}
.scrollbar-hide {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
