/* ====================================================
   COPPAFLORES — Loja PHP
   CSS fiel ao design React original (globals.css + componentes)
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&display=swap');

/* ── Variáveis — exatamente como globals.css ── */
:root {
  --background:        hsl(40, 33%, 97%);
  --foreground:        hsl(354, 34%, 27%);   /* #5d2e33 */

  --card:              hsl(0, 0%, 100%);
  --card-foreground:   hsl(354, 34%, 27%);

  --primary:           hsl(354, 34%, 27%);   /* #5d2e33 */
  --primary-fg:        hsl(210, 40%, 98%);

  --secondary:         hsl(24, 45%, 94%);
  --secondary-fg:      hsl(354, 34%, 27%);

  --muted:             hsl(30, 24%, 93%);
  --muted-fg:          hsl(354, 15%, 45%);

  --accent:            hsl(191, 45%, 42%);
  --accent-fg:         hsl(210, 40%, 98%);

  --destructive:       hsl(6, 78%, 55%);

  --border:            hsl(24, 24%, 86%);
  --input:             hsl(24, 24%, 86%);
  --ring:              hsl(354, 34%, 27%);

  --radius:            1rem;

  /* Sombras fiéis ao original */
  --shadow-sm:   0 12px 40px rgba(93,46,51,0.06);
  --shadow-md:   0 18px 60px rgba(93,46,51,0.08);
  --shadow-lg:   0 22px 60px rgba(93,46,51,0.14);
  --shadow-edit: 0 18px 60px rgba(93,46,51,0.12);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  /* Fonte original: Kaisei Decol (serif) — igual ao globals.css */
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 14px;
  color: #5d2e33;
  letter-spacing: 1px;
  /* Background original: radial-gradient subtil */
  background-color: hsl(40, 33%, 97%);
  background-image: radial-gradient(circle at top, rgba(255,255,255,0.9), rgba(247,241,236,0.92));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

/* Headings — todos em serif, cor primary, letter-spacing */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Kaisei Decol', Georgia, serif;
  color: #5d2e33;
  letter-spacing: 1px;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
}
ul, ol { list-style: none; }

/* ════════════════════════════════════════
   STORE UTILITIES — idênticos ao globals.css
   ════════════════════════════════════════ */

/* max-w-[1440px] px-4 sm:px-6 xl:px-8 */
.store-shell {
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .store-shell { padding: 0 1.5rem; } }
@media (min-width: 1280px) { .store-shell { padding: 0 2rem; } }

/* py-10 md:py-14 */
.store-section { padding: 2.5rem 0; }
@media (min-width: 768px) { .store-section { padding: 3.5rem 0; } }

/* rounded-[32px] border border-white/70 bg-white/90 shadow-[0_18px_60px_rgba(93,46,51,0.08)] backdrop-blur */
.store-panel {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* text-center text-2xl md:text-4xl text-primary */
.store-heading {
  text-align: center;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #5d2e33;
  letter-spacing: 1px;
}

/* mx-auto mt-3 max-w-2xl text-center text-sm leading-6 text-primary/70 md:text-base */
.store-subheading {
  margin: 0.75rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: rgba(93,46,51,0.70);
  letter-spacing: 1px;
}
@media (min-width: 768px) { .store-subheading { font-size: 1rem; } }

/* ════════════════════════════════════════
   BOTÕES
   ════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s, opacity .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary { background: #5d2e33; color: hsl(210,40%,98%); border-color: #5d2e33; }
.btn-primary:hover { background: rgba(93,46,51,0.90); }

.btn-outline { background: white; color: #5d2e33; border-color: hsl(24,24%,86%); }
.btn-outline:hover { background: hsl(30,24%,93%); }

.btn-ghost { background: transparent; color: hsl(354,15%,45%); border-color: transparent; }
.btn-ghost:hover { background: hsl(30,24%,93%); color: #5d2e33; }

.btn-sm  { padding: 0.4rem 1rem;  font-size: 0.8rem; }
.btn-lg  { padding: 0.75rem 2rem; font-size: 1rem; }

/* ════════════════════════════════════════
   INPUTS
   ════════════════════════════════════════ */
.cf-input, .cf-select, .cf-textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid hsl(24,24%,86%);
  border-radius: var(--radius);
  background: white;
  color: #5d2e33;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 1px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: #5d2e33;
  box-shadow: 0 0 0 3px rgba(93,46,51,0.10);
}
.cf-input::placeholder, .cf-textarea::placeholder { color: hsl(354,15%,45%); }
.cf-textarea { resize: vertical; min-height: 100px; }
.cf-select { appearance: none; cursor: pointer; }

