:root {
  --brown-deep:  #2C1A0E;
  --brown-mid:   #5A3A22;
  --brown-warm:  #8B5E3C;
  --gold:        #C9993A;
  --gold-light:  #E8C86E;
  --cream:       #F5EFE6;
  --cream-dark:  #EDE4D6;
  --white:       #FDFAF6;
  --text:        #2C1A0E;
  --text-muted:  #7A5C42;
  --shadow:      rgba(44,26,14,0.15);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }

::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--cream-dark); }
::-webkit-scrollbar-thumb { background:var(--brown-warm); border-radius:3px; }

/* Full-width on every screen; inner content is centered via containers below.
   --content-w is the max width of centered content blocks on desktop. */
:root { --content-w: 1240px; }
.page { width: 100%; position: relative; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown-deep);
  border-bottom: 1px solid rgba(201,153,58,0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 64px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-main {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
}
.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 300;
  color: rgba(232,200,110,0.55);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 3px;
}

.hamburger {
  color: var(--gold-light);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
  transition: color 0.2s;
}
.hamburger:hover { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-btn {
  position: relative;
  color: var(--gold-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.cart-btn:hover { color: var(--gold); }

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--brown-deep);
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,10,4,0.92) 0%,
    rgba(20,10,4,0.45) 50%,
    rgba(20,10,4,0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 24px 70px;
}

.hero-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,153,58,0.5);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeUp 0.8s 0.1s ease both;
}

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

.hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,239,230,0.78);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--brown-deep);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(245,239,230,0.35);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(201,153,58,0.6), transparent);
}

/* ── SEARCH ── */
.search-wrap {
  margin: -26px 16px 0;
  position: relative;
  z-index: 10;
}
.search-box {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 8px 32px var(--shadow);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  border: 1px solid rgba(201,153,58,0.2);
}
.search-box input {
  flex: 1;
  padding: 16px 0;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box svg { flex-shrink:0; }
.search-box button {
  background: none; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center;
}

/* ── STRIP ── */
.strip {
  background: var(--gold);
  padding: 10px 20px;
  margin-top: 32px;
  display: flex;
  gap: 32px;
  overflow: hidden;
}
.strip-item {
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.strip-dot {
  width: 4px;
  height: 4px;
  background: var(--brown-mid);
  border-radius: 50%;
  opacity: 0.5;
}

/* ── SECTIONS ── */
.section { padding: 48px 20px 24px; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1;
}
.section-title span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--brown-warm);
  font-size: 1.4rem;
}

