@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Readex+Pro:wght@300;400;500;600;700&display=swap');


:root {
    /* === Exact Brand Colors Extracted from Logo === */
    --primary-color: #025C9C;
    --primary-hover: #014576;
    --primary-light: #4093D0;
    --primary-ultra: #EAF4FC;

    --secondary-color: #0284C7;
    --secondary-hover: #0369A1;

    --accent-color: #0284C7;
    --accent-hover: #0369A1;

    --success-color: #10B981;
    --dark-color: #0F172A;
    --light-color: #F8FAFC;
    --gray-color: #64748B;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(2, 92, 156, 0.12);

    --body-font: 'Outfit', 'Readex Pro', sans-serif;
    --arabic-font: 'Cairo', 'Readex Pro', sans-serif;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* === Modern Crafted Shadows System === */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
    --card-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --hover-shadow: 0 14px 30px -6px rgba(2, 92, 156, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --dropdown-shadow: 0 18px 38px -6px rgba(15, 23, 42, 0.15), 0 6px 14px -3px rgba(15, 23, 42, 0.06);
    --accent-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.25);

    /* === Cohesive Rounded Corners (Crafted, not AI boxy) === */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --radius-pill: 50px;
}

body {
    font-family: var(--arabic-font), var(--body-font);
    background-color: #F8FAFC;
    color: #1E293B;
    font-size: 14.5px;
    line-height: 1.58;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.rtl-mode {
    font-family: var(--arabic-font);
    direction: rtl;
    text-align: right;
}

/* Refined, Human-Crafted Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0F172A;
    line-height: 1.35;
}

.rtl-mode h1,
.rtl-mode h2,
.rtl-mode h3,
.rtl-mode h4,
.rtl-mode h5,
.rtl-mode h6 {
    font-weight: 700;
    letter-spacing: normal;
}

h1,
.h1 {
    font-size: 1.5rem !important;
}

h2,
.h2 {
    font-size: 1.3rem !important;
}

h3,
.h3 {
    font-size: 1.15rem !important;
}

h4,
.h4 {
    font-size: 1.02rem !important;
}

h5,
.h5 {
    font-size: 0.92rem !important;
}

h6,
.h6 {
    font-size: 0.84rem !important;
}

.fs-6 {
    font-size: 0.92rem !important;
}

.fs-7 {
    font-size: 0.835rem !important;
}

.fs-8 {
    font-size: 0.77rem !important;
}

.fs-9 {
    font-size: 0.71rem !important;
}

.fw-extrabold {
    font-weight: 700 !important;
}

/* Announcement Ticker Bar */
.announcement-bar {
    background: linear-gradient(135deg, #064E86 0%, #085C9C 60%, #0A72BF 100%);
    font-size: 0.85rem;
    overflow: visible !important;
    position: relative;
    z-index: 1045;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar marquee {
    vertical-align: middle;
}

.ticker-badge {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.5);
    color: #FF885B;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    white-space: nowrap;
}

.top-bar-contact-btn,
.top-bar-link {
    padding: 2px 0;
    background: transparent;
    border: none;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.top-bar-contact-btn:hover,
.top-bar-contact-btn:focus,
.top-bar-link:hover,
.top-bar-link:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    color: #ffffff !important;
    opacity: 0.85;
    text-decoration: none;
}

.top-bar-user-dropdown {
    position: relative;
}

.top-bar-user-dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-right: 0.35em;
    margin-left: 0.15em;
    vertical-align: 0.15em;
    font-size: 0.7rem;
}

.top-bar-user-dropdown .dropdown-menu {
    min-width: 175px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    padding: 6px 0;
}

.top-bar-user-dropdown .dropdown-item {
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    color: #2b3445;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.top-bar-user-dropdown .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

.top-bar-user-dropdown .dropdown-item.text-danger:hover {
    background-color: #fee2e2;
    color: #dc3545;
}

/* Header & Navigation */
.middle-header {
    background-color: white;
    position: relative;
    z-index: 1020;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-logo {
    max-height: 52px;
    object-fit: contain;
    transition: var(--transition);
}

.header-logo:hover {
    transform: scale(1.03);
}

/* Custom Search Box style (Enlarged & Prominent) */
.search-bar-wrapper {
    max-width: 820px;
    position: relative;
    flex: 1 1 auto;
}

.search-input-group {
    border: 2px solid var(--border-color);
    border-radius: 40px !important;
    background-color: #ffffff;
    padding: 3px 4px 3px 12px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    overflow: hidden;
    position: relative;
}

.search-input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15) !important;
    background-color: #ffffff;
}

.header-search-input,
.search-input-group .form-control.header-search-input {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--dark-color);
    background: transparent !important;
    flex: 1 1 auto;
    min-width: 0;
}

.header-search-input:focus,
.search-input-group .form-control.header-search-input:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.search-input-group .btn-search-icon {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover)) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.25);
}

.search-input-group .btn-search-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.45) !important;
}

/* Autocomplete Dropdown */
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16) !important;
    z-index: 1060;
    max-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    backdrop-filter: blur(12px);
}

.search-autocomplete-dropdown .autocomplete-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #F1F5F9;
    text-decoration: none !important;
    color: inherit;
}

.search-autocomplete-dropdown .autocomplete-item:last-of-type {
    border-bottom: none;
}

.search-autocomplete-dropdown .autocomplete-item:hover {
    background-color: #F8FAFC;
}

.search-autocomplete-dropdown .autocomplete-thumb-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 10px;
    background: #F8FAFC;
    padding: 4px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-autocomplete-dropdown .autocomplete-thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-autocomplete-dropdown .autocomplete-details {
    flex-grow: 1;
    min-width: 0;
}

.search-autocomplete-dropdown .autocomplete-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.search-autocomplete-dropdown .autocomplete-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.search-autocomplete-dropdown .autocomplete-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-color);
}

.search-autocomplete-dropdown .autocomplete-oldprice {
    font-size: 0.78rem;
    color: #94A3B8;
    text-decoration: line-through;
    margin-right: 6px;
}

.search-autocomplete-dropdown .autocomplete-brand-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    text-transform: uppercase;
}

.search-autocomplete-dropdown .autocomplete-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px 16px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
}

.search-autocomplete-dropdown .autocomplete-footer-btn:hover {
    background: #EDF2F7;
    color: var(--secondary-hover);
}

/* Header Info Items */
.info-items-wrapper {
    font-size: 0.85rem;
}

.info-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    color: var(--secondary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-info-item:hover .info-icon-circle {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: white;
    transform: translateY(-2px);
}

.info-title {
    color: var(--dark-color);
    line-height: 1.2;
}

.info-sub {
    color: var(--gray-color);
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Primary Navigation Bar */
.navigation-bar {
    background: var(--primary-color) !important;
    box-shadow: 0 4px 20px rgba(8, 92, 156, 0.25);
    z-index: 1000;
}

.nav-categories-links {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
    .nav-categories-links {
        overflow: visible !important;
    }
}

.nav-categories-links::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nav-item-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 700;
    font-size: 0.81rem !important;
    padding: 11px 10px !important;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 1 auto;
}

.nav-item-link i {
    font-size: 0.88rem !important;
}

.nav-item-link:hover,
.nav-item-link.show {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--secondary-color);
}

.nav-item-link.active-highlight {
    background: rgba(255, 255, 255, 0.12);
    border-bottom-color: var(--accent-color);
}

/* Mega Menu */
.categories-mega-menu {
    position: absolute;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    border-radius: 0 0 20px 20px !important;
    background-color: white;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
    border-top: 3px solid var(--secondary-color) !important;
    animation: fadeInDown 0.3s ease-out;
}

.mega-menu-title {
    font-size: 1rem;
    position: relative;
    padding-bottom: 6px;
}

.mega-menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.ltr-mode .mega-menu-title::after {
    right: auto;
    left: 0;
}

.mega-menu-list li a {
    color: var(--gray-color);
    font-weight: 500;
    padding: 6px 0;
    display: block;
    transition: var(--transition);
    font-size: 0.88rem;
    text-decoration: none;
}

.mega-menu-list li a:hover {
    color: var(--secondary-hover);
    padding-right: 6px;
    background: transparent;
}

.ltr-mode .mega-menu-list li a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.brand-mini-link {
    display: block;
    padding: 6px 10px;
    background-color: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.brand-mini-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Cart Pill in Navigation / Middle Header */
.cart-pill-wrapper {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    padding: 6px 14px;
    height: 42px;
    border-radius: 30px;
    box-shadow: var(--accent-shadow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    user-select: none;
}

.cart-pill-wrapper:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px -5px rgba(255, 107, 53, 0.45);
}

.cart-pill-wrapper .cart-price {
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-pill-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-pill-icon .icon-badge,
.cart-pill-icon .cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 0.65rem;
    padding: 2px 5px;
    line-height: 1;
}

.rtl-mode .cart-pill-icon .icon-badge,
.rtl-mode .cart-pill-icon .cart-count,
[dir="rtl"] .cart-pill-icon .icon-badge,
[dir="rtl"] .cart-pill-icon .cart-count {
    right: auto;
    left: -10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
}

.hero-section .carousel {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.35) 100%);
    z-index: 1;
}

