/* Minimal additions on top of the original golden-ice theme */

/* ===== Mobile bottom navigation (matches goldenicestore mobile) ===== */
.mobile-nav {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1040;
    display: flex; justify-content: space-around; align-items: center;
    background: #fff; border-top: 1px solid #ececf2;
    box-shadow: 0 -4px 18px rgba(2,43,94,.08);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
}
.mobile-nav__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #8a8a95; font-size: 11px; font-weight: 700; text-decoration: none;
    transition: color .15s;
}
/* icon sits inside a rounded square; active gets a light-blue highlight */
.mobile-nav__ic {
    width: 46px; height: 32px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; transition: background .15s;
}
.mobile-nav__item i { font-size: 20px; }
.mobile-nav__ic .mnav-svg { width: 25px; height: 25px; display: block; }
.mobile-nav__item.active { color: var(--primary-color, #022B5E); }
.mobile-nav__item.active i { color: var(--primary-color, #022B5E); }
.mobile-nav__item.active .mobile-nav__ic { background: var(--primary-color-50, #ecf1f9); }
.mobile-nav__item:hover { color: var(--primary-color, #022B5E); }
/* whatsapp: simple inline green circle (not raised) */
.mobile-nav__item--wa { color: #17a44a; }
.mobile-nav__wa {
    width: 34px; height: 34px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
/* cart icon with badge */
.mobile-nav__cart { position: relative; display: inline-flex; }
.mobile-nav__badge {
    position: absolute; top: -6px; inset-inline-end: -8px;
    background: var(--secondary-color, #EAA921); color: #fff;
    min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px;
    font-size: 10px; line-height: 18px; text-align: center; font-weight: 800;
}
/* keep page content clear of the fixed bar on mobile */
@media (max-width: 991.98px) {
    body { padding-bottom: 68px; }
    /* the theme adds ~104px footer bottom padding (for a floating button we removed) —
       drop it on mobile so there's no white gap above the bottom nav */
    .page-foooter { padding-bottom: 0 !important; }
    /* kill any horizontal scroll / bleed on small screens */
    html, body { overflow-x: hidden; max-width: 100%; }

    /* navy header card fits the screen */
    header .nav-header { margin-top: .4rem; gap: .5rem !important; padding: 14px 14px 0; }
    header .nav-header .logo.brand-logo img { height: 52px; }
    .searchbar-form { width: 100%; }
    .searchbar-form .form-control { min-width: 0; }

    /* service links (استشارة/الصيانة) shrink to fit one row instead of clipping */
    .nav-bottom { padding-inline: 0; }
    .nav-bottom .navbar-nav.justify-content-sm-end {
        flex-direction: row !important; flex-wrap: nowrap;
        justify-content: center; gap: 10px; width: 100%;
    }
    .nav-bottom .nav-item { min-width: 0; }
    .nav-bottom .nav-link {
        font-size: 11.5px; padding: 8px 2px; white-space: normal; line-height: 1.35;
        display: flex; align-items: center; gap: 5px; text-align: center;
    }
    .nav-bottom .nav-link .icon-24.green-btn { width: 22px; height: 22px; flex: 0 0 22px; font-size: 13px; }

    /* swipers must clip their peek so the page doesn't scroll sideways */
    .swiper { overflow: hidden !important; }
}

/* product card: keep the discount badge inside the rounded border on small phones */
.product-card { overflow: hidden; }
.product-card .discount-progress { max-width: 100%; }
.product-card .discount-progress .price { min-width: 0; white-space: nowrap; }
@media (max-width: 575.98px) {
    .product-card .discount-progress { padding: 0.2rem 0.3rem; gap: 4px; }
    .product-card .discount-progress .price { font-size: 11px; }
    .product-card .discount-progress .percentage { font-size: 11px; padding-inline: 0.35rem; line-height: 1.6; }
}

/* ===== Sections page — mobile accordion (like goldenicestore mobile) ===== */
.cat-accordion .accordion-item { border: 0; margin-bottom: 12px; background: transparent; border-radius: 12px; }
.cat-accordion .accordion-button {
    background: #ededed; color: var(--primary-color, #022B5E); font-weight: 700; font-size: 15px;
    padding: 15px 16px; border-radius: 12px; box-shadow: none; gap: 12px;
}
.cat-accordion .accordion-button:not(.collapsed) { background: #e4eaf3; color: var(--primary-color, #022B5E); box-shadow: none; border-radius: 12px 12px 0 0; }
.cat-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.cat-acc__icon { width: 30px; height: 30px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; }
.cat-acc__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-acc__title { flex-grow: 1; min-width: 0; text-align: start; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.cat-accordion .accordion-button { flex-wrap: nowrap; }
.cat-accordion .accordion-button::after { flex: 0 0 auto; }
.cat-accordion .accordion-body { background: #f7f8fa; padding: 4px 8px 8px; border-radius: 0 0 12px 12px; }
.cat-acc__link { display: block; padding: 13px 14px; color: #363642; text-decoration: none; border-bottom: 1px solid #ececf2; font-size: 14px; }
.cat-acc__link:last-child { border-bottom: 0; }
.cat-acc__link:hover { color: var(--primary-color, #022B5E); }
.cat-acc__link--all { color: var(--primary-color, #022B5E); font-weight: 700; }

/* best-sellers / offers: 2-col grid on desktop (before/if Swiper isn't active) */
.best-seller-m { overflow: hidden; }
.best-seller-m:not(.swiper-initialized) .swiper-wrapper {
    display: flex; flex-wrap: wrap; transform: none !important;
}
.best-seller-m:not(.swiper-initialized) .swiper-slide {
    width: 50%; padding: 0 12px; margin-bottom: 24px;
}

/* ===== Footer help cards + brand block (match goldenicestore) ===== */
.footer-help { padding: 22px 0 6px; }
.fh-card {
    background: #fff; border: 1px solid #eef0f5; border-radius: 14px;
    padding: 16px 12px; text-align: center; height: 100%;
    box-shadow: 0 4px 14px rgba(2,43,94,.05);
}
.fh-ic {
    width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 8px;
    background: var(--primary-color, #022B5E); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fh-lbl { font-size: 12px; color: #5f5f6b; margin-bottom: 4px; }
/* footer branch "map" links sit on a very light tint — darken for AA contrast */
.page-foooter .footer-top .text a { color: #0d2a5e; text-decoration: underline; }
.page-foooter .footer-top .text a:hover { color: var(--primary-color, #022B5E); }
.fh-val { font-weight: 800; color: #16224f; text-decoration: none; font-size: 14px; word-break: break-word; }
.fh-val:hover { color: var(--primary-color, #022B5E); }

/* footer bottom (navy): single horizontal row on desktop */
.footer-bottom {
    display: flex; flex-direction: row; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 18px;
}
.footer-bottom .text { margin: 0; white-space: nowrap; }
.footer-bottom .social-list { margin: 0; }
.footer-tagline { color: var(--secondary-color, #EAA921); font-weight: 800; font-size: 18px; margin: 0; flex: 1 1 auto; text-align: center; line-height: 1.6; }
.footer-brand-logo { height: 54px; width: auto; object-fit: contain; }

@media (max-width: 767.98px) {
    /* stacked & centered on mobile */
    .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
    .footer-tagline { font-size: 15px; }
    .footer-brand-logo { height: 46px; }
    .footer-middle .footer-link { font-size: 12.5px; padding: 5px 0; line-height: 1.5; }
    .page-foooter .footer-title { font-size: 14px; }
}

/* ===== Product add-to-cart row on mobile ===== */
@media (max-width: 575.98px) {
    #add_to_cart_block .cart.actions-btn { gap: 6px !important; flex-wrap: nowrap; width: 100%; max-width: 100%; }
    #add_to_cart_block .col-3 { width: auto !important; max-width: 92px; padding: 0 !important; margin: 0 !important; flex: 0 0 auto; }
    #add_to_cart_block .plus-minus { width: 92px; }
    #add_to_cart_block .plus-minus .form-control { padding-inline: 1.1rem !important; }

    /* both buttons shrink to share the space equally, label wraps to two lines */
    #add_to_cart_block .single_add_to_cart_button.btn-primary-icon,
    #add_to_cart_block .whats-app.btn-primary-icon {
        flex: 1 1 0 !important; min-width: 0 !important; gap: 5px; padding-inline: 4px 8px;
    }
    #add_to_cart_block .single_add_to_cart_button.btn-primary-icon .text,
    #add_to_cart_block .whats-app.btn-primary-icon .text {
        white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 1.15;
    }
    /* shrink the icon circles so everything fits on small phones */
    #add_to_cart_block .single_add_to_cart_button.btn-primary-icon .icon,
    #add_to_cart_block .whats-app.btn-primary-icon .icon {
        width: 32px; height: 32px;
    }
    #add_to_cart_block .single_add_to_cart_button.btn-primary-icon .icon i,
    #add_to_cart_block .whats-app.btn-primary-icon .icon i { font-size: 14px; }
}

/* ===== Shop mobile filter/sort bar + bottom sheets ===== */
.shop-mobile-bar { display: flex; gap: 12px; margin-bottom: 18px; }
.shop-mobile-bar__btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1.5px solid var(--primary-color, #022B5E); background: #fff;
    color: var(--primary-color, #022B5E); border-radius: 30px;
    padding: 11px 14px; font-weight: 700; font-size: 14px;
}
.shop-mobile-bar__btn:active { background: var(--primary-color-50, #ecf1f9); }
.gi-sheet-backdrop {
    position: fixed; inset: 0; background: rgba(10,20,40,.5); z-index: 1055;
    opacity: 0; visibility: hidden; transition: opacity .25s;
}
.gi-sheet-backdrop.show { opacity: 1; visibility: visible; }
.gi-sheet {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 1060; background: #fff;
    border-radius: 22px 22px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%); transition: transform .3s ease; max-height: 82vh; overflow-y: auto;
    box-shadow: 0 -8px 30px rgba(2,43,94,.15);
}
.gi-sheet.show { transform: translateY(0); }
.gi-sheet__handle { width: 46px; height: 5px; border-radius: 3px; background: #dcdce4; margin: 2px auto 16px; }
.gi-sheet__title { font-weight: 800; color: var(--primary-color, #022B5E); margin-bottom: 14px; }
.gi-sheet .form-check-lg { padding: 6px 0; }


.btn-circle-icon .icon {
    position: relative;
    width: 48px; height: 48px; border-radius: 50%;
    background: #fff !important;
    color: var(--primary-color, #022B5E) !important;
    display: flex; align-items: center; justify-content: center;
}
.btn-circle-icon .icon svg { width: 22px; height: 22px; fill: currentColor; }
.btn-circle-icon { color: #fff; }
.btn-circle-icon .text { color: #fff; }

/* ===== Custom full-width header (distinct from the original theme) ===== */
header {
    background-color: var(--primary-color, #022B5E);
    padding-bottom: 0;
    border-bottom: 3px solid var(--secondary-color, #EAA921);
    box-shadow: 0 6px 22px rgba(2, 43, 94, .18);
}
/* top utility strip (social + language) */
header .top-bar { background: rgba(0, 0, 0, .18); padding: 0.5rem 0; }
header .top-bar .btn { color: #fff; }
.top-bar .social-link { color: #fff; display: inline-flex; align-items: center; }
.top-bar .social-link svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* remove the original floating navy "card" — header is already full-width navy */
header .nav-header {
    background: transparent !important; border-radius: 0 !important;
    margin-top: 0 !important; padding: 1rem 0 !important;
}
header .nav-bottom {
    background: transparent !important; border-radius: 0 !important;
    box-shadow: none !important; padding-inline: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

/* rounded pill search with a GOLD button (original used a purple button) */
.searchbar-form .input-group { border-radius: 30px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.searchbar-form .form-control { border: 0; }
.searchbar-form .btn.btn-primary { background: var(--secondary-color, #EAA921) !important; border-color: var(--secondary-color, #EAA921) !important; }
.searchbar-form .btn.btn-primary svg { width: 18px; height: 18px; fill: var(--primary-color, #022B5E); }

.nav-bottom .nav-link .menu-grid { width: 20px; height: 20px; vertical-align: -3px; }

/* ---- desktop header polish (modern, clean) ---- */
@media (min-width: 992px) {
    header .nav-header { padding: 1.1rem 0 !important; gap: 1.75rem !important; }
    header .nav-header .logo.brand-logo img { height: 70px; }

    /* prominent search */
    .searchbar-form .input-group { height: 52px; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
    .searchbar-form .form-control { font-size: 15px; padding-inline: 22px; }
    .searchbar-form .btn.btn-primary { width: 62px; display: flex; align-items: center; justify-content: center; }

    /* action icons */
    .btn-circle-icon { gap: 10px; align-items: center; }
    .btn-circle-icon .icon { width: 46px; height: 46px; box-shadow: 0 3px 10px rgba(0,0,0,.14); transition: .18s; }
    .btn-circle-icon:hover .icon { background: var(--secondary-color, #EAA921) !important; color: var(--primary-color, #022B5E) !important; }
    .btn-circle-icon .text { font-weight: 700; font-size: 14px; }
    .cart-badge { background: var(--secondary-color, #EAA921); color: var(--primary-color, #022B5E); font-weight: 800; }

    /* category bar */
    header .nav-bottom { padding: .5rem 0 .7rem !important; align-items: center; }
    /* "الأقسام" turns into a solid gold button */
    .nav-bottom .navbar-nav .nav-link.active {
        background: var(--secondary-color, #EAA921); color: var(--primary-color, #022B5E) !important;
        border-radius: 30px; padding: 10px 24px !important; font-weight: 800; font-size: 15px;
    }
    .nav-bottom .navbar-nav .nav-link.active .menu-grid path { stroke: var(--primary-color, #022B5E) !important; }
    /* service links become subtle pills */
    .nav-bottom .navbar-nav.justify-content-sm-end { gap: 10px; }
    .nav-bottom .navbar-nav.justify-content-sm-end .nav-link {
        background: rgba(255,255,255,.09); border-radius: 30px; padding: 9px 18px !important;
        font-size: 14px; transition: .18s;
    }
    .nav-bottom .navbar-nav.justify-content-sm-end .nav-link:hover { background: rgba(255,255,255,.18); }
}

/* all-clients page — each logo in a white rounded card */
.client-logo-link {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 260px; padding: 28px;
    background: #fff; border-radius: 18px;
    box-shadow: 0 6px 18px rgba(13, 36, 67, 0.07);
    transition: .2s;
}
.client-logo-link:hover { box-shadow: 0 10px 26px rgba(13, 36, 67, 0.12); transform: translateY(-3px); }
.client-logo-img { max-height: 200px; max-width: 100%; object-fit: contain; }

/* client image lightbox modal */
.client-modal-content { border: 0; border-radius: 18px; background: #fff; position: relative; }
.client-modal-content #clientModalImg { max-height: 72vh; width: auto; max-width: 100%; }
.client-modal-close {
    position: absolute; top: -18px; inset-inline-start: -18px; z-index: 5;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: #fff; color: var(--primary-color, #022B5E);
    font-size: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.2); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.client-modal-close:hover { background: var(--primary-color, #022B5E); color: #fff; }

/* shop / category page (matches original) */
.page-header { padding: 18px 0; }
.woocommerce-breadcrumb { font-size: 14px; color: var(--gi-muted, #6b6b76); }
.woocommerce-breadcrumb a { color: var(--primary-color, #022B5E); font-weight: 600; }
.filter-aside {
    background: #fff; border: 1px solid var(--light-border-color, #d4dfec);
    border-radius: 16px; padding: 20px 18px; position: sticky; top: 16px;
}
.filter-aside .sections-main-headline { font-size: 17px; }
.sort-links { margin: 0 0 8px; }
.sort-links li { padding: 0; }
.sort-links li a {
    display: block; padding: 9px 4px; font-size: 15px; font-weight: 500;
    color: var(--primary-color, #022B5E); text-decoration: none; text-align: center;
}
.sort-links li a:hover, .sort-links li a.active { color: var(--secondary-color, #EAA921); font-weight: 700; }
.cat-filter { max-height: 320px; overflow-y: auto; margin: 0; }
.cat-filter li a { display: block; padding: 6px 4px; font-size: 14px; color: var(--gi-text, #24242b); border-bottom: 1px dashed #eee; }
.cat-filter li a:hover, .cat-filter li a.active { color: var(--secondary-color, #EAA921); font-weight: 700; }
.cat-filter small { color: #aaa; }

/* woocommerce price slider (jQuery UI) */
.widget_price_filter .price_slider_wrapper { padding: 6px 6px 0; }
.price_slider.ui-slider {
    position: relative; height: 6px; background: #e6e6ea; border-radius: 6px;
    margin: 18px 8px 22px; border: 0;
}
.price_slider .ui-slider-range { position: absolute; height: 100%; background: var(--secondary-color, #EAA921); border-radius: 6px; }
.price_slider .ui-slider-handle {
    position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; margin-inline-start: -9px;
    background: #fff; border: 3px solid var(--secondary-color, #EAA921); border-radius: 50%;
    cursor: pointer; outline: none;
}
.price_slider_amount { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.price_slider_amount .button {
    order: 1; background: var(--primary-color, #022B5E); color: #fff; border: 0;
    border-radius: 999rem; padding: 8px 22px; font-weight: 700; cursor: pointer;
}
.price_slider_amount .price_label { order: 2; font-size: 14px; color: var(--gi-text, #24242b); }
.price_slider_amount .price_label .from, .price_slider_amount .price_label .to { font-weight: 700; }

/* product page extras */
/* Add-to-cart button: gold pill + icon inside a circle on the right (RTL) */
.single_add_to_cart_button.btn-primary-icon {
    background: var(--secondary-color, #EAA921); color: #fff; border: 0; border-radius: 999px;
    display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 8px; padding-block: 6px; padding-inline: 6px 16px; font-weight: 700; line-height: 1.2;
    flex: 1 1 0; min-width: 0;
}
.single_add_to_cart_button.btn-primary-icon:hover { background: #d6980f; color: #fff; }
.single_add_to_cart_button.btn-primary-icon .text { order: 2; flex: 1 1 auto; text-align: center; }
.single_add_to_cart_button.btn-primary-icon .icon {
    order: 1; flex: 0 0 auto;
    width: 40px; height: 40px; border-radius: 50%;
    background: #c98a0e; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.single_add_to_cart_button .icon i { font-size: 18px; }
.price-box .discount { flex-wrap: wrap; }
.price-box .new-price .current { font-size: 30px; font-weight: 900; color: var(--primary-color, #022B5E); }
.price-box .new-price .currency { color: var(--primary-color, #022B5E); }
.price-box .old-price .current, .price-box .old-price .currency { color: #9aa4b2; text-decoration: line-through; font-size: 18px; font-weight: 600; }
.small-downtitle { color: #6b6b76; font-size: 13px; }
.product-top__desc h2 { font-size: 20px; margin-bottom: 14px; }
.product-top__desc .main-text { font-size: 15px; }
/* WhatsApp buy button: green pill + icon inside a circle on the right (RTL) */
.whats-app.btn-primary-icon {
    background: #39a84c; color: #fff; border: 0; border-radius: 999px;
    display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 8px; padding-block: 6px; padding-inline: 6px 16px; font-weight: 700; line-height: 1.2;
    flex: 1 1 0; min-width: 0;
}
.whats-app.btn-primary-icon:hover { background: #2e9440; color: #fff; }
.whats-app.btn-primary-icon .text { order: 2; flex: 1 1 auto; text-align: center; }
.whats-app.btn-primary-icon .icon {
    order: 1; flex: 0 0 auto;
    width: 40px; height: 40px; border-radius: 50%;
    background: #1f8a38; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9) inset;
}
.whats-app.btn-primary-icon .icon i { font-size: 18px; }
.gi-instock { color: #1a9d54; font-weight: 700; }
.gi-outstock { color: #e23744; font-weight: 700; }
.badge-flex-icon .icon i { color: var(--secondary-color, #EAA921); }
.related .swiper-slide { height: auto; }
.specs-table th { color: var(--primary-color, #022B5E); font-weight: 700; font-size: 14px; }
.specs-table td { color: #444; font-size: 14px; }
.review-form .form-label { font-size: 13px; color: #6b6b76; margin-bottom: 3px; }
.rich-desc { line-height: 2; color: #444; }
.rich-desc img, .rich-desc video, .rich-desc iframe { max-width: 100%; height: auto; border-radius: 12px; margin: 10px 0; }
.rich-desc .wp-video, .rich-desc .wp-video-shortcode { width: 100% !important; max-width: 100%; }
.rich-desc video { display: block; }
.rich-desc h1, .rich-desc h2, .rich-desc h3, .rich-desc h4 { color: var(--primary-color, #022B5E); font-weight: 800; margin: 22px 0 12px; }
.rich-desc h2 { font-size: 22px; }
.rich-desc h3 { font-size: 19px; }
.rich-desc p { margin: 0 0 12px; }
.rich-desc ul, .rich-desc ol { padding-inline-start: 22px; margin: 0 0 14px; }
.rich-desc li { margin-bottom: 8px; }
.rich-desc ul li::marker { color: var(--secondary-color, #EAA921); }
.rich-desc a { color: var(--primary-color, #022B5E); text-decoration: underline; }
/* editor mirrors the front-end look */
.rte-editor h2 { color: var(--primary-color, #022B5E); font-weight: 800; font-size: 22px; margin: 18px 0 10px; }
.rte-editor h3 { color: var(--primary-color, #022B5E); font-weight: 800; font-size: 19px; margin: 16px 0 8px; }
.rte-editor ul, .rte-editor ol { padding-inline-start: 22px; }
.rte-editor:focus { outline: none; box-shadow: inset 0 0 0 2px var(--primary-color-25, #c2d3e9); }

/* sections (categories) index page */
.gi-cat-grid-page { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 991px) { .gi-cat-grid-page { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .gi-cat-grid-page { grid-template-columns: repeat(2, 1fr); } }
.cat-tile { background: #fff; border: 1px solid var(--light-border-color, #d4dfec); border-radius: 16px; padding: 18px 12px; text-align: center; text-decoration: none; transition: .2s; display: block; }
.cat-tile:hover { box-shadow: 0 10px 24px rgba(13,36,67,.10); transform: translateY(-4px); border-color: var(--secondary-color, #EAA921); }
.cat-tile-img { height: 110px; display: flex; align-items: center; justify-content: center; }
.cat-tile-img img { max-height: 100px; max-width: 100%; object-fit: contain; }
.cat-tile-name { font-weight: 700; font-size: 14px; color: var(--primary-color, #022B5E); margin-top: 8px; }
.cat-tile-count { font-size: 12px; color: #9aa4b2; margin-top: 2px; }
.cart-badge {
    position: absolute; top: -6px; left: -6px;
    background: var(--secondary-color, #EAA921); color: #fff;
    font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

.gi-whatsapp {
    position: fixed; bottom: 22px; left: 22px; z-index: 1000;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none;
}
.gi-whatsapp:hover { color: #fff; transform: scale(1.05); }

/* brand logo (icon + two-line text) */
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo img { height: 58px; width: auto; flex: 0 0 auto; }
.brand-logo .brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand-logo .brand-text .ar { font-weight: 900; font-size: 24px; color: #fff; white-space: nowrap; }
.brand-logo .brand-text .en { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 2px; color: #fff; font-weight: 700; margin-top: 6px; white-space: nowrap; }

.top-bar .social-list, .footer-bottom .social-list { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; align-items: center; direction: ltr; }
.top-bar .social-link { color: var(--primary-color, #022B5E); opacity: .85; font-size: 15px; }
.top-bar .social-link:hover { opacity: 1; }
.top-bar .btn { color: var(--primary-color, #022B5E); font-weight: 600; }

.copyright { color: #fff; background: var(--primary-color, #022B5E); font-size: 13px; }

/* Shop listing grid using theme cards */
.gi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 991px) { .gi-grid { grid-template-columns: repeat(2, 1fr); } }

/* keep product-card sizing consistent inside a CSS grid (outside swiper) */
.gi-grid .product-card { height: 100%; }

/* ===== equal-height product cards everywhere ===== */
.swiper .swiper-slide { height: auto; }
.card.product-card { height: 100%; display: flex; flex-direction: column; }
.card.product-card .card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.card.product-card .card-body > .row { flex: 1 1 auto; }
.card.product-card .card-body .col-10 a,
.card.product-card .card-body .col-xl-8 a { display: flex; align-items: center; justify-content: center; height: 170px; }
.card.product-card .card-body .col-10 img,
.card.product-card .card-body .col-xl-8 img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; }
.card.product-card .product-name { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.card.product-card .product-name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.product-card .discount { margin-top: auto; }
.card.product-card .actions-btn { margin-top: 10px; }

.page-title {
    font-family: "HelveticaNeueL-bold", sans-serif;
    color: var(--primary-color, #022B5E); font-weight: 700; margin: 0;
}

/* big mega-menu: let nested flyouts overflow (no scrollbars, no clipping) */
header .nav-bottom .big-menu { overflow: visible; }
.icon-24 { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.icon-24.green-btn { color: #fff; }
.sections-list { padding-block: .5rem; }
.sections-list .section-lisit-link { padding: 7px 12px; }
.big-menu .dropdown-menu { list-style: none; margin: 0; min-width: 190px; }
.big-menu .dropdown-menu .item { display: block; text-decoration: none; white-space: nowrap; }
.big-menu .dropdown-menu .item:hover { color: var(--secondary-color) !important; }

.services-card .btn-outline-primary { border-color: var(--primary-color); color: var(--primary-color); }
.services-card .btn-outline-primary:hover { background: var(--primary-color); color: #fff; }

/* ===== Inner pages (shop / product / cart / auth) ===== */
:root { --gi-gold: var(--secondary-color, #EAA921); --gi-navy: var(--primary-color, #022B5E); }
.btn-gold { background: var(--secondary-color); color: #fff; border: none; border-radius: 10px; padding: 10px 22px; font-weight: 700; }
.btn-gold:hover { background: #d6980f; color: #fff; }

.gi-shop-head { background: #fff; border: 1px solid var(--light-border-color, #d4dfec); border-radius: 14px; padding: 18px 22px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.gi-shop-head h1 { font-size: 22px; font-weight: 800; margin: 0; color: var(--primary-color); }
.gi-shop-head .count { color: #6b6b76; font-size: 14px; }
.gi-side { background: #fff; border: 1px solid var(--light-border-color, #d4dfec); border-radius: 14px; padding: 16px; }
.gi-side h5 { font-weight: 800; font-size: 16px; margin-bottom: 12px; color: var(--primary-color); }
.gi-side a { display: block; padding: 7px 4px; font-size: 14px; color: #24242b; border-bottom: 1px dashed #e6e6ea; }
.gi-side a:hover, .gi-side a.active { color: var(--secondary-color); font-weight: 700; }

.gi-pd { background: #fff; border-radius: 16px; padding: 26px; border: 1px solid var(--light-border-color, #d4dfec); }
.gi-pd-main { border: 1px solid #e6e6ea; border-radius: 14px; padding: 18px; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.gi-pd-main img { max-height: 380px; object-fit: contain; }
.gi-pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.gi-pd-thumbs img { width: 66px; height: 66px; object-fit: contain; border: 1px solid #e6e6ea; border-radius: 8px; padding: 4px; cursor: pointer; }
.gi-pd h1 { font-size: 26px; font-weight: 800; color: var(--primary-color); }
.gi-pd .now { color: var(--secondary-color); font-weight: 900; font-size: 30px; }
.gi-pd .old { color: #6b6b76; text-decoration: line-through; font-size: 18px; margin-right: 10px; }
.gi-qty { display: flex; align-items: center; gap: 8px; }
.gi-qty input { width: 70px; text-align: center; border: 1px solid #e6e6ea; border-radius: 8px; padding: 8px; }
.gi-instock { color: #1a9d54; font-weight: 700; }
.gi-outstock { color: #e23744; font-weight: 700; }
.gi-badge-sale { background: #e23744; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }

.gi-cart-table { background: #fff; border-radius: 14px; border: 1px solid var(--light-border-color, #d4dfec); overflow: hidden; }
.gi-cart-table td, .gi-cart-table th { vertical-align: middle; }
.gi-summary { background: #fff; border-radius: 14px; border: 1px solid var(--light-border-color, #d4dfec); padding: 20px; }
.gi-summary .row-line { display: flex; justify-content: space-between; padding: 8px 0; }
.gi-summary .total { font-weight: 800; font-size: 20px; border-top: 1px solid #e6e6ea; padding-top: 12px; margin-top: 8px; color: var(--primary-color); }

.gi-auth { max-width: 460px; margin: 40px auto; background: #fff; border-radius: 16px; border: 1px solid var(--light-border-color, #d4dfec); padding: 32px; }
.gi-auth h1 { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 22px; color: var(--primary-color); }

.gi-pager { display: flex; gap: 6px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.gi-pager a, .gi-pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e6e6ea; border-radius: 8px; background: #fff; font-weight: 700; font-size: 14px; color: #24242b; text-decoration: none; }
.gi-pager a:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
.gi-pager .active { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }

/* product-card inside plain grid (not swiper) needs full height + margin reset */
.gi-grid .swiper-slide { height: auto; }

/* ===== Home promo banners (#banner-1 / #banner-2) =====
   Show them as a clean, uniform full-width strip with rounded corners and a
   soft shadow — so any image the admin uploads looks tidy instead of blowing
   up to full height. */
#banner-1 img, #banner-2 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(2, 43, 94, .10);
    display: block;
    transition: transform .25s ease, box-shadow .25s ease;
}
#banner-1 a:hover img, #banner-2 a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(2, 43, 94, .16);
}
@media (max-width: 991.98px) { #banner-1 img, #banner-2 img { height: 200px; } }
@media (max-width: 575.98px) { #banner-1 img, #banner-2 img { height: 150px; border-radius: 12px; } }

/* ===== Promo posters slider (#promo-posters) =====
   Force every slide to the same size with a centered crop + white backdrop,
   so mixed-aspect images (framed scenes vs white cut-outs) line up neatly. */
#promo-posters .promo-slider .swiper-slide img,
.cat-promo-slider .swiper-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--light-border-color, #e6e6ea);
    box-shadow: 0 6px 18px rgba(2, 43, 94, .08);
    display: block;
}
@media (max-width: 575.98px) {
    #promo-posters .promo-slider .swiper-slide img,
    .cat-promo-slider .swiper-slide img { height: 200px; }
}

/* ===== Floating quick-action buttons (side, edge-attached tabs) ===== */
.fab-stack {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.fab {
    width: 48px; height: 50px;
    border-radius: 0 14px 14px 0;   /* flat against the edge, rounded on the inner side */
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 23px; text-decoration: none;
    box-shadow: 2px 4px 14px rgba(2, 43, 94, .28);
    transition: width .18s ease, filter .15s ease;
    position: relative;
}
.fab:hover, .fab:focus { width: 58px; color: #fff; filter: brightness(1.08); }
.fab-phone { background: var(--primary-color, #022B5E); }
.fab-wa { background: #25D366; }
.fab-maint { background: var(--secondary-color, #EAA921); }

/* ===== Category promo images (each opens a category) =====
   صورة واحدة = بانر عريض، وأكثر من صورة = سلايدر متحرك (cat-promo-slider). */
.cat-promo-item { display: block; }
.cat-promo-item img {
    width: 100%; height: auto; display: block;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(2, 43, 94, .10);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cat-promo-item:hover img {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(2, 43, 94, .16);
}
/* single image = centered wide banner */
.cat-promo-single { max-width: 1000px; margin: 0 auto; }
/* slider: clip the peek so no horizontal scroll */
.cat-promo-slider { overflow: hidden; }
.cat-promo-slider .swiper-slide { height: auto; }

/* collapsible stack */
.fab-toggle { background: #e23744; border: 0; cursor: pointer; padding: 0; }
.fab-toggle i { transition: transform .22s ease; }
.fab-stack.collapsed .fab-toggle i { transform: rotate(180deg); }
.fab-items {
    display: flex; flex-direction: column; gap: 7px;
    overflow: hidden; max-height: 260px; opacity: 1;
    transition: max-height .28s ease, opacity .2s ease;
}
.fab-stack.collapsed .fab-items { max-height: 0; opacity: 0; pointer-events: none; }
/* hover tooltip (desktop) */
.fab::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%; transform: translateY(-50%);
    background: var(--primary-color, #022B5E); color: #fff;
    font-size: 12px; font-weight: 700; white-space: nowrap;
    padding: 6px 11px; border-radius: 8px;
    opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.fab:hover::after { opacity: 1; }
@media (max-width: 991.98px) {
    .fab { width: 42px; height: 46px; font-size: 20px; }
    .fab:hover, .fab:focus { width: 42px; }
    .fab::after { display: none; }
}

/* ===== Hero video popup + play badge ===== */
.product-card-hero.hero-video { position: relative; }
.hero-play {
    position: absolute; inset: 0; margin: auto;
    width: 68px; height: 68px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(2,43,94,.78); color: #fff; pointer-events: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s ease, background .15s ease;
}
.hero-play svg { width: 30px; height: 30px; margin-inline-start: 3px; }
.product-card-hero.hero-video:hover .hero-play { transform: scale(1.08); background: var(--primary-color, #022B5E); }

.hero-video-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.hero-video-modal.open { display: flex; }
.hvm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.hvm-dialog {
    position: relative; z-index: 1; width: min(960px, 92vw); aspect-ratio: 16 / 9;
    background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.hvm-body, .hvm-body iframe, .hvm-body video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.hvm-close {
    position: absolute; top: 8px; inset-inline-end: 12px; z-index: 2;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.9); color: #111; font-size: 26px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.hvm-close:hover { background: #fff; }