.cf-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #5d2e33;
  margin-bottom: 0.35rem;
  letter-spacing: 1px;
}
.cf-field { margin-bottom: 1rem; }

/* ════════════════════════════════════════
   BADGE
   inline-flex rounded-full bg-secondary px-4 py-1
   text-xs font-semibold uppercase tracking-[0.18em] text-primary
   ════════════════════════════════════════ */
.cf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: 'Kaisei Decol', Georgia, serif;
}
.cf-badge-primary { background: hsl(24,45%,94%); color: #5d2e33; }
.cf-badge-muted   { background: hsl(30,24%,93%); color: hsl(354,15%,45%); }

/* ════════════════════════════════════════
   HEADER
   sticky top-0 z-30 border-b border-white/60
   bg-background/85 backdrop-blur-xl
   height: 137px | logo img: 117px
   ════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,0.60);
  background: rgba(247,241,236,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 137px;
  gap: 1rem;
  padding-right: 30px;
}

.site-logo {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #5d2e33;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 117px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  min-width: 0;
}
.header-nav-left  { justify-content: flex-end;  padding-right: 2rem; }
.header-nav-right { justify-content: flex-start; padding-left: 2rem; }
@media (min-width: 1280px) {
  .header-nav-left  { padding-right: 3rem; }
  .header-nav-right { padding-left: 3rem; }
}
@media (min-width: 1024px) { .header-nav { display: flex; } }

.header-nav a {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: hsl(354,15%,45%);
  white-space: nowrap;
  transition: color .2s;
}
.header-nav a:hover, .header-nav a.active { color: #5d2e33; }

/* lg:absolute lg:right-[30px] lg:top-1/2 lg:-translate-y-1/2 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .header-actions {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #5d2e33;
  cursor: pointer;
  transition: background .18s;
  text-decoration: none;
  position: relative;
}
.header-icon-btn:hover { background: hsl(30,24%,93%); }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  border-radius: 9999px;
  background: #5d2e33;
  color: hsl(210,40%,98%);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  font-family: sans-serif;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #5d2e33;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.60);
  background: rgba(247,241,236,0.97);
  padding: 1rem;
  gap: 0.75rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.9rem;
  color: hsl(354,15%,45%);
  padding: 0.3rem 0;
  letter-spacing: 1px;
}
.mobile-nav a:hover { color: #5d2e33; }

/* ════════════════════════════════════════
   FOOTER
   mt-12 border-t border-white/60 bg-[#f4ece7]
   store-shell py-10 md:py-14
   store-panel px-6 py-8 md:px-8
   grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4
   ════════════════════════════════════════ */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.60);
  background: #f4ece7;
}

.footer-shell {
  padding: 2.5rem 0;
}
@media (min-width: 768px) { .footer-shell { padding: 3.5rem 0; } }

