/* ==========================================================================
   Emma Colchoes - Main Stylesheet
   Complete rewrite with exact HTML class names
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #ffa236;
  --color-primary-hover: #e88f2a;
  --color-text-primary: #403833;
  --color-text-secondary: #58524e;
  --color-blue: #3c4196;
  --color-green: #287d54;
  --color-green-light: #e8f5e9;
  --color-red: #da1f00;
  --color-bg-light: #f9f7f6;
  --color-bg-white: #ffffff;
  --color-border-light: #e8e5e2;
  --color-border-medium: #d0cbc6;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.section-cta {
  text-align: center;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  text-decoration: none;
  border: none;
  line-height: 1.4;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* --------------------------------------------------------------------------
   5. Promo Bar
   -------------------------------------------------------------------------- */
.promo-bar {
  background-color: var(--color-text-primary);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13px;
}

.promo-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-main {
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-primary);
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-emma {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  text-transform: lowercase;
  font-family: var(--font-serif);
  line-height: 1;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Desktop */
.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-desktop a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-primary);
  position: relative;
  transition: color 0.2s;
}

.header-btn:hover {
  color: var(--color-primary);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-primary);
  position: relative;
  transition: color 0.2s;
}

.search-toggle:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   7. Search Bar
   -------------------------------------------------------------------------- */
.search-bar {
  display: none;
  background: #ffffff;
  padding: 15px 0;
  border-top: 1px solid var(--color-border-light);
}

.search-bar.open {
  display: block;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--color-primary);
}

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   8. Mobile Nav
   -------------------------------------------------------------------------- */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

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

.nav-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.nav-mobile-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  z-index: 1;
}

.nav-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border-light);
}

.nav-mobile-header button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-content a {
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #f0ede9;
  display: block;
  transition: color 0.2s;
}

.nav-mobile-content a:hover {
  color: var(--color-primary);
}

.nav-mobile-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 10px 0;
}

/* --------------------------------------------------------------------------
   9. Cart Drawer
   -------------------------------------------------------------------------- */
.cart-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.cart-drawer.open {
  display: block;
}

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cart-drawer-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-text-secondary);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
  color: var(--color-text-secondary);
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Cart Drawer Items (rendered by JS) */
.cart-drawer-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-drawer-item:last-child {
  border-bottom: none;
}

.cart-drawer-item img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-drawer-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-drawer-item-info .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.cart-drawer-item-info .variant {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
}

.qty-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.qty-btn:last-child {
  border-radius: 0 4px 4px 0;
}

.qty {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.cart-drawer-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-drawer-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #999;
  padding: 0;
  line-height: 1;
}

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

/* Success & Error Pages */
.success-page,
.error-page {
  text-align: center;
  padding: 80px 20px;
}

.success-icon {
  margin-bottom: 24px;
}

.success-page h1,
.error-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 64px;
  color: var(--color-primary);
}

.success-page p,
.error-page p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.success-details {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 24px;
  margin: 24px auto;
  max-width: 500px;
}

.success-details p {
  margin-bottom: 8px;
}

.error-page h2 {
  font-size: 24px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   10. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--color-bg-light);
  padding: 48px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-promo-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  align-self: flex-start;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--color-text-primary);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.hero-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   10b. Proteste Bar
   -------------------------------------------------------------------------- */
.proteste-bar {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid #e5e0db;
  padding: 16px 0;
}

