/* ============================================================
   Manju's Studio — a warm, first-person scrapbook of yarn joys
   Kraft paper, polaroids, masking tape, crochet scallops.
   Flat (no drop shadows), mobile-first, no framework.
   ============================================================ */

:root {
  --cream: #fbf5e9;
  --ivory: #fffdf7;
  --ink: #3b2e25;
  --ink-soft: #6f5b4a;
  --brown: #8a705b;
  --clay: #c4704f;
  --clay-deep: #a95a3c;
  --yellow: #fcdf5a;
  --yellow-deep: #f2cf35;
  --yellow-soft: #fdeca0;
  --espresso: #2a211b;
  --tape: rgba(240, 220, 170, 0.75);
  --edge: rgba(59, 46, 37, 0.16);

  /* fine fibrous speckle, drawn over ivory to read as white kraft paper */
  --kraft: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><filter id="p"><feTurbulence type="fractalNoise" baseFrequency="0.55" numOctaves="3"/><feColorMatrix type="matrix" values="0 0 0 0 0.45  0 0 0 0 0.36  0 0 0 0 0.26  0.07 0.07 0.07 0 0"/></filter><rect width="240" height="240" filter="url(%23p)"/></svg>');

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* room for the fixed bottom nav on mobile */
  padding-bottom: calc(3.6rem + env(safe-area-inset-bottom));
}

/* faint paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
}

/* shared "white kraft paper" surface */
.paper {
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
}

img,
video {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.7rem, 9.5vw, 4.6rem);
  font-variation-settings: "SOFT" 80;
}

h1 em,
h2 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  color: var(--clay);
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--clay);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- utilities ---------- */

.container {
  width: min(70rem, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--clay-deep);
}

.section-intro {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* handwritten lead-in above headings */
.scribble {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clay);
  transform: rotate(-2deg);
  margin-bottom: 0.35rem;
}

/* yarn squiggle divider */
.squiggle {
  border: none;
  height: 12px;
  width: min(14rem, 55%);
  margin: 0 auto;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="12" viewBox="0 0 48 12"><path d="M0 6 Q 6 0, 12 6 T 24 6 T 36 6 T 48 6" fill="none" stroke="%23C4704F" stroke-width="2.5" stroke-linecap="round" opacity="0.55"/></svg>') repeat-x center;
}

/* masking tape strip */
.tape::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 5.5rem;
  height: 1.5rem;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--tape);
  z-index: 2;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn-primary {
  background: var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 233, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138, 112, 91, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  height: 3.4rem;
  width: auto;
}

.site-nav {
  display: none;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--clay);
}

.basket-btn {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.45rem;
  background: var(--ivory);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.basket-btn:hover {
  background: var(--yellow-soft);
}

.basket-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--clay);
}

/* ---------- bottom nav (mobile, app-like) ---------- */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: flex;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border-top: 1px solid var(--edge);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a,
.bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0 0.5rem;
  background: none;
  border: none;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
}

.bottom-nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.bottom-nav .nav-gift {
  position: relative;
  color: var(--clay-deep);
}

.bottom-nav .nav-gift .basket-count {
  position: absolute;
  top: 0.2rem;
  left: calc(50% + 0.35rem);
}

.basket-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: 0.8rem;
}

/* ---------- stall banner ---------- */

.stall-banner {
  background: var(--yellow);
  text-align: center;
  padding: 0.6rem 2.5rem;
  position: relative;
  font-weight: 700;
  font-size: 0.95rem;
}

.stall-banner button {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy .scribble {
  font-size: 1.9rem;
}

.hero-copy p.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 30rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(23rem, 82%);
  padding-bottom: 2.5rem;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 2% 18%;
  background: var(--yellow);
  border-radius: 46% 54% 55% 45% / 52% 46% 54% 48%;
  z-index: 0;
}

.hero-art img {
  position: relative;
  z-index: 1;
}

.hero-note {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: 2;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  transform: rotate(-5deg);
}

/* ---------- polaroids ---------- */

