/* Stellario Tiramisu — shared site + shop styles.
   The site chrome (header, mobile menu, footer — markup in chrome.js) and everything shop.js
   injects (cards, hearts, popup) is styled here, plus a few
   small building blocks (.sw-btn, .sw-input, .sw-select, .sw-chip, .sw-prose, .sw-eyebrow,
   .sw-divider, .sw-grid, .sw-notice) so the four shop pages stay consistent.
   Marketing pages load this file too, followed by /assets/site.css.
   Page layout itself is done with Tailwind utilities. */

/* Tailwind's display utilities (.flex, .grid) otherwise beat the [hidden] attribute. */
[hidden] { display: none !important; }

:root {
  --sw-cream: #EDE3C8;
  --sw-cream-light: #F5F0E4;
  --sw-cream-dark: #D9CBA8;
  --sw-choco: #6B3016;
  --sw-choco-dark: #4A2010;
  --sw-choco-light: #8B4422;
  --sw-ink: #2C1A0E;
  --sw-pistachio: #7A8C3A;
  --sw-serif: 'Playfair Display', Georgia, serif;
  --sw-sans: 'Lato', system-ui, sans-serif;
  --sw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sw-header-h: 4rem;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--sw-cream-light);
  color: var(--sw-ink);
  font-family: var(--sw-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

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

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--sw-choco);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Header ── */

#sw-header { min-height: var(--sw-header-h); position: sticky; top: 0; z-index: 50; }

.sw-header {
  position: relative; z-index: 2;
  background: rgba(245, 240, 228, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 203, 168, 0.4);
}

.sw-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--sw-choco); color: var(--sw-cream-light);
  padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}
.sw-skip:focus { top: 0.75rem; }

.sw-nav {
  max-width: 72rem; margin: 0 auto; height: var(--sw-header-h);
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
}

.sw-brand { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; }
.sw-brand img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.sw-brand span {
  font-family: var(--sw-serif); font-weight: 600; color: var(--sw-choco);
  letter-spacing: 0.025em; font-size: 0.875rem; text-transform: uppercase;
}

.sw-nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .sw-nav-links { display: flex; } }
@media (min-width: 1152px) { .sw-nav-links { gap: 2rem; } }

.sw-nav-link {
  position: relative;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(44, 26, 14, 0.7);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.sw-nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0.25rem;
  width: 0; height: 1px; background: var(--sw-choco);
  transition: width 0.3s ease;
}
.sw-nav-link:hover, .sw-nav-link[aria-current] { color: var(--sw-choco); }
.sw-nav-link:hover::after, .sw-nav-link[aria-current]::after { width: 100%; }
.sw-nav-link { white-space: nowrap; }
.sw-nav-link--strong { color: var(--sw-choco); font-weight: 700; }
.sw-nav-link--strong:hover { color: var(--sw-choco-dark); }

.sw-nav-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
/* .sw-btn.… so these sizes beat the base .sw-btn rule declared further down. */
.sw-btn.sw-nav-cta { font-size: 0.75rem; letter-spacing: 0.14em; padding: 0.6rem 1.25rem; margin-right: 0.5rem; white-space: nowrap; }
.sw-btn.sw-nav-cta[aria-current] { background: var(--sw-choco-dark); border-color: var(--sw-choco-dark); }
@media (max-width: 479px) {
  .sw-btn.sw-nav-cta { padding: 0.5rem 0.9rem; margin-right: 0.25rem; }
  .sw-nav-cta-more { display: none; }
}

.sw-icon-link {
  position: relative;
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--sw-choco);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sw-icon-link:hover, .sw-icon-link[aria-current] { background: rgba(107, 48, 22, 0.08); color: var(--sw-choco-dark); }

.sw-cart-count {
  position: absolute; top: 0.2rem; right: 0.05rem;
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--sw-choco); color: var(--sw-cream-light);
  font-size: 0.65rem; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 2px var(--sw-cream-light);
}
.sw-cart-count[hidden] { display: none; }

/* Burger: opens the menu panel below the desktop breakpoint */
.sw-burger { cursor: pointer; }
.sw-burger-svg line { transition: transform 0.4s ease, opacity 0.3s ease; }
.sw-burger-top { transform-origin: 12px 7px; }
.sw-burger-mid { transform-origin: 12px 12px; }
.sw-burger-bot { transform-origin: 12px 17px; }
.sw-menu-open .sw-burger-top { transform: translateY(5px) rotate(45deg); }
.sw-menu-open .sw-burger-mid { opacity: 0; }
.sw-menu-open .sw-burger-bot { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 480px) {
  .sw-nav { padding: 0 1rem; gap: 0.75rem; }
  .sw-nav-actions { margin-left: 0; gap: 0; }
  .sw-icon-link { width: 2.5rem; height: 2.5rem; }
}
@media (max-width: 340px) {
  .sw-brand span { display: none; }
}

