﻿/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    /* Universal Dark Gray Professional Theme */
    --primary: #D4AF37;
    /* Gold */
    --gold-dark: #AA8C2C;

    --secondary: #9a9a9a;
    /* Medium Gray */
    --accent: #E1306C;

    --bg-body: #2b2b2b;
    /* Dark Gray */
    --bg-card: #353535;
    /* Charcoal Card */
    --bg-hover: #404040;
    /* Lighter Gray */

    --text-main: #f0f0f0;
    /* Off-White */
    --text-sub: #b5b5b5;
    /* Light Gray */
    --text-btn: #000000;

    --gold: var(--primary);
    --black: #1a1a1a;
    --white: #ffffff;

    --gray-bg: var(--bg-hover);
    --gray-border: #4a4a4a;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius: 16px;

    /* Vibrant Thread Colors */
    --thread-1: #FF0080;
    --thread-2: #7928CA;
    --thread-3: #FF4D4D;
    --thread-4: #FCAF45;
    --thread-gradient: linear-gradient(135deg, var(--thread-1), var(--thread-2), var(--thread-3), var(--thread-4));
}

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

body {
    font-family: 'Montserrat', -apple-system, sans-serif;
    background-color: #2b2b2b;
    color: #f0f0f0;

    /* Enhanced Animated Background */
    background-image:
        /* Diagonal Grid */
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 80px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 80px),
        /* Animated Gradient Orbs */
        radial-gradient(ellipse at 20% 30%, rgba(255, 0, 128, 0.12), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(121, 40, 202, 0.12), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.06), transparent 60%);

    background-attachment: fixed;
    background-size: 100% 100%, 100% 100%, 200% 200%, 200% 200%, 150% 150%;
    animation: gradientShift 30s ease-in-out infinite alternate;

    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Thread Text Gradient Utility */
.text-gradient-thread {
    background: var(--thread-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}

.container {
    max-width: 1300px;
    margin: auto;
    width: 92%;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Feature Ticker / Announcement Bar */
.top-ticker {
    background: #111;
    /* Keep dark for contrast */
    color: #fff;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: none;
    overflow: hidden;
    white-space: nowrap;
}

/* ... (skip unchanged) ... */

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 0 15px;
    color: var(--text-main);
}

.footer-logo {
    height: 40px;
    /* Invert logo filter for light mode if needed, or rely on dark logo image */
    /* Assuming logo.png is gold/black suitable for both or needs filter */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    margin-bottom: 10px;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.insta-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-right: 50px;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dynamic-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- SEARCH BAR --- */
.search-container {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    border-radius: 25px;
    padding: 2px 5px 2px 15px;
    transition: var(--transition);
    align-items: center;
}

.search-container:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

#search-bar {
    background: transparent;
    border: none;
    color: white;
    padding: 8px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    width: 150px;
}

.search-btn {
    background: transparent;
    color: var(--text-sub);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.1);
    color: var(--text-main);
    background: var(--bg-hover);
}

/* --- BAG BUTTON --- */
.bag-btn {
    background: var(--bg-hover);
    color: var(--text-main);
    border: 1px solid var(--gray-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: none;
}

.bag-btn:hover {
    background: var(--bg-card);
    border-color: var(--text-sub);
    transform: scale(1.02);
    box-shadow: none;
}

.bag-btn i {
    animation: none;
}

#cart-count {
    background: var(--white);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   3. HERO & ABOUT SECTIONS
   ========================================= */
.hero-section,
.about-section {
    background-image: url('images/hero-bg.jpg');
    /* Ensure this file exists */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    width: 100%;
}

.hero-section {
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.hero-overlay,
.about-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    width: 100%;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.about-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
}

.hero-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--text-btn);
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

.hero-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, #FF8C00 100%);
    color: var(--text-btn);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    animation: none;
}

/* =========================================
   4. FILTER BAR
   ========================================= */
/* Enhanced Category Bar */
.category-bar {
    padding: 20px 0;
    position: sticky;
    top: 74px;
    background: rgba(16, 16, 16, 0.85);
    /* Matches body background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 900;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.cat-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
    -ms-overflow-style: none;
    /* IE/Edge */
}

.cat-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.cat-flex {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    min-width: max-content;
}

.cat-item {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-sub);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transform: none;
}

