/*
 * The Wall Arts — Zid visual refresh
 * Reference direction: Wood Workers EG
 * تصميم متوافق مع العربية والإنجليزية ومع محتوى Zid الديناميكي
 * No section or product content is hard-coded in this file.
 */

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&display=swap");

:root {
  --wa-ink: #201f1e;
  --wa-brown: #584a37;
  --wa-brown-dark: #342a21;
  --wa-cream: #f5f4ef;
  --wa-cream-deep: #ede9e3;
  --wa-white: #fff;
  --wa-line: rgba(88, 74, 55, 0.18);
  --wa-shadow: 0 18px 50px rgba(52, 42, 33, 0.1);
  --wa-shadow-soft: 0 10px 30px rgba(52, 42, 33, 0.07);
  --wa-radius-sm: 12px;
  --wa-radius: 20px;
  --wa-radius-lg: 28px;
  --wa-container: 1380px;
  --wa-header-offset: 138px;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body.min-h-dvh {
  margin: 0;
  overflow-x: clip;
  background: var(--wa-cream) !important;
  color: var(--wa-ink);
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

html[lang^="ar"] body.min-h-dvh,
html[dir="rtl"] body.min-h-dvh {
  font-family: "Cairo", Tahoma, Arial, sans-serif !important;
}

body :where(button, input, textarea, select) {
  font: inherit;
}

body :where(a, button) {
  -webkit-tap-highlight-color: transparent;
}

body .theme-container {
  width: min(100%, var(--wa-container));
  margin-inline: auto;
}

body :where(h1, h2, h3, h4) {
  color: var(--wa-ink);
  text-wrap: balance;
}

/* Announcement + header / شريط الإعلان والهيدر */
body > .sticky.top-0.z-50 {
  z-index: 60;
  isolation: isolate;
  transition: filter 220ms ease, transform 220ms ease;
}

body > .sticky.top-0.z-50 > .bg-primary {
  background: var(--wa-brown) !important;
  color: var(--wa-cream) !important;
  border: 0 !important;
}

body .announcement-marquee {
  min-height: 38px;
  padding-block: 9px !important;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

body > .sticky.top-0.z-50 > header {
  min-height: 92px;
  padding-block: 14px !important;
  background: rgba(245, 244, 239, 0.96) !important;
  border-color: var(--wa-line) !important;
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: min-height 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

body.wa-page-scrolled > .sticky.top-0.z-50 > header {
  min-height: 76px;
  padding-block: 9px !important;
  box-shadow: 0 12px 34px rgba(52, 42, 33, 0.09);
}

body > .sticky nav a,
body > .sticky nav button {
  color: var(--wa-ink) !important;
}

body > .sticky nav ul > li > :where(a, button) {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

body > .sticky nav ul > li > :where(a, button)::after {
  position: absolute;
  inset-inline: 0;
  bottom: -7px;
  height: 1px;
  content: "";
  background: var(--wa-brown);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

body > .sticky nav ul > li > :where(a, button):hover::after,
body > .sticky nav ul > li > :where(a, button):focus-visible::after {
  transform: scaleX(1);
}

body > .sticky nav img {
  transition: transform 220ms ease;
}

body.wa-page-scrolled > .sticky nav img {
  transform: scale(0.92);
}

/*
 * Header match — Wood Workers inspired layout
 * نفس تكوين الهيدر المرجعي مع الإبقاء على وظائف Zid الأصلية
 */
body > .sticky.top-0.z-50 > header > nav {
  min-height: 66px;
  gap: clamp(18px, 2.6vw, 42px);
}

body > .sticky.top-0.z-50 > header > nav > .flex.items-center.gap-8 {
  min-width: 0;
  flex: 1 1 auto;
  gap: clamp(24px, 4vw, 58px) !important;
}

/* The uploaded logo has a pale image background. Multiply visually removes it. */
body > .sticky nav a[aria-label="Home"] {
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
}

body > .sticky nav a[aria-label="Home"] img[alt="The Wall Arts"] {
  width: auto !important;
  max-width: 106px;
  height: 66px !important;
  max-height: 66px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(0.92);
}

body > .sticky nav > .flex.items-center.gap-8 > ul.lg\:flex {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(18px, 2.25vw, 34px) !important;
}

body > .sticky nav > .flex.items-center.gap-8 > ul.lg\:flex > li {
  flex: 0 0 auto;
}

body > .sticky nav > .flex.items-center.gap-8 > ul.lg\:flex > li > :where(a, button),
body > .sticky nav > .flex.items-center.gap-8 > ul.lg\:flex > li el-dropdown > button,
body > .sticky nav > .flex.items-center.gap-8 > ul.lg\:flex > li .relative.inline-block > button {
  padding-block: 14px !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Search, language and account circles */
body > .sticky nav > ul.flex.items-center.gap-1 {
  flex: 0 0 auto;
  gap: 8px !important;
}

body > .sticky nav > ul.flex.items-center.gap-1 > li > :where(button, a),
body > .sticky nav > ul.flex.items-center.gap-1 > li > el-dialog > button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--wa-cream-deep);
  color: var(--wa-ink) !important;
  text-decoration: none !important;
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, transform 180ms ease;
}

body > .sticky nav > ul.flex.items-center.gap-1 > li > :where(button, a):hover,
body > .sticky nav > ul.flex.items-center.gap-1 > li > el-dialog > button:hover {
  border-color: var(--wa-line);
  background: var(--wa-white);
  transform: translateY(-1px);
}

/* Shipping country and language share one header slot. */
header nav li.wa-country-control {
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  header nav li.wa-country-control {
    display: flex !important;
  }
}

header nav button[onclick="zidOpenRegionSettingDialog()"] {
  gap: 0 !important;
  overflow: hidden;
  font-size: 0 !important;
}

header nav button[onclick="zidOpenRegionSettingDialog()"] svg {
  width: 22px;
  height: 22px;
  flex: none;
}

header .wa-language-picker {
  position: relative;
  z-index: 2;
  color: var(--wa-ink);
  font-size: 0.875rem;
  white-space: nowrap;
}

header .wa-language-picker summary,
header .wa-language-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

header .wa-language-picker summary {
  cursor: pointer;
  list-style: none;
}

header .wa-language-picker summary::-webkit-details-marker {
  display: none;
}

header .wa-language-picker summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

header .wa-language-picker[open] summary::after {
  transform: rotate(225deg);
}

header .wa-language-picker img {
  display: none !important;
}

header .wa-language-options {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 164px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--wa-line);
  border-radius: var(--wa-radius-sm);
  background: var(--wa-white);
  box-shadow: var(--wa-shadow-soft);
  list-style: none;
}

header .wa-language-options button {
  width: 100%;
  text-align: start;
  color: inherit;
  border-radius: 8px;
  text-decoration: none;
}

header .wa-language-options button:is(:hover, :focus-visible, [aria-current]) {
  background: var(--wa-cream);
}

header .wa-language-options button[aria-current]::after {
  content: "✓";
  margin-inline-start: auto;
  color: var(--wa-brown);
}

header .wa-drawer-country + .wa-language-picker {
  width: 100%;
  padding-inline: 12px;
}

header .wa-drawer-country + .wa-language-picker .wa-language-options {
  position: static;
}

header nav .wa-drawer-country {
  font-size: 0 !important;
}

header nav .wa-drawer-country .nav-country-text {
  display: none;
}

header nav .wa-drawer-country::after {
  content: attr(data-wa-country-label);
  font-size: 0.875rem;
}

html:not([data-wa-region-mode="language"]) [role="dialog"]:has(.country-select)
  :is(.wa-language-title, .MuiGrid-root:has(> .language-select)),
html[data-wa-region-mode="language"] [role="dialog"]:has(.country-select):has(.language-select)
  :is(.MuiDialogTitle-root:has(> .wa-language-title) > :not(.wa-language-title),
    .MuiDialogContent-root > .MuiStack-root > p, .MuiGrid-root:has(> .country-select)) {
  display: none !important;
}

[role="dialog"]:has(.country-select):has(.language-select)
  .MuiGrid-root:has(> :is(.country-select, .language-select)) {
  width: 100%;
  flex-basis: 100%;
  max-width: 100%;
}

/* Dark cart button, matching the black cart treatment in the reference. */
body > .sticky nav > ul.flex.items-center.gap-1 > li.relative > a[href*="/cart"] {
  width: 56px !important;
  min-width: 56px;
  border-color: var(--wa-ink);
  border-radius: 999px;
  background: var(--wa-ink) !important;
  color: var(--wa-white) !important;
}

body > .sticky nav > ul.flex.items-center.gap-1 > li.relative > a[href*="/cart"] svg {
  color: var(--wa-white) !important;
}

body > .sticky nav [data-cart-badge] {
  top: -5px !important;
  inset-inline-end: -3px !important;
  right: auto !important;
  min-width: 20px;
  padding-inline: 4px;
  background: var(--wa-brown) !important;
  color: var(--wa-white) !important;
  box-shadow: 0 0 0 2px var(--wa-cream);
}

/* Dropdowns */
body > .sticky nav :where(el-menu, el-popover) {
  margin-top: 8px;
  padding: 8px !important;
  border: 1px solid var(--wa-line) !important;
  border-radius: 14px !important;
  background: rgba(245, 244, 239, 0.98) !important;
  box-shadow: 0 18px 44px rgba(52, 42, 33, 0.13) !important;
  backdrop-filter: blur(18px);
}

body > .sticky nav :where(el-menu, el-popover) a {
  min-height: 38px;
  border-radius: 9px !important;
}

body > .sticky nav :where(el-menu, el-popover) a:hover {
  background: var(--wa-cream-deep) !important;
}

/* Buttons / الأزرار */
body .btn {
  min-height: 46px;
  border-radius: 999px !important;
  border-width: 1px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease,
    background-color 180ms ease, border-color 180ms ease;
}

body .btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(52, 42, 33, 0.14);
}

body .btn-filled {
  background: var(--wa-brown-dark) !important;
  border-color: var(--wa-brown-dark) !important;
  color: var(--wa-white) !important;
}

body .btn-outlined {
  background: transparent !important;
  border-color: var(--wa-brown) !important;
  color: var(--wa-brown-dark) !important;
}

body .btn-outlined:not(:disabled):hover {
  background: var(--wa-brown-dark) !important;
  border-color: var(--wa-brown-dark) !important;
  color: var(--wa-white) !important;
}

body :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--wa-brown);
  outline-offset: 3px;
}

/* Hero / الواجهة الرئيسية */
body #main {
  background: var(--wa-cream);
}