.section-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ── CATEGORIES ── */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.category {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1 / 1; /* quadrado: as fotos de categoria são 1:1 */
  text-decoration: none;
  display: block;
  transition: transform 0.3s;
}
.category:has(.cat-img)::after { display: none; } /* moldura decorativa só nos cartões sem foto */
.category:nth-child(1) { background: linear-gradient(135deg, #4A2810 0%, #7B4B2A 100%); }
.category:nth-child(2) { background: linear-gradient(135deg, #3D2A1A 0%, #6B4A30 100%); }
.category:nth-child(3) { background: linear-gradient(135deg, #5A3520 0%, #8B5830 100%); }
.category:nth-child(4) { background: linear-gradient(135deg, #2C1A0E 0%, #5A3A22 100%); }
.category:nth-child(5) { background: linear-gradient(135deg, #4A3020 0%, #7A5035 100%); }
.category:nth-child(6) { background: linear-gradient(135deg, #3A2515 0%, #6A4028 100%); }

.category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  z-index: 1;
  transition: opacity 0.3s;
}
.category::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 60%;
  border: 1px solid rgba(201,153,58,0.15);
  border-radius: 2px;
  z-index: 1;
  transition: opacity 0.3s;
}
.category:hover { transform: translateY(-3px); }
.category:hover::after { opacity: 0; }

.cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cat-icon {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 26px;
  z-index: 2;
  opacity: 0.55;
}

.cat-label {
  position: absolute;
  bottom: 12px; left: 14px;
  z-index: 2;
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  font-weight: 600;
  color: white;
  line-height: 1;
}
.cat-label small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── HIGHLIGHTS SCROLL ── */
.highlights-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.highlights-scroll::-webkit-scrollbar { display: none; }

.highlight-card {
  flex: 0 0 160px;
  background: var(--brown-deep);
  border-radius: 4px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(201,153,58,0.2);
}
.highlight-card::before {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  border: 1px solid rgba(201,153,58,0.1);
  border-radius: 50%;
}
.highlight-label {
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.3;
}
.highlight-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(201,153,58,0.55);
  text-transform: uppercase;
}

/* ── PRODUCTS ── */
.products {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(201,153,58,0.1);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.product-image {
  height: 250px;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image a { display: block; width: 100%; height: 100%; }
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SVG horse silhouette placeholder */
.product-image .placeholder {
  width: 80px;
  height: 80px;
  opacity: 0.1;
}

.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--gold);
  color: var(--brown-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.product-body { padding: 18px; }

.product-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  text-decoration: none;
  display: inline-block;
}

.product h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 7px;
}
.product h3 a { text-decoration: none; }

.product p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: 'Source Serif 4', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown-mid);
  line-height: 1.2;
}
.product-price-request {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}
.product-price small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brown-deep);
  color: white;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: 2px;
  transition: background 0.25s;
  white-space: nowrap;
}
.btn-wpp:hover { background: var(--brown-mid); }

.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--brown-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 11px 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.btn-cart:hover  { background: var(--gold-light); }
.btn-cart:active { transform: scale(0.97); }
.btn-cart--added {
  background: #27AE60;
  color: white;
  pointer-events: none;
}

/* ── ABOUT ── */
.about {
  margin: 10px 16px;
  background: linear-gradient(135deg, var(--brown-deep) 0%, #3D2210 100%);
  border-radius: 4px;
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,153,58,0.2);
}
.about::before {
  content: '◈';
  position: absolute;
  top: -30px; right: -20px;
  font-size: 140px;
  color: rgba(201,153,58,0.04);
}
.about-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.about h2 em { font-style: italic; color: var(--gold-light); }
.about p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(245,239,230,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-stats { display: flex; gap: 24px; }
.stat-num {
  font-family: 'Source Serif 4', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(245,239,230,0.45);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── PAGE HEADINGS (list/detail) ── */
.page-head {
  background: var(--brown-deep);
  padding: 36px 20px;
  border-bottom: 1px solid rgba(201,153,58,0.2);
}
.page-head .about-badge { margin-bottom: 8px; }
.page-head h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.page-head h1 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--gold-light);
}
.page-head p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(245,239,230,0.7);
  margin-top: 8px;
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
}
.pagination a, .pagination span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-deep);
  text-decoration: none;
}
.pagination a {
  border: 1px solid rgba(201,153,58,0.5);
  padding: 8px 16px;
  border-radius: 2px;
}
.pagination a:hover { background: var(--gold); }

/* ── PRODUCT DETAIL ── */
.detail { padding: 24px 20px 40px; }
.detail-image {
  height: 320px;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.detail-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-image .placeholder { width: 120px; height: 120px; opacity: 0.12; }

/* ── PRODUCT DETAIL CAROUSEL ── */
.detail-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.detail-carousel .carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.detail-carousel .carousel-slide img { width: 100%; height: 100%; object-fit: contain; }

.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(44, 26, 14, 0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: rgba(44, 26, 14, 0.8); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(44, 26, 14, 0.65);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 20px;
}
.detail h1 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown-deep);
  margin: 6px 0 12px;
}
.detail-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.detail-specs {
  margin: 0 0 24px;
  border-top: 1px solid var(--border);
}
.detail-spec-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}
.detail-spec-row dt {
  flex: 0 0 140px;
  color: var(--text-muted);
  font-weight: 500;
}
.detail-spec-row dt small {
  font-weight: 400;
  font-size: 11px;
}
.detail-spec-row dd {
  color: var(--text-main);
  margin: 0;
}
.detail-price {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brown-mid);
  margin-bottom: 20px;
}
.detail-price small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 300;
}
.btn-wpp-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: white;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 16px;
  border-radius: 4px;
  transition: filter 0.2s;
}
.btn-wpp-lg:hover { filter: brightness(0.95); }

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-cart-lg {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 16px;
  border-radius: 4px;
}

.breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.breadcrumb a { text-decoration: none; }

/* ── FOOTER ── */
footer {
  margin-top: 48px;
  background: var(--brown-deep);
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(201,153,58,0.2);
}
.footer-logo {
  font-family: 'Source Serif 4', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(232,200,110,0.45);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 24px;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(245,239,230,0.45);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-divider {
  height: 1px;
  background: rgba(201,153,58,0.15);
  margin-bottom: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(245,239,230,0.28);
  letter-spacing: 0.5px;
}

/* ── DRAWER ── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.active { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--brown-deep);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(201,153,58,0.2);
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201,153,58,0.15);
}
.drawer-logo {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.drawer-close {
  color: rgba(245,239,230,0.45);
  font-size: 22px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--gold); }

.drawer-nav { padding: 24px 0; flex: 1; overflow-y: auto; }
.drawer-section { padding: 0 24px; margin-bottom: 24px; }
.drawer-section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(201,153,58,0.45);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: rgba(245,239,230,0.75);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-bottom: 1px solid rgba(201,153,58,0.08);
  transition: color 0.2s;
}
.drawer-link:hover { color: var(--gold-light); }

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(201,153,58,0.15);
}
.drawer-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 14px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  background: var(--white);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.14);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  background: var(--brown-deep);
  border-bottom: 1px solid rgba(201,153,58,0.2);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
}
.cart-drawer-close {
  background: none; border: none;
  color: rgba(245,239,230,0.45); font-size: 20px; cursor: pointer;
  transition: color 0.2s; line-height: 1;
}
.cart-drawer-close:hover { color: var(--gold); }
.cart-drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }

.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cart-item-img {
  width: 56px; height: 56px; object-fit: cover;
  border-radius: 2px; flex-shrink: 0; background: var(--cream-dark);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: 'Source Serif 4', serif; font-size: 13px;
  color: var(--brown-deep); margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price {
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text-muted);
}
.cart-item-controls { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.qty-btn {
  width: 26px; height: 26px; background: var(--cream-dark);
  border: none; border-radius: 2px; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--brown-deep);
}
.qty-num {
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  min-width: 20px; text-align: center; color: var(--brown-deep);
}
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 11px;
  color: var(--text-muted); margin-left: auto; transition: color 0.2s;
}
.cart-item-remove:hover { color: #c0392b; }

.cart-empty-msg {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  padding: 40px; text-align: center;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text-muted);
}
.cart-empty-msg a { color: var(--gold); text-decoration: none; font-size: 13px; }


/* ── CHECKOUT (etapas: carrinho → entrega → atendimento) ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes co-pulse { 50% { opacity: 0.45; } }

.cart-drawer-body { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* Troca de etapa: desliza pro lado (avançar → esquerda, voltar → direita) */
@keyframes co-out-left  { to { opacity: 0; transform: translateX(-24px); } }
@keyframes co-out-right { to { opacity: 0; transform: translateX(24px); } }
@keyframes co-in-right  { from { opacity: 0; transform: translateX(28px); } }
@keyframes co-in-left   { from { opacity: 0; transform: translateX(-28px); } }
.co-leave-fwd  .co-pane { animation: co-out-left 0.17s ease-in forwards; pointer-events: none; }
.co-leave-back .co-pane { animation: co-out-right 0.17s ease-in forwards; pointer-events: none; }
.co-enter-fwd  .co-pane { animation: co-in-right 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.co-enter-back .co-pane { animation: co-in-left 0.3s cubic-bezier(0.2,0.8,0.2,1); }
@media (prefers-reduced-motion: reduce) {
  .co-leave-fwd .co-pane, .co-leave-back .co-pane, .co-enter-fwd .co-pane, .co-enter-back .co-pane { animation: none; }
}
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 399;
}
.cart-overlay.active { display: block; }

/* Indicador de etapas */
.co-steps {
  list-style: none; margin: 0; padding: 14px 20px 12px;
  display: flex; align-items: flex-start; flex-shrink: 0;
  border-bottom: 1px solid var(--cream-dark);
}
.co-step { flex: 1; position: relative; display: flex; justify-content: center; }
.co-step:not(:first-child)::before {
  content: ''; position: absolute; top: 11px; right: 50%; width: 100%; height: 1px;
  background: var(--cream-dark); margin-right: 14px;
}
.co-step.is-done::before, .co-step.is-current::before { background: var(--gold); }
.co-step-btn {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: none; border: none; padding: 0; font: inherit; color: inherit;
  font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.3px; color: var(--text-muted);
}
button.co-step-btn { cursor: pointer; }
button.co-step-btn:hover { color: var(--brown-deep); }
.co-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  background: var(--white); border: 1px solid var(--cream-dark); color: var(--text-muted);
}
.co-step.is-current .co-step-btn { color: var(--brown-deep); font-weight: 500; }
.co-step.is-current .co-dot { background: var(--brown-deep); border-color: var(--brown-deep); color: var(--gold-light); }
.co-step.is-done .co-dot { background: var(--gold); border-color: var(--gold); color: white; }