.cat-item i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.cat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.cat-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.cat-item.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.cat-item.active i {
    transform: scale(1.1);
}

/* Subtle Shimmer for Active Button */
.cat-item.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

/* =========================================
   5. PRODUCT GRID & CARDS
   ========================================= */
.product-grid {
    display: grid;
    /* Allow 2 columns on mobile (min 150px) */
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.product-card {
    border: 1px solid var(--gray-border);
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    position: relative;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.1);
}

.img-container {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    background: var(--bg-hover);
    border-radius: 0;
}

.img-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s;
    z-index: 1;
    opacity: 0;
}

.product-card:hover .img-container::before {
    left: 100%;
    opacity: 1;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .img-container img {
    transform: scale(1.12) rotate(2deg);
}

.request-badge {
    position: absolute;
    top: 10px;
    right: -5px;
    background: var(--gold);
    color: white;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
}

.request-badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    border-left: 5px solid transparent;
    border-top: 5px solid #8a6d35;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    min-height: 50px;
    margin: 15px 0 5px 0;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #B12704;
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.card-actions .add-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    /* Reduced gap */
    padding: 6px 8px;
    /* Reduced padding for fit */
}

.card-actions .icon-btn {
    flex: 0 0 auto;
    width: 36px;
    /* Reduced share button width */
    padding: 0;
    /* Remove padding to center icon better in smaller box */
}

.add-btn {
    width: auto;
    padding: 6px 14px;
    background: var(--gold);
    color: var(--text-btn);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
    z-index: 1;
}

/* Shimmer Effect for Buttons */
.add-btn::before,
.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.add-btn:hover::before,
.hero-btn:hover::before {
    left: 100%;
}

.add-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 6px 20px rgba(212, 175, 55, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.2);
    /* Subtle ring */
}

/* Enhanced Product Card Hover */
.product-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid var(--gray-border);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    /* border width */
    background: var(--thread-gradient);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: transparent;
}

.product-card:hover::after {
    opacity: 1;
    /* Show gradient border on hover */
}

.add-btn:active {
    transform: translateY(0) scale(1);
}

.icon-btn {
    background: var(--gray-bg);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-main);
}

.icon-btn:hover {
    background: var(--gold);
    color: var(--text-btn);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* =========================================
   6. SIDEBAR (BAG)
   ========================================= */
.sidebar {
    position: fixed;
    right: -100%;
    top: 0;
    width: 380px;
    height: 100%;
    background: var(--black);
    color: var(--white);
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.sidebar.open {
    right: 0;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.back-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.clear-btn {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.clear-btn:hover {
    background: var(--gold);
    color: white;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    margin: 20px 0;
}

.qty-btn {
    background: #333;
    color: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
}

/* =========================================
   7. MODALS & FORMS
   ========================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal[style*="display: flex"] {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-form-content {
    background: #121212;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--white);
    position: relative;
}

/* Custom Scrollbar for Modals */
.modal-form-content::-webkit-scrollbar {
    width: 6px;
}

.modal-form-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.modal-form-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    outline: none;
}

.stylish-wa-btn {
    background: #25D366;
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    transition: var(--transition);
}

.stylish-wa-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* UPI Payment Styles */
#order-step-payment h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold);
}

#upi-qr-container {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#upi-qr-container:hover {
    transform: scale(1.02);
}

#upi-payment-details {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid #333;
}

.modal-content {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: zoom-out;
}