body .section-hero {
  width: auto;
  min-height: clamp(520px, calc(100svh - var(--wa-header-offset)), 760px) !important;
  margin: clamp(14px, 2.4vw, 34px) clamp(14px, 4.8vw, 64px) 0;
  padding-inline: clamp(22px, 5vw, 80px) !important;
  border: 1px solid rgba(88, 74, 55, 0.42);
  border-radius: var(--wa-radius-lg);
  box-shadow: var(--wa-shadow-soft);
  background: var(--wa-cream-deep);
  isolation: isolate;
}

body .section-hero > .absolute.inset-0 {
  overflow: hidden;
  border-radius: inherit;
}

body .section-hero picture,
body .section-hero picture img {
  width: 100%;
  height: 100%;
}

body .section-hero picture img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body .section-hero:hover picture img {
  transform: scale(1.018);
}

body .section-hero > .absolute.inset-0 > .bg-primary {
  background: linear-gradient(
    90deg,
    rgba(32, 31, 30, 0.52) 0%,
    rgba(32, 31, 30, 0.16) 46%,
    rgba(32, 31, 30, 0.03) 75%
  ) !important;
}

html[dir="rtl"] body .section-hero > .absolute.inset-0 > .bg-primary {
  background: linear-gradient(
    270deg,
    rgba(32, 31, 30, 0.52) 0%,
    rgba(32, 31, 30, 0.16) 46%,
    rgba(32, 31, 30, 0.03) 75%
  ) !important;
}

