/* Creatively Blessed Customs: site styles. Colors and fonts are set in :root.
   The palette and the floral background come from the business card: pale aqua,
   soft blue line art, deep teal lettering, and the logo's aqua-to-lavender watercolor. */

:root {
  --bg: #f2fdfd;
  --surface: #ffffff;
  --panel: rgb(255 255 255 / 94%);
  --tint: #e8f8f9;
  --text: #1f1a1e;
  --muted: #56636a;
  --border: #cfe8ec;
  --brand: #0a6f86;
  --brand-dark: #085a6d;
  --brand-bright: #0d86a1;
  --brand-soft: #def3f5;
  --accent: #6a5aa6;
  --accent-soft: #efebf9;
  --gold: #e0a100;
  --footer-bg: #0b4f5c;
  --footer-text: #e3f5f7;
  --success-bg: #e7f2eb;
  --success: #24573a;
  --warning-bg: #fdf2d9;
  --warning: #754f0c;
  --error-bg: #fbe8e5;
  --error: #99291f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(11 79 92 / 6%), 0 12px 32px rgb(11 79 92 / 10%);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
/* The business-card rose pattern, fixed behind every page. (A pseudo-element instead of
   background-attachment: fixed, which iPhones ignore.) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg) url("/img/pattern.webp") center / cover no-repeat;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brand);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--brand-dark);
}
h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
}
h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
}
h3 {
  font-size: 1.12rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.lede {
  font-size: 1.12rem;
  color: var(--muted);
}

/* ---------- demo banner ---------- */
.demo-banner {
  padding: 8px 16px;
  background: #fff1cc;
  color: #5a4210;
  font-size: 0.9rem;
  text-align: center;
}
.test-banner {
  background: var(--accent-soft);
  color: #3b2f6b;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 90%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding-block: 6px;
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}
.brand-logo {
  width: auto;
  height: 66px;
}
.site-nav {
  display: flex;
  gap: 4px;
}
.site-nav a,
.mobile-nav nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover,
.mobile-nav nav a:hover {
  background: var(--tint);
  color: var(--brand-dark);
}
.site-nav a[aria-current="page"] {
  color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 0;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.cart-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
}
.mobile-nav {
  display: none;
  position: relative;
}
.mobile-nav summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: 54px;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .header-inner {
    gap: 10px;
  }
}
@media (max-width: 560px) {
  .header-inner {
    min-height: 66px;
  }
  .brand-logo {
    height: 52px;
  }
}
@media (max-width: 420px) {
  .cart-label {
    display: none;
  }
  .brand-logo {
    height: 46px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}
.btn-ghost {
  border-color: var(--brand);
  background: transparent;
  color: var(--brand);
}
.btn-ghost:hover {
  background: var(--brand-soft);
}
.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}
.btn-small {
  padding: 6px 12px;
  font-size: 0.88rem;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-link {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
}
.btn-link:hover {
  color: var(--error);
}
.link-arrow {
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}

/* ---------- hero & sections ---------- */
/* The home page opens like the business card: logo and tagline on the rose pattern,
   with a soft white glow so the words stay easy to read. */
.hero {
  padding: 28px 0 44px;
}
.hero-inner {
  max-width: 900px;
  padding-block: 24px 36px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 94%) 55%, rgb(255 255 255 / 0%));
  text-align: center;
}
.hero-logo {
  width: min(560px, 88vw);
  height: auto;
  margin: 0 auto 14px;
}
.hero-title {
  max-width: 30em;
  margin: 0 auto 14px;
  color: var(--brand);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif-condensed, var(--font-sans);
  font-size: clamp(1rem, 0.8rem + 1vw, 1.45rem);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-lede {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--text);
  font-size: 1.1rem;
}
@media (max-width: 640px) {
  /* On phones the text gets a soft white panel instead of the glow. */
  .hero {
    padding: 14px 0 30px;
  }
  .hero-inner {
    width: calc(100% - 20px);
    padding: 18px 14px 26px;
    border-radius: 22px;
    background: rgb(255 255 255 / 90%);
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* The shop's verse, just below the hero. */
.verse-band {
  margin-top: -14px;
}
.verse {
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 26px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgb(255 255 255 / 90%);
  box-shadow: var(--shadow);
  text-align: center;
}
.verse-text {
  margin: 0;
}
.verse-text p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  text-wrap: balance;
}
.verse-text p::before {
  content: "\201C";
}
.verse-text p::after {
  content: "\201D";
}
.verse-ref {
  margin-top: 12px;
  color: var(--brand);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif-condensed, var(--font-sans);
  font-size: 0.95rem;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.verse-ref::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8fe3dc, #b8aee6);
}
@media (max-width: 640px) {
  .verse-band {
    margin-top: -16px;
  }
  .verse-band .wrap {
    padding-inline: 10px;
  }
  .verse {
    padding: 20px 16px 18px;
  }
}
.section {
  padding: 56px 0;
}
.section-tint {
  background: rgb(255 255 255 / 78%);
  border-block: 1px solid var(--border);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
}
/* Inner pages sit on a white panel over the pattern, so long text stays easy to read. */
.page {
  width: calc(100% - 20px);
  margin: 16px auto 44px;
  padding: 24px 18px 40px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .page {
    width: calc(100% - 40px);
    margin-top: 28px;
    padding: 36px 40px 52px;
  }
}
.narrow {
  max-width: 780px;
}
.page-head {
  margin-bottom: 16px;
}
.page-head h1 {
  margin-bottom: 4px;
}
.empty {
  margin: 24px 0;
  padding: 48px 20px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

/* ---------- product grid & cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 1000px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text);
}
/* Square photo frames. The photo is positioned inside the frame so tall or wide photos
   can't stretch the card; every card in a row lines up. */
.card-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--tint);
}
.card-media img,
.card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 12px 14px 16px;
}
.card-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  line-height: 1.3;
}
.card-price {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-sold {
  background: rgb(31 26 30 / 82%);
  color: #fff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 24px;
}
.chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip[aria-current="page"] {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* ---------- product page ---------- */
.crumbs {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.crumbs a {
  color: var(--muted);
}
.product {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .product {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }
  .gallery {
    position: sticky;
    top: 96px;
  }
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  background: var(--tint);
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  scroll-snap-align: start;
}
/* Product page photos are shown whole (never cropped), centered in the square frame. */
.gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-empty {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--tint);
}
/* Previous/next arrows over the photo: computers only (site.js un-hides them; phones swipe). */
.gallery-stage {
  position: relative;
}
.gallery-arrow {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-arrow:not([hidden]) {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 2px 10px rgb(11 79 92 / 18%);
    color: var(--brand);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
  }
  .gallery-arrow:hover {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 14px rgb(11 79 92 / 28%);
  }
  .gallery-arrow:focus-visible {
    outline: 3px solid var(--brand-bright);
    outline-offset: 2px;
  }
  .gallery-arrow .icon {
    width: 24px;
    height: 24px;
  }
  .gallery-prev {
    left: 12px;
  }
  .gallery-next {
    right: 12px;
  }
}
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gallery-thumbs a {
  display: block;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  opacity: 0.75;
}
.gallery-thumbs a[aria-current="true"],
.gallery-thumbs a:hover {
  border-color: var(--brand);
  opacity: 1;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-title {
  margin-bottom: 8px;
}
.product-price {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 700;
}
.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warning);
  font-weight: 600;
}
.stock-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.stock-note[hidden] {
  display: none;
}

/* Option tiles ("Style: Rose"): radio buttons styled as clickable cards. */
.options {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.options-legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.options-legend strong {
  color: var(--text);
}
.option-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.option-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.option-tile.has-image {
  padding: 6px 10px 6px 6px;
}
.option-tile img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 7px;
  background: var(--tint);
  object-fit: cover;
}
.option-tile input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.option-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.option-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.option-price {
  color: var(--muted);
  font-size: 0.88rem;
}
.option-status {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.option-tile:hover {
  border-color: var(--brand-bright);
}
.option-tile.is-selected,
.option-tile:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 1.5px var(--brand);
}
.option-tile:has(input:focus-visible) {
  outline: 3px solid var(--brand-bright);
  outline-offset: 2px;
}
/* Sold-out designs stay clickable (they can be made to order), just quieter. */
.option-tile.is-sold img {
  opacity: 0.6;
}
.option-tile.is-sold .option-name {
  color: var(--muted);
}
.option-tile.is-sold.is-selected .option-name,
.option-tile.is-sold:has(input:checked) .option-name {
  color: var(--text);
}
.buy-form {
  margin: 20px 0 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.buy-controls[hidden],
.made-to-order[hidden] {
  display: none;
}
/* Sold-out design: ask for one to be made again, by email. */
.made-to-order {
  padding: 16px 18px 14px;
  border: 1px solid #d9d1f0;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}
.made-to-order p {
  margin: 0 0 12px;
}
.made-to-order-title {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}
p.made-to-order-alt {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.product-desc {
  margin-top: 24px;
}
.assurances {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.93rem;
  list-style: none;
}
.assurances li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- forms ---------- */
.field {
  margin-bottom: 14px;
}
.field label,
.field-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 600;
}
input[type="text"],
input[type="number"],
input[type="email"],
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
}
input:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(13 134 161 / 22%);
}
.field-qty input {
  max-width: 120px;
}
.field-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}
.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.field-error {
  margin: 0 0 12px;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 600;
}
.choice {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.radio:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.radio input {
  accent-color: var(--brand);
}
.delivery-form:has(input[value="pickup"]:checked) .ship-fields {
  display: none;
}

/* ---------- cart ---------- */
.cart-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .cart-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
    align-items: start;
  }
  .cart-summary {
    position: sticky;
    top: 96px;
  }
}
.cart-lines {
  margin: 0 0 16px;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.cart-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line-media img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--tint);
}
.cart-line-name {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
}
.cart-line-variant,
.cart-line-each {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-line-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.cart-line-qty input {
  width: 76px;
  min-height: 38px;
  padding: 6px 10px;
}
.qty-fixed {
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-line-total {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
@media (max-width: 520px) {
  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .cart-line-media img {
    width: 72px;
    height: 72px;
  }
  .cart-line-total {
    grid-column: 2;
    text-align: left;
  }
}
.cart-summary {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cart-summary h2 {
  font-size: 1.3rem;
}
.totals {
  margin: 18px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}
.totals dt {
  color: var(--muted);
}
.totals dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.totals .total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 1.2rem;
}
.totals .total dt {
  color: var(--text);
  font-weight: 700;
}
.hint.ship-where {
  margin: 0 0 12px;
}
.hint.import-note {
  margin: -4px 0 14px;
}
.free-ship-hint {
  margin: -4px 0 14px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}
.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- notices ---------- */
.notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid currentColor;
  border-radius: var(--radius-sm);
}
.notice a {
  color: inherit;
  font-weight: 700;
}
.notice-info {
  background: var(--tint);
  color: var(--text);
}
.notice-success {
  background: var(--success-bg);
  color: var(--success);
}
.notice-warning {
  background: var(--warning-bg);
  color: var(--warning);
}
.notice-error {
  background: var(--error-bg);
  color: var(--error);
}

/* ---------- content pages ---------- */
.prose {
  max-width: 70ch;
}
.prose h2 {
  margin-top: 1.8em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin: 0.35em 0;
}
.prose-page h1 + p em {
  color: var(--muted);
}
.steps {
  display: grid;
  gap: 16px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-serif);
  font-weight: 700;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.fairs {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .fairs {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
.fair {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.fair-date {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fair-name {
  margin: 0 0 4px;
}
.fair-place,
.fair-note {
  margin: 0;
  color: var(--muted);
}
.contact-card {
  margin: 24px 0 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.social a {
  margin-right: 14px;
  font-weight: 600;
}
.order-summary {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.order-summary h2,
.next-steps h2 {
  font-size: 1.25rem;
}
.order-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.order-summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
}
.order-summary .order-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}
.next-steps {
  margin: 28px 0;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 56px 0 24px;
  background: var(--footer-bg);
  color: var(--footer-text);
}
.site-footer a {
  color: var(--footer-text);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}
.footer-grid h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-grid nav a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
  opacity: 0.85;
}
.footer-grid nav a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-brand {
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}
.footer-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(227 245 247 / 20%);
  font-size: 0.85rem;
  opacity: 0.8;
}
.footer-bottom p {
  margin: 0;
}

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