.modal-content:hover {
    transform: scale(1.05);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* =========================================
   8. FOOTER & FEEDBACK
   ========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes threadSpin {
    0% {
        stroke-dasharray: 0 100;
    }

    50% {
        stroke-dasharray: 50 50;
    }

    100% {
        stroke-dasharray: 100 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-info {
    padding: 15px;
}

.product-name {
    color: var(--text-main);
    margin-bottom: 5px;
    cursor: pointer;
}

.product-name:hover {
    text-decoration: underline;
}

.product-price {
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
}

.product-dims {
    background: rgba(255, 215, 0, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 215, 0, 0.3);
    font-size: 0.85rem;
    line-height: 1.6;
}

.similar-item:hover img {
    border-color: var(--gold) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.similar-item img {
    transition: all 0.3s ease;
}

/* Category Pills */
.category-bar {
    background: transparent;
    border-bottom: 1px solid var(--gray-border);
    padding-top: 15px;
}

/* =========================================
   10. PAGE SPECIFIC STYLES
   ========================================= */

/* --- AUTH PAGE (login.html) --- */
.auth-page {
    background: linear-gradient(135deg, var(--gray-bg) 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background: var(--bg-card);
    width: 100%;
    max-width: 900px;
    min-height: 550px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-border);
}

.auth-sidebar {
    flex: 1;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
    color: var(--black);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.auth-forms {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--bg-card);
}

.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.form-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-border);
}

.toggle-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.toggle-btn.active {
    color: var(--gold);
}

.toggle-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #999;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.home-link {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #777;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    z-index: 100;
}

.home-link:hover {
    color: var(--gold);
}

/* --- ACCOUNT PAGE (account.html) --- */
.account-page .navbar {
    background: var(--bg-card);
}

.account-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 15px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.account-card:hover {
    background: var(--bg-hover);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--gold);
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.card-content p {
    color: #888;
    font-size: 0.9rem;
}

.orders-section {
    display: none;
    margin-top: 30px;
}

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
}

.order-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    border-bottom: 1px solid var(--gray-border);
}

.order-body {
    padding: 20px;
}

.order-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: center;
}

.order-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

/* Custom Scrollbar for Admin Tabs */
.admin-tabs::-webkit-scrollbar {
    height: 6px;
}

.admin-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.admin-tabs::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.tab-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #777;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
}

.stat-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1;
}

.stat-info p {
    color: #777;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Inventory Controls */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

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

.search-box {
    position: relative;
    width: 250px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    background: #222;
    border: 1px solid #444;
    border-radius: 25px;
    color: white;
}

#admin-filter-category {
    padding: 10px 15px;
    background: #222;
    border: 1px solid #444;
    border-radius: 25px;
    color: white;
}

/* Toast System */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    padding: 15px 25px;
    border-radius: 10px;
    color: var(--white);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 300px;
}

.toast.success {
    border-left: 4px solid #25D366;
}

.toast.error {
    border-left: 4px solid #ff4d4d;
}

.toast.info {
    border-left: 4px solid var(--gold);
}

.edit-image-preview {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.edit-image-preview:hover {
    border-color: var(--gold);
    transform: scale(1.05);
}

/* PRODUCT DETAIL MODAL STYLES */
.p-modal-content {
    background: linear-gradient(135deg, #151515 0%, #1a1a1a 100%);
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    gap: 30px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.1);
    animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.p-modal-left {
    flex: 1;
    display: flex;
    gap: 20px;
    height: 100%;
}

.p-modal-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.p-main-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.p-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.p-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: var(--transition);
}

.p-thumb:hover,
.p-thumb.active {
    border-color: var(--gold);
    opacity: 1;
}

.p-title {
    font-family: 'Cormorant Garamond';
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.1;
}

.p-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.p-desc {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.p-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.p-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .p-modal-content {
        flex-direction: column;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Footer */
.footer {
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 30px 0 15px;
}

.footer-logo {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    margin-bottom: 10px;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 15px 0;
}

.insta-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 300;
}

.insta-link:hover {
    color: var(--gold);
}

/* Stylish Animated Feedback Button */
.feedback-btn.stylish-animated {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-btn.stylish-animated:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.25);
}

.feedback-btn.stylish-animated:hover i {
    transform: rotate(15deg);
}

.feedback-btn.stylish-animated:active {
    transform: translateY(-1px);
}

.copyright {
    opacity: 0.5;
    font-size: 0.75rem;
    margin-top: 10px;
}

/* =========================================
   9. RESPONSIVE QUERIES
   ========================================= */
/* =========================================
   9. RESPONSIVE QUERIES
   ========================================= */

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
    .container {
        width: 94%;
    }

    .p-modal-content {
        max-width: 900px;
    }
}

