/* ============================================================
   Registani Achar - Customer Landing Page Stylesheets (Premium Version)
   ============================================================ */

/* ── Typography & Variables ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #d97706;       /* Warm desert amber */
    --primary-dark: #b45309;  /* Terracotta clay */
    --accent: #f59e0b;        /* Sand gold */
    --sand-light: #fdfbf7;    /* Warm sand off-white background */
    --sand-tint: #faf3e0;     /* Richer sand background tone */
    --terracotta: #991b1b;    /* Rich chili red / pickle oil red */
    --terracotta-light: #ef4444; 
    --dark: #1e1b18;          /* Charcoal dark */
    --dark-muted: #4a453f;    /* Warm charcoal body text */
    --gray-light: #f3f4f6;    /* Soft gray */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 10px rgba(180, 83, 9, 0.04);
    --shadow-md: 0 10px 30px rgba(180, 83, 9, 0.08);
    --shadow-lg: 0 20px 40px rgba(180, 83, 9, 0.15);
}

/* ── Reset & Globals ────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    background-color: var(--sand-light);
    color: var(--dark-muted);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--sand-light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection Highlight */
::selection {
    background-color: var(--accent);
    color: white;
}

/* ── Header & Navigation ─────────────────────────────────────── */
.navbar-custom {
    background-color: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(217, 119, 6, 0.12);
    transition: var(--transition);
    padding: 0.9rem 0;
    box-shadow: 0 4px 20px rgba(30, 27, 24, 0.03);
}

.navbar-brand-logo {
    max-height: 52px;
    object-fit: contain;
    transition: var(--transition);
}
.navbar-brand-logo:hover {
    transform: scale(1.04) rotate(-2deg);
}

.nav-link-custom {
    color: var(--dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
    position: relative;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link-custom:hover::after, 
.nav-link-custom.active::after {
    width: 60%;
}
.nav-link-custom:hover {
    color: var(--primary) !important;
}

.cart-icon-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
    transition: var(--transition);
    cursor: pointer;
}
.cart-icon-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(180, 83, 9, 0.45);
}
.cart-badge {
    background-color: var(--terracotta);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3em 0.7em;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ── Hero Slider (Ken Burns & Animations) ─────────────────────── */
.hero-slider-container {
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider-item {
    height: 600px;
    background-position: center;
    background-size: cover;
    position: relative;
    transition: transform 8s ease-out; /* Ken burns */
}

/* Active slide image zoom effect */
.carousel-item.active .hero-slider-item {
    transform: scale(1.08);
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 27, 24, 0.85) 40%, rgba(30, 27, 24, 0.3) 100%);
    z-index: 1;
}

.hero-slider-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* Text animations inside active slide */
.carousel-item.active .hero-title {
    opacity: 1 !important;
}
.carousel-item.active .hero-subtitle {
    opacity: 1 !important;
}
.carousel-item.active .btn-hero {
    opacity: 1 !important;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.btn-hero {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(217, 119, 6, 0.55);
    transition: var(--transition);
    opacity: 0;
}
.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.7);
    color: #fff;
}

/* ── Categories ─────────────────────────────────────────────── */
.category-card {
    text-align: center;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.category-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.08);
    transition: var(--transition);
    background-color: var(--sand-tint);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img-wrap {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.28);
}
.category-card:hover .category-img {
    transform: scale(1.12);
}

.category-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    transition: var(--transition);
}
.category-card:hover .category-title {
    color: var(--primary);
}

/* ── Products Section ────────────────────────────────────────── */
.section-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: var(--dark);
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--primary-dark));
    margin: 1.25rem auto 0;
    border-radius: 10px;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 119, 6, 0.18);
}

.product-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #faf8f5;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}

.discount-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: var(--terracotta);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 3px 8px rgba(153, 27, 27, 0.35);
    letter-spacing: 0.02em;
    z-index: 2;
}

.weight-tag {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background-color: rgba(30, 27, 24, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    z-index: 2;
}

.product-details-wrap {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.6rem;
    height: 3.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.88rem;
    color: #78716c;
    margin-bottom: 1.25rem;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}
.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
}
.compare-price {
    font-size: 0.95rem;
    color: #a8a29e;
    text-decoration: line-through;
}