.footer-panel {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 2rem 1.5rem;
}
@media (min-width: 768px) { .footer-panel { padding: 2rem 2rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }

/* text-sm font-semibold uppercase tracking-[0.18em] text-primary */
.footer-col h5 {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #5d2e33;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: hsl(354,15%,45%);
  letter-spacing: 1px;
  transition: color .2s;
}
.footer-col ul a:hover { color: #5d2e33; }

/* mt-8 flex flex-col gap-4 border-t border-border/70 pt-6 md:flex-row md:items-center md:justify-between */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(93,46,51,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.875rem;
  color: hsl(354,15%,45%);
  letter-spacing: 1px;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom a:hover { color: #5d2e33; }

/* ════════════════════════════════════════
   HERO SLIDER
   h-[50vh] md:h-[65vh]
   título UPPERCASE font-semibold tracking-wide
   botão bg-[#5d2e33]
   overlay: gradient-to-t from-black/40 via-black/20
   ════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 50vh;
}
@media (min-width: 768px) { .hero { height: 65vh; } }

.hero-slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.20) 40%, transparent 100%);
}

/* flex items-center justify-center text-center */
.hero-slide-content {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 1;
}

/* text-3xl md:text-5xl font-semibold tracking-wide text-white UPPERCASE */
.hero-slide-content h2 {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
  text-transform: uppercase;
}

/* mt-6 rounded-full bg-[#5d2e33] text-white */
.hero-slide-content .btn-hero {
  margin-top: 1.5rem;
  background: #5d2e33;
  color: white;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
  text-decoration: none;
}
.hero-slide-content .btn-hero:hover { background: #4a2428; }

/* bg-white/80 hover:bg-white text-neutral-900 rounded-full */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.80);
  border: none;
  color: #171717;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-arrow:hover { background: white; }
.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }

.hero-nav {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.4rem; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer; padding: 0;
  transition: background .2s, width .2s;
}
.hero-dot.active { background: white; width: 22px; }

/* ════════════════════════════════════════
   PICKS — store-panel px-4 py-5 md:px-6 md:py-6
   Carousel horizontal com scroll snap
   basis-[88%] sm:1/2 lg:1/3 xl:1/4
   ════════════════════════════════════════ */
.picks-panel {
  padding: 1.25rem 1rem;
}
@media (min-width: 768px) { .picks-panel { padding: 1.5rem; } }

.picks-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.picks-scroll::-webkit-scrollbar { display: none; }

.picks-item {
  flex: 0 0 88%;
  scroll-snap-align: start;
}
@media (min-width: 640px)  { .picks-item { flex: 0 0 calc(50% - 0.375rem); } }
@media (min-width: 1024px) { .picks-item { flex: 0 0 calc(33.333% - 0.5rem); } }
@media (min-width: 1280px) { .picks-item { flex: 0 0 calc(25% - 0.5625rem); } }

/* ════════════════════════════════════════
   PRODUCT CARD
   overflow-hidden rounded-[28px] bg-white
   shadow-[0_12px_40px_rgba(93,46,51,0.06)]
   aspect-[4/4.6]
   ════════════════════════════════════════ */
.product-card {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 40px rgba(93,46,51,0.06);
  text-decoration: none;
  color: #5d2e33;
  transition: box-shadow .3s, transform .3s;
}
.product-card:hover {
  box-shadow: 0 22px 60px rgba(93,46,51,0.14);
  transform: translateY(-2px);
}

.product-card-img {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: hsl(30,24%,93%);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.product-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #5d2e33;
  letter-spacing: 1px;
  line-height: 1.3;
}
.product-card-note { font-size: 0.8rem; color: hsl(354,15%,45%); }
.product-card-price { font-size: 0.95rem; font-weight: 600; color: #5d2e33; }

/* ════════════════════════════════════════
   CATEGORY TILES
   ════════════════════════════════════════ */
.categories-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .categories-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1280px) { .categories-grid.cols-6 { grid-template-columns: repeat(6,1fr); } }
@media (min-width: 1024px) {
  .categories-grid.cols-5 { grid-template-columns: repeat(5,1fr); }
  .categories-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 768px)  { .categories-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }

.category-tile {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: hsl(30,24%,93%);
  display: block;
  text-decoration: none;
  transition: transform .2s;
}
.category-tile:hover { transform: scale(1.02); }
.category-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.category-tile:hover img { transform: scale(1.06); }
.category-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(93,46,51,0.50) 0%, transparent 55%);
}
.category-tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.8rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.category-tile-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0.15rem;
}

