/* Pet House — warm, playful, brand colours taken from the logo */
:root {
  --orange: #F58A07;
  --orange-2: #FFA733;
  --orange-soft: #FFE3BD;
  --brown: #8A3307;
  --brown-2: #A8440F;
  --brown-deep: #2E1405;
  --cream: #FFF8EF;
  --sand: #FCEEDB;
  --ink: #2A1306;
  --muted: #6E4B33;
  --line: #F0DCC3;
  --white: #fff;
  --wa: #1FAF54;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(74, 32, 6, .06);
  --shadow: 0 14px 40px -12px rgba(74, 32, 6, .18);
  --shadow-lg: 0 30px 70px -20px rgba(74, 32, 6, .3);
  --ease: cubic-bezier(.22, .9, .3, 1);

  --head: 'Baloo Bhaijaan 2', 'Tajawal', system-ui, sans-serif;
  --body: 'Tajawal', 'Nunito', system-ui, sans-serif;
  --header-h: 76px;
  --wrap: 1240px;
}
:lang(en) { --body: 'Nunito', 'Tajawal', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--body); font-size: 17px; line-height: 1.75; color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--head); font-weight: 700; font-size: 1.02rem; line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { font-size: 1.2em; }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--orange); --fg: var(--brown-deep); box-shadow: 0 10px 24px -10px rgba(245, 138, 7, .8); }
.btn-primary:hover { --bg: var(--orange-2); box-shadow: 0 16px 30px -10px rgba(245, 138, 7, .9); }
.btn-ghost { --bg: transparent; --fg: var(--brown); box-shadow: inset 0 0 0 2px var(--brown); }
.btn-ghost:hover { --bg: var(--brown); --fg: #fff; }
.btn-light { --bg: var(--cream); --fg: var(--brown-deep); }
.btn-light:hover { --bg: var(--orange); }
.btn:active { transform: scale(.97); }

.icon-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  font-size: 22px; color: var(--brown); position: relative; transition: background-color .2s;
}
.icon-btn:hover { background: var(--orange-soft); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--cream); transition: opacity .5s var(--ease), visibility .5s;
}
.loader img { width: 88px; height: auto; animation: hop 1s var(--ease) infinite; }
.loader-bar { width: 120px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--orange); border-radius: 4px; animation: load 1.1s ease-in-out infinite; }
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes hop { 0%, 100% { transform: translateY(0) } 45% { transform: translateY(-14px) } }
@keyframes load { 0% { transform: translateX(-120%) } 100% { transform: translateX(320%) } }
[dir="rtl"] .loader-bar i { animation-name: load-rtl; }
@keyframes load-rtl { 0% { transform: translateX(120%) } 100% { transform: translateX(-320%) } }

