/* Wadood storefront redesign — navbar, product cards, categories + Cairo */

:root {
    --wd-ink: #12141a;
    --wd-muted: #6b7280;
    --wd-line: rgba(18, 20, 26, 0.08);
    --wd-surface: #ffffff;
    --wd-soft: #f6f7f9;
    --wd-radius: 18px;
    --wd-radius-sm: 12px;
    --wd-shadow: 0 10px 30px rgba(18, 20, 26, 0.06);
    --wd-shadow-hover: 0 16px 40px rgba(18, 20, 26, 0.1);
}

/* Price: number slightly larger than currency (kept balanced) */
.wd-amount {
    font-size: 1.12em;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.wd-currency {
    font-size: 0.82em;
    font-weight: 700;
    color: #e11d48 !important;
    opacity: 1;
    margin-inline: 0.15em;
    vertical-align: baseline;
}

/* Discount badges: white currency for contrast on primary bg */
.wd-badge-discount .wd-currency,
.wd-hcard__discount .wd-currency,
.wd-deal-spotlight__discount .wd-currency,
.for-discount-value .wd-currency {
    color: #fff !important;
    font-size: 0.95em;
    font-weight: 800;
}

.wd-badge-discount .wd-amount,
.wd-hcard__discount .wd-amount,
.wd-deal-spotlight__discount .wd-amount,
.for-discount-value .wd-amount {
    color: #fff;
    font-size: 1.15em;
}

/* Old / struck price: centered line + gray currency */
del.wd-price-old,
del.wd-hcard__price-old,
del.wd-deal-spotlight__price-old,
del.wd-deal-day__price-old,
.wd-price-old,
.wd-hcard__price-old {
    text-decoration: none !important;
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    color: #9ca3af !important;
    line-height: 1.1;
}

del.wd-price-old::after,
del.wd-hcard__price-old::after,
del.wd-deal-spotlight__price-old::after,
del.wd-deal-day__price-old::after,
.wd-price-old::after,
.wd-hcard__price-old::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    background: currentColor;
    transform: translateY(-50%);
    pointer-events: none;
}

.wd-price-old .wd-amount,
.wd-hcard__price-old .wd-amount,
.wd-deal-spotlight__price-old .wd-amount,
del .wd-amount {
    font-size: 1em;
    font-weight: 500;
    color: inherit;
}

.wd-price-old .wd-currency,
.wd-hcard__price-old .wd-currency,
.wd-deal-spotlight__price-old .wd-currency,
del .wd-currency {
    color: #9ca3af !important;
    font-size: 0.72em;
    font-weight: 600;
}

/* Use bag icon wherever cart icon class remains */
.czi-cart::before {
    content: "\e90f" !important; /* same as .czi-bag */
}

html, body,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6,
body h1, body h2, body h3, body h4, body h5, body h6,
body .btn, body .form-control, body .navbar, body .dropdown-menu {
    font-family: 'Cairo', sans-serif !important;
}

body {
    color: var(--wd-ink);
    background: #fff;
    letter-spacing: 0;
}

/* ---------- Navbar ---------- */
header.rtl.__inline-10,
header.wd-header {
    position: sticky;
    top: 0;
    z-index: 1040;
}

header .topbar {
    background: color-mix(in srgb, var(--web-primary) 92%, #1a1a1a) !important;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 0;
    padding-block: 0.4rem !important;
}

header .topbar .topbar-link,
header .topbar a,
header .topbar span {
    color: rgba(255, 255, 255, 0.9) !important;
}

header .topbar .topbar-link:hover {
    color: #fff !important;
}

header .topbar .fi-rr-phone-call {
    color: color-mix(in srgb, var(--web-primary) 80%, #fff) !important;
}

header .navbar-sticky.mobile-head {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    border-bottom: 1px solid rgba(18, 20, 26, 0.06);
    box-shadow: 0 8px 32px rgba(18, 20, 26, 0.06);
}

header .navbar.navbar-expand-md.navbar-light {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

header .system-logo-element img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform .25s ease;
}

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

header .search-form-mobile .search-bar-input,
header .search_form .search-bar-input {
    border-radius: 999px !important;
    border: 1px solid rgba(18, 20, 26, 0.1) !important;
    background: #f4f5f7 !important;
    min-height: 48px;
    padding-inline: 1.2rem;
    box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.03) !important;
    font-size: 0.95rem;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

header .search-form-mobile .search-bar-input:focus,
header .search_form .search-bar-input:focus {
    border-color: color-mix(in srgb, var(--web-primary) 55%, #fff) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--web-primary) 16%, transparent) !important;
}

header .search_button,
header .input-group-append-overlay.search_button {
    border-radius: 999px !important;
    overflow: hidden;
}

header .search_button .input-group-text {
    border-radius: 999px !important;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    background: var(--web-primary) !important;
    border: 0 !important;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--web-primary) 35%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}

header .search_button:hover .input-group-text {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--web-primary) 45%, transparent);
}

