/* ==========================================================================
   Clay by Jana: the shop
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--bark);
  font: 300 var(--t-base)/1.65 var(--font-body);
  /* a faint paper grain, like the inside of a kraft box */
  background-image:
    radial-gradient(circle at 20% 30%, #ffffff40 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, #8a674414 0 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
  min-height: 100vh;
  overflow-x: clip;
}
:root[lang="ar"] body { font-weight: 400; line-height: 1.85; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 var(--s4); letter-spacing: 0.005em; }
h1 { font-size: var(--t-xl); }
h2 { font-size: var(--t-lg); }
h3 { font-size: var(--t-md); }
p { margin: 0 0 var(--s4); }

:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 8px; top: 8px; transform: translateY(-200%); background: var(--bark); color: var(--unbleached); padding: 8px 14px; z-index: 50; }
.skip-link:focus { transform: none; }

.muted { color: var(--bark-soft); }
.empty { color: var(--bark-soft); padding: var(--s6) 0; }
.loading { padding: var(--s8) 0; text-align: center; color: var(--bark-soft); }

.page { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) var(--s8); }
.narrow { max-width: 620px; margin: 0 auto; padding: var(--s7) 0; }

/* ---- buttons and links -------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 var(--s5);
  background: var(--sage-deep); color: #fff;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: var(--t-sm); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #57664C; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.buy__add[disabled] { cursor: not-allowed; background: var(--sand); color: var(--bark-soft); opacity: 1; }
.card__sold { color: var(--bark-soft); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.card__sold:hover { background: transparent; }
.btn--wide { width: 100%; }
.btn--light { background: var(--unbleached); color: var(--bark); }
.btn--light:hover { background: #fff; }
.btn--quiet { background: transparent; color: var(--sage-deep); box-shadow: inset 0 0 0 1px var(--sage); }
.btn--quiet:hover { background: var(--sage-mist); }
.btn--pre { background: var(--kraft-deep); }
.btn--quiet-pre { color: var(--kraft-deep); box-shadow: inset 0 0 0 1px var(--kraft); }
.btn--quiet-pre:hover { background: #EAD8C0; }
.btn--pre:hover { background: #75573a; }
.btn--small { min-height: 34px; padding: 0 var(--s4); }

.text-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--sage-deep); font-weight: 600; font-size: var(--t-sm);
  text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px;
}
.text-link.danger { color: var(--danger); text-decoration-color: currentColor; }
.back { display: inline-block; margin-bottom: var(--s5); }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--bark);
  position: relative; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---- header ------------------------------------------------------------- */

.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--linen) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-head__inner { max-width: var(--shell); margin: 0 auto; padding: var(--s2) var(--gutter); display: flex; align-items: center; gap: var(--s5); }
.site-head__menu { display: none; }
.site-nav { display: flex; gap: var(--s5); margin-inline-start: auto; }
.site-nav a { text-decoration: none; font-size: var(--t-sm); padding: 6px 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--kraft); }
.site-head__tools { display: flex; align-items: center; gap: var(--s1); }
.lang-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; font-size: var(--t-sm); margin-inline-end: var(--s2); }
.lang-btn:hover { border-color: var(--kraft); }
.cart-btn__count {
  position: absolute; top: 2px; inset-inline-end: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--sage-deep); color: #fff; font: 600 11px/18px var(--font-body); text-align: center;
}

.wordmark { display: inline-block; line-height: 0; flex: none; }
.wordmark img { display: block; height: 112px; width: auto; }
.wordmark--light img { height: 160px; }

.drawer {
  position: fixed; inset: 0; z-index: 30; background: var(--unbleached);
  padding: var(--s7) var(--gutter); display: flex; flex-direction: column; gap: var(--s6);
  animation: drawer-in .25s var(--ease);
}
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } }
.drawer__close { position: absolute; top: var(--s3); inset-inline-end: var(--gutter); }
.drawer__nav { display: flex; flex-direction: column; gap: var(--s4); }
.drawer__nav a { font-family: var(--font-display); font-size: var(--t-lg); text-decoration: none; }
.drawer__ig { display: inline-flex; align-items: center; gap: var(--s2); color: var(--sage-deep); text-decoration: none; font-weight: 600; }
.drawer__ig svg { width: 22px; }

