/* Aura Beauty demo site. Palette from the store's logo: dusty rose seal on white. */
:root {
  --porcelain: #FFF9FA;
  --petal: #F8E6EA;
  --petal-deep: #F1D3DA;
  --rose: #D08A9B;
  --rose-ink: #A9566C;
  --berry: #6E2840;
  --berry-dark: #561E32;
  --ink: #3B2630;
  --muted: #866874;
  --gold: #B8925A;
  --wa: #1F8F5F;
  --line: #EED8DD;
  --white: #FFFFFF;

  --font-ar-display: "El Messiri", "IBM Plex Sans Arabic", serif;
  --font-en-display: "Marcellus", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --display: var(--font-ar-display);

  --gutter: 16px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 18px 40px -18px rgba(110, 40, 64, .35);
}
html[lang="en"] { --display: var(--font-en-display); }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
body.lb-open, body.drawer-open, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--berry); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* page enter + language swap */
main { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
body.ready main { opacity: 1; transform: none; }
body.lang-swap main, body.lang-swap .topbar .nav { opacity: 0; transition-duration: .18s; }

/* svg icon defaults */
.icon-btn svg, .cart-btn svg, .menu-btn svg, .btn svg, .add-btn svg, .search svg, .values svg, .contact-cards svg, .card__zoom svg, .line__remove svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- strip + top bar ---------- */
.sample-strip { background: var(--berry); color: #fff; font-size: 13px; text-align: center; padding: 6px var(--gutter); }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(255, 249, 250, .8);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s var(--ease), box-shadow .3s;
}
.topbar.scrolled { border-color: var(--line); padding-block: 8px; box-shadow: 0 10px 30px -24px rgba(110, 40, 64, .5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--font-en-display); font-size: 20px; letter-spacing: .04em; color: var(--berry); white-space: nowrap; }
.seal { display: block; }
.seal--sm { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.brand:hover .seal--sm { transform: rotate(-12deg) scale(1.05); }
.seal--md { width: 64px; height: 64px; }

.nav { display: none; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--ink);
  transition: color .2s, background-color .2s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--rose); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--berry); }

