/* =========================================
   OH GLÓRIA! — Design System
   ========================================= */

@font-face {
  font-family: 'Gebuk';
  src: url('../assets/fonts/gebuk-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Berling Roman';
  src: url('../assets/fonts/BerlingRoman.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

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

:root {
  --cream:       #ECE5DD;
  --cream-2:     #F5F1EB;
  --white:       #FFFFFF;
  --brown:       #6D5D4C;
  --brown-dark:  #574A3D;
  --green-bar:   #527551;
  --green:       #397E37;
  --green-dark:  #2E6A2C;
  --green-deep:  #37432E;
  --green-pale:  #9EA792;
  --ink:         #000000;
  --line:        rgba(0, 0, 0, 0.1);

  --font-logo:    'Gebuk', sans-serif;
  --font-display: 'Berling Roman', serif;
  --font-body:    'Montserrat', sans-serif;

  --header-height: 84px;
  --bar-height: 38px;
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.section-title-letreiro {
  height: clamp(48px, 6vw, 80px);
  width: auto;
  object-fit: contain;
}
.section-title-letreiro-sm {
  height: clamp(40px, 4.8vw, 64px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(57,126,55,0.28); }

.btn-sm { padding: 9px 28px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.75);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline-dark:hover,
.btn-outline-dark:active { background: var(--green); border-color: var(--green); color: var(--white); }

/* =========================================
   ANNOUNCEMENT BAR (marquee)
   ========================================= */

.adbar {
  height: var(--bar-height);
  background: var(--green-bar);
  color: var(--cream-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}

.adbar-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  padding-left: 56px;
}

.adbar-track span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   HEADER
   ========================================= */

header {
  position: fixed;
  top: calc(var(--bar-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  width: min(100% - 48px, 1060px);
  height: 66px;
  border-radius: 100px;
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 40px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

header.scrolled {
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 36px rgba(0,0,0,0.14);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 42px; width: auto; }
.logo span {
  font-family: var(--font-logo);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  transform: translateY(2px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-item {
  position: relative;
  height: 66px;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-inner {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.16);
  padding: 22px 26px;
}
.nav-dropdown-inner a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-inner a::after { display: none; }
.nav-dropdown-inner a:hover {
  background: var(--cream-2);
  color: var(--green-dark);
}
.nav-dropdown-produtos {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0 32px;
  width: auto;
}
.nav-dropdown-categorias {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-icons button {
  display: flex;
  align-items: center;
  color: var(--ink);
  position: relative;
}

.search-btn, .cart-open-btn {
  transition: width 0.2s ease, opacity 0.15s ease;
}
.header-icons.searching .search-btn,
.header-icons.searching .cart-open-btn {
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.search-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 0;
  padding: 0;
  background: var(--cream-2);
  border-radius: 100px;
  white-space: nowrap;
  transition: width 0.3s ease, padding 0.3s ease;
}
.header-icons.searching .search-form {
  width: 230px;
  padding: 6px 6px 6px 18px;
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
}
.search-form input::placeholder {
  color: var(--brown);
  opacity: 0.7;
}
.search-form button {
  display: flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-count.is-visible {
  display: flex;
}

.header-icons .menu-toggle { display: none; }

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 92vh;
  overflow: hidden;
  background: var(--brown);
}
.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(236,229,221,0) 0%, rgba(236,229,221,0.35) 70%, var(--cream) 100%);
  pointer-events: none;
}
.hero-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero img.hero-letreiro {
  width: min(780px, 84vw);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero img.hero-letreiro { width: min(700px, 94vw); transform: scale(1.25); }
  .hero-cta .btn-glass { font-size: 11px; }
}

.btn-glass {
  padding: 11px 24px;
  font-size: 12px;
  background: rgba(255,255,255,0.24);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.btn-glass:hover { background: rgba(255,255,255,0.36); transform: translateY(-2px); }

/* =========================================
   SECTION SPACING
   ========================================= */

section { padding: 96px 0; }
#destaques { padding-top: 48px; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 56px;
}
.section-head p {
  max-width: 520px;
  color: rgba(0,0,0,0.65);
  font-size: 15px;
}

/* =========================================
   DESTAQUES / PRODUCT GRID
   ========================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.product-grid-5 .product-name { font-size: 11px; }
.product-grid-5 .product-media { max-width: 88%; margin: 0 auto 16px; }
.product-grid-5 .product-info-row { max-width: 88%; margin: 0 auto; }

@media (min-width: 721px) {
  .product-grid-5 .product-add { padding: 7px 12px; font-size: 10.5px; }
  .product-grid-5 .product-add svg { width: 13px; height: 13px; }
}
#ecobags-carousel-section .container { width: min(100% - 48px, 1600px); }
.ecobags-carousel-wrap { position: relative; }
.ecobags-carousel-wrap .carousel-arrow { display: none; }

.product-card {
  display: flex;
  flex-direction: column;
  scroll-margin-top: 140px;
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-2);
  margin-bottom: 16px;
}
.product-media a { display: block; width: 100%; height: 100%; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.product-card[data-category="canecas"] .product-media img {
  object-position: center 68%;
}
.product-card[data-category="ecobag"] .product-media img {
  object-position: center 70%;
}
.product-card[data-category="ecobag"] .product-media img[data-sku="sku-ecobag-flores"] {
  object-position: center 85%;
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-info-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}
.product-info { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; gap: 4px; text-decoration: none; color: inherit; }
.product-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { font-size: 14px; color: rgba(0,0,0,0.6); }

.product-add {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.product-add:hover { background: var(--green); border-color: var(--green); color: var(--white); }

.destaques-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* =========================================
   PÁGINA DE PRODUTO (PDP)
   ========================================= */

.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}

.pdp-gallery { position: sticky; top: 120px; }
.pdp-gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery-main-placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(0,0,0,0.28);
}
.pdp-gallery-main-placeholder span { font-size: 13px; letter-spacing: 0.02em; }
.pdp-gallery-main.is-empty img { display: none; }
.pdp-gallery-main.is-empty .pdp-gallery-main-placeholder { display: flex; }

.pdp-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.pdp-thumb {
  flex: 0 0 calc((100% - 48px) / 5);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--cream-2);
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.active { opacity: 1; border-color: var(--green); }
.pdp-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.25);
  border-style: dashed;
  border-color: rgba(0,0,0,0.18);
}
.pdp-thumb.placeholder:hover { color: rgba(0,0,0,0.4); border-color: rgba(0,0,0,0.3); }

.pdp-info { display: flex; flex-direction: column; padding-top: 8px; }
.pdp-info .eyebrow { margin-bottom: 14px; }
.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.pdp-price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--green-dark);
  margin-bottom: 24px;
}
.pdp-variants { margin-bottom: 24px; }
.pdp-variants[hidden] { display: none; }
.pdp-variants-label {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.pdp-variants-options { display: flex; align-items: center; gap: 12px; }
.pdp-variant-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pdp-variant-swatch:hover { transform: scale(1.1); }
.pdp-variant-swatch.active { border-color: var(--green-dark); box-shadow: 0 0 0 2px var(--cream), inset 0 0 0 1px rgba(0,0,0,0.15); }
.pdp-variant-name-sep { color: rgba(0,0,0,0.3); font-family: var(--font-body); }
.pdp-variant-name { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.6); }
.pdp-variant-pill {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pdp-variant-pill:hover { border-color: var(--green); }
.pdp-variant-pill.active { background: var(--green); border-color: var(--green); color: var(--white); }
.pdp-description {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(0,0,0,0.68);
  max-width: 65ch;
  margin-top: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.pdp-description p { margin: 0 0 16px; }
.pdp-description p:last-child { margin-bottom: 0; }
.pdp-description strong { font-weight: 700; color: rgba(0,0,0,0.85); }
.pdp-description ul, .pdp-description ol {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.pdp-description ol { list-style: decimal; }
.pdp-description li { margin-bottom: 6px; }
.pdp-description li:last-child { margin-bottom: 0; }

.pdp-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.pdp-qty {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
}
.pdp-qty button {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  width: 18px;
}
.pdp-qty span { min-width: 12px; text-align: center; font-weight: 600; }
.pdp-add { flex: 1; padding: 17px 28px; }

.pdp-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pdp-meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}
.pdp-meta svg { flex-shrink: 0; color: var(--green-dark); }

@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
}

/* Carrossel "Você também pode gostar" */
.pdp-related { padding-top: 40px; }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-prev { left: -23px; }
.carousel-next { right: -23px; }
.carousel-arrow:hover { background: var(--green); color: var(--white); }
.carousel-arrow.is-disabled { opacity: 0.35; pointer-events: none; }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
  .pdp-actions { flex-direction: column; align-items: stretch; }
  .pdp-qty { justify-content: center; }
}

/* =========================================
   CATEGORIAS
   ========================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%);
}
.category-card:hover img { transform: scale(1.08); }
.category-label {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
}

/* Fan de cards animado — só desktop/tablet, ver breakpoints */
#category-grid-mobile { display: grid; }
.fan-layout {
  display: none;
  position: relative;
  height: 380px;
  margin-top: 8px;
}
.fan-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 307px;
  margin-left: -115px;
  margin-top: -153px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
  opacity: 1;
  will-change: transform;
  backface-visibility: hidden;
}
.fan-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-biblia { object-position: center 78%; }
a[href*="categoria=canecas"].category-card img,
a[href*="categoria=canecas"].fan-card img {
  object-position: center 76%;
}
.fan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.6) 100%);
}
.fan-card-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
}

