:root {
  --pink: #ffc2d9;
  --blue: #96cbfc;
  --gold: #f6d35b;
  --gold-ink: #a67c00;
  --blue-ink: #0d4c86;
  --cream: #fff4f8;
  --sand: #ffc2d9;
  --paper: #f3f8ff;
  --white: #ffffff;
  --terracotta: var(--blue);
  --terracotta-deep: var(--blue-ink);
  --terracotta-ink: var(--blue-ink);
  --marigold: var(--gold);
  --marigold-soft: #fff1c2;
  --ink: #1a2740;
  --muted: #4c607a;
  --line: rgba(26, 39, 64, 0.12);
  --shadow: 0 18px 46px rgba(30, 90, 160, 0.12);
  --header: 5.5rem;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 0% -8%, rgba(255, 194, 217, 0.95), transparent 62%),
    radial-gradient(640px 360px at 100% 0%, rgba(150, 203, 252, 0.7), transparent 58%),
    radial-gradient(380px 240px at 72% 12%, rgba(246, 211, 91, 0.5), transparent 70%),
    var(--cream);
  line-height: 1.5;
  font-size: 1.0625rem;
}

img,
svg {
  max-width: 100%;
}

:focus {
  outline: none;
}

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

::selection {
  background: var(--marigold-soft);
  color: var(--ink);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  text-wrap: balance;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: var(--terracotta-ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

[id] {
  scroll-margin-top: 6.25rem;
}

#top {
  scroll-margin-top: 0;
}

.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;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

h2.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}

.btn--primary {
  background: var(--blue);
  color: var(--ink);
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(150, 203, 252, 0.45);
}

.btn--primary:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-color: var(--blue);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--terracotta-deep);
}

.btn--light {
  background: #fff;
  color: var(--blue-ink);
  border-color: #fff;
}

.btn--light:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.pay-link {
  margin-top: 0.85rem;
}

.pay-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pay-link__url {
  word-break: break-all;
}

#checkout-send {
  margin-top: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 247, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e2b015 0%, #fff6c2 28%, #f6d35b 52%, #fffbe8 68%, #e8b31a 100%);
  pointer-events: none;
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.logo__mark {
  width: 62px;
  height: 62px;
  object-fit: contain;
  display: block;
  flex: none;
}

.logo__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  flex: none;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav a:hover {
  color: var(--terracotta-deep);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 39, 64, 0.16);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-toggle__bars {
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.hero {
  padding: 2.25rem 0 2.75rem;
  background: var(--pink);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.7vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.h1-kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.42em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--terracotta-deep);
}

.h1-price {
  display: block;
  margin-top: 0.2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta-deep);
  background-image: linear-gradient(90deg, #e2b015 0%, #fff6c2 46%, #f6d35b 100%);
  background-size: 100% 0.22em;
  background-repeat: no-repeat;
  background-position: 0 88%;
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -10px;
  top: -28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 91, 0.72), rgba(246, 211, 91, 0) 70%);
  z-index: 0;
}

.receipt {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  padding: 1.3rem 1.25rem 1.15rem;
  border: 1px solid rgba(26, 39, 64, 0.06);
  box-shadow: inset 6px 0 0 var(--gold), var(--shadow);
}

.stamp {
  display: inline-block;
  margin: 0 0 0.75rem;
  border: 2px solid var(--gold);
  color: var(--gold-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  transform: rotate(-2deg);
}

.receipt__brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.receipt__tag {
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
}

.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px dashed rgba(26, 39, 64, 0.2);
  font-weight: 650;
}