header .navbar-tool-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f4f5f7 !important;
    border: 1px solid rgba(18, 20, 26, 0.08);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

header .navbar-tool:hover .navbar-tool-icon-box,
header .navbar-tool-icon-box:hover {
    background: #fff !important;
    border-color: color-mix(in srgb, var(--web-primary) 40%, var(--wd-line));
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18, 20, 26, 0.08);
}

header .navbar-tool-label,
header .countWishlist,
header .cart-count {
    background: var(--web-primary) !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--web-primary) 40%, transparent);
    z-index: 2;
}

/* Wishlist is a link, not a dropdown — hide Bootstrap caret that drew a line on the badge */
header .navbar-tool-icon-box.dropdown-toggle::after,
header a.navbar-tool-icon-box::after {
    display: none !important;
    content: none !important;
}

header .navbar-stuck-menu {
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
    border-top: 1px solid rgba(18, 20, 26, 0.06);
}

header .navbar-stuck-menu .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--wd-ink) !important;
    border-radius: 999px;
    padding: 0.5rem 1rem !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

header .navbar-stuck-menu .nav-item.active > .nav-link,
header .navbar-stuck-menu .nav-link:hover {
    background: color-mix(in srgb, var(--web-primary) 12%, #fff);
    color: var(--web-primary) !important;
}

header .navbar-stuck-menu .nav-link.category-menu-toggle-btn,
header .category-menu-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: var(--web-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0.55rem 1.15rem !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--web-primary) 35%, transparent);
}

header .navbar-stuck-menu .nav-link.category-menu-toggle-btn:hover,
header .category-menu-toggle-btn:hover,
header .navbar-stuck-menu .nav-item.active > .nav-link.category-menu-toggle-btn {
    color: #fff !important;
    transform: translateY(-1px);
    filter: brightness(1.05);
    background: var(--web-primary) !important;
}

header .navbar-stuck-menu .nav-link.category-menu-toggle-btn span,
header .navbar-stuck-menu .nav-link.category-menu-toggle-btn .category-menu-toggle-btn-text,
header .category-menu-toggle-btn span,
header .category-menu-toggle-btn .category-menu-toggle-btn-text {
    color: #fff !important;
}

header .category-menu-toggle-btn svg {
    width: 18px;
    height: 18px;
    color: #fff !important;
    fill: currentColor;
}

header .category-menu-toggle-btn svg path {
    fill: #fff !important;
}

/* ---------- Section headers ---------- */
.section-header h2,
.categories-title,
.wd-section-title {
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--wd-ink);
    font-size: 1.35rem;
}

.view-all-btn-text,
.view-btn-text {
    font-weight: 600;
    color: var(--wd-ink) !important;
}

.wd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
}

.wd-section-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.wd-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--wd-ink) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.wd-view-all:hover {
    color: var(--web-primary) !important;
}

.wd-nav-arrows {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.wd-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.wd-nav-btn:hover {
    border-color: #d1d5db;
    color: var(--wd-ink);
    background: #f9fafb;
}

.wd-latest-section,
.wd-shop-categories,
.wd-brands-section,
.wd-watch-shop {
    margin-block: 1.75rem;
}

/* ---------- Shop by category (lifestyle cards) ---------- */
.wd-shop-categories .owl-item {
    display: flex;
}

.wd-cat-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(18, 20, 26, 0.06);
    box-shadow: 0 3px 10px rgba(18, 20, 26, 0.04);
    text-decoration: none !important;
    color: inherit;
    transition: transform .22s ease, box-shadow .22s ease;
}