.rtl-mode .carousel-item::before {
    background: linear-gradient(270deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.35) 100%);
}

.carousel-caption {
    z-index: 2;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    max-width: 80%;
}

.rtl-mode .carousel-caption {
    text-align: right;
    right: 8%;
    left: auto;
}

.ltr-mode .carousel-caption {
    text-align: left;
    left: 8%;
    right: auto;
}

.hero-badge-tag {
    background: rgba(0, 180, 216, 0.25);
    border: 1px solid rgba(0, 180, 216, 0.5);
    backdrop-filter: blur(10px);
    color: #38BDF8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white !important;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: var(--accent-shadow);
    border: none;
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.45);
}

/* Hero Promo Side Section */
.hero-animated-graphic-banner {
    position: relative;
    background: linear-gradient(135deg, #091024 0%, #0f172a 55%, #1e293b 100%);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
    display: flex;
    flex-column: column;
    justify-content: space-between;
}

.hero-appliances-float-img {
    position: absolute;
    left: 8px;
    bottom: -5px;
    width: 200px;
    max-height: 95%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
    animation: applianceFloat 5s ease-in-out infinite alternate;
}

@keyframes applianceFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-8px) rotate(-1.5deg);
    }
}

.banner-glow-orb-1 {
    position: absolute;
    top: -30%;
    right: 5%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    filter: blur(25px);
    animation: orbPulse 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.banner-glow-orb-2 {
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: orbPulse 8s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes orbPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.85;
        transform: scale(1.15);
    }
}

.hero-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-mini-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-promo-subcard {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0f172a;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-promo-subcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.25) !important;
}

.hero-promo-subcard .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero-section .row {
        height: 520px;
    }

    .hero-section .col-lg-7,
    .hero-section .col-lg-5 {
        height: 100%;
    }

    .hero-animated-graphic-banner {
        height: 250px !important;
        min-height: 250px !important;
    }

    .hero-promo-subcard {
        height: 250px !important;
        min-height: 250px !important;
    }
}

@media (max-width: 991px) {

    .hero-animated-graphic-banner,
    .hero-promo-subcard {
        height: 240px !important;
        min-height: 240px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-appliances-float-img,
    .banner-glow-orb-1,
    .banner-glow-orb-2 {
        animation: none !important;
    }
}

/* Hero Trust Bar */
.hero-trust-bar {
    background: #FFFFFF;
    border: 1px solid rgba(2, 92, 156, 0.12) !important;
    border-radius: 16px;
    transition: var(--transition);
}

.hero-trust-bar:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(2, 92, 156, 0.08) !important;
}

.trust-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 92, 156, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background-color: #E2E8F0;
}

.extra-small {
    font-size: 0.72rem;
}

/* Trust Pillars Feature Section */
.feature-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-color);
    box-shadow: var(--hover-shadow);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: var(--secondary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: white;
    transform: rotate(5deg) scale(1.05);
}

/* Realistic Category Carousel Slider - Auto-Scroll Infinite */
@keyframes catAutoScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.category-carousel-wrapper {
    position: relative;
    padding: 10px 0;
}

/* The outer mask that handles smooth scrolling */
.category-carousel-outer {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    padding: 15px 5px 25px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-carousel-outer::-webkit-scrollbar {
    display: none;
}

.category-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 10px 10px 10px;
    scroll-behavior: smooth;
}

/* Edge fade masks */
.category-carousel-wrapper::before,
.category-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}

.category-carousel-wrapper::before {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.category-carousel-wrapper::after {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.real-cat-card-item {
    flex: 0 0 240px;
    min-width: 240px;
}

@media (max-width: 991.98px) {
    .real-cat-card-item {
        flex: 0 0 220px;
        min-width: 220px;
    }
}

@media (max-width: 575.98px) {
    .real-cat-card-item {
        flex: 0 0 195px;
        min-width: 195px;
    }
}

.cat-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 15px rgba(2, 92, 156, 0.18) !important;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 30;
    transition: var(--transition);
    cursor: pointer;
}

.cat-carousel-arrow:hover {
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.35) !important;
    transform: translateY(-50%) scale(1.08);
}

.cat-carousel-prev {
    right: -20px;
}

.cat-carousel-next {
    left: -20px;
}

.rtl-mode .cat-carousel-prev,
[dir="rtl"] .cat-carousel-prev {
    right: -20px;
    left: auto;
}

.rtl-mode .cat-carousel-next,
[dir="rtl"] .cat-carousel-next {
    left: -20px;
    right: auto;
}

.ltr-mode .cat-carousel-prev,
[dir="ltr"] .cat-carousel-prev {
    left: -20px;
    right: auto;
}

.ltr-mode .cat-carousel-next,
[dir="ltr"] .cat-carousel-next {
    right: -20px;
    left: auto;
}

@media (max-width: 768px) {

    .cat-carousel-prev,
    .rtl-mode .cat-carousel-prev,
    [dir="rtl"] .cat-carousel-prev {
        right: 4px !important;
    }

    .cat-carousel-next,
    .rtl-mode .cat-carousel-next,
    [dir="rtl"] .cat-carousel-next {
        left: 4px !important;
    }

    .ltr-mode .cat-carousel-prev,
    [dir="ltr"] .cat-carousel-prev {
        left: 4px !important;
    }

    .ltr-mode .cat-carousel-next,
    [dir="ltr"] .cat-carousel-next {
        right: 4px !important;
    }
}

.real-cat-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}

.real-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.25);
    border-color: var(--secondary-color);
}

.real-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.real-cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(4, 45, 78, 0.2) 0%, rgba(4, 45, 78, 0.1) 40%, rgba(4, 45, 78, 0.88) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    transition: var(--transition);
}

.real-cat-card:hover .real-cat-overlay {
    background: linear-gradient(180deg, rgba(4, 45, 78, 0.25) 0%, rgba(4, 45, 78, 0.2) 40%, rgba(4, 45, 78, 0.96) 100%);
}

.real-cat-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.rtl-mode .real-cat-badge {
    align-self: flex-start;
}

.ltr-mode .real-cat-badge {
    align-self: flex-start;
}

.real-cat-content {
    color: white;
}

.real-cat-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.real-cat-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.real-cat-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.real-cat-card:hover .real-cat-link {
    color: #FF885B;
    transform: translateX(-4px);
}

.ltr-mode .real-cat-card:hover .real-cat-link {
    transform: translateX(4px);
}

/* Flash Sales / Deal of the Day Section */
.flash-deals-wrapper {
    background: linear-gradient(135deg, #0A2540 0%, #085C9C 55%, #0077B6 100%);
    border-radius: 28px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    color: #FFFFFF !important;
    box-shadow: 0 20px 45px rgba(8, 92, 156, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.flash-deals-wrapper h3,
.flash-deals-wrapper h2,
.flash-deals-wrapper .flash-deal-title {
    color: #FFFFFF !important;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flash-deals-wrapper p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.flash-deals-wrapper::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.countdown-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 10px 14px;
    text-align: center;
    min-width: 68px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.countdown-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.countdown-pill .val {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD166;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.countdown-pill .lbl {
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 4px;
}

/* Creative Smart Calculator Section - Light Theme */
.creative-calc-wrapper {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 32px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    color: var(--dark-color);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-color);
}

.creative-calc-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.creative-calc-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calc-glass-deck {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.calc-type-tab {
    background: #F8FAFC;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 14px 16px;
    color: #475569;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
}

.calc-type-tab:hover,
.calc-type-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
}

.calc-preset-chip {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.calc-preset-chip:hover,
.calc-preset-chip.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 180, 216, 0.3);
}

.custom-calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #E2E8F0;
    outline: none;
    transition: background 0.3s;
}

.custom-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4), 0 0 0 4px white;
    transition: transform 0.2s;
}

.custom-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-neon-result {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
    border-radius: 20px;
    padding: 24px;
}

.calc-3d-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 3px solid white;
    background: white;
    transition: var(--transition);
}

.calc-3d-wrapper:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--hover-shadow);
}

.calc-3d-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.calc-3d-overlay-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
}

.rtl-mode .calc-3d-overlay-badge {
    right: 15px;
    left: auto;
}

.ltr-mode .calc-3d-overlay-badge {
    left: 15px;
    right: auto;
}

/* Product Section & Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: 30px;
    background: white;
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(11, 19, 43, 0.18);
    transform: translateY(-2px);
}

/* Product Carousel Track & Responsive Grid Fallback */
.product-carousel-track {
    width: 100%;
    display: block;
}

.product-carousel-track.owl-loaded {
    overflow: hidden;
}

.product-carousel-item {
    display: block;
    width: 100%;
}

