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

:root {
  --cream:       #EEF0F8;   /* fundo principal — azul claro  */
  --cream-dark:  #DDE0EE;   /* bordas e separadores          */
  --espresso:    #0D0F1A;   /* texto principal no fundo      */
  --brown:       #3A3D5C;   /* texto secundário no fundo     */
  --terra:       #E8253A;   /* vermelho vibrante e moderno   */
  --terra-dark:  #C41B2E;   /* hover do vermelho             */
  --sand:        #8A8EA8;   /* muted                         */
  --white:       #161820;   /* cards escuros                 */

  --font-display: 'Poppins', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:  8px;
  --radius-lg: 16px;
  --shadow:  0 4px 24px rgba(0,0,0,.32);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.48);

  --max-w: 1260px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  font-size: 15px;
}

img { display: block; width: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

/* ——— HEADER ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--espresso);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown);
  transition: color .2s;
}

.main-nav a:hover { color: var(--terra); }

.cart-btn {
  position: relative;
  color: var(--espresso);
  transition: color .2s;
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.cart-btn:hover { color: var(--terra); }

.cart-badge {
  position: absolute;
  top: -7px;
  right: -10px;
  background: var(--terra);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  transition: .3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  padding: 24px 32px;
  gap: 20px;
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
}

.mobile-nav.open { display: flex; }

/* ——— HERO ——— */



.hero {
  width: 100%;
  min-height: 100vh; /* ocupa a altura inteira da tela */
/*  background: url('../../img1.jpg') no-repeat center center;*/
  background-size: cover; /* cobre toda a área sem cortar */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 10px 10px 10px;
}


.hero::before {
  content: '';
  position: absolute;
  inset: 0;
/*  background: radial-gradient(ellipse 60% 80% at 75% 50%, var(--cream-dark) 0%, transparent 70%);*/
  pointer-events: none;
}

.hero-content { max-width: 1960px; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--espresso);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--terra);
}

.hero-sub {
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 40px;
  max-width: 420px;
  line-height: 1.7;
}

.hero-decoration {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  pointer-events: none;
}

.hero-circle {
  width: 100%;
  height: 100%;
  border: 1px solid var(--sand);
  border-radius: 50%;
  opacity: .4;
}

.hero-dot {
  position: absolute;
  top: 24%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: var(--terra);
  border-radius: 50%;
  opacity: .15;
}

/* ——— BUTTONS ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--espresso);
  color: var(--cream);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .15s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}

.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border: 1.5px solid var(--espresso);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none;
  color: var(--espresso);
  cursor: pointer;
  transition: .2s;
}

.btn-outline:hover { background: var(--espresso); color: var(--cream); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  background: none;
  color: var(--sand);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: .2s;
  font-family: var(--font-body);
}

.btn-ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn-ghost.full-width { width: 100%; }

/* ——— FILTER BAR ——— */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  justify-content: center;
}

.filter-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--sand);
  border-radius: 40px;
  background: none;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: .2s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

/* ——— PRODUCTS SECTION ——— */
.products-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px 96px;
}

.section-header {
  text-align: center;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 4px;
}

.section-header p {
  color: var(--sand);
  font-size: 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 36px;
}

/* ——— PRODUCT CARD ——— */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card.hidden { display: none; }

.product-image-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-image-wrap img {
  height: 100%;
  transition: transform .5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-tag {
  //position: absolute;
  //top: 275px;
  left: 164px;
  background: #c08b10; //var(--terra-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 8px;
}

.quick-add {
  position: absolute;
  bottom: -40px;
  left: 14px;
  right: 14px;
  background: rgba(28,20,16,.88);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 12px;
  cursor: pointer;
  transition: bottom .3s ease, background .2s;
  backdrop-filter: blur(4px);
}

.product-card:hover .quick-add { bottom: 14px; }
.quick-add:hover { background: var(--terra); }

.product-info {
  padding: 20px 22px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--sand);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--espresso);
}

