/* ============================================
   Saknes Shop — Latvian Heritage Merch Store
   ============================================ */

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

:root {
  /* Heritage palette */
  --carmine: #9B1B30;
  --carmine-dark: #7A1526;
  --carmine-light: #B42D44;
  --cream: #F7F4EE;
  --cream-dark: #EAE4D6;
  --linen: #F0EBE2;
  --white: #FFFFFF;
  --snow: #FAFAFA;
  --ink: #1C1A15;
  --ink-mid: #4A4438;
  --ink-light: #7A7268;
  --ink-faint: #B0A898;
  --gold: #B8832A;
  --gold-light: #D4A855;
  --border: rgba(28,26,21,0.10);
  --border-mid: rgba(28,26,21,0.18);
  --border-light: #E8DDD0;
  --shadow: rgba(26,21,16,0.08);
  --shadow-heavy: rgba(26,21,16,0.16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
  min-height: 100vh;
}

a { color: var(--carmine); text-decoration: none; }
a:hover { color: var(--carmine-dark); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

/* ---- NAVIGATION ---- */
.shop-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}

.nav-left {
  display: flex; align-items: center; gap: 12px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px; width: auto;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: .05em;
}

.nav-logo-tag {
  font-size: .6rem;
  color: var(--ink-light);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-center {
  display: flex; gap: 2rem; list-style: none; align-items: center;
}

.nav-center a {
  color: var(--ink-light);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s;
}

.nav-center a:hover { color: var(--carmine); }
.nav-center a.active { color: var(--carmine); font-weight: 600; }

.nav-right {
  display: flex; align-items: center; gap: 1.2rem;
}

.nav-cta {
  background: var(--carmine);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--carmine-dark);
  color: var(--white) !important;
}

/* ---- HERO ---- */
.shop-hero {
  padding: 100px 5vw 30px;
  background: transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.shop-hero::before {
  display: none;
}

.shop-hero-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
}

.shop-hero .eyebrow {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--carmine);
  margin-bottom: 1rem;
}

.shop-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.shop-hero h1 em {
  font-style: italic;
  color: var(--carmine);
}

.shop-hero p {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- FILTERS ---- */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  min-width: 50px;
}

.filter-pills {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: transparent;
  border: 1.5px solid var(--border-mid);
  color: var(--ink-mid);
  padding: .3rem .85rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  border-radius: 20px;
  transition: all .15s;
}

.filter-pill:hover {
  border-color: var(--carmine);
  color: var(--carmine);
}

.filter-pill.active {
  background: var(--carmine);
  border-color: var(--carmine);
  color: var(--white);
}

/* ---- PRODUCT GRID ---- */
.products-section {
  padding: 20px 5vw 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.products-section h2 {
  text-align: center;
  margin-bottom: .4rem;
  font-size: 1.8rem;
}

.products-lead {
  text-align: center;
  color: var(--ink-light);
  font-size: .92rem;
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-light);
  font-style: italic;
  padding: 3rem 1rem;
  font-size: .95rem;
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--carmine);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.product-img {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}

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

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--linen) 100%);
}

.placeholder-img span {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-faint);
  font-style: italic;
  letter-spacing: .04em;
}

.placeholder-img.large {
  min-height: 300px;
}

.placeholder-img.large span {
  font-size: 1.6rem;
}

.coming-soon-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--carmine); color: var(--white);
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px;
}

.product-info {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: .3rem;
}

.product-desc {
  font-size: .8rem;
  color: var(--ink-light);
  margin-bottom: .8rem;
  line-height: 1.6;
}

.product-meta {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}

.meta-tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--border-mid);
  color: var(--ink-light);
}

.region-tag {
  border-color: var(--carmine);
  color: var(--carmine);
  background: rgba(155,27,48,0.06);
}

.parish-tag {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,131,42,0.06);
}

.cat-tag {
  border-color: var(--ink-faint);
  color: var(--ink-light);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--carmine);
  margin-bottom: .8rem;
}