.topbar__actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  min-width: 44px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 14px; color: var(--berry);
  transition: border-color .2s, transform .2s var(--ease);
}
.lang-btn:hover { border-color: var(--rose); transform: translateY(-1px); }
.cart-btn, .menu-btn {
  position: relative; width: 44px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 999px;
}
.cart-btn { background: var(--berry); color: #fff; transition: transform .2s var(--ease), background-color .2s; }
.cart-btn:hover { background: var(--berry-dark); transform: translateY(-1px); }
.menu-btn { background: var(--petal); color: var(--berry); }
.cart-btn__count {
  position: absolute; top: -5px; inset-inline-end: -5px;
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
  background: var(--rose); color: #fff; border: 2px solid var(--porcelain);
  font-size: 12px; font-weight: 600; line-height: 17px; text-align: center;
}
.cart-btn__count.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 29;
  padding: 96px 24px 32px;
  background: var(--porcelain);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--display); font-size: 34px; line-height: 1.2; text-decoration: none; color: var(--berry);
  padding: 12px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  animation: menuIn .5s var(--ease) forwards;
}
.mobile-menu a:nth-child(2) { animation-delay: .05s; }
.mobile-menu a:nth-child(3) { animation-delay: .1s; }
.mobile-menu a:nth-child(4) { animation-delay: .15s; }
.mobile-menu a:nth-child(5) { animation-delay: .2s; }
.mobile-menu a[aria-current="page"] { color: var(--rose); }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-menu__foot { color: var(--muted); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--berry); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--berry-dark); }
.btn--ghost { background: transparent; color: var(--berry); box-shadow: inset 0 0 0 1.5px var(--rose); }
.btn--ghost:hover { background: var(--petal); }
.btn--light { background: #fff; color: var(--berry); }
.btn--plain { background: transparent; color: var(--muted); min-height: 44px; }
.btn--plain::before { display: none; }
.btn--wa { width: 100%; background: var(--wa); color: #fff; }
.btn--wa:hover { background: #187a50; }
.btn--block { width: 100%; }
.text-link {
  color: var(--rose-ink); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease);
}
html[dir="rtl"] .text-link { background-position: 100% 100%; }
.text-link:hover { background-size: 100% 1.5px; }

/* ---------- headline word reveal ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
.split .w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms);
}
body.ready .split .w > span { transform: none; }
[data-anim] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-anim="2"] { transition-delay: .25s; }
[data-anim="3"] { transition-delay: .45s; }
[data-anim="4"] { transition-delay: .6s; }
body.ready [data-anim] { opacity: 1; transform: none; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: grid; gap: 28px; align-items: center;
}
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 10vw, 76px); line-height: 1.15;
  color: var(--berry); margin: 0 0 16px; max-width: 12ch;
}
html[lang="en"] .hero__title { font-weight: 400; line-height: 1.05; }
.hero__lead { margin: 0 0 26px; max-width: 44ch; color: var(--muted); font-size: 17px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center;
  transform: translateY(var(--py, 0));
}
.hero__visual::before {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 138, 155, .55), rgba(208, 138, 155, .12) 65%, transparent);
  filter: blur(18px); animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.ring { direction: ltr; unicode-bidi: isolate; position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring text { font-family: var(--font-en-display); font-size: 15.5px; letter-spacing: 3.2px; fill: var(--rose-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__main {
  position: absolute; inset: 15%; padding: 0; border: 0; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(110, 40, 64, .55), 0 0 0 8px rgba(255, 255, 255, .7);
  background: var(--petal);
}
.hero__main img, .hero__float img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__main:hover img, .hero__float:hover img { transform: scale(1.06); }
.hero__float {
  position: absolute; width: 30%; aspect-ratio: 1; padding: 0; border: 4px solid #fff; border-radius: 22px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero__float--a { top: 2%; inset-inline-start: 0; transform: rotate(-8deg); }
.hero__float--b { bottom: 4%; inset-inline-end: 0; animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -12px; } }
.hero__tap { position: absolute; bottom: -34px; inset-inline: 0; text-align: center; margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 14px 0; margin-top: 36px; direction: ltr; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-en-display); font-size: 22px; color: var(--berry); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--rose); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 0; }
.section--tight { padding-top: 8px; }
.section__head { margin-bottom: 24px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title {
  font-family: var(--display); font-weight: 600; color: var(--berry);
  font-size: clamp(28px, 6vw, 42px); line-height: 1.2; margin: 0 0 6px;
}
html[lang="en"] .section-title { font-weight: 400; }
.section-lead { margin: 0; color: var(--muted); max-width: 52ch; }

/* page head for inner pages */
.page-head {
  position: relative;
  max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 28px;
}
.page-head__orb {
  position: absolute; width: 340px; height: 340px; inset-inline-end: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 138, 155, .45), transparent);
  filter: blur(10px); animation: breathe 8s ease-in-out infinite; pointer-events: none;
}
.page-head__title {
  position: relative; font-family: var(--display); font-weight: 600; color: var(--berry);
  font-size: clamp(36px, 9vw, 64px); line-height: 1.15; margin: 0 0 8px;
}
html[lang="en"] .page-head__title { font-weight: 400; }
.page-head__lead { position: relative; margin: 0; color: var(--muted); max-width: 52ch; font-size: 17px; }

/* ---------- categories ---------- */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cats li:last-child:nth-child(odd) .cat { aspect-ratio: 2 / 1; }
.cat {
  position: relative; display: block; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
  text-decoration: none; color: #fff; background: var(--petal);
}
.cat__img, .cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat__img img { transition: transform 1s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(86, 30, 50, .82), rgba(86, 30, 50, 0) 60%); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat__name, .cat__count { position: absolute; z-index: 1; inset-inline-start: 14px; }
.cat__name { bottom: 30px; font-weight: 600; font-size: 17px; }
.cat__count { bottom: 10px; font-size: 13px; opacity: .85; }