.wd-cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 20, 26, 0.08);
}

.wd-cat-card__media {
    aspect-ratio: 1 / 1;
    max-height: 120px;
    background: #f3f4f6;
    overflow: hidden;
}

.wd-cat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.wd-cat-card:hover .wd-cat-card__media img {
    transform: scale(1.04);
}

.wd-cat-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wd-ink);
    background: #fff;
    line-height: 1.25;
}

.wd-cat-card__label span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wd-cat-card__label i {
    font-size: 0.72rem;
    color: #9ca3af;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .wd-cat-card__media {
        max-height: 132px;
    }
}

/* ---------- Product cards (reference: wish + add footer) ---------- */
.wd-product-grid > [class*="col-"] {
    display: flex;
}

.wd-product-grid > [class*="col-"] > * {
    width: 100%;
}

.owl-carousel .wd-product-card-wrap,
.owl-carousel .wd-product-card,
.new-arrivals-product .owl-item,
.featured_products_listSlide .owl-item {
    height: 100%;
}

/*
 * Do NOT set display:flex on .owl-stage — it kills Owl float/RTL
 * and packs leftover items to the left in Arabic.
 */
.owl-carousel .owl-item {
    display: flex;
}

.owl-carousel .owl-item > div,
.owl-carousel .owl-item > .wd-product-card-wrap,
.owl-carousel .owl-item > a.wd-cat-card,
.owl-carousel .owl-item > a.wd-brand-item {
    width: 100%;
    display: flex;
}

[dir="rtl"] .owl-carousel:not(.owl-rtl) .owl-stage {
    /* safety: if JS missed rtl, still prefer right start before init */
    direction: rtl;
}

.wd-product-card {
    background: #fff;
    border: 1px solid rgba(18, 20, 26, 0.07);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 1px 2px rgba(18, 20, 26, 0.04);
}

/* Compact cards in Latest Products carousel */
.wd-latest-section .wd-product-card {
    border-radius: 12px;
}

.wd-latest-section .wd-product-card .wd-product-media {
    aspect-ratio: 1 / 1;
}

.wd-latest-section .wd-product-card .wd-wish-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    top: 8px;
    left: 8px;
    font-size: 0.75rem;
}

.wd-latest-section .wd-product-card .wd-badge-discount {
    top: 8px;
    right: 8px;
    font-size: 0.68rem;
    padding: 0.22rem 0.5rem;
}

.wd-latest-section .wd-product-card .wd-product-body {
    padding: 0.55rem 0.65rem 0.7rem;
    min-height: 78px;
    gap: 0.4rem;
}

.wd-latest-section .wd-product-card .wd-product-title {
    font-size: 0.8rem;
    min-height: 2.4em;
    line-height: 1.3;
}

.wd-latest-section .wd-product-card .wd-price-now {
    font-size: 0.88rem;
}

.wd-latest-section .wd-product-card .wd-price-old {
    font-size: 0.72rem;
}

.wd-latest-section .wd-product-card .wd-add-btn {
    font-size: 0.78rem;
}

.wd-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 20, 26, 0.12);
    box-shadow: 0 12px 28px rgba(18, 20, 26, 0.08);
}

.wd-product-card .wd-product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    background: #f4f5f7;
    overflow: hidden;
}

.wd-product-card .wd-product-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.wd-product-card .wd-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.wd-product-card:hover .wd-product-media img {
    transform: scale(1.03);
}

.wd-product-card .wd-badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: var(--web-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.28rem 0.55rem;
    line-height: 1;
}

.wd-product-card .wd-wish-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: color .2s ease, border-color .2s ease;
}

.wd-product-card .wd-wish-btn:hover,
.wd-product-card .wd-wish-btn .fa-heart {
    color: var(--web-primary);
}

.wd-product-card .wd-product-body {
    padding: 0.75rem 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-height: 88px;
}

.wd-product-card .wd-product-title {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: auto;
    color: var(--wd-ink) !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    text-align: start;
}

.wd-product-card .wd-product-brand,
.wd-hcard__brand,
.wd-deal-spotlight__brand {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.3;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wd-deal-spotlight__brand {
    color: rgba(255, 255, 255, 0.75);
}

.wd-product-card .wd-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
}