.btn-add-cart {
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
    width: 100%;
}
.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.w-50px {
    width: 50px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

/* ── "Why Choose Us" Grid ───────────────────────────────────── */
.feature-card {
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.06);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 119, 6, 0.12);
}
.feature-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--sand-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-dark);
    font-size: 1.8rem;
    transition: var(--transition);
}
.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    transform: rotate(10deg);
}

/* ── Testimonials Section ────────────────────────────────────── */
.testimonials-section {
    background: linear-gradient(to bottom, #fcf8ee, var(--sand-light));
    border-top: 1px solid rgba(217, 119, 6, 0.06);
    border-bottom: 1px solid rgba(217, 119, 6, 0.06);
}

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 1rem;
    color: #57534e;
    line-height: 1.65;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.testimonial-designation {
    font-size: 0.82rem;
    color: #8c857b;
}

/* ── Offcanvas Cart Drawer ───────────────────────────────────── */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 440px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -10px 0 40px rgba(30, 27, 24, 0.12);
    z-index: 1060;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active {
    right: 0;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(30, 27, 24, 0.6);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--sand-light);
}

.cart-close-btn {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.cart-close-btn:hover {
    background-color: var(--sand-tint);
    color: var(--terracotta);
}

.cart-items-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.06);
    position: relative;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
    padding-right: 1.5rem;
}

.cart-item-price {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.65rem;
}
.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1.5px solid #d6d3d1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.qty-btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    color: #a8a29e;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}
.cart-item-remove:hover {
    color: var(--terracotta);
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.75rem 2rem;
    border-top: 1px solid rgba(217, 119, 6, 0.08);
    background-color: var(--sand-light);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.05rem;
}
.cart-total-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border: none;
    width: 100%;
    padding: 0.95rem;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.35);
    transition: var(--transition);
}
.btn-checkout:hover {
    box-shadow: 0 8px 25px rgba(180, 83, 9, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

/* ── Checkout Section Form Cards ──────────────────────────────── */
.checkout-card {
    background-color: #fff;
    border-radius: 24px;
    border: 1px solid rgba(217, 119, 6, 0.08);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.checkout-card:hover {
    box-shadow: var(--shadow-lg);
}

.checkout-card input, .checkout-card textarea {
    background-color: #fafaf9;
    border: 1.5px solid #e7e5e4;
    transition: var(--transition);
    border-radius: 10px;
    font-size: 0.92rem;
}
.checkout-card input:focus, .checkout-card textarea:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Simulated Payment Box */
.payment-card-input-wrapper {
    display: none;
    background-color: #fffbeb;
    border-radius: 12px;
    border: 1.5px dashed var(--accent);
    padding: 1.5rem;
}
.payment-card-input-wrapper.active {
    display: block;
}

.font-mono-card {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* ── Contact & Support Forms ────────────────────────────────── */
.contact-section-bg {
    background-color: #fffdfc;
    border-top: 1px solid rgba(217, 119, 6, 0.08);
}

.support-form-card {
    background: #fff;
    border: 1px solid rgba(217, 119, 6, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}
.support-form-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 119, 6, 0.12);
}

.support-form-card input, .support-form-card textarea {
    background-color: #fafaf9;
    border: 1.5px solid #e7e5e4;
    transition: var(--transition);
    border-radius: 10px;
    font-size: 0.92rem;
}
.support-form-card input:focus, .support-form-card textarea:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* ── Modal styling ──────────────────────────────────────────── */
.modal-content-custom {
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-lg);
    background-color: #fff;
}

.modal-header-custom {
    background-color: var(--sand-light);
    border-bottom: 1px solid rgba(217, 119, 6, 0.08);
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 2rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer-main {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    border-top: 5px solid var(--primary-dark);
    padding: 5rem 0 2.5rem;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.footer-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-section-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.85rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.social-icons-wrap {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.5rem;
}
.social-icon-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.social-icon-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
    color: #fff;
    transform: translateY(-3px) rotate(12deg);
}

.footer-bottom-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 3.5rem 0 2rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Utility Classes ────────────────────────────────────────── */
.text-primary-color {
    color: var(--primary) !important;
}

.bg-primary-color {
    background-color: var(--primary) !important;
}

.text-terracotta {
    color: var(--terracotta) !important;
}

.w-40px { width: 40px !important; }
.h-40px { height: 40px !important; }
.w-50px { width: 50px !important; }
.h-50px { height: 50px !important; }
.w-60px { width: 60px !important; }
.h-60px { height: 60px !important; }
.w-80px { width: 80px !important; }
.h-80px { height: 80px !important; }
.w-120px { width: 120px !important; }
.h-120px { height: 120px !important; }

/* Keyframes for entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .navbar-custom {
        padding: 0.6rem 0;
    }
    .hero-slider-container {
        margin-top: 0;
    }
    .hero-slider-item {
        height: 420px;
    }
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0.75rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .support-form-card {
        padding: 1.75rem;
    }
}

/* ── Category Filter Bar Styling ────────────────────────────── */
#categoryFilterBar {
    justify-content: center;
}
#categoryFilterBar .btn-filter {
    color: var(--primary-dark);
    border-color: rgba(180, 83, 9, 0.25);
    background-color: #fff;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.05);
}
#categoryFilterBar .btn-filter:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}
#categoryFilterBar .btn-filter.active-filter {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

/* ── Global Color Theme Overrides (#d97706 & White) ────────── */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
}
.form-check-input:checked {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
}
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
    border-color: #d97706 !important;
    box-shadow: 0 0 0 0.25rem rgba(217, 119, 6, 0.25) !important;
}
.btn-primary, .btn-checkout, .btn-hero, .btn-add-cart {
    background-color: #d97706 !important;
    background-image: none !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
}
.btn-primary:hover, .btn-checkout:hover, .btn-hero:hover, .btn-add-cart:hover {
    background-color: #b45309 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
}
.btn-outline-primary {
    color: #d97706 !important;
    border-color: #d97706 !important;
}
.btn-outline-primary:hover, .btn-outline-primary.active, .btn-outline-primary.active-filter {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
}