.product-carousel-track .product-carousel-item>.product-card {
    width: 100%;
}

/* ===== FALLBACK: if Owl not loaded yet, show as horizontal scroll ===== */
.product-carousel-track:not(.owl-carousel),
.product-carousel-track.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 20px;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    width: 100% !important;
}

.product-carousel-track:not(.owl-carousel) .product-carousel-item,
.product-carousel-track.owl-carousel:not(.owl-loaded) .product-carousel-item {
    flex: 0 0 auto !important;
    display: block !important;
    width: calc(25% - 15px) !important;
    min-width: 270px !important;
    max-width: 320px !important;
    scroll-snap-align: start;
}

@media (max-width: 1199px) {

    .product-carousel-track:not(.owl-carousel) .product-carousel-item,
    .product-carousel-track.owl-carousel:not(.owl-loaded) .product-carousel-item {
        width: calc(33.333% - 14px) !important;
        min-width: 250px !important;
    }
}

@media (max-width: 991px) {

    .product-carousel-track:not(.owl-carousel) .product-carousel-item,
    .product-carousel-track.owl-carousel:not(.owl-loaded) .product-carousel-item {
        width: calc(50% - 10px) !important;
        min-width: 230px !important;
    }
}

@media (max-width: 575px) {

    .product-carousel-track:not(.owl-carousel) .product-carousel-item,
    .product-carousel-track.owl-carousel:not(.owl-loaded) .product-carousel-item {
        width: 85% !important;
        min-width: 240px !important;
    }
}

/* Ultra-Professional Product Card */
.product-card {
    background-color: white;
    border-radius: 22px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    border-color: var(--secondary-color);
}

.product-img-wrapper {
    position: relative;
    padding: 24px;
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    border-bottom: 1px solid #F1F5F9;
}

.product-img-wrapper img {
    max-height: 170px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.07);
}

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

html[dir="rtl"] .badge-discount,
body[dir="rtl"] .badge-discount,
.rtl-mode .badge-discount {
    left: auto;
    right: 15px;
}

.badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 10;
}

html[dir="rtl"] .badge-tag,
body[dir="rtl"] .badge-tag,
.rtl-mode .badge-tag {
    right: auto;
    left: 15px;
}

.badge-inverter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rtl-mode .badge-inverter {
    right: auto;
    left: 12px;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
    text-align: right;
}

.product-category {
    font-size: 0.78rem;
    color: var(--gray-color);
    font-weight: 700;
    text-transform: uppercase;
}

.product-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 6px 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.appliance-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.spec-chip {
    background-color: #F1F5F9;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.installment-chip {
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    color: #0369A1;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-rating {
    color: #F59E0B;
    font-size: 0.85rem;
}

.product-rating span {
    color: var(--gray-color);
    font-size: 0.78rem;
    margin-right: 4px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-currency {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 2px;
}

.price-original {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: line-through;
}

.brand-badge-pill {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 800;
    font-size: 1.05rem;
    color: #1E293B;
    white-space: nowrap;
    text-decoration: none !important;
}

.brand-badge-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 180, 216, 0.18);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none !important;
}

.brand-logo-icon {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* ========================================
   BRANDS INFINITE MARQUEE CAROUSEL
   ======================================== */
@keyframes brandsMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brands-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0 16px;
}

/* Left & Right fade masks */
.brands-marquee-wrapper::before,
.brands-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 4;
    pointer-events: none;
}

.brands-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.brands-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.brands-marquee-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: brandsMarquee 22s linear infinite;
    padding: 8px 0;
}

/* Pause on hover */
.brands-marquee-wrapper:hover .brands-marquee-track {
    animation-play-state: paused;
}

.product-carousel-wrapper {
    position: relative;
    padding: 15px 45px;
}

.carousel-nav-prev,
.carousel-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 15px rgba(2, 92, 156, 0.18) !important;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 30;
    transition: var(--transition);
}

.carousel-nav-prev:hover,
.carousel-nav-next:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(2, 92, 156, 0.3) !important;
    transform: translateY(-50%) scale(1.08);
}

.carousel-nav-prev {
    right: -2px;
}

.carousel-nav-next {
    left: -2px;
}

.rtl-mode .carousel-nav-prev {
    right: -2px;
    left: auto;
}

.rtl-mode .carousel-nav-next {
    left: -2px;
    right: auto;
}

.ltr-mode .carousel-nav-prev {
    left: 0px;
    right: auto;
}

.ltr-mode .carousel-nav-next {
    right: 0px;
    left: auto;
}

/* ==========================================================================
   PRODUCT CAROUSEL EQUAL HEIGHT & CARD UNIFICATION
   ========================================================================== */
.product-carousel-track.owl-carousel {
    display: block;
    width: 100%;
}

.product-carousel-track.owl-carousel .owl-stage-outer {
    padding: 8px 4px 18px 4px;
    overflow: hidden;
}

.product-carousel-track.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.product-carousel-track.owl-carousel .owl-item {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    float: none !important;
}

.product-carousel-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 100% !important;
}

.catalog-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.catalog-product-card .product-img-box {
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px !important;
    background: radial-gradient(circle, #ffffff 40%, #f8fafc 100%);
    position: relative;
}

.catalog-product-card .product-thumb-img {
    max-height: 135px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

.catalog-product-card:hover .product-thumb-img {
    transform: scale(1.04);
}

.catalog-product-card .p-3.d-flex.flex-column {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
    padding: 14px !important;
}

.catalog-product-card .text-uppercase.fw-bold.fs-8 {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    color: #64748b !important;
}

/* Universal 2-Line Strict Clamping with Fixed Height */
.line-clamp-2,
.product-card-title,
.catalog-product-card h6 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 2.85em !important;
    min-height: 2.85em !important;
    max-height: 2.85em !important;
    line-height: 1.42 !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    word-break: break-word;
}

.catalog-product-card h6 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-product-card .mt-auto {
    margin-top: auto !important;
}

/* RTL: reverse the scroll direction so brands move right-to-left naturally */
@keyframes brandsMarqueeRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.rtl-mode .brands-marquee-track {
    animation-name: brandsMarqueeRTL;
}

/* Also fix catAutoScroll for RTL */
@keyframes catAutoScrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.rtl-mode .category-carousel-track {
    animation-name: catAutoScrollRTL;
}



.brands-carousel-track::-webkit-scrollbar {
    display: none;
}

.brand-carousel-item {
    flex: 0 0 170px;
    scroll-snap-align: start;
}

.brand-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.brand-carousel-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(11, 19, 43, 0.25);
}

.brand-carousel-prev {
    right: 0;
}

.brand-carousel-next {
    left: 0;
}

.ltr-mode .brand-carousel-prev {
    left: 0;
    right: auto;
}

.ltr-mode .brand-carousel-next {
    right: 0;
    left: auto;
}

.product-action-btns {
    display: flex;
    gap: 8px;
}

.btn-quick-whatsapp {
    background-color: #25D366;
    color: white !important;
    font-weight: 700;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-quick-whatsapp:hover {
    background-color: #1EBE5B;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.btn-compare,
.btn-quickview {
    border: 1px solid var(--border-color);
    background: white;
    color: var(--gray-color);
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-compare:hover,
.btn-quickview:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Wide Mid Banner */
.wide-promo-banner {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.wide-promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(11, 19, 43, 0.88) 0%, rgba(11, 19, 43, 0.4) 100%);
}

.rtl-mode .wide-promo-banner::before {
    background: linear-gradient(270deg, rgba(11, 19, 43, 0.88) 0%, rgba(11, 19, 43, 0.4) 100%);
}

.promo-banner-content {
    position: relative;
    z-index: 2;
}

/* Testimonial Section */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary-color);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

/* Cart Sidebar Drawer */
/* Shopping Cart Slide-out Drawer Sidebar & Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9998 !important;
    display: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open,
.cart-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 420px;
    max-width: 92vw;
    background: #ffffff;
    z-index: 9999 !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rtl-mode .cart-sidebar {
    left: 0;
    right: auto;
    transform: translateX(-100%);
}

.ltr-mode .cart-sidebar {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

.rtl-mode .cart-sidebar.open,
.rtl-mode .cart-sidebar.active {
    transform: translateX(0) !important;
}

.ltr-mode .cart-sidebar.open,
.ltr-mode .cart-sidebar.active {
    transform: translateX(0) !important;
}

.cart-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
}

.cart-body {
    padding: 18px;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

/* Modals (Quick view & Compare) */
.modal-specs-table th {
    background-color: #F8FAFC;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.modal-specs-table td {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Floating Action Container */
.floating-actions-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rtl-mode .floating-actions-container {
    left: 25px;
    right: auto;
}

.ltr-mode .floating-actions-container {
    right: 25px;
    left: auto;
}

.btn-float {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    color: white !important;
    text-decoration: none;
    border: none;
}

.btn-float-whatsapp {
    background: #25D366;
}

.btn-float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-float-top {
    background: var(--primary-color);
}

.btn-float-top:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

/* Main Footer */
.main-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
    padding-bottom: 25px;
    border-top: 4px solid var(--secondary-color);
}

.main-footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.main-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--accent-color);
}