@media (max-width: 760px) {
  .site-head__inner { gap: var(--s2); }
  .site-head__menu { display: inline-grid; margin-inline-start: -10px; }
  .site-nav { display: none; }
  .site-head__tools { margin-inline-start: auto; }
  .site-head__tools .ig { display: none; }
  .site-head .wordmark img { height: 80px; }
}

/* Jana's lotus sticker, next to each page title */
.titled { display: flex; align-items: center; gap: .35em; flex-wrap: wrap; }
.sticker { display: inline-block; width: .72em; height: auto; color: var(--bark); flex: none; transform: rotate(-8deg) translateY(-.04em); }
[dir="rtl"] .sticker { transform: rotate(8deg) translateY(-.04em); }

/* ---- the pebble frame and the kraft tag ---------------------------------- */

.pebble {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand);
  border-radius: 38% 42% 30% 34% / 26% 28% 22% 24%;
}
.pebble img, .pebble svg { width: 100%; height: 100%; object-fit: cover; display: block; }

.tag {
  position: relative; display: inline-flex; align-items: baseline; gap: var(--s2);
  padding: 5px 14px 5px 26px;
  background: #C8A37A;
  background-image: repeating-linear-gradient(100deg, #ffffff10 0 2px, transparent 2px 5px), linear-gradient(#C8A37A, #BE9870);
  color: #3B2C1F; border-radius: 3px 10px 10px 3px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  font-weight: 600;
}
.tag::before { /* the string hole */
  content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--linen); box-shadow: inset 0 0 0 1px #8a674466;
}
[dir="rtl"] .tag { padding: 5px 26px 5px 14px; border-radius: 10px 3px 3px 10px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
[dir="rtl"] .tag::before { left: auto; right: 12px; }
.tag .price { font-size: var(--t-sm); }
.tag__pre { font-size: 0.75rem; font-weight: 600; color: #fff; background: var(--sage-deep); border-radius: 999px; padding: 1px 8px; }
.price-was { font-size: 0.75rem; opacity: .7; }

.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--sand); }
.badge--pre { background: var(--sage-mist); color: #3f4c35; }

/* ---- cards -------------------------------------------------------------- */

.card { display: flex; flex-direction: column; gap: var(--s3); }
.card__link { text-decoration: none; display: flex; flex-direction: column; gap: var(--s3); }
.card__shot { transition: transform .5s var(--ease); }
.card__link:hover .card__shot { transform: rotate(-1.2deg) scale(1.01); }
.card__name { font-size: var(--t-md); margin: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s7) var(--s6); }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); } .card__name { font-size: 1.05rem; } .card__foot .btn { width: 100%; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.section-head h2 { margin: 0; }

/* ---- home --------------------------------------------------------------- */

.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--s7);
  padding: var(--s8) 0 var(--s8);
}
.hero__kicker { display: inline-flex; align-items: center; gap: var(--s2); color: var(--sage-deep); font-weight: 600; font-size: var(--t-sm); }
.hero__kicker svg { width: 20px; height: 20px; }
.hero h1 { font-size: var(--t-xxl); max-width: 13ch; margin-bottom: var(--s5); }
.hero p { max-width: 42ch; color: var(--bark-soft); font-size: 1.125rem; }
.hero .hero__wish { font-family: var(--font-display); color: var(--bark); font-size: var(--t-md); margin-top: calc(-1 * var(--s2)); }
.hero .btn { margin-top: var(--s3); }
.eco { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: var(--t-sm); color: var(--bark-soft); }
.eco li { display: inline-flex; align-items: center; gap: 6px; }
.eco svg { width: 18px; height: 18px; color: var(--sage-deep); flex: none; }
.hero__art { position: relative; }
.hero__art::before { /* a sage blot behind the frame, the one big use of sage */
  content: ""; position: absolute; inset: 10% -3% -4% 8%;
  background: var(--bark); border-radius: var(--pebble-a);
}
.hero__frame { position: relative; aspect-ratio: 1; border-radius: var(--pebble-b); overflow: hidden; background: var(--sand); }
.hero__frame img, .hero__frame svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: var(--s6) 0; gap: var(--s6); }
  .hero__art { order: -1; max-width: 420px; margin: 0 auto; width: 88%; }
}