body .section-hero > .theme-container {
  position: relative;
  width: 100%;
  margin-inline: 0;
}

body .section-hero h1,
body .section-hero h2 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 76px) !important;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

html[lang^="ar"] body .section-hero h1,
html[lang^="ar"] body .section-hero h2,
html[dir="rtl"] body .section-hero h1,
html[dir="rtl"] body .section-hero h2 {
  line-height: 1.25;
  letter-spacing: 0;
}

/* Existing sections only / تنسيق الأقسام الموجودة فقط */
body :where(.section-products, .section-gallery, .section-testimonials) {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) !important;
  padding-inline: clamp(16px, 4.8vw, 64px) !important;
}

body .section-products + .section-products {
  padding-top: clamp(16px, 2.4vw, 34px) !important;
}

body :where(.section-products, .section-gallery, .section-testimonials) h2 {
  font-size: clamp(28px, 3.1vw, 44px) !important;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600 !important;
}

html[lang^="ar"] body :where(.section-products, .section-gallery, .section-testimonials) h2,
html[dir="rtl"] body :where(.section-products, .section-gallery, .section-testimonials) h2 {
  line-height: 1.35;
  letter-spacing: 0;
}

/* Product cards — cards remain generated and managed by Zid */
body .products-embla {
  margin-inline: 0 !important;
}

body .products-embla__viewport {
  margin-inline: -5px;
  padding: 8px 5px 18px !important;
}

body .products-embla__container {
  align-items: stretch;
  gap: clamp(14px, 1.6vw, 24px);
}

body .products-embla__slide {
  min-width: 0;
}