.ltr-mode .main-footer h5::after {
    right: auto;
    left: 0;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.main-footer ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}

.main-footer ul li a:hover {
    color: var(--secondary-color);
    padding-right: 6px;
}

.ltr-mode .main-footer ul li a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ========================================================
   PRODUCT DETAILS PAGE STYLES
   ======================================================== */
.pd-breadcrumb-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.pd-breadcrumb .breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.pd-breadcrumb .breadcrumb-item a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.pd-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.pd-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Product Showcase Main */
/* ==========================================================================
   Product Details Page - Modern Premium Identity
   ========================================================================== */
.pd-main-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    padding: 24px;
}

/* Gallery Styles */
.pd-gallery-wrapper {
    position: relative;
}

.pd-main-image-box {
    position: relative;
    background: radial-gradient(circle, #ffffff 40%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    overflow: hidden;
    cursor: crosshair;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-main-image-box:hover {
    border-color: rgba(2, 92, 156, 0.35);
    box-shadow: 0 12px 28px rgba(2, 92, 156, 0.08);
}

.pd-main-image-box img#pd-main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.2s ease;
    transform-origin: center center;
    pointer-events: none;
    will-change: transform;
}

.pd-main-image-box.is-zooming img#pd-main-image {
    transform: scale(2.2);
    transition: none;
}

/* Image Switching Animation */
.pd-main-image-box.img-animating img#pd-main-image {
    opacity: 0;
    transform: scale(0.92);
}

/* Zoom Hint Badge */
.pd-zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 4;
}

.ltr-mode .pd-zoom-hint {
    left: auto;
    right: 12px;
}

.pd-main-image-box.is-zooming .pd-zoom-hint {
    opacity: 0;
}

.pd-gallery-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.ltr-mode .pd-gallery-badges {
    right: auto;
    left: 14px;
}

.pd-gallery-actions {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.ltr-mode .pd-gallery-actions {
    left: auto;
    right: 14px;
}

.pd-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.pd-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 92, 156, 0.25);
}

.pd-thumbs-track {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumb-item {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-thumb-item:hover,
.pd-thumb-item.active {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(2, 92, 156, 0.16);
    transform: translateY(-2px);
}

/* Product Info & Header Meta */
.pd-brand-badge {
    background: #eaf4fc;
    color: #025c9c;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #b9e0f7;
}

.pd-brand-logo-img {
    height: 30px;
    max-width: 80px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px 6px;
    display: block;
    transition: all 0.2s ease;
}

#pd-brand-logo-link:hover .pd-brand-logo-img {
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(2, 92, 156, 0.12);
}

.pd-stock-badge {
    background: #ecfdf5;
    color: #047857;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.pd-title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.42;
    color: #0f172a;
    margin: 8px 0;
}

.pd-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pd-rating-badge {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Price & Installment Unified Card */
.pd-price-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.pd-price-current {
    font-size: 1.55rem;
    font-weight: 800;
    color: #025c9c;
    line-height: 1.15;
}

.pd-price-old {
    font-size: 0.88rem;
    text-decoration: line-through;
    color: #64748b;
    margin-right: 8px;
}

.ltr-mode .pd-price-old {
    margin-right: 0;
    margin-left: 8px;
}

.pd-price-save {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.pd-installment-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    transition: all 0.2s ease;
}

.pd-installment-banner:hover {
    border-color: rgba(2, 92, 156, 0.35);
    box-shadow: 0 4px 14px rgba(2, 92, 156, 0.08);
}

.pd-inst-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eaf4fc;
    color: #025c9c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pd-btn-calc-pill {
    background: #eaf4fc;
    color: #025c9c;
    border: 1px solid #b9e0f7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.pd-btn-calc-pill:hover {
    background: #025c9c;
    color: #ffffff;
    border-color: #025c9c;
}

.pd-hotline-pill {
    background: #025c9c;
    color: #ffffff !important;
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.pd-hotline-pill:hover {
    background: #014576;
    transform: translateY(-1px);
}

/* Quantity & Action CTA Buttons */
.pd-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    height: 46px;
    min-width: 115px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pd-qty-btn {
    width: 36px;
    height: 100%;
    border: none;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pd-qty-btn:hover {
    background: #e2e8f0;
    color: #025c9c;
}

.pd-qty-input {
    width: 43px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 0.98rem;
    color: #0f172a;
}

.pd-btn-cart {
    background: linear-gradient(135deg, #025c9c 0%, #014576 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(2, 92, 156, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
}

.pd-btn-cart:hover {
    background: linear-gradient(135deg, #0369a1 0%, #025c9c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(2, 92, 156, 0.35);
    color: #ffffff;
}

.pd-btn-buy {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
}

.pd-btn-buy:hover {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
    color: #ffffff;
}

.pd-btn-whatsapp-direct {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.22);
    transition: all 0.25s ease;
}

.pd-btn-whatsapp-direct:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Sleek Horizontal Trust Strip */
.pd-trust-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
}

.pd-trust-badge-item {
    padding: 6px 4px;
}

.pd-trust-badge-icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-trust-badge-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.pd-trust-badge-sub {
    font-size: 0.68rem;
    color: #475569;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modern Segmented Capsule Tabs */
.pd-tabs-section {
    margin-top: 36px;
}

.pd-tabs-nav-container {
    display: flex;
    justify-content: center;
}

.pd-nav-tabs {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
    gap: 4px;
}

.pd-nav-tabs .nav-link {
    border: none;
    color: #475569;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 22px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.pd-nav-tabs .nav-link:hover {
    color: #025c9c;
}

.pd-nav-tabs .nav-link.active {
    color: #025c9c;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.pd-tab-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04);
}

/* Specs Table */
.pd-specs-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.pd-specs-table tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.pd-specs-table tr:nth-child(even) {
    background: #fafcff;
}

.pd-specs-table tr:hover {
    background: #f0f7ff;
}

.pd-specs-table td {
    padding: 12px 16px;
    font-size: 0.86rem;
    border-bottom: 1px solid #f1f5f9;
}

.pd-specs-table td.spec-title {
    width: 32%;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border-left: 1px solid #f1f5f9;
}

.ltr-mode .pd-specs-table td.spec-title {
    border-left: none;
    border-right: 1px solid #f1f5f9;
}

.pd-specs-table td.spec-value {
    color: #0f172a;
    font-weight: 600;
}

/* Feature Cards */
.pd-feature-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: var(--transition);
}

.pd-feature-card:hover {
    background: white;
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(2, 92, 156, 0.1);
}

.pd-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-ultra);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* Installment Calculator Modal & Widget (CairoCart Style) */
.installment-calc-modal .modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

.installment-calc-modal .modal-header {
    border-bottom: 1px solid #F1F5F9;
    padding: 20px 24px 16px;
    position: relative;
}

.installment-calc-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
}

.installment-nav-segment {
    background: #F1F5F9;
    padding: 5px;
    border-radius: 14px;
    display: inline-flex;
    width: 100%;
    margin-bottom: 16px;
}

.installment-nav-segment .nav-link {
    flex: 1;
    text-align: center;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748B;
    border: none;
    transition: all 0.2s ease;
    background: transparent;
}

.installment-nav-segment .nav-link.active {
    background: #FFFFFF;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.installment-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.installment-toggle-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    cursor: pointer;
}

.installment-providers-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.installment-providers-track::-webkit-scrollbar {
    display: none;
}

.provider-item-btn {
    flex: 0 0 auto;
    width: 120px;
    min-width: 110px;
    max-width: 130px;
    padding: 10px 8px;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    user-select: none;
    overflow: hidden;
    box-sizing: border-box;
}

.provider-item-btn .provider-logo-wrapper {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.provider-item-btn .provider-logo-img {
    max-width: 85px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.provider-item-btn:hover {
    border-color: #94A3B8;
    background: #F8FAFC;
    transform: translateY(-2px);
}

.provider-item-btn.active {
    border-color: var(--secondary-color) !important;
    background: #F0F9FF !important;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.2);
}

.provider-item-btn .provider-name-box {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1E293B;
    letter-spacing: -0.2px;
}

.provider-item-btn .badge-pill-featured {
    font-size: 0.65rem;
    font-weight: 800;
    background: #FF6B00;
    color: white;
    padding: 2px 7px;
    border-radius: 10px;
    position: absolute;
    top: -8px;
    right: 6px;
}

.provider-item-btn .badge-pill-zero {
    font-size: 0.68rem;
    font-weight: 800;
    background: #10B981;
    color: white;
    padding: 1px 6px;
    border-radius: 8px;
}

.installment-summary-strip {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.summary-strip-col {
    text-align: center;
}

.summary-strip-col .label {
    font-size: 0.76rem;
    color: #64748B;
    font-weight: 600;
    margin-bottom: 2px;
}

.summary-strip-col .value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0F172A;
}

.summary-strip-col .value.highlight {
    color: var(--secondary-color);
}

.summary-strip-col .value.offer-badge {
    color: #0284C7;
    font-size: 0.85rem;
}

.installment-table-wrapper {
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 16px;
    background: white;
}

.installment-table-wrapper table {
    margin: 0;
    font-size: 0.88rem;
}

.installment-table-wrapper th {
    background: #F1F5F9 !important;
    color: #475569;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
}

.installment-table-wrapper td {
    padding: 14px 16px;
    vertical-align: middle;
    color: #1E293B;
    border-bottom: 1px solid #F1F5F9;
    font-weight: 600;
}

.installment-table-wrapper tr:last-child td {
    border-bottom: none;
}

.installment-table-wrapper .monthly-rate {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.installment-table-wrapper .duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.installment-table-wrapper .duration-badge .badge-feat {
    background: #FF6B00;
    color: white;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 6px;
}

.installment-calc-footer-note {
    font-size: 0.78rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* Reviews Breakdown */
.pd-score-big {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.pd-progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pd-review-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

/* Frequently Bought Together Bundle */
.pd-bundle-card {
    background: white;
    border: 1.5px solid #fed7aa;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
    position: relative;
    overflow: hidden;
}

.pd-bundle-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: #f97316;
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 0 0 10px 10px;
}

.ltr-mode .pd-bundle-badge {
    right: auto;
    left: 30px;
}

.pd-bundle-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pd-bundle-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.pd-bundle-plus {
    font-size: 1.8rem;
    font-weight: 900;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sticky Bottom Bar on Mobile/Desktop scroll */
.pd-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 12px 0;
    z-index: 1050;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.pd-sticky-bar.visible {
    transform: translateY(0);
}

/* ===== Info Cards Grid: Delivery / Trust / Payment / Return ===== */
.pd-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pd-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 12px 16px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: default;
}

.pd-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 92, 156, 0.12);
    border-color: var(--primary-light);
}

.pd-info-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-ultra) 0%, #c8e8f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: background 0.22s ease;
}

.pd-info-card:hover .pd-info-card-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.pd-info-card-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.pd-info-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pd-info-card-list li {
    font-size: 0.75rem;
    color: var(--gray-color);
    line-height: 1.4;
}

@media (max-width: 576px) {
    .pd-info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Product Details: Minimal Warranty & Agent Strip
   ========================================================================== */

.pd-warranty-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    transition: var(--transition);
}

.pd-warranty-strip:hover {
    background: white;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.pd-warranty-strip .badge {
    transition: var(--transition);
}

.pd-warranty-strip .badge:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Products Catalog & Filter Page (Clean & Minimalist Design)
   ========================================================================== */

.catalog-hero-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0 16px;
    color: var(--dark-color);
}

.catalog-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition);
}

