/* ======================================================================
   Source section: style.css
   ====================================================================== */
/* ==========================================================================
   QAF HOME | Option A - Ivory Luxury
   Palette: #49282f, #e6e2d6, #000. Arab/English via html[dir] and lang.
   No build tools or Tailwind required. Bootstrap supplies utility classes only.
   ========================================================================== */
:root {
    --burgundy: #49282f;
    --ivory: #e6e2d6;
    --ink: #241b1c;
    --muted: #766f6a;
    --cream: #f8f7f3;
    --paper: #fffefa;
    --line: #e1dcd3;
    --font-ar: "IBM Plex Sans Arabic",
           system-ui,
           -apple-system,
           "Segoe UI",
           Arial,
           sans-serif;
    --font-en: "IBM Plex Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body { margin: 0; background: linear-gradient(180deg, #fffefa 0%, #f8f4ed 100%); background-image: radial-gradient(circle at 12% 16%, rgba(197,177,154,.18) 0%, rgba(197,177,154,0) 28%), radial-gradient(circle at 85% 20%, rgba(176,149,121,.12) 0%, rgba(176,149,121,0) 22%), radial-gradient(circle at 22% 78%, rgba(206,187,165,.16) 0%, rgba(206,187,165,0) 24%), radial-gradient(circle at 74% 74%, rgba(191,165,141,.10) 0%, rgba(191,165,141,0) 20%), linear-gradient(180deg, #fffefa 0%, #f8f4ed 100%); background-size: 120% 120%, 130% 130%, 140% 140%, 125% 125%, 100% 100%; background-repeat: no-repeat; animation: ambientShift 24s ease-in-out infinite alternate; color: var(--ink); font-family: var(--font-ar); font-size: 16px; }

html[lang="en"] body { font-family: var(--font-en); }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--burgundy); }

button, input { font: inherit; }

button { cursor: pointer; }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #8f585b; outline-offset: 3px; }

img { max-width: 100%; display: block; }

svg { width: 23px; height: 23px; }

[hidden] { display: none !important; }

.announcement-bar { min-height: 35px; background: var(--burgundy); color: var(--ivory); text-align: center; display: grid; place-items: center; font-size: 12px; letter-spacing: .06em; padding: 6px 18px; }

.main-header { background: var(--paper); position: relative; z-index: 60; border-bottom: 1px solid var(--line); }

.header-grid { max-width: 1580px; margin: auto; min-height: 87px; padding: 0 clamp(22px,4.4vw,72px); display: grid; align-items: center; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 25px; }

.desktop-navigation { display: flex; gap: clamp(17px,2.3vw,39px); align-items: center; }

.desktop-navigation a { font-size: 14px; font-weight: 500; transition: color .2s; white-space: nowrap; }

.header-brand img { width: clamp(180px,16vw,238px); height: auto; }

.header-tools { display: flex; gap: clamp(13px,1.4vw,21px); align-items: center; justify-self: end; }

.language-link { font: 600 13px var(--font-en); margin-inline-end: 7px; }

.header-button { width: 26px; min-width: 26px; height: 34px; background: none; border: 0; display: grid; place-items: center; position: relative; padding: 0; color: var(--burgundy); }

.header-button:hover { opacity: .65; }

.count-badge { position: absolute; top: -6px; right: -11px; width: 17px; height: 17px; border-radius: 50%; background: var(--burgundy); color: white; font: 600 10px var(--font-en); display: grid; place-items: center; }

.menu-trigger, .mobile-navigation { display: none; }

.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--burgundy); margin-bottom: 18px; }

.hero-section { background: linear-gradient(180deg, rgba(230,226,214,.58), rgba(230,226,214,.74)); }

.hero-shell { max-width: 1600px; margin: auto; padding: clamp(20px,3.2vw,52px) clamp(20px,4vw,65px); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; direction: ltr; min-height: 590px; }

.hero-media { min-width: 0; position: relative; direction: ltr; }