body [data-product-card].wa-reference-card {
  position: relative;
  height: 100%;
  gap: 0 !important;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(82, 70, 53, 0.09);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(52, 42, 33, 0.045);
  transition: transform 320ms cubic-bezier(0.3, 1, 0.3, 1),
    box-shadow 320ms ease, border-color 320ms ease;
}

body [data-product-card].wa-reference-card:hover {
  border-color: rgba(82, 70, 53, 0.16);
  box-shadow: 0 15px 38px rgba(52, 42, 33, 0.11);
  transform: translateY(-4px);
}

body [data-product-card].wa-reference-card > a:first-child {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border: 0;
  border-radius: 0 !important;
  background: #f0eee9;
  box-shadow: none;
}

body [data-product-card].wa-reference-card > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.3, 1, 0.3, 1),
    filter 320ms ease;
}

body [data-product-card].wa-reference-card:hover > a:first-child img {
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.015);
}

body [data-product-card].wa-reference-card > a:first-child + div {
  flex: 0 0 auto;
  gap: 12px !important;
  padding: clamp(16px, 1.7vw, 22px) clamp(16px, 1.7vw, 22px) 10px;
}

body [data-product-card].wa-reference-card h3 {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.45;
  font-weight: 600 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-product-card].wa-reference-card h3 a {
  display: block;
  overflow: hidden;
  color: var(--wa-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms ease;
}

body [data-product-card].wa-reference-card h3 a:hover {
  color: var(--wa-brown);
}

body [data-product-card].wa-reference-card p.text-foreground {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px) !important;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--wa-ink) !important;
}

body [data-product-card].wa-reference-card p.text-muted {
  display: none !important;
}

