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

:root {
  --olive:   #6B7B4C;
  --olive-light: #8a9e60;
  --cream:   #E5E2DA;
  --charcoal:#333333;
  --pearl:   #F5EDE5;
  --white:   #ffffff;
  --shadow:  rgba(51,51,51,0.12);
  --shadow-deep: rgba(51,51,51,0.22);
  --radius:  12px;
  --radius-sm: 6px;
  --transition: 0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--pearl);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

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

/* ─── Utility ──────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.gap-1 { gap: 0.5rem; }

/* ─── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 3px; }

/* ─── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(245,237,229,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,123,76,0.15);
  padding: 0.85rem 0;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
}
.navbar-logo {
  display: flex; flex-direction: column; line-height: 1;
}
.navbar-logo .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--charcoal); letter-spacing: 0.5px;
}
.navbar-logo .brand-tagline {
  font-size: 0.62rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--olive); margin-top: 1px;
}
.navbar-actions { display: flex; align-items: center; gap: 1rem; }
.navbar-nav { display: flex; gap: 1.5rem; list-style: none; }
.navbar-nav a {
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
  transition: color var(--transition);
}
.navbar-nav a:hover { color: var(--olive); }

.nav-cart-btn {
  position: relative; width: 40px; height: 40px;
  border-radius: 50%; background: var(--olive);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cart-btn:hover { background: var(--olive-light); transform: scale(1.05); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: #c0392b; color: white;
  font-size: 0.6rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: opacity 0.2s, transform 0.2s;
}
.cart-badge.visible { opacity: 1; transform: scale(1); }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: #ffffff;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  display: none;
}
.hero-overlay {
  display: none;
}
.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  padding: 0;
  gap: 0;
}
.hero-photo {
  flex: 0 0 52%;
  height: 100vh;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-content {
  flex: 1;
  position: relative; z-index: 2;
  text-align: left; color: var(--charcoal);
  padding: 3rem 3rem 3rem 3.5rem;
  max-width: 560px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.68rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--olive); border: 1px solid var(--olive);
  padding: 0.4rem 1.2rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}
.hero-content h1 em { font-style: italic; color: var(--olive); }
.hero-sub {
  font-size: 1rem; opacity: 0.88;
  max-width: 440px; margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 0.75rem; justify-content: flex-start; flex-wrap: wrap; }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive); color: white;
  box-shadow: 0 4px 15px rgba(107,123,76,0.4);
}
.btn-primary:hover {
  background: var(--olive-light);
  box-shadow: 0 6px 20px rgba(107,123,76,0.5);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.btn-dark {
  background: var(--charcoal); color: white;
}
.btn-dark:hover { background: #444; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: white; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.72rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-wpp {
  background: #25d366; color: white;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.btn-wpp:hover { background: #1ebe5d; }
.btn-pix {
  background: #32bcad; color: white;
  box-shadow: 0 4px 15px rgba(50,188,173,0.35);
}
.btn-pix:hover { background: #2aa899; }

/* ─── Section Headers ──────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .overline {
  display: inline-block;
  font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--olive); margin-bottom: 0.6rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--charcoal);
}
.section-header p {
  font-size: 0.92rem; color: #666; margin-top: 0.6rem; max-width: 500px; margin-left: auto; margin-right: auto;
}
.divider {
  width: 48px; height: 2px; background: var(--olive);
  margin: 1rem auto 0;
}

/* ─── Sections ─────────────────────────────────────────────────────────────── */
section { padding: 5rem 0; }
section:nth-child(even) { background: var(--cream); }

/* ─── 4 Maneiras Banner ────────────────────────────────────────────────────── */
.maneiras-section {
  padding: 0; background: var(--charcoal);
}
.maneiras-section img {
  width: 100%; max-height: 500px;
  object-fit: cover; display: block;
}

/* ─── Category Tabs ────────────────────────────────────────────────────────── */
.category-tabs {
  display: flex; gap: 0.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2.5rem;
}
.cat-tab {
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  background: var(--white); color: var(--charcoal);
  border: 1.5px solid rgba(51,51,51,0.15);
  transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--olive); color: var(--olive); }
.cat-tab.active { background: var(--olive); color: white; border-color: var(--olive); }