.proteste-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.proteste-bar-inner span {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.proteste-sub {
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   10c. Trust Bar (horizontal)
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 20px 0;
  border-bottom: 1px solid #e5e0db;
}

.trust-bar-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-bar-item span {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Product Cards
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.badge-sale {
  background-color: var(--color-green);
  color: #ffffff;
  font-weight: 700;
}

.badge-label {
  background-color: #403833;
  color: #ffffff;
}

.badge-mais-vendido {
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-premium {
  background-color: var(--color-blue);
  color: #ffffff;
}

.product-card-info {
  padding: 16px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-title a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.product-card-title a:hover {
  color: var(--color-primary);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  display: flex;
  gap: 1px;
  color: var(--color-primary);
}

.rating-count {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.product-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.price-installment {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.price-pix-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-green);
  font-weight: 600;
}

.product-card-btn {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   12. New Product Card Styles & Section Title Left
   -------------------------------------------------------------------------- */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-desc {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin: 4px 0 8px;
  line-height: 1.4;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-prefix {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.price-line .price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.price-line .price-old {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}

.price-pix-line {
  font-size: 0.85rem;
  color: var(--color-green);
  display: block;
  margin-top: 4px;
}

.price-highlight {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   12b. Category Header Centered
   -------------------------------------------------------------------------- */
.category-header-centered {
  text-align: center;
  margin-bottom: 32px;
}

.category-header-centered .category-title {
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
}

.category-header-centered .category-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 8px auto 0;
}

.category-header-centered .category-count {
  display: none;
}

/* --------------------------------------------------------------------------
   12c. Mattress Product Card (Features + Performance Bars)
   -------------------------------------------------------------------------- */
.product-card-mattress .product-card-info {
  padding: 16px 16px 20px;
}

/* Feature List */
.product-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.3;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--color-text-secondary);
}

/* Performance Bars */
.product-performance {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perf-bar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perf-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.perf-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.perf-info {
  flex-shrink: 0;
  opacity: 0.5;
}

.perf-bar-track {
  height: 6px;
  background-color: #e8e5e2;
  border-radius: 3px;
  overflow: hidden;
}

.perf-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #e88f2a);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.perf-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #aaa;
}

/* --------------------------------------------------------------------------
   12d. Category Below-Grid Sections
   -------------------------------------------------------------------------- */
.category-trust-bar {
  padding: 32px 0;
  margin-top: 48px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.category-materials-section {
  margin-top: 48px;
}

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

.material-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.material-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.material-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 16px 20px 8px;
}

.material-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 20px 20px;
}

.category-accordion-section {
  margin-top: 48px;
  padding-bottom: 32px;
}

.section-title-left {
  text-align: left;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   13. Content Grid (Lifestyle Cards)
   -------------------------------------------------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 250px;
  gap: 16px;
}

.content-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.content-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card-tall {
  grid-row: span 2;
}

.content-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.content-card-overlay h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.content-card-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   13b. Categories Grid
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  text-decoration: none;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.category-card-overlay h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.category-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Reviews Section
   -------------------------------------------------------------------------- */
.reviews-section {
  background: #ffffff;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.reviews-summary span {
  color: var(--color-text-secondary);
  font-size: 15px;
}

.reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 300px;
  max-width: 350px;
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 24px;
  flex-shrink: 0;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.review-text {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  font-size: 14px;
  color: var(--color-text-primary);
}

.review-author strong {
  font-weight: 600;
}

.review-author span {
  color: var(--color-text-secondary);
}

.review-product {
  font-size: 13px;
  color: var(--color-primary);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   15. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--color-bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  line-height: 1.4;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   16. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 20px 0;
  color: var(--color-text-secondary);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #999;
}

/* --------------------------------------------------------------------------
   17. Product Page (Redesigned)
   -------------------------------------------------------------------------- */
.prod-page {
  padding-bottom: 0;
}

/* Sticky Price Bar */
.prod-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.prod-sticky-bar.visible {
  transform: translateY(0);
}
.prod-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.prod-sticky-left {
  flex: 1;
  min-width: 0;
}
.prod-sticky-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.prod-sticky-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.prod-sticky-old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}
.prod-sticky-tax {
  font-size: 11px;
  color: #999;
}
.prod-sticky-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.prod-sticky-size {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  max-width: 100px;
}
.prod-sticky-btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
  white-space: nowrap;
}

/* Back Link */
.prod-back-link {
  display: inline-block;
  color: var(--color-text-secondary);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 16px;
  padding: 8px 0;
}
.prod-back-link:hover {
  color: var(--color-primary);
}

/* Product Title */
.prod-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Discount Text */
.prod-discount-text {
  display: inline-block;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Hero Price */
.prod-hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}
.prod-price-main {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.prod-price-old {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}
.prod-tax-note {
  font-size: 12px;
  color: #999;
  display: block;
  margin-bottom: 20px;
}

/* Product Gallery */
.prod-gallery {
  margin-bottom: 24px;
}
.prod-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.prod-gallery-main img {
  width: 100%;
  display: block;
}
.prod-badge-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
.prod-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
}
.prod-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
}
.prod-thumb.active {
  border-color: var(--color-primary);
}
.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Highlights */
.prod-highlights-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.prod-highlights-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.prod-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prod-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.4;
}
.prod-highlights-list li svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Cart Section */
.prod-cart-section {
  margin-bottom: 20px;
}
.prod-cart-btn {
  font-size: 16px;
  padding: 16px;
  border-radius: 50px;
  text-transform: none;
  letter-spacing: 0;
}