/* Live Zid variants replace "Select options" with reference-style swatches. */
body [data-product-card].wa-reference-card .wa-card-variants {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

body [data-product-card].wa-reference-card .wa-card-variant-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

body [data-product-card].wa-reference-card .wa-card-variant-label {
  overflow: hidden;
  color: rgba(35, 31, 27, 0.62);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-product-card].wa-reference-card .wa-card-variant-choices {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}

body [data-product-card].wa-reference-card .wa-card-variant-choices::-webkit-scrollbar {
  display: none;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice {
  position: relative;
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(82, 70, 53, 0.2);
  background: #fff;
  color: var(--wa-ink);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease,
    opacity 180ms ease, transform 180ms ease;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice:hover {
  border-color: rgba(82, 70, 53, 0.62);
  transform: translateY(-1px);
}

body [data-product-card].wa-reference-card .wa-card-variant-choice:focus-visible {
  outline: 2px solid rgba(190, 147, 55, 0.48);
  outline-offset: 2px;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice--text {
  max-width: 155px;
  overflow: hidden;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body [data-product-card].wa-reference-card :is(.wa-card-variant-choice--color, .wa-card-variant-choice--image) {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 3px;
  border-radius: 50%;
  background-clip: content-box;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice--color {
  background-color: var(--wa-choice-color, #d6c8b4);
}

body [data-product-card].wa-reference-card .wa-card-variant-choice--image {
  background-image: var(--wa-choice-image);
  background-position: center;
  background-size: cover;
}

body [data-product-card].wa-reference-card :is(.wa-card-variant-choice--color, .wa-card-variant-choice--image) .wa-card-variant-choice__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice.is-selected {
  border-color: #28231e;
  box-shadow: 0 0 0 1px #28231e;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice--text.is-selected {
  background: #28231e;
  color: #fff;
}

body [data-product-card].wa-reference-card .wa-card-variant-choice.is-unavailable {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

body [data-product-card].wa-reference-card[data-wa-variants-ready="true"] > a:first-child + div {
  padding-bottom: clamp(17px, 1.7vw, 22px);
}

body [data-product-card].wa-reference-card[data-wa-variants-ready="true"] > .mt-auto {
  display: none !important;
}

body [data-product-card].wa-reference-card [data-wishlist-btn] {
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  width: clamp(40px, 3.5vw, 48px) !important;
  height: clamp(40px, 3.5vw, 48px) !important;
  min-height: 40px;
  padding: 0 !important;
  border: 1px solid rgba(88, 74, 55, 0.13);
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--wa-brown-dark) !important;
  box-shadow: 0 6px 18px rgba(52, 42, 33, 0.1);
  backdrop-filter: blur(10px);
  transform: none;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease,
    background-color 180ms ease;
}

html[dir="rtl"] body [data-product-card].wa-reference-card [data-wishlist-btn] {
  right: auto !important;
  left: 12px !important;
}

body [data-product-card].wa-reference-card:hover [data-wishlist-btn],
body [data-product-card].wa-reference-card [data-wishlist-btn]:focus-visible,
body [data-product-card].wa-reference-card [data-wishlist-btn][data-active="true"] {
  opacity: 1;
  transform: none;
}

body [data-product-card].wa-reference-card > a:first-child > .absolute.top-4 {
  top: 22px !important;
  z-index: 3;
}

body [data-product-card].wa-reference-card > a:first-child > .absolute.top-4 :where(span, [class*="badge"]):not(.hidden) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 9px;
  background: #201f1e !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

body [data-product-card].wa-reference-card [data-wishlist-btn]:hover {
  background: #fff !important;
}

body [data-product-card].wa-reference-card > .mt-auto {
  margin-top: auto;
  padding: 4px clamp(16px, 1.7vw, 22px) clamp(16px, 1.7vw, 22px);
}

body [data-product-card].wa-reference-card > .mt-auto > .btn,
body [data-product-card].wa-reference-card > .mt-auto > [data-quantity-section] {
  width: 100% !important;
}

body [data-product-card].wa-reference-card .btn-lg {
  min-height: 40px;
  padding: 9px 14px !important;
  border-color: rgba(82, 70, 53, 0.35) !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #524635 !important;
  font-size: 12px;
  box-shadow: none;
}

body [data-product-card].wa-reference-card .btn-lg:hover,
body [data-product-card].wa-reference-card .btn-lg:focus-visible {
  border-color: #524635 !important;
  background: #524635 !important;
  color: #fff !important;
  transform: none;
}

body [data-product-card].wa-reference-card .qty-input {
  min-height: 40px;
  overflow: hidden;
  border: 1px solid rgba(82, 70, 53, 0.25);
  border-radius: 7px;
  background: #f8f7f3;
}

body [data-product-card].wa-reference-card .qty-input-btn {
  color: #524635;
}

body [data-product-card].wa-reference-card .qty-input-field {
  background: transparent;
  color: var(--wa-ink);
}

/* Keep wishlist available on touch devices where hover does not exist. */
@media (hover: none) {
  body [data-product-card].wa-reference-card [data-wishlist-btn] {
    opacity: 1;
    transform: none;
  }
}

body .products-embla__progress {
  height: 2px !important;
  margin-top: 18px;
  background: rgba(88, 74, 55, 0.12) !important;
}

body .products-embla__progress-bar {
  background: var(--wa-brown) !important;
}

body :where(.products-embla__prev, .products-embla__next, .embla__prev, .embla__next) {
  border: 1px solid var(--wa-line);
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--wa-brown-dark) !important;
  box-shadow: var(--wa-shadow-soft);
  backdrop-filter: blur(10px);
}

/*
 * Gallery as a two-column multi-content section
 * صورة + محتوى بنفس روح الـ multi-content في الموقع المرجعي
 */
body .section-gallery {
  padding-block: clamp(34px, 5vw, 72px) !important;
  background: var(--wa-cream) !important;
}

body .section-gallery .theme-container > .grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch;
  gap: clamp(24px, 3vw, 40px) !important;
}

body .section-gallery .group.relative.overflow-hidden {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

body .section-gallery .group.relative.overflow-hidden.wa-gallery-media-card {
  position: relative;
  align-self: start;
  overflow: visible !important;
  isolation: isolate;
}

body .section-gallery .group.relative.overflow-hidden.wa-gallery-media-card::before {
  position: absolute;
  inset: -8px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(203, 160, 72, 0.52);
  border-radius: calc(var(--wa-radius-sm) + 8px);
  background: transparent;
  box-shadow: 0 0 18px rgba(218, 174, 79, 0.46),
    0 0 42px rgba(190, 148, 70, 0.34),
    0 0 72px rgba(190, 148, 70, 0.2);
  pointer-events: none;
  transition: border-color 300ms ease, box-shadow 300ms ease,
    transform 300ms ease;
}

body .section-gallery .wa-gallery-media-card .media-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid rgba(82, 70, 53, 0.32);
  border-radius: var(--wa-radius-sm);
  background: transparent !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.34),
    0 0 38px rgba(190, 148, 70, 0.3),
    0 18px 45px rgba(52, 42, 33, 0.1);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

body .section-gallery .wa-gallery-media-card .media-wrap img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 350ms ease;
}

body .section-gallery .wa-gallery-media-card:hover .media-wrap img {
  transform: scale(1.035);
  filter: saturate(0.96) contrast(1.015);
}

body .section-gallery .wa-gallery-content-card {
  display: flex;
  min-height: 100%;
  align-items: center;
  overflow: visible;
}

body .section-gallery .wa-gallery-content-card > .media-wrap {
  display: none !important;
}

body .section-gallery .wa-gallery-content-card > .absolute.inset-0 {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  min-height: 100%;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 30px !important;
  padding: clamp(30px, 5.2vw, 78px) clamp(12px, 2vw, 30px) !important;
  background: transparent !important;
  text-align: start;
}

body .section-gallery .wa-gallery-content-card h3 {
  width: 100%;
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.75;
  font-weight: 400 !important;
  letter-spacing: 0;
  color: var(--wa-ink) !important;
  text-align: start !important;
  text-wrap: pretty;
}

html[lang^="ar"] body .section-gallery .wa-gallery-content-card h3,
html[dir="rtl"] body .section-gallery .wa-gallery-content-card h3 {
  line-height: 1.95;
}

body .section-gallery .wa-gallery-content-card .flex.flex-wrap {
  width: 100%;
  max-width: 620px;
  justify-content: flex-start !important;
}

body .section-gallery .wa-gallery-content-card .btn.btn-filled.wa-special-btn {
  position: relative;
  display: flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 15px 30px 15px 65px !important;
  overflow: visible;
  border: 2px solid #524635 !important;
  border-radius: 30px !important;
  background: #524635 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-decoration: none;
  transform: none;
  isolation: isolate;
  transition: 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

body .section-gallery .wa-gallery-content-card .wa-special-btn::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  z-index: 0;
  width: 50px;
  content: "";
  border-radius: 40px;
  background: #fff;
  transition: 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

body .section-gallery .wa-special-btn__icon {
  position: absolute;
  inset-block-start: 3px;
  inset-inline-start: 3px;
  z-index: 2;
  display: flex;
  width: 44px;
  height: calc(100% - 6px);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #524635;
  transition: 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

body .section-gallery .wa-special-btn__icon svg {
  display: block;
  width: 18px;
  height: 19px;
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

body .section-gallery .wa-special-btn__label {
  position: relative;
  z-index: 3;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
  white-space: nowrap;
  transition: color 0.32s cubic-bezier(0.3, 1, 0.3, 1);
}

body .section-gallery .wa-gallery-content-card .wa-special-btn:hover,
body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible {
  background: #524635 !important;
  box-shadow: none !important;
  color: #524635 !important;
  transform: none;
}

body .section-gallery .wa-gallery-content-card .wa-special-btn:hover::after,
body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible::after {
  width: 100%;
}

body .section-gallery .wa-gallery-content-card .wa-special-btn:hover .wa-special-btn__label,
body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible .wa-special-btn__label {
  opacity: 1 !important;
  visibility: visible !important;
  color: #524635 !important;
}

body .section-gallery .wa-gallery-content-card .wa-special-btn:hover .wa-special-btn__icon,
body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible .wa-special-btn__icon {
  inset-inline-start: calc(100% - 47px);
}

body .section-gallery .wa-gallery-content-card .wa-special-btn:hover .wa-special-btn__icon svg,
body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible .wa-special-btn__icon svg {
  transform: rotate(45deg);
}

html[dir="rtl"] body .section-gallery .wa-special-btn__icon svg {
  transform: rotate(180deg);
}

html[dir="rtl"] body .section-gallery .wa-gallery-content-card .wa-special-btn:hover .wa-special-btn__icon svg,
html[dir="rtl"] body .section-gallery .wa-gallery-content-card .wa-special-btn:focus-visible .wa-special-btn__icon svg {
  transform: rotate(135deg);
}

/* Reviews / آراء العملاء */
body .section-testimonials {
  background: var(--wa-cream) !important;
}

body .section-testimonials article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 32px) !important;
  border: 1px solid var(--wa-line) !important;
  border-radius: var(--wa-radius) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: var(--wa-shadow-soft);
}

body .section-testimonials article::after {
  position: absolute;
  inset-inline-end: 20px;
  bottom: -24px;
  content: "\201C";
  color: rgba(88, 74, 55, 0.09);
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  pointer-events: none;
}

body .section-testimonials article p {
  position: relative;
  z-index: 1;
  line-height: 1.8;
  unicode-bidi: plaintext;
  text-align: start;
}

body .section-testimonials .text-warning {
  color: #a9792d !important;
}

/* Footer / الفوتر */
body #footer {
  padding-block: clamp(50px, 7vw, 86px) 28px !important;
  padding-inline: clamp(18px, 4.8vw, 64px) !important;
  border-top: 0;
  background: var(--wa-brown-dark) !important;
  color: rgba(255, 255, 255, 0.78);
}

body #footer :where(h2, h3, h4) {
  color: var(--wa-white) !important;
}

body #footer :where(a, p, li, span) {
  color: inherit;
}

body #footer a {
  text-underline-offset: 4px;
  transition: color 160ms ease, opacity 160ms ease;
}

body #footer a:hover {
  color: var(--wa-white) !important;
}