/* Área rolável + rodapé fixo */
.co-pane { min-height: 100%; display: flex; flex-direction: column; }
.co-actions {
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--cream-dark); margin-top: 8px;
}
.co-back {
  display: block; margin: 0 auto; padding: 12px 16px; cursor: pointer;
  background: none; border: none; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.co-back:hover { color: var(--brown-deep); background: var(--cream); }
.co-sum-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-muted);
  padding: 2px 0;
}
.co-sum-row small { font-size: 12px; }
.co-sum-total { color: var(--brown-deep); font-size: 14px; margin: 4px 0 10px; }
.co-sum-total span:last-child { font-family: 'Source Serif 4', serif; font-size: 21px; }
.co-footnote {
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text-muted);
  margin: -6px 0 10px; text-align: center;
}
.co-btn-primary {
  width: 100%; height: 50px;
  background: var(--brown-deep); color: var(--gold-light);
  border: none; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; transition: background 0.2s;
}
.co-btn-primary {
  box-shadow: 0 2px 0 rgba(0,0,0,0.25), 0 6px 14px rgba(44,26,14,0.18);
  transition: background 0.2s, transform 0.12s, box-shadow 0.12s;
}
.co-btn-primary:hover { background: var(--brown-mid); }
.co-btn-primary:active { transform: translateY(1px) scale(0.99); box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 2px 6px rgba(44,26,14,0.18); }
.co-btn-primary:focus-visible, .co-btn-wa:focus-visible, .co-seller:focus-visible, .co-back:focus-visible, .qty-btn:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.co-btn-wa { box-shadow: 0 2px 0 #1a9e4b, 0 6px 14px rgba(37,211,102,0.25); transition: background 0.2s, transform 0.12s; }
.co-btn-wa:active { transform: translateY(1px) scale(0.99); }
.qty-btn { transition: background 0.15s, transform 0.1s; }
.qty-btn:hover { background: var(--cream); }
.qty-btn:active { transform: scale(0.92); }

/* Itens mais compactos */
.cart-item { padding: 12px 20px; }
.cart-item-img { width: 52px; height: 52px; }
.cart-continue-link {
  display: block; text-align: center; margin-top: 2px; padding: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
}
.cart-continue-link:hover { color: var(--gold); }

/* Etapa 2 — entrega */
.co-reassure {
  margin: 16px 20px 4px; padding: 10px 12px;
  background: var(--cream); border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 12.5px; line-height: 1.45; color: var(--brown-mid);
}
.co-form { padding: 10px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.co-row { display: flex; gap: 10px; }
.co-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.co-row .co-field--cep { flex: 3; }
.co-row .co-field--num { flex: 2; }
.co-field label {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; color: var(--brown-mid);
}
.co-field input {
  width: 100%; box-sizing: border-box; height: 46px; padding: 0 12px;
  border: 1px solid rgba(0,0,0,0.16); border-radius: 4px; background: white;
  font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--brown-deep); /* 16px evita zoom no iOS */
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
.co-field input::placeholder { color: #b9ada0; }
.co-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,153,58,0.14); }
.co-field.is-invalid input { border-color: #c0392b; }
.co-error { font-family: 'DM Sans', sans-serif; font-size: 12px; color: #c0392b; min-height: 0; }
.co-error:empty { display: none; }
.co-muted { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-muted); margin: 0; }
.co-loading::before {
  content: ''; display: inline-block; vertical-align: -2px; margin-right: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1); border-top-color: var(--gold);
  animation: spin 0.7s linear infinite;
}
#coAddr, #coShip { display: flex; flex-direction: column; gap: 10px; }
#coAddr:empty, #coShip:empty { display: none; }
.co-address {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 4px; background: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.4; color: var(--brown-deep);
}
.co-address svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.co-address small { color: var(--text-muted); font-size: 12px; }
.co-section-label {
  margin: 4px 0 0; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; color: var(--brown-mid);
}
.co-ship-list { display: flex; flex-direction: column; gap: 8px; }
.co-ship-opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 12px; border: 1px solid rgba(0,0,0,0.12); border-radius: 4px; background: white;
  font-family: 'DM Sans', sans-serif; transition: border-color 0.2s, background 0.2s;
}
.co-ship-opt:has(input:checked) { border-color: var(--gold); background: #fdf8ee; }
.co-ship-opt input { accent-color: var(--gold); margin: 0; width: 18px; height: 18px; flex-shrink: 0; }
.co-ship-info { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--brown-deep); }
.co-ship-info strong { font-weight: 500; }
.co-ship-info small { font-size: 12px; color: var(--text-muted); }
.co-ship-price { font-size: 14px; font-weight: 500; color: var(--brown-deep); white-space: nowrap; }
.co-ship-skeleton {
  height: 46px; border-radius: 4px; background: var(--cream-dark);
  animation: co-pulse 1.2s ease-in-out infinite;
}

