/* ============================================
   IT BAG — UI Enhancement Design System 
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
    /* Primary Palette */
    --ui-primary: #1a3a5c;
    --ui-primary-light: #2bb0c6;
    --ui-primary-dark: #0a2e4a;
    --ui-accent: #2bb0c6;
    --ui-accent-light: #3dd4ec;
    --ui-accent-dark: #1e8fa0;

    /* Gradients */
    --ui-gradient-primary: linear-gradient(135deg, #1a3a5c 0%, #2bb0c6 100%);
    --ui-gradient-accent: linear-gradient(135deg, #2bb0c6 0%, #3dd4ec 100%);
    --ui-gradient-hero: linear-gradient(135deg, rgba(26, 58, 92, 0.85) 0%, rgba(43, 176, 198, 0.65) 100%);
    --ui-gradient-dark: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #1a3a5c 100%);
    --ui-gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

    /* Neutrals */
    --ui-bg: #f8fafc;
    --ui-bg-alt: #f1f5f9;
    --ui-surface: #ffffff;
    --ui-text: #1e293b;
    --ui-text-muted: #64748b;
    --ui-border: #e2e8f0;

    /* Spacing */
    --ui-section-py: 5rem;
    --ui-card-radius: 16px;
    --ui-radius-sm: 8px;
    --ui-radius-pill: 50px;

    /* Transitions */
    --ui-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --ui-transition-fast: all 0.2s ease;
    --ui-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --ui-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --ui-shadow: 0 4px 15px rgba(0,0,0,0.08);
    --ui-shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --ui-shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --ui-shadow-glow: 0 0 30px rgba(43, 176, 198, 0.3);
}

/* --- Global Resets & Enhancements --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: var(--ui-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.mega-title, .section-header h2 {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   NAVBAR — Glassmorphism Sticky
   ============================================ */

.header-7 {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--ui-transition);
}

.header-7.scrolled {
    box-shadow: var(--ui-shadow-md);
}

.header-7.scrolled .header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.header-7 .header {
    background: #fff;
    transition: var(--ui-transition);
    border-bottom: 1px solid var(--ui-border);
    padding: 8px 0;
}

/* Nav search bar */
.nav-search .searchField {
    border: 2px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-pill) !important;
    overflow: hidden;
    transition: var(--ui-transition);
    background: var(--ui-bg);
}

.nav-search .searchField:focus-within {
    border-color: var(--ui-accent) !important;
    box-shadow: 0 0 0 3px rgba(43, 176, 198, 0.15);
    background: #fff;
}

.nav-search .input-text {
    border: none !important;
    padding: 10px 18px !important;
    font-size: 14px;
    background: transparent !important;
}

.nav-search .action.search {
    border: none !important;
    padding: 8px 16px !important;
    color: var(--ui-accent);
    font-size: 18px;
}

/* Right-side icons */
.icons-col .iconset {
    transition: var(--ui-transition-fast);
}

.icons-col .iconset:hover {
    color: var(--ui-accent) !important;
}

.icons-col .icon {
    font-size: 20px;
}

.icons-col .text {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop Navigation Bar */
.menu-outer {
    background: var(--ui-primary-dark) !important;
    border-bottom: 2px solid var(--ui-accent);
    position: relative;
}

/* Fix: remove any accidental border/separator over the Products megamenu item */
#siteNav > li.lvl1.parent.megamenu > a {
    border-top: none !important;
}

#siteNav > li {
    border-top: none !important;
}

#siteNav > li > a,
#siteNav > li > a.site-nav {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    padding: 14px 16px !important;
    position: relative;
    transition: var(--ui-transition-fast);
    text-transform: uppercase;
}

#siteNav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--ui-accent-light);
    transition: var(--ui-transition);
    border-radius: 2px;
}

#siteNav > li > a:hover,
#siteNav > li > a:focus {
    color: #fff !important;
}

#siteNav > li > a:hover::after,
#siteNav > li.active > a::after {
    width: 70%;
}