.btn-cart {
  background: var(--cream-dark);
  color: var(--espresso);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  transition: .2s;
}

.btn-cart:hover { background: var(--espresso); color: var(--cream); }

/* ——— STRIP BANNER ——— */
.strip-banner {
  background: var(--espresso);
  color: var(--cream-dark);
  overflow: hidden;
  padding: 18px 0;
}

.strip-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: strip-scroll 22s linear infinite;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
}

.strip-inner span { flex-shrink: 0; }

@keyframes strip-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ——— CART PAGE ——— */
.cart-main {
  min-height: calc(100vh - var(--header-h) - 220px);
}

.cart-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.cart-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-header-row h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
}

.back-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--terra);
  transition: opacity .2s;
}

.back-link:hover { opacity: .7; }

.cart-empty {
  text-align: center;
  padding: 96px 0;
}

.empty-icon { font-size: 64px; margin-bottom: 24px; }

.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--sand);
  margin-bottom: 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.cart-item-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--sand);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--sand);
  background: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  line-height: 1;
}

.qty-btn:hover { border-color: var(--espresso); background: var(--espresso); color: var(--cream); }

.qty-input {
  width: 44px;
  text-align: center;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  color: var(--espresso);
}

.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.cart-item-subtotal {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  min-width: 90px;
  text-align: right;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--sand);
  font-size: 14px;
  cursor: pointer;
  transition: color .2s;
  padding: 4px;
}

.remove-btn:hover { color: var(--terra); }

.cart-actions { padding-top: 24px; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 14px;
}

.summary-row em { color: var(--terra); font-style: normal; font-weight: 500; }

.free-shipping-hint {
  font-size: 12px;
  color: var(--terra);
  margin-bottom: 14px;
  text-align: center;
  background: rgba(193,101,74,.08);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1.5px solid var(--cream-dark);
  margin-bottom: 28px;
}

/* ——— FOOTER ——— */
.site-footer {
  background: var(--espresso);
  color: var(--sand);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo { color: var(--cream); margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; color: var(--sand); line-height: 1.7; }

.footer-links h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--sand);
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12px;
  color: rgba(184,168,152,.5);
}

/* ——— TOAST ——— */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--espresso);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: transform .35s, opacity .35s;
  z-index: 999;
  pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .hero-decoration { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .header-inner { padding: 0 20px; }

/*  .hero { background-image: url('../../img2.jpg');padding: 0; min-height: auto; }*/
  .hero-title { font-size: clamp(42px, 10vw, 64px); }

  .products-section { padding: 24px 20px 60px; }
  .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
     gap: 24px;
   }

  .cart-container { padding: 40px 20px 64px; }
  .cart-item { grid-template-columns: 72px 1fr; grid-template-rows: auto auto; gap: 12px; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item-qty, .cart-item-subtotal, .remove-btn { grid-column: 2; }
  .cart-item-subtotal { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr; padding: 48px 20px 32px; gap: 32px; }
  .footer-bottom { padding: 16px 20px; }

  .cart-header-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-image-wrap { height: 200px; }
  .product-name { font-size: 17px; }
  .product-price { font-size: 18px; }
}

/* ============================================================
   PRODUCT PAGE — Gallery, Lightbox, Details
   ============================================================ */

.product-page { min-height: calc(100vh - var(--header-h) - 220px); }

.product-page-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 32px 96px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sand);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--brown); transition: color .2s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span:last-child { color: var(--espresso); font-weight: 500; }

/* Product layout grid */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* ——— GALLERY ——— */
.gallery-section { position: sticky; top: calc(var(--header-h) + 24px); }

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s;
}

.main-img.fade { opacity: 0; transform: scale(1.03); }

.gallery-main .product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,250,245,.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, opacity .2s;
  opacity: 0;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery-main:hover .gallery-arrow { opacity: 1; }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-arrow:hover { background: var(--white); }

