@font-face {
  font-family: "Thmanyah Sans";
  src: url("fonts/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("fonts/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Display";
  src: url("fonts/thmanyahserifdisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Display";
  src: url("fonts/thmanyahserifdisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Text";
  src: url("fonts/thmanyahseriftext-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #eeacc4;
  --pink-deep: #f09cb4;
  --periwinkle: #9ba6d0;
  --tagline: #849ed1;
  --sky: #90ccd8;
  --teal: #5cb6be;
  --teal-deep: #30a7bb;
  --mint: #60b4a8;
  --sage: #92b885;
  --wash: #fff8fb;
  --cream: #f7eeed;
  --text: #303a52;
  --heading: #4a6296;
  --white: #ffffff;
  --danger: #9f1239;
  --radius: 12px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --z-header: 75;
  --z-menu: 60;
  --z-scrim: 70;
  --z-drawer: 80;
  --z-toast: 90;
  --ease: ease;
  --d: 0.2s;
  --d-long: 0.28s;
  --d-hero: 1s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Thmanyah Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: var(--wash);
  line-height: 1.7;
  min-height: 100%;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  right: 1rem;
  top: -4rem;
  background: var(--heading);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
}

.skip:focus {
  top: 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 248, 251, 0.92);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
  transition: box-shadow var(--d) var(--ease);
}

.header.is-stuck {
  box-shadow: 0 10px 40px rgba(132, 158, 209, 0.12);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
}

.nav-tools {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.account-link,
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.account-link svg,
.cart-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.account-link.is-in::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.cart-count {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 6px;
  background: var(--pink-deep);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--d-long) var(--ease);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width var(--d) var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
  left: 0;
  right: auto;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--heading);
  transition: transform var(--d) var(--ease);
}

.hero {
  position: relative;
  min-height: calc(100dvh - 90px);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--heading);
  text-align: center;
  padding: 4rem 1.25rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(249, 224, 235, 0.92), rgba(216, 237, 241, 0.88), rgba(247, 238, 237, 0.92)),
    var(--cream);
  animation: wash-shift 14s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 70% 40%, rgba(144, 204, 216, 0.5), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(240, 156, 180, 0.48), transparent 44%);
  animation: ken 16s ease-in-out infinite alternate;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.7;
  pointer-events: none;
}

.orb-a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, rgba(238, 172, 196, 0.85), transparent 68%);
  animation: drift-a 11s ease-in-out infinite;
}

.orb-b {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -10%;
  bottom: -6%;
  background: radial-gradient(circle, rgba(92, 182, 190, 0.7), transparent 68%);
  animation: drift-b 13s ease-in-out infinite;
}

.orb-c {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  left: 42%;
  top: 12%;
  background: radial-gradient(circle, rgba(155, 166, 208, 0.75), transparent 68%);
  animation: drift-c 9s ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: twinkle 2.8s ease-in-out infinite;
}

.spark-1 { top: 22%; right: 18%; animation-delay: 0s; }
.spark-2 { top: 58%; left: 16%; animation-delay: 0.8s; }
.spark-3 { bottom: 18%; right: 38%; animation-delay: 1.5s; }

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 251, 252, 0.15), rgba(255, 248, 251, 0.35));
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-logo {
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 28px rgba(155, 166, 208, 0.28));
}

.hero-logo.is-in {
  animation: floaty 5.5s ease-in-out infinite;
}

.kicker {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
  color: var(--tagline);
}

.hero h1 {
  font-family: "Thmanyah Display", "Thmanyah Sans", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.35;
  margin: 0 0 1.6rem;
}

.btn {
  position: relative;
  isolation: isolate;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--heading);
  background: transparent;
  color: var(--heading);
  font-family: inherit;
  font-size: 0.95rem;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--d) var(--ease), transform var(--d) var(--ease), background var(--d) var(--ease);
}

.hero .btn.is-in {
  animation: pulse-ring 2.6s ease-out infinite;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--heading);
  transform: translateY(110%) rotate(-8deg);
  transform-origin: 100% 100%;
  transition: transform var(--d-long) var(--ease);
  pointer-events: none;
  z-index: -1;
}

.btn-solid {
  background: var(--heading);
  color: var(--white);
}

.btn-solid::before,
.btn-solid::after {
  display: none;
}

.btn:focus-visible {
  color: var(--white);
}

.btn:focus-visible::after {
  transform: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
  scroll-margin-top: 5.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: "Thmanyah Display", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading);
  margin: 0.3rem 0 0.6rem;
}

.eyebrow {
  color: var(--teal-deep);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.shop-tools {
  display: grid;
  gap: 0.85rem;
  margin: 0 auto 2rem;
  max-width: 40rem;
}

.shop-search input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(155, 166, 208, 0.45);
  border-radius: 12px;
  background: var(--white);
  color: var(--heading);
  font: inherit;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.shop-filter {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(155, 166, 208, 0.45);
  border-radius: 12px;
  background: var(--white);
  color: var(--heading);
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-filter.is-on {
  border-color: var(--heading);
  background: rgba(74, 98, 150, 0.08);
  box-shadow: 0 0 0 1px var(--heading);
}

.shop-cat {
  margin-bottom: 2.6rem;
}

.shop-cat h3 {
  margin: 0 0 1.1rem;
  font-family: "Thmanyah Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
  text-align: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 18.6rem);
  justify-content: center;
  gap: 1.15rem;
}

.card {
  display: flex;
  flex-direction: column;
  width: 18.6rem;
  min-height: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  transform-style: flat;
  box-shadow: 0 16px 40px rgba(155, 166, 208, 0.12);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.is-out .card-media::before,
.product-media.is-out::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(194, 59, 74, 0.08), rgba(194, 59, 74, 0.38));
  animation: stock-wash 2.2s ease-in-out infinite;
}

