/* ============================================================
   DELIGATA FOR YOU — Design System
   Cores: Rosé #C08B7E | Dourado #C9A96E | Creme #F5EDE8
   Tipografia: Cormorant Garamond + DM Sans
   ============================================================ */

:root {
  --brand-50:  #fdf6f4;
  --brand-100: #f9ebe6;
  --brand-200: #f2d4ca;
  --brand-300: #e8b9ac;
  --brand-400: #d9998a;
  --brand-500: #C08B7E;
  --brand-600: #a8746a;
  --brand-700: #8B6F66;
  --brand-800: #6d534b;
  --brand-900: #4f3b36;
  --brand-950: #2e2019;

  --gold-400: #d4b47a;
  --gold-500: #C9A96E;
  --gold-600: #b08f55;

  --neutral-50:  #faf9f8;
  --neutral-100: #f3f0ef;
  --neutral-200: #e8e3e1;
  --neutral-300: #d4ccc9;
  --neutral-400: #b8aeaa;
  --neutral-500: #9c908c;
  --neutral-600: #7d726e;
  --neutral-700: #5f5552;
  --neutral-800: #3d3533;
  --neutral-900: #1e1917;

  --bg-main:    #FFF9F5;
  --bg-card:    #ffffff;
  --bg-section: #fdf6f4;
  --text-main:  #3d3533;
  --text-body:  #6B5B54;
  --text-light: #9c908c;
  --border:     #e8e3e1;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(96, 60, 50, 0.06);
  --shadow-md:  0 4px 12px rgba(96, 60, 50, 0.08);
  --shadow-lg:  0 12px 30px rgba(96, 60, 50, 0.1);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 64px;
  --announce-h: 40px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--brand-200); color: var(--brand-900); }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand-500); }
img { max-width: 100%; display: block; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-800);
}
.logo-text em {
  font-style: italic;
  color: var(--brand-500);
  font-weight: 500;
}

/* ============ CONTAINER ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-500);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(192, 139, 126, 0.35); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--brand-300);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-500); background: var(--brand-50); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-500);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--brand-500);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--brand-500); color: white; }

.btn-small {
  display: inline-flex;
  align-items: center;
  background: var(--brand-500);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}
.btn-small:hover { background: var(--brand-600); }

.btn-sm { font-size: 13px; padding: 8px 16px; }
.btn-block { width: 100%; }

/* ============ ANNOUNCEMENT BAR ============ */
.announcement-bar {
  background: var(--brand-800);
  color: #f5ede8;
  text-align: center;
  padding: 0 16px;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}
.announcement-bar strong { color: var(--gold-400); }
.announcement-close {
  position: absolute;
  right: 12px;
  font-size: 18px;
  color: rgba(245,237,232,0.6);
  transition: color 0.2s;
  line-height: 1;
}
.announcement-close:hover { color: white; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .header-inner { padding: 0 40px; } }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo svg { flex-shrink: 0; }

.nav-desktop {
  display: none;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.nav-desktop a:hover { color: var(--brand-500); background: var(--brand-50); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--text-body);
  transition: all 0.2s;
  position: relative;
}
.icon-btn:hover { color: var(--brand-500); background: var(--brand-50); }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--brand-500);
  color: white;
  font-size: 10px;
  font-weight: 600;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.3s var(--ease-spring);
}
.cart-badge.bump { transform: scale(1.4); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle:hover { background: var(--brand-50); }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-main);
  transition: all 0.3s;
}

/* Search Bar */
.search-bar {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255,249,245,0.98);
  position: relative;
}
.search-bar.open { display: block; }
.search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) { .search-inner { padding: 12px 40px; } }
.search-inner input {
  border: none;
  background: transparent;
  font-size: 16px;
  padding: 4px 0;
  flex: 1;
}
.search-inner button {
  font-size: 22px;
  color: var(--text-light);
  padding: 4px 8px;
  transition: color 0.2s;
}
.search-inner button:hover { color: var(--brand-500); }
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 300;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}
@media (min-width: 768px) { .search-result-item { padding: 12px 40px; } }
.search-result-item:hover { background: var(--brand-50); }
.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-info span { font-size: 13px; color: var(--text-light); }
.search-result-info strong { font-size: 14px; display: block; }

/* ============ MOBILE MENU ============ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,20,18,0.4);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-main);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header button { font-size: 26px; color: var(--text-light); }
.mobile-menu-links { flex: 1; padding: 16px 0; overflow-y: auto; }
.mobile-menu-links a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  color: var(--text-body);
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.mobile-menu-links a:hover { color: var(--brand-500); background: var(--brand-50); border-left-color: var(--brand-500); }
.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}
.mobile-menu-footer a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  background: var(--brand-50);
  color: var(--brand-700);
  transition: background 0.2s;
}
.mobile-menu-footer a:hover { background: var(--brand-100); }

/* ============ PAGES ============ */
.page { display: none; min-height: 80vh; }
.page.active { display: block; }
#pagesContainer { position: relative; }

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(80vh - var(--header-h) - var(--announce-h));
  overflow: hidden;
  background: linear-gradient(135deg, #fff9f5 0%, #f9ebe6 60%, #f5e4d9 100%);
  position: relative;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: calc(92vh - var(--header-h) - var(--announce-h));
  }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23C08B7E' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .hero-content { padding: 48px 60px; } }