.product-notify {
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.notify-text {
  font-family: var(--sans); font-size: .72rem;
  color: var(--ink-faint); font-style: italic;
}

/* ---- QUOTE SECTION ---- */
.quote-section {
  background: var(--carmine-dark);
  padding: 60px 5vw;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.65;
  font-style: italic;
  max-width: 540px;
  margin: 0 auto;
}

.quote-section blockquote em {
  color: var(--gold-light);
  font-style: italic;
}

.quote-section cite {
  display: block;
  font-family: var(--sans);
  font-size: .65rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---- PRODUCT MODAL ---- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28,26,21,0.55);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 8px;
  max-width: 900px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px var(--shadow-heavy);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ink-light);
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  transition: color .2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { color: var(--ink); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.modal-image {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.modal-details h2 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: .2rem;
}

.modal-desc {
  font-size: .92rem;
  color: var(--ink-light);
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.modal-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--carmine);
}

.modal-coming-soon {
  display: inline-block;
  background: var(--carmine);
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 4px;
  width: fit-content;
}

.btn-notify {
  background: var(--carmine);
  color: var(--white);
  border: none;
  padding: .85rem 1.8rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  border-radius: 4px;
  width: fit-content;
  margin-top: auto;
}

.btn-notify:hover { background: var(--carmine-dark); }

.btn-notify.notified {
  background: var(--gold);
  cursor: default;
}

.btn-add-cart {
  background: var(--carmine);
  color: var(--white);
  border: none;
  padding: .85rem 1.8rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  border-radius: 4px;
  width: fit-content;
  margin-top: auto;
}

.btn-add-cart:hover { background: var(--carmine-dark); }

/* ---- CART DRAWER ---- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,21,16,0.4);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--cream);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 30px var(--shadow-heavy);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 2px solid var(--carmine);
}

.cart-header h3 {
  font-size: 1.2rem;
  color: var(--ink);
}

.cart-close {
  background: none; border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink-light);
  padding: 4px;
  line-height: 1;
  transition: color .2s;
}

.cart-close:hover { color: var(--ink); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.4rem;
}

.cart-empty {
  text-align: center;
  color: var(--ink-light);
  font-style: italic;
  padding: 3rem 1rem;
  font-size: .95rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img svg {
  width: 70%;
  height: 70%;
  opacity: .3;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--serif);
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: .15rem;
}

.cart-item-meta {
  font-size: .75rem;
  color: var(--ink-light);
  margin-bottom: .5rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.qty-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border-mid);
  font-size: .9rem;
  cursor: pointer;
  color: var(--ink-mid);
  transition: all .15s;
  font-family: var(--sans);
}

.qty-btn:hover {
  border-color: var(--carmine);
  color: var(--carmine);
}

.cart-item-qty span {
  font-size: .88rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 600;
  color: var(--carmine);
  font-size: .92rem;
  white-space: nowrap;
  margin-left: .5rem;
}

.cart-item-remove {
  background: none; border: none;
  color: var(--ink-light);
  font-size: .72rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-top: .3rem;
  transition: color .2s;
}

.cart-item-remove:hover { color: var(--carmine); }

.cart-footer {
  border-top: 2px solid var(--carmine);
  padding: 1.2rem 1.4rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: .85rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.cart-total-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
}

.checkout-btn {
  display: block;
  width: 100%;
  background: var(--carmine);
  color: var(--white);
  border: none;
  padding: .9rem;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
  border-radius: 4px;
}

.checkout-btn:hover { background: var(--carmine-dark); }

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: .8rem;
  font-size: .82rem;
  color: var(--ink-light);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sans);
  text-decoration: underline;
  width: 100%;
}

.continue-shopping:hover { color: var(--ink); }

/* ---- CHECKOUT PAGE ---- */
.checkout-page {
  padding: 100px 5vw 80px;
  max-width: 900px;
  margin: 0 auto;
}

.checkout-page h1 {
  font-size: 2rem;
  margin-bottom: .4rem;
}

.checkout-lead {
  color: var(--ink-light);
  font-size: .92rem;
  margin-bottom: 2.5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.checkout-form h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--carmine);
  padding-bottom: .5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border-mid);
  background: var(--white);
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .2s;
  border-radius: 4px;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--carmine);
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 1.6rem;
  position: sticky;
  top: 80px;
  border-radius: 6px;
}

.order-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--carmine);
  padding-bottom: .5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  font-size: .88rem;
  border-bottom: 1px solid var(--border-light);
}

.summary-item-name {
  color: var(--ink);
}

.summary-item-meta {
  font-size: .75rem;
  color: var(--ink-light);
}

