/* Dreamy Dots: the look of the original Dreamy Dots WordPress theme (rose, cream, Playfair). */

:root {
  --rose: #994345;
  --rose-dark: #782a2d;
  --pink: #ffdad9;
  --pink-soft: #ffe8e8;
  --cream: #fff8f1;
  --sand: #fcf2e2;
  --sand-deep: #f7eddc;
  --linen: #ebe1d1;
  --ink: #1f1b11;
  --text: #554242;
  --muted: #887271;
  --line: #dac1bf;
  --white: #fff;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow: 0 4px 24px rgba(153, 67, 69, .08);
  --shadow-lg: 0 18px 48px rgba(153, 67, 69, .16);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.18; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.icon { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; flex: none; }

/* ---------- Buttons: press feels instant (scale on :active) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px;
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--rose); color: var(--white); box-shadow: 0 4px 20px rgba(153, 67, 69, .3); }
.btn--secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--light { background: var(--white); color: var(--rose); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 12px; }
.btn--full { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--rose-dark); }
  .btn--secondary:hover { border-color: var(--rose); color: var(--rose); }
  .btn--light:hover { background: var(--pink-soft); }
}
.link { color: var(--rose); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 40px; color: var(--rose); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 241, .94); border-bottom: 1px solid #f1e7d6; backdrop-filter: saturate(1.4) blur(10px); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 24px/1 var(--serif); color: var(--ink); }
.logo .icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--rose); font-size: 20px; }
.menu { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.menu a { position: relative; padding-block: 6px; color: var(--text); transition: color 200ms ease; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.menu a[aria-current="page"] { color: var(--rose); }
.menu a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .menu a:hover { color: var(--rose); } .menu a:hover::after { transform: scaleX(1); } }
.head-actions { display: flex; align-items: center; gap: 12px; }
.bag-link { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.bag-link:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .bag-link:hover { background: var(--pink); color: var(--rose); } }
.bag-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--rose); color: var(--white); font: 700 11px/1 var(--sans); }
.bag-count:empty { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
@media (max-width: 899px) {
  .site-head .wrap { gap: 8px; min-height: 64px; }
  .logo { font-size: 21px; }
  .logo .icon { width: 34px; height: 34px; }
  .menu-toggle { display: grid; }
  .head-actions { margin-left: auto; }
  .head-actions .btn { display: none; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--pad) 20px; background: var(--cream); border-bottom: 1px solid #f1e7d6; box-shadow: 0 16px 32px rgba(31, 27, 17, .08);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms; }
  .menu a { padding-block: 14px; border-bottom: 1px solid #f1e7d6; font-size: 17px; }
  .menu a::after { display: none; }
  .site-head.is-open .menu { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
}

/* ---------- Section basics ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--sand { background: var(--sand); }
.section--linen { background: var(--linen); }
.eyebrow { display: inline-block; color: var(--rose); font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.h2 { margin-top: 8px; font-size: clamp(28px, 3.5vw, 44px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 44px; }
.sec-head p { margin-top: 8px; max-width: 52ch; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .h2::after { content: ""; display: block; width: 48px; height: 2px; margin: 14px auto 0; border-radius: 2px; background: var(--rose); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 7vw, 96px); background: linear-gradient(135deg, #fff8f1 0%, #fcf2e2 50%, #ffdad9 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(30px); }
.hero::before { top: 48px; right: 24px; width: 288px; height: 288px; background: radial-gradient(circle, rgba(255, 148, 148, .35), transparent 70%); }
.hero::after { bottom: 32px; left: 16px; width: 256px; height: 256px; background: radial-gradient(circle, rgba(253, 207, 207, .4), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--pink); color: var(--rose-dark); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.hero h1 { margin: 20px 0 22px; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.12; }
.hero h1 em { color: var(--rose); font-style: italic; }
.hero-lead { max-width: 34em; font-size: clamp(16px, 1.15vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 16px 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 14px; }
.hero-facts .icon { color: var(--rose); }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.hero-art figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-deep); box-shadow: var(--shadow-lg); }
.hero-art figure:nth-child(2) { margin-top: 40px; background: var(--pink); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 50%; bottom: -14px; z-index: 2; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); white-space: nowrap; }
.hero-badge .icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--rose); }
.hero-badge strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.3; }
.hero-badge span { font-size: 12px; }
@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
}

/* Hero entrance: once on load, staggered, never on later visits to the same view */
@media (prefers-reduced-motion: no-preference) {
  .enter > * { animation: rise 600ms var(--ease-out) both; }
  .enter > :nth-child(2) { animation-delay: 60ms; }
  .enter > :nth-child(3) { animation-delay: 110ms; }
  .enter > :nth-child(4) { animation-delay: 150ms; }
  .enter > :nth-child(5) { animation-delay: 190ms; }
  .hero-art { animation: rise 700ms 120ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee strip (constant motion: linear) ---------- */
.marquee { overflow: hidden; padding-block: 16px; background: var(--rose); color: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.marquee span::after { content: "✦"; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Trust badges ---------- */
.trust { padding-block: 36px; background: var(--cream); border-bottom: 1px solid #f1e7d6; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--rose); font-size: 22px; }
.trust-item strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.trust-item span:not(.icon) { font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-deep); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.cat__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 26px; background: linear-gradient(to top, rgba(30, 15, 15, .74) 0%, rgba(30, 15, 15, .06) 60%, transparent 100%); color: var(--white); }
.cat__text strong { font: 600 24px/1.2 var(--serif); }
.cat__text span { margin-top: 6px; font-size: 13px; opacity: .85; }
.cat__go { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) { .cat:hover img { transform: scale(1.05); } }
@media (max-width: 699px) { .cats { grid-template-columns: 1fr 1fr; } .cats .cat:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.products > p { grid-column: 1 / -1; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--r-lg); text-align: center; }
.card { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--white); border: 1px solid #f1e7d6; overflow: hidden; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card__tag { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: var(--white); color: var(--rose); font: 700 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.card__body { display: grid; gap: 4px; padding: 16px 18px 20px; }
.card__name { color: var(--ink); font: 600 17px/1.35 var(--serif); }
.card__price { color: var(--rose); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .card:hover .card__img img { transform: scale(1.04); }
}
@media (max-width: 999px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) { .products { grid-template-columns: 1fr 1fr; gap: 14px; } .card__body { padding: 12px 12px 16px; } .card__name { font-size: 15px; } }

/* ---------- Story / custom knit section ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.story__img { position: relative; }
.story__img > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.story__img > img + img { position: absolute; right: -24px; bottom: -32px; width: 42%; aspect-ratio: 1; border: 6px solid var(--cream); border-radius: var(--r-md); }
.story h2 { margin: 12px 0 20px; }
.story p { font-size: 17px; }
.steps { list-style: none; display: grid; gap: 18px; margin: 28px 0 34px; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--rose); font: 600 18px/1 var(--serif); }
.steps strong { display: block; color: var(--ink); line-height: 1.4; }
.steps span { font-size: 15px; }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } .story__img > img + img { right: 12px; } }

/* ---------- Rose CTA band ---------- */
.band { padding-block: clamp(64px, 8vw, 96px); background: linear-gradient(135deg, #994345 0%, #782a2d 100%); color: rgba(255, 255, 255, .85); text-align: center; }
.band .icon { font-size: 40px; color: rgba(255, 255, 255, .6); }
.band h2 { margin: 12px 0; color: var(--white); font-size: clamp(30px, 3.6vw, 42px); }
.band p { max-width: 44ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding-block: 64px 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .logo { color: var(--white); }
.site-foot .logo .icon { background: rgba(255, 218, 217, .14); color: var(--pink); }
.site-foot h3 { margin-bottom: 14px; color: var(--white); font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .site-foot a:hover { color: var(--pink); } }
.foot-lede { max-width: 34ch; margin-top: 14px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
@media (max-width: 799px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.page { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); min-height: 60vh; }
.page h1 { font-size: clamp(32px, 4vw, 48px); }
.page-lead { max-width: 60ch; margin: 12px 0 36px; font-size: 17px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--muted); font-weight: 600; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .crumb:hover { color: var(--rose); } }

/* Product page */
.pd { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pd__main { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-deep); }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pd__thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: none; cursor: pointer; transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.pd__thumbs button:active { transform: scale(0.95); }
.pd__thumbs button[aria-current="true"] { border-color: var(--rose); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__info { position: sticky; top: 100px; display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid #f1e7d6; box-shadow: var(--shadow); }
.pd__price { color: var(--rose); font: 600 28px/1 var(--serif); }
.pd__desc { white-space: pre-line; }
.pd__note { display: flex; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid #f1e7d6; font-size: 14px; }
.pd__note .icon { color: var(--rose); }
@media (max-width: 899px) { .pd { grid-template-columns: 1fr; } .pd__info { position: static; } }

/* Bag page */
.checkout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.panel { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--white); border: 1px solid #f1e7d6; box-shadow: var(--shadow); }
.panel h2 { font-size: 24px; margin-bottom: 20px; }
.bag-lines { list-style: none; margin: 0; padding: 0; }
.bag-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding-block: 18px; border-bottom: 1px solid #f1e7d6; }
.bag-line:first-child { padding-top: 0; }
.bag-line img, .bag-line > span:first-child { width: 88px; height: 88px; border-radius: var(--r-sm); object-fit: cover; grid-row: span 2; background: var(--sand-deep); }
.bag-line__name { color: var(--ink); font: 600 17px/1.35 var(--serif); }
.bag-line__ctrl { display: flex; gap: 16px; align-items: center; }
.bag-line__price { justify-self: end; color: var(--rose); font-weight: 700; }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; color: var(--ink); font: 600 22px/1 var(--serif); }
.bag-note { display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--sand); font-size: 14px; }
.bag-note .icon { color: var(--rose); }
.empty { padding: 56px 24px; border: 2px dashed var(--line); border-radius: var(--r-lg); text-align: center; }
.empty .icon { font-size: 48px; color: var(--line); }
.empty p { margin: 12px 0 24px; }
.done { display: grid; gap: 14px; justify-items: start; max-width: 620px; }
.done .icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--rose); font-size: 28px; }
@media (max-width: 899px) { .checkout { grid-template-columns: 1fr; } }
@media (max-width: 599px) {
  .bag-line { grid-template-columns: 64px minmax(0, 1fr); }
  .bag-line img, .bag-line > span:first-child { width: 64px; height: 64px; }
  .bag-line__price { grid-column: 2; justify-self: start; }
}

/* Custom order page */
.custom { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.custom__intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-top: 28px; box-shadow: var(--shadow); }
@media (max-width: 899px) { .custom { grid-template-columns: 1fr; } .custom__intro img { display: none; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form > .full, .form > .btn, .form > p, .form > h2, .form > .img-list { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field > span { color: var(--ink); font-size: 14px; font-weight: 600; }
.field input:not([type="checkbox"]), .field select, .field textarea, .select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream); color: var(--ink); font-size: 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .select:focus { outline: none; border-color: var(--rose); background: var(--white); box-shadow: 0 0 0 4px rgba(153, 67, 69, .12); }
.field input[type="file"] { padding: 10px; }
.field [aria-invalid="true"] { border-color: #c4342b; }
.field__error { color: #b3261e; font-size: 13px; font-weight: 600; }
.field__error[hidden] { display: none; }
.hint { color: var(--muted); font-size: 13px; }
.form__status { min-height: 1.5em; color: var(--ink); font-weight: 600; font-size: 14px; }
.form__status:empty { min-height: 0; }
.check { display: flex; gap: 10px; align-items: center; min-height: 50px; color: var(--ink); font-weight: 600; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--rose); }
.select { width: auto; min-height: 44px; padding: 8px 12px; }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }

/* ---------- Toast (added to bag): CSS transition so it can be re-triggered smoothly ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 16px; background: var(--ink); color: var(--white); box-shadow: 0 16px 40px rgba(31, 27, 17, .25); font-size: 15px;
  translate: -50% 0; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 400ms ease, transform 400ms ease; }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast a { padding: 8px 14px; border-radius: 999px; background: var(--rose); font-weight: 700; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .toast { transform: none; } }

/* ---------- Admin ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid #f1e7d6; }
.tabs button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.tabs button:active { transform: scale(0.97); }
.tabs button[aria-selected="true"] { background: var(--rose); color: var(--white); }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.admin-list { display: grid; gap: 14px; align-content: start; }
.admin-card { display: grid; gap: 12px; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid #f1e7d6; box-shadow: var(--shadow); }
.admin-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; }
.admin-card__top h3 { font-size: 19px; }
.admin-card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; margin: 0; }
.admin-card dt { color: var(--muted); font-size: 14px; }
.admin-card dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.admin-card__ctrl { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; padding-top: 12px; border-top: 1px solid #f1e7d6; }
.admin-card__ctrl .field { min-width: 150px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--text); font: 700 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.badge--new { background: var(--rose); color: var(--white); }
.admin-prods { display: grid; grid-template-columns: 5fr 6fr; gap: 28px; align-items: start; }
.admin-prod { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--white); border: 1px solid #f1e7d6; }
.admin-prod img, .admin-prod .ph { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; background: var(--sand-deep); }
.admin-prod strong { color: var(--ink); }
.admin-prod .muted { color: var(--muted); font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.img-list { display: flex; flex-wrap: wrap; gap: 12px; }
.img-list figure { margin: 0; width: 96px; text-align: center; }
.img-list img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.login { max-width: 460px; }
@media (max-width: 899px) { .admin-prods { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .admin-prod { grid-template-columns: 56px minmax(0, 1fr); } .admin-prod > :last-child { grid-column: 1 / -1; } }
.tabs a[aria-current="true"] { background: var(--rose); border-color: var(--rose); color: var(--white); }
.tabs .btn { border-color: transparent; }
@media (max-width: 599px) { .hero-actions .btn { flex: 1 1 100%; } }
.mt { margin-top: 28px; }
.page-lead.flush { margin-bottom: 0; }
.qty { max-width: 120px; }
.credits-list ul { margin: 20px 0 0; padding-left: 20px; display: grid; gap: 8px; }