/* Nav odoo / special link button style - REMOVED, but keep for safety */
.nav-odoo-partnership {
    display: none !important;
}

/* Mega menu enhancement */
.megamenu {
    border: none !important;
    box-shadow: var(--ui-shadow-lg) !important;
    border-radius: 0 0 var(--ui-card-radius) var(--ui-card-radius) !important;
    border-top: 3px solid var(--ui-accent) !important;
    animation: megamenuFadeIn 0.3s ease;
}

@keyframes megamenuFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.megamenu .menu-title {
    color: var(--ui-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-bottom: 2px solid var(--ui-accent);
    padding-bottom: 8px !important;
    margin-bottom: 10px;
}

.megamenu .subLinks li a {
    transition: var(--ui-transition-fast);
    padding: 4px 0 !important;
}

.megamenu .subLinks li a:hover {
    color: var(--ui-accent) !important;
    padding-inline-start: 8px !important;
}

/* ============================================
   HERO SLIDER
   ============================================ */

.slideshow-wrapper {
    position: relative;
}

.slideshow-wrapper .slide {
    position: relative;
}

.slideshow-wrapper .slideshow-overlay {
    background: var(--ui-gradient-hero) !important;
}

/* Fix: center all slider content so title/subtitle/btn never wrap misaligned */
.slideshow-wrapper .slideshow-content {
    text-align: center !important;
}

.slideshow-wrapper .wrap-caption {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slideshow-wrapper .ss-btnWrap {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1.25rem;
}

.slideshow-wrapper .mega-title {
    font-size: clamp(1.4rem, 4vw, 2.8rem) !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: heroFadeUp 0.8s ease-out;
    text-align: center !important;
    max-width: 800px;
}

@media (max-width: 768px) {
    .slideshow-wrapper .mega-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem) !important;
        max-width: 90%;
    }
}

.slideshow-wrapper .mega-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem) !important;
    opacity: 0.9;
    animation: heroFadeUp 0.8s ease-out 0.2s both;
    text-align: center !important;
    max-width: 700px;
}

.slideshow-wrapper .ss-btnWrap .btn {
    background: var(--ui-gradient-accent) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    padding: 14px 36px !important;
    border-radius: var(--ui-radius-pill) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--ui-transition);
    box-shadow: 0 4px 20px rgba(43, 176, 198, 0.4);
    animation: heroFadeUp 0.8s ease-out 0.4s both;
}

.slideshow-wrapper .ss-btnWrap .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 176, 198, 0.5);
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider navigation arrows */
.slideshow-wrapper .slick-prev,
.slideshow-wrapper .slick-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    transition: var(--ui-transition);
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.slideshow-wrapper .slick-prev:hover,
.slideshow-wrapper .slick-next:hover {
    background: rgba(255,255,255,0.3) !important;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--ui-primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--ui-gradient-accent);
    border-radius: 3px;
}

.section-header .section-subtitle {
    color: var(--ui-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   COLLECTIONS / FEATURED MEGAMENUS CARDS
   ============================================ */

.featured-mega {
    background: var(--ui-bg) !important;
    padding: 4rem 0 !important;
}

.featured-mega__card {
    background: var(--ui-surface);
    border-radius: var(--ui-card-radius);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-transition);
    border: 1px solid var(--ui-border);
    overflow: hidden;
}

.featured-mega__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ui-shadow-lg);
    border-color: transparent;
}

.featured-mega__media {
    overflow: hidden;
    border-radius: var(--ui-card-radius) var(--ui-card-radius) 0 0;
}

