/* ============================================================
   NAVY GOLD PROFESSIONAL DEALS THEME — full override
   Primary: #0D1B2A dark navy | Accent: #F5A623 gold
   ============================================================ */

   :root {
    --color-green: #F5A623;
    --color-green-500: #F5A623;
    --color-green-700: #D4891B;
    --color-green-600: #162B4D;
    --color-natural-light: #EBF0F9;
    --color-natural-dark: #3D4856;
    --color-natural-charcol: #0D1B2A;
    --color-accent-blue: #F5A623;
    --color-accent-bg-blue: #EBF0F9;
    --color-accent-tiny-blue: #C8D9F0;
    --color-accent-yellow: #F5A623;
    --bs-body-bg: #F4F6F9;
    --bs-body-color: #3D4856;
    --bs-white: #FFFFFF;
    --bs-light: #F4F6F9;
    --bs-dark: #0D1B2A;
    --bs-gray: #EBF0F9;
    --bs-gray-100: #F4F6F9;
    --bs-gray-200: #EBF0F9;
    --bs-gray-300: #C8D9F0;
    --bs-body-bg-rgb: 244, 246, 249;
    --bs-body-color-rgb: 61, 72, 86;
  }

  /* ===== Page Base ===== */
  body {
    background-color: #F4F6F9 !important;
    color: #3D4856 !important;
  }

  /* ===== Headings ===== */
  .h1, .h2, .h3, .h4, .h5, .h6,
  h1, h2, h3, h4, h5, h6 {
    color: #0D1B2A !important;
  }
  p { color: #3D4856 !important; }
  .text-muted, small, .small { color: #6B7A95 !important; }
  a { color: #F5A623; }
  a:hover { color: #D4891B; }

  /* ===== Breadcrumb ===== */
  .breadcrumb-item a,
  .breadcrumb-item { color: #6B7A95 !important; }
  .breadcrumb-item.active { color: #0D1B2A !important; }
  .breadcrumb-item + .breadcrumb-item::before { color: #6B7A95 !important; }

  /* ===== Topbar ===== */
  .topbar {
    background: #162B4D !important;
    border-bottom: 1px solid #1E3A6E;
    color: #FFFFFF !important;
    height: 35px;
    text-align: center;
    align-content: center;
    align-items: center;
  }
  .shopnowtopbar {
    background: #FFFFFF;
    color: #162B4D;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    padding: 4px 14px;
    text-decoration: none;
    display: inline-block;
    margin-left: 8px;
    border: 1.5px solid #FFFFFF;
    transition: background 0.2s, color 0.2s;
  }
  .shopnowtopbar:hover {
    background: #162B4D;
    color: #FFFFFF !important;
    border-color: rgba(255,255,255,0.6);
  }
  marquee { color: #FFFFFF !important; }

  /* ===== Navbar ===== */
  header.wrapper,
  .wrapper.bg-light {
    background: #0D1B2A !important;
    border-bottom: none;
  }
  .navbar,
  .navbar-light,
  .center-nav {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2EAF4 !important;
  }
  .navbar .nav-link,
  .navbar-nav .nav-link { color: #3D4856 !important; }
  .navbar .nav-link:hover,
  .navbar .nav-link.active { color: #F5A623 !important; }

  /* ===== Navbar icon-style links (Deals Alert / Login / Menu) ===== */
  .navbar-icon-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #3D4856 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    gap: 3px !important;
    min-width: 58px !important;
    text-align: center !important;
    transition: color 0.2s !important;
  }
  .navbar-icon-link i {
    font-size: 22px !important;
    color: #0D1B2A !important;
    display: block !important;
    transition: color 0.2s !important;
  }
  .navbar-icon-link:hover,
  .navbar-icon-link:hover i { color: #F5A623 !important; }

  .navbar-icon-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: none !important;
    border: none !important;
    color: #3D4856 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    gap: 3px !important;
    min-width: 58px !important;
    text-align: center !important;
    cursor: pointer !important;
    padding: 4px 6px !important;
    transition: color 0.2s !important;
  }
  .navbar-icon-btn svg { color: #0D1B2A !important; transition: color 0.2s !important; }
  .navbar-icon-btn:hover { color: #F5A623 !important; }
  .navbar-icon-btn:hover svg { color: #F5A623 !important; }

  /* Always show the right-side navbar items (menu button) on all screen sizes */
  .navbar-other { display: flex !important; }

  /* ===== Category bar (second navbar) ===== */
  .categories {
    background: #162B4D !important;
    border-top: 1px solid #1A3560 !important;
    border-bottom: 1px solid #1A3560 !important;
  }
  .categories a { color: rgba(255,255,255,.85) !important; }
  .categories a:hover { color: #FF6B35 !important; }

  /* ===== Search bar ===== */
  .search-container {
    background-color: #FFFFFF !important;
    border: 2px solid #D0DCF0 !important;
    border-radius: 50px !important;
    padding: 3px 3px 3px 6px !important;
  }
  .search-input {
    background: transparent !important;
    color: #3D4856 !important;
  }
  .search-input::placeholder { color: #6B7A95 !important; }

  /* Dropdown: own outlined pill — visually separate from the input */
  .custom-select .selected {
    background: #F4F6F9 !important;
    color: #3D4856 !important;
    border: 1.5px solid #C8D9F0 !important;
    border-radius: 50px !important;
    padding: 5px 14px !important;
    margin: 2px 6px 2px 0 !important;
  }
  /* Vertical divider between dropdown and input */
  .custom-select {
    border-right: 1.5px solid #D0DCF0 !important;
    margin-right: 10px !important;
    padding-right: 6px !important;
  }
  .custom-select .options {
    background: #FFFFFF !important;
    border-color: #D0DCF0 !important;
    border-radius: 10px !important;
  }
  .custom-select .options div:hover { background: #F5A623 !important; color: #0D1B2A !important; }
  .search-icon { background-color: #0D1B2A !important; border-radius: 50px !important; padding: 8px 14px !important; }
  .search-icon:hover { background-color: #162B4D !important; }
  .autocomplete-dropdown {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
  }
  .autocomplete-item { color: #3D4856 !important; }
  .autocomplete-item:hover { background: #EBF0F9 !important; color: #F5A623 !important; }

  /* ===== CTA Buttons ===== */
  .btn-primary,
  .btn-login,
  .btn-orange {
    background: #162B4D !important;
    border: 1px solid #162B4D !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
  }
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
  .btn-login:hover, .btn-login:focus, .btn-login:active,
  .btn-orange:hover {
    background: #0D1B2A !important;
    border-color: #0D1B2A !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(13,27,42,0.35) !important;
  }
  .btn-alert,
  .btn-login-sm,
  .offcanvas-menu-btn {
    background: rgba(255,255,255,0.12) !important;
    border: 2px solid #162B4D !important;
    color: #162B4D !important;
  }
  .btn-alert:hover,
  .btn-login-sm:hover,
  .offcanvas-menu-btn:hover {
    border-color: #162B4D !important;
    color: #FFFFFF !important;
    background: #162B4D !important;
    box-shadow: none !important;
  }

  /* ===== Cards ===== */
  .card {
    background: #FFFFFF !important;
    border: 1px solid #C8D9F0 !important;
    color: #3D4856 !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.07) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }
  .card:hover {
    border-color: #F5A623 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.14) !important;
  }
  .plain_card:hover {
    border-color: #C8D9F0 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.07) !important;
  }
  .card-header,
  .card-footer {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
  }
  .card-body { background: #FFFFFF !important; }

  section.bg-wrapper .card,
  section.bg-wrapper .card-body {
    background: #FFFFFF !important;
  }
  section.bg-wrapper .card-header,
  section.bg-wrapper .card-footer {
    background: #FFFFFF !important;
  }

  /* ===== Sale / discount badges ===== */
  .badge.bg-danger, .badge-danger,
  .deals-off-des {
    background: #E8430A !important;
    color: #fff !important;
  }
  .badge.bg-warning, .badge-warning { background: #F5A623 !important; color: #0D1B2A !important; }

  /* ===== Price colours ===== */
  .sale_price { color: #16A34A !important; font-weight: 700 !important; }
  .actual_price { color: #6B7A95 !important; text-decoration: line-through !important; }
  .deals-sec .deal-p-price span { color: #3D4856 !important; }
  .deals-sec .deal-p-price span:first-child { color: #6B7A95 !important; text-decoration: line-through !important; }
  .deal_save { background: #16A34A !important; border-color: #16A34A !important; }
  .deals-off-des { background: #E8430A !important; color: #fff !important; font-weight: 700 !important; }

  /* ===== BG utility overrides ===== */
  .bg-light, .bg-white { background: #FFFFFF !important; }
  .bg-charcol { background: #0D1B2A !important; }
  .bg-dark, .dark-btn {
    background: #0D1B2A !important;
    color: #fff !important;
  }
  .bg-gradient-section {
    background: linear-gradient(177deg, #EBF0F9 0%, #F4F6F9 100%) !important;
  }
  .bg_accent_blue { background: #EBF0F9 !important; }
  .bg-light-orange {
    background: #162B4D !important;
    border-color: #162B4D !important;
    color: #FFFFFF !important;
  }
  .bg-light-green { background: #EBF0F9 !important; }

  /* ===== Below-hero section backgrounds ===== */
  .bg-light-green {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
  .bg-light-green > .container-fluid {
    background: #FFFFFF !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  section.wrapper,
  section.bg-wrapper {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }

  .shadow-lg {
    box-shadow: 0 4px 24px rgba(13, 27, 42, 0.10) !important;
  }

  /* Even sections: pure white */
  section.wrapper {
    background: #FFFFFF !important;
  }

  /* Odd sections: cool blue tint */
  section.bg-wrapper {
    background: #FFFFFF !important;
    border-top: 1px solid #C8D9F0;
    border-bottom: 1px solid #C8D9F0;
  }

  section.bg-wrapper.deals-sec {
    background: #EBF0F9 !important;
  }

  section.wrapper.border-bottom {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
  }

  /* ===== Footer ===== */
  footer, #page-footer-area {
    background: #162B4D !important;
    border-top: 1px solid rgba(255,255,255,0.10) !important;
  }
   
  footer p, footer span, footer small, footer li { color: rgb(0 0 0 / 75%) !important; }
  .footer-list li a {
    color: rgba(255,255,255,0.80) !important;
    font-size: 0.78rem;
    transition: color 0.2s, padding-left 0.2s !important;
  }
  .footer-list li a:hover {
    color: #FFFFFF !important;
    padding-left: 4px !important;
  }
  .footer-list li i { color: rgba(255,255,255,0.50) !important; }
  footer h5, footer .text-white { color: #FFFFFF !important; }
  .footer-heading {
    color: #FFFFFF !important;
    border-bottom-color: rgba(255,255,255,0.30) !important;
    padding-bottom: 6px !important;
  }
  /* Bottom bar (copyright row) */
  footer .border-top { border-top-color: rgba(255,255,255,0.12) !important; }
  footer .border-top a, footer .border-top span, footer .border-top p {
    color: rgba(255,255,255,0.65) !important;
  }
  footer .border-top a:hover { color: #FFFFFF !important; }

  /* ===== Dividers / borders ===== */
  .border, .border-top, .border-bottom, .border-end, .border-start {
    border-color: #C8D9F0 !important;
  }
  .border-light { border-color: #C8D9F0 !important; }
  .border-secondary { border-color: #C8D9F0 !important; }

  /* ===== Offcanvas / mobile menu ===== */
  .offcanvas, .custom-offcanvas, .offcanvas-md {
    background-color: #FFFFFF !important;
    color: #3D4856 !important;
  }
  .offcanvas-header { border-color: #C8D9F0 !important; }
  .custom-offcanvas .nav-link,
  .offcanvas .nav-link { color: #3D4856 !important; }
  .custom-offcanvas .nav-link:hover,
  .offcanvas .nav-link:hover {
    background-color: #EBF0F9 !important;
    color: #F5A623 !important;
  }

  /* ===== Mega menu dropdown ===== */
  .subcategories-dropdown {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
    box-shadow: 0 8px 32px rgba(13, 27, 42, 0.12) !important;
  }
  .first-navbar a, .second-navbar a, .subcat-column a { color: #3D4856 !important; }
  .first-navbar a:hover, .second-navbar a:hover, .subcat-column a:hover { color: #F5A623 !important; }
  .border-right-subnavbar, .first-navbar, .second-navbar { border-color: #C8D9F0 !important; }
  .sub-navbar-text { color: #0D1B2A !important; }
  .filler-card, .big-filler-card { border-color: #C8D9F0 !important; }
  .filler-card p, .big-filler-card p { color: #3D4856 !important; }
  .filler-circle .circle-icon,
  .small-filler-circle .small-circle-icon {
    background-color: #F4F6F9 !important;
    border-color: #C8D9F0 !important;
    color: #3D4856 !important;
  }
  .filler-circle p, .small-filler-circle p { color: #3D4856 !important; }
  .small-filler-circle p::after { background-color: #C8D9F0 !important; }
  .navbar-item-box { border-color: #C8D9F0 !important; }

  /* ===== Coupon cards ===== */
  .coupon_background { background: #FFFFFF !important; }
  .coupon_info {
    color: #3D4856 !important;
    border-color: #C8D9F0 !important;
  }
  .coupon_footer { border-color: #C8D9F0 !important; }
  .coupon_code::before { background: #162B4D !important; }
  .coupon_code::after { border-color: #162B4D !important; }
  .coupon_exclusive {
    background: #EBF0F9 !important;
    border-color: #C8D9F0 !important;
    color: #6B7A95 !important;
  }
  .coupon_calender {
    background: #EBF0F9 !important;
    border-color: #C8D9F0 !important;
    color: #0D1B2A !important;
  }

  /* ===== Deal cards ===== */
  .deals-sec .details { background: #FFFFFF !important; }
  .deals-sec .deals-img {
    border-color: #C8D9F0 !important;
    background: #F4F6F9 !important;
  }
  .deals-sec .details .d-logo { background: #FFFFFF !important; }

  /* ===== Offer cards ===== */
  .offer_card {
    border-color: #C8D9F0 !important;
    background: #FFFFFF !important;
  }
  .offer_title, .offer_endtime, .offer_brand { color: #3D4856 !important; }
  .offer_feature {
    background: #EBF0F9 !important;
    color: #0D1B2A !important;
    border-color: #C8D9F0 !important;
  }
  .offer_rating { background: #EBF0F9 !important; border-color: #C8D9F0 !important; }
  .offer_featured {
    background: #EBF0F9 !important;
    border-color: #C8D9F0 !important;
    color: #F5A623 !important;
  }

  /* ===== Category ===== */
  .category_card {
    border-color: #C8D9F0 !important;
    background: #FFFFFF !important;
  }
  .category_title, .category-name { color: #0D1B2A !important; }
  .category-circle { background: #EBF0F9 !important; }
  .category-circle i { color: #F5A623 !important; }
  .category-wrap { color: #3D4856 !important; }
  .category-wrap:hover { color: #F5A623 !important; }
  .category-wrap:hover .category-circle,
  .category-wrap.active .category-circle { background: #F5A623 !important; }
  .category-wrap:hover .category-circle i,
  .category-wrap.active .category-circle i { color: #0D1B2A !important; }
  .category-icon-badge { background-color: #EBF0F9 !important; }
  .category-icon-badge i { color: #F5A623 !important; }

  /* ===== Filter sidebar ===== */
  .filter_card {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.07) !important;
  }
  .filter_title { color: #0D1B2A !important; }
  .filter_header { border-color: #C8D9F0 !important; }
  .filter_group label {
    background: #FFFFFF !important;
    color: #6B7A95 !important;
  }
  .filter_check { color: #3D4856 !important; }
  .form-control, .form-select {
    background-color: #FFFFFF !important;
    border-color: #C8D9F0 !important;
    color: #3D4856 !important;
  }
  .form-control::placeholder { color: #6B7A95 !important; }
  .form-control:focus, .form-select:focus {
    background-color: #FFFFFF !important;
    border-color: #F5A623 !important;
    color: #3D4856 !important;
    box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.20) !important;
  }
  .fixed-sidebar { background: #FFFFFF !important; }

  /* ===== Tags ===== */
  .tag-label {
    border-color: #C8D9F0 !important;
    color: #3D4856 !important;
    background: #FFFFFF !important;
  }
  .tag-label:hover { background: #EBF0F9 !important; color: #0D1B2A !important; }
  .tag-check:checked + .tag-label {
    background: #F5A623 !important;
    border-color: #F5A623 !important;
    color: #0D1B2A !important;
  }

  /* ===== Tabs / pills ===== */
  .store-tabs {
    background: #EBF0F9 !important;
    border-color: #C8D9F0 !important;
  }
  .store-tabs .nav-link { color: #3D4856 !important; }
  .store-tabs .nav-link:hover { background-color: #EBF0F9 !important; color: #0D1B2A !important; }
  .store-tabs .nav-link.active { background-color: #162B4D !important; color: #FFFFFF !important; }
  .category-tab-box { background: #EBF0F9 !important; }
  .nav-pills { background: #EBF0F9 !important; border-color: #C8D9F0 !important; }
  .custom-vertical-tabs .nav-link { color: #3D4856 !important; }
  .custom-vertical-tabs .nav-link.active,
  .custom-vertical-tabs .nav-link:hover:not(.active) {
    background-color: #F5A623 !important;
    color: #0D1B2A !important;
  }
  .custom-vertical-tabs .nav-link.active::after { border-left-color: #F5A623 !important; }
  .nav-tabs .nav-link {
    color: #3D4856 !important;
    border-color: #C8D9F0 !important;
  }
  .nav-tabs .nav-link:hover:not(.active) {
    background: #EBF0F9 !important;
    color: #0D1B2A !important;
  }
  .nav-tabs .nav-link.active {
    background: #F5A623 !important;
    color: #0D1B2A !important;
    border-color: #F5A623 !important;
  }
  #categoryTabs2 .nav-link {
    color: #3D4856 !important;
    border-color: #C8D9F0 !important;
    background: #FFFFFF !important;
  }
  #categoryTabs2 .nav-link:hover:not(.active) { background: #EBF0F9 !important; }
  #categoryTabs2 .nav-link.active {
    background: #F5A623 !important;
    color: #0D1B2A !important;
    border-color: #F5A623 !important;
  }

  /* ===== Slider arrow buttons ===== */
  .slider-btn {
    color: #0D1B2A !important;
    border: 1.5px solid #C8D9F0 !important;
    background: #FFFFFF !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }
  .slider-btn:hover {
    background: #F5A623 !important;
    color: #0D1B2A !important;
    border-color: #F5A623 !important;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.35) !important;
  }

  /* ===== Skeleton loaders ===== */
  .skeleton { background: #D8E5F5 !important; }
  .skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent) !important;
  }

  /* ===== Progress / scroll-to-top ===== */
  .progress-wrap svg.progress-circle path { stroke: #F5A623 !important; }
  .progress-wrap::after { background: #F5A623 !important; color: #0D1B2A !important; }

  /* ============================================================
     SECTION HEADING ACCENT — professional navy instead of gold
     (gold stays for dark-background sections: categories, newsletter)
     ============================================================ */
  /* Base heading: medium grey for the non-accent word */
  .section_heading {
    color: #3D4856 !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
  }
  /* Default: accent word in bold dark navy + gold underline */
  .section_heading .text-orange {
    color: #0D1B2A !important;
    font-weight: 800 !important;
    border-bottom: 2.5px solid #F5A623;
    padding-bottom: 1px;
  }
  /* Exception: inside navy/dark sections, keep gold text, no underline */
  .browse-categories-widget .section_heading .text-orange,
  .newsletter-sidebar .section_heading .text-orange {
    color: #F5A623 !important;
    border-bottom: none !important;
    font-weight: 800 !important;
  }

  /* ===== Misc components ===== */
  .useful-tips { background: #EBF0F9 !important; border-color: #C8D9F0 !important; }
  .today_best_offer { background: #F4F6F9 !important; border-color: #C8D9F0 !important; }
  .child_category_promotion { background: #FFFFFF !important; border-color: #C8D9F0 !important; }
  .child_category_promotion-sm { background: #EBF0F9 !important; }
  .similar-store-content { border-color: #C8D9F0 !important; color: #3D4856 !important; }
  .discount_box_1, .discount_box_2 {
    background: #EBF0F9 !important;
    border-color: #C8D9F0 !important;
    color: #3D4856 !important;
  }
  .discount_box_1 { border-color: #6B7A95 !important; }
  .card_gifts { background: #EBF0F9 !important; border-color: #C8D9F0 !important; }
  .expiry_date_1 { color: #6B7A95 !important; }
  .brand_title, .brand_info { color: #3D4856 !important; }
  .brand_badge { border-color: #C8D9F0 !important; background: #FFFFFF !important; }
  .color_primary { color: #3D4856 !important; }
  .childcategory_icon { background: rgba(13,27,42,0.70) !important; }
  .text-orange { color: #F5A623 !important; }
  .text-black { color: #0D1B2A !important; }
  .read-more, .view-more { color: #F5A623 !important; font-weight: 600 !important; }
  .read-more:hover, .view-more:hover, .fav-btn:hover { color: #D4891B !important; }
  .share-earn, .get-offer { color: #F5A623 !important; }
  .save-upto { background: #EBF0F9 !important; color: #3D4856 !important; }
  .bg-wrapper { background: #EBF0F9 !important; border-color: #C8D9F0 !important; }
  .blog_author { color: #F5A623 !important; }
  .float_exclusive { background: #EBF0F9 !important; border-color: #C8D9F0 !important; color: #6B7A95 !important; }
  .float_favourite { background: #EBF0F9 !important; border-color: #C8D9F0 !important; color: #3D4856 !important; }
  .fav_icon, .share_icon, .cart_icon {
    color: #3D4856 !important;
    background: rgba(255,255,255,0.92) !important;
    border: 1px solid #C8D9F0 !important;
  }
  .fav_icon:hover, .share_icon:hover, .cart_icon:hover {
    background: #F5A623 !important;
    color: #0D1B2A !important;
    border-color: #F5A623 !important;
  }
  .section-heading { border-bottom-color: #F5A623 !important; }
  .deal-input { border-color: #C8D9F0 !important; }

  /* ===== Dropdowns ===== */
  .dropdown-menu {
    background: #FFFFFF !important;
    border-color: #C8D9F0 !important;
    box-shadow: 0 4px 16px rgba(13, 27, 42, 0.12) !important;
  }
  .dropdown-item { color: #3D4856 !important; }
  .dropdown-item:hover, .dropdown-item:focus {
    background: #EBF0F9 !important;
    color: #0D1B2A !important;
  }

  /* ===== Modals ===== */
  .modal-content { background: #FFFFFF !important; border-color: #C8D9F0 !important; }
  .modal-header, .modal-footer { border-color: #C8D9F0 !important; }
  .btn-close { filter: none; }

  /* ===== Container max-width 1440px ===== */
  @media (min-width: 576px) {
    .container, .container-sm { max-width: 560px; }
  }
  @media (min-width: 768px) {
    .container, .container-md, .container-sm { max-width: 740px; }
  }
  @media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm { max-width: 970px; }
  }
  @media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl { max-width: 1280px; }
  }
  @media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1440px; }
  }

  /* ============================================================
     HOME PAGE LAYOUT — side-by-side rows
     ============================================================ */

  /* Row 1 separators (still uses g-0 / border approach) */
  .home-layout-row { border-bottom: none; }

  .home-left-col  { border-right: 1px solid rgba(13,27,42,0.07); }
  @media (max-width: 991px) {
    .home-left-col  { border-right: none; border-bottom: 1px solid #E2EAF4; }
  }

  /* ===== Row 2 card sections (Trending Offers + Top Deals) ===== */
  .row2-section-card {
    border-radius: 14px !important;
    border: 1px solid #E2EAF4 !important;
    box-shadow: 0 2px 12px rgba(13,27,42,0.07) !important;
    overflow: hidden;
    height: 100%;
    background: #FFFFFF !important;
  }
  /* Remove uneven inner padding — section py-3 handles spacing */
  .row2-section-card > div[class*="py-"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ===== Browse By Categories widget (Row 1 right) — NAVY BLUE card ===== */
  /* Col padding so rounded corners of the card are visible */
  .col-lg-4.home-right-col {
    display: flex;
    flex-direction: column;
    background: transparent;      /* page bg shows around the rounded card */
  }
  .col-lg-4.home-right-col .browse-categories-widget { flex: 1; }

  .browse-categories-widget {
    background: #162b4d !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(13,27,42,0.18) !important;
    min-height: 100%;
  }
  /* Heading on dark bg — always left-aligned */
  .browse-categories-widget h2,
  .browse-categories-widget .section_heading {
    color: #FFFFFF !important;
    text-align: left !important;
    font-size: 1rem !important;
  }
  .browse-categories-widget .text-orange {
    color: #F5A623 !important;
    border-bottom: none !important;
  }
  .browse-categories-widget .read-more,
  .browse-categories-widget .view-more {
    color: #F5A623 !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .browse-categories-widget .read-more:hover { color: #D4891B !important; }

  /* ===== Top Stores mini-carousel (inside navy widget) ===== */
  .stores-slider-wrapper {
    padding: 0 32px;      /* space for prev/next buttons */
    position: relative;
  }
  /* Prev / Next buttons — styled to match the dark navy bg */
  .stores-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.80);
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
  }
  .stores-slider-btn:hover {
    background: #F5A623;
    border-color: #F5A623;
    color: #0D1B2A;
  }
  .stores-prev-btn { left: 0; }
  .stores-next-btn { right: 0; }

  .stores-mini-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 4px;
  }
  .stores-mini-carousel::-webkit-scrollbar { display: none; }

  .store-mini-item { text-align: center; }
  .store-mini-logo {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding: 5px;
    transition: border-color 0.2s ease, background 0.2s ease;
    margin: 0 auto;
  }
  .store-mini-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 50%;
  }
  .store-mini-item:hover .store-mini-logo {
    border-color: #F5A623;
    background: rgba(245,166,35,0.15);
  }
  .store-mini-name {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-top: 3px;
    line-height: 1.3;
  }
  .store-mini-item:hover .store-mini-name { color: #F5A623 !important; }

  /* ===== Category icons — 4-per-row ===== */
  .browse-cat-link { transition: transform 0.2s ease; text-align: center; }
  .browse-cat-link:hover { transform: translateY(-4px); }
  .browse-cat-icon {
    width: 52px; height: 52px;       /* bigger for presence */
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.09);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 20px;
    color: rgba(255,255,255,0.88);
    margin: 0 auto;
  }
  .browse-cat-link:hover .browse-cat-icon {
    background: #F5A623;
    border-color: #F5A623;
    color: #0D1B2A !important;
    box-shadow: 0 4px 12px rgba(245,166,35,0.35);
  }
  .browse-cat-name {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    display: block;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    word-break: break-word;
    margin-top: 4px;
  }
  .browse-cat-link:hover .browse-cat-name { color: #F5A623 !important; }

  /* Category promo strip at bottom of widget */
  .cat-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  }
  .browse-promo-text {
    color: rgba(255,255,255,0.5) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
  .browse-cta-btn {
    background: #F5A623;
    color: #0D1B2A !important;
    /* NOTE: inside navy widget — gold CTA stays for contrast */
    font-weight: 700;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .browse-cta-btn:hover {
    background: #D4891B;
    color: #0D1B2A !important;
    box-shadow: 0 4px 14px rgba(245,166,35,0.4);
  }
  .browse-cta-btn i { font-size: 14px; }

  /* Remove the right border on the col since categories have their own bg */
  .col-lg-4.home-right-col.p-0 { padding: 0 !important; }
  .home-left-col { border-right: 1px solid rgba(13,27,42,0.08) !important; }

  /* ===== Newsletter card (Row 3 right) ===== */
  .row2-newsletter-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(13,27,42,0.18) !important;
  }
  .newsletter-sidebar {
    background: #162b4d;
    display: flex;
    flex-direction: column;
    border-radius: 16px !important;
    height: auto !important;
  }
  /* Inside a column, allow full height stretch */
  [class*="col"] > .newsletter-sidebar {
    height: 100% !important;
  }
  .newsletter-card {
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .newsletter-card h3 { color: #FFFFFF !important; }
  .newsletter-card p  { color: #C8D9F0 !important; }
  .newsletter-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(245,166,35,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #F5A623;
    border: 2px solid rgba(245,166,35,0.3);
  }
  .newsletter-input {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #FFFFFF !important;
  }
  .newsletter-input::placeholder { color: rgba(255,255,255,0.5) !important; }
  .newsletter-input:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: #F5A623 !important;
    box-shadow: 0 0 0 0.2rem rgba(245,166,35,0.2) !important;
    color: #FFFFFF !important;
  }
  /* Newsletter submit — keep gold since it's on dark navy bg (needs contrast) */
  .newsletter-sidebar .btn-primary,
  #subscribeBtn {
    background: #F5A623 !important;
    border-color: #F5A623 !important;
    color: #0D1B2A !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
  }
  .newsletter-sidebar .btn-primary:hover,
  #subscribeBtn:hover {
    background: #D4891B !important;
    border-color: #D4891B !important;
    color: #0D1B2A !important;
    box-shadow: 0 4px 14px rgba(245,166,35,0.4) !important;
  }
  /* select options on dark bg */
  .newsletter-sidebar select option {
    background: #1E3A62;
    color: #FFFFFF;
  }

  /* ===== Animation: fade-up on scroll ===== */
  .home-layout-row .home-left-col,
  .home-layout-row .home-right-col,
  .browse-cat-link,
  .newsletter-card {
    animation: fadeUpIn 0.5s ease both;
  }
  @keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ============================================================
     COMPACT COUPON SLIDER (home_coupons.php)
     ============================================================ */
  .coupon-compact-item .card {
    border-radius: 10px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .coupon-compact-item .card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(13,27,42,0.12) !important;
  }
  .coupon-compact-item .save-upto {
    background: linear-gradient(135deg, #EBF0F9, #F4F6F9) !important;
    border: 1px solid #C8D9F0 !important;
    color: #0D1B2A !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    padding: 6px 8px !important;
  }
  .coupon-compact-item .coupon_title {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #0D1B2A !important;
  }
  .coupon-compact-item .coupon_code {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
  .coupon-compact-item .share-earn {
    font-size: 11px !important;
  }
  /* scrollbar styling */
  #sliderCoupons::-webkit-scrollbar { height: 4px; }
  #sliderCoupons::-webkit-scrollbar-track { background: transparent; }
  #sliderCoupons::-webkit-scrollbar-thumb { background: #C8D9F0; border-radius: 4px; }

  /* ============================================================
     COMPACT BOGO / CATEGORY-TAB SLIDER (home_bogo.php etc.)
     ============================================================ */
  .bogo-compact-item .card {
    border-radius: 10px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .bogo-compact-item .card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(13,27,42,0.12) !important;
    border-color: #F5A623 !important;
  }
  /* Discount badge inside compact BOGO card */
  .bogo-discount-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    margin: 2px 0;
  }
  .bogo-discount-badge .badge-up {
    font-size: 10px;
    color: #6B7A95;
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  .bogo-discount-badge .badge-num {
    font-size: 24px;
    font-weight: 800;
    color: #F5A623;
    line-height: 1;
  }
  .bogo-discount-badge .badge-off {
    font-size: 10px;
    color: #6B7A95;
    letter-spacing: 1px;
    font-weight: 600;
  }
  .bogo-discount-badge .free-ship-badge,
  .bogo-discount-badge .new-badge {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #16A34A !important;
  }
  /* Scroll container styling for all BOGO sliders */
  #sliderBogo::-webkit-scrollbar,
  #sliderClearance::-webkit-scrollbar,
  #sliderShipping::-webkit-scrollbar,
  #sliderArrival::-webkit-scrollbar,
  #sliderSale::-webkit-scrollbar { height: 4px; }
  #sliderBogo::-webkit-scrollbar-thumb,
  #sliderClearance::-webkit-scrollbar-thumb,
  #sliderShipping::-webkit-scrollbar-thumb,
  #sliderArrival::-webkit-scrollbar-thumb,
  #sliderSale::-webkit-scrollbar-thumb { background: #C8D9F0; border-radius: 4px; }

  /* Category tab buttons in BOGO section */
  .category-tab-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: transparent !important;
    padding: 4px 0 !important;
  }
  .category-tab {
    font-size: 12px !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
  }
  .category-tab.active,
  .bg-orange-500 {
    background: #162B4D !important;
    color: #FFFFFF !important;
  }
  .category-tab:not(.active):hover { background: #D0DCF0 !important; color: #162B4D !important; }

  /* ============================================================
     TRENDING OFFERS — convert vertical tabs to horizontal pills
     ============================================================ */

  /* Force the row inside offerContent to stack vertically */
  #offerContent > .row {
    flex-direction: column !important;
  }
  #offerContent > .row > div[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
  }

  /* Horizontal pill tabs for offer section */
  .offer-nav-pills .nav-link {
    font-size: 12px !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    white-space: nowrap;
    font-weight: 500 !important;
    color: #3D4856 !important;
    background: #EBF0F9 !important;
    border: 1px solid #C8D9F0 !important;
    transition: all 0.2s ease !important;
  }
  .offer-nav-pills .nav-link.active,
  .offer-nav-pills .nav-link:hover {
    background: #162B4D !important;
    border-color: #162B4D !important;
    color: #FFFFFF !important;
  }
  /* Override the custom-vertical-tabs styles when horizontal */
  #categoryTabs.nav.offer-nav-pills {
    flex-direction: row !important;
    background: transparent !important;
    border: none !important;
    padding: 0 0.75rem !important;   /* keep px-3 horizontal indent */
  }
  #categoryTabs.nav.offer-nav-pills .nav-link.active::after { display: none !important; }

  /* Trending Offers slider wrapper — prev/next buttons */
  .trending-slider-outer {
    padding: 0 36px;   /* space for ‹ › buttons */
  }
  .trending-slider-outer .prev-btn {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%) !important;
    z-index: 5; width: 30px; height: 30px; border-radius: 50% !important;
    padding: 0; font-size: 13px;
  }
  .trending-slider-outer .next-btn {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%) !important;
    z-index: 5; width: 30px; height: 30px; border-radius: 50% !important;
    padding: 0; font-size: 13px;
  }

  /* Make each tab pane cards use horizontal scroll */
  #categoryTabsContent .tab-pane > .row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #C8D9F0 transparent;
    padding-bottom: 8px !important;
    gap: 0 !important;
  }
  #categoryTabsContent .tab-pane > .row > [class*="col-"] {
    flex: 0 0 auto !important;
    width: 215px !important;
    max-width: 215px !important;
    min-width: 215px !important;
    padding: 0 6px !important;
    margin-bottom: 0 !important;
  }
  /* Compact card styles inside trending tab panes */
  #categoryTabsContent .card {
    min-height: unset !important;
    border-radius: 10px !important;
    overflow: hidden !important;       /* prevent any content escaping card edges */
  }
  #categoryTabsContent .card .card-body {
    padding: 0.75rem !important;
    overflow: hidden !important;
  }
  /* Cap badge-num (offer amount) so "$1000" doesn't blow the card */
  #categoryTabsContent .bogo-discount-badge .badge-num {
    font-size: 20px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  /* Hard-constrain ALL images inside trending tab panes */
  #categoryTabsContent .tab-pane img {
    max-height: 42px !important;
    max-width: 70px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 6px !important;
  }
  /* Container for logo images */
  #categoryTabsContent .sale-img-container,
  #categoryTabsContent .bogo-img-container,
  #categoryTabsContent .gift-img-container {
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
  }
  #categoryTabsContent .sale-img-container img,
  #categoryTabsContent .bogo-img-container img,
  #categoryTabsContent .gift-img-container img {
    margin: 0 auto !important;
  }
  #categoryTabsContent .offer_featured,
  #categoryTabsContent .badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  #categoryTabsContent .card-heading { font-size: 11px !important; line-height: 1.3 !important; }
  #categoryTabsContent .card-heading-sm { font-size: 10px !important; }
  #categoryTabsContent .discount_box_2 { font-size: 11px !important; padding: 2px 6px !important; }
  #categoryTabsContent .tab-pane > .row::-webkit-scrollbar { height: 4px; }
  #categoryTabsContent .tab-pane > .row::-webkit-scrollbar-thumb { background: #C8D9F0; border-radius: 4px; }

  /* ============================================================
     TOP STORES — cleaner compact card
     ============================================================ */
  .brand_card {
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
  }
  .brand_card:hover { border-color: #F5A623 !important; transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(13,27,42,0.10) !important; }
  .brand_card .card-body { padding: 0.75rem !important; }
  .brand-logo-img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    border: 1.5px solid #E2EAF4;
    background: #F4F6F9;
    padding: 3px;
  }
  .brand_title { font-size: 13px !important; font-weight: 700 !important; color: #0D1B2A !important; }
  .brand_info { font-size: 11px !important; color: #6B7A95 !important; }

  /* ============================================================
     BLOG SECTION — cleaner card
     ============================================================ */
  /* Blog row: standard 3-col grid, equal height cards */
  .blog_box { margin: 0 !important; }
  .blog_box > [class*="col-"] { display: flex; flex-direction: column; }
  .blog_box .item.post,
  .blog_box article { flex: 1; display: flex; flex-direction: column; }
  .blog_box .card {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #E2EAF4 !important;
    box-shadow: 0 2px 10px rgba(13,27,42,0.07) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    flex: 1;
  }
  .blog_box .card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 28px rgba(13,27,42,0.13) !important;
    border-color: #F5A623 !important;
  }
  /* Image: consistent height across all blog cards */
  .blog_box .card .card-img-top,
  .blog_box .card figure.card-img-top {
    overflow: hidden !important;
    height: 170px !important;
    max-height: 170px !important;
    flex-shrink: 0 !important;
  }
  .blog_box .card .card-img-top img,
  .blog_box .card figure.card-img-top img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  /* Remove Bootstrap shadow-lg override inside blog box */
  .blog_box .shadow-lg { box-shadow: none !important; }
  /* Gold top accent border */
  .blog_box .card-border-top { border-top: 3px solid #F5A623 !important; }
  .blog_box .card.border-primary { border-color: #E2EAF4 !important; }

  /* Typography */
  .blog_box .post-title a { font-size: 13px !important; font-weight: 700 !important; color: #0D1B2A !important; line-height: 1.4 !important; }
  .blog_box .post-title a:hover { color: #F5A623 !important; }
  .blog_box .post-category a,
  .blog_box .blog_author { font-size: 10px !important; color: #F5A623 !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; }
  .blog_box .post-date { font-size: 10px !important; color: #6B7A95 !important; }
  .blog_box .post-date i { color: #F5A623 !important; }
  .blog_box .post-content p { font-size: 11px !important; line-height: 1.5 !important; color: #6B7A95 !important; margin-bottom: 0 !important; }
  .blog_box .card-body { padding: 0.85rem !important; flex: 1; }
  .blog_box .card-footer { background: transparent !important; border-top: 1px solid #F0F4FA !important; padding: 0.5rem 0.85rem !important; }
  .blog_box figure.overlay::before { background: linear-gradient(to bottom, transparent 40%, rgba(13,27,42,0.5)); }
  /* "Read More" hover overlay text */
  .blog_box figure.overlay figcaption h5 { font-size: 12px !important; }
  /* Compact Blog section - horizontal scroll on mobile */
  @media (max-width: 575px) {
    .blog_box { flex-wrap: nowrap !important; overflow-x: auto !important; }
    .blog_box > [class*="col-"] { flex: 0 0 auto !important; width: 280px !important; }
  }

  /* ============================================================
     SPACING tightening
     ============================================================ */
  .py-md-5 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

  /* ============================================================
     SECTION: Top Deals — compact deal cards
     ============================================================ */
  .deal_box { height: 320px !important; }
  .deal_picture { height: 160px !important; }
  .deals-sec .card-body { padding: 0.6rem 0.75rem !important; }
  .deals-sec .card-body .offer_title { font-size: 12px !important; line-height: 1.3 !important; }
  .deals-sec .sale_price { font-size: 14px !important; }
  .deals-sec .actual_price { font-size: 12px !important; }
  .deals-sec .deal_save { font-size: 10px !important; padding: 2px 6px !important; top: 6px !important; left: 6px !important; }

  /* Slider wrapper consistent positioning */
  .slider-wrapper {
    padding: 0 40px;
    position: relative;
  }
  .slider-wrapper .prev-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 14px;
  }
  .slider-wrapper .next-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 14px;
  }

/* ============================================================
   MOBILE RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 767px) {

  /* Remove the 2rem side padding on mobile — causes layout overflow */
  .bg-light-green > .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Gap between stacked sections (e.g. Popular Coupons → Special Offers) */
  .home-left-col section.bg-wrapper + section.bg-wrapper { margin-top: 12px !important; }

  /* Page-level breathing room */
  .mx-3 { margin-left: 6px !important; margin-right: 6px !important; }

  /* Section headings — stop wrapping */
  .section_heading { font-size: 18px !important; }

  /* Coupon cards: full width on mobile — fixes tight 2-col squeeze */
  .col-sm-6 { flex: 0 0 100% !important; max-width: 100% !important; }

  /* Slider cards: slightly narrower so 1.5 cards visible = scroll hint */
  .scroll-container .col-xl-3,
  .scroll-container .col-md-4,
  .scroll-container > div { min-width: 78vw !important; max-width: 78vw !important; }

  /* Coupon slider compact cards — card fills wrapper, no internal gap */
  .coupon-compact-item { min-width: 72vw !important; max-width: 72vw !important; }
  .coupon-compact-item .card { width: 100% !important; min-width: unset !important; }
  #sliderCoupons { gap: 10px !important; }

  /* Browse Categories — smaller icons so 4-col fits comfortably */
  .browse-cat-icon { width: 52px !important; height: 52px !important; font-size: 20px !important; }
  .browse-cat-name { font-size: 10px !important; }

  /* Newsletter section — better padding and sizes on mobile */
  .newsletter-sidebar { padding: 24px 16px !important; }
  .newsletter-icon-wrap { width: 50px !important; height: 50px !important; font-size: 22px !important; }
  .newsletter-card h3 { font-size: 20px !important; }

  /* Trending Offers tabs — wrap on small screen */
  #categoryTabs { flex-wrap: wrap !important; gap: 6px !important; }
  #categoryTabs .category-tab { font-size: 12px !important; padding: 6px 12px !important; }

  /* Deal card height fix */
  .deal_box { height: auto !important; }
  .deal_picture { height: 160px !important; }
}