/* ---------- product grid ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: zoom-in;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__media:hover { box-shadow: 0 0 0 1px var(--rose), var(--shadow); transform: translateY(-4px); }
.card__media:hover img { transform: scale(1.05); }
.card__zoom {
  position: absolute; top: 10px; inset-inline-end: 10px;
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--berry);
  box-shadow: 0 4px 12px rgba(110, 40, 64, .18);
  transition: transform .3s var(--spring);
}
.card__media:hover .card__zoom { transform: scale(1.15); }
.badge {
  position: absolute; bottom: 10px; inset-inline-start: 10px;
  padding: 3px 10px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 600;
}
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__brand { font-family: var(--font-en-display); font-size: 13px; color: var(--rose-ink); letter-spacing: .03em; }
.card__name { font-size: 15.5px; font-weight: 600; line-height: 1.4; margin: 2px 0 4px; }
.card__note { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.card__foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 17px; color: var(--berry); }
.price s { font-size: 13px; color: var(--muted); }
.card__action { min-height: 44px; }
.add-btn {
  width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1.5px solid var(--berry); background: transparent; color: var(--berry);
  font-weight: 600; font-size: 14px;
  transition: background-color .25s, color .25s, transform .2s var(--ease);
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { background: var(--berry); color: #fff; }
.add-btn:active { transform: scale(.96); }
.stepper {
  height: 44px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
  border-radius: 999px; background: var(--berry); color: #fff; overflow: hidden;
  animation: pop .35s var(--spring);
}
@keyframes pop { from { transform: scale(.85); opacity: .4; } }
.stepper button { height: 100%; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; }
.stepper button:hover { background: rgba(255, 255, 255, .14); }
.stepper output { text-align: center; font-weight: 600; }
.stepper--sm { height: 34px; grid-template-columns: 34px 30px 34px; background: var(--petal); color: var(--berry); animation: none; }
.stepper--sm button { font-size: 18px; }
.stepper--sm button:hover { background: var(--petal-deep); }
.fly { position: fixed; z-index: 70; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); }

/* shop toolbar */
.toolbar {
  position: sticky; top: 64px; z-index: 20;
  margin: 0 calc(-1 * var(--gutter)) 8px; padding: 10px var(--gutter);
  background: linear-gradient(var(--porcelain) 80%, rgba(255, 249, 250, 0));
  display: grid; gap: 10px;
}
.search {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--rose-ink); box-shadow: 0 0 0 4px rgba(208, 138, 155, .2); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--rose); transform: translateY(-1px); }
.chip[aria-selected="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.result-count { margin: 4px 0 16px; color: var(--muted); font-size: 14px; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- offer band ---------- */
.offer {
  display: grid; overflow: hidden; border-radius: 30px;
  background: var(--berry); color: #fff;
}
.offer__img { padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--petal); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer__img:hover img { transform: scale(1.05); }
.offer__text { padding: 30px 24px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.offer__tag { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.offer__title { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 8px 0 0; }
html[lang="en"] .offer__title { font-weight: 400; }
.offer__text p { margin: 0 0 16px; opacity: .85; max-width: 40ch; }

/* ---------- how to order ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { position: relative; padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.how__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--petal); color: var(--berry); font-family: var(--font-en-display); font-size: 20px; margin-bottom: 12px;
}
.how h3 { margin: 0 0 4px; font-size: 18px; color: var(--berry); }
.how p { margin: 0; color: var(--muted); }

/* ---------- instagram band ---------- */
.ig-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px 26px; border-radius: 30px; text-decoration: none;
  background: linear-gradient(120deg, var(--petal), #fff 50%, var(--petal-deep));
  background-size: 200% 200%; animation: sheen 10s ease-in-out infinite;
  box-shadow: 0 0 0 1px var(--line);
}
@keyframes sheen { 50% { background-position: 100% 100%; } }
.ig-band h2 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--berry); font-size: clamp(24px, 5vw, 34px); }
html[lang="en"] .ig-band h2 { font-weight: 400; }
.ig-band p { margin: 2px 0 0; color: var(--muted); }
.ig-band__handle { font-family: var(--font-en-display); font-size: 22px; color: var(--rose-ink); transition: transform .3s var(--ease); }
.ig-band:hover .ig-band__handle { transform: translateX(6px); }

/* ---------- about ---------- */
.story { display: grid; gap: 36px; align-items: center; }
.story__collage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.story__img { position: absolute; padding: 0; border: 5px solid #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: #fff; }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story__img:hover img { transform: scale(1.05); }
.story__img--1 { width: 64%; aspect-ratio: 1; top: 0; inset-inline-start: 0; transform: rotate(-4deg); }
.story__img--2 { width: 58%; aspect-ratio: 1; bottom: 0; inset-inline-end: 0; transform: rotate(5deg); }
.story__seal { position: absolute; width: 26%; inset-inline-end: 6%; top: 8%; animation: spin 30s linear infinite; }
.story__text p { margin: 0 0 14px; max-width: 56ch; }
.draft-note { font-size: 13px; color: var(--muted); padding: 8px 14px; border-radius: 12px; background: var(--petal); display: inline-block; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.values li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--rose), var(--shadow); }
.values svg { width: 30px; height: 30px; color: var(--rose-ink); margin-bottom: 10px; }
.values h3 { margin: 0 0 4px; color: var(--berry); }
.values p { margin: 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-cards li { padding: 24px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.contact-cards svg { width: 28px; height: 28px; color: var(--rose-ink); }
.contact-cards h3 { margin: 8px 0 2px; color: var(--berry); }
.contact-cards p { margin: 0 0 10px; }
html[dir="rtl"] .contact-cards p[dir="ltr"] { text-align: right; }
.contact-split { display: grid; gap: 18px; }
.map-wrap { position: relative; min-height: 320px; border-radius: 26px; overflow: hidden; background: var(--petal); box-shadow: 0 0 0 1px var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--berry); font-weight: 600; }

/* ---------- forms ---------- */
.card-form { display: grid; gap: 14px; padding: 24px 20px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.form-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--berry); }
html[lang="en"] .form-title { font-weight: 400; }
.field { display: grid; gap: 5px; border: 0; padding: 0; margin: 0; font-size: 14px; min-width: 0; }
.field > span, .field legend { font-weight: 500; padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--porcelain);
  font-size: 16px; resize: vertical; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose-ink); background: #fff; box-shadow: 0 0 0 4px rgba(208, 138, 155, .2); }