.summary-item-price {
  color: var(--carmine);
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 .5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.summary-total-label {
  color: var(--ink-mid);
}

.summary-total-price {
  color: var(--carmine);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.pay-btn {
  display: block;
  width: 100%;
  background: var(--carmine);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  margin-top: 1.2rem;
  border-radius: 4px;
}

.pay-btn:hover { background: var(--carmine-dark); }

.stripe-note {
  text-align: center;
  font-size: .72rem;
  color: var(--ink-light);
  margin-top: .8rem;
  font-style: italic;
}

/* ---- CONFIRMATION PAGE ---- */
.confirmation-page {
  padding: 140px 5vw 80px;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: var(--carmine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.confirmation-icon svg {
  width: 40px; height: 40px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

.confirmation-page h1 {
  font-size: 2.2rem;
  margin-bottom: .6rem;
}

.confirmation-page .lead {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.order-details {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  text-align: left;
  margin-bottom: 2rem;
  border-radius: 6px;
}

.order-details h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--carmine);
  padding-bottom: .5rem;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  font-size: .88rem;
}

.order-detail-row .label {
  color: var(--ink-light);
}

.back-to-shop {
  display: inline-block;
  background: var(--carmine);
  color: var(--white) !important;
  padding: .85rem 2rem;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s;
  border-radius: 4px;
}

.back-to-shop:hover {
  background: var(--carmine-dark);
  color: var(--white) !important;
}

/* ---- FOOTER ---- */
.shop-footer {
  background: var(--cream);
  padding: 2.5rem 5vw 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.shop-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 1.2rem;
  padding: 0;
}

.shop-footer .footer-links a {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .04em;
  transition: color .2s;
}

.shop-footer .footer-links a:hover {
  color: var(--carmine);
}

.shop-footer p {
  font-size: .72rem;
  color: var(--ink-faint);
}

.shop-footer a {
  color: var(--ink-mid);
}

.shop-footer a:hover { color: var(--carmine); }

/* ---- ORNAMENT DIVIDER ---- */
.ornament {
  text-align: center;
  color: var(--border-mid);
  font-size: 1.4rem;
  letter-spacing: .5em;
  margin: 2rem 0;
  user-select: none;
}

/* ---- CART BUTTON (checkout/confirmation) ---- */
.cart-btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  color: var(--ink);
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans);
  font-size: .85rem;
  padding: 6px 12px;
  border: 1.5px solid var(--border-mid);
  transition: all .2s;
  border-radius: 4px;
}

.cart-btn:hover {
  border-color: var(--carmine);
  color: var(--carmine);
}

.cart-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--carmine);
  color: var(--white);
  font-size: .62rem;
  font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.cart-badge.empty { display: none; }

/* Size selector (for future use) */
.size-selector {
  display: flex;
  gap: .4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.size-btn {
  background: var(--cream);
  border: 1.5px solid var(--border-mid);
  padding: .3rem .7rem;
  font-family: var(--sans);
  font-size: .75rem;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all .15s;
  min-width: 36px;
  text-align: center;
  border-radius: 4px;
}

.size-btn:hover {
  border-color: var(--carmine);
  color: var(--carmine);
}

.size-btn.selected {
  background: var(--carmine);
  border-color: var(--carmine);
  color: var(--white);
}

.add-to-cart-btn {
  margin-top: auto;
  background: var(--carmine);
  color: var(--white);
  border: none;
  padding: .75rem 1rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
  border-radius: 4px;
}

.add-to-cart-btn:hover { background: var(--carmine-dark); }
.add-to-cart-btn:active { transform: scale(.98); }
.add-to-cart-btn.added { background: var(--gold); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  animation: fadeUp .5s ease forwards;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--carmine);
  color: var(--white);
  padding: .7rem 1.6rem;
  font-family: var(--sans);
  font-size: .85rem;
  z-index: 600;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 20px var(--shadow-heavy);
  border-radius: 4px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ---- MOBILE NAV ---- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}

.mobile-menu-btn svg {
  width: 24px; height: 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-center { display: none; }
  .mobile-menu-btn { display: block; }

  .shop-hero { padding: 100px 5vw 50px; }
  .shop-hero h1 { font-size: 1.8rem; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-image {
    border-radius: 8px 8px 0 0;
    max-height: 300px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .order-summary {
    position: static;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }

  .filters-bar {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .form-row-half {
    grid-template-columns: 1fr;
  }

  .shop-nav {
    padding: 0 4vw;
  }

  .nav-logo-tag { display: none; }
  .nav-cta { display: none; }
}