@media (min-width: 1100px) { .hero-content { padding: 0 80px 0 100px; } }

.hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 24px;
  padding: 12px 24px;
  background: rgba(192, 139, 126, 0.08);
  border-radius: 6px;
  max-width: 480px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 68px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--brand-900);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 74px);
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, #8B5E5E 0%, #C9A96E 50%, #8B5E5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 4%;
  width: 65%;
  height: 3px;
  background: linear-gradient(90deg, #C9A96E, transparent);
  border-radius: 3px;
  transform: rotate(-1deg);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px 32px;
}
@media (min-width: 900px) { .hero-visual { padding: 48px 32px; } }

.hero-grid-wrap {
  position: relative;
  width: min(480px, 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 420px;
  position: relative;
  z-index: 1;
}

.hero-grid > * {
  border-radius: 16px;
}

.hero-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
}

.hero-img-main {
  grid-row: 1 / 3;
  transform: rotate(-2.5deg);
  object-position: center 20%;
}

.hero-img-side {
  min-height: 0;
  overflow: hidden;
  transition: transform 300ms ease;
}
.hero-grid > img:nth-child(2) {
  object-position: top center;
  transform: rotate(3deg);
}
.hero-grid > img:nth-child(3) {
  transform: rotate(-3.5deg);
}
.hero-img-side:hover {
  transform: scale(1.03);
}
.hero-grid > img:nth-child(2):hover {
  transform: rotate(3deg) scale(1.03);
}
.hero-grid > img:nth-child(3):hover {
  transform: rotate(-3.5deg) scale(1.03);
}

.hero-grid-wrap::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(212, 165, 165, 0.15);
  top: -30px;
  left: -40px;
  z-index: 0;
  pointer-events: none;
}
.hero-grid-wrap::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(200, 170, 120, 0.12);
  bottom: -20px;
  right: -20px;
  z-index: 0;
  pointer-events: none;
}

.hero-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.30);
  z-index: 0;
  pointer-events: none;
}
.hero-dot:nth-child(1) { top: -12px; right: 25%; }
.hero-dot:nth-child(2) { bottom: 40px; left: -16px; }
.hero-dot:nth-child(3) { top: 40%; right: -14px; }

.hero-badge {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  background: white;
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  width: fit-content;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.hero-badge span {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--brand-700);
}

@media (max-width: 599px) {
  .hero-grid {
    height: 280px;
    gap: 8px;
  }
  .hero-badge {
    margin-top: 12px;
    padding: 8px 12px;
  }
  .hero-badge span { font-size: 10px; }
  .hero-badge strong { font-size: 14px; }
  .hero-grid-wrap::before,
  .hero-grid-wrap::after,
  .hero-dot { display: none; }
}

/* ============ SECTIONS ============ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header-decorated {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B8806A;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--brand-900);
  letter-spacing: -0.025em;
}
.section-title-decorated {
  position: relative;
  display: inline-block;
}
.section-title-decorated::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  border-radius: 3px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-body);
  margin-top: 14px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* ============ CATEGORIES ============ */
.categories-section {
  padding: 80px 0 64px;
  background: var(--bg-main);
}
.categories-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.categories-grid::-webkit-scrollbar { height: 4px; }
.categories-grid::-webkit-scrollbar-thumb { background: rgba(192,139,126,0.2); border-radius: 4px; }
@media (min-width: 900px) {
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
}
.category-card {
  position: relative;
  min-width: 170px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 2px 12px rgba(192,139,126,0.12);
  flex-shrink: 0;
  border: 1px solid rgba(192,139,126,0.08);
}
@media (min-width: 900px) {
  .category-card { min-width: 0; height: 300px; }
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
  display: block;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(60,40,35,0.45) 0%, rgba(60,40,35,0.08) 40%, transparent 100%);
  transition: background 500ms ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(60,40,35,0.3) 0%, transparent 50%);
}
.category-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.category-card span {
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  font-weight: 300;
}

/* ============ PRODUCTS GRID ============ */
.featured-section {
  padding: 80px 0 64px;
  background: var(--bg-section);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 600px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 900px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Product Card */
.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.product-card-img {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.product-card-img:hover .product-card-overlay { opacity: 1; }
.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-card-placeholder span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192, 139, 126, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s;
}
.product-card-overlay button {
  width: 100%;
  background: var(--brand-500);
  color: white;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.product-card-overlay button:hover { background: var(--brand-600); }
.product-card-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 6px;
  background: rgba(192,139,126,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  height: 20px;
  line-height: 14px;
}
.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-800);
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 44px;
}
.price-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-700);
}
.price-pix {
  font-size: 11px;
  color: #2e8b57;
  font-weight: 500;
}
.product-card-stars {
  font-size: 12px;
  color: var(--gold-500);
  height: 16px;
  margin-bottom: 4px;
}
/* Botao de adicionar ao carrinho - sempre visivel no mobile */
.product-card-mobile-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 10px 12px;
  background: var(--brand-500);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.product-card-mobile-btn:hover { background: var(--brand-600); }