.featured-mega__media img {
    transition: var(--ui-transition-slow);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-mega__card:hover .featured-mega__media img {
    transform: scale(1.08);
}

.featured-mega__body {
    padding: 1.5rem;
}

.featured-mega__card-title {
    color: var(--ui-primary);
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.featured-mega__description {
    color: var(--ui-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.featured-mega__index {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(43, 176, 198, 0.08);
    position: absolute;
    top: 10px;
    inset-inline-end: 20px;
    line-height: 1;
}

.featured-mega__cta {
    border-radius: var(--ui-radius-pill) !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    transition: var(--ui-transition) !important;
}

.featured-mega__cta:hover {
    background: var(--ui-gradient-accent) !important;
    border-color: transparent !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 176, 198, 0.3);
}

/* ============================================
   SPECIAL OFFERS SECTION
   ============================================ */

.product-slider.tab-slider-product {
    background: var(--ui-surface);
}

.tabs-style1 li {
    border-radius: var(--ui-radius-pill) !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: var(--ui-transition) !important;
    border: 2px solid transparent !important;
    margin: 4px !important;
}

.tabs-style1 li:hover {
    transform: translateY(-2px);
}

.tabs-style1 li.active {
    box-shadow: var(--ui-shadow);
}

/* ============================================
   SHOP BY CATEGORY
   ============================================ */

.buy_by_category {
    position: relative;
    background: var(--ui-primary-dark) !important;
}

/* Fix: ensure parallax image covers full area and gradient overlay looks good */
.buy_by_category .hero__overlay {
    background: linear-gradient(135deg, rgba(26,58,92,0.82) 0%, rgba(43,176,198,0.6) 100%) !important;
}

.buy_by_category .mega-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    color: #fff !important;
}

/* Fix: category buttons — solid white text with high contrast */
.buy_by_category .category-lists .btn {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.75) !important;
    color: #fff !important;
    border-radius: var(--ui-radius-pill) !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 14px;
    transition: var(--ui-transition);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.buy_by_category .category-lists .btn:hover {
    background: var(--ui-accent-light) !important;
    border-style: solid !important;
    border-color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================
   PRODUCT CARDS — Equal Heights
   ============================================ */

/* --- Slick slider: make track flex so slides stretch to equal height --- */
.productSlider .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.productSlider .slick-slide {
    display: flex !important;
    height: auto !important;
    flex-direction: column;
}

/* Slick wraps each col-* in an extra div — make it stretch too */
.productSlider .slick-slide > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* The col-* wrapper inside slick slide must also stretch */
.productSlider .slick-slide > div > [class*="col-"] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- Static grid rows: make col wrappers flex --- */
.tab_content.grid-products .row {
    display: flex !important;
    flex-wrap: wrap;
}

.tab_content.grid-products .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* --- The card itself: stretch to fill parent height --- */
.grid-products .item,
.productSlider .item {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* --- Product image area: fixed height so all images align --- */
.grid-products .item .product-image,
.productSlider .item .product-image {
    flex-shrink: 0;
}

/* --- Product details area grows to fill remaining card space --- */
.grid-products .item .product-details,
.productSlider .item .product-details,
.grid-products .item .box-details,
.productSlider .item .box-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- Product name: grows to push buttons down --- */
.grid-products .item .product-name,
.productSlider .item .product-name {
    flex: 1;
}

/* --- Action buttons always pinned to bottom of card --- */
.grid-products .item .button-action,
.productSlider .item .button-action {
    margin-top: auto;
    padding-top: 12px;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */

.solutions-section .solution-card,
.section .solution-card {
    border-radius: var(--ui-card-radius);
    transition: var(--ui-transition);
    border: 1px solid var(--ui-border);
    overflow: visible !important; /* allow discount badge overflow */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solutions-section .solution-card:hover,
.section .solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ui-shadow-md);
}

/* Fix: add margin-top so discount badge (-10px) has enough room above the card */
.solutions-section .col-lg-4,
.solutions-section .col-md-6 {
    padding-top: 22px;
    margin-top: 8px;
}

.solutions-section .row {
    padding-top: 16px;
}

/* ============================================
   ODOO PARTNERSHIP SECTION
   ============================================ */

.odoo-partner-highlight {
    background: linear-gradient(180deg, var(--ui-bg) 0%, #fff 100%);
    padding: var(--ui-section-py) 0;
}

.odoo-partner-badge {
    background: var(--ui-gradient-accent) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.odoo-partner-title {
    color: var(--ui-primary) !important;
    font-family: 'Outfit', sans-serif !important;
}

.odoo-solution-card {
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    transition: var(--ui-transition);
    position: relative;
    overflow: hidden;
}

.odoo-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 0;
    background: var(--ui-gradient-accent);
    transition: var(--ui-transition);
}

.odoo-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ui-shadow-md);
    border-color: transparent;
}

.odoo-solution-card:hover::before {
    height: 100%;
}

.odoo-solution-card .rounded-circle {
    background: var(--ui-gradient-primary) !important;
}

.odoo-solution-card-title {
    color: var(--ui-primary);
    font-weight: 600;
}

/* ============================================
   PLANS SECTION — Equal Heights + Dropdown Fix
   ============================================ */

/* Fix: equal height plan cards */
.plans-section .col-lg-4,
.plans-section .col-md-6 {
    display: flex;
    flex-direction: column;
    padding-top: 24px; /* space for discount badge overflow */
}

.plans-section .plan-card.card {
    transition: var(--ui-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plans-section .plan-card .card-body {
    flex: 1;
}

.plans-section .plan-card:hover,
.section .plan-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--ui-shadow-lg);
}

/* Fix: Most Popular plan card — visual highlight */
.plans-section .plan-card.featured-plan {
    border: 3px solid var(--ui-accent) !important;
    box-shadow: 0 12px 50px rgba(43, 176, 198, 0.4) !important;
    transform: scale(1.05);
    z-index: 5;
    position: relative;
    background: #fff !important;
}

.plans-section .plan-card.featured-plan:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Fix: plan dropdown (Select Solution) — full custom styling */
.plans-section .solutions-select {
    position: relative;
}

.plans-section .solutions-select label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ui-text-muted);
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.plans-section .solutions-select select,
.plans-section .solutions-select .form-control {
    color: var(--ui-text) !important;
    background-color: #fff !important;
    border: 1.5px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-sm) !important;
    padding: 9px 36px 9px 14px !important;
    font-size: 13px;
    width: 100%;
    cursor: pointer;
    /* Remove browser default appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 10px center !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plans-section .solutions-select select:focus,
.plans-section .solutions-select .form-control:focus {
    border-color: var(--ui-accent) !important;
    box-shadow: 0 0 0 3px rgba(43, 176, 198, 0.15) !important;
    outline: none !important;
}

.plans-section .solutions-select select option {
    color: var(--ui-text) !important;
    background-color: #fff !important;
}

.plans-section .solutions-select select option:disabled {
    color: var(--ui-text-muted) !important;
}

/* ============================================
   STORE FEATURES (Why Choose Us)
   ============================================ */

.store-features.style1 {
    position: relative;
}

.store-features .store-info .col {
    transition: var(--ui-transition);
}

.store-features .store-info .col:hover {
    transform: translateY(-5px);
}

.store-features h5 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
}

/* ============================================
   PROMO BAR
   ============================================ */

.promoMsg {
    background: var(--ui-gradient-primary) !important;
    border: none !important;
}

.promoMsg .item {
    padding: 12px 20px !important;
    font-weight: 500;
    color: #fff !important;
}

.promoMsg .btn-secondary {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    border-radius: var(--ui-radius-pill) !important;
    padding: 6px 20px !important;
    font-weight: 600;
    transition: var(--ui-transition);
}

.promoMsg .btn-secondary:hover {
    background: rgba(255,255,255,0.35) !important;
}

.promoMsg .btn-odoo-primary {
    background: var(--ui-gradient-accent) !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--ui-radius-pill) !important;
    padding: 6px 20px !important;
    font-weight: 600;
    transition: var(--ui-transition);
}