.catalog-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.catalog-breadcrumb .breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.82rem;
}

.catalog-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.catalog-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-top: 8px;
    padding-bottom: 4px;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch;
}

.catalog-category-pills::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.catalog-cat-pill,
.catalog-category-pill {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.catalog-cat-pill:hover,
.catalog-category-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.catalog-cat-pill.active,
.catalog-category-pill.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(2, 92, 156, 0.2);
}

/* Sidebar Filters (Clean Minimalist) */
.catalog-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: none;
}

.filter-group {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-group h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.form-check-label {
    font-size: 0.85rem;
    color: #475569;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input {
    cursor: pointer;
}

/* Toolbar (Clean Minimalist) */
.catalog-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
    box-shadow: none;
}

.catalog-sort-select {
    padding: 6px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #334155;
    cursor: pointer;
    min-width: 170px;
}

.catalog-sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(2, 92, 156, 0.1);
}

.view-mode-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-mode-btn:hover,
.view-mode-btn.active {
    background: #f1f5f9;
    color: var(--primary-color);
    border-color: #cbd5e1;
}

/* Active Filter Chips */
.active-filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    margin-top: 10px;
}

.filter-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-chip .btn-close-chip {
    background: none;
    border: none;
    padding: 0;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
}

.filter-chip .btn-close-chip:hover {
    color: #ef4444;
}


/* ==========================================================================
   CRAFTED DESIGN SYSTEM: CATALOG, PRODUCT DETAILS, CART, CHECKOUT & SUCCESS
   Refined typography, smooth modern corners (16-22px), multi-layer soft shadows
   ========================================================================== */

/* 1. CATALOG PAGE STYLES (products.html) */
.catalog-filter-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.catalog-filter-card .card-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 20px;
}

.filter-section {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Category Filter Chips / Pills */
.category-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.category-pill-btn:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    border-color: #cbd5e1;
}

.category-pill-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(2, 92, 156, 0.22);
}

/* Catalog Top Sort Bar & Results Meta */
.catalog-toolbar-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    margin-bottom: 20px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #eaf4fc;
    color: var(--primary-color);
    border: 1px solid #bae6fd;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
}

.active-filter-chip .btn-close-chip {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 0;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
}

/* Catalog Product Card (Grid Mode) */
.catalog-product-card,
.product-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.catalog-product-card:hover,
.product-card:hover {
    border-color: rgba(2, 92, 156, 0.25);
    box-shadow: 0 14px 30px -6px rgba(2, 92, 156, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-4px);
}

.catalog-product-card .product-img-box,
.product-card .product-img-wrapper {
    background: radial-gradient(circle, #ffffff 40%, #f8fafc 100%);
    border-radius: 16px 16px 0 0;
    padding: 18px 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border-bottom: 1px solid #f8fafc;
}

.catalog-product-card .product-thumb-img,
.product-card .product-img-wrapper img {
    max-height: 155px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-product-card:hover .product-thumb-img,
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-brand-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.product-deal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.product-warranty-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    font-size: 0.69rem;
    font-weight: 700;
}

.product-card-body,
.catalog-product-card .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 0.865rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0f172a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card-title:hover {
    color: var(--primary-color);
}

.product-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-card-old-price {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}

.product-installment-notice {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 4px;
}

.btn-card-add-cart {
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    background: #eaf4fc;
    color: var(--primary-color);
    border: 1px solid #bae6fd;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-card-add-cart:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(2, 92, 156, 0.25);
}

/* 2. PRODUCT DETAILS PAGE STYLES (product-details.html) */
.pd-gallery-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    padding: 20px;
    position: relative;
}

.pd-main-image-wrap {
    background: radial-gradient(circle, #ffffff 30%, #f8fafc 100%);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    border: 1px solid #f1f5f9;
}

.pd-main-image-wrap img {
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pd-thumb-btn {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pd-thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-thumb-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(2, 92, 156, 0.15);
}

/* Official Warranty & Hotline Badge Box */
.pd-official-warranty-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #bae6fd;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 14px -3px rgba(2, 132, 199, 0.12);
    margin-bottom: 20px;
}

.pd-hotline-pill {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 30px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(2, 92, 156, 0.25);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-hotline-pill:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

/* Product Details Actions */
.pd-btn-cart {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 14px;
    height: 48px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(2, 92, 156, 0.25);
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-btn-cart:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 92, 156, 0.32);
}

.pd-btn-buy {
    background: #0284c7;
    color: #ffffff;
    border-radius: 14px;
    height: 48px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-btn-buy:hover {
    background: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
}

.pd-btn-whatsapp-direct {
    background: #25d366;
    color: #ffffff;
    border-radius: 14px;
    height: 44px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.pd-btn-whatsapp-direct:hover {
    background: #1eb954;
    color: #ffffff;
}

/* Trust Service Cards Grid */
.pd-info-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.pd-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

/* Product Tabs */
.pd-tabs-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    padding: 24px;
}

.pd-nav-tabs {
    border-bottom: 1.5px solid #f1f5f9;
    gap: 8px;
}

.pd-nav-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pd-nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: #f8fafc;
}

.pd-nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: #eaf4fc;
    font-weight: 700;
}

/* 3. CHECKOUT PROGRESS STEPPER */
.checkout-stepper-wrap {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 16px 28px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 650px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    position: relative;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.step-item.active .step-circle {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 92, 156, 0.15);
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step-item.completed .step-circle {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.step-item.completed .step-label {
    color: #10b981;
    font-weight: 700;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 12px 22px 12px;
    position: relative;
    z-index: 1;
}

.step-line.active {
    background: #10b981;
}

/* 4. CART & CHECKOUT SHARED CARDS */
.cart-table-card,
.checkout-form-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.order-summary-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

.promo-code-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 12px;
}

.promo-code-box .form-control {
    border-radius: 10px;
    font-size: 0.82rem;
    border: 1px solid #cbd5e1;
}

.cart-qty-spinner {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 2px 4px;
}

.cart-qty-spinner .btn {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: none;
    color: #0f172a;
    transition: all 0.2s ease;
}

.cart-qty-spinner .btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Form Controls in Checkout */
.form-control,
.form-select {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 0.86rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
    outline: none;
}

/* Payment Method Selection Cards */
.payment-method-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.payment-method-card:hover {
    border-color: #cbd5e1;
    background: #fafcff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.payment-method-card.active {
    border-color: var(--primary-color);
    background: #f0f7fc;
    box-shadow: 0 0 0 2px var(--primary-color), 0 8px 20px -4px rgba(2, 92, 156, 0.14);
}

.payment-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.payment-method-card.active .payment-icon-box {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 92, 156, 0.25);
}