/* ════════════════════════════════════════
   EDITORIAL BANNER
   min-h-[360px] rounded-[32px] border border-white/60
   shadow-[0_18px_60px_rgba(93,46,51,0.12)]
   overlay: rgba(93,46,51,0.34)
   glassmorphism card interno
   ════════════════════════════════════════ */
.editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .editorial-row { grid-template-columns: repeat(2,1fr); } }

.editorial-tile {
  position: relative;
  min-height: 360px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow: 0 18px 60px rgba(93,46,51,0.12);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.editorial-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* bg-[rgba(93,46,51,0.34)] */
.editorial-tile-overlay {
  position: absolute; inset: 0;
  background: rgba(93,46,51,0.34);
}
/* relative flex h-full min-h-[360px] items-end p-6 md:p-8 */
.editorial-tile-body {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 360px;
  align-items: flex-end;
  padding: 1.5rem;
}
@media (min-width: 768px) { .editorial-tile-body { padding: 2rem; } }

/* glassmorphism: max-w-md rounded-[28px] border border-white/20 bg-[rgba(255,255,255,0.14)] p-6 backdrop-blur-sm */
.editorial-glass {
  max-width: 28rem;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.14);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* inline-flex rounded-full bg-white/20 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-white */
.editorial-badge {
  display: inline-flex;
  border-radius: 9999px;
  background: rgba(255,255,255,0.20);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: white;
}
/* mt-4 text-2xl md:text-3xl font-semibold tracking-tight text-white */
.editorial-glass h3 {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
}
/* mt-5 rounded-full bg-white text-primary hover:bg-white/90 */
.editorial-glass .btn-editorial {
  margin-top: 1.25rem;
  background: white;
  color: #5d2e33;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 1px;
  font-family: 'Kaisei Decol', Georgia, serif;
  transition: background .2s;
  text-decoration: none;
}
.editorial-glass .btn-editorial:hover { background: rgba(255,255,255,0.90); }

/* ════════════════════════════════════════
   DISCOVER GRID
   grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3
   card: rounded-[28px] border border-white/70 bg-white/95
         shadow-[0_16px_50px_rgba(93,46,51,0.08)]
         hover: -translate-y-1
   image: aspect-[4/3.6] bg-[#f4ece7]
   ════════════════════════════════════════ */
.discover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .discover-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .discover-grid { grid-template-columns: repeat(3,1fr); } }

.discover-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 16px 50px rgba(93,46,51,0.08);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: #5d2e33;
  display: block;
}
.discover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(93,46,51,0.14);
}
/* aspect-[4/3.6] bg-[#f4ece7] */
.discover-card-img {
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: #f4ece7;
}
.discover-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.discover-card:hover .discover-card-img img { transform: scale(1.05); }

.discover-card-body { padding: 1.25rem; }

/* inline-flex rounded-full bg-secondary px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.18em] text-primary */
.discover-label {
  display: inline-flex;
  border-radius: 9999px;
  background: hsl(24,45%,94%);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #5d2e33;
}

/* mt-3 text-lg font-semibold tracking-tight */
.discover-card-body h4 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5d2e33;
}
/* mt-4 rounded-full bg-primary text-primary-foreground */
.discover-card-body .btn-discover {
  margin-top: 1rem;
  background: #5d2e33;
  color: hsl(210,40%,98%);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 1px;
  font-family: 'Kaisei Decol', Georgia, serif;
  transition: background .2s;
  text-decoration: none;
}
.discover-card-body .btn-discover:hover { background: rgba(93,46,51,0.90); }