/* ── Mobile menu (slides in under the header bar) ── */

body.sw-menu-open { overflow: hidden; }

.sw-menu {
  position: fixed; inset: 0; z-index: 1;
  visibility: hidden;
  transition: visibility 0s linear 0.5s;
}
.sw-menu-open .sw-menu { visibility: visible; transition-delay: 0s; }

.sw-menu-backdrop {
  position: absolute; inset: 0;
  background-color: rgba(44, 26, 14, 0);
  transition: background-color 0.5s ease;
}
.sw-menu-open .sw-menu-backdrop { background-color: rgba(44, 26, 14, 0.4); }

.sw-menu-panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 100%; max-width: 24rem;
  padding-top: var(--sw-header-h);
  display: flex; flex-direction: column;
  overflow-y: auto;
  background: var(--sw-cream-light);
  box-shadow: 0 25px 50px -12px rgba(107, 48, 22, 0.2);
  transform: translateX(100%);
  transition: transform 0.5s var(--sw-ease);
}
.sw-menu-open .sw-menu-panel { transform: translateX(0); }

.sw-menu-nav {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(0.9rem, 3.4vh, 2rem);
  padding: 1.5rem;
}
.sw-menu .sw-menu-nav > * {
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.sw-menu-open .sw-menu-nav > * { opacity: 1; transform: translateX(0); }
.sw-menu-open .sw-menu-nav > *:nth-child(1) { transition-delay: 0.15s, 0.15s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(2) { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(3) { transition-delay: 0.25s, 0.25s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(4) { transition-delay: 0.3s, 0.3s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(5) { transition-delay: 0.35s, 0.35s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(6) { transition-delay: 0.4s, 0.4s, 0s, 0s, 0s; }
.sw-menu-open .sw-menu-nav > *:nth-child(n + 7) { transition-delay: 0.45s, 0.45s, 0s, 0s, 0s; }

.sw-menu-link {
  font-family: var(--sw-serif);
  font-size: clamp(1.5rem, 4.6vh, 1.875rem); line-height: 1.2;
  color: var(--sw-ink);
}
.sw-menu-link:hover, .sw-menu-link[aria-current] { color: var(--sw-choco); }
.sw-menu-link[aria-current] { box-shadow: 0 1px 0 var(--sw-choco); }
.sw-menu-link--strong { color: var(--sw-choco); font-weight: 700; }
.sw-menu-link--strong:hover { color: var(--sw-choco-dark); }

.sw-menu-rule { width: 48px; height: 1px; background: var(--sw-choco); margin: 0.5rem 0; }

.sw-btn.sw-menu-cta { font-size: 0.875rem; letter-spacing: 0.1em; padding: 0.875rem 2rem; }
.sw-btn.sw-menu-cta[aria-current] { background: var(--sw-choco-dark); border-color: var(--sw-choco-dark); }

.sw-menu-foot {
  padding-bottom: 2.5rem; text-align: center;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(44, 26, 14, 0.65);
}

@media (min-width: 1024px) {
  .sw-burger, .sw-menu { display: none; }
}

/* ── Footer ── */

.sw-footer {
  background: var(--sw-ink);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 5rem;
}
.sw-footer img {
  width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.25rem; opacity: 0.8;
}
.sw-footer-name {
  font-family: var(--sw-serif); color: rgba(237, 227, 200, 0.8);
  letter-spacing: 0.1em; font-size: 0.875rem; text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.sw-footer-line { font-size: 0.75rem; color: rgba(237, 227, 200, 0.6); line-height: 1.9; letter-spacing: 0.025em; }
.sw-footer-locality { margin-bottom: 0.75rem; }
.sw-footer-social { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.5rem; }
.sw-footer-social a { display: inline-flex; padding: 0.5rem; color: rgba(237, 227, 200, 0.4); }
.sw-footer a { transition: color 0.3s ease; }
.sw-footer a:hover { color: rgba(237, 227, 200, 0.95); }
.sw-footer a:focus-visible { outline-color: var(--sw-cream); }
.sw-footer-legal {
  margin: 2rem auto 0; padding-top: 1.5rem; max-width: 72rem;
  border-top: 1px solid rgba(237, 227, 200, 0.1);
  font-size: 0.75rem; color: rgba(237, 227, 200, 0.6);
}
.sw-footer-abn { white-space: nowrap; }
@media (max-width: 480px) {
  /* Put the ABN on its own line instead of wrapping mid-line */
  .sw-footer-abn { display: block; }
  .sw-footer-abn > span { display: none; }
}

/* ── Building blocks ── */

.sw-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(107, 48, 22, 0.8);
}

.sw-divider { width: 48px; height: 1px; background: var(--sw-choco); }

.sw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--sw-choco); color: var(--sw-cream-light);
  border: 1px solid var(--sw-choco);
  font-family: var(--sw-sans); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; text-align: center;
  padding: 0.85rem 1.75rem; border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.sw-btn:hover { background: var(--sw-choco-dark); border-color: var(--sw-choco-dark); }
.sw-btn:disabled, .sw-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.sw-btn--ghost { background: transparent; color: var(--sw-choco); border-color: rgba(107, 48, 22, 0.35); }
.sw-btn--ghost:hover { background: var(--sw-choco); color: var(--sw-cream-light); border-color: var(--sw-choco); }
.sw-btn--block { display: flex; width: 100%; }

.sw-input, .sw-select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(107, 48, 22, 0.25);
  background-color: rgba(237, 227, 200, 0.55);
  color: var(--sw-ink);
  font-family: var(--sw-sans); font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.sw-input::placeholder { color: rgba(44, 26, 14, 0.65); opacity: 1; }
.sw-input:focus, .sw-select:focus {
  outline: none;
  border-color: rgba(107, 48, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(107, 48, 22, 0.18);
  background-color: var(--sw-cream-light);
}
.sw-select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236B3016' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.7rem;
  cursor: pointer;
}

.sw-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  white-space: nowrap;
  border: 1px solid rgba(107, 48, 22, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sw-choco);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.sw-chip:hover { border-color: var(--sw-choco); }
.sw-chip[aria-current], .sw-chip[aria-pressed="true"] {
  background: var(--sw-choco); border-color: var(--sw-choco); color: var(--sw-cream-light);
}
.sw-chip-count { font-weight: 400; opacity: 0.8; letter-spacing: 0.05em; }

.sw-notice {
  border: 1px solid rgba(107, 48, 22, 0.15);
  background: rgba(107, 48, 22, 0.05);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem; line-height: 1.65;
  color: rgba(44, 26, 14, 0.8);
}
.sw-notice--error { border-color: rgba(185, 28, 28, 0.25); background: rgba(185, 28, 28, 0.06); color: #7f1d1d; }

/* Sanitised product descriptions (attributes are stripped, so style by element). */
.sw-prose { color: rgba(44, 26, 14, 0.7); font-size: 0.95rem; line-height: 1.75; overflow-wrap: anywhere; }
.sw-prose > * + * { margin-top: 1em; }
.sw-prose h1 { font-family: var(--sw-serif); font-size: 1.35rem; font-weight: 600; color: var(--sw-ink); line-height: 1.3; }
.sw-prose strong { font-weight: 700; color: var(--sw-ink); }
.sw-prose em { font-style: italic; }

/* ── Product grid + cards ── */

.sw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}
@media (min-width: 768px) { .sw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem 1.5rem; } }
@media (min-width: 1024px) { .sw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.75rem; } }

.sw-card { position: relative; min-width: 0; }
.sw-card-link { display: block; border-radius: 14px; }
.sw-card-link:focus-visible { outline-offset: 6px; border-radius: 14px; }

.sw-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sw-cream);
  box-shadow: 0 6px 18px rgba(107, 48, 22, 0.08);
  transition: box-shadow 0.4s ease, transform 0.5s var(--sw-ease);
}
.sw-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--sw-ease), filter 0.5s ease;
}
.sw-card-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(44, 26, 14, 0) 55%, rgba(44, 26, 14, 0.28) 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.sw-card-link:hover .sw-card-media { box-shadow: 0 18px 36px rgba(107, 48, 22, 0.2); transform: translateY(-4px); }
.sw-card-link:hover .sw-card-media img { transform: scale(1.05); }
.sw-card-link:hover .sw-card-media::after { opacity: 1; }