/* Size Selector (Dropdown) */
.prod-size-wrapper {
  margin-top: 16px;
}
.prod-size-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.prod-size-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  color: var(--color-text-primary);
  background: #fff;
  appearance: auto;
  cursor: pointer;
}
.prod-size-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-red);
  margin-top: 8px;
}
.prod-size-warning svg {
  flex-shrink: 0;
}

/* Promo Coupon Box */
.prod-promo-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid #c8e6c9;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #f1f8f2;
}
.prod-promo-box svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.prod-promo-box strong {
  display: block;
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.prod-promo-box p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Expandable Details */
.prod-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  margin-bottom: 0;
}
.prod-details-toggle svg {
  transition: transform 0.3s;
}
.prod-details-toggle.open svg {
  transform: rotate(45deg);
}
.prod-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.prod-details-content.open {
  max-height: 2000px;
  padding: 16px 0;
}
.prod-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.prod-specs-table tr {
  border-bottom: 1px solid #f0ede9;
}
.prod-specs-table td {
  padding: 10px 0;
  font-size: 14px;
}
.prod-specs-table td:first-child {
  font-weight: 600;
  color: var(--color-text-primary);
  width: 40%;
}

/* Cross-sell Card */
.prod-crosssell {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--color-bg-light);
  border-radius: 12px;
  margin: 20px 0;
}
.prod-crosssell-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.prod-crosssell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-crosssell-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.prod-crosssell-dim,
.prod-crosssell-qty {
  display: block;
  font-size: 12px;
  color: #999;
}
.prod-crosssell-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.prod-crosssell-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.prod-crosssell-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.prod-crosssell-link {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: underline;
  margin-top: 6px;
  display: inline-block;
}

/* Centered Price Block */
.prod-price-centered {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.prod-centered-badge {
  display: inline-block;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.prod-centered-old {
  display: block;
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 4px;
}
.prod-centered-main {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 4px;
}
.prod-centered-tax {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.prod-centered-installment {
  display: block;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

/* Demand Indicator */
.prod-demand {
  margin-top: 16px;
  text-align: center;
}
.prod-demand-badge {
  display: inline-block;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.prod-demand p {
  font-size: 13px;
  color: #999;
  margin: 0;
}

/* Shipping Trust Box */
.prod-trust-box {
  background: #e8f5e9;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prod-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-primary);
}
.prod-trust-item svg {
  flex-shrink: 0;
}
.prod-trust-link {
  font-size: 13px;
  color: var(--color-blue);
  text-decoration: underline;
  margin-top: 4px;
}

/* Bundle Offer */
.prod-bundle {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
}
.prod-bundle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.prod-bundle-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.prod-bundle-badge {
  background: var(--color-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}
.prod-bundle-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.prod-bundle-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.prod-bundle-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}
.prod-bundle-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.prod-bundle-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.prod-bundle-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.prod-bundle-btn {
  font-size: 13px;
  padding: 8px 20px;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-text-primary);
  color: var(--color-text-primary);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--color-text-primary);
  color: #fff;
}

/* Layer by Layer */
.prod-layers-section {
  padding: 40px 0;
  margin-top: 20px;
}
.prod-layers-subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}
.prod-layers-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}
.prod-layers-image {
  margin-bottom: 24px;
}
.prod-layers-image img {
  width: 100%;
  display: block;
}
.prod-layers-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.prod-layer-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-layer-dot.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff8f0;
}
.prod-layer-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.prod-layer-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Feature Blocks */
.prod-features-section {
  padding: 20px 0;
}
.prod-feature-block {
  margin-bottom: 32px;
}
.prod-feature-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
}
.prod-feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.prod-feature-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Unboxing Section */
.prod-unboxing-section {
  padding: 40px 0;
}
.prod-unboxing-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 20px;
}
.prod-unboxing-steps {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.prod-unboxing-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.prod-unboxing-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.prod-unboxing-btn {
  border-radius: 50px;
}

/* Product FAQ */
.prod-faq-section {
  padding: 40px 0;
  border-top: 1px solid #eee;
}
.prod-faq-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   18. (Reserved - removed tabs)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   19. (Reserved - specs table moved to prod-specs-table)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   20. (Reserved - related products removed, replaced by cross-sell/bundle)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   21. Category Page
   -------------------------------------------------------------------------- */
.category-header {
  margin-bottom: 30px;
}

.category-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.category-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.category-count {
  font-size: 14px;
  color: #999;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   22. Cart Page
   -------------------------------------------------------------------------- */
.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text-primary);
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.cart-item-variant {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.cart-item-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  overflow: hidden;
}

.quantity-selector button {
  width: 32px;
  height: 32px;
  background: var(--color-bg-light);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: background-color 0.2s;
}

.quantity-selector button:hover {
  background: var(--color-border-light);
}

.quantity-selector span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--color-red);
}