/* ── Custom Toast Notification ─────────────────────────────── */
#custom-toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.6rem;
    pointer-events: none;
}
.custom-toast {
    min-width: 260px;
    max-width: 340px;
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1.1rem 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    border-left: 4px solid #d97706;
    pointer-events: all;
    animation: toastSlideInLeft 0.35s cubic-bezier(0.16,1,0.3,1) both;
    font-family: 'Outfit', 'Inter', sans-serif;
}
.custom-toast.toast-success { border-left-color: #10b981; }
.custom-toast.toast-error   { border-left-color: #ef4444; }
.custom-toast.toast-info    { border-left-color: #0ea5e9; }
.custom-toast.toast-warning { border-left-color: #d97706; }
.custom-toast.toast-hide {
    animation: toastSlideOutLeft 0.3s cubic-bezier(0.4,0,1,1) both;
}
.custom-toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.toast-success .custom-toast-icon { color: #10b981; }
.toast-error   .custom-toast-icon { color: #ef4444; }
.toast-info    .custom-toast-icon { color: #0ea5e9; }
.toast-warning .custom-toast-icon { color: #d97706; }
.custom-toast-body { flex: 1; }
.custom-toast-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.1rem;
    line-height: 1.3;
}
.custom-toast-msg {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}
.custom-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}
.custom-toast-close:hover { color: #475569; }
@keyframes toastSlideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastSlideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-60px); }
}

/* ── Mobile Bottom App Nav ──────────────────────────────────── */
.mobile-app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    border-top: 1px solid rgba(217,119,6,0.15);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    min-width: 52px;
    cursor: pointer;
    background: none;
    border: none;
}
.mobile-nav-item i {
    font-size: 1.2rem;
    transition: all 0.2s ease;
}
.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #d97706;
}
.mobile-nav-item.active i,
.mobile-nav-item:hover i {
    transform: translateY(-2px);
    color: #d97706;
}

/* Give page content room for bottom nav on mobile */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px;
    }
    .hero-title {
        font-size: 2rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    .hero-slider-item {
        min-height: 60vh !important;
    }
    .category-card { min-height: 130px; }
    .product-img-wrap { height: 190px; }
    #custom-toast-container {
        top: auto;
        bottom: 80px;
        left: 1rem;
        right: auto;
        align-items: flex-start;
    }
    .custom-toast {
        max-width: calc(100vw - 2rem);
    }
}

