/* ==========================================================================
   Kunuz Aloud | Campaign theme
   The look of the running ad campaign carried onto the website: deep
   emerald, ivory and antique gold; Amiri Arabic headlines with an English
   italic line; Montserrat labels; gold-lined arches; the K-monogram pattern.
   Active on pages with <body data-theme="kunuz">, layered over styles.css.
   ========================================================================== */

[data-theme='kunuz'] {
  --k-green: #0b3a2e;
  --k-green-2: #114c3d;
  --k-deep: #06231b;
  --k-teal: #139a90;
  --k-ivory: #f3ede0;
  --k-ivory-2: #e9e1cf;
  --k-paper: #faf7ef;
  --k-gold: #d4b26e;
  --k-gold-2: #b8934a;
  --k-ink: #0a1f18;
  --k-line: rgba(184, 147, 74, 0.28);

  /* existing components (buttons, cards, toasts, offers) pick these up */
  --teal: #139a90;
  --teal-dark: #0b3a2e;
  --teal-deep: #06231b;
  --teal-light: #d4b26e;
  --cream: #f3ede0;
  --cream-light: #faf7ef;
  --cream-dim: #e9e1cf;
  --ink: #0a1f18;

  background: var(--k-ivory);
  color: var(--k-ink);
}

/* ---- Type ------------------------------------------------------------------ */
.k-label {
  font-family: 'Montserrat', 'Jost', sans-serif;
  font-weight: 600; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--k-gold-2);
}
.k-label.on-dark { color: var(--k-gold); }
.k-h-ar {
  font-family: 'Amiri', serif; font-weight: 700; line-height: 1.4;
  direction: rtl; unicode-bidi: isolate;
}
.k-h-en { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; line-height: 1.25; }
.k-gold { color: var(--k-gold); }
.k-gold-2 { color: var(--k-gold-2); }
.k-rule { width: 110px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--k-gold), transparent); }
body.lang-ar .k-h-en { font-family: 'Cormorant Garamond', serif; } /* the English line stays Latin */

/* Section heading: label, Arabic headline, English italic line, gold rule */
.k-head { text-align: center; margin: 0 auto 3rem; max-width: 46rem; }
.k-head .k-h-ar { font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--k-green); }
.k-head .k-h-ar span { color: var(--k-gold-2); }
.k-head .k-h-en { font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--k-gold-2); margin-top: 0.15rem; }
.k-head .k-rule { margin: 1.1rem auto 0; }
.k-head p.k-sub { margin-top: 1rem; color: rgba(10, 31, 24, 0.65); line-height: 1.7; text-wrap: balance; }
.k-dark .k-head .k-h-ar, .k-deep .k-head .k-h-ar { color: var(--k-ivory); }
.k-dark .k-head .k-h-ar span, .k-deep .k-head .k-h-ar span { color: var(--k-gold); }
.k-dark .k-head .k-h-en, .k-deep .k-head .k-h-en { color: var(--k-gold); }
.k-dark .k-head p.k-sub, .k-deep .k-head p.k-sub { color: rgba(243, 237, 224, 0.7); }

/* ---- Surfaces & motifs ------------------------------------------------------ */
.k-dark { background: var(--k-green); color: var(--k-ivory); }
.k-deep { background: var(--k-deep); color: var(--k-ivory); }
.k-ivory { background: var(--k-ivory); }
.k-paper { background: var(--k-paper); }

/* tiled K-monogram, like the gift-bag lining in the ads */
.k-pattern { position: relative; isolation: isolate; }
.k-pattern::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../images/brand/logo-icon-teal.png') 0 0 / 132px 132px repeat;
  opacity: 0.032;
}
.k-dark.k-pattern::before, .k-deep.k-pattern::before { background-image: url('../images/brand/logo-icon-cream.png'); opacity: 0.03; }

/* smoke canvas covering a whole section (js/theme.js startSmoke with a source);
   it fades out over the last few pixels at the section's top edge */
canvas.k-smoke-full {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 48px); mask-image: linear-gradient(180deg, transparent, #000 48px);
}

/* arch frame with an offset gold line */
.k-arch { position: relative; }
.k-arch .frame { position: absolute; inset: 0; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--k-green-2); }
.k-arch .frame img { width: 100%; height: 100%; object-fit: cover; }
.k-arch .line {
  position: absolute; inset: -12px -12px 0; pointer-events: none;
  border: 1.5px solid var(--k-gold); border-bottom: none; border-radius: 999px 999px 0 0;
}