/* Cart Summary */
.cart-summary {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.cart-pix-discount {
  color: var(--color-green);
}

.cart-total {
  border-top: 2px solid var(--color-border-light);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
}

.cart-summary .btn {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.trust-icon {
  flex-shrink: 0;
}

.trust-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 14px;
}

.trust-text span {
  font-size: 12px;
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  font-size: 28px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-primary);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* --------------------------------------------------------------------------
   24. Mobile Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: 11px;
  transition: color 0.2s;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
  color: var(--color-primary);
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
}

.cart-indicator {
  position: relative;
}

.mobile-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   25. Responsive - Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* old .product-page removed - now uses .prod-page */

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-content {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   26. Responsive - Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }

  .main-content {
    margin-bottom: 0;
  }

  /* Promo bar */
  .promo-bar-inner {
    gap: 12px;
    font-size: 11px;
  }

  .promo-item-mobile-hide {
    display: none;
  }

  /* Header */
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile bottom bar visible */
  .mobile-bottom-bar {
    display: block;
  }

  /* Hero Section */
  .hero-section {
    padding: 32px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Product page responsive */
  .prod-title {
    font-size: 22px;
  }

  .prod-price-main {
    font-size: 24px;
  }

  .prod-centered-main {
    font-size: 28px;
  }

  .prod-sticky-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .prod-sticky-left {
    width: 100%;
  }

  .prod-sticky-right {
    width: 100%;
    justify-content: space-between;
  }

  /* Content Grid */
  .content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .content-card-tall {
    grid-row: auto;
  }

  .content-card {
    height: 200px;
  }

  /* Categories Grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    aspect-ratio: 1 / 1;
  }

  /* Section Title Left */
  .section-title-left {
    font-size: 1.5rem;
  }

  /* Trust Bar */
  .trust-bar-items {
    justify-content: center;
    gap: 12px;
  }

  /* Footer */
  .footer-trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Section spacing */
  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 24px;
  }

  /* Mattress card mobile */
  .product-features {
    gap: 4px;
  }

  .product-feature {
    font-size: 12px;
  }

  .perf-bar-labels {
    font-size: 9px;
  }

  .perf-label {
    font-size: 11px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-card img {
    height: 160px;
  }

  .category-header-centered .category-title {
    font-size: 1.6rem;
  }

  .category-trust-bar .trust-bar-items {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   27. Responsive - Small Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-grid-4 {
    grid-template-columns: 1fr;
  }

  .product-card-pricing {
    font-size: 14px;
  }

  .price-current {
    font-size: 20px;
  }

  /* old .product-trust removed - now uses .prod-trust-box */

  .header-container {
    gap: 8px;
  }

  .logo-emma {
    font-size: 26px;
  }

  .logo-sub {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-promo-tag {
    font-size: 0.95rem;
    padding: 6px 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 180px;
  }

  .cart-item-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

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

  .content-card {
    height: 180px;
  }

  .content-card-overlay {
    padding: 16px;
  }

  .content-card-overlay h3 {
    font-size: 1rem;
  }

  .product-features {
    margin: 8px 0;
    gap: 5px;
  }

  .product-feature {
    font-size: 11px;
  }

  .product-performance {
    margin: 10px 0;
    gap: 6px;
  }

  .perf-label {
    font-size: 10px;
  }

  .perf-bar-labels {
    font-size: 9px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .material-card h3 {
    font-size: 1rem;
  }

  .material-card p {
    font-size: 13px;
  }

  .category-trust-bar .trust-bar-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   HOMEPAGE REDESIGN - New Styles
   ========================================================================== */

/* --- Promo Bar Top (orange) --- */
.promo-bar-top {
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* --- Category Icons Bar --- */
.category-icons-bar {
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-icons-bar::-webkit-scrollbar { display: none; }

.category-icons-scroll {
  display: flex;
  gap: 28px;
  padding: 0 20px;
  white-space: nowrap;
}

.cat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  min-width: fit-content;
}

.cat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: border-color 0.2s, background 0.2s;
  color: var(--color-text-primary);
}
.cat-icon-item:hover .cat-icon-circle {
  border-color: var(--color-primary);
  background: #fff8f0;
}

.cat-icon-item span {
  font-size: 11px;
  color: var(--color-text-primary);
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  max-width: 80px;
}

/* --- Hero Section New --- */
.hero-new {
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
  padding: 24px 0 32px;
}

.hero-content-new {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text-new {
  flex: 1;
}

.hero-text-new h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}
.hero-text-new h1 sup {
  font-size: 14px;
  font-weight: 400;
}

.hero-subtitle-new {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
}

.hero-image-new {
  flex: 1;
  position: relative;
}
.hero-image-new img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

/* Countdown */
.hero-countdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.countdown-label {
  background: var(--color-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

.countdown-timer {
  background: var(--color-text-primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  gap: 2px;
}

.cd-val { font-weight: 700; }
.cd-sep { font-weight: 400; opacity: 0.6; margin-right: 4px; }

@media (max-width: 768px) {
  .hero-content-new {
    flex-direction: column;
    text-align: center;
  }
  .hero-text-new { order: 1; }
  .hero-image-new { order: 2; }
  .hero-countdown-row { justify-content: center; }
  .hero-text-new h1 { font-size: 26px; }
}

/* --- Proteste Bar New --- */
.proteste-bar-new {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 28px 0;
  text-align: center;
}
.proteste-bar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.proteste-bar-content strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.proteste-bar-content > span {
  font-size: 14px;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .proteste-bar-content strong { font-size: 17px; }
}

/* --- Trust Bar New --- */
.trust-bar-new {
  background: #ffffff;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.trust-items-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--color-text-primary);
}

.trust-item-new span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.trust-discover-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--color-text-primary);
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-items-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* --- Featured Products --- */
.featured-section {
  background: #ffffff;
}
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-card {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.featured-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.featured-card-image {
  width: 38%;
  min-height: 200px;
  flex-shrink: 0;
  position: relative;
  background: var(--color-bg-light);
}
.featured-card-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-seal {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.featured-card-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.featured-discount-pill {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  align-self: flex-start;
}

.featured-badge-pill {
  display: inline-block;
  background: var(--color-text-primary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  align-self: flex-start;
}

.featured-extra-pill {
  display: inline-block;
  background: var(--color-text-secondary);
  color: #fff;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  align-self: flex-start;
}

.featured-card-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0 2px;
  line-height: 1.25;
}

.featured-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.featured-pricing {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.featured-price-from {
  font-size: 13px;
  color: var(--color-text-primary);
}
.featured-price-from strong {
  font-size: 18px;
  color: var(--color-red);
  font-weight: 700;
}

.featured-price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.featured-price-pix {
  color: var(--color-red);
  font-size: 13px;
}

/* --- Video Section --- */
.video-section {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 56px 0 40px;
  text-align: center;
}
.video-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.video-section p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 28px;
}

.video-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 68px;
  height: 68px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding-left: 4px;
}
.video-play-btn:hover {
  background: rgba(0,0,0,0.7);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Content Grid New (dark bg) --- */
.content-grid-section-new {
  background: var(--color-text-primary);
  padding: 0 0 56px;
}

.content-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.content-card-new {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}
.content-card-new.content-card-large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.content-card-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #ffffff;
}
.content-card-text h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

/* --- Solutions Carousel (dark bg) --- */
.solutions-section {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 56px 0;
}
.solutions-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.solutions-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.solutions-carousel::-webkit-scrollbar { display: none; }

.solutions-card {
  flex: 0 0 80%;
  max-width: 480px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  color: #ffffff;
}

.solutions-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(rgba(0,0,0,0.4), transparent);
}
.solutions-card-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.solutions-card-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

@media (min-width: 769px) {
  .solutions-card { flex: 0 0 35%; }
}

/* Carousel dots (shared) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* --- Quiz Section --- */
.quiz-section {
  background: linear-gradient(180deg, #58524e 0%, #403833 40%, #2a2420 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quiz-content {
  position: relative;
  z-index: 1;
}

.quiz-image {
  margin-bottom: 24px;
}
.quiz-image img {
  max-width: 400px;
  width: 80%;
  display: block;
  margin: 0 auto;
}

.quiz-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.quiz-section p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* --- Reviews Section New --- */
.reviews-section-new {
  background: #ffffff;
}

.reviews-summary-new {
  text-align: center;
  margin-bottom: 24px;
}

.stars-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.reviews-count {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.reviews-carousel-new {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.reviews-carousel-new::-webkit-scrollbar { display: none; }

.review-card-new {
  flex: 0 0 85%;
  max-width: 400px;
  scroll-snap-align: start;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
}

@media (min-width: 769px) {
  .review-card-new { flex: 0 0 35%; }
}

.review-header-new {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.review-header-new strong {
  font-size: 15px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #3c8bdc;
}

.review-date-new {
  font-size: 12px;
  color: #999;
  margin-left: auto;
}

.review-stars-new {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.review-title-new {
  font-size: 15px;
  margin-bottom: 6px;
}

.review-text-new {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.review-product-tag {
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* --- UGC Section (Emma na sua casa) --- */
.ugc-section {
  background: #ffffff;
}

.ugc-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.ugc-carousel::-webkit-scrollbar { display: none; }

.ugc-card {
  flex: 0 0 80%;
  max-width: 480px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 769px) {
  .ugc-card { flex: 0 0 35%; }
}

.ugc-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.ugc-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

.ugc-username {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.ugc-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: underline;
}

/* --- Proteste Trust Section --- */
.proteste-trust-section {
  background: #ffffff;
  padding: 60px 0;
  text-align: center;
}
.proteste-trust-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.proteste-seal-container {
  margin-bottom: 24px;
}
.proteste-seal-img {
  max-width: 200px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}

.proteste-trust-section blockquote {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 16px;
  font-style: italic;
}

.proteste-source-pill {
  display: inline-block;
  background: var(--color-bg-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-light);
}

/* --- Brand Video Section --- */
.brand-video-section {
  background: #ffffff;
  padding: 60px 0 0;
  text-align: center;
  position: relative;
}
.brand-video-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text-primary);
}

.orange-wave {
  margin-top: 40px;
}
.orange-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* --- Help Section --- */
.help-section {
  background: #ffffff;
  padding: 48px 0;
}

.help-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.help-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--color-text-primary);
}
.help-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.help-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.help-item a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  color: var(--color-text-primary);
}

/* --- Legal Notes --- */
.legal-notes-section {
  background: #ffffff;
  padding: 40px 0;
  border-top: 1px solid var(--color-border-light);
}
.legal-notes-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.legal-list {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding-left: 24px;
}
.legal-list li {
  margin-bottom: 16px;
}

/* --- Newsletter Section --- */
.newsletter-section {
  background: #ffffff;
  padding: 48px 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text-primary);
}

.newsletter-form {
  text-align: left;
}

.newsletter-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border-medium);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-primary);
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus {
  border-color: var(--color-primary);
}

.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  cursor: pointer;
}
.newsletter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--color-primary);
}

.newsletter-btn {
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
}

/* --- Footer New --- */
.footer-new {
  background: var(--color-text-primary);
  color: #ffffff;
  padding: 48px 0 24px;
}

.footer-top {
  margin-bottom: 24px;
}

.footer-logo-new {
  display: block;
  margin-bottom: 24px;
  font-size: 36px;
  color: #ffffff;
}

.footer-social span {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.social-icons {
  display: flex;
  gap: 16px;
}
.social-icons a {
  color: #ffffff;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.social-icons a:hover {
  opacity: 1;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 20px 0;
}

/* Footer collapsible sections */
.footer-sections {
  margin-bottom: 8px;
}

.footer-section {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-section-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.footer-section-toggle svg {
  transition: transform 0.3s;
  opacity: 0.6;
}

.footer-section-content {
  display: none;
  padding: 0 0 16px;
}
.footer-section-content a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.7;
  color: #ffffff;
}
.footer-section-content a:hover { opacity: 1; }

.footer-section.open .footer-section-toggle svg {
  transform: rotate(180deg);
}
.footer-section.open .footer-section-content {
  display: block;
}

/* Footer support */
.footer-support {
  margin: 20px 0;
}
.footer-support h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-support-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-support-items a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
}
.footer-support-items a:hover { opacity: 1; }
.footer-support-items small {
  display: block;
  font-size: 12px;
  opacity: 0.6;
}

/* Footer payments */
.footer-payments {
  margin: 24px 0;
}
.footer-payments > span {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.8;
}
.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.payment-icon {
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pix-icon-footer {
  font-size: 12px;
  font-weight: 700;
  color: #00bfa5;
  letter-spacing: 1px;
}

/* Footer bottom */
.footer-bottom-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}
.footer-bottom-new a {
  color: #ffffff;
  text-decoration: underline;
}

/* Desktop footer: show sections expanded */
@media (min-width: 769px) {
  .footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
  }
  .footer-section {
    border-bottom: none;
  }
  .footer-section-toggle svg { display: none; }
  .footer-section-toggle {
    cursor: default;
    padding: 0 0 12px;
  }
  .footer-section-content {
    display: block !important;
  }
}

/* --- Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 998;
  transition: transform 0.2s;
}
.chat-widget:hover {
  transform: scale(1.08);
}

/* --- Override old promo bar --- */
.promo-bar { display: none; }
/* --- Override old footer --- */
.footer:not(.footer-new) { display: none; }
/* --- Remove mobile bottom bar --- */
.mobile-bottom-bar { display: none; }

/* --- Font serif variable update --- */
:root {
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ============================================================
   CATEGORY PAGE - REDESIGN (colchoes)
   ============================================================ */

/* S1: Category Header */
.cat-header {
    text-align: center;
    padding: 28px 0 24px;
}
.cat-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 10px;
}
.cat-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto;
}