/* ─── Product Grid ─────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: white; border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-deep);
}

.product-img-wrap {
  aspect-ratio: unset;
  overflow: hidden; background: var(--cream);
  position: relative;
}
.product-img-wrap img {
  width: 100%; height: auto; object-fit: contain; display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-category-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(107,123,76,0.88); color: white;
  font-size: 0.58rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 100px; font-weight: 600;
}

.product-info { padding: 1.1rem 1.2rem 1.2rem; }
.product-info h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem;
  color: var(--charcoal);
}
.product-info .desc {
  font-size: 0.78rem; color: #777; line-height: 1.5;
  margin-bottom: 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--olive);
}
.product-price small { font-size: 0.7rem; font-family: 'Montserrat', sans-serif; font-weight: 500; }

.btn-add-cart {
  padding: 0.5rem 1rem;
  background: var(--olive); color: white;
  border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 0.35rem;
  white-space: nowrap;
}
.btn-add-cart:hover { background: var(--olive-light); transform: scale(1.04); }
.btn-add-cart.olivia-btn { background: var(--charcoal); }
.btn-add-cart.olivia-btn:hover { background: #555; }

/* ─── Olívia Section Callout ───────────────────────────────────────────────── */
.olivia-callout {
  background: linear-gradient(135deg, var(--charcoal) 0%, #4a5530 100%);
  color: white; border-radius: var(--radius);
  padding: 2rem 2.5rem; margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.olivia-callout-icon { font-size: 2.5rem; flex-shrink: 0; }
.olivia-callout-text h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.olivia-callout-text p { font-size: 0.82rem; opacity: 0.82; line-height: 1.5; }

/* ─── Lifestyle / Clientes Reais ───────────────────────────────────────────── */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
.lifestyle-grid .photo {
  overflow: hidden; border-radius: var(--radius-sm);
  background: var(--cream);
}
.lifestyle-grid .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.lifestyle-grid .photo:hover img { transform: scale(1.04); }
.lifestyle-grid .photo:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.lifestyle-grid .photo:last-child  { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 700px) {
  .lifestyle-grid { grid-template-columns: 1fr 1fr; }
  .lifestyle-grid .photo:first-child, .lifestyle-grid .photo:last-child { grid-column: span 2; }
}

/* ─── Care Instructions ────────────────────────────────────────────────────── */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.care-card {
  background: white; border-radius: var(--radius);
  padding: 1.5rem 1.2rem; text-align: center;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform var(--transition);
}
.care-card:hover { transform: translateY(-3px); }
.care-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.care-card p { font-size: 0.8rem; color: #555; line-height: 1.5; }

/* ─── Feito a Mano Banner ──────────────────────────────────────────────────── */
.feito-section {
  background: var(--olive);
  color: white; text-align: center;
  padding: 4rem 1.5rem;
}
.feito-section h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-style: italic; margin-bottom: 0.75rem;
}
.feito-section p { font-size: 0.9rem; opacity: 0.88; max-width: 500px; margin: 0 auto; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: white; margin-bottom: 0.4rem;
}
.footer-brand .tagline { font-style: italic; font-size: 0.85rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: white; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; font-size: 0.82rem; }
.footer-col ul li a:hover { color: white; }

.footer-wpp-btns { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.footer-wpp-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: white; border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem; font-size: 0.78rem;
  transition: background var(--transition);
}
.footer-wpp-btn:hover { background: rgba(255,255,255,0.15); }

.pix-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-sm);
  padding: 0.9rem; margin-top: 0.5rem;
}
.pix-box .pix-label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; }
.pix-box .pix-key { font-size: 0.88rem; color: white; font-weight: 600; margin-top: 0.2rem; }
.pix-box .pix-name { font-size: 0.72rem; opacity: 0.65; margin-top: 0.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem; text-align: center;
  font-size: 0.75rem; opacity: 0.5;
}