.wd-product-card .wd-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.wd-product-card .wd-price-now {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--wd-ink);
    white-space: nowrap;
}

.wd-product-card .wd-price-old {
    font-size: 0.74rem;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none !important;
}

.wd-product-card .wd-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    padding: 0.15rem 0;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

.wd-product-card .wd-add-btn i {
    font-size: 1rem;
}

.wd-product-card .wd-add-btn:hover,
.wd-product-card:hover .wd-add-btn {
    color: var(--web-primary);
}

.wd-product-card .out_fo_stock {
    position: absolute;
    inset: auto 0 0 0;
    background: rgba(18, 20, 26, 0.72);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem;
    z-index: 2;
}

.product-single-hover.style--category.wd-product-card-wrap,
.flash_deal_product.wd-product-card-wrap {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 100%;
}

.product-single-hover.style--category.wd-product-card-wrap .for-discount-value,
.flash_deal_product.wd-product-card-wrap .for-discount-value {
    display: none;
}

.__inline-62 > .card.__shadow,
.card.__shadow.h-100.max-md-shadow-0 {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.__inline-62 > .card.__shadow > .card-body {
    padding: 0;
}

/* ---------- Deal of the day spotlight (original place + image text) ---------- */
.wd-deal-spotlight {
    display: block;
    height: 100%;
    min-height: 100%;
    text-decoration: none !important;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--web-primary);
    box-shadow:
        0 0 0 4px color-mix(in srgb, var(--web-primary) 14%, transparent),
        0 12px 28px rgba(18, 20, 26, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wd-deal-spotlight:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 5px color-mix(in srgb, var(--web-primary) 20%, transparent),
        0 16px 36px rgba(18, 20, 26, 0.12);
}

.wd-deal-spotlight__media {
    position: relative;
    height: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4;
    background: #f3f4f6;
    overflow: hidden;
}

.wd-deal-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.wd-deal-spotlight:hover .wd-deal-spotlight__media img {
    transform: scale(1.05);
}

.wd-deal-spotlight__badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 3;
    background: var(--web-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--web-primary) 35%, transparent);
}

.wd-deal-spotlight__discount {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 3;
    background: #fff;
    color: var(--web-primary);
    border: 1px solid color-mix(in srgb, var(--web-primary) 35%, #fff);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.wd-deal-spotlight__overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 1.35rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(18, 20, 26, 0.35) 28%,
        rgba(18, 20, 26, 0.78) 100%
    );
    color: #fff;
}

.wd-deal-spotlight__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.wd-deal-spotlight__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
}

.wd-deal-spotlight__price-now {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.wd-deal-spotlight__price-old {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none !important;
}

.wd-deal-spotlight__price-old::after {
    background: rgba(255, 255, 255, 0.75);
}

.wd-deal-spotlight__price-old .wd-currency {
    color: rgba(255, 255, 255, 0.75) !important;
}

.wd-deal-spotlight__cta {
    align-self: flex-start;
    margin-top: 0.25rem;
    background: #fff;
    color: var(--web-primary);
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
}

@media (max-width: 767.98px) {
    .wd-deal-spotlight__media {
        min-height: 260px;
    }
}

/* ---------- Brands rail ---------- */
.wd-brands-section {
    overflow: hidden;
}

.wd-brands-rail {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(18, 20, 26, 0.04);
    padding: 0.35rem 0.25rem 0.85rem;
}

.wd-brands-carousel .owl-item {
    border-inline-end: 1px solid #eceef2;
}

.wd-brands-carousel .owl-item:last-child {
    border-inline-end: 0;
}

.wd-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 0.75rem 0.35rem;
    text-decoration: none !important;
    color: inherit;
}