/* ---- Buttons ---------------------------------------------------------------- */
[data-theme='kunuz'] .btn { font-family: 'Montserrat', 'Jost', sans-serif; font-weight: 600; letter-spacing: 0.22em; font-size: 0.66rem; border-radius: 0; }
[data-theme='kunuz'] .btn-teal { background: var(--k-green); color: var(--k-ivory); box-shadow: 0 12px 28px -14px rgba(6, 35, 27, 0.8); }
[data-theme='kunuz'] .btn-teal:hover { background: var(--k-deep); box-shadow: 0 16px 34px -12px rgba(6, 35, 27, 0.85); }
.btn-gold { background: linear-gradient(135deg, #e2c787, var(--k-gold) 45%, var(--k-gold-2)); color: var(--k-deep); box-shadow: 0 14px 30px -14px rgba(212, 178, 110, 0.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(212, 178, 110, 0.8); }
/* soft ivory button: the main call to action on dark sections, calmer than gold */
.btn-soft { background: var(--k-ivory); color: var(--k-green); border: 1px solid rgba(243, 237, 224, 0.9); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6); }
.btn-soft:hover { background: #fffdf8; color: var(--k-deep); transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.65); }
.btn-line { border-color: rgba(212, 178, 110, 0.6); color: var(--k-ivory); }
.btn-line:hover { background: rgba(212, 178, 110, 0.12); border-color: var(--k-gold); }
.btn-line.on-light { color: var(--k-green); border-color: var(--k-gold-2); }
.btn-line.on-light:hover { background: var(--k-green); color: var(--k-ivory); border-color: var(--k-green); }
/* WhatsApp pill from the ads */
.k-wa {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--k-ivory); color: var(--k-green); border-radius: 999px;
  padding: 0.45rem 1.2rem 0.45rem 0.45rem; transition: transform 0.25s var(--ease), box-shadow 0.25s;
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.45);
}
[dir='rtl'] .k-wa { padding: 0.45rem 0.45rem 0.45rem 1.2rem; }
.k-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.5); }
.k-wa .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--k-green); color: var(--k-ivory); display: grid; place-items: center; }
.k-wa small { display: block; font-family: 'Montserrat', sans-serif; font-size: 0.5rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--k-gold-2); font-weight: 600; }
.k-wa b { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---- Announcement bar + header --------------------------------------------- */
.k-topwrap { position: fixed; inset: 0 0 auto; z-index: 50; }
.k-announce {
  height: 34px; background: var(--k-deep); color: var(--k-gold);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
  font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 178, 110, 0.18);
}
body.lang-ar .k-announce { letter-spacing: 0.02em; font-size: 0.75rem; text-transform: none; }
.k-announce span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); white-space: nowrap; }
.k-announce span.on { opacity: 1; transform: none; }
.k-announce span i { width: 4px; height: 4px; border-radius: 50%; background: var(--k-gold); display: inline-block; }

.k-header { transition: background 0.4s var(--ease), box-shadow 0.4s, backdrop-filter 0.4s; }
.k-header .bar { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.k-header.scrolled { background: rgba(6, 35, 27, 0.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6); }
.k-header.scrolled .bar { height: 66px; }
.k-nav { display: flex; gap: 2rem; align-items: center; }
.k-nav a, .k-iconbtn { color: var(--k-ivory); }
.k-nav a {
  position: relative; font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.2s, color 0.2s;
}
body.lang-ar .k-nav a { letter-spacing: 0; font-size: 0.85rem; }
.k-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--k-gold); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.k-nav a:hover, .k-nav a.active { opacity: 1; color: var(--k-gold); }
.k-nav a:hover::after, .k-nav a.active::after { transform: scaleX(1); }
.k-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.k-logo .row { display: flex; align-items: center; gap: 10px; }
.k-logo .icon { width: 36px; height: 36px; transition: transform 0.6s var(--ease-spring); }
.k-logo:hover .icon { transform: rotate(-12deg) scale(1.06); }
.k-logo .word { height: 17px; width: auto; }
.k-logo .tag { height: 6px; width: auto; opacity: 0.85; }
.k-header.scrolled .k-logo .tag { display: none; }
/* inner pages: the header is solid from the start and this keeps content clear of it */
.k-headspace { height: 100px; background: var(--k-deep); }
.k-iconbtn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background 0.2s, color 0.2s; }
.k-iconbtn:hover { background: rgba(243, 237, 224, 0.1); color: var(--k-gold); }
.k-header .cart-count { top: 2px; right: 0; background: var(--k-gold); color: var(--k-deep); }
[dir='rtl'] .k-header .cart-count { right: auto; left: 0; }
.k-langbtn {
  font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.62rem; letter-spacing: 0.16em; font-weight: 600;
  color: var(--k-ivory); border: 1px solid rgba(212, 178, 110, 0.45); padding: 0.45rem 0.8rem; transition: background 0.2s, color 0.2s;
}
.k-langbtn:hover { background: var(--k-gold); color: var(--k-deep); }
@media (max-width: 767px) {
  .k-header .bar { grid-template-columns: auto 1fr auto; height: 62px; }
  .k-logo .tag { display: none; }
  .k-logo .icon { width: 30px; height: 30px; }
  .k-logo .word { height: 13px; }
}