.card-stock {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.2rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  border: 2px solid #c23b4a;
  border-radius: 12px;
  background: #c23b4a;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translate(-50%, -50%) rotate(-12deg);
  box-shadow: 0 12px 28px rgba(194, 59, 74, 0.4);
  animation: stock-stamp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both, stock-glow 1.5s ease-in-out 0.65s infinite;
}

.card-media {
  width: 100%;
  height: 18.6rem;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--wash);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(120%);
  pointer-events: none;
}

.card-media > span:not(.card-stock) {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: 180% 180%;
  animation: gradient-shift 8s ease infinite;
}

.item-1 {
  background: linear-gradient(135deg, var(--pink), var(--periwinkle), var(--sky));
}

.item-2 {
  background: linear-gradient(135deg, var(--sky), var(--sage), var(--mint));
}

.item-sage {
  background: linear-gradient(135deg, var(--sage), var(--mint), var(--teal));
}

a.card,
.card-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}

.btn-add {
  min-width: 0;
  width: 16.06rem;
  min-height: 2.56rem;
  height: 2.56rem;
  padding: 0 1rem;
  margin: 0.55rem auto 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  letter-spacing: 0;
  word-spacing: 0.15em;
}

.card-media img,
.card-media > span:not(.card-stock) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-body h3,
.card-body .price {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.shop-empty {
  text-align: center;
  color: var(--heading);
}

.shop-empty a {
  color: var(--teal-deep);
  text-decoration: underline;
}

.shop-page h1 {
  font-family: "Thmanyah Display", serif;
  font-weight: 400;
  color: var(--heading);
  margin: 0.3rem 0 0;
}

.shop-narrow {
  max-width: 40rem;
}

.shop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: 0 10px 28px rgba(155, 166, 208, 0.1);
}

.cart-drawer[hidden],
.cart-scrim[hidden] {
  display: none !important;
}

html.cart-open,
html.cart-open body {
  overflow: hidden;
}

.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(48, 58, 82, 0.45);
  z-index: var(--z-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.cart-scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: min(448px, 94vw);
  height: 100dvh;
  max-height: none;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 24px 64px rgba(48, 58, 82, 0.24);
  z-index: var(--z-drawer);
  opacity: 0;
  transform: translateX(8%) scale(0.96);
  pointer-events: none;
  direction: rtl;
  overflow: hidden;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] .cart-drawer {
  border-radius: 12px 0 0 12px;
  transform: translateX(-10%) scale(0.96);
}

.cart-drawer.is-on,
html[dir="rtl"] .cart-drawer.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(155, 166, 208, 0.22);
}

.cart-drawer-head h2 {
  margin: 0;
  font-family: "Thmanyah Display", serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--heading);
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--heading);
  border-radius: var(--radius-sm);
}

.cart-drawer-empty {
  margin: auto 0;
  padding: 2rem 1.2rem;
  text-align: center;
  color: var(--heading);
  font-size: 1.1rem;
}

.cart-drawer-lines {
  list-style: none;
  margin: 0;
  padding: 1rem 1.15rem;
  overflow: auto;
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.cart-drawer-line {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(155, 166, 208, 0.22);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 0.45rem 0.85rem;
  align-items: start;
}

.cart-thumb {
  width: 96px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink), var(--periwinkle), var(--sky));
}

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

.cart-thumb-sky {
  background: linear-gradient(135deg, var(--sky), var(--sage), var(--mint));
}

.cart-thumb-sage {
  background: linear-gradient(135deg, var(--sage), var(--mint), var(--teal));
}

.cart-drawer-main {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.cart-drawer.is-on .cart-drawer-line {
  animation: cart-line 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cart-drawer-line:nth-child(1) { animation-delay: 0.04s; }
.cart-drawer-line:nth-child(2) { animation-delay: 0.1s; }
.cart-drawer-line:nth-child(3) { animation-delay: 0.16s; }
.cart-drawer-line:nth-child(4) { animation-delay: 0.22s; }
.cart-drawer-line:nth-child(5) { animation-delay: 0.28s; }
.cart-drawer-line:nth-child(6) { animation-delay: 0.34s; }

@keyframes cart-line {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cart-drawer-name {
  margin: 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--heading);
}

.cart-drawer-line-total {
  margin: 0;
  font-size: 0.95rem;
  color: var(--heading);
  white-space: nowrap;
}

.cart-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 0.15rem;
  grid-column: 2 / -1;
}

.cart-drawer-unit {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.cart-drawer-foot {
  padding: 1.1rem 1.25rem 1.3rem;
  border-top: 1px solid rgba(155, 166, 208, 0.22);
}

.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(155, 166, 208, 0.45);
  border-radius: var(--radius-sm);
  padding: 2px;
  background: var(--white);
}

.qty-btn {
  min-width: 44px;
  width: 44px;
  min-height: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--heading);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease;
}