.receipt__row span:last-child {
  color: var(--terracotta-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.receipt__row--delivery {
  font-size: 1.05rem;
}

.receipt__note {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.banner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    var(--blue);
  color: var(--ink);
}

.facts {
  list-style: none;
  margin: 0;
  padding: 1.2rem 0;
  display: grid;
  gap: 1rem;
}

.facts li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.fact__emoji {
  font-size: 1.35rem;
  line-height: 1.35;
}

.facts p {
  margin: 0;
  line-height: 1.45;
}

.facts strong {
  display: block;
  font-size: 0.98rem;
}

.banner a {
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: 3.5rem 0;
}

.section--sand {
  background: var(--sand);
}

.section--paper {
  background: var(--paper);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

.section__head h1,
.section__head h2 {
  margin-bottom: 0.65rem;
}

.section__head h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.back-link {
  display: inline-block;
  margin: 0 0 1.1rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.catalog-single .cat-group {
  margin-top: 0;
}

.catalog-single .cat-group .cats__title {
  display: none;
}

.price-line {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
}

.price-line strong {
  color: var(--terracotta-deep);
}

.cats__title {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
}

.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.categories a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 0 0 0.9rem;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(26, 39, 64, 0.08);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(30, 90, 160, 0.08);
}

.cat__cover {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  height: 158px;
  min-height: 0;
  margin-bottom: 0.45rem;
  padding: 0.45rem;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(26, 39, 64, 0.06);
}

.cat__cover img {
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.categories a:hover,
.categories a.is-current {
  border-color: var(--gold);
}

.cat__name {
  padding-inline: 0.9rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cat__price {
  margin-top: 0.2rem;
  padding-inline: 0.9rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: var(--terracotta-deep);
}

.cat__order {
  margin-top: 0.35rem;
  padding-inline: 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}

.cat-group {
  margin-top: 2.4rem;
}

.cat-group[hidden] {
  display: none !important;
}

.cat-group .cats__title {
  margin-bottom: 0.9rem;
}

.cat-empty {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(26, 39, 64, 0.08);
  box-shadow: 0 14px 34px rgba(30, 90, 160, 0.08);
}

.card__art {
  height: 210px;
  display: grid;
  place-items: center;
}

.card__art svg {
  width: 210px;
  height: auto;
}

.card--nila .card__art {
  background: radial-gradient(circle at 50% 58%, #96cbfc, #ffc2d9 72%);
}

.card--shea .card__art {
  background: radial-gradient(circle at 50% 58%, #f6d35b, #ffc2d9 72%);
}

.card--soap .card__art {
  background: radial-gradient(circle at 50% 60%, #ffc2d9, #f6d35b 72%);
}

.card--photo .card__art {
  height: 280px;
  padding: 0.85rem;
  overflow: hidden;
  background: #fff;
}

.card--photo .card__art img {
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1.15rem 1.15rem 1.25rem;
}

.card__label {
  margin: 0;
  min-height: 2.7em;
  color: var(--muted);
}

.card__price {
  margin: 0.15rem 0 0;
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1;
  color: var(--terracotta-deep);
  font-weight: 600;
}

.card__price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card__fee {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.card .btn {
  margin-top: auto;
}

.header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.cart-link:hover {
  background: var(--marigold-soft);
}

.cart-link__count {
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.checkout {
  display: grid;
  gap: 1rem;
}

.cart-lines {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 0.85rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(26, 39, 64, 0.22);
}

.cart-line__name,
.cart-line__meta {
  margin: 0;
}

.cart-line__name {
  font-weight: 700;
}

.cart-line__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-line__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-line__remove,
.cart-clear {
  border: 0;
  background: transparent;
  color: var(--blue-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.45rem 0.2rem;
}

.cart-clear {
  margin-top: 0.35rem;
  padding-left: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  font-weight: 650;
}

.field__optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#checkout-form .btn {
  margin-top: 0.85rem;
}

.order-intro {
  max-width: 44rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem 1.15rem 1.2rem;
}

.steps__num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold-ink);
  line-height: 1;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
}

.order-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem 1.15rem 1.25rem;
}

.panel__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.panel h3 {
  margin-bottom: 0.35rem;
}

.panel > p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.estimator__qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 1.6rem;
  text-align: center;
  font-weight: 700;
}

.estimator__math {
  margin: 0;
  font-weight: 700;
}

.estimator__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.45rem 0;
  font-weight: 650;
}

.estimator__line--grand {
  margin-top: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(26, 39, 64, 0.22);
  align-items: baseline;
}

.estimator__line--grand strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  line-height: 1;
}

.estimator .btn {
  margin-top: 0.9rem;
}

.hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.chat__bubble p {
  margin: 0 0 0.55rem;
}

.chat__bubble p:last-child {
  margin-bottom: 0;
}

.about-card {
  max-width: 50rem;
  background: var(--paper);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid rgba(26, 39, 64, 0.06);
  box-shadow: var(--shadow);
}

.about__lead {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.28rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.about__body,
.about__close {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.about__price {
  margin: 1.25rem 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about__price strong {
  color: var(--terracotta-deep);
  font-weight: 700;
}

.closer {
  background: var(--pink);
  color: var(--ink);
}

.closer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.4rem 0;
}

.closer h2 {
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.closer p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink);
}

.footer {
  background: var(--ink);
  color: #f4f7fb;
  padding: 2.8rem 0 1.3rem;
}

.footer a {
  color: var(--pink);
  font-weight: 700;
}

.footer h2 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
}

.footer__logo {
  display: block;
  width: min(220px, 100%);
  height: auto;
  margin: 0 0 0.9rem;
  padding: 0.45rem 0.55rem 0.2rem;
  background: #fff;
  border-radius: 18px;
}

.footer p {
  margin: 0 0 0.45rem;
}

.notice {
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pink);
  font-weight: 700;
}

.footer__base {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__base p {
  margin: 0;
  color: rgba(244, 247, 251, 0.8);
  font-size: 0.95rem;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.to-top[hidden] {
  display: none;
}

.to-top:hover {
  background: var(--gold);
}

.to-top__arrow {
  width: 12px;
  height: 12px;
  border-top: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    width: auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1rem 0.75rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(26, 39, 64, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
}

@media (max-width: 720px) {
  [id] {
    scroll-margin-top: 10.5rem;
  }

  .header__inner {
    flex-wrap: wrap;
    padding-bottom: 0.7rem;
  }

  .header__actions {
    order: 4;
    flex: 1 1 100%;
  }

  .header__actions .cart-link {
    flex: 1;
  }
}

@media (max-width: 430px) {
  [id] {
    scroll-margin-top: 14rem;
  }

  .header__inner {
    flex-wrap: wrap;
    padding-bottom: 0.7rem;
  }

  .logo__mark {
    width: 52px;
    height: 52px;
  }

  .logo__name {
    white-space: normal;
    max-width: none;
  }

  .header__actions {
    order: 4;
  }

  .header__actions .cart-link {
    flex: 1;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (min-width: 800px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 1.45rem 0;
  }

  .facts li + li {
    border-left: 1px solid rgba(26, 39, 64, 0.16);
    padding-left: 1.35rem;
    margin-left: 0.4rem;
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr;
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(1120px, calc(100% - 3rem));
  }

  .hero {
    padding: 4rem 0 4.25rem;
  }

  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
  }

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

  .categories {
    grid-template-columns: repeat(4, 1fr);
  }

  .order-grid,
  .checkout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .section {
    padding: 4.5rem 0;
  }
}

.h1-line {
  display: block;
}

.lang {
  display: inline-flex;
  align-items: center;
}

.lang__select {
  min-height: 48px;
  max-width: 9.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  padding: 0 0.65rem;
}

html[lang="ar"] {
  --font-sans: "Noto Sans Arabic", "Segoe UI", sans-serif;
  --font-serif: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
}

html[lang="ur"] {
  --font-sans: "Noto Nastaliq Urdu", "Noto Sans Arabic", serif;
  --font-serif: "Noto Nastaliq Urdu", "Noto Sans Arabic", serif;
}

html[lang="hi"] {
  --font-sans: "Noto Sans Devanagari", "Segoe UI", sans-serif;
  --font-serif: "Noto Sans Devanagari", "Segoe UI", sans-serif;
}

html[lang="am"] {
  --font-sans: "Noto Sans Ethiopic", "Segoe UI", sans-serif;
  --font-serif: "Noto Sans Ethiopic", "Segoe UI", sans-serif;
}

html[lang="ar"] .hero h1,
html[lang="ur"] .hero h1,
html[lang="hi"] .hero h1,
html[lang="am"] .hero h1 {
  letter-spacing: 0;
  line-height: 1.35;
}

html[lang="ur"] p,
html[lang="ur"] .card__label,
html[lang="ur"] .cat__name,
html[lang="ur"] li {
  line-height: 1.9;
}

html[lang="ur"] .btn,
html[lang="ur"] .lang__select,
html[lang="ur"] .nav a,
html[lang="ur"] .nav-toggle__label {
  line-height: 1.7;
}

html[dir="rtl"] .logo {
  margin-right: 0;
  margin-left: 0;
  margin-inline-end: auto;
}

html[dir="rtl"] .hero__visual::before {
  right: auto;
  left: -10px;
}

html[dir="rtl"] .receipt {
  box-shadow: inset -6px 0 0 var(--gold), var(--shadow);
}

html[dir="rtl"] .cart-clear {
  padding-left: 0.2rem;
  padding-inline-start: 0;
}

html[dir="rtl"] .cart-line__meta {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: end;
}

html[dir="rtl"] .to-top {
  right: auto;
  inset-inline-end: 1rem;
}

@media (min-width: 800px) {
  html[dir="rtl"] .facts li + li {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    border-inline-start: 1px solid rgba(26, 39, 64, 0.16);
    padding-inline-start: 1.35rem;
    margin-inline-start: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