/* ---- Search overlay ---------------------------------------------------------- */
.k-search { position: fixed; inset: 0; z-index: 95; display: none; }
.k-search.open { display: block; }
.k-search .back { position: absolute; inset: 0; background: rgba(6, 35, 27, 0.72); backdrop-filter: blur(8px); animation: fadeIn 0.25s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.k-search .panel {
  position: relative; max-width: 720px; margin: 9vh auto 0; padding: 0 1rem;
  animation: rise 0.4s var(--ease-out) both;
}
.k-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.k-search input {
  width: 100%; background: var(--k-paper); color: var(--k-ink); border: 1px solid var(--k-gold);
  padding: 1.1rem 1.25rem 1.1rem 3.2rem; font-size: 1.05rem; outline: none;
}
[dir='rtl'] .k-search input { padding: 1.1rem 3.2rem 1.1rem 1.25rem; }
.k-search .glass { position: absolute; top: 1.2rem; left: 2.1rem; color: var(--k-gold-2); }
[dir='rtl'] .k-search .glass { left: auto; right: 2.1rem; }
.k-search .results { margin-top: 0.75rem; background: var(--k-paper); max-height: 60vh; overflow-y: auto; border: 1px solid var(--k-line); }
.k-search .res { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--k-line); transition: background 0.15s; }
.k-search .res:hover, .k-search .res:focus { background: var(--k-ivory); outline: none; }
.k-search .res img { width: 52px; height: 64px; object-fit: cover; background: #fff; }
.k-search .res .nm { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--k-green); }
body.lang-ar .k-search .res .nm { font-family: 'Amiri', serif; }
.k-search .res .meta { font-size: 0.72rem; color: rgba(10, 31, 24, 0.55); }
.k-search .res .pr { margin-inline-start: auto; color: var(--k-gold-2); font-family: 'Montserrat', sans-serif; font-size: 0.8rem; white-space: nowrap; }
.k-search .none { padding: 1.2rem; text-align: center; color: rgba(10, 31, 24, 0.55); font-size: 0.9rem; }

/* ---- Mobile bottom tab bar ---------------------------------------------------- */
.k-tabbar { display: none; }
@media (max-width: 767px) {
  .k-tabbar {
    position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(6, 35, 27, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 178, 110, 0.25); border-radius: 18px; padding: 6px 4px;
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6);
  }
  .k-tabbar a, .k-tabbar button {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0;
    color: rgba(243, 237, 224, 0.75); font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
  body.lang-ar .k-tabbar a, body.lang-ar .k-tabbar button { letter-spacing: 0; font-size: 0.68rem; }
  .k-tabbar .on { color: var(--k-gold); }
  .k-tabbar .cart-count { top: 0; right: 22%; background: var(--k-gold); color: var(--k-deep); }
  [data-theme='kunuz'] body, body[data-theme='kunuz'] { padding-bottom: 86px; }
  [data-theme='kunuz'] .wa-float { display: none; }
  [data-theme='kunuz'] .toast { bottom: 96px; }
}