body #footer .border-border-light {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Dynamic enhancement states supplied by the JS file */
body.wa-enhanced .wa-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--wa-reveal-delay, 0ms);
}

body.wa-enhanced .wa-reveal.wa-in-view {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {
  :root {
    --wa-header-offset: 128px;
  }

  body .section-hero {
    margin-inline: 28px;
  }

  body [data-product-card] h3 {
    min-height: 0;
  }
}

/* Mobile / الموبايل */
@media (max-width: 767px) {
  :root {
    --wa-radius: 16px;
    --wa-radius-lg: 20px;
    --wa-header-offset: 112px;
  }

  body > .sticky.top-0.z-50 > header {
    min-height: 70px;
    padding-block: 8px !important;
  }

  body > .sticky.top-0.z-50 > header > nav {
    position: relative;
    min-height: 54px;
    gap: 8px;
  }

  body > .sticky nav el-dialog > button[aria-label="Toggle menu"] {
    width: 44px !important;
    height: 44px !important;
    padding: 12px !important;
    border: 1px solid var(--wa-line);
    border-radius: 50%;
    background: var(--wa-cream-deep);
  }

  body > .sticky.top-0.z-50 > header > nav > .flex.items-center.gap-8 {
    min-width: 0;
    flex: 0 0 auto;
    gap: 0 !important;
  }

  body > .sticky nav a:has(img[alt="The Wall Arts"]) {
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    min-width: 0;
    width: max-content;
    padding: 0 !important;
    translate: none !important;
    transform: translate(-50%, -50%) !important;
  }

  body > .sticky nav a:has(img[alt="The Wall Arts"]) img[alt="The Wall Arts"] {
    position: static !important;
    width: auto !important;
    max-width: 88px;
    height: 48px !important;
    max-height: 48px !important;
    translate: none !important;
    transform: none !important;
    transform-origin: center;
  }

  body.wa-page-scrolled > .sticky nav a:has(img[alt="The Wall Arts"]) img[alt="The Wall Arts"] {
    transform: scale(0.94) !important;
  }

  body > .sticky nav > ul.flex.items-center.gap-1 {
    gap: 5px !important;
  }

  body > .sticky nav > ul.flex.items-center.gap-1 > li > :where(button, a),
  body > .sticky nav > ul.flex.items-center.gap-1 > li > el-dialog > button {
    width: 42px !important;
    min-width: 42px;
    height: 42px !important;
  }

  body > .sticky nav > ul.flex.items-center.gap-1 > li.relative > a[href*="/cart"] {
    width: 48px !important;
    min-width: 48px;
  }

  body #mobile-drawer {
    top: var(--header-h) !important;
  }

  body #mobile-drawer el-dialog-panel > .bg-background {
    width: min(88vw, 380px);
    margin-inline-start: auto;
    border-inline-start: 1px solid var(--wa-line);
    background: var(--wa-cream) !important;
    box-shadow: -22px 0 55px rgba(52, 42, 33, 0.14);
  }

  html[dir="rtl"] body #mobile-drawer el-dialog-panel > .bg-background {
    margin-inline-start: 0;
    margin-inline-end: auto;
    border-inline-start: 0;
    border-inline-end: 1px solid var(--wa-line);
    box-shadow: 22px 0 55px rgba(52, 42, 33, 0.14);
  }

  body #mobile-drawer :where(a, summary, button) {
    font-size: 15px !important;
  }

  body .announcement-marquee {
    min-height: 32px;
    padding-block: 7px !important;
    font-size: 10px;
  }

  body .section-hero {
    min-height: clamp(460px, 70svh, 620px) !important;
    margin: 10px 10px 0;
    padding-inline: 20px !important;
    border-radius: var(--wa-radius-lg);
  }

  body .section-hero > .absolute.inset-0 > .bg-primary,
  html[dir="rtl"] body .section-hero > .absolute.inset-0 > .bg-primary {
    background: linear-gradient(
      180deg,
      rgba(32, 31, 30, 0.04) 25%,
      rgba(32, 31, 30, 0.58) 100%
    ) !important;
  }

  body .section-hero > .theme-container {
    justify-content: flex-end;
    padding-bottom: 30px;
  }

  body .section-hero h1,
  body .section-hero h2 {
    font-size: clamp(34px, 11vw, 52px) !important;
  }

  body :where(.section-products, .section-gallery, .section-testimonials) {
    padding-block: 48px !important;
    padding-inline: 16px !important;
  }

  body .section-products + .section-products {
    padding-top: 12px !important;
  }

  body .products-embla__container {
    gap: 14px;
  }

  body .products-embla__slide {
    flex: 0 0 min(calc((100vw - 46px) / 1.5), 280px) !important;
  }

  body [data-product-card] h3 {
    min-height: 0;
  }

  body [data-product-card] .btn-lg {
    width: 100% !important;
  }

  body .section-gallery {
    padding-block: 38px !important;
  }

  body .section-gallery .theme-container > .grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body .section-gallery .wa-gallery-media-card {
    min-height: 0;
  }

  body .section-gallery .wa-gallery-media-card .media-wrap {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px;
  }

  body .section-gallery .wa-gallery-content-card {
    min-height: 0;
  }

  body .section-gallery .wa-gallery-content-card > .absolute.inset-0 {
    min-height: 0;
    justify-content: flex-start !important;
    gap: 24px !important;
    padding: 28px 4px 10px !important;
  }

  body .section-gallery .wa-gallery-content-card h3 {
    font-size: 16px !important;
    line-height: 1.75;
  }

  body .section-gallery .wa-gallery-content-card .btn.btn-filled.wa-special-btn {
    padding: 13px 25px 13px 60px !important;
    font-size: 14px;
  }

  body .section-testimonials article {
    min-height: 190px;
  }

  body #footer {
    padding-inline: 20px !important;
  }
}