/* 5. ORDER SUCCESS & INVOICE */
.order-success-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 24px;
    padding: 38px 28px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px -6px rgba(15, 23, 42, 0.08);
    position: relative;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.order-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 14px;
}

.invoice-preview-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.invoice-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 16px 0;
}

@media (max-width: 576px) {
    .invoice-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    body {
        background: #ffffff !important;
    }

    .announcement-bar,
    .middle-header,
    .navigation-bar,
    .main-footer,
    .floating-actions-container,
    .checkout-stepper-wrap,
    .btn-no-print {
        display: none !important;
    }

    .invoice-preview-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}


/* ==========================================================================
   AUTHENTICATION PAGES & USER SESSION STYLES (login, register, forgot-pwd)
   ========================================================================== */
.auth-page-bg {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: radial-gradient(circle at 50% 20%, #f0f7fc 0%, #f8fafc 100%);
    position: relative;
}

.auth-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 24px;
    box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    padding: 36px 32px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.auth-card-wide {
    max-width: 540px;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h1,
.auth-header h2 {
    font-size: 1.35rem !important;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 0;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-group .input-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 3;
}

.ltr-mode .auth-input-group .input-icon {
    right: auto;
    left: 14px;
}

.auth-input-group .form-control {
    padding-right: 42px;
    padding-left: 42px;
    height: 48px;
    border-radius: 14px;
    font-size: 0.88rem;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
}

.ltr-mode .auth-input-group .form-control {
    padding-right: 42px;
    padding-left: 42px;
}

.auth-input-group .btn-password-toggle {
    position: absolute;
    left: 10px;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 4px 8px;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s;
}

.ltr-mode .auth-input-group .btn-password-toggle {
    left: auto;
    right: 10px;
}

.auth-input-group .btn-password-toggle:hover {
    color: var(--primary-color);
}

.auth-input-group .form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Social Login Buttons */
.btn-social-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-social-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.btn-social-auth img,
.btn-social-auth i {
    font-size: 1.2rem;
}

/* Divider with text */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 12px;
}

/* Password Strength Indicator */
.password-strength-container {
    margin-top: 6px;
}

.password-strength-bars {
    display: flex;
    gap: 4px;
    height: 4px;
    margin-top: 4px;
}

.strength-bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.strength-bar.weak {
    background: #ef4444;
}

.strength-bar.medium {
    background: #f59e0b;
}

.strength-bar.strong {
    background: #10b981;
}

.password-strength-text {
    font-size: 0.74rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Discrete OTP input boxes */
.otp-inputs-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    direction: ltr !important;
}

.otp-box {
    width: 52px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.otp-box:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 92, 156, 0.15);
    outline: none;
    background: #f0f7fc;
}

/* User Logged-in Header Badge (Perfect Circular Avatar) */
.header-action-circle,
#userDropdownBtn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid #e2e8f0 !important;
}

.user-avatar-badge {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #025C9C 0%, #0284C7 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
}

/* Discrete OTP input boxes */
.otp-inputs-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    direction: ltr !important;
}

.otp-box {
    width: 52px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.otp-box:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 92, 156, 0.15);
    outline: none;
    background: #f0f7fc;
}

/* User Logged-in Header Badge (Perfect Circular Avatar) */
.header-action-circle,
#userDropdownBtn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid #e2e8f0 !important;
}

.user-avatar-badge {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #025C9C 0%, #0284C7 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
}
/* ==========================================================================
   Site additions (appended to the design's style.css by tools/build_assets.py)
   ========================================================================== */

/* Checkout: payment methods 3 per row when there is room (2 on narrower screens); the old payment message spans the full row. */
@media (min-width: 768px) {
    .payment-methods-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
        gap: 12px;
    }

    .payment-methods-wrapper .payment-method-card {
        margin-bottom: 0;
    }
}

.payment-methods-wrapper .payment-message {
    grid-column: 1 / -1;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .payment-methods-wrapper .payment-message {
        margin-bottom: 0;
    }
}

/* Customer pages (my account, orders, order details, wishlist) */
.account-side-card .user-avatar-badge {
    width: 44px !important;
    height: 44px !important;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.account-nav-link.active {
    background: #f0f7fc;
    color: var(--primary-color);
    box-shadow: inset 0 0 0 1.5px var(--primary-color);
}

.account-nav-link.text-danger:hover {
    background: #fef2f2;
}

@media (max-width: 991.98px) {
    .account-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .account-nav-link {
        white-space: nowrap;
    }
}

.account-order-card .line-clamp-2,
#account-page-content .line-clamp-2,
#info-page-content .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Review page (old StaticPages/review): 1-5 stars */
.review-stars {
    display: flex;
    gap: 6px;
}

.review-star {
    border: 0;
    background: none;
    padding: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: #cbd5e1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.review-star:hover {
    transform: scale(1.1);
}

.review-star.on {
    color: #f2b600;
}

/* Blog article body written in the admin panel */
.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.blog-body table {
    width: 100%;
}

/* Footer quick links (categories + the old "important links"): 2 columns so the footer stays short */
.main-footer h5[data-i18n="footerLinks"]+ul {
    columns: 2;
    column-gap: 36px;
}

.main-footer h5[data-i18n="footerLinks"]+ul li {
    break-inside: avoid;
}

.main-footer div:has(> h5[data-i18n="footerLinks"]) {
    width: 100%;
}

/* Header category bar: it scrolls sideways at every width (on a laptop with many categories it used to push the whole
   page wider). A scrolling row clips normal dropdowns, so the mega menu opens as a fixed panel right under the bar,
   placed by site-extra.js (--agh-mega-top / -left / -width): the container's width on desktop, the full width on phones. */
.navigation-bar .nav-categories-links {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.nav-categories-links .categories-mega-menu.show {
    position: fixed !important;
    transform: none !important;
    inset: auto !important;
    top: var(--agh-mega-top, 120px) !important;
    left: var(--agh-mega-left, 0px) !important;
    right: auto !important;
    width: var(--agh-mega-width, 100%) !important;
    max-height: calc(100vh - var(--agh-mega-top, 120px) - 12px);
    overflow-y: auto;
    z-index: 1060;
}

/* Phones / tablets: the open menu is moved out of the sideways-scrolling bar into the bar's <nav> itself
   (site-extra.js), so it hangs right under the blue bar and follows it (the nav is sticky). No viewport math:
   iOS Safari placed the earlier fixed panel far down the page. */
.categories-mega-menu.agh-mega-portal.show {
    position: absolute !important;
    transform: none !important;
    inset: auto !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 75vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1060;
}

/* Mega Menu Backdrop Overlay: isolates the mega menu from any background elements (slider, cards, etc.) */
.agh-mega-backdrop {
    position: fixed;
    top: var(--agh-mega-top, 120px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.agh-mega-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* While mega-menu or any nav dropdown is open, completely disable pointer interaction on heroCarousel */
body.agh-mega-open #heroCarousel {
    pointer-events: none !important;
}


@media (max-width: 991.98px) {

    .nav-categories-links .categories-mega-menu.show,
    .categories-mega-menu.agh-mega-portal.show {
        padding: 16px !important;
    }

    .nav-categories-links .categories-mega-menu .mega-menu-list li a,
    .categories-mega-menu.agh-mega-portal .mega-menu-list li a {
        padding: 10px 4px;
    }
}

/* Catalog toolbar on phones: compact filter button and results text on one row */
@media (max-width: 991.98px) {
    .catalog-mobile-filter-btn {
        font-size: 0.8rem !important;
    }

    .catalog-mobile-filter-btn+#catalog-results-count {
        font-size: 0.78rem;
    }
}

/* Catalog: the sticky filter sidebar (Bootstrap sticky-top = z-index 1020) must stay under the header's
   category mega menu (navigation-bar z-index 1000), otherwise it covers the opened menu. */
.catalog-sidebar.sticky-top {
    z-index: 900;
}

/* ===== Phones: product page tidy-up (Ahmed: crowded on mobile) ===== */
@media (max-width: 575.98px) {

    /* Quantity + add to cart on one row; buy now and the WhatsApp inquiry side by side under them (Ahmed) */
    .pd-actions-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pd-actions-group>.d-flex {
        display: contents !important;
    }

    .pd-actions-group .pd-qty-wrapper {
        flex: 0 0 auto;
    }

    .pd-actions-group #pd-main-add-cart {
        flex: 1 1 55%;
    }

    .pd-actions-group #pd-main-buy-now,
    .pd-actions-group #pd-main-whatsapp {
        flex: 1 1 calc(50% - 4px);
        width: auto !important;
        margin: 0 !important;
    }

    .pd-btn-cart,
    .pd-btn-buy {
        height: 46px;
        font-size: 0.9rem;
    }

    .pd-btn-whatsapp-direct {
        height: 46px;
        padding: 6px 8px;
        font-size: 0.82rem;
        line-height: 1.25;
        white-space: normal;
        text-align: center;
    }

    /* Trust badges: 2 x 2 instead of 4 squeezed ones, full sub text */
    .pd-trust-strip .row>.col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .pd-trust-strip .pd-trust-badge-item {
        padding: 8px 6px;
    }

    .pd-trust-strip .pd-trust-badge-title {
        font-size: 0.82rem;
    }

    .pd-trust-strip .pd-trust-badge-sub {
        white-space: normal;
        overflow: visible;
    }

    /* Floating WhatsApp / back-to-top: smaller and closer to the edge so they cover less of the page */
    .floating-actions-container {
        bottom: 14px;
        gap: 8px;
    }

    .rtl-mode .floating-actions-container {
        left: 12px;
    }

    .ltr-mode .floating-actions-container {
        right: 12px;
    }

    .btn-float {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .btn-float-top .fs-2 {
        font-size: 1.5rem !important;
    }

    /* Product page: lift them above the sticky add-to-cart bar when it shows */
    body.agh-sticky-bar-on .floating-actions-container {
        bottom: calc(var(--agh-sticky-h, 100px) + 12px);
    }

    /* Sticky add-to-cart bar: one compact row (thumbnail, name + price, cart button, WhatsApp) */
    .pd-sticky-bar {
        padding: 8px 0;
    }

    .pd-sticky-bar .container {
        gap: 8px !important;
    }

    .pd-sticky-bar .container>div:first-child {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px !important;
    }

    .pd-sticky-bar .container>div:first-child>div {
        min-width: 0;
    }

    #pd-sticky-img {
        width: 40px !important;
        height: 40px !important;
    }

    #pd-sticky-title {
        max-width: none !important;
        font-size: 0.8rem;
    }

    #pd-sticky-add-cart {
        padding: 8px 14px !important;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    #pd-sticky-whatsapp {
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0;
    }

    /* Specs table: a little more room for the titles, smaller text */
    .pd-specs-table td {
        padding: 10px 10px;
        font-size: 0.8rem;
    }

    .pd-specs-table td.spec-title {
        width: 40%;
    }
}