.qty-btn:not(:disabled):hover,
.qty-btn:not(:disabled):focus-visible {
  background: var(--wash);
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.qty-btn:not(:disabled):active {
  transform: scale(0.88);
}

.qty-num {
  min-width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
  direction: ltr;
  unicode-bidi: isolate;
}

.cart-remove {
  flex-shrink: 0;
  min-width: 72px;
  min-height: 38px;
  height: 38px;
  padding: 0 0.85rem;
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  background: rgba(159, 18, 57, 0.08);
}

.cart-remove:active {
  transform: scale(0.94);
}

.qty-box button,
.link-btn {
  cursor: pointer;
}

.link-btn {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--heading);
  text-decoration: underline;
  font-size: 0.85rem;
}

.checkout-layout {
  display: grid;
  gap: var(--space-4);
}

.cart-summary h2 {
  margin: 0 0 0.8rem;
  font-family: "Thmanyah Display", serif;
  font-weight: 400;
  color: var(--heading);
  font-size: 1.2rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin: 0.4rem 0;
}

.sum-total {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(155, 166, 208, 0.28);
}

.checkout-form .btn,
.thanks-card .btn,
.cart-drawer-foot .btn {
  width: 100%;
  margin-top: 0.85rem;
}

.checkout-form label,
.qty-label {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0;
  font-weight: 500;
}

.checkout-form input,
.checkout-form select,
.qty-label input {
  font: inherit;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.45);
  background: var(--wash);
  color: var(--text);
}

.checkout-form input[dir="ltr"] {
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

.req {
  color: var(--danger);
  font-weight: 700;
}

.field-hint {
  margin: -0.35rem 0 0.4rem;
  color: var(--text);
  font-size: 0.88rem;
}

.field-error {
  color: var(--danger);
  margin: -0.35rem 0 0.6rem;
  font-size: 0.9rem;
}

.money {
  direction: rtl;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mini-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.mini-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(155, 166, 208, 0.18);
}

.mini-line:last-child {
  border-bottom: 0;
}

.mini-line-name {
  margin: 0;
  font-size: 0.95rem;
  color: var(--heading);
  overflow-wrap: anywhere;
}

.mini-line-meta {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--text);
}

.pay-note {
  color: var(--text);
  font-size: 0.92rem;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.qty-label input {
  width: 5.5rem;
  text-align: center;
}

.cart-toast {
  position: fixed;
  bottom: calc(1.2rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--heading);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: var(--z-toast);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.cart-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.thanks-card {
  max-width: 28rem;
  margin: 0 auto;
}

.thanks-card p {
  margin: 0.45rem 0;
}

.product-page {
  max-width: 1280px;
  min-height: 60vh;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: var(--text);
}

.crumbs a {
  color: var(--heading);
}

.crumbs span[aria-hidden] {
  opacity: 0.4;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.4rem;
  align-items: start;
}

.product[hidden],
.similar[hidden] {
  display: none;
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
}

.product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  position: relative;
}

.product-media > span:not(.card-stock),
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-thumb {
  width: 80px;
  height: 80px;
  padding: 0;
  border: 1px solid rgba(155, 166, 208, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
}

.product-thumb.is-on {
  border-color: var(--heading);
}

.product-thumb img,
.product-thumb span {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: start;
  min-width: 0;
}

.product-copy h1 {
  margin: 0 0 1rem;
  font-family: "Thmanyah Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--heading);
}

.product-copy .price {
  margin: 0;
  font-size: 1.35rem;
  width: auto;
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

.product-details {
  margin: 0 0 1.1rem;
  font-family: "Thmanyah Text", "Thmanyah Sans", serif;
  font-size: 0.98rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--text);
}

.product-option-row {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0;
  color: var(--heading);
  font-weight: 500;
}

.product-option-row[hidden] {
  display: none;
}

.product-option-row select {
  display: none;
}

.option-picks {
  display: grid;
  gap: 0.55rem;
}

.option-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(155, 166, 208, 0.45);
  border-radius: 12px;
  background: var(--white);
  color: var(--heading);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-pick-name {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  line-height: 1.45;
}

.option-pick-price {
  flex-shrink: 0;
  font-weight: 500;
  white-space: nowrap;
  direction: rtl;
  unicode-bidi: isolate;
}

.option-pick:hover,
.option-pick:focus-visible {
  border-color: var(--heading);
}

.option-pick.is-on {
  border-color: var(--heading);
  background: rgba(74, 98, 150, 0.08);
  box-shadow: 0 0 0 1px var(--heading);
}

.product-option-note {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
}

.product-price-row,
.product-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.85rem 0;
  color: var(--heading);
  font-weight: 500;
}

.product-price-vals {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

.product-compare {
  color: var(--text);
  font-weight: 400;
  font-size: 0.95rem;
}

.product-stock {
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 500;
}

.product-stock.is-out {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  background: #c23b4a;
  color: #fff;
  font-weight: 700;
  animation: stock-glow 1.5s ease-in-out infinite;
}

.product-actions .btn:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.product-actions .btn {
  width: 100%;
  min-height: 44px;
}

.similar {
  margin-top: 4rem;
}

.similar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.2rem;
}

.similar h2 {
  margin: 0;
  font-family: "Thmanyah Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  text-align: start;
}

.grid.similar-grid {
  grid-template-columns: repeat(auto-fill, 12.4rem);
  justify-content: start;
  gap: 0.8rem;
}

.similar-grid .card {
  width: 12.4rem;
  min-height: 0;
  border-radius: 12px;
}

.similar-grid .card-media {
  width: 100%;
  height: 12.4rem;
}

.similar-grid .card-stock {
  min-width: 7.6rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
}

.similar-grid .card-body {
  padding: 0.45rem 0.65rem 0.05rem;
}

.similar-grid .card-body h3 {
  font-size: 0.8rem;
}

.similar-grid .price {
  font-size: 0.86rem;
}

.similar-grid .btn-add {
  width: 10.6rem;
  min-height: 2.15rem;
  height: 2.15rem;
  margin: 0.35rem auto 0.7rem;
  font-size: 0.78rem;
}

.product-missing {
  text-align: center;
}

.btn-ghost {
  background: transparent;
}

.admin-body {
  min-height: 100dvh;
}

.admin-is-login {
  background:
    radial-gradient(circle at 12% 18%, rgba(238, 172, 196, 0.28), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(144, 204, 216, 0.24), transparent 36%),
    var(--wash);
}

.admin-is-dash {
  background: #f4eef2;
}

.auth-page {
  min-height: 68dvh;
  display: grid;
  place-items: start center;
  padding: 2rem 1rem 3rem;
}

.auth-card {
  width: min(26rem, 100%);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem 1.4rem;
  border: 1px solid rgba(155, 166, 208, 0.2);
  box-shadow: 0 20px 48px rgba(155, 166, 208, 0.16);
  animation: card-soft 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-card h1 {
  margin: 0.15rem 0 0.35rem;
  font-family: "Thmanyah Display", serif;
  color: var(--heading);
  font-weight: 400;
}

.auth-card label {
  display: grid;
  gap: 0.35rem;
  margin: 0.8rem 0;
  font-weight: 500;
}

.auth-card input {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.45);
  background: var(--wash);
  color: var(--text);
}

.auth-card .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.auth-status {
  min-height: 1.4em;
  color: var(--danger);
}

.auth-switch {
  display: block;
  margin-top: 1rem;
  text-align: center;
  color: var(--heading);
}

.oauth-box {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0.2rem;
}

.oauth-or {
  margin: 0.9rem 0 0.2rem;
  text-align: center;
  color: var(--tagline);
  font-size: 0.88rem;
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.4);
  background: var(--wash);
  color: var(--heading);
  font: inherit;
  text-decoration: none;
}