/* ─── Cart Sidebar ─────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: white; z-index: 2001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--cream);
}
.cart-header h3 { font-size: 1.1rem; }
.cart-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: background var(--transition);
}
.cart-close:hover { background: #ddd; }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-empty {
  text-align: center; padding: 3rem 1rem;
  color: #aaa;
}
.cart-empty .icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty p { font-size: 0.88rem; }

.cart-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--cream);
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0; background: var(--cream);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .cart-item-sub { font-size: 0.72rem; color: #888; margin-bottom: 0.5rem; line-height: 1.4; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: #ccc; }
.qty-display { font-size: 0.85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--olive); font-size: 0.95rem; white-space: nowrap; }
.cart-item-remove { color: #bbb; font-size: 0.8rem; transition: color var(--transition); margin-top: 0.3rem; cursor: pointer; }
.cart-item-remove:hover { color: #e74c3c; }

.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--cream); background: var(--pearl); }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.cart-subtotal span { font-size: 0.82rem; color: #666; }
.cart-subtotal .total-price { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--olive); font-weight: 700; }

/* ─── Modal / Product Detail ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 3000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  padding: 1rem;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: white; border-radius: var(--radius);
  max-width: 760px; width: 100%; max-height: 92vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close-btn {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}
.modal-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
@media (max-width: 600px) { .modal-inner { grid-template-columns: 1fr; } }

.modal-gallery { position: relative; }
.modal-gallery .main-img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  border-radius: var(--radius) 0 0 var(--radius);
}
@media (max-width: 600px) { .modal-gallery .main-img { border-radius: var(--radius) var(--radius) 0 0; } }
.modal-thumbs { display: flex; gap: 0.4rem; padding: 0.6rem; flex-wrap: wrap; }
.modal-thumbs img {
  width: 54px; height: 54px; object-fit: cover;
  border-radius: 6px; cursor: pointer; border: 2px solid transparent;
  transition: border-color var(--transition);
}
.modal-thumbs img.active { border-color: var(--olive); }

.modal-body { padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-body .cat-tag {
  font-size: 0.62rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--olive); font-weight: 600;
}
.modal-body h2 { font-size: 1.6rem; }
.modal-body .modal-price { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--olive); }
.modal-body .modal-desc { font-size: 0.85rem; color: #666; line-height: 1.7; }
.modal-body .includes-note {
  font-size: 0.75rem; background: var(--pearl); padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm); color: #888;
}

/* Pingentes upsell in modal */
.pingentes-upsell {
  border: 1.5px solid var(--cream); border-radius: var(--radius);
  padding: 1.1rem; background: var(--pearl);
}
.pingentes-upsell h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 0.25rem;
}
.pingentes-upsell .upsell-subtitle {
  font-size: 0.75rem; color: #888; margin-bottom: 0.85rem;
}
.pingentes-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pingente-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px; border-radius: 12px;
  border: 2.5px solid #e8f0e0;
  background: white;
  cursor: pointer; transition: all var(--transition);
  user-select: none;
}
.pingente-chip img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; display: block; background: white; }
.pingente-chip:hover { border-color: var(--olive); transform: scale(1.05); }
.pingente-chip.selected {
  border-color: var(--olive); box-shadow: 0 0 0 2px var(--olive);
  background: #f0f4e8;
}
.pingentes-selected-summary {
  margin-top: 0.75rem; font-size: 0.78rem; color: var(--olive); font-weight: 600;
  min-height: 1.2em;
}
.pingentes-catalog-imgs { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.pingentes-catalog-imgs img {
  flex: 1; border-radius: 8px; object-fit: cover; max-height: 90px;
}

/* ─── Checkout Page ────────────────────────────────────────────────────────── */
#checkout-page {
  min-height: 100vh; padding-top: 80px; background: var(--pearl);
}
.checkout-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start;
}
@media (max-width: 800px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-card {
  background: white; border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 2px 15px var(--shadow);
}
.checkout-card h3 {
  font-size: 1rem; margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--cream);
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 0.4rem; color: #555;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--cream); border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif; font-size: 0.88rem;
  background: white; color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--olive);
}

.order-summary-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0.65rem 0; border-bottom: 1px solid var(--cream);
  font-size: 0.84rem;
}
.order-summary-item .item-name { flex: 1; padding-right: 0.5rem; line-height: 1.4; }
.order-summary-item .item-price { font-weight: 700; color: var(--olive); white-space: nowrap; }
.order-total-row {
  display: flex; justify-content: space-between;
  font-weight: 700; padding-top: 0.85rem; margin-top: 0.25rem;
}
.order-total-row .big-total {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--olive);
}

.payment-methods { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.25rem; }
.payment-option {
  border: 2px solid var(--cream); border-radius: var(--radius-sm);
  padding: 1rem 1.1rem; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 0.75rem;
}
.payment-option:hover { border-color: var(--olive); }
.payment-option.selected { border-color: var(--olive); background: rgba(107,123,76,0.06); }
.payment-option .pay-icon { font-size: 1.4rem; flex-shrink: 0; }
.payment-option .pay-label { font-size: 0.82rem; font-weight: 600; }
.payment-option .pay-sub { font-size: 0.72rem; color: #888; margin-top: 0.1rem; }

.pix-details {
  background: var(--pearl); border-radius: var(--radius-sm);
  padding: 1.1rem; margin-top: 0.75rem;
  display: none;
}
.pix-details.visible { display: block; }
.pix-key-display {
  font-size: 1.1rem; font-weight: 700; color: var(--olive);
  word-break: break-all; margin: 0.3rem 0;
}
.pix-details p { font-size: 0.8rem; color: #666; }

/* ─── Toast ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: white;
  padding: 0.75rem 1.5rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  z-index: 5000; opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; white-space: nowrap;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--olive); }
.toast.error { background: #c0392b; }

/* ─── Floating Scroll Top ──────────────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--olive); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 15px rgba(107,123,76,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--olive-light); }

/* ─── Page Views ───────────────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── Responsive Helpers ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  section { padding: 3.5rem 0; }
  .olivia-callout { flex-direction: column; text-align: center; gap: 0.75rem; }
  .hero-inner { flex-direction: column; min-height: auto; }
  .hero-photo { flex: none; width: 100%; height: 75vw; max-height: 420px; }
  .hero-content { text-align: center; padding: 2.5rem 1.5rem; max-width: 100%; }
  .hero-ctas { justify-content: center; }
}

/* ─── WhatsApp Floating Button ──────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: white;
  padding: .7rem 1.2rem .7rem .9rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.whatsapp-fab:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@media (max-width: 480px) {
  .whatsapp-fab span { display: none; }
  .whatsapp-fab { padding: .75rem; border-radius: 50%; bottom: 5.5rem; right: 1rem; left: auto; }
}