.popular { padding: var(--s6) 0 var(--s8); }
/* Three pieces standing level on one shelf. */
.shelf {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7);
  align-items: stretch; padding-bottom: var(--s5);
  border-bottom: 2px solid var(--kraft);
  box-shadow: 0 10px 0 -6px #8a674422;
}
.shelf .card__foot { margin-top: auto; }
@media (max-width: 760px) {
  .shelf { grid-template-columns: 1fr; border-bottom: 0; box-shadow: none; gap: var(--s7); }
  .shelf .card { border-bottom: 2px solid var(--kraft); padding-bottom: var(--s5); }
  .shelf .card .pebble { aspect-ratio: 1; }
}

/* custom orders: kraft paper, so it does not repeat the sage band below */
.custom {
  display: grid; justify-items: center; text-align: center;
  margin: 0 0 var(--s8); padding: var(--s7);
  background: #E7D6BF; border-radius: 36px;
  box-shadow: inset 0 0 0 1px #b08a6233;
}
.custom h2 { font-size: var(--t-xl); margin: var(--s4) 0 var(--s2); }
.custom__lead { font-size: 1.25rem; font-weight: 600; color: var(--bark); margin-bottom: var(--s2); }
.custom__text p { color: #5a4636; max-width: 52ch; margin-inline: auto; }
.custom__status { display: inline-flex; align-items: center; gap: var(--s3); font-size: 1.125rem; font-weight: 600; color: var(--sage-deep); margin: 0; padding: var(--s2) var(--s5); background: #ffffff8c; border-radius: 999px; }
.custom__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 4px #66765a33; }
.custom--closed .custom__status { color: var(--kraft-deep); }
.custom--closed .custom__dot { background: var(--kraft); box-shadow: 0 0 0 4px #b08a6233; }
.custom__ctas { display: flex; justify-content: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }
.custom__ctas .custom__cta { margin-top: 0; min-width: 9.5rem; justify-content: center; }
.custom__cta { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.custom__cta svg { width: 20px; height: 20px; }
@media (max-width: 820px) { .custom { padding: var(--s6) var(--s5); border-radius: 28px; } }

.maker { margin: 0 calc(var(--gutter) * -1); padding: var(--s8) var(--gutter); background: var(--sage-grey); border-radius: 48px; }
.maker__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.maker p { font-size: 1.125rem; color: var(--bark); }
.maker__links { display: flex; justify-content: center; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s5); }
.maker__ig, .done__ig, .foot-ig { display: inline-flex; align-items: center; gap: var(--s2); color: var(--sage-deep); font-weight: 600; text-decoration: none; }
.maker__ig svg, .done__ig svg, .foot-ig svg { width: 22px; height: 22px; }
.maker .maker__ig { color: var(--bark); }
@media (max-width: 760px) { .maker { border-radius: 28px; padding: var(--s8) var(--gutter); } }

/* ---- shop --------------------------------------------------------------- */

.shop { padding-top: var(--s7); }
.shop__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.shop__head h1 { margin: 0; }
.search { display: flex; align-items: center; gap: var(--s2); border-bottom: 1px solid var(--kraft); padding: 4px 2px; min-width: min(280px, 100%); }
.search svg { width: 18px; color: var(--kraft-deep); flex: none; }
.search input { border: 0; background: none; outline: none; width: 100%; padding: 6px 0; }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s7); }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 16px; cursor: pointer; font-size: var(--t-sm); }
.chip:hover { border-color: var(--kraft); }
.chip[aria-pressed="true"] { background: var(--bark); color: var(--unbleached); border-color: var(--bark); }