@media (max-width: 390px) {
  body .products-embla__slide {
    flex-basis: min(calc((100vw - 38px) / 1.5), 245px) !important;
  }

  body .section-hero {
    min-height: 440px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body.wa-enhanced .wa-reveal {
    opacity: 1;
    transform: none;
  }
}
/* Category image titles: Maps, Signs and Logos */
body #main .wa-category-overlay {
  position: relative !important;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px !important;
}
body #main .wa-category-overlay::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62));
  pointer-events: none;
}
body #main .wa-category-overlay img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 450ms ease;
}
body #main .wa-category-overlay:hover img { transform: scale(1.035); }
body #main .wa-category-title-wrap {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
body #main .wa-category-overlay .wa-category-title {
  position: absolute !important;
  inset-inline: 20px;
  bottom: clamp(28px, 4vw, 52px);
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: clamp(24px, 2.3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.25;
  text-align: center !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body #main .wa-category-overlay img { transition: none; }
  body #main .wa-category-overlay:hover img { transform: none; }
}
/* Keep the floating WhatsApp control at the lower left edge. */
body .wa-whatsapp-dock {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
  left: max(8px, env(safe-area-inset-left, 0px)) !important;
  margin: 0 !important;
  transform: none !important;
  translate: none !important;
  z-index: 70 !important;
  width: 56px !important;
  height: 56px !important;
}
body .wa-whatsapp-dock a,
body a.wa-whatsapp-dock {
  box-sizing: border-box;
  width: 56px !important;
  height: 56px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
}
body .wa-whatsapp-dock :is(svg, img) {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
}
/* Match all four category image corners to the existing lower curve. */
body #main .wa-category-overlay {
  border-radius: 16px !important;
  overflow: hidden !important;
  clip-path: inset(0 round 16px);
}
body #main .wa-category-overlay img {
  border-radius: 16px !important;
}
body #main .wa-category-overlay::after {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
/* Hide the cash-on-delivery payment badge in the footer. */
body #footer img:is(
  [src*="cash" i],
  [src*="cod.svg" i],
  [src*="cod.png" i],
  [src*="cash-on-delivery" i],
  [alt*="cash" i],
  [alt="cod" i],
  [alt*="الدفع عند الاستلام"],
  [alt*="الدفع عند الإستلام"]
),
body #footer [data-payment-method="cod"],
body #footer [data-payment-method="cash_on_delivery"] {
  display: none !important;
}
/* Let the Special Offers carousel handle sideways gestures. */
body .wa-offers-swipe {
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
body .wa-offers-swipe:active {
  cursor: grabbing;
}

/* Square photo frames across the storefront. */
body [data-product-card] > a:first-child:has(img) {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
}

body [data-product-card] > a:first-child :is(picture, img) {
  display: block;
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
}

body .section-hero {
  box-sizing: border-box;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

@media (min-width: 1024px) {
  body .section-hero {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    aspect-ratio: auto !important;
    height: clamp(420px, 68svh, 640px) !important;
  }
}

body :is(main, #main) img:not(
  :where(.section-hero img, [data-product-card] > a:first-child img,
    [src*="flagcdn.com"], [src*=".svg" i], [role="presentation"])
) {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: 100%;
  object-fit: cover !important;
}

body [data-product-card] > a:first-child img {
  object-fit: cover !important;
}

body .section-gallery .wa-gallery-media-card .media-wrap {
  height: auto !important;
}