/* Etapa 3 — atendimento */
.co-review {
  margin: 16px 20px 0; padding: 12px 14px;
  border: 1px solid var(--cream-dark); border-radius: 6px; background: white;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--brown-deep);
}
.co-review-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.co-review-row strong { font-family: 'Source Serif 4', serif; font-size: 19px; font-weight: 600; white-space: nowrap; }
.co-review-addr {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cream-dark);
  font-size: 12px; line-height: 1.45; color: var(--text-muted);
}
.co-link {
  background: none; border: none; padding: 4px 0; cursor: pointer; flex-shrink: 0;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--gold); text-decoration: underline; text-underline-offset: 2px;
}
.co-title {
  margin: 24px 20px 4px; text-align: center;
  font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 600; color: var(--brown-deep);
}
.co-subtitle {
  margin: 0 20px 18px; text-align: center;
  font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.5; color: var(--text-muted);
}
.co-sellers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 0 20px 20px; }
.co-seller {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 10px 10px; cursor: pointer;
  background: white; border: 1px solid var(--cream-dark); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; color: var(--brown-deep);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, opacity 0.2s;
}
.co-seller:hover { box-shadow: 0 4px 16px var(--shadow); }
.co-seller:active { transform: scale(0.98); }
.co-seller:disabled { cursor: default; opacity: 0.45; }
.co-seller.is-sending { opacity: 1; border-color: #25D366; }
.co-seller-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  background: var(--cream-dark); box-shadow: 0 0 0 3px white, 0 0 0 4px var(--cream-dark);
}
.co-seller-photo--empty {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', serif; font-size: 36px; color: var(--brown-warm);
}
.co-seller-name { font-size: 16px; font-weight: 500; }
.co-seller-cta, .co-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #25D366; color: white; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
}
.co-seller-cta { width: 100%; height: 40px; font-size: 13px; background: var(--brown-deep); color: var(--gold-light); letter-spacing: 0.5px; }
.co-seller:hover { border-color: var(--gold); }
.co-seller:hover .co-seller-cta { background: var(--brown-mid); }
.co-seller.is-chosen { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.co-seller.is-chosen .co-seller-cta { background: var(--gold); color: white; }
.co-btn-wa {
  width: calc(100% - 40px); margin: 20px; height: 50px; border: none; cursor: pointer;
  font-size: 15px; text-decoration: none; box-sizing: border-box;
}
.co-btn-wa:hover { background: #1ebe5d; }
.co-btn-wa:disabled { background: #ccc; }
.co-send-error {
  margin: 0 20px 20px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: #c0392b; text-align: center;
}
.co-send-error:empty { display: none; }

/* Etapa 1 — frete no carrinho */
.co-cart-ship { padding-top: 16px; }
.co-cep-inline { display: flex; align-items: center; gap: 12px; }
.co-cep-inline input { flex: 0 1 170px; }
.co-ship-price:empty { display: none; }

/* Etapa 3 — cabeçalho com a vendedora escolhida */
.co-seller-head {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 20px 0; padding: 12px; border-radius: 6px; background: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.4; color: var(--brown-deep);
}
.co-seller-head-text { flex: 1; }
.co-seller-mini {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--cream-dark); font-size: 20px;
}
.co-ship-line {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--brown-deep);
  padding: 10px 12px; border: 1px solid var(--cream-dark); border-radius: 4px; background: white;
}
.co-footnote--left { text-align: left; margin: 0; }
.co-btn-wa--footer { width: 100%; margin: 0; }

/* Pedido enviado */
.co-done {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 0;
}
.co-done-check {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e7f8ee; color: #1a9e4b; font-size: 30px;
}
.co-done .co-btn-wa { margin: 4px 20px 12px; }
.co-done .co-footnote { margin: 0 20px 8px; }

/* ── DESKTOP NAV (horizontal menu, hidden on mobile) ── */
.nav-links { display: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,239,230,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--brown-deep);
  padding: 9px 18px;
  border-radius: 2px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--brown-deep); }