/* Landscape Phones & Tablets */
@media (max-width: 768px) {
    .container {
        width: 92%;
        padding: 0 10px;
    }

    /* Navbar Improvements */
    .navbar {
        padding: 8px 0;
    }

    .nav-content {
        flex-wrap: wrap;
        gap: 12px;
    }

    .main-title {
        font-size: 1.2rem;
    }

    .nav-right {
        gap: 8px;
    }

    .search-container {
        width: 100%;
        order: 3;
        margin-top: 5px;
    }

    #search-bar {
        flex: 1;
        width: auto;
    }

    .hide-mobile {
        display: none;
    }

    .bag-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-section {
        min-height: 45vh;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-overlay {
        padding: 60px 0;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px 0;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-name {
        font-size: 0.9rem;
        min-height: 40px;
    }

    /* Category Bar */
    .cat-flex {
        gap: 8px;
    }

    .cat-item {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    /* Sidebar / Cart */
    .sidebar {
        width: 100%;
        max-width: 100%;
    }

    /* Product Detail Modal */
    .p-modal-content {
        flex-direction: column !important;
        padding: 15px;
        width: 95% !important;
        height: 90vh !important;
        max-height: 90vh !important;
        overflow-y: auto;
        border-radius: 15px;
    }

    .p-modal-left,
    .p-modal-right {
        width: 100% !important;
        flex: none;
    }

    .p-main-img-container {
        height: 280px;
    }

    .p-gallery {
        flex-direction: row !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: auto !important;
        margin-bottom: 15px;
    }

    .p-thumb {
        width: 60px;
        height: 60px;
    }

    .p-title {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-actions {
        flex-direction: column;
        gap: 20px;
    }

    /* Forms */
    .auth-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin: 20px auto;
    }

    .auth-sidebar,
    .auth-forms {
        padding: 30px 20px;
        width: 100%;
        flex: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .main-title {
        display: none;
        /* Hide title on very small screens to fit logo and icons */
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .add-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .p-main-img-container {
        height: 220px;
    }

    .modal-form-content {
        padding: 20px;
    }
}

/* Amazon Style Product Page Specifics */
@media (max-width: 992px) {
    .product-layout {
        flex-direction: column;
    }

    .product-gallery {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .product-buy-box {
        width: 100%;
    }

    .buy-box-content {
        position: static;
    }
}

/* Animations (Keep these as they are used globally) */
@keyframes productFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   ADMIN PRODUCT TABLE STYLES
   ========================================= */

.product-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--gray-border);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.product-table thead {
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 2px solid var(--gold);
}

.product-table th {
    padding: 15px;
    text-align: left;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-table td {
    padding: 15px;
    border-bottom: 1px solid #222;
    color: var(--text-main);
    vertical-align: middle;
}

.product-table tbody tr {
    transition: all 0.3s ease;
}

.product-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.03);
    transform: scale(1.01);
}

/* Small Product Images */
.product-table td img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #333;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.product-table td img:hover {
    transform: scale(2.5);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    z-index: 100;
    position: relative;
}

/* Action Buttons Container */
.action-btns {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

/* Edit Button - Large and Animated */
.edit-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--text-btn);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.edit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, var(--gold-dark) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.edit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Delete Button - Large and Animated */
.delete-btn {
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delete-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.delete-btn:hover::before {
    width: 300px;
    height: 300px;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.5);
}

.delete-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Button Icon Animation */
.edit-btn i,
.delete-btn i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.edit-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.delete-btn:hover i {
    transform: rotate(-15deg) scale(1.1);
}

/* Pulse Animation for Buttons */
@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    }
}

.edit-btn {
    animation: buttonPulse 2s ease-in-out infinite;
}

/* Responsive Table */
@media (max-width: 768px) {
    .product-table {
        font-size: 0.85rem;
    }

    .product-table th,
    .product-table td {
        padding: 10px 8px;
    }

    .product-table td img {
        width: 40px;
        height: 40px;
    }

    .action-btns {
        flex-direction: column;
        gap: 6px;
    }

    .edit-btn,
    .delete-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        width: 100%;
    }
}

/* =========================================
   ENHANCED IMAGE UPLOAD STYLES
   ========================================= */

.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 15px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.02);
    border-radius: 12px;
    border: 2px dashed rgba(255, 215, 0, 0.2);
}