/* ---- Hero ------------------------------------------------------------------- */
.k-hero {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  background: radial-gradient(120% 90% at 80% 20%, var(--k-green-2) 0%, var(--k-green) 38%, var(--k-deep) 100%);
  color: var(--k-ivory); display: flex; align-items: center;
  padding: 140px 0 70px;
}
.k-hero-pattern { position: absolute; inset: 0; pointer-events: none; background: url('../images/brand/logo-icon-cream.png') 0 0 / 132px 132px repeat; opacity: 0.024; }
.k-hero .glow { position: absolute; width: 46rem; height: 46rem; border-radius: 50%; right: -12rem; top: -10rem; background: radial-gradient(circle, rgba(212, 178, 110, 0.18), transparent 62%); pointer-events: none; }
[dir='rtl'] .k-hero .glow { right: auto; left: -12rem; }
.k-hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
/* El Messiri keeps the two lines clear of each other; the block lines up with
   the English line (left in English, right in Arabic, centred on small screens) */
.k-hero .k-h-ar {
  font-family: 'El Messiri', 'Amiri', serif; font-weight: 600; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 1.25;
  color: var(--k-ivory); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35); text-align: left;
}
[dir='rtl'] .k-hero .k-h-ar { text-align: right; }
.k-hero .k-h-ar span { color: transparent; background: linear-gradient(100deg, #f0d99e, var(--k-gold) 40%, var(--k-gold-2) 75%, #f0d99e); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: goldShift 7s ease-in-out infinite; }
@keyframes goldShift { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.k-hero .k-h-en { font-size: clamp(1.4rem, 2.6vw, 2.15rem); color: var(--k-ivory); opacity: 0.92; margin-top: 0.4rem; }
.k-hero .lead { max-width: 34rem; color: rgba(243, 237, 224, 0.72); line-height: 1.8; margin-top: 1.6rem; }
.k-hero .ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2.3rem; }
.k-hero .facts { display: flex; gap: 2.2rem; margin-top: 2.8rem; flex-wrap: wrap; }
.k-hero .facts div { display: flex; flex-direction: column; gap: 0.2rem; }
.k-hero .facts b { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 500; color: var(--k-gold); line-height: 1; }
.k-hero .facts span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243, 237, 224, 0.6); }
body.lang-ar .k-hero .facts span { letter-spacing: 0; font-size: 0.85rem; }
.k-hero .visual { position: relative; height: min(76vh, 640px); max-width: 470px; justify-self: center; width: 100%; }
.k-hero .visual .k-arch { position: absolute; inset: 0; }
/* showcase: the top products on an ivory niche, crossfading with a slow zoom */
.k-hero .visual .frame.showcase { isolation: isolate; background: radial-gradient(85% 62% at 50% 58%, #fffdf8 0%, var(--k-ivory) 58%, var(--k-ivory-2) 100%); }
.k-hero .visual .frame.showcase::before {
  content: ''; position: absolute; left: 16%; right: 16%; bottom: 7%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 31, 24, 0.2), transparent); filter: blur(6px);
}
.k-hero .visual .frame.showcase::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(184, 147, 74, 0.28); pointer-events: none; }
.k-hero .visual .frame.showcase img {
  position: absolute; inset: 0; object-fit: contain; padding: 19% 7% 6%; mix-blend-mode: multiply;
  opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.k-hero .visual .frame.showcase img.on { opacity: 1; transform: scale(1); }
/* progress bars under the arch; the active bar's fill times the slide */
.k-hero .dots { position: absolute; z-index: 3; left: 50%; bottom: -36px; transform: translateX(-50%); display: flex; gap: 6px; }
.k-hero .dots button { width: 38px; height: 16px; display: flex; align-items: center; }
.k-hero .dots i { position: relative; display: block; width: 100%; height: 2px; background: rgba(243, 237, 224, 0.22); overflow: hidden; }
.k-hero .dots i::after { content: ''; position: absolute; inset: 0; background: var(--k-gold); transform: scaleX(0); transform-origin: left; }
[dir='rtl'] .k-hero .dots i::after { transform-origin: right; }
.k-hero .dots .on i::after { animation: heroFill 6s linear forwards; }
.k-hero .visual:hover .dots .on i::after, .k-hero .visual.paused .dots .on i::after { animation-play-state: paused; }
@keyframes heroFill { to { transform: scaleX(1); } }
/* smoke rises from behind the arch and runs to the hero's edge */
.k-hero canvas.k-smoke-full { z-index: 1; }
.k-hero .chip {
  position: absolute; z-index: 3; left: -2.6rem; bottom: 2.6rem; min-width: 13.5rem; max-width: 17rem;
  background: rgba(6, 35, 27, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--k-ivory);
  padding: 1rem 1.35rem 1.1rem; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.6); animation: floaty 6s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
[dir='rtl'] .k-hero .chip { left: auto; right: -2.6rem; }
.k-hero .chip::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(212, 178, 110, 0.5); pointer-events: none; transition: border-color 0.3s; }
.k-hero .chip:hover::before { border-color: var(--k-gold); }
.k-hero .chip .body { display: block; animation: rise 0.55s var(--ease-out) both; }
.k-hero .chip .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.k-hero .chip .k-label { font-size: 0.55rem; }
.k-hero .chip .n { font-family: 'Montserrat', sans-serif; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.2em; color: rgba(243, 237, 224, 0.45); }
.k-hero .chip .nm { display: block; margin-top: 0.4rem; font-family: 'El Messiri', 'Amiri', serif; font-weight: 600; font-size: 1.55rem; line-height: 1.35; direction: rtl; text-align: left; }
[dir='rtl'] .k-hero .chip .nm { text-align: right; }
.k-hero .chip .en { display: block; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; line-height: 1.2; color: rgba(243, 237, 224, 0.7); }
/* rotating seal */
.k-seal { position: absolute; z-index: 3; right: -2.2rem; top: 2.2rem; width: 118px; height: 118px; }
[dir='rtl'] .k-seal { right: auto; left: -2.2rem; }
.k-seal svg.k-seal-ring { direction: ltr; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.k-seal img { position: absolute; inset: 34px; width: 50px; height: 50px; }
.k-seal::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(6, 35, 27, 0.75); backdrop-filter: blur(4px); border: 1px solid rgba(212, 178, 110, 0.4); }
@keyframes spin { to { transform: rotate(360deg); } }
.k-scrollcue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(243, 237, 224, 0.55); }
.k-scrollcue i { width: 1px; height: 42px; background: linear-gradient(var(--k-gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1023px) {
  .k-hero { padding: 120px 0 90px; }
  .k-hero .grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .k-hero .lead { margin-inline: auto; }
  .k-hero .ctas, .k-hero .facts { justify-content: center; }
  .k-hero .visual { height: 440px; max-width: 330px; order: -1; }
  .k-hero .k-h-ar, [dir='rtl'] .k-hero .k-h-ar { text-align: center; }
  .k-hero .visual { margin-bottom: 1.4rem; }
  .k-hero .chip { left: -1.2rem; bottom: 1.4rem; min-width: 10.5rem; }
  [dir='rtl'] .k-hero .chip { right: -1.2rem; }
  .k-seal { right: -1.4rem; top: 1rem; width: 96px; height: 96px; }
  [dir='rtl'] .k-seal { left: -1.4rem; }
  .k-seal img { inset: 28px; width: 40px; height: 40px; }
  .k-scrollcue { display: none; }
}

/* ---- Offer band ---------------------------------------------------------------- */
.k-offer { position: relative; overflow: hidden; }
.k-offer .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.k-offer .tag { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--sale); color: #fff; padding: 0.35rem 0.8rem; font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.k-offer .big { font-family: 'Cormorant Garamond', serif; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.9; color: var(--k-gold); }
.k-offer .cd-box { background: rgba(243, 237, 224, 0.06); border-color: rgba(212, 178, 110, 0.35); }
.k-offer .cd-num { color: var(--k-ivory); }
.k-offer .cd-lbl { color: rgba(243, 237, 224, 0.6); }
.k-offer .rail { background: rgba(243, 237, 224, 0.12); }
.k-offer .rail > i { background: linear-gradient(90deg, var(--k-gold), #f0d99e); }
@media (max-width: 1023px) { .k-offer .wrap { grid-template-columns: 1fr; } }
.k-offer .card { color: var(--k-ink); }

/* ---- Collection: origin buttons, the chosen origin's character, product rail ---- */
.k-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.k-tab {
  font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.6rem 1.1rem; border: 1px solid var(--k-line); color: rgba(10, 31, 24, 0.7); transition: all 0.25s var(--ease);
}
body.lang-ar .k-tab { letter-spacing: 0; font-size: 0.82rem; }
.k-tab:hover { border-color: var(--k-gold-2); color: var(--k-green); }
.k-tab.on { background: var(--k-green); border-color: var(--k-green); color: var(--k-ivory); }
.k-tab sup { color: var(--k-gold); margin-inline-start: 0.25rem; font-size: 0.85em; }
/* reserves two lines so the rail below does not jump between origins */
.k-srcdesc { max-width: 40rem; min-height: 3.6em; margin: 1.1rem auto 1.6rem; text-align: center; font-size: 0.95rem; line-height: 1.8; color: rgba(10, 31, 24, 0.66); text-wrap: balance; }
.k-srcdesc span { display: inline-block; animation: rise 0.45s var(--ease-out) both; }
@media (max-width: 767px) {
  .k-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding: 0 1.25rem 0.25rem; }
  .k-tabs::-webkit-scrollbar { display: none; }
  .k-tab { flex: 0 0 auto; }
  .k-srcdesc { font-size: 0.88rem; margin: 0.9rem auto 1.2rem; }
}
.k-railwrap { position: relative; }
.k-rail {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.k-rail::-webkit-scrollbar { display: none; }
.k-rail > article { flex: 0 0 clamp(200px, 19vw, 255px); scroll-snap-align: start; }
.k-railbtn {
  position: absolute; top: 38%; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  background: var(--k-paper); color: var(--k-green); border: 1px solid var(--k-line); display: grid; place-items: center;
  box-shadow: 0 12px 30px -14px rgba(6, 35, 27, 0.5); transition: all 0.25s var(--ease);
}
.k-railbtn:hover { background: var(--k-green); color: var(--k-gold); border-color: var(--k-green); }
.k-railbtn.prev { left: -22px; } .k-railbtn.next { right: -22px; }
@media (max-width: 767px) {
  .k-railbtn { display: none; }
  /* two cards across with a sliver of the next, so the whole card fits on screen */
  .k-rail { gap: 0.75rem; }
  .k-rail > article { flex-basis: calc((100% - 0.75rem) / 2.12); }
  .k-rail [role='group'] { gap: 0.25rem; flex-wrap: nowrap; }
  .k-rail .size-pill { padding: 0.22rem 0.3rem; font-size: 0.58rem; }
}

/* product cards in the campaign palette */
[data-theme='kunuz'] .card { background: #fffdf8; border: 1px solid var(--k-line); }
[data-theme='kunuz'] .card:hover { border-color: var(--k-gold); box-shadow: 0 26px 50px -28px rgba(6, 35, 27, 0.55); }
[data-theme='kunuz'] .card h3 { font-family: 'Cormorant Garamond', serif; }
body.lang-ar[data-theme='kunuz'] .card h3 { font-family: 'Amiri', serif; }
[data-theme='kunuz'] .product-art { background: #fff; }
[data-theme='kunuz'] .product-art::after { opacity: 0.4; }
[data-theme='kunuz'] .text-teal-gradient { background: linear-gradient(100deg, var(--k-green), var(--k-gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme='kunuz'] .size-pill { border-color: var(--k-line); }
[data-theme='kunuz'] .size-pill:hover { border-color: var(--k-gold-2); color: var(--k-green); }
[data-theme='kunuz'] .size-pill.active { background: var(--k-green); border-color: var(--k-green); color: var(--k-ivory); }

/* ---- Product page: size photos captioned with size + price ---------------------- */
[data-theme='kunuz'] .thumb { display: flex; flex-direction: column; border: 1px solid var(--k-line); }
[data-theme='kunuz'] .thumb .ph { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
[data-theme='kunuz'] .thumb .ph img { width: 100%; height: 100%; object-fit: cover; }
.thumb .cap { display: flex; flex-direction: column; align-items: center; gap: 0.05rem; padding: 0.4rem 0.3rem 0.45rem; border-top: 1px solid var(--k-line); background: var(--k-paper); transition: background 0.3s; }
.thumb .cap b { font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--k-green); }
.thumb .cap span { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--k-gold-2); }
body.lang-ar .thumb .cap b { font-family: 'Tajawal', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
[data-theme='kunuz'] .thumb.active { border-color: var(--k-green); box-shadow: 0 0 0 1px var(--k-green); }
.thumb.active .cap { background: var(--k-green); }
.thumb.active .cap b { color: var(--k-ivory); }
.thumb.active .cap span { color: var(--k-gold); }
/* the chosen size button matches the chosen size photo */
[data-theme='kunuz'] .size-btn[aria-pressed='true'] { background: var(--k-green); border-color: var(--k-green); color: var(--k-ivory); }

/* ---- Ritual ---------------------------------------------------------------------- */
.k-ritual .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: center; }
.k-ritual .visual { position: relative; height: 560px; max-width: 420px; width: 100%; justify-self: center; }
.k-ritual .visual .k-arch { position: absolute; inset: 0; }
/* smoke from the mabkhara in the photo, rising to the section's top edge */
.k-ritual canvas.k-smoke-full { z-index: 2; }
.k-steps { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
.k-step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  padding: 1.25rem 1.3rem; border: 1px solid rgba(212, 178, 110, 0.22); background: rgba(243, 237, 224, 0.03);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.k-step:hover { background: rgba(243, 237, 224, 0.06); border-color: rgba(212, 178, 110, 0.5); transform: translateX(6px); }
[dir='rtl'] .k-step:hover { transform: translateX(-6px); }
.k-step .n { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--k-gold); color: var(--k-gold); display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }
.k-step .t { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.k-step .t .k-h-ar { font-size: 1.5rem; color: var(--k-ivory); line-height: 1.3; }
.k-step .t .k-h-en { font-size: 1.1rem; color: var(--k-gold); }
.k-step p { color: rgba(243, 237, 224, 0.68); font-size: 0.92rem; line-height: 1.7; margin-top: 0.2rem; }
@media (max-width: 1023px) { .k-ritual .wrap { grid-template-columns: 1fr; gap: 3rem; } .k-ritual .visual { height: 420px; max-width: 320px; } }

/* ---- Gift ------------------------------------------------------------------------- */
.k-gift .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.k-gift .visual { position: relative; height: 600px; max-width: 460px; width: 100%; justify-self: center; }
.k-gift .visual .k-arch { position: absolute; inset: 0; }
.k-gift .visual .frame img { object-position: 60% 60%; }
.k-gift .k-h-ar { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--k-green); }
.k-gift .k-h-en { font-size: 1.5rem; color: var(--k-gold-2); }
.k-gift ul { margin-top: 2rem; display: grid; gap: 1rem; }
.k-gift li { display: flex; gap: 1rem; align-items: flex-start; }
.k-gift li .ic { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--k-gold-2); color: var(--k-gold-2); }
.k-gift li b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--k-green); }
body.lang-ar .k-gift li b { font-family: 'Amiri', serif; }
.k-gift li span { color: rgba(10, 31, 24, 0.65); font-size: 0.92rem; }
@media (max-width: 1023px) { .k-gift .wrap { grid-template-columns: 1fr; gap: 3rem; } .k-gift .visual { height: 460px; max-width: 340px; } }

/* ---- Campaign marquee ------------------------------------------------------------- */
.k-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.k-marquee .track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.k-marquee.rev .track { animation-direction: reverse; animation-duration: 70s; }
.k-marquee:hover .track { animation-play-state: paused; }
.k-marquee a { flex: 0 0 auto; width: clamp(180px, 18vw, 250px); aspect-ratio: 4 / 5; overflow: hidden; display: block; position: relative; }
.k-marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.4s; }
.k-marquee a:hover img { transform: scale(1.05); }
.k-marquee a::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(212, 178, 110, 0); transition: border-color 0.3s; pointer-events: none; }
.k-marquee a:hover::after { border-color: rgba(212, 178, 110, 0.9); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir='rtl'] .k-marquee .track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---- Trust strip ------------------------------------------------------------------ */
.k-trust { display: grid; grid-template-columns: repeat(4, 1fr); }
.k-trust > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; padding: 2.2rem 1rem; border-inline-start: 1px solid var(--k-line); }
.k-trust > div:first-child { border-inline-start: none; }
.k-trust svg { color: var(--k-gold-2); }
.k-trust b { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--k-green); }
body.lang-ar .k-trust b { font-family: 'Amiri', serif; }
.k-trust span { font-size: 0.8rem; color: rgba(10, 31, 24, 0.55); }
@media (max-width: 767px) { .k-trust { grid-template-columns: repeat(2, 1fr); } .k-trust > div { border-inline-start: none; border-bottom: 1px solid var(--k-line); padding: 1.5rem 0.6rem; } }