.wd-brand-logo {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.wd-brand-logo img {
    max-width: 88%;
    max-height: 52px;
    object-fit: contain;
    filter: grayscale(0.1);
    transition: filter .2s ease, transform .2s ease;
}

.wd-brand-item:hover .wd-brand-logo img {
    filter: none;
    transform: scale(1.04);
}

.wd-brand-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wd-brand-item:hover .wd-brand-name {
    color: var(--wd-ink);
}

/* Hide owl default nav/dots on redesigned carousels */
.wd-category-carousel .owl-nav,
.wd-category-carousel .owl-dots,
.wd-brands-carousel .owl-nav,
.wd-brands-carousel .owl-dots,
.wd-product-carousel .owl-nav,
.wd-product-carousel .owl-dots {
    display: none !important;
}

/* ---------- Hero / Main banner ---------- */
.wd-hero {
    position: relative;
    padding: 0.85rem 0 0.5rem;
    background: #fff;
}

.wd-hero--full {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
}

.wd-hero__inner {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
}

@media (min-width: 1200px) {
    .wd-hero__inner {
        padding-inline: 20px;
    }
}

.wd-hero--full .wd-hero__frame {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(18, 20, 26, 0.08);
}

.wd-hero__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f3f4f6;
    width: 100%;
    box-shadow: 0 10px 28px rgba(18, 20, 26, 0.08);
    border: 1px solid #eceef2;
}

.wd-hero__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wd-hero__slide {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 0;
}

.wd-hero__img,
.wd-hero .__slide-img,
.wd-hero-slider img {
    width: 100%;
    height: clamp(200px, 28vw, 340px);
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

/* Hero: LTR carousel so each slide fills the frame */
.wd-hero-slider.owl-carousel,
.wd-hero-slider .owl-stage-outer {
    width: 100%;
    direction: ltr !important;
}

.wd-hero-slider .owl-item {
    float: left !important;
    display: block !important;
}

.wd-hero-slider .wd-hero__slide {
    display: block;
    width: 100%;
}

.wd-hero-slider .wd-hero__img {
    width: 100%;
    max-width: none;
}

.wd-hero-slider .owl-item.active .wd-hero__img {
    transform: scale(1.02);
}

.wd-hero__shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 35%,
        rgba(255, 255, 255, 0.08) 48%,
        transparent 62%
    );
    transform: translateX(-120%);
    animation: wd-hero-shine 7s ease-in-out infinite;
}

@keyframes wd-hero-shine {
    0%, 55% { transform: translateX(-120%); }
    75%, 100% { transform: translateX(120%); }
}

.wd-hero-slider .owl-nav {
    margin: 0 !important;
    height: 0 !important;
    width: auto !important;
    left: auto !important;
}

.wd-hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--wd-ink) !important;
    border: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
    z-index: 5;
}

.wd-hero__frame:hover .wd-hero-slider .owl-nav button {
    opacity: 1;
}

.wd-hero-slider .owl-nav .owl-prev {
    inset-inline-start: 14px;
}

.wd-hero-slider .owl-nav .owl-next {
    inset-inline-end: 14px;
}

.wd-hero-slider .owl-nav button:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.06);
}

.wd-hero-slider .owl-dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 16px !important;
    width: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    z-index: 6;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(15, 17, 23, 0.4) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wd-hero-slider .owl-dots button.owl-dot {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
    transition: width .25s ease, background .25s ease;
}

.wd-hero-slider .owl-dots button.owl-dot.active {
    width: 26px !important;
    background: #fff !important;
    opacity: 1 !important;
}

.wd-hero-slider .owl-dots button.owl-dot span {
    display: none !important;
}

/* Legacy selectors kept for safety */
.__top-slider-cate {
    display: none !important;
}

.__top-slider-images {
    flex: 0 0 100%;
    max-width: 100%;
}

.__inline-61 {
    background: #fff;
}

/* ---------- Promo / footer banners ---------- */
.promotional-banner-slider .owl-item a,
.footer_banner_img,
a > .footer_banner_img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 20, 26, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.promotional-banner-slider .owl-item a:hover .footer_banner_img,
a:hover > .footer_banner_img {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 36px rgba(18, 20, 26, 0.12);
}

.footer_banner_img.__inline-63 {
    width: 100%;
    object-fit: cover;
    min-height: 120px;
}

/* Soften featured deals shell */
.featured_deal .__featured-deal-wrap {
    background: #fff !important;
    border: 1px solid #eceef2;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(18, 20, 26, 0.04);
    padding: 1.1rem 1rem 1.25rem !important;
}