.sw-card.is-soldout .sw-card-media img { filter: saturate(0.35) opacity(0.75); }
.sw-card.is-soldout .sw-card-name { color: rgba(44, 26, 14, 0.7); }

.sw-card-badges { position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 1; display: flex; gap: 0.35rem; }
.sw-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.2;
}
.sw-badge--sale { background: var(--sw-choco); color: var(--sw-cream-light); }
.sw-badge--soldout { background: rgba(245, 240, 228, 0.92); color: var(--sw-ink); border: 1px solid rgba(44, 26, 14, 0.15); }

.sw-card-body { padding: 0.9rem 0.15rem 0; }
.sw-card-name {
  font-family: var(--sw-serif); font-weight: 600; color: var(--sw-ink);
  font-size: 1.05rem; line-height: 1.3;
  transition: color 0.3s ease;
}
@media (min-width: 768px) { .sw-card-name { font-size: 1.2rem; } }
.sw-card-link:hover .sw-card-name { color: var(--sw-choco); }

.sw-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.sw-tag {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5;
}

.sw-card-price { margin-top: 0.35rem; font-size: 0.8125rem; letter-spacing: 0.08em; color: rgba(44, 26, 14, 0.65); }
.sw-price-was { margin-left: 0.3rem; color: rgba(44, 26, 14, 0.65); }
.sw-card-price.is-sale .sw-price-now { color: var(--sw-choco); font-weight: 700; }