.sets { padding: var(--s8) 0 0; }
.sets .section-head p { margin: 0; }
.sets__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: var(--s6); }
.set { display: grid; grid-template-columns: 180px 1fr; gap: var(--s5); padding: var(--s5); background: var(--unbleached); border-radius: 24px; }
.set__pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.set__pieces .pebble:first-child:nth-last-child(1) { grid-column: span 2; }
.set h3 { margin-bottom: var(--s2); }
.set p { font-size: var(--t-sm); color: var(--bark-soft); margin-bottom: var(--s2); }
.set__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }
@media (max-width: 420px) { .set { grid-template-columns: 1fr; } .set__pieces { grid-template-columns: repeat(4, 1fr); } }

/* ---- product page ------------------------------------------------------- */

.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); padding: var(--s7) 0; align-items: start; }
.product__main { border-radius: var(--pebble-b); aspect-ratio: 4 / 5; }
.product__thumbs { display: flex; gap: var(--s3); margin-top: var(--s4); flex-wrap: wrap; }
.product__thumb { width: 64px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 40%; overflow: hidden; opacity: .6; aspect-ratio: 4/5; }
.product__thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--sage-deep); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__info { position: sticky; top: 96px; }
.product__cat { color: var(--kraft-deep); font-size: var(--t-sm); margin-bottom: var(--s2); }
.product__price { font-size: var(--t-lg); font-family: var(--font-display); margin-bottom: var(--s2); }
.stock { font-size: var(--t-sm); color: var(--sage-deep); font-weight: 600; }
.stock--low { color: var(--kraft-deep); }
.stock--out { color: var(--bark); font-weight: 400; background: var(--sage); padding: var(--s3) var(--s4); border-radius: 14px; }
.product__material { font-size: var(--t-sm); color: var(--bark-soft); margin: var(--s3) 0 var(--s5); }
.product__material b { color: var(--bark); font-weight: 600; }
.product__desc { color: var(--bark-soft); max-width: 60ch; }
.product__points { padding-inline-start: 1.1em; color: var(--bark-soft); }
.product__points li::marker { color: var(--sage); }
.opt { border: 0; padding: 0; margin: var(--s5) 0; }
.opt legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: var(--s2); }
.opt__values { display: flex; gap: var(--s2); flex-wrap: wrap; }
.opt__value { display: inline-flex; align-items: center; gap: var(--s2); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: var(--t-sm); }
.opt__value--out { color: var(--bark-soft); border-style: dashed; }
.opt__value--out small { font-size: .78em; opacity: .85; }
.opt__value[aria-pressed="true"] { border-color: var(--bark); background: var(--unbleached); box-shadow: inset 0 0 0 1px var(--bark); }
.opt__swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px #0002; }
.buy { display: flex; gap: var(--s3); margin-top: var(--s6); }
.buy__add { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 42px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty button[disabled] { opacity: .3; cursor: default; }
.qty output { min-width: 24px; text-align: center; font-weight: 600; }
.qty--small button { width: 34px; height: 34px; }
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s5); }
  .product__info { position: static; }
}

/* ---- cart and checkout -------------------------------------------------- */