/* Sold out */
.product-card-sold-out .product-card-img img { filter: grayscale(0.5) opacity(0.7); }
.product-card-sold-out .product-card-name { color: var(--text-light); }
.sold-out-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(60,60,60,0.85);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  z-index: 2;
}
.product-card-mobile-btn-disabled {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 12px;
  background: #ccc;
  color: white;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  cursor: default;
}
.btn-disabled {
  background: #ccc !important;
  cursor: default !important;
  pointer-events: none;
}

/* Discount badge on product card image */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  z-index: 2;
  line-height: 1.3;
}
/* Original price strikethrough on card */
.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 2px;
}
.price-promo { color: #c0392b; }
/* Detail page */
.price-original-detail {
  font-size: 0.6em;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 6px;
  vertical-align: middle;
}
.discount-badge-inline {
  display: inline-block;
  background: #e74c3c;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
}

@media (hover: none) {
  /* Em dispositivos touch, mostrar botao fixo e esconder overlay */
  .product-card-mobile-btn { display: flex; }
  .product-card-overlay { display: none; }
}
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-spring);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.wish-btn:hover { transform: scale(1.15); background: #f5ede8; }
.wish-btn.active svg { fill: var(--brand-500); stroke: var(--brand-500); }
.wish-btn svg { transition: all 0.25s var(--ease-spring); }

/* ============ WHY SECTION ============ */
.why-section {
  padding: 32px 0;
  background: rgba(245,230,224,0.3);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.why-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .why-strip { grid-template-columns: repeat(4, 1fr); }
}
.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  position: relative;
}
.why-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(0,0,0,0.08);
}
@media (max-width: 767px) {
  .why-item:nth-child(2)::after { display: none; }
  .why-item:nth-child(1),
  .why-item:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,0.06); }
}
.why-item svg { flex-shrink: 0; }
.why-text { display: flex; flex-direction: column; gap: 2px; }
.why-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-900);
  line-height: 1.3;
}
.why-text span {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  padding: 64px 0;
  background: var(--bg-main);
}
.testimonials-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .testimonials-track { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .testimonials-track { grid-template-columns: repeat(4, 1fr); } }
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
  position: relative;
}
.stars {
  color: var(--gold-500);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
  flex-shrink: 0;
}
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* ============ INSTAGRAM ============ */
.instagram-section {
  padding: 64px 0;
  background: var(--bg-section);
}
.instagram-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
}
.instagram-header > div { flex: 1; }
.instagram-header h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.instagram-header p { font-size: 13px; color: var(--text-light); }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (min-width: 600px) { .instagram-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-post {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  background: var(--brand-100);
}
.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insta-post:hover { transform: scale(1.03); }
.insta-post-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 11px;
  background: linear-gradient(135deg, #f5ede8, #ece0dc);
}
.insta-post-empty svg { opacity: 0.3; }

/* ============ FOOTER ============ */
.footer {
  background: var(--brand-950);
  padding: 56px 0 0;
  color: rgba(245,237,232,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 1; } }
.footer-logo { color: var(--brand-200); }
.footer-logo em { color: var(--brand-400); }
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 12px;
  color: rgba(245,237,232,0.5);
}
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,237,232,0.6);
  transition: all 0.2s;
}
.social-links a:hover { background: var(--brand-500); color: white; }
.footer-links h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,237,232,0.5);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(245,237,232,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-300); }
.footer-contact h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,237,232,0.5);
  margin-bottom: 16px;
}
.footer-contact a {
  display: block;
  font-size: 14px;
  color: rgba(245,237,232,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--brand-300); }
.footer-note { font-size: 12px; color: rgba(245,237,232,0.35); margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(245,237,232,0.3); }

/* ============ PAGE HERO SMALL ============ */
.page-hero-small {
  background: linear-gradient(135deg, #F5E6E0, #FDF8F6);
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B8806A;
  margin-bottom: 12px;
}
.page-hero-small h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: -0.025em;
}
.page-hero-small p {
  font-size: 16px;
  color: #868E96;
  margin-top: 12px;
}
.page-hero-counter {
  display: block;
  font-size: 13px;
  color: #B8806A;
  margin-top: 10px;
}

/* ============ CATALOG ============ */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 0;
}
@media (min-width: 768px) {
  .catalog-layout { grid-template-columns: 220px 1fr; }
}