/* ════════════════════════════════════════
   PROMO PANEL
   store-panel grid grid-cols-1 lg:grid-cols-2 p-4 md:p-6
   img: rounded-[28px] border border-white/60 bg-card overflow-hidden
   ════════════════════════════════════════ */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1rem;
}
@media (min-width: 768px)  { .promo-grid { padding: 1.5rem; } }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(2,1fr); align-items: center; } }

.promo-img-wrap {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.60);
  background: white;
}
.promo-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.promo-img-wrap:hover img { transform: scale(1.01); }

/* px-2 py-2 md:px-4 */
.promo-body { padding: 0.5rem; }
@media (min-width: 768px) { .promo-body { padding: 0.5rem 1rem; } }

.promo-badge {
  display: inline-flex;
  border-radius: 9999px;
  background: hsl(24,45%,94%);
  padding: 0.25rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #5d2e33;
  font-family: 'Kaisei Decol', Georgia, serif;
}
/* mt-4 text-2xl md:text-4xl font-semibold tracking-tight */
.promo-body h3 {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5d2e33;
}
/* mt-3 max-w-xl text-sm leading-6 text-muted-foreground md:text-base */
.promo-body p {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: hsl(354,15%,45%);
}
@media (min-width: 768px) { .promo-body p { font-size: 1rem; } }

/* mt-6 inline-flex rounded-full bg-primary px-6 py-3 text-sm font-medium */
.promo-body .btn-promo {
  margin-top: 1.5rem;
  display: inline-flex;
  border-radius: 9999px;
  background: #5d2e33;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(210,40%,98%);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: 'Kaisei Decol', Georgia, serif;
  transition: background .2s;
  text-decoration: none;
}
.promo-body .btn-promo:hover { background: rgba(93,46,51,0.90); }

/* ════════════════════════════════════════
   NEWSLETTER (bg-primary)
   ════════════════════════════════════════ */
.newsletter-section {
  background: #5d2e33;
  color: hsl(210,40%,98%);
  padding: 3.5rem 0;
  text-align: center;
}
.newsletter-section h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: hsl(210,40%,98%);
  letter-spacing: 1px;
}
.newsletter-section p {
  font-size: 0.875rem;
  color: rgba(210,195,190,0.85);
  margin-top: 0.5rem;
  letter-spacing: 1px;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.15);
  color: white;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 1px;
  outline: none;
  backdrop-filter: blur(4px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.60); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.60); }
.newsletter-form .btn-newsletter {
  background: white;
  color: #5d2e33;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form .btn-newsletter:hover { background: hsl(24,45%,94%); }

/* ════════════════════════════════════════
   PRODUCTS PAGE
   store-panel mb-6 px-5 py-8 md:px-8 — header
   lg:grid-cols-[280px_minmax(0,1fr)] xl:[300px...]
   toolbar: store-panel px-4 py-4 md:px-5
   grid: gap-4 md:gap-5
   ════════════════════════════════════════ */
.products-page-header {
  margin-bottom: 1.5rem;
  padding: 2rem 1.25rem;
}
@media (min-width: 768px) { .products-page-header { padding: 2rem 2rem; } }

.products-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .products-layout { grid-template-columns: 280px minmax(0,1fr); }
}
@media (min-width: 1280px) {
  .products-layout { grid-template-columns: 300px minmax(0,1fr); }
}

.products-sidebar {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  position: sticky;
  top: 150px;
}

.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section:last-child { margin-bottom: 0; }

.sidebar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5d2e33;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: #5d2e33;
  letter-spacing: 1px;
}
.filter-option input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #5d2e33;
  cursor: pointer; flex-shrink: 0;
}

.products-toolbar {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 768px) { .products-toolbar { padding: 1rem 1.25rem; } }

.products-count { font-size: 0.875rem; color: hsl(354,15%,45%); letter-spacing: 1px; }

