/* ============================================================
   ТРАВЕРТИН — premium / fresh design system
   Palette: warm bone, sand, terracotta/clay accent, graphite
   Fonts: Fraunces (display) + Manrope (body)
   ============================================================ */

:root {
  --bone: #f4efe6;        /* background base */
  --bone-2: #faf7f1;      /* lighter card */
  --sand: #e7dccb;        /* borders / dividers */
  --clay: #b5663f;        /* primary accent (terracotta) */
  --clay-deep: #9a5230;   /* hover accent */
  --graphite: #2b2622;    /* text */
  --muted: #6f665c;       /* secondary text */
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(43, 38, 34, .06);
  --shadow-md: 0 18px 50px rgba(43, 38, 34, .12);
  --shadow-lg: 0 30px 80px rgba(43, 38, 34, .18);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--graphite);
  background: var(--bone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--graphite);
}

.section-desc { color: var(--muted); max-width: 52ch; margin-top: .9rem; }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease),
    color .3s var(--ease), box-shadow .3s var(--ease);
  font-family: inherit;
}
.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(181, 102, 63, .28);
}
.btn-primary:hover {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(181, 102, 63, .34);
}
.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border-color: rgba(43, 38, 34, .22);
}
.btn-ghost:hover { background: rgba(43, 38, 34, .05); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
    padding .35s var(--ease);
  padding: 1.15rem 0;
}
.site-header.scrolled {
  background: rgba(244, 239, 230, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(43, 38, 34, .08);
  padding: .7rem 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.brand-name { font-family: "Fraunces", serif; font-size: 1.25rem; letter-spacing: .02em; }
.brand-dot { color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-weight: 500; font-size: .96rem; color: var(--graphite); position: relative; transition: color .25s; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--clay); transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--clay); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--graphite); color: var(--bone) !important;
  padding: .6rem 1.2rem; border-radius: 999px; transition: background .3s, transform .3s;
}
.nav-cta:hover { background: var(--clay); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--graphite); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(181,102,63,.10), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(181,102,63,.08), transparent 60%),
    linear-gradient(180deg, #faf7f1 0%, #f0e8da 100%);
}
/* travertine banding pattern */
.hero-texture::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(115deg,
      rgba(43,38,34,.035) 0px,
      rgba(43,38,34,.035) 1px,
      transparent 1px,
      transparent 26px),
    repeating-linear-gradient(60deg,
      rgba(181,102,63,.06) 0px,
      rgba(181,102,63,.06) 1px,
      transparent 1px,
      transparent 40px);
  mix-blend-mode: multiply;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,239,230,.92) 0%, rgba(244,239,230,.55) 45%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: .4rem 0 1.4rem;
}
.hero-title em { font-style: italic; color: var(--clay); }
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 50ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero-stats { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: "Fraunces", serif; font-size: 2rem; color: var(--graphite); }
.stat span { font-size: .9rem; color: var(--muted); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(43,38,34,.3);
  border-radius: 20px; z-index: 3;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  background: var(--clay); border-radius: 4px; transform: translateX(-50%);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- About ---------- */
.about { background: var(--bone-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.feature-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.f-ico { color: var(--clay); font-size: 1.2rem; line-height: 1.5; }
.feature-list b { font-weight: 600; }
.feature-list div { color: var(--muted); }
.about-media { position: relative; }
.about-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 4/5;
}
.about-card img { width: 100%; height: 100%; object-fit: cover; }
.about-tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(250,247,241,.9); backdrop-filter: blur(6px);
  padding: .55rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: var(--graphite);
}

/* ---------- Catalog ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--r-md); padding: 2rem 1.8rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--clay); transition: width .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { width: 100%; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(181,102,63,.10); color: var(--clay); font-size: 1.5rem; margin-bottom: 1.1rem;
}
.card h3 { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.card-meta { font-weight: 700; color: var(--graphite); font-size: .95rem; }

/* ---------- Process ---------- */
.process { background: var(--graphite); color: var(--bone); }
.process .eyebrow { color: #e0a07f; }
.process .section-title { color: var(--bone); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { border-top: 1px solid rgba(244,239,230,.16); padding-top: 1.5rem; position: relative; }
.step-num {
  font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--clay);
  display: block; margin-bottom: .6rem; line-height: 1;
}
.step h3 { color: var(--bone); font-size: 1.15rem; margin-bottom: .5rem; font-weight: 600; }
.step p { color: rgba(244,239,230,.7); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 1rem;
}
.g-item {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  background: linear-gradient(transparent, rgba(43,38,34,.72));
  color: var(--bone); font-size: .88rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Advantages ---------- */
.adv { background: var(--clay); color: var(--white); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.adv-item b { font-family: "Fraunces", serif; font-size: 2.8rem; display: block; line-height: 1; }
.adv-item span { opacity: .9; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-list { display: grid; gap: 1rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--r-md); padding: 0; overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; width: 16px; height: 16px; flex: none; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--clay); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-ico::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-ico::after { transform: scaleY(0); }
.faq-item p { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bone-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.contact-info { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact-info li { display: flex; flex-direction: column; }
.contact-info b { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); }
.contact-info a, .contact-info span { font-size: 1.05rem; font-weight: 500; }
.contact-form {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--r-lg); padding: 2.2rem; box-shadow: var(--shadow-sm);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .85rem 1rem;
  border: 1.5px solid var(--sand); border-radius: var(--r-sm); background: var(--bone);
  color: var(--graphite); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(181,102,63,.14);
}
.form-note { font-size: .9rem; color: var(--clay); min-height: 1.2em; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgba(244,239,230,.7); padding: 3.5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-name { color: var(--bone); font-size: 1.3rem; }
.footer-brand p { margin-top: .8rem; max-width: 32ch; font-size: .92rem; }
.footer-nav { display: grid; gap: .7rem; }
.footer-nav a:hover { color: var(--clay); }
.footer-meta { display: grid; gap: .4rem; font-size: .85rem; text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--bone-2); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.4rem; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SHOP / STORE
   ============================================================ */

/* nav cart */
.nav-cart { display: inline-flex; align-items: center; gap: .4rem; }
.cart-badge {
  min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px;
  background: var(--clay); color: #fff; font-size: .75rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* page head (inner pages) */
.page-head { padding: clamp(7rem, 11vw, 10rem) 0 2.5rem; background: var(--bone-2); }
.page-title { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; }
.page-sub { color: var(--muted); max-width: 60ch; margin-top: .8rem; }

/* product grid (shared) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md);
  overflow: hidden; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: var(--graphite); color: var(--bone); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; text-transform: uppercase;
}
.pc-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-stock {
  position: absolute; bottom: .8rem; left: .8rem; z-index: 2; font-size: .74rem; font-weight: 600;
  padding: .3rem .65rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.in-stock { background: rgba(47,125,82,.92); color: #fff; }
.out-stock { background: rgba(181,102,63,.94); color: #fff; }
.pc-body { padding: 1.2rem 1.3rem 1.4rem; }
.pc-cat { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.pc-title { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 600; margin: .3rem 0 .4rem; }
.pc-title a:hover { color: var(--clay); }
.pc-short { color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; gap: 1rem; }
.pc-price { display: flex; flex-direction: column; line-height: 1.1; }
.pc-price b { font-size: 1.15rem; font-weight: 700; }
.price-old { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.btn-sm { padding: .65rem 1.1rem; font-size: .9rem; }
.center-cta { text-align: center; margin-top: 2.6rem; }

/* catalog layout */
.catalog-page { padding-top: 3rem; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.filters {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md);
  padding: 1.6rem; position: sticky; top: 90px;
}
.filters-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.filters-head h2 { font-family: "Fraunces", serif; font-size: 1.3rem; }
.link-btn { background: none; border: 0; color: var(--clay); font-weight: 600; cursor: pointer; font-size: .9rem; }
.filter-group { border-top: 1px solid var(--sand); padding: 1rem 0; }
.filter-group h3 { font-size: .9rem; margin-bottom: .6rem; color: var(--graphite); }
.check { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; cursor: pointer; font-size: .95rem; }
.check input { accent-color: var(--clay); width: 16px; height: 16px; }
.range-row { display: flex; align-items: center; gap: .5rem; }
.range-row input { width: 100%; padding: .55rem .7rem; border: 1.5px solid var(--sand); border-radius: var(--r-sm); background: var(--bone); font-family: inherit; }
.range-row span { color: var(--muted); }

.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.result-count { color: var(--muted); font-weight: 500; }
.sort { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.sort select { padding: .55rem .8rem; border: 1.5px solid var(--sand); border-radius: var(--r-sm); background: var(--bone); font-family: inherit; font-size: .9rem; }
.empty-state { text-align: center; color: var(--muted); padding: 3rem; border: 1px dashed var(--sand); border-radius: var(--r-md); }
.filter-fab { display: none; }

/* product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; margin-top: 1.5rem; }
.pd-gallery .pd-main { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .6rem; }
.pd-thumbs .thumb { border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; padding: 0; background: none; cursor: pointer; aspect-ratio: 1; }
.pd-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .thumb.active { border-color: var(--clay); }
.pd-title { font-family: "Fraunces", serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; margin: .3rem 0 .5rem; }
.pd-short { font-size: 1.1rem; color: var(--graphite); margin-bottom: .8rem; }
.pd-stock { margin-bottom: 1rem; font-weight: 600; }
.pd-stock .in-stock, .pd-stock .out-stock { position: static; }
.pd-price { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.3rem; }
.pd-price b { font-family: "Fraunces", serif; font-size: 2rem; }
.pd-buy { display: flex; gap: 1rem; align-items: stretch; margin-bottom: 1.4rem; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: var(--bone); font-size: 1.2rem; cursor: pointer; color: var(--graphite); }
.qty input { width: 50px; height: 46px; border: 0; text-align: center; font-family: inherit; font-size: 1rem; background: var(--white); }
.qty input:focus { outline: none; }
.pd-desc { color: var(--muted); margin-bottom: 1.3rem; }
.pd-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; margin-bottom: 1.4rem; }
.spec { display: flex; justify-content: space-between; border-bottom: 1px solid var(--sand); padding: .5rem 0; font-size: .92rem; }
.spec span { color: var(--muted); }
.back-link { display: inline-block; color: var(--clay); font-weight: 600; margin-bottom: 1.2rem; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-list { display: grid; gap: 1rem; }
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 1rem; align-items: center; }
.cr-media { width: 110px; height: 90px; border-radius: var(--r-sm); overflow: hidden; }
.cr-media img { width: 100%; height: 100%; object-fit: cover; }
.cr-title { font-weight: 600; font-size: 1.05rem; }
.cr-title:hover { color: var(--clay); }
.cr-short { color: var(--muted); font-size: .85rem; margin: .2rem 0 .6rem; }
.cr-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 999px; overflow: hidden; }
.cr-qty button { width: 32px; height: 34px; border: 0; background: var(--bone); cursor: pointer; font-size: 1rem; }
.cr-qty input { width: 44px; height: 34px; border: 0; text-align: center; font-family: inherit; background: var(--white); }
.cr-qty input:focus { outline: none; }
.cr-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cr-price b { font-size: 1.1rem; }
.cr-price span { display: block; font-size: .76rem; color: var(--muted); }
.cr-remove { background: none; border: 0; color: var(--clay); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.cart-summary, .checkout-summary { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 1.6rem; position: sticky; top: 90px; }
.cart-summary h2, .checkout-summary h2 { font-family: "Fraunces", serif; font-size: 1.4rem; margin-bottom: 1rem; }
.cs-row { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--muted); }
.cs-total { border-top: 1px solid var(--sand); margin-top: .5rem; padding-top: .9rem; font-size: 1.1rem; color: var(--graphite); }
.cs-total b { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--graphite); }
.cs-note { font-size: .82rem; color: var(--muted); margin: .8rem 0 1.2rem; }
.cart-empty, .cs-done, .cs-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty h2 { font-family: "Fraunces", serif; font-size: 1.8rem; margin-bottom: .6rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.4rem; }
.cs-done h2 { color: var(--clay); font-family: "Fraunces", serif; margin-bottom: .6rem; }
.cs-done p { color: var(--muted); margin-bottom: 1.2rem; }

/* checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.checkout-form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-md); padding: 2rem; }
.checkout-form h2 { font-family: "Fraunces", serif; font-size: 1.3rem; margin-bottom: 1rem; }
.checkout-summary .cs-item { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .92rem; border-bottom: 1px solid var(--sand); }

/* responsive shop */
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 200; border-radius: 0; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
  .filters.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .filter-fab { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 150; background: var(--clay); color: #fff; border: 0; padding: .9rem 1.4rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-md); cursor: pointer; }
  .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cr-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cr-media { width: 80px; height: 70px; }
  .pd-specs { grid-template-columns: 1fr; }
}