.sw-heart {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 2;
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--sw-choco);
  border: 1px solid rgba(107, 48, 22, 0.12);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.sw-heart:hover { background: var(--sw-cream-light); transform: scale(1.08); }
.sw-heart[aria-pressed="true"] path { fill: currentColor; }
.sw-heart.is-pop svg { animation: sw-pop 0.45s var(--sw-ease); }
/* A heart used outside a card (e.g. beside a product title) should not float. */
.sw-heart--inline { position: static; }

@keyframes sw-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Skeletons */
.sw-skeleton {
  background: linear-gradient(100deg, rgba(217, 203, 168, 0.35) 30%, rgba(237, 227, 200, 0.9) 50%, rgba(217, 203, 168, 0.35) 70%);
  background-size: 250% 100%;
  animation: sw-shimmer 1.6s ease-in-out infinite;
}
.sw-card--skeleton .sw-card-media { box-shadow: none; }
.sw-skeleton-line { height: 0.8rem; border-radius: 999px; margin-top: 0.6rem; }
/* A bar set inside the real text element, so a skeleton card is exactly as tall as a real one. */
.sw-skeleton-text { display: inline-block; height: 0.7em; border-radius: 999px; vertical-align: baseline; }
@keyframes sw-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Staggered reveal for freshly rendered grids */
.sw-reveal > * { animation: sw-fade-up 0.7s var(--sw-ease) both; }
.sw-reveal > *:nth-child(2) { animation-delay: 0.05s; }
.sw-reveal > *:nth-child(3) { animation-delay: 0.1s; }
.sw-reveal > *:nth-child(4) { animation-delay: 0.15s; }
.sw-reveal > *:nth-child(5) { animation-delay: 0.2s; }
.sw-reveal > *:nth-child(6) { animation-delay: 0.25s; }
.sw-reveal > *:nth-child(7) { animation-delay: 0.3s; }
.sw-reveal > *:nth-child(n + 8) { animation-delay: 0.35s; }
@keyframes sw-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Add-to-cart popup ── */

.sw-toast {
  position: fixed; z-index: 60;
  top: calc(var(--sw-header-h) + 0.75rem); right: 1rem;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--sw-cream-light);
  border: 1px solid rgba(107, 48, 22, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(107, 48, 22, 0.22);
  padding: 1rem 1.1rem 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.4s var(--sw-ease), visibility 0s linear 0.3s;
}
.sw-toast.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.sw-toast-head { display: flex; align-items: center; gap: 0.55rem; }
.sw-toast-tick {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sw-pistachio); color: var(--sw-cream-light);
}
.sw-toast-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sw-choco); }
.sw-toast-close {
  margin-left: auto; width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(44, 26, 14, 0.55); cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sw-toast-close:hover { background: rgba(107, 48, 22, 0.08); color: var(--sw-ink); }
.sw-toast-item { display: flex; align-items: center; gap: 0.85rem; margin: 0.85rem 0 1rem; }
.sw-toast-item img { width: 3.5rem; height: 3.5rem; border-radius: 10px; object-fit: cover; flex: none; background: var(--sw-cream); }
.sw-toast-name { font-family: var(--sw-serif); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: var(--sw-ink); }
.sw-toast-qty { font-family: var(--sw-sans); font-weight: 400; font-size: 0.8125rem; color: rgba(44, 26, 14, 0.65); }
.sw-toast-meta { margin-top: 0.2rem; font-size: 0.8125rem; color: rgba(44, 26, 14, 0.65); }
/* "Couldn't save" variant: stays until dismissed */
.sw-toast--warn { border-color: rgba(185, 28, 28, 0.3); }
.sw-toast--warn .sw-toast-tick { background: #991b1b; }
.sw-toast--warn .sw-toast-title { color: #7f1d1d; }
.sw-toast-text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(44, 26, 14, 0.8); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw-reveal > *, .sw-skeleton, .sw-heart.is-pop svg { animation: none; }
  .sw-card-media, .sw-card-media img, .sw-toast, .sw-heart { transition: none; }
  .sw-menu, .sw-menu-backdrop, .sw-menu-panel, .sw-menu-nav > *, .sw-burger-svg line { transition: none; }
  .sw-card-link:hover .sw-card-media, .sw-card-link:hover .sw-card-media img, .sw-heart:hover { transform: none; }
}