/* ── TABLET ── */
@media (min-width: 640px) {
  .categories { grid-template-columns: repeat(3, 1fr); }
}

/* ── DESKTOP ── */
@media (min-width: 900px) {
  /* Center content blocks; colored bands stay full-bleed. */
  .navbar { max-width: var(--content-w); margin: 0 auto; padding: 0 40px; height: 74px; }
  .hamburger { display: none; }
  .nav-links { display: flex; align-items: center; gap: 30px; }

  .hero { min-height: 72vh; }
  .hero-content {
    max-width: var(--content-w);
    width: 100%;
    margin: 0 auto;
    padding: 90px 40px 96px;
  }
  .hero h1 { font-size: 4.4rem; }
  .hero-desc { font-size: 1.1rem; max-width: 480px; }

  .search-wrap { max-width: 720px; margin: -34px auto 0; }

  .strip { justify-content: center; gap: 52px; }

  .section {
    max-width: var(--content-w);
    margin-left: auto;
    margin-right: auto;
    padding: 72px 40px 32px;
  }
  .section-title { font-size: 2.4rem; }
  .section-title span { font-size: 1.7rem; }

  .categories { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .cat-label { font-size: 18px; }

  .highlight-card { flex-basis: 200px; }

  .about {
    max-width: var(--content-w);
    margin: 32px auto;
    padding: 56px 60px;
  }
  .about::before { font-size: 200px; }
  .about h2 { font-size: 2.4rem; }
  .about p { font-size: 15px; max-width: 640px; }
  .about-stats { gap: 56px; }
  .stat-num { font-size: 2.2rem; }

  /* Full-bleed colored bands: center their inner content. */
  .page-head { padding: 64px 40px; }
  .page-head > * { max-width: var(--content-w); margin-left: auto; margin-right: auto; width: 100%; }
  .page-head h1 { font-size: 2.8rem; }

  footer { padding: 56px 40px 40px; }
  footer > * { max-width: var(--content-w); margin-left: auto; margin-right: auto; width: 100%; }

  /* Product detail: two columns (image + info). */
  .detail { max-width: var(--content-w); margin: 0 auto; padding: 48px 40px 56px; }
  .detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .detail-grid .detail-image { height: 460px; margin-bottom: 0; }
  .detail-info { position: sticky; top: 96px; }

  /* Setas de navegação só fazem sentido com mouse; no celular usa-se o arrastar (swipe). */
  .carousel-arrow { display: flex; }
}

/* ── WIDE (large monitors) ── */
@media (min-width: 1280px) {
  .categories { grid-template-columns: repeat(6, 1fr); }
}

/* ── SMARTPHONE: foto do card de listagem inteira, sem corte ── */
@media (max-width: 768px) {
  .product-image img {
    object-fit: contain;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes bounce {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(6px); }
}

/* ── PÁGINA DO CARRINHO (/carrinho/) ──
   Celular: uma coluna, resumo recolhível no topo. Computador (≥900px): etapa à esquerda,
   resumo fixo à direita. Os componentes (campos, frete, vendedoras, botões) são os co-* do checkout. */
.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;
}
.ck-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; height: 64px;
}
.ck-header-back {
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(245,239,230,0.75);
  text-decoration: none; padding: 8px 0; transition: color 0.2s;
}
.ck-header-back:hover { color: var(--gold-light); }