/* ============================================
   BUTTONS — Global Enhancement
   ============================================ */

.btn-primary,
.btn.btn-primary {
    background: var(--ui-gradient-primary) !important;
    border: none !important;
    border-radius: var(--ui-radius-sm) !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--ui-transition);
    box-shadow: var(--ui-shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow);
    opacity: 0.95;
}

.btn-outline-primary {
    border: 2px solid var(--ui-primary) !important;
    color: var(--ui-primary) !important;
    border-radius: var(--ui-radius-sm) !important;
    font-weight: 600;
    transition: var(--ui-transition);
}

.btn-outline-primary:hover {
    background: var(--ui-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow);
}

/* ============================================
   FOOTER — Modern Dark Theme
   ============================================ */

.footer.footer-1 {
    background: none !important;
}

.footer .footer-top {
    background: var(--ui-gradient-dark) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 4rem 0 2rem !important;
}

.footer .footer-top p,
.footer .footer-top a,
.footer .footer-top li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: var(--ui-transition-fast);
}

.footer .footer-top a:hover,
.footer .footer-top li a:hover {
    color: var(--ui-accent-light) !important;
    text-decoration: none;
    padding-inline-start: 4px;
}

.footer .footer-top h4,
.footer .footer-top .h4 {
    color: #fff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-top h4::after,
.footer .footer-top .h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 35px;
    height: 2px;
    background: var(--ui-accent);
    border-radius: 2px;
}

