/* ==========================================================================
   Stylia Boutique — public stylesheet
   Palette : ivory, sand, charcoal, antique gold, dusty rose
   Type    : Marcellus (display) + Jost (text)
   ========================================================================== */

:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --sand: #ece1d3;
  --sand-deep: #d8c7b1;
  --charcoal: #1b1a18;
  --ink: #3a3631;
  --muted: #7d7469;
  --gold: #a8843f;
  --gold-soft: #c9a86a;
  --rose: #c1958d;
  --line: rgba(27, 26, 24, 0.14);

  --display: "Marcellus", "Times New Roman", serif;
  --text: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;

  --shell: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1rem; max-width: 68ch; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--charcoal); color: var(--ivory); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Buttons & small components
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--text); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.95rem 2rem; border: 1px solid var(--charcoal);
  background: var(--charcoal); color: var(--ivory);
  cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.btn-light { background: transparent; color: var(--ivory); border-color: rgba(250, 247, 242, 0.65); }
.btn-light:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }

.btn-sm { padding: 0.65rem 1.4rem; font-size: 0.72rem; }

.rule {
  width: 54px; height: 1px; background: var(--gold); border: 0; margin: 0 0 1.5rem;
}
.section-head .rule { margin-inline: 0; }
.section-head.center { text-align: center; }
.section-head.center .rule { margin-inline: auto; }
.section-head p { color: var(--muted); }
.section-head.center p { margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }

.price {
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; color: var(--gold);
}

.kicker {
  font-size: 0.75rem; letter-spacing: 0.3em; color: var(--muted);
  margin-bottom: 1rem; display: block;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--display); font-size: 1.35rem; line-height: 1;
}
.brand-words { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.32rem; color: var(--charcoal); line-height: 1.1; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.34em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav > ul { display: flex; gap: 2rem; }
.site-nav a {
  font-size: 0.84rem; letter-spacing: 0.14em; color: var(--ink);
  position: relative; padding-bottom: 4px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--charcoal); }