/* S2: Product Cards Carousel */
.cat-products-section {
    margin-bottom: 32px;
}
.cat-product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px 16px;
    scrollbar-width: none;
}
.cat-product-carousel::-webkit-scrollbar { display: none; }

.cat-product-card {
    min-width: 85vw;
    max-width: 85vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e5e2;
    overflow: hidden;
}
.cat-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.cat-product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f3f0;
}
.cat-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.cat-badge-discount {
    background: #da1f00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
}
.cat-badge-label {
    background: #403833;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}
.cat-product-seal {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}
.cat-product-info {
    padding: 18px 18px 22px;
}
.cat-product-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 14px;
}

/* Features List */
.cat-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cat-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}
.cat-features-list svg {
    flex-shrink: 0;
    color: #888;
}

/* Segmented Performance Bars */
.cat-perf-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}
.cat-perf-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cat-perf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-perf-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.cat-perf-segments {
    display: flex;
    gap: 4px;
}
.cat-perf-seg {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #e0dcd8;
    transition: background 0.3s;
}
.cat-perf-seg.active {
    background: #3c4196;
}
.cat-perf-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 1px;
}

/* Pricing */
.cat-product-pricing {
    margin: 16px 0;
}
.cat-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.cat-price-prefix {
    font-size: 0.85rem;
    color: #666;
}
.cat-price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: #da1f00;
}
.cat-price-old {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}
.cat-price-pix {
    display: block;
    font-size: 0.85rem;
    color: #da1f00;
    margin-top: 2px;
}
.cat-product-btn {
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px;
    border-radius: 30px;
}