@media (min-width: 900px) {
  .fan-layout { display: flex; align-items: center; justify-content: center; }
  #category-grid-mobile { display: none; }
}

/* =========================================
   PROPÓSITO / BRAND STORY
   ========================================= */

.purpose {
  background: var(--cream-2);
}
.purpose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.purpose-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.purpose-media img { width: 100%; height: 100%; object-fit: cover; }
.purpose-text .eyebrow { display: block; margin-bottom: 18px; }
.purpose-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.25;
  margin-bottom: 22px;
  font-weight: 400;
}
.purpose-text p {
  color: rgba(0,0,0,0.68);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 480px;
}

.brand-quote {
  padding: 56px 0;
}
.brand-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--green-dark);
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================
   EDITORIAL BANNER (Jardim do Éden)
   ========================================= */

.editorial {
  background: var(--green-deep);
  color: var(--cream-2);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
.editorial-media { position: relative; min-height: 420px; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.editorial-text {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.editorial-text .eyebrow { color: rgba(236,229,221,0.75); }
.editorial-text h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.15;
}
.editorial-text p {
  color: rgba(236,229,221,0.8);
  font-size: 15px;
  line-height: 1.8;
  max-width: 400px;
}
.editorial-text .ref {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(236,229,221,0.65);
}
.editorial-text .btn-outline { align-self: flex-start; margin-top: 8px; }

#editorial-ecobags-section { padding-top: 4px; padding-bottom: 20px; }
#editorial-ecobags-section .container { width: min(100% - 48px, 1040px); }
.ecobags-banner { position: relative; display: block; border-radius: 28px; overflow: hidden; }
.ecobags-banner-img { width: 100%; height: auto; display: block; }
.ecobags-banner-titulo {
  position: absolute;
  left: 4.6%;
  top: 22.4%;
  width: 31.6%;
  height: auto;
}
.ecobags-banner-texto {
  position: absolute;
  left: 4.6%;
  top: 45.1%;
  width: 36.8%;
  height: auto;
}
.ecobags-banner-btn {
  position: absolute;
  left: 4.5%;
  top: 67%;
}

@media (max-width: 700px) {
  .ecobags-banner-btn { padding: 8px 16px; font-size: 9.5px; }
}

/* =========================================
   VELA 3D — SELEÇÃO DE COR
   ========================================= */

.vela3d-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.vela3d-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vela3d-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vela3d-text { display: flex; flex-direction: column; gap: 18px; max-width: 460px; }
.vela3d-letreiro {
  align-self: flex-start;
  margin-bottom: -6px;
}
.vela3d-text p {
  color: rgba(0,0,0,0.68);
  font-size: 15.5px;
  line-height: 1.8;
}
.vela3d-tom-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: -4px;
}
.vela3d-swatches { display: flex; align-items: center; gap: 12px; }
.vela3d-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.vela3d-swatch:hover { transform: scale(1.1); }
.vela3d-swatch.active { border-color: var(--green-dark); box-shadow: 0 0 0 2px var(--cream), inset 0 0 0 1px rgba(0,0,0,0.1); }
.vela3d-swatch-label { font-size: 13px; color: rgba(0,0,0,0.55); margin-left: 4px; }
.vela3d-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
  color: rgba(0,0,0,0.55);
}
.vela3d-details li { position: relative; padding-left: 14px; }
.vela3d-details li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}
.vela3d-text .btn-primary { align-self: flex-start; margin-top: 8px; }