.lightbox-trigger {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(253,250,245,.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gallery-main:hover .lightbox-trigger { opacity: 1; }

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thumb {
  width: calc(25% - 8px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--cream-dark);
  transition: border-color .2s, opacity .2s;
  opacity: .65;
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.active { border-color: var(--terra); opacity: 1; }

/* ——— Product info section ——— */
.product-info-section { padding-top: 8px; }

.product-category-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}


.product-page-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}

.product-page-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 4px;
}

.product-page-installments {
  font-size: 13px;
  color: var(--sand);
  margin-bottom: 24px;
}

.product-page-desc {
  font-size: 15px;
  color: var(--brown);
  line-height: 1.75;
  margin-bottom: 28px;
  border-top: 1px solid var(--cream-dark);
  padding-top: 24px;
}

.product-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.product-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--brown);
}

.product-details-list svg { color: var(--terra); flex-shrink: 0; }

/* Add to cart form */
.add-to-cart-form { display: flex; flex-direction: column; gap: 16px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qty-row label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown);
  min-width: 80px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 4px 8px;
  background: var(--white);
}

.qty-control .qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  font-size: 18px;
  background: none;
  cursor: pointer;
  color: var(--espresso);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  line-height: 1;
}

.qty-control .qty-btn:hover { background: var(--cream-dark); }

.qty-control .qty-input {
  width: 48px;
  text-align: center;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--espresso);
  outline: none;
}

.qty-control .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-buy { flex: 1; justify-content: center; min-width: 180px; }

/* Trust badges */
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-dark);
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sand);
}

.badge svg { color: var(--terra); flex-shrink: 0; }

/* ——— RELATED PRODUCTS ——— */
.related-section { margin-top: 16px; }

.related-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-img-wrap {
  height: 220px;
  overflow: hidden;
}

.related-img-wrap img {
  height: 100%;
  transition: transform .4s;
}

.related-card:hover .related-img-wrap img { transform: scale(1.05); }

.related-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

/* ——— Gallery count badge on index cards ——— */
.product-image-wrap {
  display: block;
  position: relative;
  text-decoration: none;
}

.gallery-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(28,20,16,.6);
  color: var(--cream);
  font-size: 11px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s;
}

.product-card:hover .gallery-count { opacity: 1; }

.quick-add-label {
  position: absolute;
  bottom: -40px;
  left: 14px;
  right: 14px;
  background: rgba(28,20,16,.88);
  color: var(--cream);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 12px;
  text-align: center;
  transition: bottom .3s ease;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ——— LIGHTBOX ——— */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,6,4,.9);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox-overlay.open { opacity: 1; pointer-events: all; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 24px;
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img-wrap {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.lightbox-img-wrap img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lightbox-close:hover { background: rgba(255,255,255,.2); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}

.lightbox-arrow:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ——— Responsive: product page ——— */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-section { position: static; }

  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  .product-page-container { padding: 24px 20px 64px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cta-row { flex-direction: column; }
  .btn-buy { min-width: unset; }
  .lightbox-arrow { display: none; }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.checkout-main { min-height: calc(100vh - var(--header-h) - 220px); }

.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 96px;
}

/* Progress */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  color: var(--sand);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.step-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sand);
  transition: .25s;
}

.progress-step.active .step-num {
  border-color: var(--terra);
  background: var(--terra);
  color: #fff;
}

.progress-step.active .step-label { color: var(--espresso); }
.progress-step.done .step-num { border-color: var(--terra); color: var(--terra); }
.progress-step.done .step-label { color: var(--brown); }

.progress-line {
  width: 80px;
  height: 1.5px;
  background: var(--cream-dark);
  margin: 0 8px;
  margin-bottom: 22px;
}

/* Alert */
.alert-error {
  background: #FEF1EF;
  border: 1.5px solid #F5C6BE;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #8B2E1E;
}