/* S3: Trust Bar */
.cat-trust-bar {
    padding: 36px 0;
    background: #fff;
}
.cat-trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    text-align: center;
}
.cat-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cat-trust-item svg {
    flex-shrink: 0;
}
.cat-trust-item span {
    font-size: 0.8rem;
    color: var(--color-text-primary);
    font-weight: 500;
    line-height: 1.3;
}

/* S4-S5: CTA Banners */
.cat-cta-banner {
    margin: 12px 16px;
}
.cat-cta-link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}
.cat-cta-link > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.cat-cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
}
.cat-cta-sub {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 4px;
}
.cat-cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
.cat-cta-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.cat-cta-link:hover .cat-cta-arrow {
    background: rgba(255,255,255,0.2);
}

/* S6: Materials */
.cat-materials-section {
    padding: 40px 0;
}
.cat-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 24px;
}
.cat-materials-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.cat-material-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.cat-material-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 16px 0 8px;
}
.cat-material-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* S7: Size Guide */
.cat-size-guide {
    padding: 0 0 40px;
}
.cat-size-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 24px;
}
.cat-size-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 16px;
}
.cat-size-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 24px;
}
.btn-outline-orange {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    transition: background 0.3s;
}
.btn-outline-orange:hover {
    background: rgba(255, 162, 54, 0.1);
}

