/* ASWAR ALARISH / Zid Nomo — v1.0
   Paste as CSS only. Scoped to the homepage. No <style> tags.
   Choose Cairo in theme typography too, to stop the old IBM font download. */

:root {
  --asw-ink: #123d4c; --asw-blue: #087c9f; --asw-green: #79bf70; --asw-line: #e1eaed; --asw-paper: #f5f9fa; --asw-radius: 12px;
}
body[data-template="home"] {
  --asw-ink: #123d4c;
  --asw-blue: #087c9f;
  --asw-green: #79bf70;
  --asw-mint: #7df4cf;
  --asw-paper: #f5f9fa;
  --asw-line: #e1eaed;
  --asw-radius: 12px;
  --asw-gutter: clamp(16px, 4.4vw, 64px);
  --asw-width: 1320px;
  --font-sans: 'Cairo', Tahoma, Arial, sans-serif;
  color: var(--asw-ink);
  background: var(--asw-paper);
  font-family: var(--font-sans);
}
html[lang^="en"] body[data-template="home"] {
  --font-sans: 'Montserrat', Arial, sans-serif;
}
body[data-template="home"] :is(button, input, select, textarea) { font-family: inherit; }
body[data-template="home"] #main { overflow-x: clip; }
body[data-template="home"] .theme-container {
  width: 100%;
  max-width: var(--asw-width);
  margin-inline: auto;
}
body[data-template="home"] :is(a, button):focus-visible {
  outline: 3px solid #0782a8;
  outline-offset: 4px;
}
body header {
  padding: 12px var(--asw-gutter);
  background: #fff;
  border-bottom: 1px solid var(--asw-line);
}
body header nav > div { gap: clamp(16px, 3vw, 46px); }
body header :is(h2, a, button) { color: var(--asw-ink); }
body header h2 { font-size: 16px; font-weight: 800; }
body header .asw-nav { gap: clamp(10px, 1.5vw, 24px); }
body header .asw-nav a { font-size: 12px; font-weight: 700; white-space: nowrap; }
body .asw-logo { width: 150px; max-height: 62px; height: auto; object-fit: contain; }
body .asw-topbar {
  padding: 7px 16px;
  background: var(--asw-ink);
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

/* Native banners: retain Zid/Embla markup and controls. */
body[data-template="home"] #main > .section-carousel {
  background: #009eb5;
  isolation: isolate;
}
body[data-template="home"] #main > .section-carousel .embla__slide {
  min-height: 0 !important;
  height: min(56.25vw, 1080px);
  isolation: isolate;
}
body[data-template="home"] #main > .section-carousel picture { display: block; width: 100%; height: 100%; }
body[data-template="home"] #main > .section-carousel picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-template="home"] #main .asw-backdrop { z-index: -1; }
body[data-template="home"] #main .asw-banner-pad {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--asw-gutter) !important;
}
body[data-template="home"] #main .asw-banner-inner { display: block !important; max-width: 1320px !important; }
body[data-template="home"] #main .asw-copy {
  display: flex;
  width: 42%;
  max-width: 560px !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: clamp(14px, 2.1vw, 32px);
  margin-left: auto;
  margin-right: 0;
  color: white;
  text-align: start !important;
}
body[data-template="home"] #main [data-asw-side="left"] .asw-copy { margin-left: 0; margin-right: auto; }
body[data-template="home"] #main .asw-copy > div:first-child { gap: clamp(12px, 1.4vw, 22px); align-items: flex-start; }
body[data-template="home"] #main .asw-copy .asw-kicker {
  color: inherit;
  font-size: clamp(24px, 3.45vw, 58px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
body[data-template="home"] #main .asw-copy h2 {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 8px 23px 12px;
  color: #083e4d;
  font-size: clamp(23px, 3.05vw, 54px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}
body[data-template="home"] #main .asw-copy h2::before {
  position: absolute;
  content: '';
  inset: 0;
  z-index: -1;
  background: var(--asw-mint);
  border-radius: 28px 6px 28px 6px;
  transform-origin: right center;
}
html[lang^="en"] body[data-template="home"] #main .asw-copy h2::before { transform-origin: left center; }
body[data-template="home"] #main .asw-highlight-text { display: block; }
body[data-template="home"] #main .asw-copy p {
  max-width: 92%;
  margin: 0;
  color: inherit;
  font-size: clamp(14px, 1.65vw, 24px);
  font-weight: 600;
  line-height: 1.8;
  text-wrap: pretty;
}
body[data-template="home"] #main .asw-actions { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }
body[data-template="home"] #main .asw-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: min(100%, 220px);
  max-width: 100%;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--asw-green);
  color: #fff;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