/* ---------- Horizontal cards (best sellers / top rated) ---------- */
.wd-hpanel {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(18, 20, 26, 0.05);
    padding: 1.1rem 1.15rem 1.2rem;
}

.wd-hpanel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.wd-hpanel__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.wd-hpanel__icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.wd-hpanel__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--wd-ink);
}

.wd-hpanel__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .wd-hpanel__list {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }
}

.wd-hcard {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.65rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 20, 26, 0.07);
    background: #fff;
    text-decoration: none !important;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 100px;
    box-shadow: 0 1px 2px rgba(18, 20, 26, 0.04);
}

.wd-hcard:hover {
    transform: translateY(-2px);
    border-color: rgba(18, 20, 26, 0.12);
    box-shadow: 0 10px 24px rgba(18, 20, 26, 0.08);
}

.wd-hcard__media {
    position: relative;
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f5f7;
    align-self: center;
}

.wd-hcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.wd-hcard:hover .wd-hcard__media img {
    transform: scale(1.04);
}

.wd-hcard__discount {
    position: absolute;
    top: 6px;
    inset-inline-start: 6px;
    z-index: 1;
    background: var(--web-primary);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 0.16rem 0.38rem;
    line-height: 1.2;
}

.wd-hcard__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.18rem;
    padding-block: 0.1rem;
    text-align: start;
}

.wd-hcard__title {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--wd-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.wd-hcard__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.05rem;
}

.wd-hcard__price-now {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--wd-ink);
}

.wd-hcard__price-old {
    font-size: 0.72rem;
    color: #9ca3af;
    text-decoration: none !important;
}

.wd-hcard__rating {
    font-size: 0.72rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: wrap;
}

.wd-hcard__rating .tio-star,
.wd-hcard__rating .tio-star-half {
    font-size: 0.78rem;
}

@media (max-width: 767.98px) {
    .wd-hero {
        padding-top: 0.5rem;
    }

    .wd-hero--full .wd-hero__frame {
        border-radius: 14px;
    }

    .wd-hero__img,
    .wd-hero .__slide-img,
    .wd-hero-slider img {
        height: clamp(170px, 42vw, 230px);
    }

    .wd-hero-slider .owl-nav {
        display: none !important;
    }

    header .category-menu-toggle-btn {
        border-radius: 12px !important;
    }

    .wd-hcard__media {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-hero__shine,
    .wd-hero-slider .owl-item.active .wd-hero__img {
        animation: none;
        transform: none;
    }
}

/* Country + zip are fixed (Syria / 00000) and must never appear on storefront */
select[name="country"],
select[name="billing_country"],
select[name="zip"],
select[name="billing_zip"],
input[name="zip"]:not([type="hidden"]),
input[name="billing_zip"]:not([type="hidden"]),
input[name="country"]:not([type="hidden"]),
input[name="billing_country"]:not([type="hidden"]),
#select2-zip-container,
.bootstrap-select:has(select[name="country"]),
.bootstrap-select:has(select[name="billing_country"]),
.bootstrap-select:has(select[name="zip"]),
.bootstrap-select:has(select[name="billing_zip"]) {
    display: none !important;
}


/* —— Professional footer —— */
.wd-footer {
    margin-top: 2.5rem;
    color: #fff;
    background: var(--web-primary);
}

.wd-footer a {
    color: inherit;
    text-decoration: none;
}

.wd-footer__utilities {
    background: #f6f7f9;
    color: var(--wd-ink, #12141a);
    border-top: 1px solid var(--wd-line, rgba(18, 20, 26, 0.08));
}

.wd-footer__utilities-grid {
    display: grid;
    grid-template-columns: repeat(var(--wd-util-cols, 3), minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem 0;
}

.wd-footer__util {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(18, 20, 26, 0.06);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    color: var(--wd-ink, #12141a) !important;
}

.wd-footer__util:hover {
    border-color: color-mix(in srgb, var(--web-primary) 40%, #e5e7eb);
    box-shadow: 0 8px 22px rgba(18, 20, 26, 0.06);
    transform: translateY(-1px);
    color: var(--wd-ink, #12141a) !important;
}

.wd-footer__util-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--web-primary) 10%, #fff);
    flex: 0 0 auto;
}

.wd-footer__util-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.wd-footer__util-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.wd-footer__util-text small {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wd-footer__main {
    padding: 3rem 0 2.25rem;
}

.wd-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 2rem 1.75rem;
}

.wd-footer__logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.wd-footer__brand-text {
    margin: 1rem 0 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 28ch;
}

.wd-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.wd-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92) !important;
    transition: color .15s ease;
}

.wd-footer__contact:hover {
    color: #fff !important;
}

.wd-footer__contact i {
    width: 1.1rem;
    text-align: center;
    opacity: 0.95;
    color: #fff;
}

.wd-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wd-footer__social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.wd-footer__social-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    color: #fff !important;
}

.wd-footer__heading {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: #fff;
}

.wd-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.wd-footer__links a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82) !important;
    transition: color .15s ease, padding-inline-start .15s ease;
}