.ck { max-width: 1080px; margin: 0 auto; padding: 8px 16px 48px; }
.ck-steps .co-steps { border-bottom: none; max-width: 520px; margin: 0 auto; padding: 18px 0 14px; }
.ck-layout { display: grid; gap: 16px; }
.ck-aside { order: -1; } /* celular: resumo acima da etapa */
.ck-main {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: 10px;
  box-shadow: 0 2px 12px rgba(44,26,14,0.05); overflow: hidden;
}
.ck-main .co-pane { min-height: 0; }
.ck-title {
  margin: 24px 20px 4px; font-family: 'Source Serif 4', serif; font-weight: 600;
  font-size: 24px; line-height: 1.2; color: var(--brown-deep); text-wrap: balance; outline: none;
}
.ck-subtitle {
  margin: 0 20px 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.5;
  color: var(--text-muted); max-width: 60ch;
}
.ck-notice {
  margin: 12px 20px 0; padding: 12px 14px; border-radius: 6px;
  background: #FFF4E5; color: #7A4A12; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.45;
}
.ck-items { margin-top: 12px; border-top: 1px solid var(--cream-dark); }
.ck-items .cart-item { padding: 14px 20px; }
.ck-items .cart-item-img { width: 64px; height: 64px; border-radius: 4px; }
.ck-items .cart-item-name { white-space: normal; font-size: 15px; }
.ck-section { border-top: 1px solid var(--cream-dark); }
.ck-section-title {
  margin: 0; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--brown-deep);
}
.ck-form { padding-top: 16px; }
.ck-actions { border-top: 1px solid var(--cream-dark); padding: 18px 20px 22px; display: grid; gap: 8px; }
.ck-actions .co-btn-primary { margin-top: 4px; }
.ck-inline-totals:empty { display: none; }
.co-btn-link { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.co-back--link { text-align: center; text-decoration: none; }

/* Etapa 3: vendedoras — o cartão inteiro é o botão de envio */
.ck-sellers { padding: 18px 20px 4px; }
.co-seller-cta--wa { background: #25D366; color: white; gap: 6px; letter-spacing: 0; }
.co-seller:hover .co-seller-cta--wa { background: #1ebe5d; }
.co-seller.is-sending .co-seller-cta--wa { background: #1a9e4b; }
.ck-btn-wa { width: calc(100% - 40px); margin: 20px; }
.ck-main .co-review { margin: 8px 20px 20px; }
.ck-main .co-send-error { margin: 0 20px 12px; }

/* Pedido criado */
.ck-done { padding: 40px 0 24px; text-align: center; align-items: center; }
.ck-done .ck-title, .ck-done .ck-subtitle { margin-inline: 24px; }
.ck-done .ck-btn-wa { max-width: 420px; }

/* Resumo do pedido */
.ck-summary {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
}
.ck-summary summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-size: 14px; color: var(--brown-deep);
}
.ck-summary summary::-webkit-details-marker { display: none; }
.ck-summary summary span::after { content: ' ▾'; color: var(--text-muted); }
.ck-summary[open] summary span::after { content: ' ▴'; }
.ck-summary summary strong { font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 600; }
.ck-summary[open] summary { border-bottom: 1px solid var(--cream-dark); }
.ck-sum-items { list-style: none; margin: 0; padding: 8px 18px; display: grid; gap: 10px; }
.ck-sum-items li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--brown-deep); }
.ck-sum-items img, .ck-sum-noimg { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--cream-dark); flex-shrink: 0; }
.ck-sum-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ck-sum-name small { color: var(--text-muted); font-size: 12px; }
.ck-sum-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ck-sum-totals { padding: 10px 18px 14px; border-top: 1px solid var(--cream-dark); }
.ck-sum-totals .co-sum-total { margin-bottom: 0; }
.co-sum-row span:last-child { font-variant-numeric: tabular-nums; }