/* Sidebar Filters */
.filters-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
@media (max-width: 767px) {
  .filters-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(300px, 90vw);
    z-index: 600;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-out);
    overflow-y: auto;
  }
  .filters-sidebar.open { transform: translateX(0); }
}
.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.filters-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-800);
}
.filters-close {
  display: none;
  font-size: 24px;
  color: var(--text-light);
}
@media (max-width: 767px) { .filters-close { display: block; } }
.filter-group { margin-bottom: 24px; }
.filter-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
}
.filter-check input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.catalog-count { font-size: 14px; color: var(--text-light); flex: 1; }
.catalog-sort select { width: auto; font-size: 13px; padding: 8px 12px; }
.filters-mobile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.filters-mobile-btn:hover { border-color: var(--brand-500); color: var(--brand-500); }
@media (min-width: 768px) { .filters-mobile-btn { display: none; } }
.catalog-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-top: 16px;
  color: var(--brand-700);
}
.empty-state p { font-size: 14px; margin-top: 8px; }
.empty-state a { color: var(--brand-500); }
.empty-state button { margin-top: 20px; }

/* ============ PRODUCT PAGE ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--brand-500); }
.breadcrumb span { color: var(--text-light); }
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
@media (min-width: 768px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 60px; } }

.product-image-main {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--brand-400);
  font-style: italic;
}
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.product-thumb.active { border-color: var(--brand-500); }
.product-thumb:hover { border-color: var(--brand-300); }

.product-info { padding: 8px 0; }
.product-category-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: var(--brand-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  color: var(--brand-900);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.stars-filled { color: var(--gold-500); font-size: 16px; letter-spacing: 2px; }
.rating-count { font-size: 13px; color: var(--text-light); }
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}
.product-price-pix {
  font-size: 13px;
  color: #2E7D32;
  background: #E8F5E9;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.product-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
}
.product-options {
  margin-bottom: 24px;
}
.option-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}
.option-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.option-chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
}
.option-chip.active, .option-chip:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
  background: var(--brand-50);
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.quantity-control button {
  width: 40px;
  height: 44px;
  font-size: 18px;
  color: var(--brand-500);
  transition: background 0.15s;
}
.quantity-control button:hover { background: var(--brand-50); }
.quantity-control span {
  min-width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}
.btn-add-cart { flex: 1; min-height: 48px; }
.btn-wish {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.25s var(--ease-spring);
  flex-shrink: 0;
}
.btn-wish:hover { border-color: var(--brand-500); color: var(--brand-500); }
.btn-wish.active { border-color: var(--brand-500); color: var(--brand-500); }
.btn-wish.active svg { fill: var(--brand-500); }

.product-guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
}
.whatsapp-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1a7330;
  font-weight: 500;
  transition: opacity 0.2s;
}
.whatsapp-cta a:hover { opacity: 0.75; }

.related-section {
  margin-top: 72px;
  padding-top: 48px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.related-section .section-title {
  margin-bottom: 28px;
}

/* ============ CART DRAWER ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,20,18,0.4);
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-main);
  z-index: 800;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
}
.cart-header button { font-size: 26px; color: var(--text-light); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.cart-empty svg { margin: 0 auto 16px; opacity: 0.4; }
.cart-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--brand-700);
  margin-bottom: 8px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-800);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-variant { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px 8px;
}
.cart-item-qty button {
  font-size: 16px;
  color: var(--brand-500);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty span { font-size: 14px; font-weight: 500; }
.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-700);
}
.cart-item-remove {
  color: var(--text-light);
  font-size: 18px;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #c62828; }
.cart-footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  background: var(--bg-card);
}
.cart-free-shipping {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-body);
}
.shipping-progress {
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin: 6px 0;
  overflow: hidden;
}
.shipping-progress-bar {
  height: 100%;
  background: var(--brand-500);
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-out);
}
.cart-totals { margin-bottom: 16px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text-body);
}
.cart-total-row.total {
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--brand-800);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}

/* ============ CHECKOUT ============ */
.checkout-container { padding-top: 40px; padding-bottom: 60px; }
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.step {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  transition: all 0.3s;
}
.step.active {
  background: var(--brand-500);
  color: white;
}
.step.done {
  background: var(--brand-100);
  color: var(--brand-600);
}
.step-divider {
  width: 30px;
  height: 1px;
  background: var(--border);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) { .checkout-layout { grid-template-columns: 1fr 380px; } }

.checkout-form-area { min-width: 0; }
.checkout-step-content { display: none; }
.checkout-step-content.active { display: block; }
.checkout-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--brand-800);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-group-full { grid-column: span 2; }
  .form-group-lg { grid-column: span 2; }
  .form-group-sm { grid-column: span 1; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-body); }