/* Catalog category pills: arrows to scroll the row on desktop (the row only scrolled by touch) */
.agh-pills-wrap {
    position: relative;
}

.agh-pills-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.agh-pills-arrow.on {
    display: flex;
}

.agh-pills-arrow.agh-start {
    right: -6px;
}

.agh-pills-arrow.agh-end {
    left: -6px;
}

.ltr-mode .agh-pills-arrow.agh-start {
    left: -6px;
    right: auto;
}

.ltr-mode .agh-pills-arrow.agh-end {
    right: -6px;
    left: auto;
}

.agh-pills-wrap.has-start .catalog-category-pills {
    padding-right: 34px;
}

.agh-pills-wrap.has-end .catalog-category-pills {
    padding-left: 34px;
}

.ltr-mode .agh-pills-wrap.has-start .catalog-category-pills {
    padding-left: 34px;
    padding-right: 0;
}

.ltr-mode .agh-pills-wrap.has-end .catalog-category-pills {
    padding-right: 34px;
    padding-left: 0;
}

.catalog-category-pills {
    scroll-behavior: smooth;
}

/* English (LTR) pages: the design's arrows and chevrons point the Arabic way (forward = left). Mirror them.
   app.js already swaps the category carousel buttons and one menu chevron by language: those are left as they are. */
.ltr-mode .bi-arrow-left::before,
.ltr-mode .bi-arrow-right::before,
.ltr-mode .bi-chevron-left::before,
.ltr-mode .bi-chevron-right::before {
    display: inline-block;
    transform: scaleX(-1);
}

.ltr-mode #cat-carousel-prev-btn .bi::before,
.ltr-mode #cat-carousel-next-btn .bi::before,
.ltr-mode .bi.small.ms-auto::before {
    transform: none;
}

/* Selects: the design's padding hid Bootstrap's room for the arrow, so long options ran under it (both languages). */
.form-select,
.catalog-sort-select {
    padding-inline-end: 2.25rem !important;
}

/* Home hero slider: the design only gave it a height from 992px up, so on tablets and phones it collapsed to 0 and
   the main banner was invisible. */
