/*
Theme Name: Astra Child - Abu Al-Dahab Store | أبوالدهب استور
Theme URI: https://abualdahab.3boxadv.tech
Description: القالب المخصص الرسمي لمتجر أبوالدهب استور للأجهزة الكهربائية والإلكترونية. تصميم فائق الاحترافية مستوحى من منصات التجزئة الكبرى في مصر (مثل راية شوب)، بهوية بصرية متميزة تعتمد على الأحمر والرمادي والأبيض، ومتجاوب مع جميع الشاشات.
Author: Abu Al-Dahab Store Development Team
Author URI: https://abualdahab.3boxadv.tech
Template: astra
Version: 1.0.6
Text Domain: astra-child-abualdahab
*/

:root {
    --dahab-red: #c4122f;
    --dahab-red-hover: #a50e26;
    --dahab-red-light: #fef2f2;
    --dahab-gray-dark: #1e293b;
    --dahab-gray-mid: #475569;
    --dahab-gray-light: #f8fafc;
    --dahab-border: #e2e8f0;
    --dahab-gold: #f59e0b;
    --dahab-white: #ffffff;
    --dahab-font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
}

body, button, input, select, textarea, .ast-button {
    font-family: var(--dahab-font-ar) !important;
    direction: rtl;
    text-align: right;
    color: var(--dahab-gray-dark);
}

/* Header Top Announcement Bar */
.dahab-top-bar {
    background: var(--dahab-gray-dark);
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--dahab-red);
}

.dahab-top-bar .ast-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dahab-top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s ease;
}

.dahab-top-bar a:hover {
    color: var(--dahab-red);
}

.dahab-top-bar .facebook-link {
    color: #60a5fa !important;
    font-weight: 600;
}

/* Main Navigation and Header */
.dahab-header-main {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.dahab-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dahab-logo-wrap img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.dahab-logo-wrap img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .dahab-logo-wrap img {
        height: 42px !important;
    }
}

/* Live Search Bar */
.dahab-search-container {
    flex-grow: 1;
    max-width: 580px;
    position: relative;
}

.dahab-search-form {
    display: flex;
    align-items: center;
    border: 2px solid var(--dahab-red);
    border-radius: 25px;
    overflow: hidden;
    background: #ffffff;
}

.dahab-search-form input[type="search"] {
    border: none !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    flex-grow: 1 !important;
    outline: none !important;
    box-shadow: none !important;
    height: 42px !important;
}

.dahab-search-form button {
    background: var(--dahab-red) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 22px !important;
    height: 42px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dahab-search-form button:hover {
    background: var(--dahab-red-hover) !important;
}

/* Quick User Actions */
.dahab-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dahab-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dahab-gray-dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.dahab-action-item:hover {
    color: var(--dahab-red);
}

.dahab-cart-count {
    background: var(--dahab-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
}

/* Category Navbar (Raya Shop Style) */
.dahab-category-nav {
    background: var(--dahab-red);
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dahab-cat-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.dahab-cat-menu > li {
    margin: 0;
}

.dahab-cat-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.dahab-cat-menu > li > a:hover {
    background: var(--dahab-red-hover);
    color: #ffffff;
}

.dahab-cat-menu > li.highlight-deal > a {
    background: #1e293b;
    color: #fde047;
}

.dahab-cat-menu > li.highlight-deal > a:hover {
    background: #0f172a;
}

/* Hero Section */
.dahab-hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 40px 0 50px;
    position: relative;
    overflow: hidden;
}

.dahab-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

@media(max-width:850px) {
    .dahab-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.dahab-hero-badge {
    display: inline-block;
    background: var(--dahab-red);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dahab-hero-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.dahab-hero-title span {
    color: #f87171;
}

.dahab-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.7;
}

.dahab-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dahab-red);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(196,18,47,0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.dahab-hero-cta:hover {
    background: var(--dahab-red-hover);
    transform: translateY(-2px);
}

.dahab-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dahab-feature-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 16px;
    backdrop-filter: blur(5px);
}

.dahab-feature-card .feat-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.dahab-feature-card h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 700;
}

.dahab-feature-card p {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

/* Section Title Block */
.dahab-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.dahab-section-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 90px;
    height: 2px;
    background: var(--dahab-red);
}

.dahab-section-heading h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--dahab-gray-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dahab-section-heading a {
    color: var(--dahab-red);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Product Card Styling (Raya Shop style) */
ul.products li.product {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px !important;
    text-align: right !important;
    transition: all 0.25s ease;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative;
    overflow: hidden;
}

ul.products li.product:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    transform: translateY(-4px);
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: var(--dahab-gray-dark) !important;
    margin: 10px 0 6px !important;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--dahab-red) !important;
    margin-bottom: 12px !important;
    display: block;
}