.products-sort {
  padding: 0.45rem 1rem;
  border: 1px solid hsl(24,24%,86%);
  border-radius: 9999px;
  background: white;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #5d2e33;
  cursor: pointer;
  min-width: 160px;
  appearance: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .products-grid { gap: 1.25rem; } }
@media (min-width: 1280px) {
  .products-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
  .products-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
  .products-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
}

/* ════════════════════════════════════════
   PRODUCT DETAIL
   lg:grid-cols-[1.05fr_0.95fr]
   galeria: store-panel overflow-hidden p-3 → inner rounded-[28px]
   info: store-panel p-6 md:p-8
   ════════════════════════════════════════ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .product-detail { grid-template-columns: 1.05fr 0.95fr; }
}

.product-gallery-panel {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0.75rem;
}

.product-main-img {
  border-radius: 28px;
  overflow: hidden;
  background: hsl(30,24%,93%);
}
.product-main-img img {
  width: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.product-main-img:hover img { transform: scale(1.01); }

/* grid grid-cols-4 gap-3 sm:grid-cols-5 */
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) { .product-thumbs { grid-template-columns: repeat(5,1fr); } }

/* overflow-hidden rounded-2xl border bg-white p-1 shadow-sm */
.product-thumb {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsl(24,24%,86%);
  background: white;
  padding: 0.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  cursor: pointer;
  transition: border-color .18s;
}
.product-thumb.active           { border-color: #5d2e33; }
.product-thumb:hover:not(.active) { border-color: rgba(93,46,51,0.40); }
.product-thumb img {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* store-panel p-6 md:p-8 */
.product-info-panel {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}
@media (min-width: 768px) { .product-info-panel { padding: 2rem; } }

/* mt-4 text-3xl md:text-5xl font-semibold tracking-tight */
.product-title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5d2e33;
}
/* mt-3 text-2xl font-semibold */
.product-price {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #5d2e33;
}
/* mt-3 text-sm leading-6 text-muted-foreground */
.product-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: hsl(354,15%,45%);
}

.variant-groups { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }

.variant-group-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5d2e33;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* rounded-full border bg-white px-4 py-2 text-sm */
.variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(24,24%,86%);
  background: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: 'Kaisei Decol', Georgia, serif;
  letter-spacing: 1px;
  cursor: pointer;
  color: #5d2e33;
  transition: border-color .18s;
}
.variant-btn.active           { border-color: #5d2e33; }
.variant-btn:hover:not(.active) { border-color: rgba(93,46,51,0.40); }
.variant-btn:disabled         { opacity: 0.4; cursor: not-allowed; }

/* Accordion */
.accordion-item { border-bottom: 1px solid hsl(24,24%,86%); }
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 1.125rem;
  color: #5d2e33;
  letter-spacing: 1px;
  text-align: left;
}
.accordion-trigger svg { transition: transform .2s; flex-shrink: 0; }
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-content { display: none; padding-bottom: 1rem; font-size: 0.875rem; line-height: 1.5rem; color: hsl(354,15%,45%); }
.accordion-content.open { display: block; }