.btn-oauth svg {
  width: 18px;
  height: 18px;
}

.btn-oauth-google {
  background: #fff;
}

.btn-oauth-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.btn-oauth-facebook svg {
  fill: #fff;
}

.account-facts {
  margin: 0.8rem 0 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.admin-login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(1.5rem + env(safe-area-inset-top)) 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
}

.admin-login[hidden],
.admin-app[hidden] {
  display: none !important;
}

.admin-login-card {
  width: min(26rem, 100%);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem 1.4rem;
  box-shadow: 0 20px 48px rgba(155, 166, 208, 0.16);
  animation: card-soft 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-login-card h1 {
  margin: 0.15rem 0 0.35rem;
  font-family: "Thmanyah Display", serif;
  color: var(--heading);
  font-weight: 400;
}

.admin-login-brand {
  display: block;
  width: 7.2rem;
  margin: 0 auto 0.8rem;
}

.admin-login-brand img {
  width: 100%;
  height: auto;
}

.admin-login-back {
  display: block;
  margin-top: 1rem;
  text-align: center;
  color: var(--heading);
}

.admin-login-card .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.admin-app {
  min-height: 100dvh;
}

.admin-side {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  bottom: 0;
  width: 16.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 0.9rem 1rem;
  padding-top: calc(1.1rem + env(safe-area-inset-top));
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-inline-end: 1px solid rgba(155, 166, 208, 0.28);
  box-shadow: 8px 0 28px rgba(155, 166, 208, 0.08);
  overflow: auto;
}

html[dir="rtl"] .admin-side {
  box-shadow: -8px 0 28px rgba(155, 166, 208, 0.08);
}

.admin-side-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: inherit;
  text-decoration: none;
}

.admin-side-brand img {
  width: 46px;
  height: auto;
}

.admin-side-brand strong {
  display: block;
  color: var(--heading);
  font-size: 1.15rem;
}

.admin-side-brand em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text);
}

.admin-side-cap {
  margin: 0.85rem 0.4rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tagline);
}

.admin-side-nav {
  display: grid;
  gap: 0.28rem;
}

.admin-side-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--heading);
  font: inherit;
  text-align: start;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-side-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.admin-side-link span {
  flex: 1;
}