/* ---------- header ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding-top: 12px; transition: transform .45s var(--ease); }
.header-row {
  height: var(--header-h); display: flex; align-items: center; gap: 20px;
  border-radius: 999px; padding-inline: 14px 10px;
  transition: background-color .35s, box-shadow .35s;
}
.scrolled .header-row { background: rgba(255, 252, 247, .94); box-shadow: var(--shadow); }
.header.hide { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-icon { width: 44px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }
.brand-word { width: 126px; height: auto; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--brown); background: var(--orange-soft); }
.nav a.active { color: var(--brown); }
.nav a.active::after { content: ''; position: absolute; bottom: 4px; inset-inline: 40%; height: 3px; border-radius: 3px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lang-btn {
  min-width: 46px; height: 46px; border-radius: 999px; padding-inline: 12px; font-weight: 800; font-size: .95rem;
  color: var(--brown); box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s, background-color .2s; font-family: 'Nunito', 'Tajawal', sans-serif;
}
.lang-btn:hover { background: var(--orange-soft); box-shadow: inset 0 0 0 2px var(--orange); }
.badge {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding-inline: 5px;
  border-radius: 999px; background: var(--brown); color: #fff; font: 800 11px/20px 'Nunito', sans-serif; text-align: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45) } }
.burger { display: none; }
.burger span { position: absolute; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 70px; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(255, 167, 51, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(138, 51, 7, .06), transparent 60%),
    var(--cream);
}
[dir="rtl"] .hero { background:
    radial-gradient(1000px 600px at 15% 20%, rgba(255, 167, 51, .18), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(138, 51, 7, .06), transparent 60%),
    var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 18px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-sm); color: var(--brown); font-weight: 800; font-size: .95rem;
}
.eyebrow svg { color: var(--orange); font-size: 1.25em; }
.hero-title {
  margin-top: 22px; font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 800; line-height: 1.12; color: var(--brown-deep);
}
:lang(en) .hero-title { line-height: 1.05; }
.hero-title em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; display: inline-block; }
.hero-title em::after {
  content: ''; position: absolute; inset-inline: -2%; bottom: -.06em; height: .28em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 Q 50 2 100 10 T 197 6' fill='none' stroke='%23FFD08A' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform-origin: right; transform: scaleX(var(--draw, 1));
}
:lang(en) .hero-title em::after { transform-origin: left; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.hero-title .w > span { display: inline-block; will-change: transform; }
.hero-lead { margin-top: 22px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 36em; line-height: 1.9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown); font-size: .98rem; }
.hero-points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--brown-deep); }

.hero-visual { position: relative; }
.hero-blob {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: 58% 42% 52% 48% / 48% 54% 46% 52%;
  overflow: hidden; box-shadow: var(--shadow-lg); animation: morph 14s ease-in-out infinite;
  background: var(--sand);
}
.hero-blob::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .55);
}
.hero-blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 48% 54% 46% 52%; }
  33% { border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%; }
  66% { border-radius: 54% 46% 60% 40% / 44% 58% 42% 56%; }
}
.hero-visual::before {
  content: ''; position: absolute; inset: -6% -5% 6% 8%; border-radius: 50%; z-index: -1;
  background: var(--orange); opacity: .9; filter: blur(0); transform: rotate(-12deg);
  border-radius: 42% 58% 60% 40% / 50% 40% 60% 50%; animation: morph 16s ease-in-out infinite reverse;
}
[dir="rtl"] .hero-visual::before { inset: -6% 8% 6% -5%; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow); line-height: 1.3;
}
[dir="rtl"] .float-card { padding: 10px 10px 10px 18px; }
.float-card b { display: block; font-family: var(--head); font-size: 1.05rem; color: var(--brown-deep); }
.float-card small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.fc-ico { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; }
.fc-ico img { width: 100%; height: 100%; object-fit: cover; }
.fc-1 { top: 12%; inset-inline-end: -4%; }
.fc-2 { bottom: 9%; inset-inline-start: -6%; }
.hero-badge {
  position: absolute; z-index: 2; bottom: -2%; inset-inline-end: 8%;
  width: 118px; height: 118px; border-radius: 50%; background: var(--brown); color: #fff;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px;
  font-family: var(--head); font-weight: 700; font-size: .92rem; line-height: 1.2; box-shadow: var(--shadow); padding: 14px;
}
.hero-badge svg { font-size: 34px; color: var(--orange-2); }
.hero-paw { position: absolute; color: var(--brown); opacity: .06; font-size: 120px; pointer-events: none; }
.hero-paw.p1 { top: 18%; inset-inline-start: 46%; transform: rotate(-20deg); font-size: 70px; }
.hero-paw.p2 { bottom: 8%; inset-inline-start: 3%; transform: rotate(18deg); }
.hero-paw.p3 { top: 8%; inset-inline-start: 4%; transform: rotate(-35deg); font-size: 54px; opacity: .08; }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 20px;
  box-shadow: inset 0 0 0 2px rgba(138, 51, 7, .35);
}
.scroll-hint span { position: absolute; top: 9px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--brown); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--brown); color: var(--cream); padding-block: 20px; overflow: hidden; position: relative; z-index: 2;
  transform: rotate(-1.6deg) scale(1.04); margin-block: -14px; box-shadow: var(--shadow);
}
[dir="rtl"] .marquee { transform: rotate(1.6deg) scale(1.04); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: 26px; padding-inline: 13px; font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); white-space: nowrap; }
.marquee-item svg { color: var(--orange-2); font-size: 1.1em; }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; }
.section-head.split > div { max-width: 560px; }
.section-head.split .section-sub { max-width: 440px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 800; font-size: .98rem;
  margin-bottom: 12px; font-family: var(--head);
}
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section-head.center .kicker::after { content: ''; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.kicker.light { color: var(--orange-2); }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--brown-deep); }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* ---------- pets ---------- */
.pets { padding-top: clamp(100px, 12vw, 150px); }
.pets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pet-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 540px; display: flex; align-items: end;
  isolation: isolate; box-shadow: var(--shadow); transition: box-shadow .4s var(--ease);
}
.pet-card.cat { background: #F0A23A; }
.pet-card.dog { background: #E9B934; }
.pet-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pet-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 20%; transition: scale .8s var(--ease); }
.pet-card:hover .pet-media img { scale: 1.05; }
.pet-card:hover { box-shadow: var(--shadow-lg); }
.pet-info {
  margin: 18px; padding: 24px 26px; border-radius: var(--r); background: rgba(255, 250, 243, .96); width: 100%;
  box-shadow: var(--shadow-sm);
}
.pet-info h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--brown-deep); }
.pet-info p { margin-top: 6px; color: var(--muted); }
.pet-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brown); font-family: var(--head); }
.pet-link svg { transition: transform .35s var(--ease); }
.pet-card:hover .pet-link svg { transform: translateX(6px); }
[dir="rtl"] .pet-card:hover .pet-link svg { transform: scaleX(-1) translateX(6px); }