/* S8: Reviews */
.cat-reviews-section {
    padding: 40px 0;
}
.cat-reviews-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-text-primary);
    margin: 0 0 20px;
}
.cat-reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 16px 16px;
    scrollbar-width: none;
}
.cat-reviews-carousel::-webkit-scrollbar { display: none; }

.cat-review-card {
    min-width: 80vw;
    max-width: 80vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #faf8f6;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cat-review-stars {
    display: flex;
    gap: 2px;
}
.cat-review-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}
.cat-review-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-review-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: underline;
    margin-top: auto;
}
.cat-reviews-dots {
    padding-top: 8px;
}

/* S9: Commitment / Accordion */
.cat-commitment-section {
    padding: 40px 0;
    background: #faf8f6;
}
.cat-commitment-sub {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 4px;
}
.cat-commitment-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 20px;
}
.cat-commitment-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 24px;
}
.cat-accordion-list .faq-item {
    background: transparent;
    border-bottom: 1px solid #e0dcd8;
    border-radius: 0;
    margin-bottom: 0;
}
.cat-accordion-list .faq-question {
    padding: 18px 0;
    background: transparent;
}
.cat-faq-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
}
.cat-faq-label svg {
    flex-shrink: 0;
    color: #555;
}
.cat-accordion-list .faq-answer p {
    padding: 0 0 18px 34px;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .cat-title { font-size: 2.5rem; }
    .cat-product-card {
        min-width: 400px;
        max-width: 400px;
    }
    .cat-trust-items { gap: 24px; }
    .cat-trust-item span { font-size: 0.9rem; }
    .cat-cta-banner { margin: 12px auto; max-width: 700px; }
    .cat-cta-link > img { height: 360px; }
    .cat-review-card {
        min-width: 340px;
        max-width: 340px;
    }
    .cat-materials-section .container,
    .cat-size-guide .container,
    .cat-commitment-section .container {
        max-width: 700px;
    }
}