.hero-image-stage { aspect-ratio: 1.23/1; background: #fff; overflow: hidden; position: relative; }

.hero-image { width: 100%; height: 100%; object-fit: contain; object-position: center; position: absolute; inset: 0; opacity: 0; transform: scale(1.045); transition: opacity .8s ease,transform 5s ease; }

.hero-image.is-active { opacity: 1; transform: scale(1); }

.hero-caption { display: flex; justify-content: space-between; font-size: 11px; color: #675d58; padding-top: 14px; letter-spacing: .04em; direction: rtl; }

html[lang="en"] .hero-caption { direction: ltr; }

.hero-controls { position: absolute; bottom: 38px; right: 18px; display: flex; gap: 5px; z-index: 3; }

.hero-controls button { background: var(--paper); color: var(--burgundy); border: 1px solid var(--line); height: 45px; width: 45px; font: 25px var(--font-en); transition: background .2s,color .2s; }

.hero-controls button:hover { background: var(--burgundy); color: white; }

.hero-copy { margin-left: -42px; padding: clamp(40px,5.3vw,86px) clamp(30px,5.5vw,95px); background: var(--paper); direction: rtl; position: relative; z-index: 2; min-height: 400px; display: flex; flex-direction: column; align-items: start; justify-content: center; box-shadow: 0 14px 54px rgba(50,35,30,.055); }

html[lang="en"] .hero-copy { direction: ltr; }

.hero-copy h1 { color: var(--burgundy); font-size: clamp(42px,4.1vw,68px); line-height: 1.25; font-weight: 600; margin: 0 0 20px; letter-spacing: -.035em; }

.hero-copy h1 span { font-weight: 300; }

.hero-copy p { color: #5c5250; font-size: clamp(15px,1.35vw,19px); line-height: 1.95; max-width: 350px; margin: 0 0 29px; }

.button-primary { background: var(--burgundy); color: white; padding: 15px 34px; min-width: 180px; text-align: center; font-weight: 500; font-size: 14px; transition: transform .2s,background .2s; }

.button-primary:hover { background: #331d23; color: white; transform: translateY(-2px); }

.hero-signature { position: absolute; bottom: 20px; right: 27px; color: #c6bab3; font: 500 11px var(--font-en); letter-spacing: .2em; }

.hero-signature span { font-weight: 300; }

.section-wrap { padding: clamp(66px,7vw,108px) 20px; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 34px; }

.section-heading .eyebrow { margin-bottom: 10px; }

.section-heading h2 { font-size: clamp(30px,3vw,44px); font-weight: 600; margin: 0; color: var(--burgundy); line-height: 1.4; }

.minimal-link { font-size: 14px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 8px; white-space: nowrap; }

.category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(11px,1.6vw,24px); }

.category-card { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; }

.category-photo { grid-column: 1/-1; overflow: hidden; background: var(--cream); aspect-ratio: .9; }

.category-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }

.category-card:hover img { transform: scale(1.045); }

.category-card > span { padding: 5px 2px; }

.category-arrow { font: 19px var(--font-en); color: var(--burgundy); }

.products-section { background: linear-gradient(180deg, rgba(230,226,214,.62), rgba(236,231,222,.82)); }

.section-description { color: #6b605b; font-size: 15px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.filter-chip { background: transparent; color: var(--burgundy); border: 1px solid #c7bfb6; padding: 9px 20px; font-size: 13px; font-weight: 500; transition: .2s; }

.filter-chip:hover, .filter-chip.is-active { color: white; background: var(--burgundy); border-color: var(--burgundy); }

.products-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,2vw,27px); }

.product-card { min-width: 0; }

.product-photo { aspect-ratio: .93; background: var(--cream); overflow: hidden; position: relative; }

.product-photo > a { width: 100%; height: 100%; display: block; }

.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }

.product-photo:hover img { transform: scale(1.045); }

.favourite-product { position: absolute; top: 12px; right: 12px; height: 37px; width: 37px; border: 1px solid #eee9e3; background: rgba(255,255,255,.92); color: var(--burgundy); display: grid; place-items: center; border-radius: 50%; font-size: 24px; z-index: 2; }

.favourite-product[aria-pressed="true"] { background: var(--burgundy); color: white; }

.product-meta { padding-top: 15px; }

.product-category { color: #76645f; font-size: 12px; margin-bottom: 5px; display: block; }

.product-name { font-size: clamp(15px,1.2vw,17px); line-height: 1.7; font-weight: 600; margin: 0 0 6px; min-height: 28px; }

.product-price { display: flex; gap: 9px; align-items: baseline; color: var(--burgundy); font-size: 15px; }

.product-price del { font-size: 12px; color: #9c928b; }

.product-add { width: 100%; margin-top: 14px; background: var(--burgundy); border: 1px solid var(--burgundy); color: #fff; padding: 12px 14px; font-weight: 500; font-size: 13px; transition: .2s; }

.product-add:hover { background: transparent; color: var(--burgundy); }

.demo-disclaimer { font-size: 12px; color: #83776f; margin: 22px 0 0; }

.editorial-section { position: relative; overflow: hidden; background: transparent; }

.editorial-section::before { content: ""; position: absolute; width: min(42vw, 520px); height: min(42vw, 520px); top: 10%; left: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(188,164,138,.16) 0%, rgba(188,164,138,0) 70%); filter: blur(8px); animation: floatGlow 17s ease-in-out infinite alternate; pointer-events: none; }

html[lang="en"] .editorial-section::before { left: auto; right: -8%; }

.editorial-inner { padding: clamp(58px,6vw,96px) 20px; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(24px,4vw,50px); align-items: stretch; direction: ltr; }

.editorial-photo { background: #fcfaf6; border: 1px solid #e7ddd2; box-shadow: 0 18px 40px rgba(63,40,33,.08); padding: clamp(12px,1.8vw,20px); display: flex; min-height: 100%; }

.editorial-photo img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; object-position: center; }

.editorial-copy { direction: rtl; position: relative; overflow: hidden; background: linear-gradient(180deg, #efe5d9 0%, #e8ddd1 100%); border: 1px solid #dfd1c4; box-shadow: 0 20px 48px rgba(63,40,33,.08); padding: clamp(34px,4.5vw,56px); display: flex; flex-direction: column; justify-content: center; }

.editorial-copy::before { content: ""; position: absolute; width: 300px; height: 300px; left: -100px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(112,74,70,.10) 0%, rgba(112,74,70,0) 70%); pointer-events: none; }

html[lang="en"] .editorial-copy::before { left: auto; right: -100px; }

html[lang="en"] .editorial-copy { direction: ltr; }

.editorial-copy .eyebrow, .editorial-copy h2, .editorial-copy p, .editorial-copy .minimal-link { position: relative; z-index: 1; }

.editorial-copy .eyebrow { color: #5f393a; margin-bottom: 15px; }

.editorial-copy h2 { font-size: clamp(40px,4.2vw,70px); color: var(--burgundy); line-height: 1.2; margin-bottom: 17px; font-weight: 600; max-width: 420px; }

.editorial-copy h2 span { font-weight: 300; }

.editorial-copy p { color: #685e5a; line-height: 1.9; font-size: clamp(16px,1.35vw,19px); margin-bottom: 24px; max-width: 480px; }

.editorial-copy .minimal-link { align-self: flex-start; border-bottom: 1px solid rgba(73,40,47,.38); padding: 11px 16px; background: rgba(255,255,255,.38); backdrop-filter: blur(3px); }

.site-footer { background: linear-gradient(180deg, #49282f 0%, #412229 100%); color: #e6e2d6; }

.footer-main { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,.72fr) minmax(0,.72fr); padding: 72px 20px 62px; gap: clamp(28px,6vw,92px); }

.footer-wordmark { width: 195px; height: auto; margin-bottom: 24px; }

.footer-brand-col h2 { font-size: clamp(30px,3.1vw,44px); line-height: 1.45; font-weight: 600; margin: 0 0 16px; }

.footer-brand-col p { max-width: 440px; opacity: .88; line-height: 2; margin: 0; font-size: 17px; }

.footer-links-col { display: flex; flex-direction: column; align-items: start; gap: 14px; }

.footer-links-col h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; }

.footer-links-col a { color: #e6e2d6; font-size: 16px; opacity: .9; transition: opacity .2s; }

.footer-links-col a:hover { color: white; opacity: 1; }

.footer-bottom { border-top: 1px solid rgba(230,226,214,.25); padding: 24px 20px 30px; display: flex; justify-content: space-between; gap: 15px; font-size: 14px; opacity: .9; }

/* Instant-search dropdown */
.search-shade, .drawer-shade { position: fixed; inset: 0; background: rgba(23,15,16,.42); z-index: 69; }

.search-shade { z-index: 61; }

.search-popover { position: absolute; z-index: 70; inset-inline: max(20px,calc((100vw - 960px)/2)); top: 125px; background: #fffefa; padding: 27px clamp(20px,4vw,43px); border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(32,20,19,.19); display: none; }

.search-popover.is-open { display: block; }

.search-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 17px; font-weight: 600; }

.icon-only { border: 0; background: transparent; color: var(--burgundy); font-size: 30px; line-height: 1; }

.search-field { border: 1px solid #d0c8c0; display: flex; align-items: center; padding: 0 17px; gap: 10px; }

.search-field svg { color: var(--burgundy); flex-shrink: 0; }

.search-field input { width: 100%; min-height: 58px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }

.search-results { max-height: 385px; overflow: auto; margin-top: 10px; }

.search-result { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }

.search-result img { width: 75px; height: 82px; object-fit: cover; background: var(--cream); }

.search-result-name { font-size: 15px; font-weight: 600; }

.search-result-cat { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }

.search-result-prices { display: flex; align-items: center; gap: 9px; color: var(--burgundy); font: 600 13px var(--font-en); direction: ltr; justify-content: flex-end; }

.search-result-prices del { font-size: 11px; color: #999; }

.search-note { margin: 15px 0 0; font-size: 12px; color: #847771; }

.search-empty { padding: 20px 5px; color: var(--muted); }

/* Cart / Wishlist: Arabic opens from left, English from right */
.drawer-shade { z-index: 80; }

.shop-drawer { position: fixed; z-index: 81; top: 0; bottom: 0; width: min(480px,100vw); background: var(--paper); display: flex; flex-direction: column; visibility: hidden; pointer-events: none; transition: transform .36s ease,visibility .36s; left: 0; right: auto; transform: translateX(-103%); }

html[dir="ltr"] .shop-drawer { left: auto; right: 0; transform: translateX(103%); }

.shop-drawer.is-open { transform: translateX(0) !important; visibility: visible; pointer-events: auto; }

.drawer-top { display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 24px 27px 19px; }

.drawer-top small { font: 600 10px var(--font-en); letter-spacing: .25em; color: #8d807a; }

.drawer-top h2 { margin: 5px 0 0; font-size: 27px; color: var(--burgundy); }

.drawer-close { background: transparent; border: 1px solid var(--line); height: 38px; width: 38px; font: 25px var(--font-en); color: var(--burgundy); }

.drawer-scroll { flex: 1; min-height: 0; overflow: auto; padding: 16px 26px; }

.drawer-item { display: grid; grid-template-columns: 91px minmax(0,1fr) 25px; align-items: start; gap: 14px; border-bottom: 1px solid var(--line); padding: 16px 0; }

.drawer-item > img { width: 91px; height: 103px; object-fit: cover; background: var(--cream); }

.drawer-item-info h3 { font-size: 15px; line-height: 1.6; font-weight: 600; margin: 0 0 8px; }

.drawer-item-info strong { font-size: 13px; color: var(--burgundy); }

.drawer-remove { border: 0; background: transparent; font-size: 23px; color: #806f6a; line-height: 1; }

.qty-box { display: inline-flex; border: 1px solid var(--line); margin-top: 12px; align-items: center; }

.qty-box button { background: transparent; border: 0; width: 30px; height: 30px; font: 19px var(--font-en); }

.qty-box span { min-width: 29px; text-align: center; font: 500 13px var(--font-en); }

.wishlist-move { border: 1px solid var(--burgundy); color: var(--burgundy); background: transparent; padding: 7px 10px; font-size: 12px; margin-top: 10px; }

.drawer-bottom { padding: 24px 27px; border-top: 1px solid var(--line); }

.subtotal-line { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: 17px; }

.drawer-checkout { background: var(--burgundy); color: white; text-align: center; display: block; padding: 15px 12px; font-weight: 600; }

.drawer-checkout:hover { color: white; background: #331d23; }

.drawer-bottom small { display: block; margin-top: 11px; color: var(--muted); font-size: 11px; }

.empty-drawer { padding: 70px 25px; text-align: center; color: var(--muted); font-size: 17px; }

/* Responsive */
@media (max-width: 1100px) {
    .hero-shell { min-height: 490px; }

.hero-copy { padding: 45px 35px; min-height: 330px; }

.hero-copy h1 { font-size: 48px; }

.desktop-navigation { gap: 15px; }

.products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 800px) {
    .header-grid { min-height: 74px; padding: 0 18px; grid-template-columns: 1fr auto 1fr; gap: 10px; }

.desktop-navigation { display: none; }

.header-brand { grid-column: 2; }

.header-brand img { width: 165px; }

.header-tools { grid-column: 3; gap: 10px; }

.header-button { min-width: 23px; width: 23px; }

.header-button svg { width: 20px; }

.menu-trigger { display: grid; }

.language-link { margin-inline-end: 1px; font-size: 12px; }

.mobile-navigation { position: absolute; background: var(--paper); left: 0; right: 0; top: 100%; flex-direction: column; padding: 18px 25px; box-shadow: 0 15px 35px rgba(0,0,0,.08); }

.mobile-navigation.is-open { display: flex; }

.mobile-navigation a { padding: 9px 0; border-bottom: 1px solid var(--line); }

.hero-shell { padding: 22px; grid-template-columns: 1fr; }

.hero-image-stage { aspect-ratio: 1.4; }

.hero-copy { margin: -30px 20px 0; min-height: 0; padding: 40px 35px 45px; }

.hero-copy h1 { font-size: clamp(40px,6vw,57px); }

.hero-signature { display: none; }

.category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

.products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

.editorial-inner { grid-template-columns: 1fr; gap: 24px; }

.editorial-photo img { min-height: 330px; }

.editorial-copy { padding: 34px 28px; }

.footer-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }

.search-popover { top: 110px; inset-inline: 16px; }
}

@media (max-width: 560px) {
    .header-grid { grid-template-columns: 1fr auto 1fr; padding: 0 13px; }

.header-brand img { width: 137px; }

.header-tools { gap: 8px; }

.header-button svg { width: 18px; }

.header-tools .language-link { display: none; }

.hero-shell { padding: 0 0 24px; }

.hero-image-stage { aspect-ratio: 1.18; }

.hero-caption { padding: 10px 17px; }

.hero-controls { bottom: 44px; }

.hero-copy { margin: -9px 14px 0; padding: 30px 24px 32px; }

.hero-copy h1 { font-size: 36px; }

.hero-copy p { font-size: 14px; margin-bottom: 20px; }

.section-wrap { padding: 56px 16px; }

.section-heading { align-items: start; gap: 10px; }

.section-heading h2 { font-size: 26px; }

.section-heading .minimal-link { font-size: 12px; }

.section-description { display: none; }

.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }

.category-card { font-size: 13px; }

.category-photo { aspect-ratio: .98; }

.filters { gap: 7px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }

.filter-chip { white-space: nowrap; padding: 8px 13px; }

.products-grid { gap: 18px 12px; }

.product-name { font-size: 14px; }

.product-photo { aspect-ratio: .87; }

.product-add { font-size: 12px; }

.editorial-inner { padding: 56px 16px; }

.editorial-photo img { min-height: 240px; }

.editorial-copy { padding: 28px 22px; }

.editorial-copy h2 { font-size: 35px; }

.footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 46px 18px; gap: 32px 15px; }

.footer-brand-col { grid-column: 1/-1; }

.footer-brand-col p { font-size: 15px; }

.footer-bottom { flex-wrap: wrap; padding: 20px 18px; font-size: 13px; }

.search-popover { top: 108px; padding: 19px; inset-inline: 10px; }
}

@keyframes ambientShift {
    0% { background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0 0; }

50% { background-position: 4% 3%, 96% 5%, 3% 96%, 98% 95%, 0 0; }

100% { background-position: 8% 6%, 92% 8%, 5% 92%, 95% 90%, 0 0; }
}

@keyframes floatGlow {
    0% { transform: translate3d(0,0,0) scale(1); opacity: .8; }

100% { transform: translate3d(28px,-18px,0) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ========================================================================
   V7 — iPhone/mobile polish, editorial seamless join, and ambient backdrop.
   These enhancements preserve the approved Ivory Luxury identity.
   ======================================================================== */

/* Gentle curved highlights in the header and footer: pure CSS, no added art. */
.main-header,
.site-footer {
    isolation: isolate;
    overflow: clip;
}

.main-header::before,
.site-footer::before {
    content: "";
    position: absolute;
    inset: -45% -12%;
    z-index: -1;
    pointer-events: none;
    opacity: .45;
    background:
        radial-gradient(ellipse 36% 55% at 17% 44%, rgba(181,145,118,.11), transparent 72%),
        radial-gradient(ellipse 34% 72% at 80% 58%, rgba(210,189,164,.12), transparent 74%);
    animation: qafAmbientDrift 23s ease-in-out infinite alternate;
}

.site-footer { position: relative; }

.site-footer::before {
    opacity: .4;
    background:
        radial-gradient(ellipse 34% 60% at 21% 42%, rgba(230,226,214,.09), transparent 72%),
        radial-gradient(ellipse 36% 68% at 82% 55%, rgba(204,168,145,.13), transparent 72%);
}

/* Lightweight softly moving forms visible behind the main content. */
#main-content { position: relative; isolation: isolate; }

#main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 27% 18% at 10% 30%, rgba(181,148,120,.07), transparent 80%),
        radial-gradient(ellipse 31% 21% at 88% 69%, rgba(162,130,111,.065), transparent 80%);
    animation: qafAmbientDrift 28s ease-in-out infinite alternate-reverse;
}

.collections-section { background: rgba(255,254,250,.78); }

.editorial-section { background: rgba(255,254,250,.12); }

@keyframes qafAmbientDrift {
    0% { transform: translate3d(-1.5%, 0, 0) scale(1); }

100% { transform: translate3d(1.5%, -1%, 0) scale(1.04); }
}

/* All category arrows use SVG, preventing Safari from showing blue emoji. */
.category-arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--burgundy); border-radius: 50%; background: rgba(73,40,47,.065); transition: transform .22s ease, background .22s ease; }

.category-arrow svg { width: 17px; height: 17px; }

.category-card:hover .category-arrow { transform: translate(2px,-2px); background: rgba(73,40,47,.12); }

html[dir="rtl"] .category-card:hover .category-arrow { transform: translate(-2px,-2px); }

/* Editorial art is now pre-cropped from the customer's original artwork. */
.editorial-photo { padding: 0; border: 0; overflow: hidden; background: #fff; }

.editorial-photo img { min-height: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }

@media (max-width: 800px) {
    /* Arabic menu physically at right; English menu physically at left. */
    .header-grid { position: relative; }

.header-brand { z-index: 2; }

.header-tools { justify-self: end; }

.menu-trigger {
        display: grid;
        position: absolute;
        top: 50%;
        right: 15px;
        left: auto;
        transform: translateY(-50%);
        height: 42px;
        width: 42px;
        border: 1px solid rgba(73,40,47,.17);
        border-radius: 50%;
        background: rgba(230,226,214,.3);
    }

html[dir="ltr"] .menu-trigger { left: 15px; right: auto; }

.header-tools { padding-inline-end: 0; }

.header-brand img { max-width: 100%; }

/* Connect both panels seamlessly, no gap between art and writing. */
    .editorial-inner { gap: 0; padding-block: 52px; }

.editorial-photo { padding: 0; margin: 0; box-shadow: none; border: none; }

.editorial-photo img { width: 100%; height: auto; aspect-ratio: 1.9 / 1; object-fit: cover; min-height: 0; display: block; }

.editorial-copy { margin: 0; border-top: none; box-shadow: 0 12px 30px rgba(63,40,33,.065); }
}

@media (max-width: 560px) {
    .header-grid { min-height: 72px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); padding: 0 13px; }

.menu-trigger { width: 37px; height: 37px; right: 11px; border-radius: 12px; }

html[dir="ltr"] .menu-trigger { left: 11px; right: auto; }

.menu-trigger svg { width: 20px; height: 20px; }

/* On RTL the tools occupy the left side, clear of the right-side menu. */
    .header-tools { gap: 7px; }

.header-brand img { width: clamp(120px,30vw,155px); }

.header-tools .header-button:not(.menu-trigger) { min-width: 21px; width: 21px; }

.header-button .count-badge { top: -6px; right: -7px; }

.hero-shell { padding-bottom: 14px; }

.hero-media { position: relative; }

.hero-image-stage { aspect-ratio: 1.08; }

.hero-caption { position: absolute; left: 13px; bottom: 12px; right: auto; z-index: 4; width: auto; background: rgba(255,254,250,.9); padding: 9px 11px; border-radius: 2px; box-shadow: 0 3px 12px rgba(0,0,0,.04); gap: 9px; font-size: 10px; line-height: 1.4; }

.hero-controls { position: absolute; bottom: 12px; right: 13px; left: auto; gap: 5px; z-index: 5; }

.hero-controls button { width: 39px; height: 39px; border: 1px solid rgba(73,40,47,.18); background: rgba(255,254,250,.94); border-radius: 2px; font-size: 21px; box-shadow: 0 3px 12px rgba(40,20,20,.07); }

.hero-copy { margin: 0 13px; border-top: 2px solid rgba(73,40,47,.14); padding: 28px 24px 30px; box-shadow: 0 12px 28px rgba(40,25,20,.05); }

.hero-copy h1 { font-size: clamp(30px,8.7vw,42px); line-height: 1.28; margin-bottom: 13px; }

.hero-copy .eyebrow { font-size: 11px; margin-bottom: 12px; }

.hero-copy p { line-height: 1.8; font-size: 14px; margin-bottom: 19px; }

.hero-copy .button-primary { padding: 12px 25px; min-width: 0; width: fit-content; font-size: 13px; }

/* Tight editorial connection and more refined mobile text. */
    .editorial-inner { padding: 36px 14px 46px; gap: 0; }

.editorial-photo img { aspect-ratio: 1.72 / 1; height: auto; object-fit: cover; }

.editorial-copy { padding: 30px 25px 32px; }

.editorial-copy h2 { font-size: clamp(31px,8vw,42px); line-height: 1.3; }

.editorial-copy p { font-size: 15px; line-height: 1.85; }

.editorial-copy .minimal-link { font-size: 14px; }

.category-arrow { width: 29px; height: 29px; }

.category-arrow svg { width: 15px; height: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .main-header::before, .site-footer::before, #main-content::before { animation: none !important; }
}

/* iPhone Safari: avoid auto zoom on form focus while preserving pinch-to-zoom. */
@media (max-width: 800px) {
  input, select, textarea { font-size: 16px !important; }
}


/* ======================================================================
   Source section: finish-v8.css
   ====================================================================== */
/* ==========================================================================
   QAF HOME | Final polish V8
   Isolated overrides: preserve V7 shop functionality and customer photography.
   Motion is CSS-only. No external imagery or scripts.
   ========================================================================== */

/* Prevent document-level sideways dragging without disabling intentional
   horizontal swipe inside product filters. */
html { width:100%; max-width:100%; overflow-x:clip; }

body { width:100%; min-width:0; max-width:100%; overflow-x:clip; }

#site-header, #site-footer, #main-content,
.hero-section, .collections-section, .products-section,
.editorial-section { width:100%; max-width:100%; overflow-x:clip; }

#site-header, #site-footer { position:relative; }

.hero-shell { max-width:min(100%,1600px); min-width:0; }

.header-grid { max-width:min(100%,1580px); min-width:0; }

.section-wrap, .editorial-inner, .footer-main, .footer-bottom {
    max-width:min(100%,1320px); min-width:0;
}

.hero-media, .hero-copy, .editorial-photo, .editorial-copy,
.category-card, .product-card { min-width:0; }

.category-grid, .products-grid { max-width:100%; }

img { max-width:100%; }

/* Visible but light flowing beige contours across the page.
   The curves are defined with CSS gradients and remain behind actual content. */
.hero-section, .collections-section, .products-section, .editorial-section {
    position:relative;
    isolation:isolate;
}

.hero-section > *, .collections-section > *,
.products-section > *, .editorial-section > * { position:relative; z-index:1; }

.hero-section::after, .collections-section::after,
.products-section::after, .editorial-section::after {
    content:""; position:absolute; inset:-4% -3%; z-index:0; pointer-events:none;
    opacity:.58; background-repeat:no-repeat;
    background-image:
      radial-gradient(ellipse 26% 48% at 8% 12%, transparent 63%, rgba(177,136,104,.15) 65%, transparent 69%),
      radial-gradient(ellipse 32% 40% at 91% 84%, transparent 62%, rgba(174,134,101,.13) 65%, transparent 69%),
      radial-gradient(ellipse 19% 23% at 62% 29%, rgba(193,158,127,.13), transparent 80%);
    animation:qafSoftWaves 16s ease-in-out infinite alternate;
}

.collections-section { background:#fffefa; }

.products-section { background:linear-gradient(135deg,#e9e4d9 0%,#eee9de 52%,#e6e2d6 100%); }

.editorial-section { background:linear-gradient(140deg,#fbf8f2,#f3ede4); }

.hero-section::after { opacity:.43; }

.editorial-section::after { opacity:.7; }

@keyframes qafSoftWaves {
    0% { transform:translate3d(-1%, .4%, 0) scale(1); opacity:.42; }

50% { opacity:.68; }

100% { transform:translate3d(1.4%, -1%, 0) scale(1.035); opacity:.58; }
}

/* Header & footer: keep shape visible behind content, never across controls. */
.main-header, .site-footer { isolation:isolate; position:relative; }

.main-header::before, .site-footer::before {
    inset:0; z-index:0; opacity:1;
    background-image:
      radial-gradient(ellipse 26% 90% at 8% 35%, transparent 66%, rgba(176,136,106,.11) 69%, transparent 73%),
      radial-gradient(ellipse 25% 90% at 92% 60%, transparent 64%, rgba(176,136,106,.09) 67%, transparent 72%);
    animation:qafSoftWaves 19s ease-in-out infinite alternate;
}

.site-footer::before {
    background-image:
      radial-gradient(ellipse 36% 85% at 11% 60%, transparent 64%, rgba(232,211,188,.09) 67%, transparent 70%),
      radial-gradient(ellipse 25% 90% at 92% 15%, transparent 61%, rgba(232,211,188,.08) 65%, transparent 69%);
}

.main-header > *, .site-footer > * { position:relative; z-index:1; }

/* Return the before-footer editorial layout to V6: intact artwork,
   a warm beige typography panel, no oversized cropping or side cut-off. */
.editorial-inner {
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
    align-items:stretch;
    gap:clamp(18px,3.5vw,48px);
    padding-block:clamp(52px,6vw,92px);
    direction:ltr;
}

.editorial-photo {
    background:#fffefa;
    border:1px solid #e5ddd4;
    box-shadow:0 15px 38px rgba(59,35,27,.07);
    overflow:hidden;
    padding:clamp(8px,1vw,16px);
    display:grid;
    align-items:center;
}

.editorial-photo img {
    display:block; width:100%; height:auto; min-height:0; max-height:none;
    aspect-ratio:auto; object-fit:contain; object-position:center;
}

.editorial-copy {
    background:linear-gradient(140deg,#eee4d9 0%,#e7dcd1 100%);
    box-shadow:0 14px 34px rgba(59,35,27,.06);
    border:1px solid #e1d4c8;
    margin:0;
    padding:clamp(28px,4vw,55px);
}

.editorial-copy h2 { font-size:clamp(34px,3.7vw,60px); }

@media(max-width:800px) {
    .header-grid { width:100%; max-width:100%; }

.editorial-inner { grid-template-columns:minmax(0,1fr); gap:0; padding-inline:16px; }

.editorial-photo { margin:0; padding:8px; border-bottom:none; }

.editorial-photo img { height:auto; min-height:0; aspect-ratio:auto; object-fit:contain; }

.editorial-copy { margin:0; padding:30px 25px; }

.hero-shell { max-width:100%; }

.hero-copy { max-width:calc(100% - 26px); }
}

@media(max-width:560px) {
    .hero-shell { width:100%; padding-inline:0; }

.hero-media { width:100%; }

.hero-image-stage { width:100%; max-width:100%; }

.hero-copy { width:calc(100% - 26px); margin-inline:13px; }

.header-grid { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }

.header-brand { min-width:0; }

.header-tools { min-width:0; gap:6px; }

.editorial-inner { padding:35px 14px 47px; gap:0; }

.editorial-photo { padding:6px; }

.editorial-copy { padding:29px 23px 33px; }

.editorial-copy h2 { font-size:clamp(31px,8vw,40px); }
}

@media (prefers-reduced-motion:reduce) {
    .hero-section::after,.collections-section::after,.products-section::after,
    .editorial-section::after,.main-header::before,.site-footer::before {
        animation:none !important;
    }
}


/* ======================================================================
   Source section: category.css
   ====================================================================== */
/* CATEGORY PAGE — QAF HOME */
.catalog-hero{background:linear-gradient(115deg,#f2eae1,#f8f6f0);overflow:hidden;border-bottom:1px solid var(--line)}

.catalog-hero>.container-xxl{padding:24px 20px 0}

.catalog-breadcrumb{display:flex;align-items:center;gap:12px;color:#877a76;font-size:12px}

.catalog-breadcrumb a:hover{color:var(--burgundy)}

.catalog-breadcrumb span:last-child{color:var(--burgundy)}

.catalog-hero-content{display:grid;grid-template-columns:1fr minmax(220px,365px);align-items:center;min-height:270px;gap:35px}

.catalog-hero-content .eyebrow{font:600 11px var(--font-en);letter-spacing:.22em;margin:0 0 14px}

.catalog-hero h1{font-size:clamp(39px,5vw,70px);font-weight:500;color:var(--burgundy);line-height:1.3;margin:0 0 12px}

.catalog-hero p{color:#736763;font-size:15px;line-height:1.9;max-width:500px}

.catalog-hero-art{height:270px;align-self:end;overflow:hidden;position:relative}

.catalog-hero-art img{width:100%;height:100%;object-fit:cover;object-position:center 45%;mix-blend-mode:multiply;mask-image:linear-gradient(to top,black 80%,transparent 100%)}

.catalog-subcategories{background:#fffefa;padding:46px 0 52px}

.catalog-section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}

.catalog-overline{font:600 10px var(--font-en);letter-spacing:.21em;color:#966c71;display:block;margin-bottom:8px}

.catalog-section-heading h2{font-size:clamp(23px,2.7vw,32px);color:var(--burgundy);margin:0;font-weight:500}

.catalog-subcategory-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}

.catalog-subcategory-card{min-width:0;background:none;padding:0;border:0;text-align:start;display:grid;grid-template-columns:1fr auto;gap:10px 5px;font-size:13px;font-weight:500;color:#58484a}

.catalog-subcategory-card:hover,.catalog-subcategory-card.active{color:#9b5b65}

.catalog-subcategory-image{grid-column:1/-1;aspect-ratio:1.5;overflow:hidden;background:#f0ece6;position:relative}

.catalog-subcategory-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}

.catalog-subcategory-card:hover img{transform:scale(1.08)}

.catalog-small-arrow{font-size:18px;font-family:var(--font-en)}

.catalog-main{padding:58px 0 100px;background:linear-gradient(180deg,#f7f3ed,#fdfbf7)}

.catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:25px;padding-bottom:27px;border-bottom:1px solid #ddd5cb;margin-bottom:27px}

.catalog-toolbar h2{font-size:clamp(26px,3vw,36px);font-weight:500;color:var(--burgundy);margin:0 0 5px}

.catalog-toolbar p{font-size:13px;color:#83756e;margin:0}

.catalog-toolbar-actions{display:flex;gap:12px;align-items:center}

.catalog-sort-wrap{display:flex;align-items:center;gap:12px;font-size:13px;color:#78645f;white-space:nowrap}

.catalog-sort-wrap select{border:1px solid #d9cfc5;border-radius:0;background:#fffefa;padding:12px 35px 12px 12px;min-width:168px;color:#4d383a;cursor:pointer}

.catalog-sort-wrap select:focus-visible{outline:2px solid #8f585b}

.catalog-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:35px}

.catalog-sidebar{align-self:start;background:#fffefa;border:1px solid #e8e0d9;padding:23px 24px 19px}

.catalog-sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:19px}

.catalog-sidebar-top h3{font-size:18px;color:var(--burgundy);font-weight:600;margin:0}

.catalog-sidebar-top>button:not(.catalog-sidebar-close){background:transparent;border:0;color:#94636c;font-size:12px;text-decoration:underline}

.catalog-filter-section{border-top:1px solid #e5ded7;padding:15px 0}

.catalog-accordion{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;border:0;color:var(--burgundy);font-weight:600;font-size:15px;padding:0 0 13px}

.catalog-accordion>span:last-child{font-size:19px;font-family:var(--font-en);font-weight:400}

.catalog-accordion-body{display:grid;gap:14px;padding:5px 0 4px}

.catalog-choice{display:flex;align-items:center;gap:11px;cursor:pointer;color:#655954;font-size:13px;position:relative}

.catalog-choice input{position:absolute;opacity:0;width:20px;height:20px;cursor:pointer}

.catalog-check{width:18px;height:18px;border:1px solid #c9bdb4;display:grid;place-items:center;flex-shrink:0;background:white}

.catalog-choice input:checked+.catalog-check{background:var(--burgundy);border-color:var(--burgundy)}

.catalog-choice input:checked+.catalog-check::after{content:'✓';color:white;font-size:12px;line-height:1}

.catalog-choice input:focus-visible+.catalog-check{outline:2px solid var(--burgundy);outline-offset:3px}

.catalog-color-dot{display:inline-block;width:20px;height:20px;border-radius:50%;box-shadow:0 0 0 1px #d0c7bf;flex-shrink:0}

.catalog-product-zone{min-width:0}

.catalog-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 18px}

.catalog-product-grid .product-photo{aspect-ratio:.88}

.catalog-product-grid .product-meta{padding-top:12px}

.catalog-active-filters{display:flex;flex-wrap:wrap;gap:8px}

.catalog-active-filters:not(:empty){padding-bottom:19px}

.catalog-active-tag{border:1px solid #ccb9af;background:#fffefa;color:#6a4650;padding:8px 12px;font-size:12px;display:inline-flex;align-items:center;gap:12px}

.catalog-active-tag span{font-size:17px;line-height:1}

.catalog-pager-wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:48px;padding-top:23px;border-top:1px solid #ded6cc}

.catalog-pager-wrap>p{font-size:12px;color:#897d76;margin:0}

.catalog-pages{display:flex;gap:6px}

.catalog-pages button{width:39px;height:39px;border:1px solid #d9cec4;background:transparent;color:#634e51;font:500 13px var(--font-en)}

.catalog-pages button.is-active,.catalog-pages button:hover:not(:disabled){background:var(--burgundy);color:white;border-color:var(--burgundy)}

.catalog-pages button:disabled{opacity:.3;cursor:not-allowed}

.catalog-empty{text-align:center;padding:60px 15px;border:1px dashed #d7c7bd;color:#68595a}

.catalog-empty h3{color:var(--burgundy)}

.catalog-empty button{background:var(--burgundy);color:white;padding:12px 22px;border:0}

.catalog-mobile-filter,.catalog-sidebar-close,.catalog-sidebar-bottom,.catalog-mobile-shade{display:none}

html[dir="ltr"] .catalog-hero-art img{transform:scaleX(-1)}

@media(max-width:991px){.catalog-layout{grid-template-columns:204px minmax(0,1fr);gap:20px}

.catalog-sidebar{padding:18px}

.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 15px}

.catalog-subcategory-row{gap:11px}}

@media(max-width:767px){.catalog-hero>.container-xxl{padding:20px 18px 0}

.catalog-hero-content{min-height:205px;grid-template-columns:1fr 125px;gap:5px}

.catalog-hero h1{font-size:clamp(31px,7vw,43px)}

.catalog-hero p{font-size:12px;line-height:1.7}

.catalog-hero-art{height:185px}

.catalog-subcategories{padding:29px 0 32px}

.catalog-subcategories .container-xxl,.catalog-main .container-xxl{padding-inline:18px}

.catalog-subcategory-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:13px;padding-bottom:10px;scrollbar-width:thin}

.catalog-subcategory-card{flex:0 0 145px;scroll-snap-align:start}

.catalog-section-heading h2{font-size:24px}

.catalog-main{padding:35px 0 65px}

.catalog-toolbar{display:block}

.catalog-toolbar-actions{justify-content:space-between;margin-top:23px}

.catalog-mobile-filter{display:inline-flex;gap:7px;align-items:center;border:1px solid #d1c2b6;background:#fffefa;color:var(--burgundy);padding:12px;font-size:12px}

.catalog-sort-wrap{font-size:12px;gap:6px}

.catalog-sort-wrap select{padding:11px 26px 11px 7px;min-width:125px;max-width:170px;font-size:12px}

.catalog-layout{display:block}

.catalog-sidebar{position:fixed;z-index:102;top:0;bottom:0;inset-inline-start:0;width:min(340px,90vw);overflow-y:auto;transform:translateX(105%);transition:transform .3s;visibility:hidden;box-shadow:0 15px 40px #0002;padding:25px}

.catalog-sidebar.is-open{transform:translateX(0);visibility:visible}

html[dir="ltr"] .catalog-sidebar{transform:translateX(-105%)}

html[dir="ltr"] .catalog-sidebar.is-open{transform:translateX(0)}

.catalog-sidebar-close{display:block;background:none;border:0;font-size:27px;color:var(--burgundy)}

.catalog-sidebar-bottom{display:block;position:sticky;bottom:-25px;padding:15px 0;background:#fffefa}

.catalog-sidebar-bottom button{background:var(--burgundy);color:white;border:0;padding:14px;width:100%}

.catalog-mobile-shade:not([hidden]){display:block;position:fixed;inset:0;background:#21191bb0;z-index:101}

.catalog-lock{overflow:hidden}

.catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}

.catalog-product-grid .product-name{font-size:13px;min-height:40px}

.catalog-product-grid .product-add{font-size:11px;padding:10px 5px}

.catalog-pager-wrap{flex-direction:column-reverse;margin-top:27px;gap:13px}

.catalog-product-grid .favourite-product{width:32px;height:32px;font-size:20px}

.catalog-product-grid .product-price{font-size:12px;gap:5px;flex-wrap:wrap}

.catalog-product-grid .product-price del{font-size:10px}}

@media(max-width:390px){.catalog-hero-content{grid-template-columns:1fr 90px}

.catalog-hero-art{height:155px}

.catalog-hero p{font-size:11px}

.catalog-toolbar-actions{gap:7px}

.catalog-sort-wrap>span{display:none}}


/* ======================================================================
   Source section: product.css
   ====================================================================== */

.product-page-shell {
    padding: clamp(28px, 4vw, 54px) 0 clamp(46px, 5vw, 74px);
}

.product-page-wrap {
    padding-inline: 20px;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #7b6d66;
    font-size: 13px;
    margin-bottom: 28px;
}

.product-breadcrumb a:hover { color: var(--burgundy); }

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: start;
}

.product-gallery-panel,
.product-summary-panel {
    min-width: 0;
}

.product-stage {
    position: relative;
}

.product-stage-frame {
    background: linear-gradient(180deg, rgba(255,254,250,0.96) 0%, rgba(245,239,231,0.95) 100%);
    border: 1px solid #e9e1d7;
    min-height: clamp(420px, 54vw, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 20px 42px rgba(63,40,33,.05);
}

.product-stage-frame img {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
}

.gallery-arrow,
.thumb-nav {
    border: 1px solid #ddd4ca;
    background: rgba(255,255,255,.92);
    color: var(--burgundy);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transition: .2s ease;
}

.gallery-arrow:hover,
.thumb-nav:hover { background: var(--burgundy); color: white; }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.gallery-arrow.prev { left: 16px; }

.gallery-arrow.next { right: 16px; }

.product-thumbs-wrap {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.product-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

.product-thumbs::-webkit-scrollbar { height: 8px; }

.product-thumbs::-webkit-scrollbar-thumb { background: #d8cec5; }

.thumb-card {
    width: 108px;
    min-width: 108px;
    aspect-ratio: .95;
    background: var(--cream);
    border: 1px solid #e2dbd2;
    padding: 8px;
    transition: .2s ease;
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-card.is-active,
.thumb-card:hover {
    border-color: var(--burgundy);
    box-shadow: inset 0 0 0 1px var(--burgundy);
}

.product-summary-panel {
    position: sticky;
    top: 118px;
    background: rgba(255,254,250,.75);
    border: 1px solid #ece2d7;
    padding: clamp(24px, 3.2vw, 38px);
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 38px rgba(63,40,33,.045);
}

.product-overline {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    color: #816761;
    margin-bottom: 12px;
}

#product-title {
    margin: 0 0 12px;
    color: var(--burgundy);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.28;
}

.product-price-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.product-prices {
    display: flex;
    gap: 12px;
    align-items: baseline;
    flex-wrap: wrap;
}

#product-price-current {
    color: var(--burgundy);
    font-size: clamp(22px, 2.4vw, 31px);
    font-weight: 600;
}

#product-price-old {
    color: #a5968f;
    font-size: 15px;
}

.product-discount {
    background: rgba(73,40,47,.09);
    color: var(--burgundy);
    padding: 7px 12px;
    border-radius: 999px;
    font: 600 12px var(--font-en);
}

.product-short-copy,
#product-description {
    color: #5e5551;
    line-height: 1.95;
    font-size: 15px;
}

.product-selection-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    background: #f4eee6;
    border: 1px solid #eadfd2;
    color: #6c5b55;
    font-size: 13px;
}

.product-option-block { margin-top: 22px; }

.option-heading-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 12px;
}

.option-heading-line h2,
#desc-heading {
    font-size: 18px;
    margin: 0;
    color: var(--burgundy);
}

.option-heading-line span,
.option-hint {
    color: #84756f;
    font-size: 13px;
}

.color-swatches,
.size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch,
.size-pill {
    border: 1px solid #d7cdc4;
    background: white;
    transition: .2s ease;
}

.color-swatch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.color-swatch.is-active,
.size-pill.is-active,
.color-swatch:hover,
.size-pill:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    box-shadow: inset 0 0 0 1px var(--burgundy);
}

.size-pill {
    padding: 10px 16px;
    min-width: 68px;
}

.size-pill[disabled] {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.product-cta-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 28px;
}

.detail-qty {
    display: inline-grid;
    grid-template-columns: 44px 52px 44px;
    align-items: center;
    border: 1px solid #d7cec6;
    background: white;
}

.detail-qty button {
    border: 0;
    background: transparent;
    width: 44px;
    height: 48px;
    font-size: 24px;
    color: var(--burgundy);
}

.detail-qty span {
    display: grid;
    place-items: center;
    font: 500 15px var(--font-en);
}

.product-detail-add,
.product-detail-wishlist {
    min-height: 48px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
}

.product-detail-add {
    background: var(--burgundy);
    color: white;
    border: 1px solid var(--burgundy);
}

.product-detail-add:hover:not([disabled]) { background: #351f25; }

.product-detail-add[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.product-detail-wishlist {
    width: 100%;
    margin-top: 12px;
    border: 1px solid #d8cfc5;
    background: transparent;
    color: var(--burgundy);
}

.product-detail-wishlist.is-active {
    background: rgba(73,40,47,.08);
    border-color: var(--burgundy);
}

.product-description-card {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e6dbcf;
}

.description-header { margin-bottom: 12px; }

#product-feature-list {
    display: grid;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

#product-feature-list li {
    position: relative;
    padding-inline-start: 18px;
    color: #655954;
    line-height: 1.8;
    font-size: 14px;
}

#product-feature-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: .8em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b59c8d;
}

.related-products-section {
    padding: 0 0 78px;
}

.related-heading { margin-bottom: 26px; }

.related-products-section .products-grid { margin-top: 0; }

html[lang="en"] .product-summary-panel,
html[lang="en"] .product-breadcrumb,
html[lang="en"] .product-selection-note,
html[lang="en"] .product-description-card {
    direction: ltr;
}

@media (max-width: 1100px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

.product-summary-panel {
        position: static;
    }
}

@media (max-width: 700px) {
    .product-page-wrap { padding-inline: 16px; }

.product-stage-frame { min-height: 360px; padding: 18px; }

.thumb-card { width: 86px; min-width: 86px; }

.product-summary-panel { padding: 22px 18px; }

.product-cta-row { grid-template-columns: 1fr; }

.detail-qty { width: max-content; }

.gallery-arrow {
        width: 38px;
        height: 38px;
    }
}


/* ======================================================================
   Source section: checkout.css
   ====================================================================== */
/* QAF HOME — Checkout editorial redesign / bilingual responsive */
#main-content {background: #f8f6f2; overflow: clip;}

.checkout-shell {padding: 32px 0 105px;}

.checkout-wrap {max-width: 1390px; padding-inline: clamp(18px,3.3vw,48px);}

.checkout-breadcrumb {display:flex;align-items:center;gap:11px;color:#867973;font-size:12px;margin:5px 0 35px;}

.checkout-breadcrumb a {color:#756760;transition:color .2s;}

.checkout-breadcrumb a:hover {color:var(--burgundy)}

.checkout-hero {display:flex;justify-content:space-between;align-items:end;gap:22px;padding:0 0 33px;margin-bottom:35px;border-bottom:1px solid #ded4ca;position:relative;}

.checkout-hero .eyebrow{font-size:11px;letter-spacing:.24em;margin-bottom:14px;color:#99776d;font-family:var(--font-en);}

.checkout-hero h1{font-size:clamp(35px,4.4vw,60px);font-weight:500;line-height:1.28;letter-spacing:-.03em;color:#49282f;margin:0 0 12px;}

.checkout-hero p{margin:0;color:#786c66;font-size:14px;line-height:1.9;max-width:600px;}

.checkout-hero-mark{font:500 clamp(14px,1.7vw,22px) var(--font-en);letter-spacing:.35em;color:#b9a7a0;white-space:nowrap;padding-bottom:8px;}

.checkout-grid{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0, 1.42fr);gap:clamp(24px,3vw,44px);align-items:start;direction:ltr;}

.order-summary-panel,.checkout-form-panel{direction:rtl;min-width:0;}

html[dir="ltr"] .order-summary-panel,html[dir="ltr"] .checkout-form-panel{direction:ltr;}

.checkout-form-grid{display:block;}

.checkout-card{min-width:0;background:#fffefa;border:1px solid #e7e0d8;border-radius:3px;box-shadow:0 9px 32px rgba(67,45,39,.035);padding:clamp(22px,3vw,36px);margin:0 0 22px;}

.checkout-card:hover {border-color:#ddd0c6;}

.card-head {display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:26px;}

.card-head h2,.promo-head h3,.gift-row h2{margin:0;font-weight:600;color:#49282f;font-size:clamp(18px,1.9vw,23px);line-height:1.6;}

.card-head h2::after{content:'';display:block;width:35px;height:2px;background:#9e777a;margin-top:10px;}

.card-head > span{border-radius:50%;background:#f1ece7;color:#49282f;width:33px;height:33px;display:grid;place-items:center;font:600 13px var(--font-en);flex:none;}

#required-note{font-size:12px;color:#9a8d86;margin:9px 0 0;}

.form-grid{display:grid;gap:18px;min-width:0;}

.form-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}

.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}

.form-grid + .form-grid{margin-top:22px;}

.field-box{display:block;min-width:0;width:100%;}

.field-box > span{display:block;font-weight:600;font-size:13px;line-height:1.7;color:#51413f;margin-bottom:9px;}

.field-box input,.field-box select,.field-box textarea{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #ded6ce;border-radius:3px;background:#fdfcf9;color:#382f2e;font-size:14px;outline:none;box-shadow:none;transition:border-color .2s,background .2s,box-shadow .2s;}

.field-box input,.field-box select{height:52px;min-height:52px;padding:0 16px;}

.field-box textarea{padding:14px 16px;min-height:110px;resize:vertical;}

.field-box input:focus,.field-box select:focus,.field-box textarea:focus,.promo-row input:focus{border-color:#8b5961;background:white;box-shadow:0 0 0 3px rgba(73,40,47,.065);}

.field-box input::placeholder,.field-box textarea::placeholder{color:#a99d96;opacity:1;}

.field-box small{display:block;margin-top:8px;color:#a1968f;font-size:11px;line-height:1.7;}

.phone-wrap {display:grid;grid-template-columns:118px minmax(0,1fr);gap:9px;width:100%;min-width:0;direction:ltr;}

.phone-wrap select{direction:ltr;padding:0 8px;text-align:center;font-size:12px;}

.phone-wrap input{direction:ltr;text-align:start;}

.delivery-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}

.delivery-card{background:#fdfbf8;border:1px solid #e4dcd5;border-radius:3px;min-width:0;min-height:122px;padding:19px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;position:relative;cursor:pointer;transition:background .2s,border-color .2s,transform .2s;}

.delivery-card:hover{border-color:#9c7880;transform:translateY(-2px);}

.delivery-card.is-active{background:#f5eeea;border-color:#633942;box-shadow:inset 0 0 0 1px #633942;}

.delivery-card input{position:absolute;inset:0;opacity:0;cursor:pointer;}

.delivery-card strong{font-size:14px;font-weight:600;color:#49282f;line-height:1.5;}

.delivery-card span{font-size:11px;line-height:1.6;color:#92837c;}

#address-block .compact-top,.checkout-form-panel .compact-top{margin-top:24px;}

#address-block > .compact-top:first-child{margin-top:27px;}

#address-details{min-height:120px;}

#order-notes{min-height:105px;}

.summary-items{display:grid;gap:0;}

.summary-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:17px;padding:17px 0;border:0;border-bottom:1px solid #ede6df;background:transparent;align-items:center;}

.summary-item:first-child{padding-top:0;}

.summary-item img{width:100px;height:112px;object-fit:cover;background:#f5f1eb;border-radius:2px;}

.summary-item h3{font-size:14px;font-weight:600;color:#49282f;margin:0 0 5px;line-height:1.55;}

.summary-item p{margin:0;color:#918780;font-size:11px;line-height:1.8;}

.summary-item strong{display:block;margin-top:7px;font-size:14px;color:#49282f;}

.summary-qty{display:inline-flex;align-items:center;gap:7px;margin-top:7px;color:#83776f;font-size:12px;}

.summary-qty strong{margin:0;}

.promo-card{padding-top:24px;padding-bottom:24px;}

.promo-head{margin-bottom:16px;}

.promo-head h3{font-size:18px;}

.promo-head small{display:block;font-size:11px;color:#a09189;margin-top:3px;}

.promo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;direction:ltr;}

.promo-row input{width:100%;min-width:0;height:48px;border:1px solid #ded6ce;border-radius:2px;padding:0 15px;font-size:13px;background:#fdfcf9;outline:none;}

.promo-row button{height:48px;min-width:84px;border:1px solid #49282f;background:#49282f;color:white;font-size:13px;font-weight:500;padding:0 12px;transition:background .2s;}

.promo-row button:hover{background:#683d47;}

.promo-feedback{margin:9px 0 0;min-height:0;font-size:12px;color:#87666d;line-height:1.6;}

.promo-feedback:empty{display:none;}

.totals-card{display:grid;gap:16px;}

.total-line{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#766861;font-size:13px;}

.total-line strong{font:600 13px var(--font-en);color:#49282f;direction:ltr;white-space:nowrap;}

.grand-line{margin-top:9px;padding-top:22px;border-top:1px solid #e8dfd7;color:#49282f;font-size:19px;font-weight:600;}

.grand-line strong{font-size:22px;}

.shipping-mini-note{margin:0;font-size:11px;line-height:1.7;color:#9b8e86;}

.terms-card{background:#f0e9e3;border-color:#e5d8d0;}

.terms-check{display:flex;align-items:start;gap:11px;cursor:pointer;font-size:13px;color:#594b48;line-height:1.8;}

.terms-check input{position:absolute;opacity:0;pointer-events:none;}

.checkbox-ui{display:block;position:relative;flex:0 0 19px;width:19px;height:19px;border:1px solid #b6a69f;background:white;margin-top:3px;}

.terms-check input:checked + .checkbox-ui{background:#49282f;border-color:#49282f;}

.terms-check input:checked + .checkbox-ui:after{content:'✓';position:absolute;inset:0;color:white;font:600 13px var(--font-en);display:grid;place-items:center;background:transparent;}

.terms-check input:focus-visible + .checkbox-ui{outline:2px solid #49282f;outline-offset:3px;}

.place-order-btn{display:block;width:100%;height:56px;margin-top:22px;border:1px solid #49282f;border-radius:2px;background:#49282f;color:white;font-size:15px;font-weight:600;transition:background .2s,transform .2s;}

.place-order-btn:not(:disabled):hover{background:#633b45;transform:translateY(-2px);}

.place-order-btn:disabled{opacity:.45;cursor:not-allowed;}

.place-order-note{font-size:11px;color:#98867e;text-align:center;line-height:1.7;margin:10px 0 0;}

@media(max-width:1080px){.checkout-grid{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:20px}

.checkout-card{padding:22px}

.delivery-options{gap:8px}

.delivery-card{padding:14px 8px}

.phone-wrap{grid-template-columns:105px minmax(0,1fr)}}

@media(max-width:850px){.checkout-grid{display:flex;flex-direction:column;gap:0}

.checkout-form-panel{order:1;width:100%}

.order-summary-panel{order:2;width:100%}

.checkout-hero-mark{display:none}

.checkout-hero{margin-bottom:25px}

.checkout-card{padding:25px}

.delivery-options{grid-template-columns:repeat(3,minmax(0,1fr))}

.checkout-shell{padding-bottom:65px}}

@media(max-width:560px){.checkout-shell{padding:19px 0 55px}

.checkout-wrap{padding-inline:14px}

.checkout-breadcrumb{margin-bottom:24px;font-size:11px}

.checkout-hero{padding-bottom:23px;margin-bottom:22px}

.checkout-hero h1{font-size:36px}

.checkout-hero p{font-size:13px}

.checkout-card{padding:20px 16px;margin-bottom:14px}

.card-head{margin-bottom:21px}

.card-head h2{font-size:20px}

.form-grid.cols-2,.form-grid.cols-3{grid-template-columns:1fr;gap:17px}

.form-grid+.form-grid{margin-top:17px}

.field-box > span{font-size:13px}

.field-box input,.field-box select{height:50px;min-height:50px}

.delivery-options{grid-template-columns:1fr;gap:9px}

.delivery-card{min-height:76px;align-items:start;text-align:start;padding:12px 18px;gap:2px}

.delivery-card strong{font-size:14px}

.delivery-card span{font-size:11px}

.phone-wrap{grid-template-columns:109px minmax(0,1fr)}

.summary-item{grid-template-columns:78px minmax(0,1fr);gap:12px}

.summary-item img{width:78px;height:88px}

.promo-row{grid-template-columns:minmax(0,1fr) 75px}

.promo-row button{min-width:0;padding:0 6px}

.total-line{font-size:12px}

.grand-line{font-size:18px}}

@media(prefers-reduced-motion:reduce){.delivery-card:hover,.place-order-btn:not(:disabled):hover{transform:none}}

/* Interactive delivery choices and demo order line details */
#address-block[hidden],#office-block[hidden],#boutique-block[hidden]{display:none!important}

.delivery-card:focus-within{outline:2px solid #8a5a62;outline-offset:3px}

.delivery-card{user-select:none}

.checkout-conditional-hint{margin:14px 0 0;color:#74665f;font-size:13px;line-height:1.8}

.boutique-information{margin-top:24px;border:1px solid #e6d9cb;background:linear-gradient(135deg,#f8f2eb,#fffdf9);padding:clamp(22px,3vw,34px)}

.boutique-kicker{font:600 11px var(--font-en);letter-spacing:.18em;color:#987b77}

.boutique-information h3{color:#49282f;font-size:25px;margin:11px 0 22px}

.boutique-information dl{display:grid;gap:17px;margin:0}

.boutique-information dl div{border-top:1px solid #e6dbd0;padding-top:13px}

.boutique-information dt{font-weight:600;color:#49282f;margin-bottom:6px}

.boutique-information dd{color:#70625a;margin:0;line-height:1.8}

.boutique-information a{display:inline-flex;background:#49282f;color:#fff;margin-top:24px;padding:13px 22px;font-size:13px}

.boutique-information a:hover{background:#6c454e;color:#fff}

.boutique-information p{font-size:11px;color:#987e73;margin:15px 0 0;line-height:1.7}

.checkout-demo-product{grid-template-columns:92px minmax(0,1fr)}

.summary-product-body{min-width:0}

.summary-product-details{display:flex;flex-wrap:wrap;gap:4px 15px;margin-top:8px;color:#71655f;font-size:12px}

.summary-product-details b{color:#49282f}

.summary-product-prices{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin-top:8px}

.summary-product-prices strong{margin:0}

.summary-product-prices del{font-size:12px;color:#a49a93}

.demo-cart-label{padding:12px 0 0;font-size:12px;line-height:1.8;color:#8d7a73}

.field-box .field-error{border-color:#b74c4c!important;box-shadow:0 0 0 2px rgba(183,76,76,.12)}

@media(max-width:560px){.checkout-demo-product{grid-template-columns:76px minmax(0,1fr)}

.checkout-demo-product img{width:76px;height:85px}

.boutique-information{padding:20px}}


/* ======================================================================
   Source section: services.css
   ====================================================================== */
/* QAF HOME — Services / Detail design */
.service-page { background: #faf8f3; }

.svc-shell {overflow:clip; padding: 35px 0 86px;}

.svc-container {padding-inline:clamp(16px,3.2vw,42px);}

.svc-crumb {display:flex;flex-wrap:wrap;gap:13px;align-items:center;color:#7c6f68;font-size:12px;margin:0 0 29px;}

.svc-crumb a:hover {color:var(--burgundy)}

.svc-kicker {color:#855e60;text-transform:uppercase;letter-spacing:.22em;font:600 11px var(--font-en);display:block;margin-bottom:14px;}

.svc-list-hero {display:grid;grid-template-columns:1fr 1.03fr;min-height:450px;background:#f1eae0;direction:ltr;position:relative;}

.svc-list-hero-copy {padding:clamp(34px,6vw,86px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;direction:rtl;}

html[lang="en"] .svc-list-hero-copy {direction:ltr;}

.svc-list-hero-copy h1 {font-size:clamp(37px,4.3vw,64px);color:var(--burgundy);line-height:1.3;max-width:580px;margin:0 0 21px;font-weight:600;}

.svc-list-hero-copy em {font-style:normal;font-weight:300;display:block;}

.svc-list-hero-copy p {font-size:clamp(15px,1.5vw,18px);line-height:2.05;color:#756962;max-width:500px;margin:0;}

.svc-decor-line {margin-top:36px;width:83px;height:2px;background:#9e7d7f;}

.svc-list-hero-image {min-height:420px;position:relative;overflow:hidden;background:#e9e1d6;}

.svc-list-hero-image img {width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;}

.svc-list-hero-image span {position:absolute;bottom:0;right:0;background:rgba(255,254,250,.92);color:#563740;letter-spacing:.14em;font:600 10px var(--font-en);padding:18px 24px;}

.svc-directory {padding-top:72px;}

.svc-heading-row {display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px;}

.svc-heading-row h2 {font-size:clamp(29px,2.9vw,42px);line-height:1.4;color:var(--burgundy);margin:0;font-weight:600;}

.svc-heading-row p {margin:0;color:#8c7e73;font-size:13px;}

.svc-cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2.1vw,29px);}

.svc-card {min-width:0;background:#fffefa;border:1px solid #ece5de;box-shadow:0 15px 40px rgba(61,35,33,.038);transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column;}

.svc-card:hover {transform:translateY(-4px);box-shadow:0 19px 50px rgba(61,35,33,.09);}

.svc-card-image {aspect-ratio:1.14;overflow:hidden;background:#eee9e1;position:relative;display:block;}

.svc-card-image img {width:100%;height:100%;object-fit:cover;transition:transform .55s ease;}

.svc-card:hover img {transform:scale(1.055);}

.svc-card-mark {position:absolute;bottom:13px;inset-inline-start:12px;background:rgba(255,255,255,.88);padding:7px 10px;color:#58323a;font:600 9px var(--font-en);letter-spacing:.1em;}

.svc-card-body {padding:23px 20px 22px;display:flex;flex:1;flex-direction:column;}

.svc-card-kicker {font:600 10px var(--font-en);color:#9b8c80;letter-spacing:.13em;margin-bottom:10px;}

.svc-card h3 {font-size:clamp(17px,1.5vw,21px);line-height:1.55;color:var(--burgundy);font-weight:600;margin:0 0 9px;}

.svc-card p {color:#776b64;line-height:1.85;font-size:13px;min-height:68px;margin:0 0 15px;overflow-wrap:anywhere;}

.svc-card-cta {font-size:13px;color:var(--burgundy);border-top:1px solid #ece4dd;display:flex;justify-content:space-between;padding-top:14px;font-weight:600;margin-top:auto;align-items:center;}

.svc-card-cta span {font:19px var(--font-en);}

.svc-pagination-bar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:34px;}

.svc-pagination-bar p {font-size:13px;color:#86796f;margin:0;}

.svc-pager {display:flex;gap:8px;}

.svc-pager button {border:1px solid #d8cbc2;color:#4d2c34;background:#fffcf8;min-width:42px;height:43px;padding:0 12px;font-size:12px;}

.svc-pager button.active,.svc-pager button:hover:not(:disabled) {background:var(--burgundy);border-color:var(--burgundy);color:#fff;}

.svc-pager button:disabled {opacity:.35;cursor:default;}

.svc-demo-warning {margin:28px 0 0;color:#867a72;font-size:12px;}

.svc-detail-layout {display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(26px,4.3vw,68px);align-items:start;direction:ltr;}

.svc-detail-gallery {min-width:0;position:sticky;top:24px;}

.svc-gallery-stage {position:relative;background:#eee9e0;aspect-ratio:1 / 1.12;max-height:740px;overflow:hidden;}

.svc-gallery-stage:before {content:'';position:absolute;inset:15px;border:1px solid rgba(255,255,255,.4);pointer-events:none;z-index:1;}

.svc-gallery-stage img {width:100%;height:100%;object-fit:contain;opacity:.3;transform:scale(1.025);transition:opacity .45s ease,transform .6s ease;}

.svc-gallery-stage img.is-visible {opacity:1;transform:scale(1);}

.svc-gallery-counter {position:absolute;bottom:23px;left:22px;padding:10px 15px;background:rgba(255,253,249,.92);z-index:2;color:#4d2c34;font:600 12px var(--font-en);letter-spacing:.12em;}

.svc-photo-arrow {position:absolute;top:50%;transform:translateY(-50%);border:1px solid #e6dbd1;background:rgba(255,254,251,.92);color:var(--burgundy);font:32px/1 var(--font-en);z-index:2;width:44px;height:48px;display:grid;place-items:center;}

.svc-photo-arrow:hover,.svc-thumb-move:hover {background:var(--burgundy);color:#fff;}

.svc-photo-prev {left:14px;}

.svc-photo-next {right:14px;}

.svc-gallery-strip {display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:12px;align-items:center;margin-top:15px;}

.svc-thumbnails {display:flex;gap:11px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;min-width:0;padding:3px 0;}

.svc-thumbnails::-webkit-scrollbar {display:none;}

.svc-thumb {flex:0 0 clamp(77px,7.5vw,106px);aspect-ratio:1;background:#eee9e1;padding:5px;border:1px solid transparent;overflow:hidden;}

.svc-thumb.active,.svc-thumb:hover {border-color:var(--burgundy);box-shadow:inset 0 0 0 1px var(--burgundy);}

.svc-thumb img {width:100%;height:100%;object-fit:cover;}

.svc-thumb-move {background:#fffefa;border:1px solid #e0d5cb;color:#563940;height:36px;width:30px;font:24px var(--font-en);}

.svc-gallery-caption {display:flex;justify-content:space-between;gap:15px;color:#9a8b81;padding-top:15px;letter-spacing:.12em;font:500 10px var(--font-en);}

.svc-detail-content {min-width:0;direction:rtl;padding-top:8px;}

html[lang="en"] .svc-detail-content {direction:ltr;}

.svc-detail-content h1 {font-size:clamp(33px,3.25vw,52px);line-height:1.35;color:var(--burgundy);font-weight:600;margin:0 0 16px;}

.svc-detail-lead {font-size:15px;color:#71625d;line-height:2;}

.svc-live-price {display:flex;justify-content:space-between;align-items:center;gap:18px;background:#efe6dd;border:1px solid #e0d0c3;margin:30px 0;padding:23px 26px;}

.svc-live-price>div {display:flex;flex-direction:column;align-items:flex-start;}

.svc-total-kicker {font-size:12px;color:#7b645e;margin-bottom:7px;}

.svc-live-price strong {font:600 clamp(27px,3vw,39px) var(--font-en);color:var(--burgundy);direction:ltr;}

.svc-live-price small {font-size:11px;color:#8d7770;margin-top:8px;}

.svc-total-icon {font-size:37px;color:#b89c91;font-weight:200;}

.svc-setup-heading {border-bottom:1px solid #e9dfd6;padding-bottom:20px;margin-bottom:8px;}

.svc-setup-heading h2 {font-size:26px;color:var(--burgundy);margin:0 0 9px;}

.svc-setup-heading p {font-size:13px;color:#81736c;margin:0;line-height:1.8;}

.svc-field {padding:22px 0;border-bottom:1px solid #e9dfd6;}

.svc-field-header {display:flex;align-items:baseline;gap:15px;justify-content:space-between;margin-bottom:13px;}

.svc-field-header label {font-size:15px;font-weight:600;color:#53333a;line-height:1.6;}

.svc-field-header b {color:#ad6860;}

.svc-field-header>span {font-size:11px;color:#a5968b;}

.svc-control {display:block;width:100%;min-width:0;background:#fffefa;border:1px solid #d9ccc0;border-radius:0;min-height:52px;padding:12px 16px;color:#493b39;font-size:14px;outline-offset:2px;}

.svc-control:focus {border-color:var(--burgundy);}

.svc-textarea {min-height:116px;resize:vertical;}

.svc-choice-group {display:grid;gap:9px;}

.svc-choice {display:flex;align-items:center;gap:13px;min-height:54px;padding:13px 16px;border:1px solid #e1d6cb;background:#fffefa;cursor:pointer;transition:.2s;position:relative;}

.svc-choice:hover,.svc-choice.selected {border-color:#633941;background:#f5efeb;}

.svc-choice input {position:absolute;opacity:0;inset:0;cursor:pointer;}

.svc-choice-indicator {height:19px;width:19px;border:1px solid #bca69e;position:relative;flex-shrink:0;background:#fff;}

.svc-choice-radio .svc-choice-indicator {border-radius:50%;}

.svc-choice-radio input:checked+.svc-choice-indicator::after {content:'';position:absolute;inset:4px;background:var(--burgundy);border-radius:50%;}

.svc-choice-check input:checked+.svc-choice-indicator::after {content:'✓';position:absolute;inset:0;display:grid;place-items:center;background:var(--burgundy);color:white;font-size:12px;}

.svc-choice-label {flex:1;line-height:1.6;font-size:14px;color:#4e4240;}

.svc-choice-price {font:500 11px var(--font-en);color:#86635e;text-align:end;max-width:135px;line-height:1.5;direction:ltr;}

.svc-choice input:focus-visible+.svc-choice-indicator {outline:2px solid #7a4c54;outline-offset:3px;}

.svc-numeric-control {position:relative;}

.svc-numeric-control:has(.svc-unit-price) .svc-control {padding-inline-end:135px;}

.svc-unit-price {position:absolute;inset-inline-end:13px;top:50%;transform:translateY(-50%);color:#9c867e;font-size:12px;direction:ltr;}

.svc-file-notice {display:block;color:#8b7b72;font-size:11px;margin-top:8px;}

.svc-field-error {margin:6px 0 0;color:#ad3941;font-size:12px;min-height:0;}

.svc-field.has-error .svc-control,.svc-field.has-error .svc-choice-group {border-color:#aa4856;}

.svc-submit-area {padding:26px 0 0;}

.svc-total-line {display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 17px;color:#594346;font-size:17px;}

.svc-total-line strong {font:600 28px var(--font-en);color:var(--burgundy);direction:ltr;}

.svc-submit-btn {width:100%;min-height:59px;padding:14px 24px;background:var(--burgundy);color:#fff;border:1px solid var(--burgundy);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;font-weight:600;transition:.2s;}

.svc-submit-btn:hover {background:#361d24;}

.svc-submit-btn span {font:22px var(--font-en);}

.svc-feedback {margin:12px 0 0;line-height:1.8;font-size:12px;min-height:0;}

.svc-feedback[data-state="error"] {color:#a03846;}

.svc-feedback[data-state="success"] {color:#3b7552;}

#svc-submit-note {display:block;color:#928179;line-height:1.8;font-size:11px;margin:10px 0 0;}

.svc-related {padding-top:90px;margin-top:80px;border-top:1px solid #e5dbd1;}

.svc-related .svc-cards {grid-template-columns:repeat(3,minmax(0,1fr));}

.svc-all-link {color:var(--burgundy);font-size:13px;border-bottom:1px solid #bfa7a2;padding-bottom:8px;white-space:nowrap;}

@media(max-width:1050px){.svc-cards {grid-template-columns:repeat(3,minmax(0,1fr));}

.svc-detail-layout {gap:24px;}

.svc-list-hero-copy {padding:40px;}}

@media(max-width:800px){.svc-list-hero {grid-template-columns:1fr;}

.svc-list-hero-copy {padding:50px 32px;}

.svc-list-hero-image {min-height:340px;}

.svc-cards {grid-template-columns:repeat(2,minmax(0,1fr));}

.svc-detail-layout {grid-template-columns:1fr;}

.svc-detail-gallery {position:static;}

.svc-gallery-stage {aspect-ratio:1.15;}

.svc-related {padding-top:65px;margin-top:60px;}

.svc-related .svc-cards {grid-template-columns:repeat(2,minmax(0,1fr));}

.svc-related .svc-card:last-child {display:none;}}

@media(max-width:560px){.svc-shell {padding-top:21px;padding-bottom:60px;}

.svc-container {padding-inline:15px;}

.svc-list-hero-copy {padding:43px 25px;}

.svc-list-hero-image {min-height:260px;}

.svc-directory {padding-top:50px;}

.svc-heading-row {align-items:start;gap:10px;flex-wrap:wrap;}

.svc-cards {gap:14px;}

.svc-card-body {padding:16px 13px;}

.svc-card h3 {font-size:16px;}

.svc-card p {font-size:12px;min-height:88px;}

.svc-card-cta {font-size:11px;}

.svc-card-image {aspect-ratio:1.02;}

.svc-card-mark {font-size:8px;padding:5px 7px;}

.svc-pagination-bar {flex-direction:column;align-items:center;}

.svc-gallery-stage {aspect-ratio:1.06;}

.svc-gallery-strip {gap:6px;}

.svc-thumb {flex-basis:82px;}

.svc-detail-content h1 {font-size:33px;}

.svc-live-price {padding:20px;}

.svc-related .svc-cards {grid-template-columns:repeat(2,minmax(0,1fr));}

.svc-detail-lead {font-size:14px;}

.svc-choice {padding:10px;gap:10px;}

.svc-choice-price {font-size:10px;}

.svc-total-line strong {font-size:23px;}}

@media(max-width:370px){.svc-cards,.svc-related .svc-cards {grid-template-columns:1fr;}

.svc-card p {min-height:0;}

.svc-related .svc-card:last-child {display:flex;}

.svc-choice {flex-wrap:wrap;}

.svc-choice-price {margin-inline-start:auto;}}

@media(prefers-reduced-motion:reduce){.svc-gallery-stage img,.svc-card,.svc-card-image img,.svc-thumbnails {transition:none!important;scroll-behavior:auto!important;}}

/* Service pages refinement v2 */
.svc-shell {padding-top:18px;}

.svc-crumb {font-size:12px;line-height:1.4;gap:9px;margin:0 0 19px;padding:0;color:#87786e;}

.svc-crumb span:last-child {color:var(--burgundy);}

.svc-crumb a {text-decoration:none;}

.svc-photo-arrow,.svc-thumb-move {font-size:0;border-radius:50%;width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:0;}

.svc-thumb-move {width:32px;height:32px;}

.svc-photo-arrow svg,.svc-thumb-move svg {width:18px;height:18px;flex-shrink:0;}

.svc-photo-prev svg,#svc-thumb-back svg {transform:rotate(180deg);}

.svc-choice-group {display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;}

.svc-choice {flex:1 1 calc(33.333% - 10px);max-width:100%;min-width:min(100%,180px);min-height:64px;gap:10px;padding:12px 14px;}

.svc-choice-label {flex:1 1 auto;min-width:0;}

.svc-choice-price {flex:0 0 auto;max-width:none;white-space:nowrap;}

.svc-related .svc-cards {grid-template-columns:repeat(4,minmax(0,1fr));}

@media(max-width:1000px){.svc-choice {flex-basis:calc(50% - 10px);}

.svc-related .svc-cards {grid-template-columns:repeat(2,minmax(0,1fr));}}

@media(max-width:560px){.svc-choice {flex-basis:calc(50% - 10px);min-width:min(100%,140px);}

.svc-related .svc-cards {grid-template-columns:repeat(2,minmax(0,1fr));}

.svc-related .svc-card:last-child {display:flex;}

.svc-crumb {margin-bottom:16px;}

.svc-shell{padding-top:14px;}}

@media(max-width:390px){.svc-choice {flex-basis:100%;min-width:0;}}

/* Service polish v3 — compact introduction and mobile-safe form controls */
.svc-list-intro {display:flex;align-items:end;justify-content:space-between;gap:28px;margin:18px 0 30px;padding-bottom:23px;border-bottom:1px solid #e6dcd2;}

.svc-list-intro h1 {margin:0 0 10px;color:var(--burgundy);font-size:clamp(29px,3.4vw,46px);font-weight:600;line-height:1.3;}

.svc-list-intro p {margin:0;color:#786c64;line-height:1.85;font-size:clamp(14px,1.2vw,16px);max-width:700px;}

.svc-list-intro #svc-count {flex-shrink:0;color:#8b786e;font-size:12px;white-space:nowrap;}

.svc-cta-icon {display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d8c7bc;border-radius:50%;flex-shrink:0;}

.svc-card-cta .svc-cta-icon svg {width:16px;height:16px;display:block;}

html[dir="rtl"] .svc-cta-icon svg {transform:scaleX(-1);}

.svc-detail-content,.svc-field,.svc-numeric-control,.svc-choice-group {min-width:0;max-width:100%;}

.svc-control,.svc-field input[type="date"] {box-sizing:border-box;max-width:100%;min-width:0;width:100%;}

.svc-field input[type="date"] {display:block;-webkit-appearance:none;appearance:none;min-height:52px;}

.svc-upload-preview {margin-top:12px;padding:13px;border:1px solid #e3d7cc;background:#f6f0e9;min-width:0;}

.svc-preview-file {font-size:13px;color:#52323a;overflow-wrap:anywhere;word-break:break-word;margin-bottom:10px;}

.svc-preview-image {width:auto;max-width:100%;max-height:240px;object-fit:contain;border:1px solid #e1d6cc;background:#fff;}

.svc-preview-remove {display:block;margin-top:10px;padding:7px 12px;background:transparent;color:var(--burgundy);border:1px solid #d7c6ba;font-size:12px;}

/* 16px prevents the automatic focus zoom on iOS Safari without disabling pinch zoom. */
@media (max-width:800px) {
 .service-page input,.service-page select,.service-page textarea,.service-page .svc-control,.service-page .search-field input {font-size:16px!important;}

.svc-list-intro {align-items:start;flex-direction:column;gap:8px;margin-top:9px;}

.svc-list-intro h1 {font-size:32px;}

.svc-list-intro #svc-count {white-space:normal;}

.svc-detail-content {width:100%;min-width:0;}

.svc-field input[type="date"] {max-width:100%;min-width:0;}
}


/* ======================================================================
   Source section: pages.css
   ====================================================================== */
/* QAF HOME — editorial About + Contact */
.editorial-page{background:#fcfaf6;color:var(--ink);overflow:hidden}

.page-pad{padding:38px 24px 95px}

.simple-crumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#897d75;margin-bottom:40px}

.simple-crumb a:hover{color:var(--burgundy)}

.editorial-kicker{display:block;color:#856c65;font:500 11px var(--font-en);letter-spacing:.19em;margin-bottom:22px}

.story-hero{display:grid;grid-template-columns:1fr 1.08fr;gap:clamp(30px,5vw,90px);align-items:center;padding:10px 0 85px}

.story-copy{padding:30px 0;max-width:580px}

.story-copy h1,.contact-top h1{font-size:clamp(38px,4.3vw,68px);line-height:1.24;font-weight:500;letter-spacing:-.025em;color:var(--burgundy);margin:0 0 25px}

.story-copy p,.contact-top p{color:#665a54;line-height:2;font-size:clamp(15px,1.35vw,18px)}

.story-copy .story-secondary{font-size:15px;max-width:520px}

.story-rule{display:block;background:#b9a59b;height:1px;width:82px;margin:28px 0}

.story-cta{display:inline-flex;align-items:center;gap:35px;padding:17px 26px;background:var(--burgundy);color:#fff;border:1px solid var(--burgundy);font-weight:500;margin-top:18px;transition:.2s}

.story-cta:hover{color:var(--burgundy);background:transparent}

.story-image{background:#eee6dc;padding:clamp(13px,2vw,23px);position:relative}

.story-image img{width:100%;aspect-ratio:4/4.6;object-fit:cover}

.story-image-caption{font:500 11px var(--font-en);letter-spacing:.19em;padding:17px 3px 0;color:#685752}

.story-image-caption span{padding:0 8px}

.story-values{padding:64px 0 90px;border-block:1px solid #e3d8cb}

.values-heading{margin-bottom:34px}

.values-heading h2,.story-end h2{font-size:clamp(28px,3vw,43px);color:var(--burgundy);font-weight:500}

.values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}

.values-grid article{background:#f5efe8;border:1px solid #e8ded3;padding:40px 32px;min-height:230px}

.value-index{font:500 12px var(--font-en);color:#9d857b}

.values-grid h3{color:var(--burgundy);font-size:22px;margin:28px 0 13px}

.values-grid p{color:#6e6059;line-height:1.9;margin:0}

.story-end{text-align:center;padding:85px 0 12px}

.story-end .story-cta{margin-top:24px}

.contact-top{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:0 0 45px}

.contact-top h1{max-width:710px}

.contact-top p{max-width:590px;margin:0}

.contact-deco{font:400 clamp(26px,3.5vw,54px) var(--font-en);letter-spacing:.15em;color:#ddcec3;white-space:nowrap}

.contact-layout{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr);gap:28px;align-items:stretch}

.contact-info{background:var(--burgundy);color:#f9f3ea;padding:clamp(28px,4vw,54px);display:flex;flex-direction:column;min-height:690px;position:relative;overflow:hidden}

.contact-info:before{content:"";position:absolute;width:470px;height:470px;border:1px solid rgba(255,255,255,.09);border-radius:50%;left:-240px;bottom:-240px;pointer-events:none}

.contact-info .editorial-kicker{color:#d4bfb4}

.contact-info h2{font-size:clamp(30px,2.5vw,42px);margin-bottom:15px}

.contact-info-top p{color:#e0d4ce;line-height:1.9}

.info-lines{margin-top:25px}

.info-item{display:grid;grid-template-columns:32px minmax(0,1fr);gap:15px;border-top:1px solid rgba(255,255,255,.2);padding:22px 0}

.info-symbol{font:25px var(--font-en);color:#c9a9a2}

.info-label{display:block;font-size:12px;opacity:.74;margin-bottom:8px}

.info-item a,.info-item p{color:#f9f3ea;margin:0;overflow-wrap:anywhere;line-height:1.7}

.info-item a:hover{text-decoration:underline;color:white}

.contact-map{display:inline-block;margin-top:9px;font-size:13px}

.social-links{display:flex;gap:12px;flex-wrap:wrap}

.social-links a{border:1px solid rgba(255,255,255,.4);padding:8px 12px;font-size:13px}

.social-links a[aria-disabled="true"]{opacity:.75;pointer-events:none}

.contact-info-bottom{margin-top:auto;padding-top:32px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.2)}

.contact-info-bottom span{font:400 19px var(--font-en);letter-spacing:.15em}

.contact-info-bottom p{font-size:12px;opacity:.78;margin:0}

.contact-form-wrap{padding:clamp(28px,4.4vw,60px);border:1px solid #e5dacf;background:#fffefa;box-shadow:0 20px 55px rgba(64,42,37,.045)}

.contact-form-wrap h2{font-size:clamp(30px,2.7vw,43px);color:var(--burgundy);margin:0 0 14px}

.form-intro{line-height:1.9;color:#7d6e67;margin:0 0 35px}

.contact-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}

.contact-field{display:block;margin:0 0 21px}

.contact-field span{display:block;color:#523e3f;font-weight:500;font-size:14px;margin-bottom:12px}

.contact-field input,.contact-field textarea{width:100%;min-width:0;border:1px solid #dcd1c7;background:#fcfaf7;padding:17px 18px;font-size:15px;color:#2e2726;outline:0;transition:.2s}

.contact-field textarea{resize:vertical;min-height:195px}

.contact-field input:focus,.contact-field textarea:focus{border-color:var(--burgundy);background:white;box-shadow:0 0 0 3px rgba(73,40,47,.07)}

.contact-field [aria-invalid="true"]{border-color:#b64551}

.field-error{color:#b64551;display:block;margin-top:7px;font-size:12px;min-height:0}

.contact-submit-row{display:flex;align-items:center;gap:22px}

.contact-submit{min-width:225px;border:1px solid var(--burgundy);background:var(--burgundy);color:white;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 22px;font-weight:500}

.contact-submit:hover{background:#362029}

.contact-submit-row p{font-size:12px;color:#978981;line-height:1.75;margin:0;max-width:310px}

.contact-status{border:1px solid #ccb8ab;background:#f7f1eb;padding:15px 17px;line-height:1.8;margin-top:22px;color:#513b3b}

.contact-status.is-error{border-color:#c98e92;color:#9d3d49}

@media(max-width:900px){.story-hero{grid-template-columns:1fr 1fr;gap:25px}

.contact-layout{grid-template-columns:1fr}

.contact-info{min-height:0}

.contact-deco{display:none}}

@media(max-width:700px){.page-pad{padding:25px 16px 60px}

.simple-crumb{margin-bottom:24px}

.story-hero{grid-template-columns:1fr;gap:24px;padding-bottom:50px}

.story-copy{padding:10px 0}

.story-image img{aspect-ratio:1.14}

.values-grid{grid-template-columns:1fr;gap:12px}

.story-values{padding:45px 0}

.values-grid article{min-height:0;padding:27px}

.values-grid h3{margin:15px 0 8px}

.story-end{padding:60px 0 0}

.contact-top{margin-bottom:27px}

.contact-form-wrap{padding:25px 20px}

.contact-field-row{grid-template-columns:1fr;gap:0}

.contact-submit-row{flex-direction:column;align-items:stretch;gap:13px}

.contact-submit{width:100%}

.contact-info-bottom{align-items:start;flex-direction:column}}

@media(max-width:560px){.info-page .header-tools .language-link{display:inline-flex;font-size:11px;margin-inline-end:0}

.info-page .header-tools{gap:7px}

.info-page .header-brand img{width:120px}}


/* ======================================================================
   Source section: qaf-updates.css
   ====================================================================== */
/* QAF HOME additions - localized typography and voucher shop */
html[lang="ar"] body,html[lang="ar"] body *:not(.qaf-feature-brand){letter-spacing:normal!important}

.hero-copy h1,.hero-copy h1 span{font-weight:700!important;letter-spacing:normal!important}

.hero-image-stage video.hero-image{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;opacity:0;transition:opacity .7s ease;pointer-events:none}

.hero-image-stage video.hero-image.is-active{opacity:1}

.header-grid{position:relative}

.qaf-header-selectors{display:flex;align-items:center;gap:6px;justify-self:end;grid-column:3;grid-row:1;z-index:2}

.header-tools{grid-column:1;grid-row:1;justify-self:start;direction:ltr}

.header-brand{grid-column:2;grid-row:1;justify-self:center}

.desktop-navigation{display:none!important}

.qaf-header-select{position:relative;display:flex;align-items:center;border:1px solid #e0d6d2;border-radius:20px;background:#fff;color:#49282f;padding:0 7px}

.qaf-header-select span{font-size:0}

.qaf-header-select select{background:transparent;border:0;color:inherit;padding:8px 2px;font:600 12px var(--font-en);outline:0;max-width:93px;cursor:pointer}

.qaf-voucher-feature{background:#f7f3eb;padding:0px 0}

.qaf-voucher-feature-media{position:relative;min-height:410px;overflow:hidden;background:#49282f}

.qaf-voucher-feature-media>img,.qaf-voucher-feature-media>video{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;opacity:.52}

.qaf-voucher-feature-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(37,20,25,.73),rgba(37,20,25,.28))}

.qaf-voucher-feature-overlay{position:relative;z-index:1;min-height:410px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:clamp(28px,6vw,80px);color:#fff}

.qaf-feature-brand{font:700 clamp(24px,3vw,39px) var(--font-en);letter-spacing:.06em;margin-bottom:12px}

.qaf-feature-kicker{font-size:12px}

.qaf-voucher-feature-overlay h2{font-size:clamp(29px,4vw,57px);font-weight:700;line-height:1.4;margin:12px 0}

.qaf-voucher-feature-overlay h2 span{font-size:.65em;font-family:var(--font-en)}

.qaf-voucher-feature-overlay p{font-size:16px;margin-bottom:26px}

.qaf-voucher-feature-overlay .button-primary{display:inline-flex;align-items:center;justify-content:center;padding:15px 23px;background:#fff;color:#49282f}

.qaf-page-main{min-height:60vh;padding:45px 0 90px;background:#f9f7f3}

.qaf-breadcrumb{display:flex;gap:10px;margin-bottom:36px;font-size:13px;color:#887b75}

.qaf-breadcrumb a:hover{text-decoration:underline}

.qaf-page-heading{text-align:center;margin-bottom:33px}

.qaf-page-heading>span,.qaf-detail-kicker{font-size:12px;color:#876b69;font-weight:600}

.qaf-page-heading h1{font-size:clamp(27px,3vw,42px);font-weight:700;color:#49282f;margin:10px 0}

.qaf-page-heading p{color:#7a6c66}

.qaf-voucher-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}

.qaf-voucher-card{background:#fff;border:1px solid #e8e1dd;border-radius:12px;overflow:hidden;min-width:0;transition:transform .2s,box-shadow .2s}

.qaf-voucher-card:hover{transform:translateY(-4px);box-shadow:0 13px 35px rgba(50,29,38,.1)}

.qaf-voucher-art{position:relative;aspect-ratio:4/4.65;background:#49282f}

.qaf-voucher-art img{width:100%;height:100%;object-fit:cover}

.qaf-voucher-art>b{position:absolute;top:57%;right:0;left:0;text-align:center;font:600 clamp(28px,5vw,57px) var(--font-en);color:#642b3c}

.qaf-voucher-art>b small{font-size:.30em}

.qaf-voucher-card-body{padding:17px;display:grid;gap:7px}

.qaf-voucher-card-body>span:first-child{font-size:11px;color:#9a797b;font-weight:600}

.qaf-voucher-card-body h2{font-size:15px;font-weight:600;line-height:1.6;margin:0;color:#392a2a}

.qaf-voucher-card-body strong{font-size:15px;color:#49282f}

.qaf-voucher-card-action{background:#49282f;color:white;text-align:center;padding:10px;border-radius:8px;margin-top:5px;font-size:13px}

.qaf-pagination{display:flex;gap:8px;justify-content:center;margin-top:35px}

.qaf-pagination a{border:1px solid #d7c9c7;padding:9px 16px;border-radius:7px;background:white}

.qaf-pagination a[aria-current]{background:#49282f;color:white}

.qaf-voucher-detail{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.25fr);gap:36px;align-items:start}

.qaf-detail-preview{background:#efe9e4;padding:24px;border-radius:18px;position:sticky;top:25px;text-align:center}

.qaf-detail-preview img{width:min(100%,350px);margin:auto}

.qaf-detail-preview strong{display:block;font:700 28px var(--font-en);margin:16px 0 5px;color:#49282f}

.qaf-detail-preview>span{font:600 13px var(--font-en);color:#8a7777}

.qaf-detail-content{background:#fff;border:1px solid #e8dfdb;border-radius:20px;padding:clamp(22px,3vw,38px);box-shadow:0 12px 35px rgba(50,30,40,.04)}

.qaf-detail-content h1{font-size:clamp(24px,2.4vw,34px);font-weight:700;margin:12px 0;color:#49282f}

.qaf-detail-price{font-size:22px;font-weight:700;color:#49282f}

.qaf-detail-info{background:#f7f3f1;border-radius:10px;color:#766c67;padding:14px;margin:20px 0}

.qaf-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:15px}

.qaf-field{display:block;min-width:0;font-size:13px;font-weight:600;color:#493b3b}

.qaf-field input,.qaf-field textarea,.qaf-field select{display:block;width:100%;min-width:0;background:#fff;border:1px solid #dcd4d0;border-radius:9px;padding:12px;margin-top:8px;outline:0;font-size:15px;font-weight:400}

.qaf-field input:focus,.qaf-field textarea:focus{border-color:#895660;box-shadow:0 0 0 3px #89566016}

.qaf-field input[type=tel],.qaf-field input[type=email]{font-size:16px}

.qaf-phone{display:flex;gap:6px;direction:ltr}

.qaf-phone select{width:118px;flex-shrink:0;font-size:13px}

.qaf-message{margin-top:5px}

.qaf-field textarea{resize:vertical}

.qaf-error{display:block;font-size:12px;color:#af2c3c;font-weight:500;line-height:1.6}

.qaf-field.has-error input,.qaf-field.has-error textarea{border-color:#af2c3c}

.qaf-detail-submit{width:100%;background:#49282f;color:white;border:0;border-radius:10px;padding:16px;font-weight:700;margin-top:16px}

.qaf-form-success{padding:12px;background:#ebf7ef;color:#256c43;border-radius:8px}

.qaf-demo-note{font-size:12px;color:#91807a;margin-top:12px}

@media(max-width:900px){.qaf-voucher-grid{gap:14px}

.qaf-voucher-detail{grid-template-columns:1fr}

.qaf-detail-preview{position:static;max-width:440px;width:100%;margin:auto}

.qaf-header-selectors{gap:3px}}

@media(max-width:650px){.qaf-header-select select{font-size:11px;max-width:66px;padding:5px 0}

.qaf-header-select{padding:0 2px}

.qaf-header-selectors{gap:2px}

.header-tools{gap:5px!important}

.header-tools .header-button{width:24px;min-width:24px}

.header-brand img{width:clamp(80px,22vw,130px)!important}

.header-grid{gap:3px!important;padding:0 8px!important}

.qaf-voucher-feature{padding:35px 0}

.qaf-voucher-feature-media,.qaf-voucher-feature-overlay{min-height:350px}

.qaf-voucher-feature-overlay{padding:22px}

.qaf-page-main{padding:25px 0 55px}

.qaf-voucher-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.qaf-voucher-card-body{padding:10px;gap:5px}

.qaf-voucher-card-body h2{font-size:12px}

.qaf-voucher-art>b{font-size:clamp(27px,8vw,44px)}

.qaf-voucher-card-action{font-size:12px}

.qaf-voucher-detail{gap:18px}

.qaf-detail-content{padding:18px}

.qaf-form-row{gap:10px}

.qaf-field{font-size:12px}

.qaf-field input,.qaf-field textarea,.qaf-field select{padding:10px 7px}

.qaf-phone select{width:78px;font-size:11px}

.qaf-phone input{width:100%}

.qaf-detail-preview img{max-height:270px;object-fit:contain}}

/* QAF HOME V12 — identical shared header across the site. Announcement gets maximum text space. */
.announcement-bar{display:block!important;text-align:initial!important;padding:0!important;min-height:44px!important;letter-spacing:normal!important}

.qaf-announcement-inner{width:100%;max-width:1580px;margin:auto;min-height:44px;padding:7px clamp(12px,3vw,48px);display:flex;align-items:center;gap:clamp(12px,3vw,28px);direction:ltr}

.qaf-header-selectors{display:flex!important;align-items:center;flex:0 0 auto;gap:8px;position:static!important;grid-column:auto!important;grid-row:auto!important;z-index:auto!important}

.qaf-header-select{border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;color:#fff!important;display:inline-flex!important;align-items:center;gap:5px;min-width:0}

.qaf-header-select svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}

.qaf-header-select select{appearance:none;-webkit-appearance:none;display:block;max-width:78px!important;width:auto;min-width:0;background:transparent!important;border:0!important;padding:3px 0!important;color:#fff!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.4;outline-offset:3px;cursor:pointer;text-align:left}

.qaf-header-select select option{color:#49282f;background:#fff}

.qaf-header-select select:focus-visible{outline:2px solid white;border-radius:2px}

.qaf-announcement-divider{height:17px;width:1px;background:rgba(255,255,255,.28)}

.qaf-announcement-copy{min-width:0;flex:1;display:block;direction:rtl;text-align:right;font-size:clamp(11px,1.45vw,13px);line-height:1.5;overflow-wrap:anywhere;white-space:normal}

html[dir="ltr"] .qaf-announcement-copy{direction:ltr;text-align:right}

/* Physical left/right positions deliberately do not change when toggling language. */
.header-grid{position:relative!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;direction:ltr!important;gap:10px!important}

.header-tools{grid-column:1!important;grid-row:1!important;justify-self:start!important;direction:ltr!important;display:flex!important;align-items:center!important;gap:clamp(8px,1.8vw,18px)!important}

.header-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;z-index:1}

.menu-trigger{display:grid!important;position:absolute!important;right:clamp(12px,3vw,48px)!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;width:40px!important;height:40px!important;border:1px solid rgba(73,40,47,.17)!important;border-radius:12px!important;background:rgba(230,226,214,.32)!important}

html[dir="ltr"] .menu-trigger{right:clamp(12px,3vw,48px)!important;left:auto!important}

.header-button:not(.menu-trigger){flex-shrink:0}

@media(max-width:800px){.header-grid{min-height:68px!important;padding:0 14px!important}

.header-brand img{width:clamp(104px,26vw,152px)!important}

.header-tools{gap:clamp(8px,2.5vw,13px)!important}

.header-tools .header-button:not(.menu-trigger){width:23px!important;min-width:23px!important}

.header-button svg{width:21px!important}

.menu-trigger{right:12px!important;width:36px!important;height:36px!important}

.menu-trigger svg{width:20px!important}

.count-badge{width:15px;height:15px;font-size:9px;right:-7px!important;top:-5px!important}}

@media(max-width:420px){.qaf-announcement-inner{gap:10px;padding:7px 10px}

.qaf-header-selectors{gap:5px}

.qaf-header-select{gap:3px}

.qaf-header-select svg{width:14px;height:14px}

.qaf-header-select select{font-size:11px!important;max-width:54px!important}

.qaf-announcement-copy{font-size:11px}

.header-grid{padding:0 10px!important;gap:4px!important}

.header-brand img{width:clamp(96px,26vw,120px)!important}

.header-tools{gap:8px!important}

.header-tools .header-button:not(.menu-trigger){width:21px!important;min-width:21px!important}

.header-tools .header-button svg{width:19px!important}

.menu-trigger{right:10px!important}}

/* V13: stable iPhone header, preserve most top-bar width for announcement text. */
.qaf-announcement-copy{flex:1 1 auto!important;overflow-wrap:break-word!important}

.qaf-header-selectors{flex:0 0 auto!important;white-space:nowrap!important}

.header-tools .header-button:not(.menu-trigger){position:relative}

@media(max-width:420px){
 .qaf-announcement-inner{align-items:center!important}

.qaf-header-selectors{gap:4px!important}

.qaf-announcement-copy{font-size:11px!important;min-width:0!important}

.header-tools{max-width:calc((100vw - 118px)/2)!important}

.header-grid .header-brand{max-width:clamp(85px,27vw,120px)!important}

.header-grid .header-brand img{max-width:100%!important}
}



/* Shared-header refinements: reserve maximum width for announcements. */
.qaf-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.qaf-header-selectors { flex: 0 0 auto; }
.qaf-announcement-copy {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.header-tools .menu-trigger { margin-inline-start: auto; }
@media (max-width: 420px) {
    .qaf-announcement-inner { gap: 8px; }
    .qaf-header-selectors { gap: 3px; }
    .qaf-header-select svg { width: 13px; height: 13px; }
    .qaf-header-select select { max-width: 49px !important; font-size: 10px !important; }
    .qaf-announcement-copy { font-size: 11px; }
}


/* ======================================================================
   QAF category menu enhancement: desktop + mobile, overlays the page
   ====================================================================== */
.main-header { overflow: visible !important; }

/* The header remains its original height: the menu is an overlay. */
#page-header { position: relative; }
#page-header #mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px clamp(18px, 5vw, 72px) 24px;
    background: var(--paper, #fffefa);
    box-shadow: 0 18px 35px rgba(0,0,0,.13);
    z-index: 100;
    box-sizing: border-box;
    flex-direction: column;
    gap: 0;
}
#page-header #mobile-navigation.is-open { display: flex !important; }
#page-header #mobile-navigation > a,
#page-header .qaf-menu-category-row > a {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    border-bottom: 0;
}
#page-header #mobile-navigation > a,
#page-header .qaf-menu-category { border-bottom: 1px solid var(--line, #e1dcd3); }
#page-header .qaf-menu-category-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
#page-header .qaf-subcategory-toggle {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line, #e1dcd3);
    border-radius: 4px;
    color: var(--burgundy, #49282f);
    cursor: pointer;
}
#page-header .qaf-subcategory-toggle svg { width: 17px; height: 17px; transition: transform .2s ease; }
#page-header .qaf-subcategory-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
#page-header .qaf-subcategory-list:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2px 15px 12px;
    background: rgba(230,226,214,.18);
}
#page-header .qaf-subcategory-list[hidden] { display: none !important; }
#page-header .qaf-subcategory-list a {
    display: block;
    padding: 9px 0;
    font-size: 13px;
    color: var(--muted, #766f6a);
    text-decoration: none;
}
#page-header .qaf-subcategory-list a:hover { color: var(--burgundy, #49282f); }
/* Menu icon also works above 800px; keep the existing QAF placement. */
@media (min-width: 801px) {
    #page-header .menu-trigger { display: grid !important; }
    #page-header #mobile-navigation { max-width: 520px; right: 0; left: auto; }
}
@media (max-width: 800px) {
    #page-header #mobile-navigation { max-height: calc(100dvh - 100px); }
}


/* QAF search: mobile input and real AJAX result list integration */
#search-popover .search-field {
    display: flex !important;
    width: 100%;
    min-width: 0;
    align-items: center;
}
#search-popover .search-field #search-input {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    font-size: 16px;
}
#search-popover #search-results.search_result_box {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-height: 385px;
    margin-top: 10px;
    overflow-y: auto;
    box-shadow: none;
    z-index: auto;
}
@media (max-width: 800px) {
    #search-popover.is-open .search-field {
        display: flex !important;
        min-height: 58px;
    }
    #search-popover.is-open #search-input {
        display: block !important;
        min-height: 54px;
    }
}







/* Fix oversized wishlist circle on product cards */
.products-section .favourite-product {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;

    width: 37px !important;
    height: 37px !important;
    min-width: 37px !important;
    min-height: 37px !important;
    max-width: 37px !important;
    max-height: 37px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    background: rgba(255,255,255,0.92) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 5;
}




/* QAF HOME: database-rendered cart and wishlist, same existing QAF drawer design. */
.products-section .favourite-product.if-add-to-wishlist {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: 37px !important;
    height: 37px !important;
    min-width: 37px !important;
    min-height: 37px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.92) !important;
    color: var(--burgundy) !important;
    border: 1px solid #eee9e3 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    z-index: 5;
}
.products-section .favourite-product.if-add-to-wishlist.is-active {
    background: var(--burgundy) !important;
    color: #fff !important;
    border-color: var(--burgundy) !important;
}
/* Existing drawer-scroll scrolls; the legacy AJAX returns a ul, so remove its list defaults. */
.shop-drawer .if-minicart-items,
.shop-drawer .if-wishlist-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.shop-drawer .drawer-item {
    display: grid;
    grid-template-columns: 91px minmax(0,1fr) 25px;
    align-items: start;
    gap: 14px;
}
.shop-drawer .qaf-drawer-image {
    display: block;
    width: 91px;
}
.shop-drawer .qaf-drawer-image img {
    display: block;
    width: 91px;
    height: 103px;
    object-fit: cover;
    background: var(--cream);
}
.shop-drawer .qaf-drawer-variant {
    margin: 3px 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}
.shop-drawer .drawer-item-info { min-width: 0; }
.shop-drawer .drawer-item-info h3 a { color: inherit; }
.shop-drawer .drawer-item-info strong { display: block; margin-top: 8px; }
.shop-drawer .drawer-item .wishlist-move {
    display: inline-block;
    text-decoration: none;
}
.shop-drawer .drawer-item .drawer-remove {
    text-decoration: none;
    padding: 0;
    line-height: 1;
}
.shop-drawer .qaf-real-quantity button:disabled { opacity: .45; }
@media (max-width: 400px) {
    .shop-drawer .drawer-scroll { padding: 14px 16px; }
    .shop-drawer .drawer-item { grid-template-columns: 75px minmax(0,1fr) 22px; gap: 10px; }
    .shop-drawer .qaf-drawer-image, .shop-drawer .qaf-drawer-image img { width: 75px; }
    .shop-drawer .qaf-drawer-image img { height: 89px; }
}

















/* Only extra rules; QAF existing qaf-main CSS already includes voucher design. */
.qaf-voucher-empty {text-align:center;padding:55px 16px;color:#776b65}
.qaf-voucher-note {margin-top:12px;font-size:12px;color:#806f69;line-height:1.7}
.qaf-voucher-discount {color:#8a595b;margin:8px 0}
#qaf-form-status.qaf-voucher-pending{padding:12px;margin-top:12px;border-radius:8px;background:#f7f0df;color:#775d28}
.qaf-voucher-art img{position:relative;display:block;object-fit:cover;width:100%;height:100%;border-radius:0}
.qaf-voucher-art::before,.qaf-voucher-art::after{content:none!important;display:none!important}
.qaf-voucher-card{display:block;text-decoration:none;color:inherit}
.qaf-voucher-card:hover{text-decoration:none}
@media(max-width:650px){.qaf-voucher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qaf-form-row{grid-template-columns:1fr}}














  /* Only the tailoring inputs need extra styling; QAF's existing gallery and product CSS stays unchanged. */
.product-special-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.product-special-fields label { display:flex; flex-direction:column; gap:7px; font-size:14px; }
.product-special-fields input:not([type="radio"]), .product-special-fields textarea { width:100%; min-width:0; padding:12px; border:1px solid #e3d9da; border-radius:4px; background:#fff; font:inherit; font-size:16px; }
.product-special-fields label:has(textarea), .product-special-fields > div { grid-column:1/-1; }
.product-special-fields > div label { display:inline-flex; flex-direction:row; align-items:center; margin-inline:8px; }
#add-to-cart-message:not(:empty) { margin-top:10px; }
@media(max-width:575px) { .product-special-fields { grid-template-columns:1fr; } }

/* QAF Product Detail — Related Products Fix */

#related-products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#related-products-grid .product-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    text-align: right;
}

#related-products-grid .product-price {
    position: static !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.6;
}

#related-products-grid .product-add {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    min-height: 46px;

    margin-top: auto !important;
    padding: 12px 16px !important;

    background: #49282f;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

#related-products-grid .product-add:hover {
    background: #633640;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    #related-products-grid .product-meta {
        gap: 8px;
    }

    #related-products-grid .product-add {
        min-height: 42px;
        padding: 10px !important;
        font-size: 13px;
    }
}















/* =========================
   QAF HOME Luxury Preloader
========================= */

#qaf-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        ellipse at center,
        #ffffff 0%,
        #faf7f3 55%,
        #f0e8e0 100%
    );
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: opacity .45s ease,
                visibility .45s ease;
}

#qaf-preloader::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(73, 40, 47, .08);
    pointer-events: none;
}

.qaf-loader-content {
    position: relative;
    width: 260px;
    text-align: center;
    animation: qafLoaderEnter .65s ease both;
}

.qaf-loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(73, 40, 47, .10);
    border-radius: 30px;
    box-shadow: 0 12px 40px rgba(73, 40, 47, .07);
    animation: qafLogoPulse 2s ease-in-out infinite;
}

.qaf-loader-logo img {
    display: block;
    width: 85%;
    max-height: 90px;
    object-fit: contain;
    border-radius: 0;
}

.qaf-loader-title {
    color: #49282f;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.qaf-loader-track {
    position: relative;
    width: 135px;
    height: 3px;
    border-radius: 10px;
    margin: 0 auto;
    background: rgba(73, 40, 47, .10);
    overflow: hidden;
    direction: ltr;
}

.qaf-loader-track span {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #c7ada5,
        #49282f,
        #a47b72
    );
    animation: qafLoaderProgress 1.2s ease-in-out infinite;
}

.qaf-loader-text {
    color: #927f76;
    font-size: 12px;
    font-weight: 400;
    margin-top: 14px;
}

#qaf-preloader.qaf-loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Entry animation */

@keyframes qafLoaderEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo breathing animation */

@keyframes qafLogoPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

/* Progress bar animation */

@keyframes qafLoaderProgress {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(230%);
    }
}

/* Mobile */

@media (max-width: 576px) {
    #qaf-preloader::before {
        inset: 8px;
    }

    .qaf-loader-logo {
        width: 105px;
        height: 105px;
        border-radius: 25px;
    }

    .qaf-loader-title {
        font-size: 15px;
    }

    .qaf-loader-track {
        width: 120px;
    }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
    .qaf-loader-content,
    .qaf-loader-logo,
    .qaf-loader-track span {
        animation: none;
    }
}
/* =========================================================
   QAF HOME — homepage category image cards
   Scoped to collections only; existing grid stays unchanged.
   ========================================================= */
#collections .category-card {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;
    border-radius: 20px;
    background: var(--cream, #f0ece6);
    box-shadow: 0 0 0 1px rgba(73,40,47,.08);
    text-decoration: none;
    color: #fff;
}
#collections .category-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: inherit;
}
#collections .category-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
#collections .category-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.14) 40%, transparent 72%);
}
#collections .category-caption {
    position: absolute;
    z-index: 1;
    inset-inline: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 12px;
    min-height: 44px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.13);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
}
#collections .category-title {
    min-width: 0;
    font-size: clamp(13px, 1.15vw, 17px);
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-align: start;
}
#collections .category-arrow {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    padding: 0;
    color: #fff;
    background: transparent;
    border-radius: 0;
}
#collections .category-arrow svg {
    width: 18px;
    height: 18px;
}
html[dir="ltr"] #collections .category-arrow svg {
    transform: rotate(180deg);
}
#collections .category-card:hover .category-arrow {
    background: transparent;
    transform: translateX(-2px);
}
html[dir="ltr"] #collections .category-card:hover .category-arrow {
    transform: translateX(2px);
}
#collections .category-card:focus-visible {
    outline: 2px solid var(--burgundy, #49282f);
    outline-offset: 3px;
}
@media (max-width: 576px) {
    #collections .category-card { border-radius: 16px; }
    #collections .category-photo { aspect-ratio: 4 / 5; }
    #collections .category-caption {
        inset-inline: 8px;
        bottom: 8px;
        padding: 8px 9px;
        min-height: 38px;
        border-radius: 10px;
    }
    #collections .category-title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    #collections .category-photo img,
    #collections .category-arrow { transition: none; }
}










html[lang="ar"] body,
html[lang="ar"] .new-footer {
    font-family: var(--font-ar);
}

html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
    font-family: var(--font-ar);
}
/* QAF HOME — right-side navigation drawer */
#page-header {
    --qaf-menu-top: 110px;
}
#page-header .qaf-menu-backdrop {
    position: fixed;
    top: var(--qaf-menu-top);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background: rgba(25, 17, 19, .48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}
#page-header .qaf-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#page-header #mobile-navigation {
    position: fixed;
    display: flex !important;
    flex-direction: column;
    top: var(--qaf-menu-top);
    right: 0;
    left: auto;
    bottom: 0;
    width: min(78vw, 340px);
    max-width: 340px;
    height: auto;
    max-height: none;
    padding: 20px 16px 24px;
    gap: 0;
    background: var(--paper, #fffefa);
    text-align: right;
    direction: rtl;
    z-index: 100;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -10px 0 30px rgba(0,0,0,.10);
    transform: translateX(105%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s ease, visibility .32s ease;
}
#page-header #mobile-navigation.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
#page-header #mobile-navigation > a,
#page-header #mobile-navigation > .qaf-menu-category {
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(73,40,47,.12);
}
#page-header #mobile-navigation > a,
#page-header #mobile-navigation .qaf-menu-category-row > a {
    padding: 16px 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--ink, #241b1c);
    text-decoration: none;
}
#page-header #mobile-navigation > .qaf-menu-home {
    color: var(--burgundy, #49282f);
    font-weight: 700;
}
#page-header #mobile-navigation .qaf-menu-category-row {
    gap: 8px;
}
#page-header #mobile-navigation .qaf-subcategory-toggle {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--burgundy, #49282f);
}
#page-header #mobile-navigation .qaf-subcategory-toggle svg {
    width: 17px;
    height: 17px;
}
#page-header #mobile-navigation .qaf-subcategory-list:not([hidden]) {
    padding: 0 15px 10px 0;
    background: transparent;
    border-inline-start: 2px solid rgba(73,40,47,.16);
    margin-bottom: 12px;
}
#page-header #mobile-navigation .qaf-subcategory-list a {
    padding: 10px 8px;
    font-weight: 400;
    font-size: 13px;
    color: var(--muted, #766f6a);
    border-bottom: 1px solid rgba(73,40,47,.06);
}
#page-header #mobile-navigation a:hover,
#page-header #mobile-navigation .qaf-subcategory-list a:hover {
    color: var(--burgundy, #49282f);
}
@media (prefers-reduced-motion: reduce) {
    #page-header #mobile-navigation,
    #page-header .qaf-menu-backdrop {
        transition: none;
    }
}












/* =========================================
   QAF HOME – Customer Benefits Section
========================================= */

.qaf-benefits-section {
    padding: 65px 0;
    background: #f8f7f7;
    direction: rtl;
}

.qaf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.qaf-benefit-card {
    background: #fff;
    border: 1px solid #e8e4e5;
    border-radius: 20px;
    min-height: 190px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.qaf-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(76, 38, 48, .07);
}

.qaf-benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f2e9ec;
    color: #692b3b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.qaf-benefit-icon svg {
    width: 27px;
    height: 27px;
}

.qaf-benefit-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #452630;
    margin: 0 0 12px;
    line-height: 1.5;
}

.qaf-benefit-card p {
    font-size: 14px;
    line-height: 1.9;
    color: #77717a;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .qaf-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .qaf-benefits-section {
        padding: 45px 0;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .qaf-benefits-section {
        padding: 35px 12px;
    }

    .qaf-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .qaf-benefit-card {
        min-height: 175px;
        padding: 18px 10px;
        border-radius: 15px;
    }

    .qaf-benefit-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
    }

    .qaf-benefit-icon svg {
        width: 23px;
        height: 23px;
    }

    .qaf-benefit-card h3 {
        font-size: 15px;
        margin-bottom: 7px;
    }

    .qaf-benefit-card p {
        font-size: 12px;
        line-height: 1.8;
    }
}














/* ==========================================
   QAF HOME - Mobile Slider Text Overlay
   ========================================== */

@media (max-width: 800px) {

    #home.hero-section {
        background: #292323;
        overflow: hidden;
    }

    #home .hero-shell {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 0;
        margin: 0;
        isolation: isolate;
    }

    #home .hero-media {
        position: relative;
        width: 100%;
    }

    #home .hero-image-stage {
        width: 100%;
        height: clamp(500px, 135vw, 650px);
        aspect-ratio: auto;
        overflow: hidden;
    }

    #home .hero-image-stage .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Dark overlay for readable text */
    #home .hero-image-stage::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.18) 35%,
            rgba(0, 0, 0, 0.55) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    /* Text directly over slider */
    #home .hero-copy {
        position: absolute;
        top: auto;
        bottom: 75px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0;
        padding: 24px;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 2;
        color: #fff;
        text-align: start;
        align-items: flex-start;
        justify-content: center;
        pointer-events: none;
    }

    /* Small heading */
    #home .hero-copy .eyebrow {
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: normal;
        margin-bottom: 14px;
    }

    /* Main heading */
    #home .hero-copy h1 {
        color: #fff;
        font-size: clamp(28px, 7vw, 40px);
        font-weight: 500 !important;
        line-height: 1.5;
        letter-spacing: normal !important;
        margin: 0 0 14px;
        text-shadow: 0 2px 12px rgba(0,0,0,.2);
    }

    /* Description */
    #home .hero-copy p {
        color: rgba(255, 255, 255, 0.95);
        font-size: 14px;
        line-height: 1.9;
        max-width: 100%;
        margin: 0 0 24px;
    }

    /* Transparent slider button */
    #home .hero-copy .button-primary {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        padding: 13px 26px;
        min-width: 160px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 0;
        pointer-events: auto;
    }

    #home .hero-copy .button-primary:hover {
        background: #fff;
        color: #49282f;
        transform: none;
    }

    /* Slider counter */
    #home .hero-caption {
        position: absolute;
        bottom: 22px;
        left: 20px;
        right: auto;
        background: transparent;
        color: #fff;
        box-shadow: none;
        padding: 0;
        z-index: 4;
        font-size: 11px;
    }

    /* Slider navigation */
    #home .hero-controls {
        position: absolute;
        bottom: 14px;
        right: 20px;
        left: auto;
        z-index: 5;
        gap: 8px;
    }

    #home .hero-controls button {
        width: 38px;
        height: 38px;
        background: transparent;
        border: 1px solid rgba(255,255,255,.8);
        color: #fff;
        box-shadow: none;
        border-radius: 0;
        font-size: 20px;
    }

    #home .hero-controls button:hover {
        background: #fff;
        color: #49282f;
    }

    #home .hero-signature {
        display: none;
    }
}











/* ==========================================
   QAF HOME - Desktop Slider Text Overlay
   ========================================== */

@media (min-width: 801px) {

    #home.hero-section {
        background: #292323;
        overflow: hidden;
    }

    #home .hero-shell {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 0;
        margin: 0;
        isolation: isolate;
    }

    #home .hero-media {
        position: relative;
        width: 100%;
    }

    #home .hero-image-stage {
        width: 100%;
        height: clamp(550px, 43vw, 800px);
        aspect-ratio: auto;
        overflow: hidden;
    }

    #home .hero-image-stage .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Dark overlay */
    #home .hero-image-stage::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to left,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,.30) 45%,
            rgba(0,0,0,.08) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    /* Text directly over the image */
    #home .hero-copy {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: auto;
        width: 60%;
        max-width: 900px;
        min-height: 0;
        margin: 0;
        padding: 60px 6vw 80px;
        background: transparent;
        border: none;
        box-shadow: none;
        z-index: 2;
        color: #fff;
        text-align: right;
        align-items: flex-start;
        justify-content: center;
        pointer-events: none;
    }

    /* Small heading */
    #home .hero-copy .eyebrow {
        color: #fff;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: normal;
        margin-bottom: 20px;
    }

    /* Main heading */
    #home .hero-copy h1 {
        color: #fff;
        font-size: clamp(40px, 4vw, 68px);
        font-weight: 500 !important;
        line-height: 1.4;
        letter-spacing: normal !important;
        margin: 0 0 22px;
        text-shadow: 0 2px 12px rgba(0,0,0,.2);
    }

    /* Description */
    #home .hero-copy p {
        color: rgba(255,255,255,.95);
        font-size: clamp(16px, 1.4vw, 21px);
        line-height: 1.9;
        max-width: 600px;
        margin: 0 0 32px;
    }

    /* Transparent button */
    #home .hero-copy .button-primary {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        padding: 16px 40px;
        min-width: 220px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 0;
        pointer-events: auto;
    }

    #home .hero-copy .button-primary:hover {
        background: #fff;
        color: #49282f;
        transform: none;
    }

    /* Slider counter */
    #home .hero-caption {
        position: absolute;
        bottom: 30px;
        left: 40px;
        right: auto;
        background: transparent;
        color: #fff;
        box-shadow: none;
        padding: 0;
        z-index: 4;
        font-size: 13px;
    }

    /* Slider navigation arrows */
    #home .hero-controls {
        position: absolute;
        bottom: 25px;
        right: 40px;
        left: auto;
        z-index: 5;
        gap: 10px;
    }

    #home .hero-controls button {
        width: 48px;
        height: 48px;
        background: transparent;
        border: 1px solid rgba(255,255,255,.8);
        color: #fff;
        box-shadow: none;
        border-radius: 0;
        font-size: 24px;
    }

    #home .hero-controls button:hover {
        background: #fff;
        color: #49282f;
    }

    #home .hero-signature {
        display: none;
    }
}







/* QAF HOME - Homepage discount badge */
#products .product-photo { position: relative; }
#products .qaf-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 3;
    background: #682d40;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    font-family: inherit;
    pointer-events: none;
}
@media (max-width: 767px) {
    #products .qaf-discount-badge {
        top: 8px;
        left: 8px;
        font-size: 11px;
        padding: 4px 8px;
    }
}


 /* QAF HOME - Shared product discount badge */
.product-card .product-photo { position: relative; }
.product-card .qaf-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 3;
    background: #682d40;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    font-family: inherit;
    pointer-events: none;
}
@media (max-width: 767px) {
    .product-card .qaf-discount-badge {
        top: 8px;
        left: 8px;
        font-size: 11px;
        padding: 4px 8px;
    }
}


/* Live catalog updates */

#catalog-product-grid .product-photo::before,#catalog-product-grid .product-photo::after,#catalog-product-grid .product-photo > a::before,#catalog-product-grid .product-photo > a::after { content:none!important;display:none!important; }
#catalog-product-grid .product-photo {position:relative;overflow:hidden;}
#catalog-product-grid .product-photo > a:not(.favourite-product){display:block;}
#catalog-product-grid .product-photo img{display:block;width:100%;height:100%;object-fit:cover;opacity:1;border-radius:0;mask:none;-webkit-mask:none;}
#catalog-product-grid .favourite-product{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.95)!important;z-index:5;}
#catalog-product-grid .favourite-product.is-active,#catalog-product-grid .favourite-product.is-wished,#catalog-product-grid .favourite-product[aria-pressed="true"]{background:#49282f!important;color:white!important;}
#qaf-live-catalog .catalog-view-switch{display:inline-flex;gap:4px;flex-shrink:0}
#qaf-live-catalog .catalog-view-switch button{width:36px;height:36px;display:grid;place-items:center;background:transparent;color:#49282f;border:1px solid #e1dcd3;padding:0}
#qaf-live-catalog .catalog-view-switch button[aria-pressed=true]{background:#49282f;color:white}
#catalog-product-grid.qaf-large-view{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#qaf-live-catalog .catalog-toolbar-actions{flex-wrap:wrap}
#catalog-price-section .qaf-price-track{position:relative;height:34px;direction:ltr;display:flex;align-items:center}
#catalog-price-section .qaf-price-track::before{content:'';position:absolute;left:0;right:0;height:3px;background:#49282f}
#catalog-price-section input[type=range]{position:absolute;inset-inline:0;width:100%;margin:0;appearance:none;-webkit-appearance:none;background:transparent;pointer-events:none;height:24px}
#catalog-price-section input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:#49282f;pointer-events:auto;cursor:pointer}
#catalog-price-section input[type=range]::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:#49282f;pointer-events:auto;cursor:pointer}
#catalog-price-section .qaf-price-fields{display:flex;align-items:center;gap:8px;direction:ltr}
#catalog-price-section .qaf-price-fields label{flex:1;min-width:0;font-size:12px}
#catalog-price-section input[type=number]{width:100%;min-width:0;border:1px solid #e1dcd3;padding:8px;background:white;font-size:16px;color:#49282f}
@media(max-width:800px){#catalog-product-grid.qaf-large-view{grid-template-columns:minmax(0,1fr)!important}}
#qaf-live-catalog .catalog-view-switch svg{width:18px;height:18px;}

#catalog-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
@media(max-width:800px){#catalog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
#qaf-live-catalog [hidden]{display:none!important;}

/* Live service pages — scoped additions. */
.service-page .qaf-live-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-page .svc-card { display: flex; }
.service-page .svc-card-cta { background: var(--burgundy); color: white; border: 0; padding: 12px; justify-content: center; text-align: center; }
.service-page .qaf-svc-placeholder { display: grid; place-items: center; height: 100%; min-height: 150px; color: var(--burgundy); background: var(--ivory); }
.qaf-svc-main-photo { aspect-ratio: 4 / 3; background: var(--ivory); overflow: hidden; }
.qaf-svc-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.qaf-svc-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; }
.qaf-svc-thumbs button { flex: 0 0 80px; padding: 0; border: 1px solid var(--line); background: white; }
.qaf-svc-thumbs img { width: 80px; height: 70px; object-fit: cover; }
.qaf-svc-section { margin-top: 48px; }
.qaf-svc-section h2 { color: var(--burgundy); margin-bottom: 20px; }
.qaf-svc-form { max-width: 850px; margin-inline: auto; padding: clamp(16px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); }
.qaf-svc-form .svc-field { display: block; border: 0; padding: 0; margin-bottom: 20px; }
.qaf-svc-form legend { font-size: 16px; }
.qaf-svc-form .svc-control { margin-top: 8px; font-size: 16px; }
.qaf-svc-phone { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 8px; margin-bottom: 20px; }
.qaf-svc-dialog { width: min(850px, 94vw); max-height: 90vh; overflow: auto; border: 1px solid var(--line); padding: 20px; background: var(--paper); }
.qaf-svc-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.qaf-svc-dialog img { width: 100%; margin-top: 12px; }
.qaf-svc-form button:disabled { opacity: .6; }
@media (max-width: 1000px) {
    .service-page .qaf-live-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .service-page .svc-card-body { padding: 12px; }
    .service-page .svc-card p { min-height: 0; }
    .service-page .svc-detail-gallery { position: static; }
}

/* QAF HOME — Editorial service pages */
.qaf-editorial-services .svc-list-intro,
.qaf-editorial-heading {
    display: block;
    text-align: center;
    padding: 36px 16px;
    margin: 0 auto 30px;
}
.qaf-editorial-kicker {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 12px;
}
.qaf-editorial-services .svc-list-intro p {
    margin: 0 auto 12px;
}
.qaf-editorial-heading h1 {
    color: var(--burgundy);
    font-size: clamp(30px, 4vw, 52px);
    margin: 0;
}
.qaf-editorial-services .qaf-live-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 60px);
}
.qaf-editorial-services .svc-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    min-width: 0;
}
.qaf-editorial-services .svc-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.qaf-editorial-services .svc-card-body {
    text-align: center;
    align-items: center;
    padding: 24px 12px;
}
.qaf-editorial-services .svc-card h3 {
    font-size: clamp(20px, 2vw, 30px);
}
.qaf-editorial-services .svc-card p {
    min-height: 0;
    font-size: 15px;
    line-height: 1.9;
}
.qaf-editorial-services .svc-card-cta {
    display: inline-flex;
    width: auto;
    align-self: center;
    padding: 10px 26px;
    background: transparent;
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
    font-size: 14px;
}
.qaf-editorial-services .svc-card-cta:hover {
    background: var(--burgundy);
    color: white;
}
.qaf-editorial-hero {
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: var(--ivory);
}
.qaf-editorial-hero img,
.qaf-editorial-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qaf-editorial-copy {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 80px) 16px;
    text-align: center;
}
.qaf-editorial-copy h2,
.qaf-editorial-services .qaf-svc-section > h2 {
    color: var(--burgundy);
    text-align: center;
    font-size: clamp(24px, 3vw, 38px);
}
.qaf-editorial-copy p {
    line-height: 2;
    margin: 20px 0 30px;
}
.qaf-editorial-copy .button-primary {
    display: inline-block;
}
.qaf-editorial-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.qaf-editorial-photos > button {
    padding: 0;
    border: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ivory);
}
.qaf-editorial-services .qaf-svc-form {
    max-width: 1050px;
    background: var(--cream);
    padding: clamp(20px, 5vw, 55px);
}
.qaf-editorial-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin-bottom: 28px;
    align-items: start;
}
.qaf-editorial-fields .svc-field {
    min-width: 0;
    margin: 0;
}
.qaf-editorial-fields .svc-control {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
}
.qaf-editorial-fields .qaf-field-wide {
    grid-column: 1 / -1;
}
.qaf-editorial-fields .qaf-svc-phone {
    margin: 0;
    grid-template-columns: minmax(90px, 115px) minmax(0, 1fr);
}
.qaf-editorial-services .svc-related .svc-card:last-child {
    display: flex;
}
@media (max-width: 767px) {
    .qaf-editorial-services .qaf-live-services-grid,
    .qaf-editorial-services .svc-related .svc-cards,
    .qaf-editorial-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .qaf-editorial-hero {
        aspect-ratio: 4 / 3;
    }
    .qaf-editorial-services .svc-list-intro {
        padding: 20px 0;
    }
}

/* Services: elevated photography and accessible form choices. */
.qaf-editorial-services .svc-card-image,
.qaf-editorial-services .qaf-editorial-hero,
.qaf-editorial-services .qaf-editorial-photos > button {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(73, 40, 47, .12);
    transition: transform .45s ease, box-shadow .45s ease;
}
.qaf-editorial-services [data-gallery-group] { cursor: zoom-in; }
.qaf-editorial-services .svc-card-image img,
.qaf-editorial-services .qaf-editorial-hero img,
.qaf-editorial-services .qaf-editorial-photos img {
    transition: transform .5s ease;
}
@media (hover: hover) {
    .qaf-editorial-services .svc-card-image:hover,
    .qaf-editorial-services .qaf-editorial-hero:hover,
    .qaf-editorial-services .qaf-editorial-photos > button:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 38px rgba(73, 40, 47, .19);
    }
    .qaf-editorial-services .svc-card-image:hover img,
    .qaf-editorial-services .qaf-editorial-hero:hover img,
    .qaf-editorial-services .qaf-editorial-photos > button:hover img {
        transform: scale(1.04);
    }
}
.qaf-editorial-services .svc-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: 0;
    padding: 0;
}
.qaf-editorial-services .svc-choice {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    padding: 12px;
    cursor: pointer;
}
.qaf-editorial-services .svc-choice input[type="radio"],
.qaf-editorial-services .svc-choice input[type="checkbox"] {
    position: static;
    appearance: auto;
    opacity: 1;
    clip: auto;
    width: 19px;
    height: 19px;
    margin: 0;
    flex: 0 0 19px;
    accent-color: var(--burgundy);
}
.qaf-editorial-services .svc-choice:has(input:checked) {
    background: #f2e9e9;
    border-color: var(--burgundy);
}
.qaf-editorial-services .svc-control { border-radius: 8px; }
.qaf-editorial-services select.svc-control { appearance: auto; }
.qaf-choice-text { overflow-wrap: anywhere; }

/* One viewport-sized gallery, with no oversized image scrollbar. */
body.qaf-gallery-open { overflow: hidden; }
.qaf-gallery {
    width: min(1100px, 94vw);
    max-width: 94vw;
    max-height: 94vh;
    margin: auto;
    padding: 14px;
    border: 0;
    border-radius: 18px;
    background: #201b1c;
    color: white;
    overflow: hidden;
}
.qaf-gallery:not([open]) { display: none; }
.qaf-gallery::backdrop { background: rgba(0, 0, 0, .85); }
.qaf-gallery-top { display: flex; align-items: center; justify-content: space-between; }
.qaf-gallery button {
    border: 1px solid #ffffff40;
    background: #ffffff15;
    color: white;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.qaf-gallery-stage {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}
.qaf-gallery-stage > img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: min(64vh, 650px);
    object-fit: contain;
    touch-action: pan-y;
}
.qaf-gallery-stage > button:last-child { grid-column: 3; grid-row: 1; }
.qaf-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; }
.qaf-gallery-thumbs button { width: 76px; height: 54px; border-radius: 6px; padding: 2px; }
.qaf-gallery-thumbs button[aria-current="true"] { border: 2px solid white; }
.qaf-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
@media (max-width: 600px) {
    .qaf-gallery { padding: 8px; }
    .qaf-gallery-stage { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 4px; }
    .qaf-gallery-stage button { width: 32px; height: 32px; }
    .qaf-gallery-stage > img { height: 55vh; }
}
@media (prefers-reduced-motion: reduce) {
    .qaf-editorial-services .svc-card-image,
    .qaf-editorial-services .qaf-editorial-hero,
    .qaf-editorial-services .qaf-editorial-photos > button,
    .qaf-editorial-services img { transition: none; }
}


/* QAF HOME — mobile-only bottom navigation */
.qaf-bottom-nav {
    display: none;
}

@media (max-width: 800px) {
    body.qaf-has-bottom-nav {
        padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
    }

    .qaf-bottom-nav {
        position: fixed;
        z-index: 59;
        inset-inline: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
        gap: 4px;
        padding: 8px 6px;
        min-height: 64px;
        box-sizing: border-box;
        background: rgba(255, 254, 250, .96);
        border: 1px solid #e7dfd9;
        border-radius: 20px;
        box-shadow: 0 6px 28px rgba(73, 40, 47, .15);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .qaf-bottom-nav .qaf-bottom-item {
        position: relative;
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: #49282f;
        text-decoration: none;
        cursor: pointer;
        transition: transform .25s ease, background .25s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .qaf-bottom-nav .qaf-bottom-item svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .qaf-bottom-nav .qaf-bottom-cart {
        width: 58px;
        height: 58px;
        margin-top: -22px;
        background: #49282f;
        color: #fffefa;
        border: 2px solid #fffefa;
        border-radius: 19px;
        box-shadow: 0 5px 15px rgba(73, 40, 47, .24);
    }

    .qaf-bottom-nav .qaf-bottom-cart svg {
        width: 29px;
        height: 29px;
    }

    .qaf-bottom-nav .qaf-bottom-count {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        display: grid;
        place-items: center;
        border-radius: 20px;
        background: #49282f;
        color: #fff;
        font: 600 10px/1 Arial, sans-serif;
        box-sizing: border-box;
    }

    .qaf-bottom-nav .qaf-bottom-cart .qaf-bottom-count {
        top: -5px;
        right: -5px;
        background: #a75a60;
        border: 1px solid #fffefa;
    }

    .qaf-bottom-nav .qaf-bottom-item:active {
        transform: scale(.92);
    }

    .qaf-bottom-nav .qaf-bottom-item:focus-visible {
        outline: 2px solid #a75a60;
        outline-offset: 3px;
    }

    /* Keep the existing floating contact button above the navigation if used. */
    body.qaf-has-bottom-nav .qaf-bottom-nav[hidden] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qaf-bottom-nav .qaf-bottom-item {
        transition: none;
    }
}

















/* ==========================================
   QAF HOME - Product Image Size & Radius
   ========================================== */

.product-card .product-photo,
#catalog-product-grid .product-photo,
#related-products-grid .product-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3 !important;
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    background: #f5f2ed;
}

.product-card .product-photo > a:not(.favourite-product) {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card .product-photo img,
#catalog-product-grid .product-photo img,
#related-products-grid .product-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: inherit;
}

/* Mobile */
@media (max-width: 767px) {
    .product-card .product-photo,
    #catalog-product-grid .product-photo,
    #related-products-grid .product-photo {
        aspect-ratio: 2 / 3 !important;
        border-radius: 12px !important;
    }
}

/* ==========================================
   QAF HOME - Category Image Size & Radius
   ========================================== */

.category-card .category-photo,
#collections .category-photo,
.catalog-subcategory-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3 !important;
    overflow: hidden;
    border-radius: 22px !important;
}

.category-photo img,
#collections .category-photo img,
.catalog-subcategory-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

#collections .category-card {
    border-radius: 22px !important;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 767px) {
    .category-card .category-photo,
    #collections .category-photo,
    #collections .category-card,
    .catalog-subcategory-image {
        aspect-ratio: 2 / 3;
        border-radius: 14px !important;
    }
}

#collections .category-grid,
#products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 767px) {
    #collections .category-grid,
    #products .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