/* ════════════════════════════════════════
   CHECKOUT
   ════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1fr 380px; } }

.checkout-section {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.checkout-section h3 {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(24,24%,86%);
  color: #5d2e33;
  letter-spacing: 1px;
}

.checkout-grid-2 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .checkout-grid-2 { grid-template-columns: 1fr 1fr; gap: 0 1rem; } }

.order-summary {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 18px 60px rgba(93,46,51,0.08);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  position: sticky;
  top: 160px;
}
.order-summary h3 {
  font-family: 'Kaisei Decol', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #5d2e33;
  letter-spacing: 1px;
}

.order-item { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid hsl(24,24%,86%); }
.order-item:last-of-type { border-bottom: none; }
.order-item-img { width: 56px; height: 56px; border-radius: .75rem; overflow: hidden; background: hsl(30,24%,93%); flex-shrink: 0; }
.order-item-img img { width:100%;height:100%;object-fit:cover; }
.order-item-name  { font-size:.85rem;font-weight:500;letter-spacing:1px; }
.order-item-meta  { font-size:.78rem;color:hsl(354,15%,45%);margin-top:.2rem; }
.order-item-price { font-size:.88rem;font-weight:600;color:#5d2e33;white-space:nowrap;margin-left:auto; }

.order-totals { margin-top:1rem;display:flex;flex-direction:column;gap:.5rem; }
.order-total-row { display:flex;justify-content:space-between;align-items:center;font-size:.875rem; }
.order-total-row.grand { font-size:1.05rem;font-weight:700;color:#5d2e33;padding-top:.5rem;border-top:1px solid hsl(24,24%,86%);margin-top:.25rem; }

.radio-option { display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 1rem;border:1px solid hsl(24,24%,86%);border-radius:1rem;cursor:pointer;margin-bottom:.5rem;transition:border-color .18s,background .18s; }
.radio-option:hover  { border-color:#5d2e33;background:hsl(24,45%,94%); }
.radio-option.selected { border-color:#5d2e33;background:hsl(24,45%,94%); }
.radio-option input[type="radio"] { accent-color:#5d2e33;margin-top:3px; }
.radio-option-label { font-size:.875rem;font-weight:500;letter-spacing:1px; }
.radio-option-desc  { font-size:.78rem;color:hsl(354,15%,45%);margin-top:.15rem; }

/* ════════════════════════════════════════
   CART DRAWER
   ════════════════════════════════════════ */
.cart-overlay { position:fixed;inset:0;background:rgba(93,46,51,0.25);z-index:200;display:none;opacity:0;transition:opacity .25s; }
.cart-overlay.open { display:block;opacity:1; }

.cart-drawer {
  position:fixed;top:0;right:0;bottom:0;
  width:min(420px,100vw);
  background:hsl(40,33%,97%);
  background-image:radial-gradient(circle at top,rgba(255,255,255,0.9),rgba(247,241,236,0.92));
  border-left:1px solid rgba(255,255,255,0.60);
  z-index:201;display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow:-4px 0 24px rgba(93,46,51,0.12);
}
.cart-drawer.open { transform:none; }