/* ---------- categories ---------- */
.cats-sec { background: var(--sand); border-radius: clamp(32px, 5vw, 64px); margin-inline: clamp(0px, 1.4vw, 20px); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--white); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-sm);
  transition: translate .45s var(--ease), box-shadow .45s var(--ease);
}
.cat-card:hover { translate: 0 -8px; box-shadow: var(--shadow); }
.cat-card img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); transition: border-radius .5s var(--ease); }
.cat-card:hover img { border-radius: 50% 50% calc(var(--r-lg) - 8px) calc(var(--r-lg) - 8px); }
.cat-body { padding: 18px 14px 14px; position: relative; }
.cat-num { position: absolute; top: 16px; inset-inline-end: 14px; font: 800 .9rem 'Nunito', sans-serif; color: var(--orange); }
.cat-body h3 { font-size: 1.4rem; color: var(--brown-deep); }
.cat-body p { color: var(--muted); font-size: .96rem; margin-top: 4px; line-height: 1.6; }

/* ---------- products ---------- */
.filters { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 40px; }
.seg { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); }
.seg button { position: relative; z-index: 1; min-width: 92px; min-height: 46px; padding-inline: 20px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--muted); transition: color .3s; }
.seg button.active { color: var(--brown-deep); }
.seg-pill { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--orange); transition: left .45s var(--ease), width .45s var(--ease); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips button {
  min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; transition: all .25s var(--ease);
}
.chips button:hover { color: var(--brown); box-shadow: inset 0 0 0 1.5px var(--orange); }
.chips button.active { background: var(--brown); color: #fff; box-shadow: none; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.prod-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); padding: 10px;
  box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), translate .4s var(--ease);
}
.prod-card:hover { box-shadow: var(--shadow); translate: 0 -6px; }
.prod-media { position: relative; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.prod-card:hover .prod-media img { scale: 1.07; }
.prod-tag {
  position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 250, 243, .95); color: var(--brown); font-weight: 800; font-size: .8rem;
}
.prod-body { padding: 16px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { color: var(--orange); font-weight: 800; font-size: .82rem; font-family: var(--head); }
.prod-body h3 { font-size: 1.22rem; color: var(--brown-deep); margin-top: 2px; }
.prod-body p { color: var(--muted); font-size: .93rem; line-height: 1.65; margin-top: 6px; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.prod-price { font-size: .85rem; color: var(--muted); font-weight: 700; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--orange); color: var(--brown-deep); font-family: var(--head); font-weight: 700; font-size: .95rem;
  transition: background-color .25s, transform .2s;
}
.add-btn:hover { background: var(--orange-2); }
.add-btn:active { transform: scale(.95); }
.add-btn svg { font-size: 1.1em; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--brown); color: #fff; min-height: 44px; }
.stepper button { width: 40px; height: 44px; display: grid; place-items: center; font-size: 17px; color: #fff; border-radius: 999px; }
.stepper button:hover { background: rgba(255, 255, 255, .14); }
.stepper output { min-width: 22px; text-align: center; font: 800 1rem 'Nunito', sans-serif; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- why ---------- */
.why {
  background: radial-gradient(900px 500px at 90% 0%, rgba(245, 138, 7, .22), transparent 60%), var(--brown-deep);
  color: #F7E6D2; border-radius: clamp(32px, 5vw, 64px); margin-inline: clamp(0px, 1.4vw, 20px); overflow: hidden;
}
.why .h2 { color: #fff; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-img { border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 11 / 13; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 118%; object-fit: cover; }
.about-logo {
  position: absolute; bottom: -30px; inset-inline-end: -24px; width: 150px; padding: 18px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow);
}
.about-text { margin-top: 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.95; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-tags span { padding: 8px 18px; border-radius: 999px; background: var(--orange-soft); color: var(--brown); font-weight: 800; font-size: .95rem; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(100px, 14vw, 180px); color: #fff; text-align: center; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 60%; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 20, 5, .55), rgba(46, 20, 5, .72)); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-band .h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-band p { font-size: 1.15rem; color: #FBE9D6; max-width: 34em; }
.cta-band .btn { margin-top: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 34px 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm);
  transition: translate .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { translate: 0 -8px; box-shadow: var(--shadow); }
.cc-ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px; font-size: 28px; margin-bottom: 10px; color: #fff; transition: transform .5s var(--ease); }
.contact-card:hover .cc-ico { transform: rotate(-8deg) scale(1.08); }
.wa .cc-ico { background: var(--wa); }
.phone .cc-ico { background: var(--orange); color: var(--brown-deep); }
.fb .cc-ico { background: #1877F2; }
.ig .cc-ico { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.cc-label { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--brown-deep); }
.cc-value { color: var(--muted); font-weight: 700; font-size: .98rem; }

/* ---------- footer ---------- */
.footer { background: var(--brown-deep); color: #E6CDB4; padding-top: 70px; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand img:first-child { width: 56px; height: auto; margin-bottom: 14px; }
.footer-brand img:nth-child(2) { width: 168px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 32em; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--orange-2); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 19px; color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.socials a:hover { background: var(--orange); color: var(--brown-deep); transform: translateY(-3px); }
.footer-bottom { margin-top: 50px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: #C9AC92; }


/* ---------- drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(46, 20, 5, .45); opacity: 0; transition: opacity .35s; }
.drawer-backdrop.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 61; width: min(430px, 100%);
  background: var(--cream); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s;
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: none !important; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.5rem; color: var(--brown-deep); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.line-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-sm); }
.line-item + .line-item { margin-top: 10px; }
.line-item img { width: 70px; height: 70px; border-radius: 14px; object-fit: cover; flex: none; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; font-family: var(--head); font-size: 1.05rem; color: var(--brown-deep); line-height: 1.3; }
.line-info small { color: var(--muted); font-weight: 600; }
.line-item .stepper { min-height: 38px; margin-top: 6px; }
.line-item .stepper button { width: 34px; height: 38px; font-size: 15px; }
.line-remove { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 19px; align-self: start; }
.line-remove:hover { background: #FBE3D5; color: #B3261E; }
.drawer-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 30px; color: var(--muted); }
.drawer-empty svg { font-size: 64px; color: var(--orange); opacity: .5; }
.is-empty .drawer-empty { display: flex; }
.is-empty .drawer-body, .is-empty .drawer-foot { display: none; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--white); }
.note-label { font-weight: 800; font-size: .92rem; color: var(--brown); }
.drawer-foot textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; font-size: 16px; color: var(--ink); resize: none; transition: border-color .2s;
}
.drawer-foot textarea:focus { outline: none; border-color: var(--orange); }
.drawer-hint { font-size: .85rem; color: var(--muted); margin: 8px 0 12px; }
#sendOrder { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 24px -10px rgba(31, 175, 84, .8); }
#sendOrder:hover { --bg: #189947; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 70; translate: -50% 0; padding: 12px 22px; border-radius: 999px;
  background: var(--brown-deep); color: #fff; font-weight: 700; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none;
  max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- reveal fallbacks (JS sets these when GSAP is missing) ---------- */
.no-motion [data-reveal], .no-motion [data-anim] { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 11px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .burger { display: grid; }
  .hide-sm { display: none; }
  .nav {
    position: absolute; top: calc(100% + 8px); inset-inline: 20px; flex-direction: column; gap: 2px; padding: 12px;
    background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 16px; font-size: 1.08rem; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--orange-soft); }
  .header .header-row { background: rgba(255, 252, 247, .94); box-shadow: var(--shadow-sm); }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 44px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; width: 100%; margin-inline: auto; margin-top: 16px; }
  .scroll-hint { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .header { padding-top: 8px; }
  .header .container { width: calc(100% - 16px); }
  .header-row { padding-inline: 10px 6px; gap: 8px; }
  .brand-icon { width: 38px; }
  .brand-word { width: 104px; }
  .header-actions { gap: 2px; margin-inline-start: auto; }
  .nav { inset-inline: 0; }
  .hero-title { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { gap: 10px 16px; }
  .float-card { padding: 7px 14px 7px 7px; gap: 9px; }
  [dir="rtl"] .float-card { padding: 7px 7px 7px 14px; }
  .fc-ico { width: 38px; height: 38px; }
  .float-card b { font-size: .95rem; }
  .float-card small { font-size: .74rem; }
  .fc-1 { inset-inline-end: 0; top: 4%; }
  .fc-2 { inset-inline-start: 0; bottom: 6%; }
  .hero-badge { width: 92px; height: 92px; font-size: .74rem; padding: 12px; inset-inline-end: 4%; bottom: -4%; }
  .hero-badge svg { font-size: 24px; }
  .hero-visual::before { inset: -4% 0 6% 6%; }
  [dir="rtl"] .hero-visual::before { inset: -4% 6% 6% 0; }
  .pets-grid { grid-template-columns: 1fr; gap: 18px; }
  .pet-card { min-height: 440px; }
  .pet-info { margin: 12px; padding: 18px 20px; }
  .cat-grid { gap: 12px; }
  .cat-card { padding: 7px; border-radius: 24px; }
  .cat-card img { border-radius: 18px; }
  .cat-body { padding: 12px 6px 8px; }
  .cat-body h3 { font-size: 1.12rem; }
  .cat-body p { font-size: .85rem; }
  .cat-num { top: 13px; inset-inline-end: 6px; font-size: .78rem; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-card { padding: 6px; border-radius: 22px; }
  .prod-media { border-radius: 17px; }
  .prod-tag { top: 8px; inset-inline-start: 8px; font-size: .72rem; padding: 3px 9px; }
  .prod-body { padding: 10px 6px 4px; }
  .prod-body h3 { font-size: 1.02rem; }
  .prod-body p { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .prod-foot { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; }
  .prod-price { text-align: center; font-size: .78rem; }
  .add-btn, .prod-foot .stepper { justify-content: center; width: 100%; }
  .prod-foot .stepper { justify-content: space-between; }
  .seg button { min-width: 74px; padding-inline: 14px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .about-logo { width: 110px; padding: 12px; inset-inline-end: -6px; bottom: -22px; }
  .contact-grid { gap: 12px; }
  .contact-card { padding: 24px 10px; }
  .cc-ico { width: 54px; height: 54px; font-size: 24px; border-radius: 18px; }
  .cc-label { font-size: 1.08rem; }
  .cc-value { font-size: .82rem; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 370px) {
  .brand-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- prices, stock, order details ---------- */
.prod-price.has { display: flex; flex-direction: column; line-height: 1.25; }
.prod-price.has b { font: 800 1.05rem 'Nunito', 'Tajawal', sans-serif; color: var(--brown-deep); }
.prod-price.has s { font-size: .8rem; color: var(--muted); opacity: .8; }
.prod-flag {
  position: absolute; top: 12px; inset-inline-end: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--brown); color: #fff; font-weight: 800; font-size: .78rem;
}
.add-btn.disabled { background: var(--sand); color: var(--muted); cursor: not-allowed; font-size: .85rem; }
.prod-card.out .prod-media img { filter: grayscale(.7); opacity: .75; }
.order-total { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 12px; font-weight: 800; color: var(--brown); }
.order-total b { font: 800 1.2rem 'Nunito', 'Tajawal', sans-serif; color: var(--brown-deep); }
.cust { margin-bottom: 12px; border-radius: 14px; background: var(--cream); border: 1.5px solid var(--line); }
.cust summary { cursor: pointer; padding: 11px 14px; font-weight: 800; font-size: .92rem; color: var(--brown); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cust summary::-webkit-details-marker { display: none; }
.cust summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--orange); }
.cust[open] summary::after { content: '−'; }
.cust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 14px; }
.cust-grid label { display: grid; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cust-grid .full { grid-column: 1 / -1; }
.cust-grid input {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.cust-grid input:focus { outline: none; border-color: var(--orange); }
.drawer-foot { max-height: 62vh; overflow-y: auto; }
#sendOrder:disabled { opacity: .7; cursor: wait; }
@media (max-width: 640px) { .prod-price.has { align-items: center; } }