/* ── WhatsApp Floating Button ───────────────────────────────── */
.whatsapp-float-btn {
    position: fixed;
    bottom: 90px; /* above mobile bottom nav */
    right: 1.25rem;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    color: #fff;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
    50%       { box-shadow: 0 6px 32px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.12); }
}
@media (min-width: 768px) {
    .whatsapp-float-btn { bottom: 2rem; }
}

/* ── Top Promo Ticker Banner ─────────────────────────────────── */
.top-promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(90deg, #b45309, #d97706, #b45309);
    background-size: 200% auto;
    animation: goldShimmer 6s linear infinite;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1045;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.navbar-custom {
    top: 32px !important;
}

/* ── Mobile Horizontal Category Swiper ──────────────────────── */
@media (max-width: 767.98px) {
    .premium-category-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem !important;
        gap: 12px;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .premium-category-row::-webkit-scrollbar {
        display: none !important;
    }
    .premium-category-row > div {
        flex: 0 0 auto !important;
        width: 100px !important;
        padding: 0 !important;
    }
    .premium-category-row .category-card {
        margin-bottom: 0 !important;
    }
    .premium-category-row .category-img-wrap {
        width: 76px !important;
        height: 76px !important;
        margin-bottom: 0.4rem !important;
        border-width: 3px !important;
    }
    .premium-category-row .category-title {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── 2-Column Mobile Product Card Optimizations ──────────────── */
@media (max-width: 575.98px) {
    .row.g-4 {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }
    .product-card-item {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .product-card {
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(180, 83, 9, 0.04) !important;
    }
    .product-img-wrap {
        height: 140px !important;
    }
    .product-details-wrap {
        padding: 0.65rem !important;
    }
    .product-name {
        font-size: 0.85rem !important;
        height: 2.3rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
    }
    .product-desc {
        display: none !important;
    }
    .price-wrap {
        margin-bottom: 0.6rem !important;
        gap: 0.35rem !important;
    }
    .current-price {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
    }
    .compare-price {
        font-size: 0.78rem !important;
    }
    .btn-add-cart {
        padding: 0.45rem 0.5rem !important;
        font-size: 0.72rem !important;
        border-radius: 8px !important;
        border-width: 1px !important;
    }
    .discount-badge {
        top: 0.4rem !important;
        left: 0.4rem !important;
        font-size: 0.65rem !important;
        padding: 0.15rem 0.4rem !important;
    }
    .weight-tag {
        bottom: 0.4rem !important;
        right: 0.4rem !important;
        font-size: 0.65rem !important;
        padding: 0.1rem 0.35rem !important;
    }
}

/* ── Magic Box Lightbox Styles ───────────────────────── */
.magic-box-overlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(18, 16, 15, 0.95);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.magic-box-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation-name: zoomInMagicBox;
    animation-duration: 0.3s;
    border: 3px solid rgba(217, 119, 6, 0.25);
}

@keyframes zoomInMagicBox {
    from {transform: scale(0.85); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.magic-box-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
    z-index: 10000;
}

.magic-box-close:hover,
.magic-box-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.magic-box-prev,
.magic-box-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.2s;
    user-select: none;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magic-box-prev {
    left: 40px;
}

.magic-box-next {
    right: 40px;
}

.magic-box-prev:hover,
.magic-box-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

#magicBoxCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Hover Zoom effect on product details main image */
.main-img-hover-trigger {
    cursor: zoom-in;
    position: relative;
    display: block;
}
.main-img-hover-trigger::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 27, 24, 0.7);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.main-img-hover-trigger:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .magic-box-prev {
        left: 15px;
        padding: 10px 14px;
        font-size: 16px;
    }
    .magic-box-next {
        right: 15px;
        padding: 10px 14px;
        font-size: 16px;
    }
    .magic-box-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    .magic-box-content {
        max-width: 92%;
    }
}

/* ── Mobile Offcanvas Menu Item Hover Styling ────────────────── */
.hover-bg-light {
    transition: all 0.2s ease-in-out;
}
.hover-bg-light:hover {
    background-color: rgba(217, 119, 6, 0.06) !important;
    color: #d97706 !important;
}
.hover-bg-light:hover i {
    transform: scale(1.15) rotate(-3deg);
    transition: transform 0.25s ease;
}