@media (min-width: 1200px) {
    .cat-product-card {
        min-width: 450px;
        max-width: 450px;
    }
    .cat-cta-banner { max-width: 900px; }
    .cat-cta-link > img { height: 420px; }
    .cat-review-card {
        min-width: 380px;
        max-width: 380px;
    }
}

/* --------------------------------------------------------------------------
   Product Page - Desktop (min-width: 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .prod-title { font-size: 32px; }
    .prod-price-main { font-size: 30px; }
    .prod-gallery { padding: 0 16px; }
    .prod-gallery-main { border-radius: 16px; }
    .prod-trust-box {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 32px;
    }
    .prod-trust-item {
        flex: 0 0 auto;
    }
    .prod-crosssell-img {
        width: 120px;
        height: 120px;
    }
    .prod-bundle-card {
        gap: 20px;
    }
    .prod-bundle-img {
        width: 140px;
        height: 100px;
    }
    .prod-feature-block {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    .prod-layers-section .container,
    .prod-unboxing-section .container,
    .prod-faq-section .container {
        max-width: 700px;
    }
    .prod-sticky-inner {
        flex-wrap: nowrap;
    }
    .prod-sticky-left {
        width: auto;
    }
    .prod-sticky-right {
        width: auto;
        justify-content: flex-end;
    }
}

@media (min-width: 1200px) {
    .prod-page > .container {
        max-width: 800px;
    }
    .prod-gallery {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    .prod-feature-block {
        max-width: 800px;
    }
    .prod-centered-main { font-size: 36px; }
}