.form-group-cep { }
.cep-input-wrap { display: flex; gap: 8px; }
.cep-input-wrap input { flex: 1; }
.btn-cep {
  background: var(--brand-500);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cep:hover { background: var(--brand-600); }

.shipping-options { margin: 24px 0; }
.shipping-options h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--brand-800);
}
.shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.shipping-option:hover { border-color: var(--brand-300); }
.shipping-option.active { border-color: var(--brand-500); background: var(--brand-50); }
.shipping-option input[type="radio"] { accent-color: var(--brand-500); width: 18px; height: 18px; padding: 0; }
.shipping-info { flex: 1; }
.shipping-info strong { font-size: 14px; display: block; color: var(--text-main); }
.shipping-info span { font-size: 12px; color: var(--text-light); }
.shipping-price { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: var(--brand-700); }
.shipping-free-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

.form-btns {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Payment */
.payment-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.payment-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.payment-tab:hover { border-color: var(--brand-300); }
.payment-tab.active { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700); }
.badge-5off {
  font-size: 10px;
  background: #2E7D32;
  color: white;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  position: absolute;
  top: -8px;
  right: -4px;
}

.payment-panel { display: none; }
.payment-panel.active { display: block; }

.pix-info { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.pix-qr { text-align: center; }
.pix-qr-inner {
  width: 120px;
  height: 120px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.pix-label { font-size: 12px; color: var(--text-light); }
.pix-details { flex: 1; min-width: 200px; }
.pix-details p { font-size: 14px; color: var(--text-body); margin-bottom: 8px; line-height: 1.5; }
.pix-details strong { color: var(--text-main); }
.pix-key {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-100);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin: 12px 0;
  flex-wrap: wrap;
}
.pix-key span { font-size: 12px; color: var(--text-light); }
.pix-key code { font-size: 12px; flex: 1; word-break: break-all; }
.pix-key button {
  background: var(--brand-500);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  transition: background 0.2s;
}
.pix-key button:hover { background: var(--brand-600); }
.pix-expiry { font-size: 12px; color: var(--text-light); }

.boleto-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.boleto-info p { font-size: 14px; color: var(--text-body); margin-bottom: 6px; line-height: 1.5; }
.boleto-info strong { color: var(--text-main); }

.coupon-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.coupon-input { display: flex; gap: 8px; }
.coupon-input input { flex: 1; font-size: 14px; }
.coupon-input button {
  background: var(--brand-500);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.coupon-input button:hover { background: var(--brand-600); }
.coupon-msg { font-size: 13px; margin-top: 8px; }
.coupon-msg.success { color: #2E7D32; }
.coupon-msg.error { color: #c62828; }

.btn-confirm {
  font-size: 16px;
  padding: 16px 40px;
  letter-spacing: 0.02em;
}

/* Checkout Summary */
.checkout-summary {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1.5px solid var(--border);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-summary h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-800);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.summary-item-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.summary-item-info { flex: 1; }
.summary-item-info strong { font-size: 13px; display: block; line-height: 1.3; color: var(--text-main); }
.summary-item-info span { font-size: 12px; color: var(--text-light); }
.summary-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-700);
}
.summary-totals { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
  color: var(--text-body);
}
.summary-row.total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-800);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.summary-row.discount { color: #2E7D32; }
.secure-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
  justify-content: center;
}

/* ============ CONFIRMATION ============ */
.confirmation-card {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
}
.confirmation-icon { margin-bottom: 20px; }
.confirmation-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--brand-800);
  margin-bottom: 8px;
}
.confirmation-sub { font-size: 16px; color: var(--text-body); margin-bottom: 24px; }
.confirmation-sub span { color: var(--brand-500); }
.order-number-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-50);
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--text-body);
}
.order-number-box strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--brand-700);
}
.confirmation-details { margin-bottom: 28px; text-align: left; }
.next-steps { text-align: left; margin-bottom: 32px; }
.next-steps h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--brand-800);
  margin-bottom: 14px;
}
.steps-list { display: flex; flex-direction: column; gap: 12px; }
.next-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.next-step span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.next-step p { font-size: 14px; color: var(--text-body); line-height: 1.5; }
.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.confirmation-actions a { text-decoration: none; }

/* ============ WISHLIST / INFO PAGES ============ */
.info-page { padding: 40px 0 80px; max-width: 700px; }
.info-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-800);
  margin: 32px 0 10px;
}
.info-page h2:first-of-type { margin-top: 0; }
.info-page h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-700);
  margin: 20px 0 8px;
}
.info-page p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.info-page strong { color: var(--text-main); }
.info-page ul, .info-page ol {
  margin: 8px 0 16px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}
.info-page li { margin-bottom: 4px; }
.info-page li strong { color: var(--text-main); }
.info-updated {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.info-contact-box {
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 12px;
}
.info-contact-box p {
  margin-bottom: 4px;
}

.about-content { padding: 40px 0 80px; max-width: 760px; }
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--brand-800);
  margin-bottom: 20px;
}
.about-text p { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.about-text h2:not(:first-child) { margin-top: 36px; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 700px) { .about-values { grid-template-columns: repeat(2, 1fr); } }
.about-value {
  padding: 20px;
  background: var(--brand-50);
  border-radius: var(--radius-lg);
  text-align: center;
}
.about-value strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--brand-700);
  display: block;
  margin-bottom: 6px;
}
.about-value span { font-size: 13px; color: var(--text-light); }