.ck-footer {
  padding: 24px 16px 32px; text-align: center;
  font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text-muted);
}

@media (min-width: 900px) {
  .ck-header { max-width: 1080px; margin: 0 auto; padding: 0 16px; height: 74px; }
  .ck { padding-top: 16px; }
  .ck-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  .ck-aside { order: 0; position: sticky; top: 96px; }
  .ck-summary summary { cursor: default; pointer-events: none; }
  .ck-summary summary span::after { content: none; }
  .ck-inline-totals { display: none; } /* no computador o resumo ao lado já mostra */
  .ck-title { font-size: 28px; margin: 28px 28px 4px; }
  .ck-subtitle, .ck-notice { margin-inline: 28px; }
  .ck-main .co-form, .ck-actions, .ck-items .cart-item, .ck-sellers { padding-inline: 28px; }
  .ck-actions { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; border-top: none; padding-bottom: 28px; }
}

/* Acabamento da página do carrinho */
.co-ship-list { border: 0; padding: 0; margin: 0; min-width: 0; }
.ck-main .co-review { padding: 12px 14px; }
.ck-main .co-review-addr { margin-top: 0; padding-top: 0; border-top: 0; align-items: flex-start; }
.ck-main .co-review-addr strong { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--brown-deep); }
.co-seller-cta--wa { height: auto; min-height: 44px; padding: 6px 8px; line-height: 1.2; text-align: center; }
.ck-back-short { display: none; }
.ck-footer { color: rgba(245,239,230,0.6); }
@media (max-width: 599px) {
  .ck-back-long { display: none; }
  .ck-back-short { display: inline; }
  .ck-header .logo-sub { display: none; }
}
@media (min-width: 900px) {
  .ck-main .co-review, .ck-main .co-send-error { margin-inline: 28px; }
  .ck-btn-wa { width: calc(100% - 56px); margin: 20px 28px; }
}
.ck-layout--single { grid-template-columns: minmax(0, 1fr) !important; max-width: 640px; margin: 0 auto; }
.page:has(.ck) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page:has(.ck) > main { flex: 1; }
.page:has(.ck) .ck-footer { margin-top: 0; }