@media (max-width: 991.98px) {
    .hero-section .hero-carousel {
        height: 360px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section .hero-carousel {
        height: 260px !important;
    }
}

/* "All products" mega menu (Ahmed): main categories on the side, the pointed one's sub categories next to it. */
.all-cats-menu {
    padding: 0 !important;
    overflow: hidden;
}

.all-cats-wrap {
    display: flex;
    min-height: 340px;
}

.all-cats-side {
    flex: 0 0 270px;
    background: #f8fafc;
    border-inline-end: 1px solid #e2e8f0;
    padding: 10px;
    max-height: 70vh;
    overflow-y: auto;
}

.all-cats-all,
.all-cats-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.all-cats-all {
    color: var(--primary-color);
    border-bottom: 1px dashed #cbd5e1;
    border-radius: 12px 12px 0 0;
    margin-bottom: 6px;
}

.all-cats-item:hover,
.all-cats-item.active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.all-cats-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(2, 92, 156, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.all-cats-item.active .all-cats-icon {
    background: var(--primary-color);
    color: #fff;
}

.all-cats-arrow {
    font-size: 0.75rem;
    color: #94a3b8;
}

.all-cats-panes {
    flex: 1 1 auto;
    padding: 18px 22px;
    max-height: 70vh;
    overflow-y: auto;
}

.all-cats-pane {
    display: none;
}

.all-cats-pane.active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.all-cats-see-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.all-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 18px;
}

.all-cats-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.all-cats-sub i {
    color: #64748b;
    font-size: 1.05rem;
}

.all-cats-sub:hover {
    background: #f0f7fc;
    color: var(--primary-color);
}

.all-cats-sub:hover i {
    color: var(--primary-color);
}

@media (max-width: 1199.98px) {
    .all-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .all-cats-wrap {
        flex-direction: column;
        min-height: 0;
    }

    .all-cats-side {
        flex: none;
        max-height: none;
        border-inline-end: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .all-cats-panes {
        max-height: none;
        padding: 14px;
    }

    .all-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .all-cats-arrow {
        transform: rotate(-90deg);
        transition: transform 0.2s ease;
    }

    .all-cats-arrow::before {
        transform: none !important;
    }

    .all-cats-item.active .all-cats-arrow {
        transform: rotate(90deg);
    }

    .all-cats-side .all-cats-pane {
        padding: 6px 4px 12px;
    }

    .all-cats-panes {
        display: none;
    }
}

/* Product price (Ahmed): price, old price and the saving badge on one line, phones included */
.pd-price-card .pd-price-current {
    white-space: nowrap;
}

.pd-price-card .d-flex:has(> .pd-price-current) {
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-width: 0;
}

.pd-price-card .pd-price-old,
.pd-price-card .pd-price-save {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .pd-price-card .pd-price-current {
        font-size: 1.3rem;
    }

    .pd-price-card .pd-price-old {
        font-size: 0.78rem;
        margin-right: 4px;
    }

    .ltr-mode .pd-price-card .pd-price-old {
        margin-left: 4px;
        margin-right: 0;
    }

    .pd-price-card .pd-price-save {
        font-size: 0.68rem;
        padding: 2px 6px;
    }
}

/* ==========================================================================
   Phones / tablets (< 992px): side menu (templates/partials/mobile-drawer.php) instead of the blue category bar
   ========================================================================== */
@media (max-width: 991.98px) {
    .navigation-bar {
        display: none !important;
    }
}

.agh-burger {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(8, 92, 156, 0.18);
    color: var(--primary-color);
    background: #fff;
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agh-drawer {
    width: min(86vw, 360px) !important;
}

.agh-drawer-head {
    border-bottom: 1px solid #eef2f7;
    padding: 12px 16px;
}

.agh-drawer-logo {
    height: 40px;
}

.agh-drawer-nav {
    padding: 6px 0;
}

.agh-dr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px;
    border-bottom: 1px solid #f1f4f8;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
}

a.agh-dr-row {
    justify-content: flex-start;
}

.agh-dr-row i {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.agh-dr-top {
    background: var(--primary-color);
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.agh-dr-top span {
    color: #fff;
}

.agh-dr-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-height: 52px;
    color: #1e293b;
    text-decoration: none;
}

.agh-dr-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #f3f7fb;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agh-dr-toggle i {
    transition: transform 0.2s ease;
    color: var(--primary-color);
}

.agh-dr-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

.agh-dr-sub {
    background: #f8fafc;
}

.agh-dr-row-sub {
    min-height: 46px;
    background: #f8fafc;
    padding-inline-start: 28px;
    font-weight: 600;
}

.agh-dr-sublink {
    display: block;
    padding: 12px 16px;
    padding-inline-start: 28px;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #eef2f7;
}

.agh-dr-row-sub .agh-dr-sublink {
    padding: 0;
    border: 0;
    flex: 1;
}

.agh-dr-sub2 {
    background: #fff;
}

.agh-dr-sublink2 {
    display: block;
    padding: 11px 16px;
    padding-inline-start: 44px;
    color: #475569;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f4f8;
}

.agh-dr-sublink:active,
.agh-dr-sublink2:active,
.agh-dr-link:active {
    background: #eef5fb;
}

.agh-dr-foot {
    border-top: 6px solid #f1f4f8;
}

/* above the floating WhatsApp / chat buttons */
.offcanvas.agh-drawer,
.offcanvas {
    z-index: 1090 !important;
}

/* every side panel (menu, phone filters) above its backdrop */
.offcanvas-backdrop {
    z-index: 1085 !important;
}

/* Wide promo banner (home): the title is white on the dark picture like the other texts (it inherited the dark heading
   colour, unreadable on the photo) */
.wide-promo-banner .promo-banner-content h3,
.wide-promo-banner .promo-banner-content h3 * {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Big home slider with slides from sys (Ahmed): the picture as it is, no dark overlay / shadow, the picture is the link.
   Desktop keeps the column's height; phones and tablets show the whole picture at its own proportions. */
.hero-section .agh-hero-plain {
    box-shadow: none !important;
    background: #fff;
}

.agh-hero-plain .carousel-item::before {
    display: none !important;
}

.agh-hero-plain .carousel-item {
    background: none;
}

.agh-hero-plain .agh-hero-link {
    display: block;
    height: 100%;
}

.agh-hero-plain .agh-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.agh-hero-plain .carousel-indicators,
.agh-hero-plain .carousel-control-prev,
.agh-hero-plain .carousel-control-next {
    z-index: 3;
}

.agh-hero-plain .carousel-control-prev,
.agh-hero-plain .carousel-control-next {
    width: 10%;
}

@media (max-width: 991.98px) {

    .hero-section .hero-carousel.agh-hero-plain,
    .agh-hero-plain .carousel-inner,
    .agh-hero-plain .carousel-item {
        height: auto !important;
    }

    .agh-hero-plain .agh-hero-img {
        height: auto;
        object-fit: contain;
    }
}

/* Banners next to the big slider with slides from sys (Ahmed): the picture alone, the picture is the link.
   Desktop keeps the design's boxes (250px high); phones and tablets show the whole picture at its own proportions. */
.agh-side-banner {
    display: block;
    background: #fff;
}

.agh-side-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .agh-side-banner {
        height: 250px;
        flex-shrink: 0;
    }
}

@media (max-width: 991.98px) {
    .agh-side-banner {
        height: auto;
    }

    .agh-side-banner img {
        height: auto;
    }
}

/* Home calculator, left side (Ahmed): a slide per calculator tab, same look as the design's single block */
.agh-calc-info .carousel-item::before {
    display: none !important;
}

.agh-calc-info .carousel-item {
    background: none;
}

.agh-calc-info .calc-3d-wrapper {
    margin: 0 3px;
}

.agh-calc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.agh-calc-dots button {
    width: 26px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #cbd5e1;
    transition: background .2s, width .2s;
}

.agh-calc-dots button.active {
    width: 40px;
    background: var(--primary-color, #1e3a8a);
}

/* Home calculator on phones (Ahmed): the 4 type tabs were squeezed into 4 narrow columns and their names ran out of
   the buttons. Phones: 2 x 2 tabs, a little less padding; the desktop look is unchanged. */
@media (max-width: 575.98px) {
    .calc-glass-deck {
        padding: 18px 14px;
    }

    .calc-glass-deck .calc-type-tab {
        padding: 10px 6px;
        font-size: 0.88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .calc-glass-deck .calc-type-tab i {
        font-size: 1.15rem !important;
    }

    .calc-glass-deck>.row:first-of-type>.col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Top bar user dropdown (announcement bar): opens on click only and drops downward */
.top-bar-user-dropdown {
    position: relative !important;
    z-index: 1050 !important;
}

.top-bar-user-dropdown .dropdown-toggle:focus,
.top-bar-user-dropdown .dropdown-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.top-bar-user-dropdown .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    margin-top: 6px !important;
    min-width: 175px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    z-index: 1060 !important;
    padding: 6px 0;
    display: none;
}

.top-bar-user-dropdown .dropdown-menu.show {
    display: block !important;
    animation: fadeInDown 0.2s ease-out;
}

.ltr-mode .top-bar-user-dropdown .dropdown-menu {
    right: auto !important;
    left: 0 !important;
}

.header-actions-dropdowns .dropdown:hover>.dropdown-menu:not(.show),
.top-bar-user-dropdown:hover>.dropdown-menu:not(.show) {
    display: none !important;
}

/* Hero Owl Carousel */
#heroCarousel.owl-carousel {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

#heroCarousel.owl-carousel,
#heroCarousel.owl-carousel .owl-stage-outer,
#heroCarousel.owl-carousel .owl-stage,
#heroCarousel.owl-carousel .owl-item {
    height: 100% !important;
}

.hero-owl-slide {
    height: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-owl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.35) 100%);
    z-index: 1;
}

.rtl-mode .hero-owl-overlay {
    background: linear-gradient(270deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.35) 100%);
}

.hero-owl-caption {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 80%;
}

.rtl-mode .hero-owl-caption {
    text-align: right;
    margin-right: 5%;
}

/* Plain hero image slides from sys */
.agh-hero-plain .hero-owl-slide {
    background: none;
    min-height: auto;
}

.agh-hero-plain .hero-owl-overlay {
    display: none !important;
}

/* Hero Owl Navigation & Dots */
#heroCarousel.owl-carousel .owl-nav {
    position: static;
    margin: 0;
}

#heroCarousel.owl-carousel .owl-nav button.owl-prev,
#heroCarousel.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s ease;
    z-index: 5;
    margin: 0;
    border: none;
    cursor: pointer;
}

#heroCarousel.owl-carousel .owl-nav button.owl-prev:hover,
#heroCarousel.owl-carousel .owl-nav button.owl-next:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #085c9c !important;
}

.rtl-mode #heroCarousel.owl-carousel .owl-nav button.owl-prev {
    right: 15px;
    left: auto;
}

.rtl-mode #heroCarousel.owl-carousel .owl-nav button.owl-next {
    left: 15px;
    right: auto;
}

body:not(.rtl-mode) #heroCarousel.owl-carousel .owl-nav button.owl-prev {
    left: 15px;
    right: auto;
}

body:not(.rtl-mode) #heroCarousel.owl-carousel .owl-nav button.owl-next {
    right: 15px;
    left: auto;
}

#heroCarousel.owl-carousel .owl-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
    margin: 0;
}

#heroCarousel.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.25s ease;
}

#heroCarousel.owl-carousel .owl-dots .owl-dot.active span {
    width: 26px;
    background: #ffaa00;
    border-radius: 6px;
}

@media (max-width: 991.98px) {
    .hero-section #heroCarousel.owl-carousel,
    .hero-section #heroCarousel.owl-carousel .hero-owl-slide {
        min-height: 360px !important;
        height: 360px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section #heroCarousel.owl-carousel,
    .hero-section #heroCarousel.owl-carousel .hero-owl-slide {
        min-height: 260px !important;
        height: 260px !important;
    }
    #heroCarousel.owl-carousel .owl-nav button.owl-prev,
    #heroCarousel.owl-carousel .owl-nav button.owl-next {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}
/* Installment calculator chips (banks / companies, Ahmed): same size, names fully visible (up to 2 lines), the
   selected border, the "featured" badge and the hover lift not cut by the scrolling row. */
.installment-providers-track { padding: 12px 4px 10px; margin-top: -4px; }
.provider-item-btn {
    width: 128px; min-width: 128px; max-width: 128px; min-height: 96px;
    padding: 12px 8px 10px; justify-content: center; overflow: visible;
}
.provider-item-btn .provider-logo-wrapper { height: auto; min-height: 40px; overflow: visible; }
.provider-item-btn .provider-logo-img { max-width: 96px; max-height: 36px; }
.provider-item-btn .provider-name-box {
    font-size: 0.82rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; overflow: visible; padding: 1px 0;
}
@media (max-width: 575.98px) {
    .provider-item-btn { width: 116px; min-width: 116px; max-width: 116px; min-height: 90px; }
    .provider-item-btn .provider-name-box { font-size: 0.78rem; }
}