.about-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 700px) { .about-numbers { grid-template-columns: repeat(2, 1fr); } }
.about-number { text-align: center; padding: 16px 0; }
.about-number strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--brand-600);
  display: block;
  margin-bottom: 4px;
}
.about-number span { font-size: 13px; color: var(--text-soft); }

/* ============ ADMIN ============ */
.admin-layout {
  display: none;
  min-height: 100vh;
  background: var(--neutral-50);
}
.admin-layout.visible { display: grid; grid-template-columns: 240px 1fr; }
.admin-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--brand-900);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-mobile-header .logo-text { color: var(--brand-200); font-size: 20px; }
.admin-mobile-header .logo-text em { color: var(--brand-400); }
.admin-mobile-toggle { color: rgba(245,237,232,0.8); padding: 8px; border-radius: var(--radius-md); transition: background 0.2s; }
.admin-mobile-toggle:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
  .admin-layout.visible { grid-template-columns: 1fr; }
  .admin-mobile-header { display: flex; }
  .admin-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(280px, 85vw);
    z-index: 700;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    box-shadow: var(--shadow-lg);
  }
  .admin-layout.sidebar-open .admin-sidebar { transform: translateX(0); }
}
.admin-sidebar {
  background: var(--brand-900);
  color: rgba(245,237,232,0.8);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-logo .logo-text { color: var(--brand-200); }
.admin-logo .logo-text em { color: var(--brand-400); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: rgba(245,237,232,0.6);
  transition: all 0.2s;
  margin-bottom: 2px;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(192,139,126,0.15);
  color: var(--brand-200);
}
.admin-content {
  padding: 32px;
  min-width: 0;
}
@media (max-width: 768px) { .admin-content { padding: 20px; } }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--brand-800);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.admin-section-header .admin-title { margin-bottom: 0; }

.cat-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.cat-admin-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.cat-admin-preview {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f5ede8, #e8d8d0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-admin-preview .cat-admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 12px;
}
.cat-admin-preview .cat-admin-empty svg { opacity: 0.4; }
.cat-admin-body {
  padding: 16px;
}
.cat-admin-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-800);
  margin-bottom: 12px;
}
.cat-admin-actions {
  display: flex;
  gap: 8px;
}
.cat-admin-actions button {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-admin-btn-upload {
  background: var(--brand-500);
  color: white;
  border: none;
}
.cat-admin-btn-upload:hover { background: var(--brand-600); }
.cat-admin-btn-url {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-300);
}
.cat-admin-btn-url:hover { background: var(--brand-50); }
.cat-admin-btn-remove {
  background: transparent;
  color: #c0392b;
  border: 1.5px solid rgba(192,57,43,0.2);
  flex: 0;
  padding: 8px 10px;
}
.cat-admin-btn-remove:hover { background: rgba(192,57,43,0.05); }
.cat-admin-source {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insta-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.insta-admin-card {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.insta-admin-preview {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5ede8, #ece0dc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.insta-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insta-admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 11px;
}
.insta-admin-empty svg { opacity: 0.3; }
.insta-admin-actions {
  display: flex;
  gap: 6px;
  padding: 10px;
}
.insta-admin-actions button {
  flex: 1;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.insta-admin-btn-add {
  background: var(--brand-500);
  color: white;
  border: none;
}
.insta-admin-btn-add:hover { background: var(--brand-600); }
.insta-admin-btn-url {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-300);
}
.insta-admin-btn-url:hover { background: var(--brand-50); }
.insta-admin-btn-rm {
  background: transparent;
  color: #c0392b;
  border: 1.5px solid rgba(192,57,43,0.2);
  flex: 0;
  padding: 7px 9px;
}
.insta-admin-btn-rm:hover { background: rgba(192,57,43,0.05); }
.insta-admin-slot {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  padding-bottom: 8px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .settings-grid { grid-template-columns: 1fr 1fr; } }
.settings-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
}
.settings-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}
.settings-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 900px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
}
.metric-card-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
.metric-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--brand-800);
  letter-spacing: -0.02em;
}
.metric-card-sub { font-size: 12px; color: var(--text-light); margin-top: 6px; }