/* ---- Newsletter + footer ------------------------------------------------------------ */
.k-news input { background: rgba(243, 237, 224, 0.08); border: 1px solid rgba(212, 178, 110, 0.4); color: var(--k-ivory); padding: 0.95rem 1.2rem; outline: none; }
.k-news input::placeholder { color: rgba(243, 237, 224, 0.45); }
.k-news input:focus { border-color: var(--k-gold); }
.k-footer { background: var(--k-deep); color: rgba(243, 237, 224, 0.72); }
.k-footer h4 { font-family: 'Montserrat', 'Tajawal', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--k-gold); margin-bottom: 1.1rem; }
body.lang-ar .k-footer h4 { letter-spacing: 0; font-size: 0.85rem; }
.k-footer a { transition: color 0.2s; }
.k-footer a:hover { color: var(--k-gold); }
.k-footer .social a { width: 40px; height: 40px; border: 1px solid rgba(212, 178, 110, 0.35); border-radius: 50%; display: grid; place-items: center; color: var(--k-ivory); transition: all 0.25s; }
.k-footer .social a:hover { background: var(--k-gold); color: var(--k-deep); border-color: var(--k-gold); }
.k-footbar { padding-top: 2rem; border-top: 1px solid rgba(212, 178, 110, 0.18); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; font-size: 0.75rem; text-align: center; }
.k-footbar > p:first-child, .k-footbar .terms { opacity: 0.7; }
.k-footbar .terms { text-transform: uppercase; letter-spacing: 0.2em; }
.k-footbar .crafted { font-family: 'Montserrat', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 237, 224, 0.8); }
body.lang-ar .k-footbar .crafted, body.lang-ar .k-footbar .terms { font-family: 'Tajawal', sans-serif; letter-spacing: 0; font-size: 0.85rem; text-transform: none; }
@media (min-width: 768px) { .k-footbar { flex-direction: row; justify-content: space-between; } }