.admin-side-link b {
  min-width: 1.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 12px;
  background: rgba(238, 172, 196, 0.45);
  color: var(--heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.admin-side-link:hover,
.admin-side-link:focus-visible {
  background: rgba(238, 172, 196, 0.22);
}

.admin-side-link.is-active,
.admin-side-link[aria-current="page"],
.admin-side-link[aria-selected="true"] {
  background: var(--heading);
  color: var(--white);
}

.admin-side-link.is-active b,
.admin-side-link[aria-current="page"] b,
.admin-side-link[aria-selected="true"] b {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.admin-side-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.admin-side-foot p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.admin-side-store {
  color: var(--heading);
  font-size: 0.9rem;
}

.admin-side-foot .btn {
  width: 100%;
  min-height: 42px;
}

.admin-main {
  margin-inline-start: 16.5rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.admin-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(255, 248, 251, 0.88);
  border-bottom: 1px solid rgba(155, 166, 208, 0.22);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-top h1 {
  margin: 0;
  font-family: "Thmanyah Display", serif;
  color: var(--heading);
  font-weight: 400;
  font-size: 1.45rem;
}

.admin-top .admin-status {
  margin-inline-start: auto;
}

.admin-side-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(155, 166, 208, 0.4);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.admin-side-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  background: var(--heading);
}

.admin-content {
  padding: 1.3rem 1.4rem 2rem;
  flex: 1;
}

.admin-side-scrim {
  display: none;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid rgba(155, 166, 208, 0.2);
  box-shadow: 0 16px 40px rgba(155, 166, 208, 0.12);
  margin-bottom: 1.2rem;
  animation: card-soft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-card h2 {
  margin: 0 0 0.4rem;
  color: var(--heading);
  font-size: 1.15rem;
}

.admin-login-card label,
.admin-card label {
  display: grid;
  gap: 0.35rem;
  margin: 0.8rem 0;
  font-weight: 500;
}

.admin-login-card input,
.admin-card input,
.admin-card textarea,
.admin-card select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.45);
  background: var(--wash);
  color: var(--text);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.admin-toolbar {
  display: none;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.admin-card-head h2 {
  margin: 0;
}

.item-editor {
  width: min(72rem, calc(100vw - 2rem));
}

.item-preview {
  position: sticky;
  top: 0.4rem;
}

.item-editor-body {
  display: grid;
  grid-template-columns: 16.5rem minmax(0, 1fr);
  gap: 1.2rem 1.6rem;
  padding: 1.1rem 1.3rem 1.3rem;
}

.item-editor-body label {
  display: grid;
  gap: 0.35rem;
  margin: 0.7rem 0;
  font-weight: 500;
}

.item-editor-body input,
.item-editor-body textarea,
.item-editor-body select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.45);
  background: var(--wash);
  color: var(--text);
}

.file-drop {
  display: grid;
  gap: 0.25rem;
  margin: 0.7rem 0 1rem;
  padding: 1.05rem 0.95rem;
  min-height: 5.6rem;
  place-items: center;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(155, 166, 208, 0.7);
  background: var(--wash);
  color: var(--text);
  transition: border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.file-drop input[hidden] {
  display: none !important;
  font-size: 16px;
}

.file-drop:hover,
.file-drop.is-over {
  border-color: var(--pink);
  transform: translateY(-2px);
}

.file-drop-title {
  font-weight: 600;
  color: var(--heading);
}

.file-drop-hint,
.file-drop-name {
  font-size: 0.82rem;
}

.file-drop-name:empty {
  display: none;
}

.item-preview-card {
  background: var(--white);
  border: 1px solid rgba(155, 166, 208, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(155, 166, 208, 0.12);
}

.item-preview-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--wash);
}

.item-preview-media img,
.item-preview-media span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-preview-card h3 {
  margin: 0.7rem 0.85rem 0.15rem;
  font-size: 0.95rem;
  color: var(--heading);
}

.item-preview-card .price {
  margin: 0 0.85rem;
}

.item-preview-cat {
  margin: 0.2rem 0.85rem 0.85rem;
  color: var(--text);
  font-size: 0.85rem;
}

.item-thumb {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--wash);
}

.item-thumb img,
.item-thumb span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-table {
  min-width: 42rem;
}

.item-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.admin-list li {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(155, 166, 208, 0.25);
}

.admin-list button {
  margin-left: 0.4rem;
  margin-right: 0;
  font: inherit;
  background: transparent;
  border: 1px solid var(--heading);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  color: var(--heading);
}

.admin-status {
  min-height: 1.4em;
  color: var(--teal-deep);
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-tabs,
.admin-tab {
  display: none;
}

.admin-scrim[hidden],
.admin-pop[hidden] {
  display: none !important;
}

.admin-scrim {
  position: fixed;
  inset: 0;
  background: rgba(48, 58, 82, 0.42);
  z-index: var(--z-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.admin-scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

.admin-pop {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  width: min(64rem, calc(100vw - 2rem));
  max-height: 92dvh;
  height: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(48, 58, 82, 0.22);
  opacity: 0;
  transform: translate(-50%, -42%) scale(0.94);
  filter: blur(8px);
  pointer-events: none;
  overflow: auto;
  direction: rtl;
  text-align: start;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

.admin-pop.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: none;
  pointer-events: auto;
}

.admin-pop.item-editor {
  width: min(72rem, calc(100vw - 2rem));
}

.item-editor .admin-pop-head h2 {
  direction: rtl;
}

.admin-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(155, 166, 208, 0.22);
}

.admin-pop-head h2 {
  margin: 0;
  font-family: "Thmanyah Display", serif;
  font-weight: 400;
  color: var(--heading);
  direction: rtl;
  text-align: start;
}

.admin-pop-close {
  font: inherit;
  border: 1px solid var(--heading);
  background: transparent;
  color: var(--heading);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.95rem;
  cursor: pointer;
}

.admin-pop-body {
  padding: 1.1rem 1.3rem 1.3rem;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.6rem;
  direction: rtl;
  text-align: start;
}

.admin-pop-body .order-badge,
.admin-pop-body h3,
.admin-pop-body .order-lines,
.admin-pop-body .order-total,
.admin-pop-body .order-pop-actions {
  grid-column: 1 / -1;
}

.order-pop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.order-pop-actions .btn {
  width: 100%;
}

.btn-ok,
.btn-no {
  color: var(--white);
}

.btn-ok::before,
.btn-ok::after,
.btn-no::before,
.btn-no::after {
  display: none;
}

.btn-ok {
  background: #5c9a58;
  border-color: #5c9a58;
}

.btn-no {
  background: #c23b4a;
  border-color: #c23b4a;
}

.admin-ask[hidden] {
  display: none !important;
}

.admin-ask {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(48, 58, 82, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.admin-ask.is-on {
  opacity: 1;
  pointer-events: auto;
}

.admin-ask-card {
  width: min(22rem, calc(100vw - 2.2rem));
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.3rem 1.25rem;
  box-shadow: 0 22px 48px rgba(48, 58, 82, 0.22);
  text-align: center;
  color: var(--heading);
  transform: translateY(14px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-ask.is-on .admin-ask-card {
  transform: none;
}

.admin-ask-card p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.admin-ask-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.admin-ask-actions .btn {
  width: 100%;
}

html.admin-pop-open,
html.admin-pop-open body {
  overflow: hidden;
}

.account-card {
  max-width: 28rem;
}

@media (prefers-reduced-motion: reduce) {
  .order-tile,
  .admin-scrim,
  .admin-pop,
  .admin-ask,
  .admin-ask-card {
    transition: none;
  }

    .admin-pop,
  .admin-pop.is-on {
    transform: translate(-50%, -50%) scale(1);
    filter: none;
  }
}

.account-user {
  margin: 0 0 0.8rem;
}

.order-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.2rem, 1fr));
  gap: 0.8rem;
}

.order-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.9rem;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 52rem;
}

.order-table th,
.order-table td {
  padding: 0.75rem 0.7rem;
  text-align: start;
  border-bottom: 1px solid rgba(155, 166, 208, 0.22);
  vertical-align: middle;
}

.order-table th {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--wash);
}

.order-table tbody tr {
  cursor: pointer;
}

.order-table tbody tr:hover,
.order-table tbody tr:focus-visible {
  background: rgba(238, 172, 196, 0.16);
  outline: none;
}

.order-table .ltr-cell {
  direction: ltr;
  unicode-bidi: isolate;
}

.order-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1rem;
}

.order-pager p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.order-pager-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.order-pager-btn {
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(155, 166, 208, 0.4);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--heading);
  font: inherit;
  cursor: pointer;
}