.wd-footer__links a:hover {
    color: #fff !important;
    padding-inline-start: 0.2rem;
}

.wd-footer__newsletter-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0.9rem;
}

.wd-footer__newsletter {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.wd-footer__newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    padding: 0.75rem 0.9rem !important;
    height: 46px;
    box-shadow: none !important;
    outline: none;
}

.wd-footer__newsletter-input::placeholder {
    color: rgba(232, 234, 237, 0.45);
}

.wd-footer__newsletter-btn {
    border: 0;
    background: #fff;
    color: var(--web-primary);
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0 1.1rem;
    white-space: nowrap;
    transition: filter .15s ease, opacity .15s ease;
}

.wd-footer__newsletter-btn:hover {
    opacity: 0.92;
}

.wd-footer__apps {
    margin-top: 1.35rem;
}

.wd-footer__apps-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.88);
}

.wd-footer__apps-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.wd-footer__apps-row img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.wd-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1.1rem 0;
    background: color-mix(in srgb, var(--web-primary) 78%, #000);
}

.wd-footer__copy {
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991.98px) {
    .wd-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .wd-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .wd-footer__utilities-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1rem 0;
    }
    .wd-footer__util {
        padding: 0.8rem;
        gap: 0.65rem;
    }
    .wd-footer__util-icon {
        width: 38px;
        height: 38px;
    }
    .wd-footer__util-text small {
        display: none;
    }
    .wd-footer__main {
        padding: 2.25rem 0 1.75rem;
    }
    .wd-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    .wd-footer__col--newsletter {
        grid-column: 1 / -1;
    }
    .wd-footer__brand-text {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .wd-footer__utilities-grid {
        grid-template-columns: 1fr;
    }
}

/* —— Account type segmented switch —— */
.wd-account-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: #f3f4f6;
    border: 1px solid rgba(18, 20, 26, 0.06);
    max-width: 420px;
}

.wd-account-switch__option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    min-height: 44px;
    padding: 0.55rem 1rem;
    border-radius: 11px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* One visible radio only — styled circle with space before the text */
.wd-account-switch__option input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: static !important;
    inset: auto !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #9ca3af !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
    clip: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
    cursor: pointer;
}

.wd-account-switch__option input[type="radio"]:checked {
    border-color: var(--web-primary) !important;
    box-shadow: inset 0 0 0 4px var(--web-primary) !important;
    background: #fff !important;
}

.wd-account-switch__label {
    display: inline-block;
    margin: 0;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.2;
}

.wd-account-switch__label::before,
.wd-account-switch__label::after {
    content: none !important;
    display: none !important;
}

.wd-account-switch__option:has(input:checked),
.wd-account-switch__option:has(input:checked) .wd-account-switch__label {
    color: var(--wd-ink, #12141a);
}

.wd-account-switch__option:has(input:checked) {
    background: #fff;
    border-color: color-mix(in srgb, var(--web-primary) 35%, #e5e7eb);
    box-shadow: 0 4px 14px rgba(18, 20, 26, 0.08);
}

.wd-account-switch__option input:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--web-primary) 55%, transparent);
    outline-offset: 2px;
}

.wd-account-switch__option:hover .wd-account-switch__label {
    color: var(--wd-ink, #12141a);
}

.wd-account-switch__option:hover input[type="radio"] {
    border-color: var(--web-primary) !important;
}

@media (max-width: 420px) {
    .wd-account-switch {
        max-width: none;
    }
}
