/* ============================================================
   Al Assaad theme  (homepage_select = alassaad)
   Loaded only when the theme is active; every rule is scoped to
   body.theme-alassaad so other themes are untouched.
   Palette follows Admin > Website Setup > Appearance (base colors)
   through the --primary / --hov-primary / --soft-primary variables.
   ============================================================ */
body.theme-alassaad {
    --aa-green: var(--primary, #1a5c3a);
    --aa-green-dark: var(--hov-primary, #0d3521);
    --aa-green-light: var(--soft-primary, rgba(26, 92, 58, .15));
    --aa-amber: var(--secondary-base, #f5a623);
    --aa-bg: #f8f7f4;
    --aa-bg-2: #f0ede6;
    --aa-border: #e8e6e0;
    --aa-text: #1a1a18;
    --aa-muted: #666666;
    --aa-light: #aaaaaa;
    --aa-r: 14px;
    --aa-r-lg: 20px;
    --aa-r-xl: 24px;
    --aa-shadow: 0 12px 32px rgba(0, 0, 0, .10);
    font-family: 'Sora', 'Public Sans', sans-serif !important;
    background: var(--aa-bg);
    color: var(--aa-text);
}
body.theme-alassaad h1, body.theme-alassaad h2, body.theme-alassaad h3, body.theme-alassaad h4,
body.theme-alassaad h5, body.theme-alassaad h6, body.theme-alassaad .btn, body.theme-alassaad .form-control,
body.theme-alassaad input, body.theme-alassaad select, body.theme-alassaad textarea, body.theme-alassaad button {
    font-family: 'Sora', 'Public Sans', sans-serif;
}
body.theme-alassaad a { transition: color .15s, background-color .15s, border-color .15s; }
body.theme-alassaad .text-primary, body.theme-alassaad .hov-text-primary:hover { color: var(--aa-green) !important; }
body.theme-alassaad .bg-primary { background-color: var(--aa-green) !important; }
body.theme-alassaad .text-blue { color: var(--aa-green) !important; }

/* ---------- Generic controls ---------- */
body.theme-alassaad .btn { border-radius: 12px; font-weight: 600; letter-spacing: 0; }
body.theme-alassaad .btn.rounded-0, body.theme-alassaad .form-control.rounded-0,
body.theme-alassaad .card.rounded-0, body.theme-alassaad .dropdown-menu.rounded-0,
body.theme-alassaad .input-group-text.rounded-0, body.theme-alassaad .rounded-content { border-radius: 12px !important; }
body.theme-alassaad .btn-primary { background: var(--aa-green); border-color: var(--aa-green); color: #fff; }
body.theme-alassaad .btn-primary:hover, body.theme-alassaad .btn-primary:focus, body.theme-alassaad .btn-primary:active {
    background: var(--aa-green-dark) !important; border-color: var(--aa-green-dark) !important; box-shadow: none;
}
body.theme-alassaad .btn-soft-primary { background: var(--aa-green-light); color: var(--aa-green); border-color: transparent; }
body.theme-alassaad .btn-soft-primary:hover { background: var(--aa-green); color: #fff; }
body.theme-alassaad .btn-outline-primary { color: var(--aa-green); border-color: var(--aa-green); }
body.theme-alassaad .btn-outline-primary:hover { background: var(--aa-green); color: #fff; }
body.theme-alassaad .btn-secondary, body.theme-alassaad .btn-dark { border-radius: 12px; }
body.theme-alassaad .btn-circle { border-radius: 999px !important; }
body.theme-alassaad .form-control {
    border: 1.5px solid var(--aa-border); border-radius: 12px; background-color: #faf9f7; color: var(--aa-text);
    transition: border-color .15s, box-shadow .15s;
}
body.theme-alassaad .form-control:focus { border-color: var(--aa-green); box-shadow: 0 0 0 3px var(--aa-green-light); background-color: #fff; }
body.theme-alassaad .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.theme-alassaad .input-group > .input-group-append > .btn, body.theme-alassaad .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; }
body.theme-alassaad .card { border-radius: 16px; border-color: var(--aa-border); }
body.theme-alassaad .card .card-header:first-child { border-radius: 16px 16px 0 0; }
body.theme-alassaad .bg-white.border, body.theme-alassaad .bg-white.shadow-sm, body.theme-alassaad .aiz-card-box { border-radius: 16px; }
body.theme-alassaad .border, body.theme-alassaad .border-top, body.theme-alassaad .border-bottom,
body.theme-alassaad .border-left, body.theme-alassaad .border-right { border-color: var(--aa-border) !important; }
body.theme-alassaad .bg-light { background-color: var(--aa-bg-2) !important; }
body.theme-alassaad .badge { border-radius: 999px; font-weight: 700; }
body.theme-alassaad .dropdown-menu { border-radius: 14px; border-color: var(--aa-border); box-shadow: 0 10px 30px rgba(0, 0, 0, .10); }
body.theme-alassaad .modal-content { border-radius: var(--aa-r-xl); border: none; }
body.theme-alassaad .aiz-radio-inline .aiz-radio-inline-content, body.theme-alassaad .aiz-checkbox span.aiz-square-check { border-radius: 6px; }
body.theme-alassaad .page-item .page-link { border-radius: 10px !important; margin: 0 3px; border-color: var(--aa-border); color: var(--aa-text); }
body.theme-alassaad .page-item.active .page-link { background: var(--aa-green); border-color: var(--aa-green); color: #fff; }
body.theme-alassaad .alert { border-radius: 14px; }
body.theme-alassaad .breadcrumb { background: transparent; }
body.theme-alassaad .nav-tabs .nav-link.active { color: var(--aa-green); border-bottom-color: var(--aa-green); }
body.theme-alassaad .text-secondary-base { color: var(--aa-amber) !important; }

/* ---------- Header ---------- */
body.theme-alassaad .top-navbar { background: var(--aa-bg-2) !important; }
body.theme-alassaad header { background: #fff; box-shadow: 0 1px 12px rgba(0, 0, 0, .07); }
body.theme-alassaad header .logo-bar-area { border-bottom: 0 !important; }
body.theme-alassaad header .header-logo-img { max-height: 48px; }
body.theme-alassaad header .front-header-search .form-control {
    border-radius: 999px !important; height: 46px; padding-left: 20px; background: #faf9f7;
}
body.theme-alassaad header .front-header-search .form-control:focus { background: #fff; }
body.theme-alassaad header .front-header-search .btn, body.theme-alassaad header .front-header-search .input-group-append .btn {
    border-radius: 999px !important; height: 46px; width: 46px; padding: 0; display: flex; align-items: center; justify-content: center;
    background: var(--aa-green); border-color: var(--aa-green); color: #fff;
}
body.theme-alassaad header .front-header-search .input-group { gap: 8px; }
body.theme-alassaad header .front-header-search .input-group > .form-control:not(:last-child) { border-radius: 999px !important; }
body.theme-alassaad header .nav-user-info .avatar { border-radius: 999px; }
body.theme-alassaad header .aiz-user-top-menu, body.theme-alassaad .typed-search-box { border-radius: 16px !important; overflow: hidden; }

/* menu bar (desktop) */
body.theme-alassaad .aa-menubar { background: #fff; border-top: 1px solid var(--aa-border); height: 60px; }
body.theme-alassaad .aa-menubar .aa-cat-btn { background: transparent; }
body.theme-alassaad .aa-menubar .aa-cat-btn > div {
    background: var(--aa-green); border-radius: 12px; margin: 9px 0; height: 42px !important; padding: 0 16px !important;
    display: flex; align-items: center; width: 270px;
}
body.theme-alassaad .aa-menubar .aa-cat-btn > div > div { width: 100%; }
body.theme-alassaad .aa-menubar .aa-cat-btn .fs-16 { font-size: 14px !important; }
body.theme-alassaad .aa-menubar .aa-cat-btn:hover > div { background: var(--aa-green-dark); }
body.theme-alassaad .aa-menubar .header_menu_links {
    border-radius: 999px; padding: 8px 18px !important; margin: 0 2px; font-size: 14px !important; font-weight: 500 !important;
    color: #333 !important; line-height: 1.4;
}
body.theme-alassaad .aa-menubar .header_menu_links:hover { background: var(--aa-bg-2); color: var(--aa-text) !important; }
body.theme-alassaad .aa-menubar .header_menu_links.active { background: var(--aa-green); color: #fff !important; }
body.theme-alassaad .aa-menubar .list-inline-item.animate-underline-white::after,
body.theme-alassaad .aa-menubar .header_menu_links::after { display: none !important; }
body.theme-alassaad .aa-menubar .aa-cart-box { background: transparent; }
body.theme-alassaad .aa-menubar .aa-cart-box .nav-cart-box > a {
    background: var(--aa-green); border-radius: 999px; margin: 9px 0; height: 42px !important; padding: 0 20px !important;
}
body.theme-alassaad .aa-menubar .aa-cart-box .nav-cart-box > a:hover { background: var(--aa-green-dark); }
body.theme-alassaad .aa-menubar .aa-cart-box .nav-cart-box > a svg { width: 20px; height: auto; }
body.theme-alassaad .aa-menubar .hover-category-menu { top: 100% !important; }
body.theme-alassaad .aiz-category-menu { border-radius: 0 0 16px 16px; box-shadow: var(--aa-shadow); border: 1px solid var(--aa-border); }
body.theme-alassaad .aiz-category-menu .category-nav-element > a:hover { color: var(--aa-green) !important; }
body.theme-alassaad .aiz-top-menu-sidebar .collapse-sidebar { background: #fff; }

/* ---------- Home: hero ---------- */
body.theme-alassaad .aa-hero {
    background: linear-gradient(135deg, var(--aa-green-dark) 0%, var(--aa-green) 50%, var(--aa-green-dark) 100%);
    color: #fff; padding: 72px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
body.theme-alassaad .aa-hero::after {
    content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent); pointer-events: none;
}
body.theme-alassaad .aa-hero > .container { position: relative; z-index: 1; }
body.theme-alassaad .aa-hero-tag {
    display: inline-block; background: rgba(255, 255, 255, .12); padding: 6px 20px; border-radius: 999px;
    font-size: 11px; letter-spacing: 4px; font-weight: 700; margin-bottom: 22px; text-transform: uppercase;
}
body.theme-alassaad .aa-hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -2px; line-height: 1.05; margin-bottom: 18px; color: #fff; }
body.theme-alassaad .aa-hero-sub { font-size: 1.1rem; opacity: .85; max-width: 520px; margin: 0 auto 34px; line-height: 1.65; }
body.theme-alassaad .aa-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
body.theme-alassaad .aa-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 36px; border-radius: 14px;
    font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: all .15s;
}
body.theme-alassaad .aa-btn-white { background: #fff; color: var(--aa-green); }
body.theme-alassaad .aa-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); color: var(--aa-green-dark); }
body.theme-alassaad .aa-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
body.theme-alassaad .aa-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
body.theme-alassaad .aa-btn-green { background: var(--aa-green); color: #fff; }
body.theme-alassaad .aa-btn-green:hover { background: var(--aa-green-dark); color: #fff; }
body.theme-alassaad .aa-btn-outline { background: #fff; color: #333; border-color: var(--aa-border); }
body.theme-alassaad .aa-btn-outline:hover { border-color: #aaa; background: var(--aa-bg); color: var(--aa-text); }
body.theme-alassaad .aa-hero-badges { margin-top: 28px; display: flex; justify-content: center; gap: 12px 28px; font-size: 13px; opacity: .8; flex-wrap: wrap; }

/* trust bar */
body.theme-alassaad .aa-trust { background: #fff; border-bottom: 1px solid var(--aa-border); padding: 14px 24px; display: flex; justify-content: center; gap: 16px 48px; flex-wrap: wrap; }
body.theme-alassaad .aa-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #555; font-weight: 500; }

/* sections */
body.theme-alassaad .aa-section { padding: 40px 0 8px; }
body.theme-alassaad .aa-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
body.theme-alassaad .aa-section-tag { font-size: 11px; font-weight: 700; color: var(--aa-green); letter-spacing: 4px; margin-bottom: 6px; text-transform: uppercase; }
body.theme-alassaad .aa-section-title { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -1px; margin: 0; line-height: 1.15; }
body.theme-alassaad .aa-section-actions { display: flex; align-items: center; gap: 6px; }
body.theme-alassaad .aa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--aa-green); font-weight: 600; font-size: 14px; }
body.theme-alassaad .aa-link:hover { color: var(--aa-green-dark); gap: 10px; }
body.theme-alassaad .aa-arrow {
    width: 36px; height: 36px; border-radius: 999px; border: 1.5px solid var(--aa-border); background: #fff; color: #333;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
}
body.theme-alassaad .aa-arrow:hover { border-color: var(--aa-green); color: var(--aa-green); }
body.theme-alassaad .aa-arrow.link-disable { opacity: .35; pointer-events: none; }
body.theme-alassaad .aa-carousel .carousel-box { padding: 6px 10px 14px; }
body.theme-alassaad .aa-carousel .slick-list { margin: 0 -10px; }
body.theme-alassaad .aa-carousel .slick-dots li button::before { color: var(--aa-green); }

/* slider inside hero frame */
body.theme-alassaad .aa-slider { border-radius: var(--aa-r-lg); overflow: hidden; box-shadow: var(--aa-shadow); margin-top: -40px; position: relative; z-index: 2; background: #fff; }
body.theme-alassaad .aa-slider img { width: 100%; object-fit: cover; }

/* category cards */
body.theme-alassaad .aa-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
body.theme-alassaad .aa-cat-card {
    background: #fff; border: 1px solid var(--aa-border); border-radius: var(--aa-r-lg); padding: 20px 16px; text-align: center;
    display: block; color: var(--aa-text); transition: transform .2s, box-shadow .2s, border-color .2s;
}
body.theme-alassaad .aa-cat-card:hover { transform: translateY(-4px); box-shadow: var(--aa-shadow); border-color: var(--aa-green-light); color: var(--aa-text); }
body.theme-alassaad .aa-cat-card img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 12px; display: block; }
body.theme-alassaad .aa-cat-card .aa-cat-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
body.theme-alassaad .aa-cat-card .aa-cat-sub { font-size: 12px; color: var(--aa-muted); margin-top: 4px; }

/* product card */
body.theme-alassaad .aa-card {
    background: #fff; border-radius: var(--aa-r-lg); overflow: hidden; border: 1px solid var(--aa-border);
    display: flex; flex-direction: column; height: 100%; transition: transform .2s, box-shadow .2s; position: relative;
}
body.theme-alassaad .aa-card:hover { transform: translateY(-5px); box-shadow: var(--aa-shadow); }
body.theme-alassaad .aa-card-img { position: relative; height: 190px; overflow: hidden; background: var(--aa-bg-2); }
body.theme-alassaad .aa-card-img > a { display: block; height: 100%; }
body.theme-alassaad .aa-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s; mix-blend-mode: multiply; }
body.theme-alassaad .aa-card:hover .aa-card-img img { transform: scale(1.07); }
body.theme-alassaad .aa-badge { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.3; z-index: 2; }
body.theme-alassaad .aa-badge-stock { right: 10px; }
body.theme-alassaad .aa-badge-disc { left: 10px; background: var(--aa-green); color: #fff; }
body.theme-alassaad .aa-badge-ws { left: 10px; top: 36px; background: #455a64; color: #fff; }
body.theme-alassaad .aa-stock-ok { background: #dcfce7; color: #166534; }
body.theme-alassaad .aa-stock-low { background: #fef3c7; color: #92400e; }
body.theme-alassaad .aa-stock-out { background: #fee2e2; color: #991b1b; }
body.theme-alassaad .aa-card-icons { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: all .2s; z-index: 2; }
body.theme-alassaad .aa-card:hover .aa-card-icons { opacity: 1; transform: none; }
body.theme-alassaad .aa-card-icons a { width: 32px; height: 32px; border-radius: 999px; background: #fff; border: 1px solid var(--aa-border); display: inline-flex; align-items: center; justify-content: center; }
body.theme-alassaad .aa-card-icons a:hover { border-color: var(--aa-green); }
body.theme-alassaad .aa-card-icons a:hover svg path { fill: var(--aa-green); }
body.theme-alassaad .aa-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
body.theme-alassaad .aa-card-cat { font-size: 11px; font-weight: 700; color: var(--aa-green); letter-spacing: 2px; margin-bottom: 5px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.theme-alassaad .aa-card-name { font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; min-height: 38px; }
body.theme-alassaad .aa-card-name a { color: var(--aa-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.theme-alassaad .aa-card-name a:hover { color: var(--aa-green); }
body.theme-alassaad .aa-card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; margin-bottom: 12px; }
body.theme-alassaad .aa-card-price .aa-price { font-size: 22px; font-weight: 800; color: var(--aa-green); letter-spacing: -.5px; }
body.theme-alassaad .aa-card-price del { font-size: 13px; color: var(--aa-light); }
body.theme-alassaad .aa-card-btns { display: flex; gap: 8px; }
body.theme-alassaad .aa-card-btns .aa-btn { flex: 1; padding: 9px 0; font-size: 13px; border-radius: 10px; }
body.theme-alassaad .aa-card-rating .rating { font-size: 11px; }

/* CTA band */
body.theme-alassaad .aa-cta { background: var(--aa-green); color: #fff; padding: 56px 24px; text-align: center; border-radius: var(--aa-r-xl); }
body.theme-alassaad .aa-cta-kicker { font-size: 11px; letter-spacing: 4px; opacity: .7; margin-bottom: 12px; font-weight: 600; text-transform: uppercase; }
body.theme-alassaad .aa-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; color: #fff; }
body.theme-alassaad .aa-cta p { opacity: .85; max-width: 440px; margin: 0 auto 26px; line-height: 1.65; }

/* today's deal */
body.theme-alassaad .aa-deal { background: var(--aa-green-dark); border-radius: var(--aa-r-xl); padding: 28px 28px 20px; color: #fff; }
body.theme-alassaad .aa-deal .aa-section-tag { color: var(--aa-amber); }
body.theme-alassaad .aa-deal .aa-section-title, body.theme-alassaad .aa-deal .aa-link { color: #fff; }
body.theme-alassaad .aa-deal .aa-arrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
body.theme-alassaad .aa-deal-item { display: block; background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 14px; text-align: center; color: #fff; transition: background .15s; height: 100%; }
body.theme-alassaad .aa-deal-item:hover { background: rgba(255, 255, 255, .12); color: #fff; }
body.theme-alassaad .aa-deal-item img { width: 100%; height: 110px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 10px; }
body.theme-alassaad .aa-deal-item .aa-deal-name { font-size: 12px; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; }
body.theme-alassaad .aa-deal-item .aa-deal-price { font-weight: 800; font-size: 16px; margin-top: 6px; color: var(--aa-amber); }
body.theme-alassaad .aa-deal-item del { font-size: 12px; opacity: .6; margin-left: 6px; color: #fff; }

/* home categories (category wise products) */
body.theme-alassaad .aa-homecat-banner { display: block; position: relative; border-radius: var(--aa-r-lg); overflow: hidden; height: 100%; min-height: 220px; }
body.theme-alassaad .aa-homecat-banner img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
body.theme-alassaad .aa-homecat-banner:hover img { transform: scale(1.05); }
body.theme-alassaad .aa-homecat-banner span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 20px; background: linear-gradient(to top, rgba(13, 53, 33, .92), transparent); color: #fff; font-weight: 800; font-size: 18px; }

/* brands & sellers & legacy blocks softened */
body.theme-alassaad .aa-soft .bg-white { border-radius: 16px; }
body.theme-alassaad .aa-brand { background: #fff; border: 1px solid var(--aa-border); border-radius: 16px; padding: 18px 12px; text-align: center; display: block; height: 100%; transition: all .2s; }
body.theme-alassaad .aa-brand:hover { box-shadow: var(--aa-shadow); transform: translateY(-3px); }
body.theme-alassaad .aa-brand img { height: 56px; object-fit: contain; width: auto; max-width: 100%; margin: 0 auto 10px; display: block; }
body.theme-alassaad .aa-brand p { margin: 0; font-size: 13px; font-weight: 700; color: var(--aa-text); }
body.theme-alassaad .aa-banner img { border-radius: var(--aa-r-lg); }
body.theme-alassaad .aa-banner .aiz-carousel, body.theme-alassaad .aa-banner .hov-scale-img { border-radius: var(--aa-r-lg); overflow: hidden; }
body.theme-alassaad #flash_deal .flash-deals-baner > a > div { border-radius: var(--aa-r-lg); overflow: hidden; }
body.theme-alassaad #flash_deal .aiz-carousel { border: 0 !important; }
body.theme-alassaad #flash_deal .carousel-box { border: 0 !important; padding: 6px; }
body.theme-alassaad #flash_deal .flash-deal-item { background: #fff; border-radius: 16px; border: 1px solid var(--aa-border); padding: 8px; }

/* ---------- Product listing / search ---------- */
body.theme-alassaad .aiz-filter-sidebar .bg-white.border { border-radius: 16px !important; }
body.theme-alassaad .aiz-filter-sidebar .filter-section { font-weight: 700; }
body.theme-alassaad .aiz-filter-sidebar .aiz-checkbox span.aiz-square-check { border-radius: 5px; }
body.theme-alassaad .product-search-results .aiz-card-box, body.theme-alassaad .search-content .aiz-card-box { border-radius: 16px; }
body.theme-alassaad .hov-animate-outline::after, body.theme-alassaad .hov-animate-outline::before { display: none; }
body.theme-alassaad .carousel-box.border-right, body.theme-alassaad .carousel-box.border-top, body.theme-alassaad .carousel-box.border-bottom, body.theme-alassaad .carousel-box.border-left { border: 0 !important; }
body.theme-alassaad .col.border-right, body.theme-alassaad .col.border-bottom, body.theme-alassaad .row.border-top, body.theme-alassaad .row.border-left, body.theme-alassaad .row.border-right { border: 0 !important; }
body.theme-alassaad .col-xl-4.border-left.border-bottom { border: 0 !important; }

/* ---------- Product details ---------- */
body.theme-alassaad .product-gallery, body.theme-alassaad .product-gallery-thumb .carousel-box img, body.theme-alassaad .aiz-carousel.product-gallery img { border-radius: 16px; }
body.theme-alassaad .product-gallery-thumb .carousel-box { border-radius: 12px; overflow: hidden; }
body.theme-alassaad .product-gallery-thumb .carousel-box.slick-current img { border: 2px solid var(--aa-green) !important; }
body.theme-alassaad .product-description-details, body.theme-alassaad #section_details .bg-white.border, body.theme-alassaad .bg-white.mb-3.border { border-radius: 16px; }
body.theme-alassaad .btn-group.product_quantity .btn, body.theme-alassaad .product-quantity .btn { border-radius: 999px !important; }
body.theme-alassaad .buy-now, body.theme-alassaad .add-to-cart { border-radius: 12px !important; }
body.theme-alassaad .aiz-radio-inline input:checked + .aiz-radio-inline-content, body.theme-alassaad .aiz-radio-inline input:checked + span { border-color: var(--aa-green) !important; color: var(--aa-green); }
body.theme-alassaad .nav-tabs.product-details-tab .nav-link.active { color: var(--aa-green); border-color: var(--aa-green); }

/* ---------- Cart / checkout / user panel / auth ---------- */
body.theme-alassaad .aiz-checkout-steps .step, body.theme-alassaad .checkout-steps .step { border-radius: 999px; }
body.theme-alassaad .cart-shipping-info .card, body.theme-alassaad #cart_summary .card, body.theme-alassaad .aiz-card { border-radius: 16px; }
body.theme-alassaad .aiz-main-wrapper .aiz-user-panel, body.theme-alassaad .aiz-user-panel .card { border-radius: 16px; }
body.theme-alassaad .aiz-user-sidenav-wrap .aiz-user-sidenav { border-radius: 16px; }
body.theme-alassaad .aiz-user-sidenav .aiz-side-nav-link.active { color: var(--aa-green); }
body.theme-alassaad .aiz-user-sidenav .aiz-side-nav-link.active .aiz-side-nav-icon { color: var(--aa-green); }
body.theme-alassaad .right-content, body.theme-alassaad .auth-card { border-radius: 0 20px 20px 0 !important; }
body.theme-alassaad .aiz-main-wrapper.bg-white { background: var(--aa-bg) !important; }
body.theme-alassaad .aiz-main-wrapper .card.shadow-none.rounded-0 { border-radius: 20px !important; overflow: hidden; box-shadow: 0 4px 48px rgba(0, 0, 0, .08) !important; background: #fff; }
body.theme-alassaad .table thead th { border-top: 0; font-size: 12px; letter-spacing: .5px; color: #555; background: var(--aa-bg); }
body.theme-alassaad .aiz-pagination .page-link { border-radius: 10px !important; }

/* ---------- Footer ---------- */
body.theme-alassaad [data-aa="dark"] { background-color: var(--aa-green-dark) !important; border-color: rgba(255, 255, 255, .12) !important; }
body.theme-alassaad .aa-footer-darker, body.theme-alassaad .aiz-accordion-heading.aa-footer-darker { background-color: #09261a !important; }
body.theme-alassaad .footer-widget .text-secondary { color: rgba(255, 255, 255, .55) !important; }
body.theme-alassaad .footer-widget .text-soft-light, body.theme-alassaad .footer-widget .text-soft-light:hover { color: rgba(255, 255, 255, .85) !important; }
body.theme-alassaad .footer-widget h4, body.theme-alassaad .footer-widget h5 { color: #fff !important; letter-spacing: 2px; }
body.theme-alassaad .footer-widget .form-control { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .2) !important; color: #fff; border-radius: 12px !important; }
body.theme-alassaad .footer-widget .btn-primary.rounded-0 { border-radius: 12px !important; }
body.theme-alassaad .footer-widget .social-icons a, body.theme-alassaad .footer-widget .list-inline-item a { border-radius: 999px; }
body.theme-alassaad .footer-widget .hov-text-primary:hover { color: var(--aa-amber) !important; }
body.theme-alassaad .aiz-accordion { font-weight: 600; }
body.theme-alassaad .aa-wa-float {
    position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 999px; background: #25D366;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, .5); z-index: 1030; transition: transform .2s;
}
body.theme-alassaad .aa-wa-float:hover { transform: scale(1.1); }
body.theme-alassaad .floating-buttons-section { bottom: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    body.theme-alassaad .aa-hero { padding: 52px 20px 60px; }
    body.theme-alassaad .aa-section { padding: 28px 0 4px; }
    body.theme-alassaad .aa-slider { margin-top: -28px; }
    body.theme-alassaad .aa-card-img { height: 160px; }
    body.theme-alassaad .aa-cta { padding: 40px 20px; border-radius: 18px; }
    body.theme-alassaad .aa-deal { padding: 20px 16px 14px; border-radius: 18px; }
}
@media (max-width: 575px) {
    body.theme-alassaad .aa-hero-title { letter-spacing: -1px; }
    body.theme-alassaad .aa-trust { gap: 10px 22px; padding: 12px 16px; }
    body.theme-alassaad .aa-trust span { font-size: 12.5px; }
    body.theme-alassaad .aa-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    body.theme-alassaad .aa-card-img { height: 140px; }
    body.theme-alassaad .aa-card-body { padding: 12px; }
    body.theme-alassaad .aa-card-price .aa-price { font-size: 18px; }
    body.theme-alassaad .aa-card-btns { flex-direction: column; }
    body.theme-alassaad .aa-section-head { margin-bottom: 16px; }
    body.theme-alassaad .aa-btn { padding: 12px 24px; font-size: 14px; }
    body.theme-alassaad .aa-wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* auth pages: remove the white band around the boxed card, keep the back link inside the card */
body.theme-alassaad .aiz-main-wrapper section.bg-white { background: transparent !important; }
body.theme-alassaad .aiz-main-wrapper .card.shadow-none.rounded-0 .text-right { padding-right: 1rem; }

/* the AIZ quick-link floating buttons overlap the centered hero on phones; the mobile menu already has these links */
@media (max-width: 767px) {
    body.theme-alassaad .floating-buttons-section { display: none; }
}

/* logo on dark footer */
body.theme-alassaad .footer-logo-img { background: #fff; padding: 8px 12px; border-radius: 12px; max-height: 70px; width: auto; }

/* narrow cards (dense carousels such as "Last Viewed Products"): stack the two buttons */
body.theme-alassaad .aa-card { container-type: inline-size; }
@container (max-width: 240px) {
    body.theme-alassaad .aa-card-btns { flex-direction: column; }
    body.theme-alassaad .aa-card-img { height: 150px; }
}

/* flash deal: keep the banner clean, show the countdown above the product strip on every screen size */
body.theme-alassaad #flash_deal .flash-deals-baner .py-5 { display: none !important; }
body.theme-alassaad #flash_deal .aiz-count-down-circle { padding: 10px 0; }
body.theme-alassaad #flash_deal .bg-white.mb-3.d-md-none { display: block !important; border-radius: 14px; border: 1px solid var(--aa-border); margin-bottom: 14px !important; }
body.theme-alassaad #flash_deal .flash-deals-baner > a, body.theme-alassaad #flash_deal .flash-deals-baner > a > div { display: block; height: 100%; }
@media (max-width: 767px) {
    /* phones: banner on top at full width, product strip below it */
    body.theme-alassaad #flash_deal .flash-deals-baner { flex: 0 0 100%; max-width: 100%; height: 190px !important; margin-bottom: 12px; }
    body.theme-alassaad #flash_deal .flash-deals-baner + .col-6 { flex: 0 0 100%; max-width: 100%; }
}

/* flash deal details page: countdown as a pill at the bottom of the banner instead of over its text */
body.theme-alassaad .sticky-top-lg > .h-100[style*="background-image"] { border-radius: var(--aa-r-lg); overflow: hidden; display: flex; align-items: flex-end; }
body.theme-alassaad .sticky-top-lg > .h-100[style*="background-image"] > .py-5 { width: 100%; padding: 16px !important; }
body.theme-alassaad .sticky-top-lg > .h-100[style*="background-image"] .bg-white { border-radius: 14px; }
body.theme-alassaad .flash-deal-details .aiz-card-box { border-radius: 16px; }

/* ---------- Theme pages: services / about / contact ---------- */
body.theme-alassaad .aa-page-head { padding: 44px 0 28px; }
body.theme-alassaad .aa-page-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; margin: 0 0 10px; }
body.theme-alassaad .aa-page-sub { color: var(--aa-muted); font-size: 16px; max-width: 640px; margin: 0 auto; }
body.theme-alassaad .aa-page-head-left .aa-page-sub { margin: 0; }
body.theme-alassaad .aa-service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
body.theme-alassaad .aa-service-card { background: #fff; border-radius: var(--aa-r-lg); border: 1px solid var(--aa-border); padding: 30px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
body.theme-alassaad .aa-service-card:hover { transform: translateY(-4px); box-shadow: var(--aa-shadow); }
body.theme-alassaad .aa-service-emoji { font-size: 40px; line-height: 1; margin-bottom: 14px; }
body.theme-alassaad .aa-service-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
body.theme-alassaad .aa-service-title { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -.3px; }
body.theme-alassaad .aa-service-price { font-weight: 700; color: var(--aa-green); font-size: 14px; white-space: nowrap; }
body.theme-alassaad .aa-service-time { color: var(--aa-muted); font-size: 12px; white-space: nowrap; }
body.theme-alassaad .aa-service-desc { color: var(--aa-muted); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 20px; }
body.theme-alassaad .aa-article { max-width: 860px; font-size: 16px; line-height: 1.8; color: #444; }
body.theme-alassaad .aa-article-about p { font-size: 17px; }
body.theme-alassaad .aa-article h2, body.theme-alassaad .aa-article h3 { font-weight: 800; letter-spacing: -.5px; margin: 18px 0 10px; }
body.theme-alassaad .aa-article img { border-radius: var(--aa-r-lg); max-width: 100%; height: auto; }
body.theme-alassaad .aa-article ul { padding-left: 20px; }
body.theme-alassaad .aa-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: 32px; max-width: 860px; }
body.theme-alassaad .aa-stat-box { background: #fff; border-radius: 16px; padding: 24px 20px; border: 1px solid var(--aa-border); text-align: center; }
body.theme-alassaad .aa-stat-icon { font-size: 36px; line-height: 1; margin-bottom: 10px; }
body.theme-alassaad .aa-stat-value { font-weight: 800; font-size: 22px; color: var(--aa-green); letter-spacing: -.5px; }
body.theme-alassaad .aa-stat-desc { font-size: 13px; color: var(--aa-muted); margin-top: 4px; }
body.theme-alassaad .aa-contact-card { background: #fff; border: 1px solid var(--aa-border); border-radius: var(--aa-r-lg); padding: 28px; }
body.theme-alassaad .aa-contact-title { font-weight: 700; font-size: 18px; margin: 0 0 20px; }
body.theme-alassaad .aa-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
body.theme-alassaad .aa-contact-ico { font-size: 18px; line-height: 1.3; }
body.theme-alassaad .aa-contact-card .form-group label { color: #444; }
body.theme-alassaad .aa-wa-card { background: var(--aa-green); color: #fff; border-radius: var(--aa-r-lg); padding: 28px; }
body.theme-alassaad .aa-wa-card-ico { font-size: 48px; line-height: 1; margin-bottom: 12px; }
body.theme-alassaad .aa-wa-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: #fff; }
body.theme-alassaad .aa-wa-card p { opacity: .85; line-height: 1.6; margin-bottom: 20px; }
body.theme-alassaad .aa-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
body.theme-alassaad .aa-share-btn { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
body.theme-alassaad .aa-btn.w-100 { width: 100%; }
@media (max-width: 575px) {
    body.theme-alassaad .aa-page-head { padding: 28px 0 18px; }
    body.theme-alassaad .aa-service-card { padding: 22px; }
    body.theme-alassaad .aa-contact-card, body.theme-alassaad .aa-wa-card { padding: 20px; }
}

/* menubar: fit six links next to the categories button and cart at 1366px, let them wrap on narrower laptops */
body.theme-alassaad .aa-menubar { height: auto; min-height: 60px; }
body.theme-alassaad .aa-menubar .aa-cat-btn > div { width: 230px; }
body.theme-alassaad .aa-menubar .header_menu_links { padding: 7px 14px !important; font-size: 13.5px !important; margin: 0 1px; }
body.theme-alassaad .aa-menubar .header_menu_links.active { background: var(--aa-green) !important; color: #fff !important; }
body.theme-alassaad .aa-menubar .hor-swipe { white-space: normal; overflow: visible; }
body.theme-alassaad .aa-menubar .list-inline-item { margin-bottom: 0; }
body.theme-alassaad .aa-menubar .ml-xl-4.w-100.overflow-hidden { overflow: visible !important; }