/* ---- Inner page banner ------------------------------------------------------- */
.k-pagehead .k-head { margin-bottom: 0; padding: 4rem 0 4.4rem; }
.k-pagehead .k-head .k-h-ar { font-size: clamp(2.4rem, 5vw, 3.9rem); }
@media (max-width: 767px) { .k-pagehead .k-head { padding: 2.8rem 0 3.2rem; } }

/* ---- Reduced motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .k-marquee .track, .k-seal svg.k-seal-ring, .k-hero .visual .frame img, .k-hero .k-h-ar span, .k-hero .dots i::after { animation: none !important; }
  .k-hero .dots .on i::after { transform: scaleX(1); }
}

/* ---- Arabic: no letter spacing on joined script, Tajawal for small text ---- */
body.lang-ar .k-label:not([dir='ltr']), body.lang-ar[data-theme='kunuz'] .btn,
body.lang-ar .k-wa small, body.lang-ar .k-hero .facts span {
  font-family: 'Tajawal', sans-serif; letter-spacing: 0; text-transform: none;
}
body.lang-ar .k-label:not([dir='ltr']) { font-size: 0.85rem; font-weight: 700; }
body.lang-ar[data-theme='kunuz'] .btn { font-size: 0.9rem; font-weight: 700; }
body.lang-ar[data-theme='kunuz'] .card .btn { font-size: 0.78rem; }
body.lang-ar .k-wa small { font-size: 0.72rem; font-weight: 700; }
body.lang-ar .k-offer .tag { font-family: 'Tajawal', sans-serif; letter-spacing: 0; font-size: 0.8rem; }

/* ---- Mobile hero facts in one row ---- */
@media (max-width: 639px) {
  .k-hero .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .k-hero .facts b { font-size: 1.45rem; }
  .k-hero { padding-top: 108px; }
  .k-hero .visual { height: 350px; max-width: 280px; }
  .k-hero .grid { gap: 2.2rem; }
  .k-hero .facts span { font-size: 0.6rem; letter-spacing: 0.1em; }
  /* compact chip so the product stays in view */
  .k-hero .chip { left: -0.9rem; bottom: 0.9rem; min-width: 0; max-width: 11.5rem; padding: 0.7rem 0.95rem 0.8rem; }
  [dir='rtl'] .k-hero .chip { right: -0.9rem; }
  .k-hero .chip .nm { font-size: 1.2rem; margin-top: 0.2rem; }
  .k-hero .chip .en, .k-hero .chip .n { display: none; }
}