.order-pager-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.order-pager-btn.is-on {
  background: var(--heading);
  border-color: var(--heading);
  color: var(--white);
}

.order-tile {
  min-height: 7.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 166, 208, 0.38);
  background: var(--wash);
  color: var(--heading);
  box-shadow: 0 10px 22px rgba(155, 166, 208, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  text-align: start;
  cursor: pointer;
  font: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.order-tile:hover,
.order-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(155, 166, 208, 0.2);
}

.order-tile-name,
.order-tile-meta {
  font-size: 0.92rem;
  color: var(--text);
}

.order-no {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--heading);
}

.order-tile .order-ref {
  font-size: 0.82rem;
  font-weight: 500;
}

.order-tile .order-badge {
  align-self: flex-end;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}

.order-ref,
.order-ref-inline {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--heading);
  margin: 0;
  font-size: 1.15rem;
}

.order-badge {
  border-radius: var(--radius-sm);
  background: rgba(238, 172, 196, 0.45);
  color: var(--heading);
  padding: 0.2rem 0.7rem;
  font-size: 0.85rem;
}

.order-badge.is-confirmed {
  background: rgba(92, 182, 190, 0.28);
}

.order-badge.is-refused {
  background: rgba(159, 18, 57, 0.12);
  color: var(--danger);
}

.order-row {
  display: grid;
  justify-items: start;
  gap: 0.15rem;
  margin: 0;
  text-align: start;
}

.order-row span {
  color: var(--text);
  font-size: 0.86rem;
}

.order-row.ltr-value strong {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.order-row.order-total {
  font-size: 1.05rem;
}

.admin-pop-body h3 {
  margin: 0.55rem 0 0.15rem;
  font-size: 1rem;
  color: var(--heading);
}

.order-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  text-align: start;
}

