body.store-layout {
    --store-font: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    --primary-font: var(--store-font);
    --alt-font: var(--store-font);
}

/* Override the site's font utilities while preserving the icon fonts. */
body.store-layout,
.store-layout :is(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, th, td, .alt-font, .ping1, .ping2, .bh1, .bh2, .lyon0, .lyon1, .lyon2),
.store-layout .navbar .navbar-nav .nav-link {
    font-family: var(--store-font) !important;
}

/* Match the About page's dark background, including the sticky header. */
.store-layout header .navbar.store-header {
    --dark-gray: #070707;
    background-color: #070707 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.store-layout header .store-header .navbar-nav .nav-link,
.store-layout header .store-header .lang-switch-ad {
    color: #fff !important;
}

/* Compact storefront sections and a swipeable banner with the next slide visible. */
.store-page.store-home { padding-bottom: 40px; }
.store-home .store-section { padding: 0; margin: 26px 0 0; }
.store-home .store-section-head { margin-bottom: 14px; gap: 12px; }
.store-home .store-section-head .store-title { font-size: 25px; line-height: 1.5; }
.store-home .store-section-head .store-btn { font-size: 13px; padding: 9px 16px; }
.store-banner-region { min-width: 0; }
.store-banner-slider { width: 100%; overflow: hidden; border-radius: 18px; }
.store-banner-slider:not(.swiper-initialized) .swiper-slide { width: calc(89.2857% - 2px); margin-left: 18px; }
.store-banner-card { display: block; position: relative; overflow: hidden; border-radius: 18px; color: #fff; background: #141419; text-decoration: none; }
.store-banner-card > img { display: block; width: 100%; height: auto; aspect-ratio: 3/1; object-fit: cover; user-select: none; }
.store-banner-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 4%; color: #fff; background: linear-gradient(270deg, rgba(7,7,11,.2), transparent 65%); }
.store-banner-copy .store-banner-brand { font-size: 11px; line-height: 1.6; font-weight: 500; letter-spacing: 2px; color: #d3d3d8; margin-bottom: 10px; }
.store-banner-copy h2 { max-width: 46%; font-size: clamp(22px, 2.4vw, 35px); line-height: 1.55; color: #fff; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.store-banner-copy p { max-width: 45%; font-size: 14px; line-height: 1.8; color: #d3d3d8; margin: 0 0 18px; }
.store-banner-cta { display: inline-flex; align-items: center; gap: 14px; background: #ad001f; border-radius: 8px; padding: 10px 18px; font-size: 13px; line-height: 1.5; font-weight: 600; color: #fff; }
a.store-banner-card:hover .store-banner-cta { background: #ca0026; }
.store-banner-card:focus-visible { outline: 3px solid #e7b518; outline-offset: -4px; }
.store-banner-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.store-banner-pagination { display: flex; align-items: center; gap: 7px; width: auto !important; }
.store-banner-pagination .swiper-pagination-bullet { display: block; width: 7px; height: 7px; margin: 0 !important; padding: 0; border: 0; border-radius: 8px; background: #d7d7dd; opacity: 1; cursor: pointer; transition: width .2s; }
.store-banner-pagination .swiper-pagination-bullet-active { width: 23px; background: #ad001f; }
.store-banner-arrows { display: flex; gap: 7px; }
.store-banner-arrows button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e2e2e7; border-radius: 50%; background: #fff; color: #53555e; font-size: 14px; cursor: pointer; }
.store-banner-arrows button:hover { border-color: #ad001f; color: #ad001f; }
@media (max-width: 767px) {
    .store-home .store-section { margin-top: 22px; }
    .store-home .store-section-head .store-title { font-size: 21px; }
    .store-home .store-section-head .store-btn { font-size: 11px; padding: 7px 10px; }
    .store-banner-slider, .store-banner-card { border-radius: 12px; }
    .store-banner-card > img { height: 215px; aspect-ratio: auto; object-position: 36% center; }
    .store-banner-copy { padding: 18px; background: linear-gradient(270deg, rgba(7,7,11,.92), rgba(7,7,11,.25) 90%); }
    .store-banner-copy .store-banner-brand { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 8px; }
    .store-banner-copy h2 { max-width: 85%; font-size: 22px; line-height: 1.5; }
    .store-banner-copy p { max-width: 90%; font-size: 11px; margin-bottom: 14px; }
    .store-banner-cta { padding: 8px 12px; font-size: 11px; }
    .store-banner-controls { margin-top: 8px; }
}

/* Product and checkout pages */
.store-page .store-breadcrumbs { margin-bottom: 24px; font-size: 13px; line-height: 1.8; }
.store-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; list-style: none; padding: 0; margin: 0; }
.store-breadcrumbs li { display: inline-flex; align-items: center; gap: 12px; color: #31333b; overflow-wrap: anywhere; }
.store-breadcrumbs li + li::before { content: ''; width: 6px; height: 6px; border-left: 1px solid #999ba3; border-bottom: 1px solid #999ba3; transform: rotate(45deg); flex-shrink: 0; }
.store-breadcrumbs a { color: #777982; text-decoration: none; }
.store-breadcrumbs a:hover { color: #ad001f; }
.store-page .store-detail-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #f4f4f6; color: #595b64; font-size: 21px; }
.store-page :is(button, a, input, textarea, select):focus-visible { outline: 2px solid #ad001f; outline-offset: 3px; }
.store-page .store-btn:disabled { cursor: not-allowed; opacity: .55; }

.store-product-detail { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e7e7eb; border-radius: 20px; overflow: hidden; }
.store-product-visual { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 32px; background: #fafafb; border-left: 1px solid #eeeef1; }
.store-product-visual img { display: block; width: 100%; height: 440px; object-fit: contain; border-radius: 8px; }
.store-product-info { padding: 36px; min-width: 0; }
.store-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; line-height: 1.6; }
.store-product-category { background: #f4f4f6; color: #62646f; border-radius: 6px; padding: 5px 12px; }
.store-product-category:hover { color: #ad001f; }
.store-availability { display: inline-flex; align-items: center; gap: 6px; color: #138257; }
.store-availability > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.store-availability.is-unavailable { color: #8b5361; }
.store-product-info .store-product-title { font-size: 30px; line-height: 1.5; font-weight: 700; letter-spacing: 0; margin: 0 0 12px; overflow-wrap: anywhere; }
.store-product-price { color: #087d50; font-size: 30px; font-weight: 700; line-height: 1.5; margin-bottom: 24px; }
.store-product-price > span { font-size: 16px; font-weight: 500; }
.store-product-description { border-top: 1px solid #eeeef1; padding-top: 20px; margin-bottom: 22px; }
.store-product-description h2 { font-size: 14px; font-weight: 600; line-height: 1.6; margin: 0 0 8px; }
.store-product-description p { color: #747680; font-size: 14px; line-height: 1.9; margin: 0; overflow-wrap: anywhere; }
.store-product-seller { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fafafb; border: 1px solid #eeeef1; border-radius: 12px; margin-bottom: 24px; }
.store-product-seller > div { min-width: 0; }
.store-product-seller > div > span { display: block; font-size: 11px; color: #797b84; line-height: 1.6; }
.store-product-seller strong { display: block; font-size: 14px; line-height: 1.8; font-weight: 600; overflow-wrap: anywhere; }
.store-quantity-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; line-height: 1.8; }
.store-quantity-label label { font-weight: 600; margin: 0; }
.store-quantity-label span { color: #7d7f89; font-size: 12px; }
.store-purchase-actions { display: flex; align-items: stretch; gap: 12px; }
.store-quantity-control { display: flex; align-items: stretch; direction: ltr; border: 1px solid #dddde4; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.store-quantity-control button { width: 38px; padding: 0; border: 0; background: #fff; color: #33353e; font-size: 22px; cursor: pointer; }
.store-quantity-control button:hover { background: #f5f5f7; }
.store-quantity-control button:disabled { color: #c8c8ce; cursor: not-allowed; }
.store-quantity-control input { width: 42px; border: 0; background: #fff; margin: 0; padding: 10px 0; text-align: center; font-size: 16px; color: #252730; appearance: textfield; -moz-appearance: textfield; }
.store-quantity-control input::-webkit-inner-spin-button, .store-quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.store-purchase-actions .store-btn { flex: 1; min-height: 50px; padding: 12px 16px; font-size: 14px; }
.store-product-info .store-sold-out { width: 100%; }
.store-product-services { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; color: #777982; font-size: 12px; }
.store-product-services > span { display: inline-flex; align-items: center; gap: 7px; }
.store-product-services i { font-size: 16px; }

.store-checkout-heading { margin-bottom: 28px; }
.store-checkout .store-checkout-heading .store-title { font-size: 26px; line-height: 1.6; margin: 0 0 5px; }
.store-checkout-heading p { margin: 0; color: #7a7c85; font-size: 14px; }
.store-checkout .store-checkout-section { padding: 24px; margin-bottom: 20px; border-radius: 16px; }
.store-checkout-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.store-checkout-section-heading > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f8edf0; color: #ad001f; font-size: 13px; font-weight: 600; }
.store-checkout .store-checkout-section-heading h2, .store-checkout .store-checkout-summary h2 { font-size: 18px; font-weight: 600; line-height: 1.6; margin: 0; }
.store-checkout-section label { font-size: 13px; font-weight: 500; line-height: 1.7; margin-bottom: 9px; }
.store-checkout .store-field-optional { color: #92939c; font-size: 11px; font-weight: 400; }
.store-checkout .store-input { font-size: 14px; line-height: 1.8; padding: 11px 14px; margin: 0; color: #343641; }
.store-checkout .store-input::placeholder { color: #a0a1a9; }
.store-checkout .store-checkout-notice { background: #f8f8fa; border-radius: 8px; padding: 10px 14px; color: #7c7e87; font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.store-phone-fields { display: flex; gap: 10px; }
.store-phone-fields select { max-width: 145px; }
.store-phone-fields input { min-width: 0; }
.store-delivery-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-checkout-section .store-delivery-option { display: block; position: relative; margin: 0; cursor: pointer; }
.store-delivery-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0; }
.store-delivery-card { display: flex; flex-direction: column; height: 100%; padding: 18px; border: 1px solid #e1e1e7; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.store-delivery-option:hover .store-delivery-card { border-color: #bc8c95; }
.store-delivery-option > input:checked + .store-delivery-card { border-color: #ad001f; box-shadow: 0 0 0 1px #ad001f; background: #fff9fa; }
.store-delivery-option > input:focus-visible + .store-delivery-card { outline: 2px solid #ad001f; outline-offset: 4px; }
.store-delivery-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.store-delivery-option > input:checked + .store-delivery-card .store-detail-icon { color: #ad001f; background: #fbe9ed; }
.store-delivery-radio { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #d2d3da; background: #fff; }
.store-delivery-option > input:checked + .store-delivery-card .store-delivery-radio { border-color: #ad001f; background: #ad001f; }
.store-delivery-option > input:checked + .store-delivery-card .store-delivery-radio::after { content: ''; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.store-delivery-card > strong { font-size: 15px; font-weight: 600; line-height: 1.7; }
.store-delivery-description { display: block; color: #888992; font-size: 12px; font-weight: 400; line-height: 1.9; margin: 4px 0 14px; overflow-wrap: anywhere; }
.store-delivery-fee { display: block; margin-top: auto; color: #3b3d47; font-size: 14px; font-weight: 600; }
.store-delivery-fee > span { font-size: 12px; font-weight: 400; }
.store-delivery-fee.is-free { color: #148357; font-size: 12px; }
.store-shipping-fields { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eeeef1; }
.store-map-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.store-map-heading label { margin: 0; }
.store-map-heading .store-btn { padding: 7px 12px; font-size: 12px; }
.store-checkout .store-checkout-summary { position: sticky; top: 115px; padding: 24px; border-radius: 16px; }
.store-summary-items { padding: 5px 0 16px; margin: 8px 0 16px; border-bottom: 1px solid #eeeef1; }
.store-summary-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.store-summary-item img { width: 52px; height: 60px; object-fit: contain; border: 1px solid #eeeef1; border-radius: 8px; background: #fafafb; flex-shrink: 0; }
.store-summary-item > div { flex: 1; min-width: 0; }
.store-summary-item strong { display: block; font-size: 13px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.store-summary-item span { display: block; color: #94959d; font-size: 11px; line-height: 1.8; margin-top: 5px; }
.store-summary-item > bdi { font-size: 13px; font-weight: 600; white-space: nowrap; }
.store-summary-item small { font-size: 10px; font-weight: 400; }
.store-checkout-summary .store-total-row { font-size: 13px; gap: 12px; }
.store-checkout-summary .store-total-row > span { color: #747680; }
.store-checkout-summary .store-total-row > strong { font-weight: 600; }
.store-checkout-summary .store-summary-total { border-top: 1px solid #eeeef1; margin: 16px 0 22px; padding-top: 20px; align-items: center; font-size: 16px; }
.store-checkout-summary .store-summary-total .store-price { font-size: 22px; font-weight: 700; }
.store-checkout-summary .store-btn { min-height: 49px; font-size: 14px; justify-content: space-between; padding: 12px 18px; }
.store-checkout .store-payment-note { display: flex; justify-content: center; align-items: center; gap: 5px; font-size: 11px; line-height: 1.8; color: #8a8c94; margin: 14px 0 0; }

@media (max-width: 1199px) {
    .store-product-info { padding: 26px; }
    .store-product-visual { padding: 24px; }
    .store-checkout .store-checkout-summary { padding: 20px; }
    .store-summary-item { gap: 8px; flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .store-page .store-breadcrumbs { margin-bottom: 18px; font-size: 12px; }
    .store-product-detail { grid-template-columns: 1fr; border-radius: 16px; }
    .store-product-visual { padding: 24px; border-left: 0; border-bottom: 1px solid #eeeef1; }
    .store-product-visual img { height: 290px; }
    .store-product-info { padding: 22px; }
    .store-product-info .store-product-title { font-size: 25px; }
    .store-product-price { font-size: 27px; margin-bottom: 20px; }
    .store-checkout .store-checkout-heading .store-title { font-size: 23px; }
    .store-checkout-heading p { font-size: 12px; }
    .store-checkout .store-checkout-section, .store-checkout .store-checkout-summary { padding: 18px; }
    .store-delivery-card { padding: 14px; }
    .store-delivery-options { gap: 12px; }
    .store-delivery-card > strong { font-size: 13px; }
    .store-delivery-description { font-size: 11px; }
    .store-phone-fields select { max-width: 115px; }
}
@media (max-width: 380px) {
    .store-delivery-options { grid-template-columns: 1fr; }
    .store-purchase-actions { flex-wrap: wrap; }
    .store-purchase-actions .store-btn { flex-basis: 100%; }
}