.upload-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Upload Trigger Button - Enhanced */
.upload-trigger-btn {
    width: 100%;
    min-height: 120px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.upload-trigger-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.upload-trigger-btn:hover::before {
    width: 200px;
    height: 200px;
}

.upload-trigger-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-color: var(--gold);
    border-style: solid;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.upload-trigger-btn i {
    font-size: 2rem;
    transition: all 0.3s ease;
    animation: floatIcon 2s ease-in-out infinite;
}

.upload-trigger-btn:hover i {
    transform: scale(1.2) rotate(90deg);
    color: #FFA500;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Image Preview Enhancements */
.img-mini-preview {
    width: 100%;
    margin-top: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.img-mini-preview img {
    width: 100%;
    height: 100px !important;
    object-fit: cover;
    border-radius: 8px !important;
    border: 2px solid var(--gold) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.img-mini-preview img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.img-mini-preview span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
    color: white;
    border-radius: 50%;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 77, 77, 0.4);
    border: 2px solid var(--bg-card);
}

.img-mini-preview span:hover {
    transform: scale(1.2) rotate(90deg);
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.6);
}

/* Form Row Enhancements */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

/* Enhanced Form Inputs */
.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #333;
    color: var(--white);
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Category Select - Black Text */
.form-group select {
    color: #000000;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.form-group select option {
    color: #000000;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Submit Button */
.hero-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
    color: var(--text-btn);
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.hero-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, var(--gold-dark) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
}

.hero-btn:active {
    transform: translateY(-2px) scale(1);
}

/* Admin Card Enhancements */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: auto;
    /* Allow scrolling if content overflows */
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* Custom Scrollbar for Admin Cards */
.admin-card::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.admin-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.admin-card::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.admin-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .image-upload-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .upload-trigger-btn {
        min-height: 100px;
        font-size: 0.75rem;
    }

    .upload-trigger-btn i {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@keyframes bagSway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

/* =========================================
   11. LIGHTBOX & GALLERY EXTRAS
   ========================================= */

/* Hide Scrollbar for Gallery */
.p-gallery::-webkit-scrollbar {
    display: none;
}

.p-gallery {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    width: 90%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
    cursor: grab;
}

#lightbox-img:active {
    cursor: grabbing;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--gold);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-controls {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    z-index: 10001;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: var(--gold);
    color: black;
    transform: scale(1.1);
}

/* =========================================
   12. HOMEPAGE ENHANCEMENTS (New Sections)
   ========================================= */

/* Section Titles */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    text-align: center;
    margin: 60px 0 30px;
    color: var(--gold);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Featured Categories */
.featured-categories {
    padding: 20px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.cat-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-card:hover {
    transform: translateY(-10px);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-card:hover img {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: background 0.3s ease;
}

.cat-card:hover .cat-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

.cat-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 5px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cat-card p {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cat-card:hover h3,
.cat-card:hover p {
    transform: translateY(-5px);
}

/* Trust Features Section */
.features-section {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    padding: 40px 0;
    margin-top: 30px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    background: rgba(255, 215, 0, 0.05);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    background: var(--gold);
    color: var(--black);
    transform: rotateY(180deg);
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.toast {
    background: #1e1e1e;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s ease;
}

.toast.success {
    border-left: 4px solid #25D366;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.info {
    border-left: 4px solid var(--gold);
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #25D366;
}

.toast.error i {
    color: #f44336;
}

.toast.info i {
    color: var(--gold);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer Adjustments */
.footer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-actions .feedback-btn {
    margin: 0 !important;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Enhanced Hero Text */
.hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 35px;
}

/* Enhanced Footer Note */
.footer-note {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

.footer-note:hover {
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateY(-5px);
}

.footer-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
    transform: skewX(-25deg);
    animation: footerShimmer 4s infinite;
}

.footer-note h4 {
    color: #ff6b6b;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
}

.footer-note h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #ff6b6b;
    border-radius: 2px;
}

.footer-note p {
    color: #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 15px;
    text-align: center;
}

.footer-note p:last-child {
    margin-bottom: 0;
}

@keyframes footerShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ADVERTISING BANNER --- */
.ad-banner {
    background: linear-gradient(90deg, #ccac00, #ffcc00);
    color: #000;
    text-align: center;
    position: relative;
    z-index: 1001;
    display: none;
    /* Hidden by default */
    min-height: 40px;
    transition: height 0.3s ease;
    overflow: hidden;
}

.ad-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.ad-banner-content {
    position: relative;
    z-index: 10;
    padding: 10px 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 0.9rem;
}

.ad-banner.has-bg {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.ad-banner.has-bg .ad-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.ad-banner.has-bg a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

.ad-banner .close-ad {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.2rem;
}