@media (max-width: 760px) {
  .admin-side {
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html[dir="rtl"] .admin-side {
    transform: translateX(105%);
  }

  .admin-app.is-side .admin-side,
  html[dir="rtl"] .admin-app.is-side .admin-side {
    transform: none;
  }

  .admin-main {
    margin-inline-start: 0;
  }

  .admin-side-toggle {
    display: inline-block;
  }

  .admin-side-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(48, 58, 82, 0.35);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .admin-side-scrim.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-top,
  .admin-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .item-editor-body,
  .product,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .product {
    gap: 1.4rem;
  }

  .product-copy h1 {
    font-size: 1.2rem;
  }

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

  .admin-pop,
  .admin-pop.item-editor,
  .admin-pop.is-on {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-height: 94dvh;
    border-radius: 16px 16px 0 0;
    transform: none;
    filter: none;
  }

  .admin-pop {
    transform: translateY(24%);
  }

  .admin-pop.is-on {
    transform: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .admin-pop::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 4px;
    margin: 0.55rem auto 0;
    border-radius: 99px;
    background: rgba(155, 166, 208, 0.55);
    flex-shrink: 0;
  }

  .order-pager-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .admin-pop-body,
  .item-editor-body {
    grid-template-columns: 1fr;
  }

  .order-pop-actions,
  .admin-ask-actions {
    grid-template-columns: 1fr;
  }

  .order-table-wrap {
    margin-inline: -0.15rem;
  }

  .order-table th,
  .order-table td {
    padding: 0.65rem 0.55rem;
    white-space: nowrap;
  }

  .admin-top h1 {
    font-size: 1.15rem;
  }

  .admin-top {
    padding-top: calc(0.75rem + env(safe-area-inset-top));
  }
}

.card-body {
  position: relative;
  z-index: 1;
  padding: 0.85rem 1rem 0.2rem;
  background: var(--white);
  text-align: start;
}

.card-body h3,
.card-body .price {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

.card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--heading);
}

.price {
  font-family: "Thmanyah Sans", sans-serif;
  font-weight: 500;
  color: var(--heading);
  margin: 0.25rem 0 0;
  font-size: 1rem;
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

.story {
  display: grid;
  gap: 1rem;
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
  font-family: "Thmanyah Text", "Thmanyah Sans", serif;
  font-size: 1.05rem;
}

.contact {
  text-align: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  min-width: 148px;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--heading);
  color: var(--heading);
  background: var(--white);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--d) var(--ease), box-shadow var(--d) var(--ease), color var(--d) var(--ease), background var(--d) var(--ease);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.social:focus-visible {
  color: var(--white);
  background: var(--heading);
}

.footer {
  border-top: 1px solid rgba(155, 166, 208, 0.25);
  padding: 1.6rem 1.25rem calc(1.6rem + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--tagline);
  font-size: 0.9rem;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  scroll-margin-top: 5.5rem;
}

.footer-brand,
.footer-lead {
  margin: 0;
}

.footer-lead {
  color: var(--heading);
  font-weight: 500;
}

.footer-lead a {
  color: inherit;
}

.faq-page {
  padding-top: 2.2rem;
  padding-bottom: 4rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 40rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(155, 166, 208, 0.45);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-weight: 500;
  text-align: start;
  transition: background 0.2s ease;
}

.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--heading);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.is-on .faq-q::after {
  content: "−";
}

.faq-item.is-on .faq-a {
  animation: faq-open 0.32s ease both;
}

.faq-a {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--text);
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .social {
  min-width: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(3rem) scale(0.94);
  filter: blur(12px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-delay="1"] { transition-delay: 0.1s; animation-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; animation-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; animation-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; animation-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; animation-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; animation-delay: 0.6s; }

.card[data-animate] {
  opacity: 0;
  transform: translateY(3.2rem) scale(0.86) rotate(-4deg);
  filter: blur(14px);
}

.card[data-animate].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  animation: card-arrive 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    color: var(--white);
    transform: translateY(-2px);
  }

  .btn-solid:hover {
    color: var(--white);
    background: #3d527d;
  }

  .btn-ok:hover {
    color: var(--white);
    background: #4d8549;
    border-color: #4d8549;
  }

  .btn-no:hover {
    color: var(--white);
    background: #a82f3c;
    border-color: #a82f3c;
  }

  .btn:hover::after {
    transform: none;
  }

  .card:hover {
    box-shadow:
      0 28px 52px rgba(155, 166, 208, 0.22),
      0 18px 36px rgba(238, 172, 196, 0.22),
      0 0 0 1px rgba(144, 204, 216, 0.28);
  }

  .card:hover .card-media::after {
    animation: shine 0.85s ease;
  }

  .card:hover .card-media img,
  .card:hover .card-media > span:not(.card-stock) {
    transform: scale(1.1);
  }

  .card:hover .card-body h3 {
    transform: translateY(-3px);
    color: var(--teal-deep);
  }

  .card:hover .card-body .price {
    transform: translateY(-2px);
  }

  .card:hover .btn-add {
    transform: translateY(-3px);
  }

  .social:hover {
    color: var(--white);
    background: var(--heading);
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 32px rgba(74, 98, 150, 0.2);
  }

  .shop-filter:hover {
    background: rgba(238, 172, 196, 0.18);
  }

  .faq-item:hover {
    border-color: rgba(74, 98, 150, 0.45);
  }

  .admin-card:hover {
    box-shadow: 0 22px 48px rgba(155, 166, 208, 0.18);
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .shop-filter:active,
  .option-pick:active,
  .admin-side-link:active,
  .faq-q:active,
  .nav-links a:active {
    transform: scale(0.97);
  }
}