.recent-orders h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--brand-800);
}
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--neutral-100);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  background: var(--bg-card);
}
.admin-table tr:hover td { background: var(--brand-50); }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}
.status-pending { background: #fff3e0; color: #e65100; }
.status-paid { background: #e8f5e9; color: #2e7d32; }
.status-ordered { background: #fff8e1; color: #f57f17; }
.status-received { background: #e0f2f1; color: #00695c; }
.status-shipped { background: #e3f2fd; color: #1565c0; }
.status-delivered { background: #f3e5f5; color: #6a1b9a; }
.status-cancelled { background: #ffebee; color: #c62828; }

.admin-filters { margin-bottom: 20px; }
.admin-filters select { width: auto; font-size: 14px; }

.admin-table-actions { display: flex; gap: 6px; }
.action-btn {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}
.action-btn-primary { background: var(--brand-100); color: var(--brand-700); }
.action-btn-primary:hover { background: var(--brand-500); color: white; }
.action-btn-danger { background: #ffebee; color: #c62828; }
.action-btn-danger:hover { background: #c62828; color: white; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: white;
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-whatsapp:hover { background: #1da851; transform: scale(1.1); }

.order-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.order-card:hover { border-color: var(--brand-300); box-shadow: 0 2px 12px rgba(192,139,126,0.1); }
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.order-card-id { display: flex; flex-direction: column; gap: 2px; }
.order-card-id strong { font-size: 15px; color: var(--text-main); }
.order-card-date { font-size: 12px; color: var(--text-light); }
.order-card-body { margin-bottom: 12px; }
.order-card-customer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.order-card-name { font-weight: 600; font-size: 14px; color: var(--text-main); }
.order-card-phone { font-size: 13px; color: var(--text-soft); }
.order-card-items {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.order-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  color: var(--text-soft);
}
.order-card-tag.tag-retirada { background: #e8f5e9; color: #2e7d32; }
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.order-card-total { font-size: 16px; color: var(--brand-700); }
.order-card-actions { display: flex; align-items: center; gap: 8px; }

.new-order-banner {
  display: none;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
  animation: bannerPulse 0.5s ease;
}
.new-order-banner.visible { display: block; }
.new-order-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}
.new-order-banner-content span {
  font-size: 14px;
  font-weight: 600;
  color: #2e7d32;
}
.new-order-banner-content button {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #2e7d32;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.new-order-banner-content button:hover { background: #1b5e20; }
@keyframes bannerPulse {
  0% { transform: scale(0.98); opacity: 0; }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); opacity: 1; }
}

.admin-table-actions { align-items: center; }

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
}
.login-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: min(420px, 90vw);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-card .logo-text { font-size: 28px; display: block; margin-bottom: 8px; }
.login-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--brand-800);
  margin-bottom: 28px;
  font-weight: 400;
}
.login-card .form-group { text-align: left; margin-bottom: 16px; }
.login-hint { font-size: 12px; color: var(--text-light); margin-top: 16px; }

/* Admin product table thumbnail */
.product-thumb-admin {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-600);
  overflow: hidden;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,20,18,0.5);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: white;
  border-radius: var(--radius-xl);
  width: min(640px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
}
.modal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-800);
}
.modal-header button { font-size: 26px; color: var(--text-light); }
.modal-body { padding: 24px; }
.modal-body textarea { resize: vertical; }
.photo-manager { display: flex; flex-direction: column; gap: 10px; }
.photo-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.photo-thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--border);
  cursor: grab;
  transition: border-color 0.2s, transform 0.2s;
}
.photo-thumb-item:first-child { border-color: var(--brand-500); }
.photo-thumb-item:hover { transform: scale(1.05); }
.photo-thumb-item.dragging { opacity: 0.4; transform: scale(0.95); }
.photo-thumb-item.drag-over { border-color: var(--gold-500); border-style: dashed; }
.photo-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb-item .photo-badge {
  position: absolute;
  top: 3px;
  left: 3px;
  background: var(--brand-500);
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.photo-thumb-item .photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  cursor: pointer;
  line-height: 1;
}
.photo-thumb-item:hover .photo-remove { opacity: 1; }
.photo-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg-section);
}
.photo-drop-zone:hover, .photo-drop-zone.drag-active {
  border-color: var(--brand-400);
  background: var(--brand-50);
}
.photo-drop-zone span { font-size: 13px; color: var(--text-body); font-weight: 500; }
.photo-drop-zone small { font-size: 11px; color: var(--text-light); }
.photo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-url-input {
  display: flex;
  gap: 8px;
  align-items: center;
}
.photo-url-input input { flex: 1; }
.photo-hint { font-size: 11px; color: var(--text-light); }
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: white;
}

