@import url('/assets/khurshid_official.css');

@font-face {
    font-family: 'D-DINCondensed';
    src: url('/assets/fonts/D-DINCondensed.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Bahnschrift';
    src: url('/assets/fonts/BAHNSCHRIFT.TTF.ttf') format('truetype');
    font-display: swap;
}

:root {
    --faras-green: #01532d;
    --faras-green-dark: #01351d;
    --faras-green-light: #027a43;
    --faras-gold: #8c6427;
    --faras-gold-hover: #a67c33;
    --faras-bg-soft: #f0f7ec;
    --faras-bg-soft-to: #dcf0d3;
}

/* Faras Fans Pill Navbar Matching Logo Colors */
.faras-pill-navbar {
    background: #01532d !important;
    background: linear-gradient(90deg, #01351d 0%, #01532d 45%, #026639 55%, #01351d 100%) !important;
    border: 1.5px solid #8c6427 !important;
    box-shadow: 0 12px 30px -6px rgba(1, 83, 45, 0.5) !important;
}

/* Energy Comparison Widget */
.faras-energy-section {
    background-color: #01532d !important;
    color: #ffffff !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.faras-energy-section h2 {
    color: #ffffff !important;
}

.faras-energy-section .stat-number {
    color: #fbbf24 !important;
}

/* Faras Buttons */
.btn-faras-primary {
    background-color: #8c6427 !important;
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
}

.btn-faras-primary:hover {
    background-color: #a67c33 !important;
    transform: scale(1.02);
}

.btn-faras-green {
    background-color: #01532d !important;
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
}

.btn-faras-green:hover {
    background-color: #01351d !important;
}

/* Add to Cart / Order Now Button (Vibrant Luxury Gold Shimmer) */
.btn-add-to-cart {
    background: linear-gradient(135deg, #8c6427 0%, #b38234 50%, #8c6427 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: 1.5px solid #d4af37 !important;
    box-shadow: 0 8px 25px rgba(140, 100, 39, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-add-to-cart:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}

/* Confirm Cash on Delivery Order Button (Solid Faras Deep Green) */
.btn-confirm-cod {
    background: linear-gradient(135deg, #01532d 0%, #01351d 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    border: 1.5px solid #8c6427 !important;
    box-shadow: 0 8px 25px rgba(1, 83, 45, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-confirm-cod:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
}

/* Shop Ceiling Fans Button on Home Page (Gold Button with Black Text) */
.btn-shop-ceiling {
    background: linear-gradient(135deg, #e5b358 0%, #c99335 100%) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    border: 1.5px solid #8c6427 !important;
    box-shadow: 0 4px 14px rgba(201, 147, 53, 0.4) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-shop-ceiling:hover {
    transform: scale(1.05) !important;
}

/* Product Card Soft Pastel Container */
.faras-product-canvas {
    background: linear-gradient(135deg, #f0f7ec 0%, #dcf0d3 100%) !important;
}

/* High Contrast Black Footer */
.faras-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

.faras-footer p {
    color: #000000 !important;
}

/* Subcategory Filter Tabs (Active & Inactive) */
.subcat-btn {
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.subcat-btn-active {
    background-color: #01532d !important;
    color: #ffffff !important;
    border: 1.5px solid #01532d !important;
    box-shadow: 0 4px 14px rgba(1, 83, 45, 0.4) !important;
}

.subcat-btn-inactive {
    background-color: #ffffff !important;
    color: #374151 !important;
    border: 1.5px solid #d1d5db !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.subcat-btn-inactive:hover {
    border-color: #01532d !important;
    color: #01532d !important;
    background-color: #f0fdf4 !important;
}

/* Track Order Luxury Pill Button in Navbar */
.btn-track-pill {
    background: linear-gradient(135deg, #8c6427 0%, #b38234 50%, #8c6427 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    padding: 7px 16px !important;
    border-radius: 9999px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    box-shadow: 0 3px 10px rgba(140, 100, 39, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-track-pill:hover {
    filter: brightness(1.1) !important;
    transform: scale(1.05) !important;
}

/* Universal Clean Page Base (Overrides dark radial-gradient background completely) */
body {
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #111827 !important;
    min-height: 100vh;
}

/* FAQ Accordion Styling */
.faras-faq-card {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.25s ease;
    overflow: hidden;
}

.faras-faq-card:hover {
    border-color: #01532d;
    box-shadow: 0 8px 24px rgba(1, 83, 45, 0.08);
}

.faras-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: none;
}

.faras-faq-trigger:hover {
    color: #01532d;
}

.faras-faq-content {
    display: none;
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faras-faq-card.open {
    border-color: #01532d;
    box-shadow: 0 6px 20px rgba(1, 83, 45, 0.1);
}

.faras-faq-card.open .faras-faq-content {
    display: block;
}

.faras-faq-card.open .faq-icon {
    transform: rotate(45deg);
    color: #8c6427;
}

/* Certification Cards */
.cert-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: #01532d;
    box-shadow: 0 12px 28px rgba(1, 83, 45, 0.1);
}

/* ==========================================================================
   Site-Wide Fluid Scroll Reveal In/Out Animations
   ========================================================================== */
.faras-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.faras-reveal.faras-in-view {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Out animation when scrolling past */
.faras-reveal:not(.faras-in-view) {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
}

/* Staggered transition delays for grid items */
.faras-delay-1 { transition-delay: 0.08s; }
.faras-delay-2 { transition-delay: 0.16s; }
.faras-delay-3 { transition-delay: 0.24s; }
.faras-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .faras-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Luxury Faras Fans Toast & Notification System
   ========================================================================== */
#farasToastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 92vw;
    width: 380px;
}

@media (max-width: 640px) {
    #farasToastContainer {
        top: 14px;
        left: 14px;
        right: 14px;
        width: auto;
    }
}

.faras-toast {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1.5px solid #e2e8f0;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faras-toast.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.faras-toast.hiding {
    transform: translateY(-15px) scale(0.95);
    opacity: 0;
}

.faras-toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    font-weight: 900;
}

.faras-toast-success { border-color: #10b981; }
.faras-toast-success .faras-toast-icon { background: #d1fae5; color: #065f46; }

.faras-toast-error { border-color: #ef4444; }
.faras-toast-error .faras-toast-icon { background: #fee2e2; color: #991b1b; }

.faras-toast-warning { border-color: #f59e0b; }
.faras-toast-warning .faras-toast-icon { background: #fef3c7; color: #92400e; }

.faras-toast-info { border-color: #01532d; }
.faras-toast-info .faras-toast-icon { background: #e6f4ea; color: #01532d; }

.faras-toast-content {
    flex: 1;
    font-size: 13px;
    line-height: 1.45;
    color: #1f2937;
    font-weight: 600;
}

.faras-toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.faras-toast-close:hover { color: #111827; }

/* Out of Stock Card Badge & Styles */
.faras-out-of-stock-badge {
    background: #dc2626 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35) !important;
}

/* ==========================================================================
   3D Fan Blade Hover Pop-Out ("Par Bahir Niklay") & Compact Card Utilities
   ========================================================================== */
.faras-blade-pop {
    transition: transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1) !important;
    transform-origin: center center !important;
    will-change: transform;
}

.group:hover .faras-blade-pop {
    transform: scale(1.15) translateY(-2px) !important;
}

/* Color Combination Swatches at Bottom-Right of Fan Image */
.faras-color-swatches-box {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    padding: 3.5px 7px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.faras-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.faras-color-dot:hover {
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Compact Card Top-Left Badge Inside Image */
.faras-card-img-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 3px 9px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #01532d;
    line-height: 1.3;
}

/* Out of Stock Badge at Top-Left Corner */
.faras-card-img-badge.out-of-stock {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1.5px solid #b91c1c !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4) !important;
}

/* Universal Faras Product Card Spacing & Edge Protection */
.catalogue-card,
.faras-card,
.group.rounded-3xl.bg-white {
    padding: 1.25rem !important; /* 20px on PC/Desktop */
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .catalogue-card,
    .faras-card,
    .group.rounded-3xl.bg-white {
        padding: 1rem !important; /* 16px clean padding on Mobile */
    }
}

/* Safe margin for currency symbol so glyphs like 'Rs.' never clip */
.faras-price-text {
    display: inline-block !important;
    font-feature-settings: "tnum" !important;
    letter-spacing: -0.01em !important;
    padding-left: 2px !important;
}

/* High Contrast Black Mega Sale Ribbon */
.faras-sale-ribbon-black {
    color: #000000 !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Filter Drawer Elevation over Sticky Navbar Header */
#filterDrawerBackdrop {
    z-index: 100000 !important;
}

#filterDrawerPanel {
    z-index: 100001 !important;
}