.cart-drawer-header { display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid hsl(24,24%,86%); }
.cart-drawer-header h2 { font-family:'Kaisei Decol',Georgia,serif;font-size:1.05rem;font-weight:600;color:#5d2e33;letter-spacing:1px; }
.cart-items { flex:1;overflow-y:auto;padding:1rem 1.5rem; }
.cart-item { display:flex;gap:.875rem;padding:.875rem 0;border-bottom:1px solid hsl(24,24%,86%); }
.cart-item:last-child { border-bottom:none; }
.cart-item-img { width:64px;height:64px;border-radius:.875rem;background:hsl(30,24%,93%);overflow:hidden;flex-shrink:0; }
.cart-item-img img { width:100%;height:100%;object-fit:cover; }
.cart-item-name    { font-size:.875rem;font-weight:500;letter-spacing:1px;line-height:1.3; }
.cart-item-variant { font-size:.75rem;color:hsl(354,15%,45%);margin-top:.15rem; }
.cart-item-row     { display:flex;align-items:center;justify-content:space-between;margin-top:.5rem; }
.cart-item-price   { font-size:.9rem;font-weight:600;color:#5d2e33; }
.cart-item-remove  { font-size:.75rem;color:hsl(354,15%,45%);cursor:pointer;background:none;border:none;padding:0;font-family:inherit;letter-spacing:1px; }
.cart-item-remove:hover { color:#5d2e33; }
.cart-drawer-footer { padding:1.25rem 1.5rem;border-top:1px solid hsl(24,24%,86%);display:flex;flex-direction:column;gap:.75rem; }
.cart-total-row   { display:flex;justify-content:space-between;align-items:center; }
.cart-total-label { font-size:.875rem;color:hsl(354,15%,45%); }
.cart-total-value { font-size:1.1rem;font-weight:700;color:#5d2e33; }
.cart-drawer-btns { display:flex;gap:.5rem; }
.cart-drawer-btns .btn { flex:1; }

/* ════════════════════════════════════════
   TOAST
   ════════════════════════════════════════ */
.cf-toast-container { position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;pointer-events:none; }
.cf-toast { background:#5d2e33;color:hsl(210,40%,98%);padding:.75rem 1.25rem;border-radius:1rem;font-size:.875rem;font-weight:500;box-shadow:0 18px 60px rgba(93,46,51,0.2);animation:toast-in .25s ease;pointer-events:all;display:flex;align-items:center;gap:.5rem;font-family:'Kaisei Decol',Georgia,serif;letter-spacing:1px; }
.cf-toast.success { background:#2a6640; }
.cf-toast.error   { background:#8b1e1e; }
@keyframes toast-in { from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none} }

/* ════════════════════════════════════════
   MISC
   ════════════════════════════════════════ */
.breadcrumb { display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:hsl(354,15%,45%);margin-bottom:1.5rem;flex-wrap:wrap;letter-spacing:1px; }
.breadcrumb a:hover { color:#5d2e33; }
.breadcrumb-sep { opacity:.5; }

.placeholder-img { width:100%;height:100%;background:linear-gradient(135deg,hsl(24,30%,88%),#f4ece7);display:flex;align-items:center;justify-content:center;color:hsl(354,15%,45%);font-size:.75rem; }

.empty-state { text-align:center;padding:4rem 1rem;color:hsl(354,15%,45%); }
.empty-state h3 { font-size:1.25rem;color:#5d2e33;margin-bottom:.5rem; }
.empty-state p  { font-size:.875rem;margin-bottom:1.5rem; }

.loader { display:flex;align-items:center;justify-content:center;padding:3rem; }
.loader-spin { width:36px;height:36px;border:3px solid hsl(24,24%,86%);border-top-color:#5d2e33;border-radius:9999px;animation:spin .7s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

.alert { padding:.875rem 1.1rem;border-radius:1rem;font-size:.875rem;margin-bottom:1rem;letter-spacing:1px; }
.alert-error   { background:hsl(6,78%,96%);color:hsl(6,78%,35%);border:1px solid hsl(6,78%,85%); }
.alert-success { background:hsl(142,50%,95%);color:hsl(142,50%,28%);border:1px solid hsl(142,50%,80%); }

.pagination { display:flex;gap:.4rem;justify-content:center;margin-top:2rem;flex-wrap:wrap; }
.page-btn { width:36px;height:36px;border-radius:9999px;border:1px solid hsl(24,24%,86%);background:white;font-size:.85rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .18s,border-color .18s;color:#5d2e33;font-family:'Kaisei Decol',Georgia,serif;letter-spacing:1px; }
.page-btn.active { background:#5d2e33;color:hsl(210,40%,98%);border-color:#5d2e33; }
.page-btn:hover:not(.active) { background:hsl(30,24%,93%); }

/* Account */
@media (min-width:768px) {
  .account-layout { grid-template-columns:auto 1fr !important;align-items:start; }
  .account-layout > nav { flex-direction:column !important;width:200px;position:sticky;top:160px; }
  .account-layout > nav .btn { justify-content:flex-start !important; }
}
@media (max-width:640px) { .grid-resp { grid-template-columns:1fr !important; } }

/* Contacts / About */
@media (min-width:1024px) { .contacts-layout { grid-template-columns:1fr 1.2fr !important; } }
@media (max-width:560px)  { .contacts-form-grid { grid-template-columns:1fr !important; } }
@media (min-width:768px)  { .about-hero { grid-template-columns:1fr 1fr !important; } }

.visually-hidden { position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden; }