.footer .footer-top .logo-img {
    filter: none !important;
    opacity: 1;
    max-width: 140px;
}

/* Social icons */
.footer .social-icons .list-inline-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 16px;
    transition: var(--ui-transition);
    padding: 0 !important;
}

.footer .social-icons .list-inline-item a:hover {
    background: var(--ui-accent) !important;
    color: #fff !important;
    border-color: var(--ui-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(43, 176, 198, 0.4);
}

/* Newsletter */
.footer .footer-newsletter .input-group {
    border-radius: var(--ui-radius-pill);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.footer .newsletter-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 20px !important;
}

.footer .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer .newsletter__submit {
    background: var(--ui-gradient-accent) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 20px !important;
    transition: var(--ui-transition);
}

.footer .newsletter__submit:hover {
    opacity: 0.9;
}

.footer .footer-bottom {
    background: #0a1520 !important;
    padding: 16px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .footer-bottom a {
    color: var(--ui-accent-light) !important;
}

/* Fix: copyright text — solid white so it's always readable */
.footer .footer-bottom .copytext,
.footer .footer-bottom .copytext * {
    color: #ffffff !important;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Fix: payment image — white background chip so logos are visible on dark footer */
.footer .footer-top img[alt*="Paypal"],
.footer .footer-contact img.my-4,
.footer .footer-contact img:not(.logo-img) {
    filter: none !important;
    opacity: 1 !important;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    max-width: 220px;
    display: block;
    margin-top: 12px !important;
}

/* ============================================
   FAQ PREVIEW SECTION (Home Page)
   ============================================ */

/* Fix: FAQ section padding — use the container's col-lg-8 for natural padding */
.faq-preview {
    background: var(--ui-bg);
    padding: var(--ui-section-py) 0;
}

/* Add padding inside the accordion panel itself */
.faq-preview .col-lg-8 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

@media (min-width: 992px) {
    .faq-preview .col-lg-8 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

.faq-preview .accordion-item {
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-card-radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--ui-transition);
    padding-inline: 10px;
}

.faq-preview .accordion-item:hover {
    box-shadow: var(--ui-shadow);
}

.faq-preview .accordion-button {
    font-weight: 600;
    font-size: 15px;
    color: var(--ui-text);
    padding: 18px 24px;
    background: var(--ui-surface) !important;
}

.faq-preview .accordion-button:not(.collapsed) {
    color: var(--ui-primary);
    background: var(--ui-bg) !important;
    box-shadow: none;
}

.faq-preview .accordion-button::after {
    transition: var(--ui-transition);
}

.faq-preview .accordion-body {
    color: var(--ui-text-muted);
    line-height: 1.7;
    padding: 0 24px 18px;
}

.faq-preview .btn-all-faqs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ui-gradient-primary);
    color: #fff;
    border-radius: var(--ui-radius-pill);
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ui-transition);
    border: none;
}