body[data-template="home"] #main .asw-actions .asw-btn-outline { background: transparent; border-color: currentColor; }
body[data-template="home"] #main [data-asw-banner="hero"] .asw-actions { flex-direction: column; align-items: flex-start; }
body[data-template="home"] #main [data-asw-banner="shipping"] .asw-copy h2 {
  color: var(--asw-mint);
  padding: 0;
  font-size: clamp(24px, 3.0vw, 48px);
}
body[data-template="home"] #main [data-asw-banner="shipping"] .asw-copy h2::before { content: none; }
body[data-template="home"] #main :is([data-asw-banner="shoes"], [data-asw-banner="school"]) .asw-copy { color: var(--asw-blue); }
html[lang^="en"] body[data-template="home"] #main .asw-copy .asw-kicker { font-size: clamp(22px, 2.75vw, 48px); line-height: 1.3; }
html[lang^="en"] body[data-template="home"] #main .asw-copy h2 { font-size: clamp(22px, 2.7vw, 46px); line-height: 1.35; }
html[lang^="en"] body[data-template="home"] #main .asw-copy p { font-size: clamp(14px, 1.4vw, 20px); line-height: 1.65; }

/* Product cards. Do not animate the slide/container transforms used by Embla. */
body[data-template="home"] #main > :is(.section-products, .section-categories, .section-testimonials) {
  padding: clamp(30px, 3.5vw, 56px) var(--asw-gutter);
  background: var(--asw-paper);
}
body[data-template="home"] #main > section:not(.section-carousel) h2 {
  margin: 0;
  color: var(--asw-ink);
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 800;
  line-height: 1.65;
  text-align: center;
}
body .section-products [data-products-carousel] { gap: 24px; }
body .section-products [data-products-carousel] > div:first-child { justify-content: center; }
body .section-products .products-embla {
  --slide-spacing: 16px !important;
  --slide-size: 25% !important;
}
body [data-product-card] {
  height: 100%;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--asw-line);
  border-radius: var(--asw-radius);
  background: #fff;
  box-shadow: 0 2px 0 #dbe7eb55;
  transition: box-shadow .25s ease, border-color .25s ease;
}
body [data-product-card]:hover { box-shadow: 0 10px 30px #103a4a0b; border-color: #bed4dc; }
body [data-product-card] > a:first-child { aspect-ratio: 1; border: 1px solid #e5eff1; border-radius: 8px; background: #f2f7f8; }
body [data-product-card] > a:first-child > img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
@media (hover: hover) {
  body [data-product-card]:hover > a:first-child > img { transform: scale(1.035); }
}
body [data-product-card] > div { gap: 8px; }
body [data-product-card] h3 { min-height: 3.6em; font-size: clamp(12px, .95vw, 14px); line-height: 1.8; font-weight: 600; }
body [data-product-card] h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body [data-product-card] .asw-product-rating { display: none; }
body [data-product-card] .text-sm { font-size: 12px; }
body [data-product-card] .text-xs { font-size: 10px; letter-spacing: 0; }
body [data-product-card] .riyal-svg { width: 11px; height: 12px; }
body [data-product-card] :is([data-add-to-cart], [data-notify-me-trigger]) {
  min-height: 40px;
  height: auto;
  padding: 8px 10px;
  border: 0;
  border-radius: 5px;
  background: var(--asw-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}
body [data-product-card] button[disabled] { cursor: default; }
body [data-wishlist-btn] { width: 32px; height: 32px; bottom: 8px; inset-inline-end: 8px; background: #ffffffd9; border-radius: 50%; }
body [data-wishlist-btn] svg { width: 18px; height: 18px; }
body .asw-carousel-controls { justify-content: center; }
body :is(.embla__progress, .products-embla__progress) { max-width: 150px; height: 3px; background: #dbe6e9; }
body :is([data-carousel-progress], .embla__progress-bar) { background: #77bebd; height: 3px; }
body :is(.embla__prev, .embla__next) { color: var(--asw-blue); }

/* Compact native category rail. */
body[data-template="home"] #main .section-categories .embla { --slide-spacing: 18px !important; --slide-size: 20% !important; }
body[data-template="home"] #main .section-categories .embla__slide > a {
  height: 100%;
  padding: 9px;
  gap: 10px;
  border: 1px solid var(--asw-line);
  border-radius: 10px;
  background: white;
}
body[data-template="home"] #main .section-categories img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
body[data-template="home"] #main .section-categories h3 { text-align: center; font-size: 12px; line-height: 1.75; min-height: 3.5em; }
body[data-template="home"] #main .asw-section-subtitle { margin: 6px 0 0; text-align: center; font-size: 12px; color: #69808a; line-height: 1.8; }

/* The two injected custom sections. */
body[data-template="home"] #main .asw-custom { padding: 16px var(--asw-gutter) 36px; scroll-margin-top: 110px; }
body[data-template="home"] #main .asw-shoe-panel {
  width: min(100%, 1200px);
  min-height: 380px;
  margin-inline: auto;
  padding: 26px;
  border-radius: 14px;
  background: #f4ecdf;
}
body[data-template="home"] #main .asw-shoe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
body[data-template="home"] #main .asw-shoe-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 9px; background: #fff; border: 1px solid #e4e6e4; border-radius: 10px; text-align: center; color: var(--asw-ink); }
body[data-template="home"] #main .asw-shoe-image { aspect-ratio: 1.18; width: 100%; overflow: hidden; padding: 6px; border: 2px solid #e4eef0; border-radius: 8px; background: #f7fafb; }
body[data-template="home"] #main .asw-shoe-image img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; transition: transform .5s ease; }
body[data-template="home"] #main .asw-shoe-card:hover img { transform: scale(1.04); }
body[data-template="home"] #main .asw-shoe-card h3 { font-size: 17px; line-height: 1.8; font-weight: 700; }
body[data-template="home"] #main .asw-shoe-card .asw-card-cta { display: grid; place-items: center; min-height: 40px; padding: 7px 10px; border-radius: 5px; color: white; background: var(--asw-green); font-size: 12px; font-weight: 700; }
body[data-template="home"] #main .asw-benefits { padding-top: 22px; padding-bottom: 56px; }
body[data-template="home"] #main .asw-benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
body[data-template="home"] #main .asw-benefit { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--asw-line); border-radius: 10px; background: white; }
body[data-template="home"] #main .asw-benefit-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px; background: #edf8fb; color: var(--asw-blue); }
body[data-template="home"] #main .asw-benefit-icon svg { width: 20px; height: 20px; }
body[data-template="home"] #main .asw-benefit h3 { margin: 0 0 5px; font-size: 13px; font-weight: 800; line-height: 1.8; }
body[data-template="home"] #main .asw-benefit p { margin: 0; font-size: 11px; line-height: 1.9; color: #637d89; }

/* Keep genuine reviews and their attribution. */
body[data-template="home"] #main .section-testimonials .embla { --slide-spacing: 18px !important; --slide-size: 33.333333% !important; }
body[data-template="home"] #main .section-testimonials article { border-color: var(--asw-line); background: white; padding: 24px; border-radius: 10px; text-align: center; align-items: center; }
body[data-template="home"] #main .section-testimonials article p { margin-block: 14px; font-size: 13px; line-height: 1.9; }
body[data-template="home"] #main .section-testimonials article h3 { font-size: 12px; color: var(--asw-blue); }
body[data-template="home"] #main .section-testimonials article svg { width: 16px; height: 16px; }

body #footer { padding: 48px var(--asw-gutter) 24px; background: var(--asw-ink); color: #fff; }
body #footer .text-foreground { color: #e2f1f3; }
body #footer :is(h2,h3) { color: #fff; font-weight: 700; }
body #footer h2 { font-size: 23px; }
body #footer :is(p,a) { font-size: 12px; line-height: 2; }
body #footer .border-border-light { border-color: #ffffff24; }
body #footer a[href^="tel:"],
body #footer a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }

/* Rendering optimisation, not an API/HTML download blocker. */
@supports (content-visibility: auto) {
  body.asw-home #main > .asw-deferred { content-visibility: auto; contain-intrinsic-size: auto var(--asw-estimated-height, 550px); }
  body.asw-home #main > .asw-deferred.asw-near { content-visibility: visible; }
}

/* One reveal per item. No scroll handler, no perpetual will-change. */
body.asw-home #main .asw-watch { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .65s ease var(--asw-delay, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--asw-delay, 0ms); }
body.asw-home #main .asw-watch.asw-seen { opacity: 1; transform: translate3d(0, 0, 0); }
body.asw-home #main .asw-banner-motion :is(.asw-kicker, .asw-copy p, .asw-actions, .asw-highlight-text) { transition: opacity .65s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
body.asw-home #main .asw-banner-motion:not(.asw-seen) :is(.asw-kicker, .asw-copy p, .asw-actions, .asw-highlight-text) { opacity: 0; transform: translateY(18px); }
body.asw-home #main .asw-banner-motion .asw-copy h2::before { transition: transform .65s cubic-bezier(.2,.7,.2,1) .12s; }
body.asw-home #main .asw-banner-motion:not(.asw-seen) .asw-copy h2::before { transform: scaleX(0); }
body.asw-home #main .asw-banner-motion .asw-kicker { transition-delay: .04s; }
body.asw-home #main .asw-banner-motion .asw-highlight-text { transition-delay: .36s; }
body.asw-home #main .asw-banner-motion .asw-copy p { transition-delay: .52s; }
body.asw-home #main .asw-banner-motion .asw-actions { transition-delay: .65s; }
body.asw-home #main .asw-shine { position: relative; isolation: isolate; overflow: hidden; }
body.asw-home #main .asw-shine::after {
  content: '';
  position: absolute;
  top: -35%;
  left: -65%;
  width: 35%;
  height: 170%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #ffffff75, transparent);
  transform: translateX(0) skewX(-22deg);
  opacity: 0;
  animation: asw-shine 5s ease-in-out infinite;
  animation-play-state: paused;
}
body.asw-home #main .asw-shine.asw-inview::after { animation-play-state: running; }
body.asw-home.asw-tab-hidden #main .asw-shine::after { animation-play-state: paused; }
@keyframes asw-shine {
  0%, 87% { opacity: 0; transform: translateX(0) skewX(-22deg); }
  88% { opacity: .8; }
  99%, 100% { opacity: 0; transform: translateX(580%) skewX(-22deg); }
}

@media (max-width: 1099px) {
  body header .asw-nav { display: none !important; }
  body header button[aria-label="Toggle menu"] { display: block !important; }
  body[data-template="home"] #main .asw-copy { width: 44%; gap: 16px; }
  body[data-template="home"] #main .asw-copy h2 { padding: 6px 14px 9px; }
  body[data-template="home"] #main .asw-actions .btn { min-width: 170px; padding: 10px 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body .section-products .products-embla { --slide-size: 33.333333% !important; }
  body[data-template="home"] #main .section-categories .embla { --slide-size: 25% !important; }
  body[data-template="home"] #main .asw-benefit { padding: 16px 12px; gap: 9px; }
}
@media (max-width: 767px) {
  body[data-template="home"] { --asw-gutter: 14px; }
  body header { padding: 9px 10px; }
  body header nav { gap: 4px; }
  body header nav > div { flex: 1; justify-content: center; min-width: 0; }
  body header h2 { max-width: 138px; font-size: 12px; }
  body header .asw-logo { width: 102px; max-height: 44px; }
  body header nav > ul { gap: 0; }
  body header nav > ul .size-10 { width: 34px; height: 38px; }
  body .asw-topbar { font-size: 10px; padding-block: 5px; }
  body[data-template="home"] #main > .section-carousel .embla__slide { height: clamp(300px, 71vw, 440px); min-height: 0 !important; }
  body[data-template="home"] #main > .section-carousel picture img { object-fit: contain; object-position: center bottom !important; }
  body[data-template="home"] #main [data-asw-banner="hero"] { background: linear-gradient(135deg, #0792b4, #00aebe); }
  body[data-template="home"] #main [data-asw-banner="shipping"] { background: #009cb5; }
  body[data-template="home"] #main [data-asw-banner="offers"] { background: #08a8bc; }
  body[data-template="home"] #main :is([data-asw-banner="shoes"], [data-asw-banner="school"]) { background: #bcf0f4; }
  body[data-template="home"] #main .asw-banner-pad { padding-inline: 14px !important; }
  body[data-template="home"] #main .asw-copy { width: 45%; gap: 11px; }
  body[data-template="home"] #main .asw-copy > div:first-child { gap: 8px; }
  body[data-template="home"] #main .asw-copy .asw-kicker { font-size: clamp(19px, 3.8vw, 28px); line-height: 1.55; }
  body[data-template="home"] #main .asw-copy h2 { font-size: clamp(17px, 3.6vw, 27px); line-height: 1.5; padding: 6px 10px 8px; }
  body[data-template="home"] #main [data-asw-banner="shipping"] .asw-copy h2 { font-size: clamp(18px, 3.7vw, 27px); }
  body[data-template="home"] #main .asw-copy p { max-width: 100%; font-size: 11px; line-height: 1.9; }
  body[data-template="home"] #main .asw-actions { gap: 7px; }
  body[data-template="home"] #main .asw-actions .btn { min-width: 0; width: 100%; min-height: 40px; padding: 6px 8px; font-size: 10px; }
  html[lang^="en"] body[data-template="home"] #main .asw-copy .asw-kicker { font-size: clamp(16px, 3.4vw, 25px); line-height: 1.35; }
  html[lang^="en"] body[data-template="home"] #main .asw-copy h2 { font-size: clamp(16px, 3.3vw, 24px); }
  html[lang^="en"] body[data-template="home"] #main .asw-copy p { font-size: 10px; line-height: 1.65; }
  body[data-template="home"] #main > :is(.section-products, .section-categories, .section-testimonials) { padding-block: 28px; }
  body .section-products .products-embla { --slide-spacing: 10px !important; --slide-size: 50% !important; }
  body [data-product-card] { padding: 7px; gap: 9px; border-radius: 10px; }
  body [data-product-card] h3 { font-size: 11px; }
  body [data-product-card] :is([data-add-to-cart], [data-notify-me-trigger]) { min-height: 40px; font-size: 11px; }
  body[data-template="home"] #main .section-categories .embla { --slide-spacing: 10px !important; --slide-size: 35% !important; }
  body[data-template="home"] #main .section-categories h3 { font-size: 10px; }
  body[data-template="home"] #main .asw-custom { padding-bottom: 28px; }
  body[data-template="home"] #main .asw-shoe-panel { min-height: 260px; padding: 18px 10px; }
  body[data-template="home"] #main .asw-shoe-grid { gap: 8px; margin-top: 16px; }
  body[data-template="home"] #main .asw-shoe-card { padding: 5px; gap: 7px; border-radius: 8px; }
  body[data-template="home"] #main .asw-shoe-image { aspect-ratio: 1; padding: 3px; border-width: 1px; }
  body[data-template="home"] #main .asw-shoe-card h3 { font-size: 10px; line-height: 1.8; }
  body[data-template="home"] #main .asw-shoe-card .asw-card-cta { min-height: 40px; font-size: 9px; padding: 5px 2px; }
  body[data-template="home"] #main .asw-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  body[data-template="home"] #main .asw-benefit { padding: 13px 10px; gap: 9px; }
  body[data-template="home"] #main .asw-benefit-icon { width: 28px; height: 28px; }
  body[data-template="home"] #main .asw-benefit-icon svg { width: 16px; height: 16px; }
  body[data-template="home"] #main .asw-benefit h3 { font-size: 11px; }
  body[data-template="home"] #main .asw-benefit p { font-size: 10px; }
  body[data-template="home"] #main .section-testimonials .embla { --slide-size: 84% !important; --slide-spacing: 12px !important; }
  body[data-template="home"] #main .section-testimonials article { padding: 18px; }
  body #footer { padding-top: 32px; }
}
@media (max-width: 359px) {
  body[data-template="home"] #main > .section-carousel .embla__slide { height: 330px; }
  body[data-template="home"] #main .asw-copy { width: 47%; }
  body[data-template="home"] #main .asw-benefits-grid { grid-template-columns: 1fr; }
  body header h2 { max-width: 102px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.asw-home #main .asw-watch,
  body.asw-home #main .asw-banner-motion :is(.asw-kicker, .asw-copy p, .asw-actions, .asw-highlight-text) { opacity: 1 !important; transform: none !important; transition: none !important; }
  body.asw-home #main .asw-copy h2::before { transform: none !important; transition: none !important; }
  body.asw-home #main .asw-shine::after { content: none !important; animation: none !important; }
}
@media print {
  body.asw-home #main .asw-deferred { content-visibility: visible !important; }
  body.asw-home #main .asw-watch { opacity: 1 !important; transform: none !important; }
}

/* Match the English school artwork orientation from the reference. */
body[data-template="home"] #main .asw-school-mirrored picture img { transform: scaleX(-1); }

/* Global product sections: no section IDs and no homepage dependency. */
body .section-products { padding: clamp(28px, 3.5vw, 56px) clamp(14px, 4.4vw, 64px); background: #f5f9fa; }
body .section-products > .theme-container { max-width: 1320px; margin-inline: auto; }
body .section-products h2 { color: #123d4c; text-align: center; font-size: clamp(18px,1.65vw,25px); font-weight: 800; }

/* ASWAR school banner correction — append AFTER the main CSS.
   Arabic homepage school banner only. Products and other banners are untouched.
   Headline → description → button follow the stepped reference layout. */
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-banner-inner {
  width: 100%;
  max-width: none !important;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-banner-pad {
  align-items: flex-start;
  padding-top: min(9.2vw, 188px) !important;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy {
  width: 41%;
  max-width: none !important;
  margin-left: 0;
  margin-right: auto;
  gap: clamp(22px, 2.5vw, 40px);
  color: #087c9f;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy > div:first-child {
  width: 100%;
  gap: 0;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-kicker,
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2 {
  max-width: 100%;
  padding: 0;
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 4.15vw, 80px);
  font-weight: 800;
  line-height: 1.33;
  text-align: right;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2::before {
  content: none;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy p {
  width: 92%;
  max-width: none;
  align-self: flex-start;
  margin: clamp(18px, 1.8vw, 34px) 14% 0 0;
  color: inherit;
  font-size: clamp(18px, 2.75vw, 54px);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions {
  width: 100%;
  padding-left: 6%;
  padding-right: 33%;
  justify-content: flex-start;
  box-sizing: border-box;
}
html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions .btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: clamp(44px, 4.7vw, 90px);
  padding: 10px 16px;
  border-radius: 16px;
  font-size: clamp(12px, 1.5vw, 24px);
}
@media (max-width: 767px) {
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-banner-pad {
    padding-top: 18px !important;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy {
    width: 49%;
    gap: 13px;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-kicker,
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2 {
    font-size: clamp(17px, 3.4vw, 25px);
    line-height: 1.45;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy p {
    width: 91%;
    margin-top: 10px;
    margin-right: 6%;
    font-size: clamp(11px, 1.7vw, 14px);
    line-height: 1.7;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions {
    width: 82%;
    margin-right: 14%;
    padding: 0;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions .btn {
    min-height: 40px;
    padding: 6px 7px;
    border-radius: 8px;
    font-size: 10px;
  }
}

/* ASWAR v1.2 — add LAST, after the main CSS and school patch.
   Homepage mobile banners only. No product styling or desktop changes. */
@media (max-width: 767px) {
  body[data-template="home"] #main > .section-carousel .embla__slide {
    height: clamp(230px, 58vw, 445px) !important;
    min-height: 0 !important;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-backdrop,
  body[data-template="home"] #main [data-asw-banner] picture {
    width: 100%;
    height: 100%;
  }
  body[data-template="home"] #main [data-asw-banner] picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: right center !important;
  }
  body[data-template="home"] #main [data-asw-banner="shipping"] picture img,
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] picture img {
    object-position: left center !important;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-banner-pad {
    align-items: center;
    padding: 12px 14px !important;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-banner-inner {
    display: block !important;
    width: 100%;
    max-width: none !important;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy {
    width: 41%;
    max-width: none !important;
    min-width: 0;
    gap: 7px;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy > div:first-child {
    width: 100%;
    min-width: 0;
    gap: 4px;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy .asw-kicker {
    max-width: 100%;
    font-size: clamp(14px, 3.45vw, 22px);
    line-height: 1.4;
    letter-spacing: 0;
    text-wrap: balance;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy h2 {
    max-width: 100%;
    margin: 0;
    padding: 5px 7px 6px;
    font-size: clamp(14px, 3.35vw, 21px);
    line-height: 1.4;
    text-wrap: balance;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy h2::before {
    border-radius: 17px 5px 17px 5px;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-copy p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(9.5px, 2.1vw, 14px);
    line-height: 1.6;
    text-wrap: pretty;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-actions {
    width: 100%;
    gap: 5px;
    padding: 0;
    margin: 0;
  }
  body[data-template="home"] #main [data-asw-banner] .asw-actions .btn {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 36px;
    padding: 6px 7px;
    font-size: clamp(9px, 2vw, 13px);
    line-height: 1.5;
    border-radius: 6px;
    white-space: normal;
  }
  body[data-template="home"] #main [data-asw-banner="shipping"] .asw-copy h2 {
    padding: 0;
  }
  /* Keep school text in the empty upper-left area, including after v1.1. */
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-banner-pad {
    align-items: flex-start;
    padding: 22px 14px 10px !important;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy {
    width: 38%;
    gap: 10px;
    margin-left: 0;
    margin-right: auto;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy > div:first-child {
    gap: 0;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-kicker,
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2 {
    padding: 0;
    font-size: clamp(14px, 3.2vw, 21px);
    line-height: 1.45;
    color: #087c9f;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2::before {
    content: none;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-copy p {
    width: 91%;
    max-width: none;
    margin: 8px 6% 0 0;
    font-size: clamp(9.5px, 2.1vw, 14px);
    line-height: 1.6;
    text-align: center;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions {
    width: 82%;
    margin: 0 14% 0 0;
    padding: 0;
  }
  html:not([lang^="en"]) body[data-template="home"] #main [data-asw-banner="school"] .asw-actions .btn {
    min-height: 36px;
    padding: 6px 5px;
    font-size: clamp(9px, 2vw, 13px);
    border-radius: 6px;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy .asw-kicker {
    font-size: clamp(12px, 3vw, 20px);
    line-height: 1.3;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy h2 {
    font-size: clamp(12px, 2.9vw, 19px);
    line-height: 1.3;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy p {
    font-size: clamp(9px, 2vw, 13px);
    line-height: 1.5;
  }
}

/* v1.3 — English reference layout, after shared and mobile rules. */
@media (min-width: 768px) {
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-banner-pad {
    padding-inline: clamp(30px, 6vw, 120px) !important;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-banner-inner {
    width: 100%;
    max-width: none !important;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy {
    width: 38%;
    max-width: 600px !important;
    gap: clamp(16px, 1.7vw, 30px);
    color: #fff;
    text-align: left !important;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy > div:first-child {
    width: 100%;
    gap: clamp(12px, 1.2vw, 22px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-kicker {
    max-width: 100%;
    font-size: clamp(25px, 2.65vw, 50px);
    line-height: 1.3;
    font-weight: 800;
    color: inherit;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy h2 {
    font-size: clamp(25px, 2.6vw, 48px);
    line-height: 1.3;
    padding: 9px 20px 11px;
    font-weight: 800;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy p {
    max-width: 100%;
    font-size: clamp(14px, 1.35vw, 23px);
    line-height: 1.6;
    font-weight: 500;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-actions .btn {
    height: auto;
    min-height: 48px;
    min-width: 210px;
    max-width: 100%;
    font-size: clamp(13px, 1.05vw, 18px);
    line-height: 1.5;
    white-space: normal;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="shipping"] .asw-copy h2 {
    padding: 0;
    font-size: clamp(24px, 2.4vw, 44px);
    color: #7df4cf;
  }
  html[lang^="en"] body[data-template="home"] #main :is([data-asw-banner="shoes"], [data-asw-banner="school"]) .asw-copy {
    color: #087c9f;
  }
}
html[lang^="en"] body[data-template="home"] #main [data-asw-banner] .asw-copy {
  text-align: left !important;
}
html[lang^="en"] body[data-template="home"] #main .section-categories h3 {
  text-align: center;
  text-transform: none;
}

/* ASWAR v1.4 — append after v1.3 CSS. English homepage only. */
html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-school-mirrored picture img {
  transform: none !important;
}
/* Recompose the original school photograph without mirroring its printed labels.
   Preserve its 16:9 ratio; move its empty left wall outside the visible area. */
html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"][data-asw-school-art="original"] {
  background: linear-gradient(150deg, #c4eaf2 0%, #dcf2f7 65%, #dcebf0 100%);
}
html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"][data-asw-school-art="original"] .asw-backdrop {
  background: inherit;
}
html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"][data-asw-school-art="original"] picture {
  position: absolute;
  left: -24%;
  right: auto;
  top: auto;
  bottom: 0;
  width: 85%;
  height: auto;
  aspect-ratio: 16 / 9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%);
}
html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"][data-asw-school-art="original"] picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
@media (min-width: 768px) {
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-banner-pad {
    align-items: flex-start;
    padding-top: min(12.5vw, 240px) !important;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy {
    width: 34%;
    max-width: 540px !important;
    gap: clamp(12px, 1.35vw, 24px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy > div:first-child {
    gap: clamp(10px, 1vw, 18px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-kicker {
    font-size: clamp(17px, 2.05vw, 40px);
    line-height: 1.35;
    text-wrap: pretty;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy h2 {
    font-size: clamp(19px, 2.1vw, 42px);
    line-height: 1.35;
    padding: 8px 15px 10px;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy p {
    font-size: clamp(12px, 1.1vw, 20px);
    line-height: 1.65;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-actions {
    width: min(100%, 320px);
    gap: 10px;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    font-size: clamp(11px, .95vw, 17px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-copy {
    width: 32%;
    max-width: 480px !important;
    gap: clamp(14px, 1.4vw, 25px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-kicker {
    font-size: clamp(22px, 2.2vw, 42px);
    line-height: 1.3;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-copy h2 {
    font-size: clamp(21px, 2.25vw, 43px);
    padding: 8px 15px 10px;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-copy p {
    font-size: clamp(12px, 1.1vw, 20px);
    line-height: 1.65;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-actions .btn {
    min-height: 44px;
    min-width: 0;
    width: min(100%, 300px);
    padding: 9px 12px;
    font-size: clamp(11px, .95vw, 17px);
  }
}
@media (max-width: 767px) {
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy { gap: 6px; }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy > div:first-child { gap: 5px; }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-kicker {
    font-size: clamp(10.5px, 2.75vw, 16.5px);
    line-height: 1.35;
    text-wrap: pretty;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy h2 {
    padding: 5px 6px 6px;
    font-size: clamp(12px, 3.15vw, 19px);
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-copy p {
    font-size: clamp(9.5px, 2.35vw, 13px);
    line-height: 1.55;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-actions { gap: 4px; }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="hero"] .asw-actions .btn {
    min-height: 36px;
    padding: 5px 6px;
    font-size: clamp(9px, 2.25vw, 13px);
    line-height: 1.35;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"][data-asw-school-art="original"] picture {
    left: -25%;
    width: 82%;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-copy {
    width: 39%;
    gap: 8px;
  }
  html[lang^="en"] body[data-template="home"] #main [data-asw-banner="school"] .asw-copy > div:first-child { gap: 5px; }
}
html[lang^="en"] body[data-template="home"] #main .section-categories > .theme-container > div:first-child {
  display: flex;
  justify-content: center;
}
@media (max-width: 1023px) {
  html[lang^="en"] body[data-template="home"] .loyalty_footer_btn {
    width: 44px !important;
    height: 44px !important;
    padding: 9px !important;
    border-radius: 50% !important;
  }
  html[lang^="en"] body[data-template="home"] .loyalty_footer_btn > svg { width: 26px; height: 26px; }
  html[lang^="en"] body[data-template="home"] .loyalty_footer_btn > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
}

/* v1.5 — shared header/footer tokens and containers on every template. */
:root {
  --asw-gutter: clamp(16px, 4.4vw, 64px);
  --asw-width: 1320px;
  --asw-ui-font: 'Cairo', Tahoma, Arial, sans-serif;
}
html[lang^="en"] { --asw-ui-font: 'Montserrat', Arial, sans-serif; }
body :is(header, #footer, .asw-topbar) { font-family: var(--asw-ui-font); }
body :is(header, #footer) .theme-container {
  width: 100%;
  max-width: var(--asw-width);
  margin-inline: auto;
}
body :is(header, #footer) :is(button, input, select, textarea) { font-family: inherit; }
body :is(header, #footer) :is(a, button):focus-visible { outline: 3px solid #0782a8; outline-offset: 4px; }
@media (max-width: 767px) { :root { --asw-gutter: 14px; } }

/* v1.6 — explicit global navigation, independent of native utility classes. */
body header .asw-nav {
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  padding: 0;
  margin: 0;
  list-style: none;
}
body header .asw-nav > li { flex: 0 0 auto; }
body header .asw-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #123d4c;
  font: 700 12px/1.5 var(--asw-ui-font);
  white-space: nowrap;
  text-decoration: none;
}
body header .asw-nav a:hover { color: #087c9f; }
@media (min-width: 1100px) {
  body header .asw-nav { display: flex !important; }
  body header button[aria-label="Toggle menu"] { display: none !important; }
}
@media (max-width: 1099px) {
  body header .asw-nav { display: none !important; }
  body header button[aria-label="Toggle menu"] { display: block !important; }
}
body header [data-asw-mobile-links] > a {
  display: block;
  width: 100%;
  padding: 12px 24px;
  color: #123d4c;
  font: 600 14px/1.8 var(--asw-ui-font);
  text-align: start;
}