.alert-error strong { display: block; margin-bottom: 8px; }
.alert-error ul { padding-left: 20px; }
.alert-error li { margin-bottom: 4px; }

/* Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* Form sections */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-num {
  width: 32px;
  height: 32px;
  background: var(--terra);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.col-2 { grid-column: 1 / -1; }

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown);
}

.form-field input,
.form-field select,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}

.form-field input::placeholder { color: var(--sand); }

.form-field input:focus,
.form-field select:focus,
.form-select:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(193,101,74,.12);
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn input { flex: 1; }

.input-btn {
  padding: 11px 16px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}

.input-btn:hover { background: var(--terra); }

/* Payment methods */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-option {
  cursor: pointer;
  display: block;
}

.pay-option input { display: none; }

.pay-option-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color .2s, background .2s;
  position: relative;
}

.pay-option input:checked + .pay-option-inner {
  border-color: var(--terra);
  background: rgba(193,101,74,.04);
}

.pay-option:hover .pay-option-inner { border-color: var(--sand); }

.pay-icon { font-size: 22px; }

.pay-label { flex: 1; }
.pay-label strong { display: block; font-size: 15px; font-weight: 500; }
.pay-label small { font-size: 12px; color: var(--sand); }

.pay-badge {
  background: var(--terra);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Card fields */
.card-fields {
  padding-top: 8px;
  animation: fadeIn .3s ease;
}

.mp-field {
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  min-height: 44px;
  transition: border-color .2s;
}

.mp-field:focus-within {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(193,101,74,.12);
}

.card-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sand);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}

/* PIX / Boleto info boxes */
.pix-info, .boleto-info { animation: fadeIn .3s ease; }

.pix-box {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: rgba(193,101,74,.05);
  border: 1.5px solid rgba(193,101,74,.2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--brown);
}

.pix-box svg { color: var(--terra); flex-shrink: 0; margin-top: 2px; }
.pix-box strong { display: block; margin-bottom: 4px; color: var(--espresso); }

/* Submit button */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, transform .15s;
  margin-top: 8px;
}

.btn-submit:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-submit:disabled { background: var(--sand); cursor: not-allowed; transform: none; }

/* Checkout summary (right column) */
.checkout-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.checkout-summary h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-item-img {
  position: relative;
  flex-shrink: 0;
}

.checkout-item-img img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  object-fit: cover;
}

.item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--espresso);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-info {
  flex: 1;
  font-size: 13px;
  color: var(--brown);
  line-height: 1.4;
}

.checkout-item-price {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.checkout-summary-rows { margin-bottom: 24px; }

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--cream-dark);
  margin-bottom: 16px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sand);
}

.trust-row svg { color: var(--terra); }

.back-to-cart {
  display: block;
  font-size: 12px;
  color: var(--sand);
  text-align: center;
  transition: color .2s;
  padding-top: 4px;
}

.back-to-cart:hover { color: var(--terra); }

/* ============================================================
   ORDER SUCCESS PAGE
   ============================================================ */

.success-main {
  min-height: calc(100vh - var(--header-h) - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.success-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.status-approved { background: rgba(58,160,78,.12); color: #2A8040; }
.status-pending  { background: rgba(193,101,74,.12); color: var(--terra); }

.success-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
}

.success-sub {
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 8px;
}

.success-email {
  font-size: 13px;
  color: var(--sand);
  margin-bottom: 32px;
}

/* PIX payment box in success */
.pix-payment-box {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.pix-payment-box h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 16px;
}

.pix-qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
}

.pix-copy-label {
  font-size: 13px;
  color: var(--sand);
  margin-bottom: 10px;
}

.pix-copy-wrap {
  display: flex;
  gap: 8px;
}

.pix-code-input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--brown);
  background: var(--white);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy {
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}