@media (max-width: 760px) {
  .nav {
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
  }

  .nav-tools {
    left: 0.55rem;
  }

  .brand img {
    height: 40px;
  }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 3;
    padding: 10px;
  }

  .menu-btn span {
    width: 18px;
    margin: 0;
    transform-origin: center;
    transition: transform var(--d) var(--ease), opacity var(--d) var(--ease);
  }

  .nav.is-open .menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.is-open .menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .menu-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.35rem);
    transform: none;
    background: var(--white);
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 40px rgba(48, 58, 82, 0.16);
    z-index: var(--z-menu);
  }

  .nav.is-open .nav-links {
    display: flex;
    animation: menu-drop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
  }

  .nav-links a:active {
    background: var(--cream);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 1.6rem 1.1rem 2rem;
  }

  .hero-logo {
    width: min(190px, 58vw);
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7.2vw, 1.9rem);
    margin-bottom: 1.25rem;
  }

  .kicker {
    font-size: 0.88rem;
  }

  .hero .btn {
    min-width: 160px;
    width: min(100%, 240px);
  }

  .cart-drawer,
  html[dir="rtl"] .cart-drawer {
    top: auto;
    bottom: 0;
    inset-inline: 0;
    width: 100vw;
    height: min(88dvh, 100dvh);
    max-height: 88dvh;
    border-radius: 16px 16px 0 0;
    transform: translateY(16%);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .cart-drawer.is-on,
  html[dir="rtl"] .cart-drawer.is-on {
    transform: none;
  }

  .wrap {
    padding: 2.6rem 1.1rem;
    scroll-margin-top: 5rem;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

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

  .card {
    width: auto;
    min-height: 0;
    border-radius: 12px;
  }

  .card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .btn-add {
    width: calc(100% - 1.2rem);
    min-height: 44px;
    height: 44px;
    font-size: 0.8rem;
  }

  .card-stock {
    min-width: 7.6rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.72rem;
  }

  .shop-tools {
    margin-bottom: 1.4rem;
  }

  .shop-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .shop-filter {
    width: 100%;
    min-height: 44px;
    padding: 0.4rem 0.35rem;
    font-size: 0.82rem;
  }

  .product-price-row,
  .product-qty-row {
    flex-wrap: wrap;
  }

  .option-pick {
    min-height: 48px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  [data-animate] {
    filter: none;
    transform: translateY(1.2rem);
  }

  .card[data-animate] {
    filter: none;
    transform: translateY(1.3rem) scale(0.97);
  }

  .faq-page,
  .auth-page {
    padding-top: 1.4rem;
  }

  .similar-grid {
    grid-template-columns: repeat(auto-fill, minmax(8.8rem, 1fr));
    gap: 0.55rem;
  }

  .similar-grid .card,
  .similar-grid .card-media {
    width: 100%;
  }

  .similar-grid .btn-add {
    width: calc(100% - 0.9rem);
    min-height: 44px;
    height: 44px;
    font-size: 0.78rem;
  }

  .qty-btn {
    min-height: 44px;
    height: 44px;
  }

  .mini-line {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.55rem;
  }

  .mini-line .cart-thumb {
    width: 72px;
    height: 60px;
  }

  .mini-line .money {
    justify-self: end;
    font-size: 0.95rem;
  }

  .cart-drawer::before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 4px;
    margin: 0.6rem auto 0;
    border-radius: 99px;
    background: rgba(155, 166, 208, 0.55);
    flex-shrink: 0;
  }

  .socials {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .socials li {
    width: min(100%, 22rem);
  }

  .social {
    width: 100%;
    min-width: 0;
  }

  .footer {
    padding: 1.4rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom));
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .hero-media::after,
  .hero-logo,
  .hero-logo.is-in,
  .orb,
  .spark,
  .btn.is-in,
  .btn::before,
  .card-media > span:not(.card-stock),
  .card-media::after,
  .card-media::before,
  .card-stock,
  .product-stock.is-out,
  [data-animate],
  .btn::after,
  .card,
  .social,
  .nav.is-open .nav-links,
  .cart-scrim,
  .cart-drawer,
  .cart-drawer-line,
  .cart-toast,
  .admin-login-card,
  .admin-card,
  .auth-card,
  .order-table tbody tr,
  .faq-item.is-on .faq-a {
    animation: none !important;
    transition: none !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes ken {
  from { transform: scale(1.08) translate3d(-2%, 0, 0); }
  to { transform: scale(1.2) translate3d(3%, 2%, 0); }
}

@keyframes wash-shift {
  from { filter: saturate(1); }
  to { filter: saturate(1.18) hue-rotate(8deg); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50% { transform: translateY(-16px) rotate(2deg) scale(1.05); }
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-12%, 10%, 0) scale(1.18); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14%, -12%, 0) scale(1.12); }
}

@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-8%, 16%, 0) scale(1.2); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes shimmer {
  0% { transform: translateX(180%) skewX(-18deg); }
  100% { transform: translateX(-280%) skewX(-18deg); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(74, 98, 150, 0.32); }
  70% { box-shadow: 0 0 0 18px rgba(74, 98, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 98, 150, 0); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shine {
  from { transform: translateX(120%); }
  to { transform: translateX(-120%); }
}

@keyframes stock-stamp {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-28deg) scale(1.55);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-12deg) scale(1);
  }
}

@keyframes stock-glow {
  0%,
  100% {
    box-shadow: 0 10px 22px rgba(194, 59, 74, 0.32);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 14px 34px rgba(194, 59, 74, 0.62);
    filter: brightness(1.12);
  }
}

@keyframes stock-wash {
  0%,
  100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@keyframes card-arrive {
  0% {
    opacity: 0;
    transform: translateY(3.2rem) scale(0.86) rotate(-4deg);
    filter: blur(14px);
  }
  58% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-0.65rem) scale(1.045) rotate(1.6deg);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-soft {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