.faq-preview .btn-all-faqs:hover {
    transform: translateY(-2px);
    box-shadow: var(--ui-shadow-md);
    color: #fff;
}

/* ============================================
   TOP INFO BAR
   ============================================ */

.top-info-bar.style1:not(.promoMsg) {
    background: var(--ui-primary-dark) !important;
    border-bottom: none !important;
}

.top-info-bar .promo-counter {
    font-weight: 700;
    color: var(--ui-accent-light) !important;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   CARD UTILITIES
   ============================================ */

.ui-card {
    background: var(--ui-surface);
    border-radius: var(--ui-card-radius);
    border: 1px solid var(--ui-border);
    box-shadow: var(--ui-shadow-sm);
    transition: var(--ui-transition);
}

.ui-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ui-shadow-md);
    border-color: transparent;
}

/* ============================================
   BREADCRUMB ENHANCEMENT
   ============================================ */

.breadcrumb-section {
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ui-gradient-hero);
    z-index: 1;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   PRODUCT CARDS ENHANCEMENT
   ============================================ */

.grid-products .item {
    transition: var(--ui-transition);
}

.grid-products .item:hover {
    transform: translateY(-4px);
}

.grid-products .product-image {
    border-radius: var(--ui-radius-sm);
    overflow: hidden;
}

/* ============================================
   PAGE LOADER
   ============================================ */

#pre-loader {
    background: var(--ui-surface) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 991px) {
    :root {
        --ui-section-py: 3rem;
    }

    .menu-outer {
        border-bottom-width: 1px;
    }
}

@media (max-width: 767px) {
    :root {
        --ui-section-py: 2.5rem;
        --ui-card-radius: 12px;
    }

    .featured-mega__media img {
        height: 160px;
    }

    .footer .footer-top {
        padding: 3rem 0 !important;
        text-align: center;
    }

    .footer .footer-top h4::after,
    .footer .footer-top .h4::after {
        inset-inline-start: 50%;
        transform: translateX(-50%);
    }
}

/* ============================================
   RTL SPECIFIC OVERRIDES
   ============================================ */

[dir="rtl"] .megamenu .subLinks li a:hover {
    padding-inline-start: 8px !important;
    padding-inline-end: 0 !important;
}

[dir="rtl"] .footer .footer-top a:hover,
[dir="rtl"] .footer .footer-top li a:hover {
    padding-inline-start: 4px;
    padding-inline-end: 0;
}

/* Ensure icon alignment in RTL */
[dir="rtl"] .btn .fas,
[dir="rtl"] .btn .fab,
[dir="rtl"] .btn .far {
    margin-left: 8px;
    margin-right: 0;
}

/* Fix: scroll-to-top — back to standard display toggle for fadeIn/fadeOut compatibility */
#site-scroll {
    background: var(--ui-gradient-accent) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: none; /* jQuery fadeIn/fadeOut will toggle this */
    align-items: center;
    justify-content: center;
    box-shadow: var(--ui-shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

#site-scroll:hover {
    transform: translateY(-5px);
    box-shadow: var(--ui-shadow-glow);
}

/* ============================================
   MOBILE NAV ENHANCEMENT
   ============================================ */

.mobile-nav-wrapper {
    background: var(--ui-surface) !important;
    box-shadow: var(--ui-shadow-lg) !important;
}

.mobile-nav li a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    padding: 12px 20px !important;
    transition: var(--ui-transition-fast);
    border-bottom: 1px solid var(--ui-border);
}

.mobile-nav li a:hover {
    color: var(--ui-accent) !important;
    background: var(--ui-bg);
}

.closemobileMenu {
    background: var(--ui-primary-dark) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 16px 20px !important;
}

/* ============================================
   WHATSAPP/CONTACT FLOATING BUTTON (optional)
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    inset-inline-end: 25px;
    z-index: 999;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--ui-transition);
    color: #fff;
    font-size: 28px;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