.polaroid {
  position: relative;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
  padding: 0.75rem 0.75rem 0.9rem;
  border-radius: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.polaroid img {
  border-radius: 2px;
}

.polaroid-caption {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
  padding-top: 0.7rem;
}

/* ---------- about ---------- */

.about .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-figure {
  justify-self: center;
  width: min(21rem, 88%);
  transform: rotate(1.8deg);
}

.about-figure img {
  aspect-ratio: 4 / 3.4;
  width: 100%;
  object-fit: cover;
}

.about-copy p strong {
  color: var(--clay-deep);
}

/* ---------- collection ---------- */

.chips {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.1rem;
  margin-bottom: 1.25rem;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  border: 2px solid var(--ink);
  background: var(--ivory);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.15s ease;
}

.chip:nth-child(odd) {
  transform: rotate(-1.2deg);
}

.chip:nth-child(even) {
  transform: rotate(1deg);
}

.chip:hover {
  background: var(--yellow-soft);
}

.chip.active {
  background: var(--yellow);
  transform: rotate(0deg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.75rem 1.15rem;
  padding-top: 0.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card:nth-child(3n + 1) {
  transform: rotate(-1.4deg);
}

.product-card:nth-child(3n + 2) {
  transform: rotate(1.1deg);
}

.product-card:nth-child(3n) {
  transform: rotate(-0.4deg);
}

.product-card:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: var(--ink);
  z-index: 3;
}

.product-photo {
  width: 100%;
  aspect-ratio: 1;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: var(--yellow-soft);
  border-radius: 2px;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.love-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem auto 0;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clay-deep);
  transition: background 0.15s ease;
}

.love-btn svg {
  width: 1em;
  height: 1em;
  flex: none;
}

.love-btn:hover {
  background: var(--yellow-soft);
}

.love-btn.in-basket {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- quick view ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(42, 33, 27, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.quickview {
  background-color: var(--ivory);
  background-image: var(--kraft);
  border-radius: 6px;
  max-width: 25rem;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 0.9rem 0.9rem 1.4rem;
}

.quickview-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--ivory);
  font-size: 1.15rem;
  color: var(--ink);
}

.quickview-media img,
.quickview-media video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  background: var(--yellow-soft);
}

.quickview-thumbs {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.7rem;
}

.quickview-thumbs button {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 3px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  background: var(--yellow-soft);
}

.quickview-thumbs button.active {
  border-color: var(--clay);
}

.quickview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-thumbs .thumb-video {
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--clay);
}

.quickview-body {
  padding-top: 0.9rem;
}

.quickview-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.2em;
}

.quickview-body .blurb {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.25;
}

/* ---------- the letter ---------- */

.letter-wrap {
  display: grid;
  justify-items: center;
}

.letter {
  position: relative;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
  max-width: 36rem;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  border-radius: 4px;
  transform: rotate(-0.6deg);
  font-size: 1.1rem;
}

.letter .opener {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--clay-deep);
  line-height: 1.35;
}

.letter .signature {
  font-family: var(--font-hand);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0 0;
  transform: rotate(-2deg);
  display: inline-block;
}

/* ---------- studio / instagram (scalloped, like crochet edging) ---------- */

.studio {
  position: relative;
  background: var(--yellow-soft);
  margin-block: 13px;
}

.studio::before,
.studio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 13px;
  background-image: radial-gradient(circle at 13px 13px, var(--yellow-soft) 12px, transparent 12.8px);
  background-size: 26px 13px;
}

.studio::before {
  top: -12px;
}

.studio::after {
  bottom: -12px;
  transform: scaleY(-1);
}

.studio-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.studio-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.1rem;
  scrollbar-width: none;
}

.studio-track::-webkit-scrollbar {
  display: none;
}

.studio-tile {
  flex: none;
  width: min(16.5rem, 70vw);
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--ink);
}

.studio-tile:nth-child(odd) {
  transform: rotate(-1deg);
}

.studio-tile:nth-child(even) {
  transform: rotate(0.8deg);
}

.studio-tile:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: var(--ink);
  z-index: 2;
}

.studio-tile img,
.studio-tile video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream);
  border-radius: 2px;
}

.studio-tile figure {
  margin: 0;
}

.studio-tile figcaption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.6rem;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--ink);
}

.studio-tile figcaption svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--clay);
}

.studio-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.studio-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(138, 112, 91, 0.35);
}

.studio-dots button.active {
  background: var(--clay-deep);
}

/* ---------- workshops ---------- */

.workshop-card {
  position: relative;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 3rem);
  transform: rotate(0.4deg);
}

.workshop-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-block: 1.5rem;
}

.fact {
  border: 2px dashed rgba(196, 112, 79, 0.45);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.fact span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.workshop-location {
  background: var(--yellow-soft);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}

.workshop-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- stalls ---------- */

.stall-list {
  display: grid;
  gap: 1rem;
}

.stall-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
}