.nav-whatsapp {
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--charcoal);
  border: 1px solid var(--line); padding: 0.5rem 1rem;
}
.nav-whatsapp i { color: var(--gold); }
.nav-whatsapp:hover { border-color: var(--gold); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line);
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 1px; background: var(--charcoal);
  margin: 5px auto; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type { transform: translateY(-3px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px; margin-left: auto;
}
.hero-copy h1 { margin-bottom: 0.35em; }
.hero-tagline {
  font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold); margin-bottom: 1.4rem;
}
.hero-copy p { color: var(--ink); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.hero-meta {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
.hero-meta div strong {
  display: block; font-family: var(--display); font-size: 1.6rem; color: var(--charcoal); font-weight: 400;
}
.hero-meta div span { font-size: 0.74rem; letter-spacing: 0.22em; color: var(--muted); }

.hero-visual {
  position: relative; min-height: 78vh;
  background: var(--sand) center/cover no-repeat;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(250, 247, 242, 0.5);
  pointer-events: none;
}
.hero-badge {
  position: absolute; left: 0; bottom: 48px; transform: translateX(-38%);
  background: var(--paper); padding: 1.4rem 1.8rem; max-width: 260px;
  border-left: 2px solid var(--gold);
}
.hero-badge p { margin: 0; font-size: 0.9rem; color: var(--ink); }
.hero-badge span { font-size: 0.7rem; letter-spacing: 0.22em; color: var(--muted); }

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */

.strip {
  background: var(--charcoal); color: var(--ivory);
  padding: 1rem 0; overflow: hidden;
}
.strip-track {
  display: flex; gap: 3rem; white-space: nowrap;
  font-size: 0.78rem; letter-spacing: 0.3em; color: rgba(250, 247, 242, 0.75);
  animation: drift 32s linear infinite;
}
.strip-track span::before { content: "\2022"; color: var(--gold-soft); margin-right: 3rem; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Category grid
   -------------------------------------------------------------------------- */

.cat-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.cat-card {
  position: relative; display: block; overflow: hidden;
  background: var(--sand-deep); min-height: 340px;
  border: 1px solid transparent;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.9s var(--ease); filter: saturate(0.92);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 26, 24, 0.05) 30%, rgba(27, 26, 24, 0.78) 100%);
}
.cat-card-body {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: 1.6rem 1.5rem; color: var(--ivory);
}
.cat-card-body h3 { color: var(--ivory); margin-bottom: 0.35rem; }
.cat-card-body p { color: rgba(250, 247, 242, 0.82); font-size: 0.88rem; margin: 0 0 0.6rem; }
.cat-card-body .link-underline { color: var(--gold-soft); }
.cat-card.tall { grid-row: span 2; min-height: 100%; }

.cat-count {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  background: rgba(250, 247, 242, 0.92); color: var(--charcoal);
  font-size: 0.7rem; letter-spacing: 0.14em; padding: 0.3rem 0.7rem;
}

.link-underline {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* Categories page cards (image + text stacked) */
.cat-list { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cat-feature { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cat-feature .media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.cat-feature .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cat-feature:hover .media img { transform: scale(1.05); }
.cat-feature-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.cat-feature-body p { font-size: 0.92rem; color: var(--muted); }
.cat-feature-body .btn { align-self: flex-start; margin-top: auto; }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.product-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-media {
  display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 0; left: 0; background: var(--charcoal); color: var(--ivory);
  font-size: 0.66rem; letter-spacing: 0.2em; padding: 0.4rem 0.8rem;
}
.product-body { padding: 1.35rem 1.35rem 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-cat { font-size: 0.7rem; letter-spacing: 0.22em; color: var(--muted); }
.product-body h3 { font-size: 1.16rem; margin: 0; }
.product-body p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.product-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   About / feature blocks
   -------------------------------------------------------------------------- */

.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}
.split-quote {
  border-left: 2px solid var(--gold); padding-left: 1.2rem; margin: 1.8rem 0;
  font-family: var(--display); font-size: 1.22rem; color: var(--charcoal); line-height: 1.6;
}

.feature-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature-card {
  background: var(--paper); padding: 2.2rem 1.8rem; border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-card i { font-size: 1.4rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.feature-card h3 { font-size: 1.12rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.value-list { display: grid; gap: 1.2rem; }
.value-list li { display: flex; gap: 1rem; align-items: flex-start; }
.value-list i { color: var(--gold); margin-top: 0.35rem; }
.value-list strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--charcoal); font-weight: 400; }
.value-list span { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Page banner, breadcrumbs, filters
   -------------------------------------------------------------------------- */

.page-banner {
  background: var(--charcoal); color: var(--ivory);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.page-banner h1 { color: var(--ivory); margin-bottom: 0.4rem; }
.page-banner p { color: rgba(250, 247, 242, 0.72); max-width: 60ch; margin: 0; }
.page-banner .rule { background: var(--gold-soft); }
.breadcrumbs { font-size: 0.75rem; letter-spacing: 0.16em; color: rgba(250, 247, 242, 0.6); margin-bottom: 1.2rem; }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs span { margin: 0 0.5rem; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  font-size: 0.76rem; letter-spacing: 0.14em; padding: 0.5rem 1.05rem;
  border: 1px solid var(--line); color: var(--ink); background: transparent;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.search-form { display: flex; border: 1px solid var(--line); background: var(--paper); }
.search-form input {
  border: 0; padding: 0.7rem 1rem; font-family: var(--text); font-size: 0.9rem;
  background: transparent; min-width: 200px; color: var(--ink);
}
.search-form input:focus { outline: none; }
.search-form button {
  border: 0; background: var(--charcoal); color: var(--ivory); padding: 0 1.1rem; cursor: pointer;
}
.search-form button:hover { background: var(--gold); }

.result-count { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.08em; }

.empty-state {
  text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line); background: var(--paper);
}
.empty-state i { font-size: 1.8rem; color: var(--gold); margin-bottom: 1rem; display: block; }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 0.85rem; padding: 0 0.6rem;
}
.pagination .is-current { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.detail-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr 1fr; align-items: start; }
.gallery-main {
  aspect-ratio: 3 / 4; background: var(--sand); overflow: hidden; border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.8rem; margin-top: 0.8rem; }
.gallery-thumbs button {
  padding: 0; border: 1px solid var(--line); background: var(--sand); cursor: pointer;
  aspect-ratio: 1; overflow: hidden;
}
.gallery-thumbs button.is-active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-bottom: 1.4rem; }
.detail-price { font-family: var(--display); font-size: 1.9rem; color: var(--gold); }
.detail-spec { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem; display: grid; gap: 0.8rem; }
.detail-spec div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.detail-spec dt, .detail-spec span:first-child { color: var(--muted); letter-spacing: 0.1em; font-size: 0.78rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.detail-note { font-size: 0.85rem; color: var(--muted); margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  background: var(--charcoal); color: var(--ivory); text-align: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative;
}
.cta h2 { color: var(--ivory); }
.cta p { color: rgba(250, 247, 242, 0.76); margin-inline: auto; }
.cta .rule { background: var(--gold-soft); margin-inline: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.6rem); }
.field { margin-bottom: 1.3rem; }
.field label {
  display: block; font-size: 0.76rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); background: var(--ivory);
  font-family: var(--text); font-size: 0.95rem; color: var(--ink); border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .error-text { color: #a4443a; font-size: 0.8rem; margin-top: 0.35rem; display: block; }
.field.has-error input, .field.has-error textarea { border-color: #a4443a; }
.form-row { display: grid; gap: 1.3rem; grid-template-columns: 1fr 1fr; }

.info-card { background: var(--sand); padding: clamp(1.6rem, 4vw, 2.4rem); }
.info-list { display: grid; gap: 1.4rem; }
.info-list li { display: flex; gap: 1rem; }
.info-list i { color: var(--gold); width: 20px; margin-top: 0.3rem; }
.info-list strong { display: block; font-size: 0.74rem; letter-spacing: 0.18em; color: var(--muted); font-weight: 400; }
.info-list span, .info-list a { font-size: 0.98rem; color: var(--charcoal); }
.info-list a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--charcoal); color: var(--charcoal); transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--charcoal); color: var(--ivory); }

.map-frame { margin-top: 3.5rem; border: 1px solid var(--line); background: var(--sand); min-height: 340px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; min-height: 340px; text-align: center; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: rgba(250, 247, 242, 0.72); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  padding-bottom: 3rem;
}
.footer-brand h2 { color: var(--ivory); font-size: 1.5rem; margin: 1rem 0 0.8rem; }
.footer-brand p { font-size: 0.9rem; }
.footer-col h3 { color: var(--ivory); font-size: 0.8rem; letter-spacing: 0.24em; font-family: var(--text); font-weight: 500; margin-bottom: 1.3rem; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 0.8rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); width: 16px; margin-top: 0.35rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(250, 247, 242, 0.24); color: var(--ivory); transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-base {
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  padding-block: 1.4rem; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-base p { margin: 0; font-size: 0.8rem; }
.footer-note { color: rgba(250, 247, 242, 0.45); }

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */

.toast-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999; display: grid; gap: 0.7rem; max-width: 360px; }
.toast-item {
  display: flex; align-items: center; gap: 0.7rem; background: var(--paper);
  border-left: 3px solid var(--gold); padding: 0.9rem 1.1rem; font-size: 0.9rem;
  box-shadow: 0 18px 40px rgba(27, 26, 24, 0.16); color: var(--ink);
}
.toast-success { border-left-color: #4b7d54; }
.toast-success i { color: #4b7d54; }
.toast-error { border-left-color: #a4443a; }
.toast-error i { color: #a4443a; }
.toast-info i { color: var(--gold); }
.toast-close { margin-left: auto; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--muted); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; margin-left: 0; }
  .hero-visual { min-height: 58vh; order: -1; }
  .hero-badge { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 82px 0 auto 0; background: var(--ivory);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav > ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav > ul li { border-bottom: 1px solid var(--line); }
  .site-nav > ul a { display: block; padding: 1rem 0; font-size: 0.95rem; letter-spacing: 0.1em; }
  .site-nav a::after { display: none; }
  .nav-aside { margin-top: 1.2rem; }
  .cat-card.tall { grid-row: span 1; min-height: 340px; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-form input { min-width: 0; width: 100%; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
  .hero-meta { gap: 1.5rem; }
  .btn { padding: 0.85rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