.field [aria-invalid="true"] { border-color: #B3261E; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field--choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field--choice legend { grid-column: 1 / -1; margin-bottom: 4px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; }
.radio span {
  display: grid; place-items: center; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  font-weight: 500; background: var(--porcelain); cursor: pointer; transition: all .2s;
}
.radio input:checked + span { border-color: var(--berry); background: var(--berry); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--rose-ink); outline-offset: 2px; }
.form-error { margin: 0; color: #B3261E; font-size: 14px; }
.summary { padding-top: 12px; border-top: 1px dashed var(--line); }
.summary .small { margin: 2px 0 0; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row strong { font-size: 22px; color: var(--berry); }

/* ---------- cart lines ---------- */
.lines { list-style: none; margin: 0; padding: 0; }
.line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: lineIn .4s var(--ease);
}
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.line__img { width: 64px; height: 64px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--petal); cursor: zoom-in; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; min-width: 0; }
.line__brand { font-family: var(--font-en-display); font-size: 12px; color: var(--rose-ink); }
.line__name { font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.line__price { font-size: 13px; color: var(--muted); }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line__sum { font-weight: 600; color: var(--berry); font-size: 14px; }
.line__remove { display: flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px; }
.line__remove svg { width: 15px; height: 15px; }
.line__remove:hover { color: #B3261E; }
.lines--page .line { grid-template-columns: 84px 1fr auto; }
.lines--page .line__img { width: 84px; height: 84px; }

.checkout { display: grid; gap: 24px; align-items: start; }
.checkout__items { min-width: 0; }
.empty-state { text-align: center; padding: 30px 10px 10px; }
.empty-state__seal { width: 110px; margin: 0 auto 14px; animation: float 5s ease-in-out infinite; }
.empty-state h2 { font-family: var(--display); color: var(--berry); margin: 0 0 4px; }
.empty-state p { color: var(--muted); margin: 0 0 18px; }

/* ---------- floating cart bar ---------- */
.cartbar {
  position: fixed; z-index: 35;
  inset-inline: var(--gutter); bottom: max(14px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 600;
  box-shadow: 0 16px 34px rgba(110, 40, 64, .35);
  animation: rise .5s var(--spring);
}
.cartbar__count { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--rose); display: grid; place-items: center; font-size: 14px; }
.cartbar__total { margin-inline-start: auto; }
@keyframes rise { from { transform: translateY(140%); } }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(59, 38, 48, .4); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 50; inset-inline: 0; bottom: 0; max-height: 88dvh;
  display: flex; flex-direction: column; background: var(--porcelain);
  border-radius: 28px 28px 0 0;
  transform: translateY(105%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
body.drawer-open .drawer { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter) 12px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--berry); }
html[lang="en"] .drawer__head h2 { font-weight: 400; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--gutter) 10px; overscroll-behavior: contain; }
.drawer__empty { text-align: center; padding: 36px 8px; }
.drawer__empty-title { font-weight: 600; font-size: 18px; color: var(--berry); margin: 0 0 4px; }
.drawer__empty .btn { margin-top: 14px; }
.drawer__foot { display: grid; gap: 8px; padding: 14px var(--gutter) max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--petal); color: var(--berry); transition: transform .25s var(--ease), background-color .2s; }
.icon-btn:hover { transform: rotate(90deg); background: var(--petal-deep); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(40, 20, 30, .92); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s;
}
.lightbox.open { opacity: 1; }
.lightbox__stage { position: absolute; inset: 64px 0 84px; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.lightbox__stage img {
  max-width: min(94vw, 900px); max-height: 100%; width: auto; height: auto;
  border-radius: 14px; cursor: zoom-in; user-select: none; -webkit-user-drag: none;
  transition: transform .35s var(--ease);
}
.lightbox__stage img.in { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; scale: .92; } }
.lightbox.zoomed .lightbox__stage img { cursor: grab; }
.lightbox__stage img.dragging { transition: none; cursor: grabbing; }
.lightbox__close { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(255, 255, 255, .15); color: #fff; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(255, 255, 255, .15); color: #fff; width: 48px; height: 48px; z-index: 1; }
.lightbox__nav:hover { transform: none; background: rgba(255, 255, 255, .28); }
.lightbox__nav--prev { inset-inline-start: 12px; }
.lightbox__nav--next { inset-inline-end: 12px; }
html[dir="ltr"] .lightbox__nav--prev svg, html[dir="rtl"] .lightbox__nav--next svg { transform: rotate(180deg); }
.lightbox__bar { position: absolute; bottom: 0; inset-inline: 0; padding: 14px var(--gutter) max(18px, env(safe-area-inset-bottom)); text-align: center; color: #fff; }
.lightbox__cap { margin: 0; font-weight: 600; }
.lightbox__hint { margin: 2px 0 0; font-size: 13px; opacity: .7; }

/* ---------- toast ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 90px;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px;
  pointer-events: none; transition: opacity .3s, transform .4s var(--spring);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.drawer-open .toast { bottom: auto; top: 80px; }

/* ---------- footer ---------- */
.footer { margin-top: 72px; padding: 40px var(--gutter) 110px; background: #fff; border-top: 1px solid var(--line); }
.footer__grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 26px; }
.footer__brand p { color: var(--muted); max-width: 30ch; margin: 10px 0 0; }
.footer h3 { margin: 0 0 8px; font-size: 15px; color: var(--berry); }
.footer__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer__links a { text-decoration: none; color: var(--ink); transition: color .2s; }
.footer__links a:hover { color: var(--rose-ink); }
.footer__copy { max-width: var(--max); margin: 30px auto 0; font-size: 13px; color: var(--muted); }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cats li:last-child:nth-child(odd) { grid-column: auto; }
  .cats li:last-child:nth-child(odd) .cat { aspect-ratio: 1; }
  .how, .values, .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .nav { display: flex; }
  .menu-btn { display: none; }
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 56px; padding-bottom: 40px; column-gap: 48px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .cat { aspect-ratio: 3 / 4; }
  .offer { grid-template-columns: 1fr 1fr; align-items: center; }
  .offer__img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .offer__text { padding: 48px; }
  .story { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: 1.3fr 1fr; }
  .toolbar { grid-template-columns: minmax(260px, 340px) 1fr; align-items: center; top: 66px; }
  .checkout { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .checkout__side { position: sticky; top: 90px; }
  .checkout--empty { grid-template-columns: 1fr; }
  .drawer {
    inset-inline-start: auto; inset-inline-end: 0; top: 0; bottom: 0; width: 430px; max-height: none; border-radius: 0;
    transform: translateX(105%);
  }
  html[dir="rtl"] .drawer { transform: translateX(-105%); }
  body.drawer-open .drawer, html[dir="rtl"] body.drawer-open .drawer { transform: none; }
  .cartbar { inset-inline: auto var(--gutter); width: 340px; }
  .footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  main, [data-anim], [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
}