.cart, .checkout { padding: var(--s7) 0; }
.cart { max-width: 760px; margin: 0 auto; }
.lines { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: var(--s4); align-items: start; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.line__img .pebble, .line__img > svg { border-radius: 40%; }
.line__name { font-family: var(--font-display); font-size: var(--t-md); text-decoration: none; }
.line__detail { font-size: var(--t-sm); color: var(--bark-soft); margin: 2px 0 var(--s2); }
.line__controls { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s3); }
.line__total { font-weight: 600; }
.lines--compact .line { grid-template-columns: 56px minmax(0, 1fr) auto; padding: var(--s3) 0; }
.lines--compact .line__controls { display: none; }
.lines--compact .line__name { font-size: 1rem; }
@media (max-width: 420px) {
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s3); }
  .line__controls { flex-wrap: wrap; gap: var(--s2) var(--s4); }
}
.summary { padding: var(--s4) 0 var(--s5); }
.summary__row { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: var(--t-lg); }
.summary__row--small { font-family: var(--font-body); font-size: var(--t-base); color: var(--bark-soft); margin-bottom: var(--s2); }
.summary__row--thanks { color: var(--kraft-deep); }
.summary__row--thanks > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.summary__row--thanks .sticker { width: 16px; color: var(--kraft-deep); transform: rotate(-8deg); }
.summary__note { margin-top: var(--s3); font-size: var(--t-sm); background: var(--sage); color: var(--bark); padding: var(--s3) var(--s4); border-radius: 14px; }
.cart-empty { text-align: center; }

.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: start; }
.checkout__summary { background: var(--unbleached); padding: var(--s5) var(--s6); border-radius: 28px; position: sticky; top: 96px; }
.checkout__summary h2 { font-size: var(--t-md); }
@media (max-width: 820px) { .checkout { grid-template-columns: 1fr; gap: var(--s6); } .checkout__summary { position: static; order: -1; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s5); }
.field > span { font-size: var(--t-sm); font-weight: 600; }
.field small { color: var(--bark-soft); font-size: 0.8rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--unbleached);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: transparent; }
.field--check { flex-direction: row; align-items: center; gap: var(--s3); }
.field--check input { width: 18px; height: 18px; accent-color: var(--sage-deep); }
.pay { border: 0; padding: 0; margin: 0 0 var(--s5); }
.pay legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: var(--s2); }
.pay__option { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border: 1px solid var(--sage-deep); border-radius: 16px; background: var(--unbleached); cursor: pointer; }
.pay__option input { accent-color: var(--sage-deep); margin-top: 5px; }
.pay__option b { display: block; font-weight: 600; }
.pay__option small { color: var(--bark-soft); }
.form-error { color: var(--danger); font-weight: 600; }

.done { text-align: center; }
.done__mark { width: 72px; height: 72px; margin: 0 auto var(--s5); display: grid; place-items: center; background: var(--sage-mist); color: var(--sage-deep); border-radius: var(--pebble-c); }
.done__mark svg { width: 34px; }
.done .btn { margin: var(--s4) var(--s3) 0; }

/* ---- about and contact -------------------------------------------------- */

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s8); align-items: center; padding: var(--s8) 0; }
.about__art { display: grid; place-items: center; position: relative; }
.about__photo { position: relative; width: min(100%, 460px); }
.about__photo::before { content: ""; position: absolute; inset: 6% -4% -4% 6%; background: var(--bark); border-radius: var(--pebble-b); }
[dir="rtl"] .about__photo::before { inset: 6% 6% -4% -4%; }
.about__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pebble-b); }
.about__text p { max-width: 58ch; color: var(--bark-soft); }
.about__ig { margin-top: var(--s3); }
.about__ig svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s5); } .about__photo { width: min(88%, 360px); } }