/* Boleto box in success */
.boleto-payment-box {
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.boleto-payment-box h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.boleto-payment-box p { font-size: 14px; color: var(--brown); }

/* Order summary in success */
.success-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.success-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--brown);
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.success-summary-row:last-child { border-bottom: none; font-weight: 600; }

/* Next steps */
.success-next {
  text-align: left;
  background: rgba(193,101,74,.05);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}

.success-next h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.success-next ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.success-next li { font-size: 14px; color: var(--brown); }

.success-actions { display: flex; justify-content: center; }

/* ============================================================
   RESPONSIVE — Checkout + Success
   ============================================================ */

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}

@media (max-width: 600px) {
  .checkout-container { padding: 24px 20px 64px; }
  .form-section { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.col-2 { grid-column: 1; }
  .success-card { padding: 32px 20px; }
  .progress-line { width: 40px; }
  .checkout-progress { gap: 0; }
}

/* ============================================================
   INVERTED THEME — texto claro dentro dos cards escuros
   ============================================================ */

/* Product cards — fundo escuro, texto claro */
.product-card {
  background: var(--white);
}
.product-card .product-category { color: var(--terra); }
.product-card .product-name,
.product-card .product-name a  { color: #ECEEF5; }
.product-card .product-desc    { color: #7A7E9A; }
.product-card .product-price   { color: #ECEEF5; }
.product-card .btn-cart {
  background: #23253A;
  color: #ECEEF5;
}
.product-card .btn-cart:hover {
  background: var(--terra);
  color: #fff;
}

/* Cart summary */
.cart-summary, .checkout-summary {
  background: var(--white);
}
.cart-summary h2, .checkout-summary h2 { color: #ECEEF5; }
.summary-row span, .summary-total span  { color: #9A9DB5; }
.summary-total { color: #ECEEF5; }
.summary-total span:last-child          { color: #ECEEF5; }

/* Cart items */
.cart-item { border-bottom-color: #23253A; }
.cart-item-info h3   { color: #ECEEF5; }
.cart-item-price,
.cart-item-subtotal  { color: #9A9DB5; }
.qty-btn {
  border-color: #3A3D5C;
  color: #ECEEF5;
}
.qty-input {
  border-color: #23253A;
  background: #1C1E2A;
  color: #ECEEF5;
}

/* Form sections in checkout */
.form-section {
  background: var(--white);
}
.form-section-title { color: #ECEEF5; }
.form-field label   { color: #9A9DB5; }
.form-field input,
.form-field select,
.form-select {
  background: #1C1E2A;
  border-color: #2E3048;
  color: #ECEEF5;
}
.form-field input::placeholder { color: #525470; }
.form-field input:focus,
.form-field select:focus { border-color: var(--terra); }

/* Pay options */
.pay-option-inner {
  background: #1C1E2A;
  border-color: #2E3048;
}
.pay-label strong { color: #ECEEF5; }

/* Card fields MP */
.mp-field { background: #1C1E2A; border-color: #2E3048; }

/* Cart page background contrast */
.cart-main, .checkout-main, .product-page, .success-main {
  background: var(--cream);
}

/* Success card */
.success-card { background: var(--white); }
.success-title, .success-sub, .success-email { color: #ECEEF5; }
.success-summary { background: #1C1E2A; }
.success-summary-row { color: #9A9DB5; border-bottom-color: #2E3048; }
.success-next { background: rgba(232,37,58,.07); }
.success-next h3, .success-next li { color: #ECEEF5; }

/* Header stays dark */
.site-header {
  background: #0D0F1A;
  border-bottom-color: #1C1E27;
}
.logo, .main-nav a, .cart-btn { color: #ECEEF5; }
.main-nav a:hover, .cart-btn:hover { color: var(--terra); }

/* Mobile nav */
.mobile-nav { background: #0D0F1A; border-top-color: #1C1E27; }
.mobile-nav a { color: #ECEEF5; }

/* Hero text on light bg — override */
.hero-title { color: #0D0F1A; }
.hero-sub    { color: #3A3D5C; }
.hero-eyebrow { color: var(--terra); }

/* Footer */
.site-footer { background: #0D0F1A; }

/* Strip banner */
.strip-banner { background: #0D0F1A; }

/* Filter buttons on light bg */
.filter-btn { color: #3A3D5C; border-color: #B0B4CC; }
.filter-btn:hover, .filter-btn.active {
  background: #0D0F1A;
  border-color: #0D0F1A;
  color: #ECEEF5;
}

/* Section header on light bg */
.section-header h2 { color: #0D0F1A; }
.section-header p  { color: #8A8EA8; }

/* Checkout progress labels on light bg */
.step-label { color: #8A8EA8; }
.progress-step.active .step-label { color: #0D0F1A; }

/* Checkout items text */
.checkout-item-info span { color: #9A9DB5; }
.checkout-item-price     { color: #ECEEF5; }
.trust-row               { color: #7A7E9A; }
.back-to-cart            { color: #525470; }

/* Product page on light bg */
.product-page-container .breadcrumb a  { color: #3A3D5C; }
.product-page-container .breadcrumb span:last-child { color: #0D0F1A; }
.product-info-section .product-page-name    { color: #0D0F1A; }
.product-info-section .product-page-price   { color: #0D0F1A; }
.product-info-section .product-page-installments { color: #8A8EA8; }
.product-info-section .product-page-desc    { color: #3A3D5C; }
.product-info-section .product-details-list li { color: #3A3D5C; }
.product-info-section .badge               { color: #8A8EA8; }

/* Related cards */
.related-card { background: var(--white); }
.related-info h3        { color: #ECEEF5; }
.related-info .product-category { color: var(--terra); }
.related-info .product-price    { color: #ECEEF5; }

/* Gallery section */
.gallery-main { background: #1C1E2A; }
.cart-summary .summary-row em { color: var(--terra); }

/* Fix: qty-control na página de produto (fundo claro) */
.product-info-section .qty-control {
  background: #fff;
  border-color: #DDE0EE;
}
.product-info-section .qty-control .qty-btn {
  background: #0D0F1A;
  color: #ECEEF5;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
}
.product-info-section .qty-control .qty-btn:hover {
  background: var(--terra);
}
.product-info-section .qty-control .qty-input {
  background: transparent;
  border: none;
  color: #0D0F1A;
  font-weight: 600;
}

/* Fix: carrinho — título do produto e botões qty */
.cart-item-info h3 { color: #0d0f1a; }

.cart-item .qty-btn {
  background: #787878;
  color: #ECEEF5;
  border-color: transparent;
}
.cart-item .qty-btn:hover {
  background: var(--terra);
  border-color: transparent;
}
.cart-item .qty-input {
  background: #1C1E2A;
  border-color: #2E3048;
  color: #ECEEF5;
}

.termos-scroll {
  max-height: 70vh;   /*  rea de rolagem */
  overflow-y: auto;   /* SCROLL VERTICAL */
  padding: 10px;
}

.termos-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  border-radius: 8px;
}

.termos-label {
  font-size: 16px;
  color: #111;
  cursor: pointer;
}

.termos-label a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #2563eb;
  transition: 0.2s;
}

.termos-label a:hover {
  color: #1d4ed8;
  border-bottom: 1px solid transparent;
}


.modal-termos {
  max-width: 900px;
  width: 90%;
  margin: 6vh auto;
  max-height: 90vh;   /* LIMITA altura */
  overflow: hidden;   /* impede sair pra fora */
  border-radius: 12px;
  background: #fff;
  padding: 6px 6px 6px 6px;
}

.modal-content form {
  overflow-y: auto;
  max-height: 70vh;
  padding-right: 5px; /* espa o pra scrollbar */
}

#produtos {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {
  #produtos {
    scroll-margin-top: 150px;
  }
}