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

:root {
  --bg: #f5f2ee;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8278;
  --accent: #c8a97e;
  --accent-dark: #a8895e;
  --border: #e4dfda;
  --tag-bg: #eee9e3;
  --primary: #c8a97e;
  --radius: 6px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: .12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

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

.search-form { display: flex; align-items: center; }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  display: flex;
  align-items: center;
  position: relative;
  transition: opacity .2s;
}
.icon-btn:hover { opacity: .6; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-family: 'DM Sans', sans-serif;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(200px, 22vh, 300px);
  max-height: 320px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 5% 1.5rem 8%;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: .01em;
  margin-bottom: .45rem;
}
.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: var(--muted);
  max-width: 360px;
  margin-bottom: .8rem;
}
.hero-image {
  background: #d9d0c5;
  overflow: hidden;
  position: relative;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 80px;
  background: linear-gradient(to right, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d9d0c5 0%, #c4b8a8 50%, #b5a898 100%);
  color: #8a7d6e;
}
.hero-placeholder svg { margin-bottom: .5rem; opacity: .5; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  background: var(--text);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
  align-self: flex-start;
}
.btn:hover { background: #3a3a3a; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--bg); }

/* ── STATS BAR ── */
.stats {
  background: var(--text);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: .75rem 1.2rem;
}
.stat { text-align: center; font-family: 'DM Sans', sans-serif; }
.stat-num { font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; }
.stat-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #aaa; margin-top: .1rem; }

/* ── COLLECTION TABS ── */
.collection-tabs {
  display: flex;
  gap: 0;
  padding: 1.2rem 5% 0;
  border-bottom: 1px solid var(--border);
}
.collection-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 1.4rem .65rem 0;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.collection-tab:hover { color: var(--text); }
.collection-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ── SECTION HEADER ── */
.section-header {
  padding: .8rem 5% .4rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ── FILTERS ── */
.filters {
  padding: 0 5% .75rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
  border-radius: 2px;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.filter-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 .2rem;
}
.filter-available {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.filter-available input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.filter-available input[type="checkbox"]:checked {
  background: var(--text);
  border-color: var(--text);
}
.filter-available input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* ── PRODUCT GRID ── */
.products {
  padding: 1rem 5% 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.card-sold { cursor: default; }
.card-sold:hover { transform: none; box-shadow: none; }
.card-sold .card-img { opacity: .45; filter: grayscale(25%); }
.card-sold .card-body { opacity: .55; }
.card-sold .card-add { display: none; }
.card-badge-sold { background: #9a9089 !important; }

.card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--tag-bg);
  position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
}

.card-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
}

.card-wishlist {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  color: var(--muted);
}
.card:hover .card-wishlist { opacity: 1; }
.card-wishlist.liked { opacity: 1; color: #e07070; }

.card-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; gap: .4rem; }
.card-meta { margin-bottom: auto; }
.card-category {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.card-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; font-weight: 500; margin-bottom: .4rem; line-height: 1.25; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.card-price { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; }
.card-price-old {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: .4rem;
}
.card-size {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--tag-bg);
  padding: .2rem .5rem;
}
.card-add {
  width: 100%;
  padding: .7rem;
  margin-top: .6rem;
  background: var(--text);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.card-add:hover { background: #3a3a3a; }

/* ── CATEGORIES ── */
.categories {
  padding: 0 5% 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-card {
  aspect-ratio: 1;
  background: var(--tag-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s;
  text-decoration: none;
  color: var(--text);
}
.cat-card:hover { transform: scale(1.02); }
.cat-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: .2;
}
.cat-name {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.cat-count { position: relative; font-family: 'DM Sans', sans-serif; font-size: .7rem; color: var(--muted); margin-top: .2rem; }

/* ── BANNER ── */
.banner {
  margin: 0 5% 4rem;
  background: var(--text);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 280px;
}
.banner-text {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}
.banner-title { font-family: 'Fraunces', Georgia, serif; font-size: 2.4rem; font-weight: 300; line-height: 1.15; margin-bottom: 1rem; letter-spacing: .01em; }
.banner-sub { font-family: 'DM Sans', sans-serif; font-size: .85rem; color: #aaa; margin-bottom: 1.5rem; }
.banner-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  font-size: 8rem;
  letter-spacing: -.02em;
  color: #3a3a3a;
  user-select: none;
}

/* ── NEWSLETTER ── */
.newsletter {
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.newsletter-text h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: .4rem; }
.newsletter-text p { font-family: 'DM Sans', sans-serif; font-size: .82rem; color: var(--muted); }
.newsletter-form { display: flex; gap: .5rem; flex: 1; max-width: 420px; }
.newsletter-form input {
  flex: 1;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--text); }
.newsletter-form input::placeholder { color: var(--muted); }

/* ── FOOTER ── */
footer {
  padding: 3rem 5%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: var(--muted);
  max-width: 220px;
  margin-top: .7rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  padding: 1.2rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  color: var(--muted);
}
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.social-links a:hover { color: var(--text); }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: var(--surface);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 { font-size: 1rem; font-weight: normal; letter-spacing: .08em; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
}
.cart-item {
  display: flex;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.cart-item-img { width: 70px; height: 90px; background: var(--tag-bg); flex-shrink: 0; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .85rem; margin-bottom: .25rem; color: var(--text); font-family: 'Fraunces', Georgia, serif; }
.cart-item-size { font-size: .72rem; color: var(--muted); margin-bottom: .4rem; }
.cart-item-price { font-size: .9rem; font-weight: 600; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  align-self: flex-start;
  padding: 2px;
  transition: color .2s;
}
.cart-item-remove:hover { color: var(--text); }
.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.cart-total-num { font-weight: 700; }
.cart-footer { position: sticky; bottom: 0; padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface); margin: 0 -1.5rem -1rem; }
.cart-checkout-btn { width: 100%; padding: .85rem; background: var(--text); color: var(--surface); border: none; border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: opacity .2s; }
.cart-checkout-btn:hover { opacity: .85; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .7rem 1.5rem;
  border-radius: 2px;
  z-index: 300;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── PRODUCT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(.96) translateY(16px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-image {
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  min-height: 420px;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.gallery-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 .6rem;
  pointer-events: none;
  z-index: 2;
}
.gallery-btn {
  pointer-events: all;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.gallery-btn:hover { background: #fff; }
.gallery-dots {
  position: absolute;
  bottom: .6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .35rem;
  z-index: 2;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s;
}
.gallery-dot.active { background: rgba(255,255,255,.95); }
.modal-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  transition: color .2s;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.modal-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.85rem; font-weight: 400; line-height: 1.15; letter-spacing: .01em; }
.modal-brand { font-family: 'DM Sans', sans-serif; font-size: .78rem; color: var(--muted); }
.modal-divider { border: none; border-top: 1px solid var(--border); margin: .2rem 0; }
.modal-price-row { display: flex; align-items: flex-end; gap: .7rem; }
.modal-price { font-family: 'DM Sans', sans-serif; font-size: 1.6rem; font-weight: 700; }
.modal-price-old { font-family: 'DM Sans', sans-serif; font-size: .88rem; color: var(--muted); text-decoration: line-through; }
.modal-discount { font-family: 'DM Sans', sans-serif; font-size: .72rem; background: var(--accent); color: #fff; padding: .2rem .5rem; }
.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
}
.modal-spec-label { color: var(--muted); }
.modal-spec-val { color: var(--text); font-weight: 500; }
.modal-desc { font-family: 'DM Sans', sans-serif; font-size: .83rem; color: #555; line-height: 1.65; }
.modal-size-section { display: flex; flex-direction: column; gap: .55rem; }
.modal-size-label { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.modal-size-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.modal-size-btn {
  padding: .4rem .85rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}
.modal-size-btn:hover { border-color: var(--text); }
.modal-size-btn.selected { background: var(--text); color: #fff; border-color: var(--text); }
.btn-needs-size { background: var(--tag-bg) !important; color: var(--muted) !important; }
.modal-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.modal-image-sold-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.45); z-index: 2; pointer-events: none; }
.modal-sold-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; background: var(--tag-bg); color: var(--muted); border-radius: 4px; font-size: .78rem; font-weight: 500; letter-spacing: .03em; margin-bottom: .5rem; }
.modal-sold-notice { width: 100%; padding: .85rem 1rem; text-align: center; background: var(--tag-bg); border-radius: var(--radius); color: var(--muted); font-size: .88rem; }
.modal-cond-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cb85c;
  margin-right: .4rem;
  vertical-align: middle;
}

/* ── LOAD MORE ── */
.load-more-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 5% 3.5rem;
}
.load-more-count {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.load-more-track {
  width: 160px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.load-more-progress {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  transition: width .6s ease;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2.2rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.load-more-btn:hover {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.load-more-btn:hover svg { stroke: #fff; }
.load-more-btn svg { transition: transform .25s ease; }
.load-more-btn:hover svg { transform: translateY(3px); }
.load-more-btn.htmx-request {
  opacity: .55;
  cursor: wait;
  pointer-events: none;
}

/* ── HTMX loading ── */
.htmx-request .card-add { opacity: .6; cursor: wait; }
.htmx-indicator { display: none; }

#catalog-area {
  animation: catalogFadeIn .28s ease both;
}
.card.htmx-added {
  animation: cardFadeIn .35s ease both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes catalogFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#catalog-area.htmx-swapping {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

/* ── CONTACT PAGE ── */
.contact-page { max-width: 1100px; margin: 0 auto; padding: 3rem 5%; }
.contact-hero { margin-bottom: 2.5rem; }
.contact-title { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; margin-bottom: .75rem; }
.contact-intro { color: var(--muted); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.contact-left { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-row { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; line-height: 1.6; }
.contact-row a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.contact-row a:hover { color: var(--primary); }
.contact-icon { flex-shrink: 0; margin-top: 1px; color: var(--muted); }
.contact-blocks { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-block { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; }
.contact-block-title { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 500; margin-bottom: .45rem; }
.contact-block-text { color: var(--muted); line-height: 1.7; font-size: .9rem; }
.contact-right { display: flex; flex-direction: column; }
.contact-map { flex: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; display: block; border: 0; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; } .contact-map iframe { min-height: 300px; } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: unset; max-height: none; }
  .hero-text { padding: 2.5rem 6% 2rem 6%; }
  .hero-image { min-height: 160px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr; }
  .banner-deco { display: none; }
  footer { grid-template-columns: 1fr 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter-form { max-width: 100%; width: 100%; }
}

@media (max-width: 640px) {
  .modal { grid-template-columns: 1fr; }
  .modal-image { min-height: 220px; font-size: 6rem; position: static; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-image { display: none; }
  .hero-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .stats { gap: 1.5rem; font-size: .85rem; padding: .6rem 1rem; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; }
}

/* ── BOOKING MODAL ── */
.booking-modal {
  background: var(--surface);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(.96) translateY(16px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .booking-modal { transform: scale(1) translateY(0); }
.booking-modal-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.booking-modal-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; font-weight: 400; letter-spacing: .01em; }
.booking-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.booking-modal-hint { color: var(--muted); font-size: .85rem; line-height: 1.65; margin: 0; font-family: 'DM Sans', sans-serif; }
.booking-cart-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.booking-preview-item { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; gap: .5rem; font-family: 'DM Sans', sans-serif; }
.booking-preview-name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.booking-preview-price { white-space: nowrap; }
.booking-preview-total {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  font-weight: 600;
  padding-top: .55rem;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.booking-form { display: flex; flex-direction: column; gap: .85rem; }
.booking-label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking-optional { font-weight: 400; font-size: .75rem; text-transform: none; letter-spacing: 0; }
.booking-required { color: #c0392b; }
.booking-input {
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.booking-input:focus { border-color: var(--text); }
.booking-error { color: #c0392b; font-size: .8rem; font-family: 'DM Sans', sans-serif; margin: 0; }
.booking-submit-btn {
  width: 100%;
  padding: .85rem;
  background: var(--text);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  margin-top: .25rem;
}
.booking-submit-btn:hover { background: #3a3a3a; }
.booking-submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.booking-modal-success {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.booking-success-icon { color: var(--accent); }
.booking-success-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 400; margin: 0; }
.booking-success-text { color: var(--muted); font-size: .9rem; font-family: 'DM Sans', sans-serif; line-height: 1.65; margin: 0; }
.booking-success-number {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  width: 100%;
}
.booking-success-num-label { font-family: 'DM Sans', sans-serif; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.booking-success-num { font-family: 'DM Sans', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; }
.booking-success-actions { display: flex; gap: .75rem; width: 100%; flex-direction: column; margin-top: .5rem; }