ul.products li.product .price del {
    font-size: 13px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-left: 6px;
}

ul.products li.product .price ins {
    text-decoration: none;
}

ul.products li.product .button {
    background: var(--dahab-red) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: auto !important;
    transition: background 0.2s ease !important;
}

ul.products li.product .button:hover {
    background: var(--dahab-red-hover) !important;
}

/* Brands Strip */
.dahab-brands-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}

.brand-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 800;
    font-size: 15px;
    color: #334155;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Footer Styling */
.dahab-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 4px solid var(--dahab-red);
}

.dahab-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media(max-width:900px) {
    .dahab-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {
    .dahab-footer-grid {
        grid-template-columns: 1fr;
    }
}

.dahab-footer h4 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.dahab-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--dahab-red);
}

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

.dahab-footer ul li {
    margin-bottom: 10px;
}

.dahab-footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.dahab-footer ul li a:hover {
    color: #ffffff;
    padding-right: 4px;
}

.dahab-footer-payments {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 15px;
}

.dahab-footer-payments img {
    height: 32px;
    width: auto;
    background: #ffffff;
    border-radius: 4px;
    padding: 2px 6px;
}

.dahab-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================================================
   Astra Default Elements Suppression (Use Exclusive Abu Al-Dahab Layout)
   ========================================================================== */
.main-header-bar,
.ast-primary-header-bar,
.ast-main-header-wrap,
.ast-mobile-header-wrap,
.ast-mobile-header-content,
.ast-below-header-bar,
.ast-above-header-bar,
.ast-site-header-cart,
.site-header .main-navigation,
.ast-header-break-point .main-header-bar {
    display: none !important;
}

.ast-footer-copyright,
.ast-small-footer,
.site-footer .ast-small-footer-wrap,
.ast-builder-footer-grid-columns {
    display: none !important;
}

/* ==========================================================================
   Homepage Vertical Flow & Full-Width Grid Layout Fix
   ========================================================================== */
body.home .site-content > .ast-container,
body.front-page .site-content > .ast-container,
.site-content > .ast-container:has(.dahab-homepage) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#primary.dahab-homepage {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.dahab-main-container {
    width: 100% !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
}

.dahab-homepage section {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 45px !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Promo Banner Horizontal Flow */
.dahab-promo-banner {
    background: linear-gradient(90deg, #c4122f 0%, #830a1e 100%) !important;
    border-radius: 14px !important;
    padding: 30px 40px !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    margin: 45px 0 !important;
}

.dahab-promo-banner .promo-tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.dahab-promo-banner h3 {
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 6px;
    font-weight: 800;
}

.dahab-promo-banner p {
    margin: 0;
    color: #fecaca;
    font-size: 14px;
}

.dahab-promo-banner .promo-btn {
    background: #ffffff !important;
    color: #c4122f !important;
    padding: 12px 28px !important;
    font-weight: 800 !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Why Shop Strip */
.dahab-about-strip {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 40px 30px !important;
    margin-bottom: 50px !important;
    box-sizing: border-box !important;
}

.dahab-about-strip .about-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.dahab-about-logo {
    max-height: 110px;
    width: auto;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

.dahab-about-strip h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 800;
}

.dahab-about-strip p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 22px;
}

.dahab-about-strip .about-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dahab-about-strip .fb-btn {
    background: #1877F2 !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
}

/* WooCommerce Products 4-Column Grid Enforcement */
.dahab-homepage .woocommerce,
.dahab-homepage ul.products {
    display: block !important;
    width: 100% !important;
    clear: both !important;
}

.dahab-homepage ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 25px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .dahab-homepage ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .dahab-homepage ul.products {
        grid-template-columns: 1fr !important;
    }
}

.dahab-homepage ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* 8-Item Visual Categories Horizontal Strip (Raya Shop Style) */
.dahab-visual-categories-strip {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 22px 20px;
    margin: 30px 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.dahab-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.dahab-strip-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #1e293b;
}

.dahab-strip-header a {
    color: var(--dahab-red);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.dahab-categories-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    text-align: center;
}

@media (max-width: 991px) {
    .dahab-categories-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 550px) {
    .dahab-categories-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.cat-strip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 6px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.cat-strip-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.cat-strip-img {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.25s ease;
}

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

.cat-strip-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.cat-strip-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0c2340;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.cat-strip-card:hover .cat-strip-title {
    color: var(--dahab-red);
}

/* Hero Section Lifestyle Visual & Actions */
.dahab-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.dahab-hero-cta.cta-primary {
    background: var(--dahab-red);
}

.dahab-hero-cta.cta-secondary {
    background: #1e293b;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.dahab-hero-cta.cta-secondary:hover {
    background: #0f172a;
}

.dahab-hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-pill-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dahab-hero-visual-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dahab-hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.15);
    max-width: 440px;
    width: 100%;
}