.stall-item:nth-child(odd) {
  transform: rotate(-0.4deg);
}

.stall-item:nth-child(even) {
  transform: rotate(0.4deg);
}

.stall-date {
  flex: none;
  text-align: center;
  background: var(--yellow);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

.stall-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.stall-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.connect {
  position: relative;
  background: var(--yellow-soft);
  margin-top: 13px;
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}

.connect::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 13px;
  background-image: radial-gradient(circle at 13px 13px, var(--yellow-soft) 12px, transparent 12.8px);
  background-size: 26px 13px;
}

.connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.connect-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--ivory);
  background-image: var(--kraft);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.connect-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.connect-card svg {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  color: var(--clay);
}

.connect-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.connect-card span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  padding: 1.75rem 1rem 2rem;
  font-size: 0.95rem;
  border-top: 3px dashed rgba(59, 46, 37, 0.25);
}

.site-footer a {
  color: var(--clay-deep);
}

.site-footer img {
  height: 3rem;
  margin: 0 auto 0.75rem;
}

/* ---------- gifting bar + sheet ---------- */

.basket-bar {
  position: fixed;
  left: 50%;
  bottom: calc(4.1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--ink);
  color: var(--ivory);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  width: max-content;
  max-width: calc(100% - 2rem);
}

.basket-bar .basket-count {
  background: var(--yellow);
  color: var(--ink);
}

.basket-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(42, 33, 27, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.basket-sheet {
  background-color: var(--cream);
  background-image: var(--kraft);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 30rem;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.5rem 1.35rem 1.75rem;
}

.basket-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.basket-sheet header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.basket-sheet header button {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.basket-empty {
  text-align: center;
  color: var(--ink-soft);
  padding-block: 2rem;
}

.basket-lines {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.basket-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--ivory);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.basket-line img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}

.basket-line .line-name {
  flex: 1;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.qty button {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 2px solid rgba(138, 112, 91, 0.35);
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1;
}

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

.basket-form {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.basket-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.basket-form label small {
  font-weight: 400;
  color: var(--ink-soft);
}

.basket-form input,
.basket-form select,
.basket-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 2px solid rgba(138, 112, 91, 0.3);
  background: var(--ivory);
  color: var(--ink);
}

.basket-form input:focus,
.basket-form select:focus,
.basket-form textarea:focus {
  outline: none;
  border-color: var(--clay);
}

.basket-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.basket-send {
  width: 100%;
  font-size: 1.05rem;
  padding-block: 1rem;
}

/* ---------- kiosk mode ---------- */

body.kiosk-mode {
  overflow: hidden;
}

body.kiosk-mode .site-main,
body.kiosk-mode .site-header,
body.kiosk-mode .site-footer,
body.kiosk-mode .basket-bar,
body.kiosk-mode .bottom-nav {
  display: none !important;
}

.kiosk {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--espresso);
  display: flex;
  flex-direction: column;
}

.kiosk-media {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

.kiosk-media img,
.kiosk-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kiosk-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom));
  background: var(--yellow);
  color: var(--ink);
}

.kiosk-caption strong {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.kiosk-caption span {
  font-weight: 700;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
}

/* ---------- animations ---------- */

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.sheet-enter-active,
.sheet-leave-active {
  transition: opacity 0.25s ease;
}

.sheet-enter-active .basket-sheet,
.sheet-leave-active .basket-sheet {
  transition: transform 0.25s ease;
}

.sheet-enter-from,
.sheet-leave-to {
  opacity: 0;
}

.sheet-enter-from .basket-sheet,
.sheet-leave-to .basket-sheet {
  transform: translateY(100%);
}

/* ---------- desktop ---------- */

@media (min-width: 48rem) {
  body {
    padding-bottom: 0;
  }

  .site-nav {
    display: flex;
  }

  .basket-btn {
    display: inline-flex;
  }

  .bottom-nav {
    display: none;
  }

  .basket-bar {
    bottom: 1rem;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .about .container {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.75rem;
  }

  .workshop-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .basket-overlay {
    align-items: stretch;
    justify-content: flex-end;
  }

  .basket-sheet {
    border-radius: 16px 0 0 16px;
    max-height: none;
    height: 100%;
  }

  .sheet-enter-from .basket-sheet,
  .sheet-leave-to .basket-sheet {
    transform: translateX(100%);
  }
}

@media (min-width: 64rem) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