@media (max-width: 900px) {
  .vela3d-inner { grid-template-columns: 1fr; gap: 28px; }
  .vela3d-text { max-width: none; display: contents; }
  .vela3d-letreiro { order: 1; }
  .vela3d-media { order: 2; }
  .vela3d-tom-label { order: 3; margin-top: -26px; }
  .vela3d-swatches { order: 4; margin-top: -18px; }
  .vela3d-text p { order: 5; }
  .vela3d-details { order: 6; }
  .vela3d-text .btn-primary { order: 7; justify-self: center; }
}

/* =========================================
   TRUST BADGES
   ========================================= */

#badges { background: #E6DACE; }
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.badge svg { width: 40px; height: 40px; stroke: var(--green-dark); }
.badge h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge p { font-size: 13.5px; color: rgba(0,0,0,0.6); max-width: 240px; }

/* =========================================
   INSTAGRAM STRIP
   ========================================= */

.instagram { text-align: center; }
.instagram .section-head { margin-bottom: 40px; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.instagram-grid a {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.instagram-grid a:hover img { transform: scale(1.08); }

/* =========================================
   NEWSLETTER
   ========================================= */

.newsletter {
  background: var(--brown);
  color: var(--white);
  border-radius: 28px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  max-width: 380px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 440px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 15px 22px;
  color: var(--white);
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }

/* =========================================
   FOOTER
   ========================================= */

footer {
  background: var(--brown);
  color: var(--white);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand .logo span { color: var(--white); }
.footer-brand img { height: 30px; margin-bottom: 14px;}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 13.5px; max-width: 260px; margin-top: 12px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col p { font-size: 14px; color: rgba(255,255,255,0.9); }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-links { display: flex; gap: 20px; }

/* =========================================
   CART DRAWER
   ========================================= */

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 300;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; }

.cart-shipping-bar { margin-bottom: 18px; }
.cart-shipping-bar[hidden] { display: none; }
.cart-shipping-msg { font-size: 12.5px; margin-bottom: 8px; }
.cart-shipping-track { height: 6px; border-radius: 100px; background: rgba(0,0,0,0.08); overflow: hidden; }
.cart-shipping-fill { height: 100%; width: 0%; background: #b3441e; border-radius: 100px; transition: width 0.35s ease, background 0.35s ease; }
.cart-shipping-bar.is-complete .cart-shipping-fill { background: var(--green); }
.cart-shipping-bar.is-complete .cart-shipping-msg { color: var(--green-dark); font-weight: 600; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: flex; gap: 14px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-item-name { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty button {
  width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.cart-empty { text-align: center; color: rgba(0,0,0,0.5); padding: 60px 0; font-size: 14px; }

.cart-footer { padding: 24px 28px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 16px; }
.cart-subtotal strong { font-family: var(--font-display); font-size: 20px; font-weight: 400; }
.cart-footer .btn-primary { width: 100%; }

.cart-checkout-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-checkout-form[hidden] { display: none; }
.cart-checkout-form input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  width: 100%;
}
.cart-checkout-form input::placeholder { color: var(--brown); opacity: 0.6; }
.cart-checkout-error { color: #b3441e; font-size: 12.5px; margin-bottom: 10px; }

/* =========================================
   PAGE HEADER / BREADCRUMB (catálogo, sobre, contato)
   ========================================= */

.page-head {
  padding: 156px 0 40px;
}
.breadcrumb {
  font-size: 12.5px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(0,0,0,0.5); }
.breadcrumb a:hover { color: var(--ink); }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
}
.page-head-letreiro { display: block; }

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-tab:hover { border-color: var(--ink); }
.filter-tab.active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

.empty-state {
  padding: 80px 0;
  text-align: center;
}
.empty-state p {
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(0,0,0,0.55);
}

/* =========================================
   SIMPLE PAGE HERO (sobre / contato)
   ========================================= */

.simple-hero {
  position: relative;
  height: clamp(240px, 38vw, 420px);
  width: 100%;
  overflow: hidden;
  background: var(--green-pale);
}
.simple-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-color: var(--green-dark);
  -webkit-mask-image: url('../assets/logo/simbolo-preto-pattern-v2.png');
  mask-image: url('../assets/logo/simbolo-preto-pattern-v2.png');
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: 46px 41px;
  mask-size: 46px 41px;
  opacity: 0.12;
}
.simple-hero-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  z-index: 2;
  gap: 10px;
  padding: 0 24px;
}
.simple-hero-letreiro {
  width: min(846px, 77vw);
  height: auto;
  object-fit: contain;
}

/* =========================================
   VALUES / PILLARS (sobre)
   ========================================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-card .num {
  height: 40px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
  margin-bottom: 4px;
}
.value-card h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.value-card p { font-size: 14px; color: rgba(0,0,0,0.65); line-height: 1.75; }

/* =========================================
   CONTATO
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-policies {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 24px; height: 24px; stroke: var(--green-dark); }
.contact-card h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.contact-card p { font-size: 14px; color: rgba(0,0,0,0.65); line-height: 1.7; }
.contact-card a.link { font-size: 14px; font-weight: 600; color: var(--green-dark); }
.contact-card a.link:hover { text-decoration: underline; }

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet (721–1024px): grid de 3 colunas pra imagens não ficarem gigantes
   nem sobrar espaço vazio entre preço e botão — não mexe em mobile/desktop */
@media (min-width: 721px) and (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .product-name { -webkit-line-clamp: 3; min-height: 4.2em; }
}

@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-inner { grid-template-columns: 1fr; gap: 36px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-media { min-height: 320px; }
  .editorial-text { padding: 44px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter { flex-direction: column; align-items: flex-start; padding: 44px; }
  .newsletter-form { max-width: 100%; width: 100%; }
}

/* =========================================
   MOBILE MENU
   ========================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 24px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 32px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .main-nav, .header-icons .search-btn { display: none; }
  .header-icons .menu-toggle { display: flex; }
  header { width: min(100% - 32px, 1160px); height: 66px; }
  .header-inner { padding: 0 22px; gap: 14px; }
  .header-icons { gap: 16px; }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
  .category-card {
    position: static;
    aspect-ratio: auto;
    display: block;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }
  .category-card img {
    position: static;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
  .category-card::after { display: none; }
  .category-label {
    position: static;
    display: block;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 6px;
  }
  .badges { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .badge { gap: 8px; }
  .badge svg { width: 26px; height: 26px; }
  .badge h3 { font-size: 10.5px; letter-spacing: 0.03em; }
  .badge p { font-size: 10px; line-height: 1.4; max-width: none; }
  .destaques-footer .btn { padding: 12px 26px; font-size: 11px; }
  section { padding: 64px 0; }
  .hero { aspect-ratio: 4/5; max-height: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .simple-hero { height: 360px; }

  .product-info-row { gap: 6px; align-items: flex-end; }
  .product-name { font-size: 11px; }
  .product-price { font-size: 12px; }
  .product-add {
    align-self: flex-end;
    margin-bottom: 5px;
    gap: 2px;
    padding: 6px 9px;
    font-size: 9.5px;
  }
  .product-add svg { width: 12px; height: 12px; }

  #ecobags-carousel-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
    padding-bottom: 4px;
  }
  #ecobags-carousel-grid::-webkit-scrollbar { display: none; }
  #ecobags-carousel-grid .product-card {
    flex: 0 0 calc(44% - 5px);
    scroll-snap-align: start;
  }
  .product-grid-5 .product-media { max-width: 92%; }
  .ecobags-carousel-wrap .carousel-arrow { display: flex; top: 35%; width: 38px; height: 38px; }
  .ecobags-carousel-wrap .carousel-prev { left: 2px; }
  .ecobags-carousel-wrap .carousel-next { right: 2px; }
}

/* =========================================
   LEGAL CONTENT (Política de Privacidade, Trocas e Devoluções)
   ========================================= */

.legal-content {
  max-width: 740px;
  margin: 0 auto;
}
.legal-content > p.legal-updated {
  color: rgba(0,0,0,0.5);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--green-dark);
  margin: 44px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  color: rgba(0,0,0,0.72);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 14px;
}
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-content li {
  color: rgba(0,0,0,0.72);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 720px) {
  .legal-content h2 { margin: 34px 0 12px; }
}