.contact__ways { display: grid; gap: var(--s3); margin-top: var(--s5); }
.contact__way { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); background: var(--unbleached); border-radius: 18px; text-decoration: none; }
.contact__way:hover { background: #fff; }
.contact__way svg { width: 24px; height: 24px; color: var(--sage-deep); flex: none; }

/* ---- footer ------------------------------------------------------------- */

.site-foot { background: var(--bark); color: #EDE3D3; margin-top: var(--s7); }
.site-foot__news { max-width: var(--shell); margin: 0 auto; padding: var(--s7) var(--gutter) 0; }
.news { display: grid; grid-template-columns: 1fr minmax(0, 1.1fr); gap: var(--s3) var(--s7); align-items: center; padding-bottom: var(--s7); border-bottom: 1px solid #ffffff1a; }
.news h2 { font-size: var(--t-lg); color: #F6EFE3; margin: 0 0 var(--s1); }
.news__text p { margin: 0; font-size: var(--t-sm); opacity: .75; }
.news__field { display: flex; gap: var(--s2); }
.news__field input[type="email"] { flex: 1; min-width: 0; font: inherit; color: var(--bark); background: #F6EFE3; border: 0; border-radius: 999px; padding: 12px 20px; }
.news__field input[type="email"]::placeholder { color: var(--bark-soft); }
.news__field input[type="email"]:focus { outline: 2px solid var(--sage); outline-offset: 2px; }
.news__field .btn { flex: none; }
.news__trap { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.news__msg { grid-column: 2; margin: 0; font-size: var(--t-sm); color: var(--sage); }
.news__msg--error { color: #F0C9A8; }
@media (max-width: 760px) { .news { grid-template-columns: minmax(0, 1fr); } .news__msg { grid-column: 1; } }
@media (max-width: 380px) { .news__field { flex-direction: column; } }
.site-foot__inner { max-width: var(--shell); margin: 0 auto; padding: var(--s7) var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); }
.site-foot__brand p { margin-top: var(--s3); opacity: .75; font-size: var(--t-sm); }
.site-foot__nav { display: flex; flex-direction: column; gap: var(--s2); font-size: var(--t-sm); }
.site-foot__nav a { text-decoration: none; opacity: .85; }
.site-foot__nav a:hover { opacity: 1; text-decoration: underline; }
.site-foot__follow p { font-size: var(--t-sm); opacity: .75; margin-bottom: var(--s2); }
.site-foot .foot-ig { color: var(--sage); }
.site-foot__base { max-width: var(--shell); margin: 0 auto; padding: var(--s4) var(--gutter); display: flex; justify-content: space-between; font-size: 0.8rem; opacity: .6; border-top: 1px solid #ffffff1a; }
.site-foot__base a { text-decoration: none; }
@media (max-width: 760px) { .site-foot__inner { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: span 2; } .wordmark--light img { height: 124px; } }

/* ---- toast -------------------------------------------------------------- */

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; pointer-events: none; }
.toast__msg { background: var(--bark); color: var(--unbleached); padding: 12px 22px; border-radius: 999px; font-size: var(--t-sm); box-shadow: 0 8px 24px #4a3b2e33; animation: toast-in .3s var(--ease); white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Amiri's tall marks need room between lines. */
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { line-height: 1.45; }

/* Keep the footer at the bottom of the window on short pages (an empty cart,
   a thank-you note): the page is a column at least a screen tall and the
   main area takes up whatever space is left. */
#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#app > .page { flex: 1 0 auto; width: 100%; }
#app > .site-foot { margin-top: 0; }
#app > .admin-shell { flex: 1 0 auto; }

/* ---- the thank-you note: a handwritten aside, not a sale banner ---- */
.thanks { display: flex; align-items: center; gap: 10px; margin: var(--s5) 0 0; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.45; color: var(--kraft-deep); }
.thanks .sticker { width: 22px; color: var(--kraft); transform: rotate(-10deg); }
[dir="rtl"] .thanks .sticker { transform: rotate(10deg); }
.thanks--cart { margin-top: var(--s4); font-size: .98rem; }

/* ---- sold out, and the customizable note on a product ---- */
.stock--gone { color: var(--bark); font-weight: 400; background: var(--sand); padding: var(--s3) var(--s4); border-radius: 14px; }
.custom-note { margin-top: var(--s5); padding: var(--s4) var(--s5); border-radius: 18px; background: var(--unbleached); border: 1px dashed var(--kraft); font-size: var(--t-sm); color: var(--bark-soft); }
.custom-note p { margin: 0 0 var(--s1); }
.custom-note b { color: var(--bark); font-weight: 600; }
.custom-note .custom-note__links { display: flex; gap: var(--s5); flex-wrap: wrap; margin: var(--s2) 0 0; }
.custom-note__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--sage-deep); font-weight: 600; text-decoration: none; }
.custom-note__links a:hover { text-decoration: underline; }
.custom-note__links svg { width: 18px; height: 18px; }