.dahab-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-visual-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(196, 18, 47, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    text-align: right;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-visual-badge strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.hero-visual-badge span {
    font-size: 11px;
    color: #fef08a;
    font-weight: 700;
}

/* Reference Product Cards Enhancements */
.dahab-card-wishlist {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 5;
    line-height: 1;
}

.dahab-card-wishlist:hover {
    color: var(--dahab-red);
    transform: scale(1.2);
}

.dahab-certified-badge {
    background: #0c2340;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 6px 0;
    width: fit-content;
}

.dahab-certified-badge strong {
    color: #f87171;
}

.dahab-card-perk {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #16a34a;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.dahab-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.dahab-discount-pill {
    background: #fef2f2;
    color: #c4122f;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11.5px;
    font-weight: 800;
}

ul.products li.product .price ins {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0c2340 !important;
    text-decoration: none;
}

ul.products li.product .price del {
    font-size: 13px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    display: block;
}

ul.products li.product .button {
    background: var(--dahab-red) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: auto !important;
    box-shadow: 0 4px 10px rgba(196,18,47,0.25) !important;
    transition: all 0.2s ease !important;
}

ul.products li.product .button:hover {
    background: #0c2340 !important;
    box-shadow: 0 4px 14px rgba(12,35,64,0.3) !important;
    transform: translateY(-2px);
}

/* ============================================================
   1. SUPPRESS DUPLICATE ASTRA BADGES & OVERLAPPING ICONS
   ============================================================ */
ul.products li.product span.onsale,
ul.products li.product .onsale,
.single-product span.onsale,
.ast-onsale-card,
.ast-woo-card-actions,
.ast-quick-view-trigger {
    display: none !important;
}

/* Ensure clean display of product photos */
ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
}

ul.products li.product .woocommerce-loop-product__link img {
    height: 180px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 10px auto !important;
    display: block !important;
    transition: transform 0.25s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.05) !important;
}

/* ============================================================
   2. COMPLETE MOBILE RESPONSIVE SYSTEM (FIX SQUISHED/BROKEN MOBILE)
   ============================================================ */