/* ============ ORDER DETAIL MODAL ============ */
#orderDetailModal {
  position: fixed;
  inset: 0;
  background: rgba(30,20,18,0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#orderDetailModal.visible { opacity: 1; pointer-events: all; }
.order-detail-modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.order-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.order-detail-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 540px) { .order-detail-grid { grid-template-columns: 1fr; } }
.order-detail-card {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: 16px;
}
.order-detail-card h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.order-detail-card p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}
.order-detail-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 20px;
}
.order-detail-section h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}
.order-internal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) { .order-internal-grid { grid-template-columns: 1fr 1fr; } }
.order-internal-grid .form-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 4px;
  display: block;
}
.order-internal-grid .form-group input {
  font-size: 13px;
  padding: 8px 10px;
}
.order-detail-section textarea {
  font-size: 13px;
  resize: vertical;
}
.order-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.order-detail-actions .btn-primary {
  margin-left: auto;
}

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100vw - 40px);
}
.toast {
  background: var(--brand-900);
  color: #f5ede8;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--ease-out) forwards;
  max-width: 320px;
}
.toast.success { background: #1b5e20; }
.toast.error { background: #b71c1c; }
.toast.info { background: var(--brand-700); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 590;
  transition: all 0.3s var(--ease-spring);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-900);
  color: rgba(245,237,232,0.85);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 1500;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner a { color: var(--brand-300); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============ SKELETON LOADING ============ */
.skeleton {
  background: linear-gradient(90deg, var(--neutral-100) 25%, var(--neutral-50) 50%, var(--neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }

/* ============ MOBILE BOTTOM NAV (app feeling) ============ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,249,245,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 600;
  padding: 8px 0;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 600px) { .mobile-bottom-nav { display: flex; } }
.mobile-bottom-nav a, .mobile-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  padding: 4px 0;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav button:hover { color: var(--brand-500); }
.mobile-bottom-nav .nav-cart-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-bottom-nav .nav-cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--brand-500);
  color: white;
  font-size: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}

/* Add bottom padding on mobile to avoid overlap with nav */
@media (max-width: 600px) {
  body { padding-bottom: 64px; }
  .whatsapp-float { bottom: 80px; }
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 767px) {
  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 32px 20px 24px; }
  .hero-title { font-size: clamp(36px, 9vw, 48px); margin-bottom: 16px; }
  .hero-title em { font-size: clamp(40px, 10vw, 52px); }
  .hero-eyebrow { font-size: 10px; padding: 8px 16px; margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; text-align: center; }
  .hero-visual { padding: 0 20px 24px; }
  .hero-grid { height: 320px; }

  /* Sections padding */
  .featured-section { padding: 40px 0 28px; }
  .testimonials-section { padding: 40px 0; }
  .instagram-section { padding: 40px 0; }
  .footer { padding: 36px 0 0; }
  .footer-grid { gap: 24px; }

  /* Section titles */
  .section-title { font-size: 28px; margin-bottom: 8px; }
  .section-sub { font-size: 14px; margin-bottom: 24px; }

  /* Products */
  .product-actions { flex-wrap: wrap; }
  .btn-add-cart { width: 100%; }

  /* Product cards */
  .products-grid { gap: 10px; }
  .product-card-body { padding: 10px 10px 12px; }
  .product-card-cat { font-size: 9px; padding: 2px 8px; height: 18px; line-height: 14px; }
  .product-card-name { font-size: 14px; min-height: 2.6em; margin-bottom: 6px; }
  .product-card-price { min-height: 38px; gap: 2px 6px; }
  .price-main { font-size: 18px; }
  .price-pix { font-size: 9px; }
  .product-card-stars { height: 14px; font-size: 11px; }
  .product-card-mobile-btn { padding: 8px 10px; font-size: 12px; }

  /* About */
  .about-content { padding: 24px 0 40px; }
  .about-text h2 { font-size: 24px; margin-bottom: 14px; }
  .about-text p { font-size: 14px; }
  .about-number strong { font-size: 26px; }

  /* Checkout */
  .checkout-container { padding: 24px 0; }
}

/* ============ ORDER DETAIL PANEL ============ */
.order-detail-panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1.5px solid var(--border);
  margin-top: 20px;
}
.order-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-500);
  margin-top: 5px;
  flex-shrink: 0;
}
.timeline-content { flex: 1; }
.timeline-content strong { font-size: 13px; display: block; }
.timeline-content span { font-size: 12px; color: var(--text-light); }

/* ============ STAR SELECTOR ============ */
.star-selector {
  display: flex;
  gap: 4px;
}
.star-option {
  font-size: 28px;
  cursor: pointer;
  color: var(--border);
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}
.star-option.active { color: var(--gold-500); }
.star-option:hover { transform: scale(1.2); }

/* ============ TESTIMONIALS ADMIN TABLE ============ */
.testimonial-admin-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}
.testimonial-admin-card .t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-admin-card .t-body { flex: 1; }
.testimonial-admin-card .t-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}
.testimonial-admin-card .t-location {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 4px;
}
.testimonial-admin-card .t-stars {
  color: var(--gold-500);
  font-size: 13px;
  margin: 2px 0 6px;
  letter-spacing: 1px;
}
.testimonial-admin-card .t-text {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  font-style: italic;
}
.testimonial-admin-card .t-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-self: center;
}

/* ============ SKIP LINK (A11Y) ============ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand-500);
  color: white;
  padding: 12px 24px;
  z-index: 9999;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ============ CONTRAST FIX (A11Y) ============ */
.price-pix { color: #1a7330; }
.product-price-pix { color: #1a7330; }
.page-hero-small p { color: #6B5B54; }

/* ============ CHECKOUT SUMMARY MOBILE (RESP-04) ============ */
@media (max-width: 899px) {
  .checkout-summary {
    position: static;
    order: -1;
  }
}

/* ============ REDUCED MOTION (A11Y) ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ FOCUS VISIBLE (A11Y) ============ */
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}