@media (max-width: 768px) {
    /* Top Bar on Mobile */
    .dahab-top-bar {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    .dahab-top-bar .ast-container {
        justify-content: center !important;
    }
    .dahab-top-bar .top-left {
        width: 100% !important;
        text-align: center !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .dahab-top-bar .top-right {
        display: none !important;
    }

    /* Main Header on Mobile: 2-Row Clean Layout */
    .dahab-header-main {
        padding: 10px 0 !important;
    }
    .dahab-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .dahab-logo-wrap {
        order: 1 !important;
        flex: 0 0 auto !important;
    }
    .dahab-logo-wrap img {
        height: 44px !important;
        max-width: 165px !important;
        width: auto !important;
        display: block !important;
    }
    .dahab-header-actions {
        order: 2 !important;
        gap: 14px !important;
    }
    .dahab-action-item div {
        display: none !important; /* Hide 'حسابي' / 'سلة المشتريات' text on mobile, keep clean touch icons */
    }
    .dahab-action-item span {
        font-size: 22px !important;
    }
    .dahab-search-container {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 6px !important;
    }
    .dahab-search-form {
        width: 100% !important;
        height: 40px !important;
        border-radius: 25px !important;
    }
    .dahab-search-form input[type="search"] {
        height: 40px !important;
        font-size: 13px !important;
        padding: 6px 14px !important;
    }
    .dahab-search-form button {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 13px !important;
    }

    /* Category Navigation on Mobile: Smooth Horizontal Swipe Strip */
    .dahab-category-nav {
        padding: 6px 0 !important;
        background: var(--dahab-red) !important;
    }
    .dahab-cat-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        padding: 2px 10px !important;
        margin: 0 !important;
    }
    .dahab-cat-menu::-webkit-scrollbar {
        display: none !important;
    }
    .dahab-cat-menu > li {
        flex: 0 0 auto !important;
        display: inline-block !important;
    }
    .dahab-cat-menu > li > a {
        padding: 6px 14px !important;
        font-size: 12.5px !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        white-space: nowrap !important;
    }
    .dahab-cat-menu > li.highlight-deal > a {
        background: #1e293b !important;
        color: #fde047 !important;
    }

    /* Hero Section on Mobile */
    .dahab-hero-section {
        padding: 16px 0 25px !important;
    }
    .dahab-hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .dahab-hero-visual-wrap {
        order: 1 !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
    }
    .dahab-hero-visual {
        border-radius: 14px !important;
        overflow: hidden !important;
        border: 2px solid rgba(255,255,255,0.2) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    }
    .dahab-hero-visual img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .hero-visual-badge {
        display: none !important;
    }
    .dahab-hero-content {
        order: 2 !important;
    }
    .dahab-hero-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin-bottom: 8px !important;
    }
    .dahab-hero-title {
        font-size: 20px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    .dahab-hero-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
        color: #cbd5e1 !important;
        padding: 0 6px !important;
    }
    .dahab-hero-actions {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    .dahab-hero-cta {
        width: 100% !important;
        max-width: 290px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        justify-content: center !important;
    }
    .dahab-hero-trust-bar {
        justify-content: center !important;
        gap: 6px !important;
    }
    .trust-pill-item {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    /* 8-Item Visual Categories Horizontal Strip on Mobile */
    .dahab-visual-categories-strip {
        padding: 14px 10px !important;
        margin: 15px 0 25px !important;
        border-radius: 12px !important;
    }
    .dahab-strip-header {
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
    }
    .dahab-strip-header h3 {
        font-size: 15px !important;
    }
    .dahab-categories-row {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 10px !important;
        padding-bottom: 6px !important;
    }
    .dahab-categories-row::-webkit-scrollbar {
        display: none !important;
    }
    .cat-strip-card {
        flex: 0 0 85px !important;
        padding: 8px 4px !important;
        background: #f8fafc !important;
    }
    .cat-strip-img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 6px !important;
    }
    .cat-strip-title {
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* 2-Column Product Grid on Mobile */
    .dahab-homepage ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 15px 0 !important;
    }
    ul.products li.product {
        padding: 10px !important;
        border-radius: 10px !important;
    }
    ul.products li.product .woocommerce-loop-product__link img {
        height: 125px !important;
        margin: 6px auto !important;
    }
    ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 34px !important;
        line-height: 1.4 !important;
        margin: 6px 0 !important;
    }
    ul.products li.product .price {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    ul.products li.product .price ins {
        font-size: 15px !important;
    }
    ul.products li.product .price del {
        font-size: 11.5px !important;
    }
    .dahab-discount-pill {
        font-size: 10px !important;
        padding: 1px 5px !important;
    }
    .dahab-certified-badge {
        font-size: 9.5px !important;
        padding: 2px 5px !important;
        margin: 4px 0 !important;
    }
    .dahab-card-perk {
        font-size: 10px !important;
        margin-bottom: 8px !important;
    }
    ul.products li.product .button {
        font-size: 11.5px !important;
        padding: 7px 8px !important;
        border-radius: 20px !important;
    }
    .dahab-card-wishlist {
        top: 6px !important;
        right: 8px !important;
        font-size: 16px !important;
    }
}


