/* ============================================
   TALISSA MARA STYLE - ELEGANT FASHION STORE
   ============================================ */

:root {
  --primary: #c8a27a;
  --primary-dark: #a8845c;
  --secondary: #2c2420;
  --accent: #d4a5a5;
  --bg-cream: #faf7f4;
  --bg-white: #ffffff;
  --text-dark: #2c2420;
  --text-medium: #6b5d54;
  --text-light: #9a8b82;
  --border: #e8ddd3;
  --success: #7a9e7e;
  --error: #c87474;
  --gold: #d4af37;
  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
  --shadow-lg: 0 10px 40px rgba(44, 36, 32, 0.12);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--secondary);
  color: #fff;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: #fff;
  opacity: 0.85;
}

.top-bar a:hover {
  opacity: 1;
  color: var(--primary);
}

.top-bar-links {
  display: flex;
  gap: 20px;
}

.top-instagram { display: inline-flex; align-items: center; gap: 6px; }
.top-instagram svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* ============ HEADER ============ */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 30px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 2px;
  line-height: 1;
}

.logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--primary);
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 45px 12px 20px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--bg-cream);
  font-size: 14px;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 162, 122, 0.1);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar button:hover {
  background: var(--primary-dark);
}

.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.icon-btn {
  position: relative;
  background: none;
  color: var(--secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--bg-cream);
  color: var(--primary);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

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

/* ============ NAV ============ */
.nav {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 15px 0;
}

.nav-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  background: none;
  color: var(--secondary);
  width: 44px;
  height: 44px;
}

/* ============ HERO CAROUSEL ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
}

.carousel {
  position: relative;
  height: 75vh;
  min-height: 500px;
  max-height: 800px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.carousel-slide.active .carousel-bg {
  transform: scale(1);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44,36,32,0.6) 0%, rgba(44,36,32,0.2) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  padding: 0 60px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid var(--primary);
  border-radius: 20px;
}

.carousel-title {
  font-size: 56px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}

.carousel-subtitle {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.7;
}

.carousel-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

.btn-dark {
  background: var(--secondary);
  color: #fff;
}

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

.carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 3;
  pointer-events: none;
}

.carousel-arrow {
  pointer-events: auto;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--primary);
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dot {
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--primary);
  width: 50px;
}

/* V21 - botão opcional sobre banners cadastrados pelo Admin */
.carousel-admin-button {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.carousel-admin-button:hover {
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 768px) {
  .carousel-admin-button {
    bottom: 62px;
    padding: 12px 22px;
    font-size: 11px;
  }
}

/* ============ SECTIONS ============ */
.section {
  padding: 80px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-medium);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 20px auto;
}

/* ============ CATEGORIES GRID ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(44,36,32,0.85) 0%, rgba(44,36,32,0.2) 60%);
}

.category-name {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 1px;
}

.category-count {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ============ PRODUCT GRID ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-white);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-cream);
}

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

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

.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  background: var(--secondary);
  color: #fff;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-sale {
  background: var(--error);
}

.badge-new {
  background: var(--primary);
}

.product-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 2;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  background: #fff;
  color: var(--secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-action-btn svg {
  width: 16px;
  height: 16px;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-category {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--secondary);
  margin-bottom: 10px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.price-current {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
}

.price-old {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount {
  font-size: 11px;
  color: var(--error);
  font-weight: 600;
  letter-spacing: 1px;
}

.product-colors {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 15px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}

.add-to-cart-btn:hover {
  background: var(--primary);
}

/* ============ BANNER PROMO ============ */
.promo-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #4a3d35 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(200,162,122,0.1) 0%, transparent 70%);
}

.promo-content {
  position: relative;
  z-index: 2;
}

.promo-tag {
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.promo-title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.promo-subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ INSTAGRAM SECTION ============ */
.instagram-section {
  background: var(--bg-white);
  padding: 80px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200,162,122,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-handle {
  text-align: center;
  margin-top: 30px;
}

.instagram-handle a {
  color: var(--primary);
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.instagram-handle a:hover {
  color: var(--primary-dark);
}

/* ============ FEATURES ============ */
.features {
  background: var(--bg-cream);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13px;
  color: var(--text-medium);
}

/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.newsletter h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.newsletter p {
  opacity: 0.9;
  margin-bottom: 25px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 2px;
  background: rgba(255,255,255,0.95);
  font-size: 14px;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
}

.newsletter-form button:hover {
  background: #1a1410;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--secondary);
  color: #d4c9be;
  padding: 70px 0 0;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--primary);
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #d4c9be;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 13px;
  color: #9a8b82;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: var(--bg-cream);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-medium);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--primary);
}

/* ============ PRODUCTS PAGE ============ */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 50px 0;
}

.filters {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 120px;
}

.filter-group {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--secondary);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-medium);
  transition: var(--transition);
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-color:hover,
.filter-color.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

.price-range {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-range input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  min-width: 40px;
  padding: 8px 12px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover,
.size-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 15px 20px;
  background: var(--bg-white);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.products-count {
  font-size: 14px;
  color: var(--text-medium);
}

.products-sort select {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  background: var(--bg-cream);
}

/* ============ PRODUCT DETAIL ============ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 50px 0;
}

.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-cream);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.product-detail-category {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.product-detail-price .price-current {
  font-size: 32px;
  font-weight: 600;
}

.product-detail-price .price-old {
  font-size: 18px;
}

.product-detail-description {
  color: var(--text-medium);
  margin-bottom: 30px;
  line-height: 1.8;
}

.option-group {
  margin-bottom: 25px;
}

.option-group label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--secondary);
  font-weight: 500;
}

.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-value {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
  background: var(--bg-white);
}

.option-value:hover {
  border-color: var(--primary);
}

.option-value.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-cream);
  color: var(--secondary);
  font-size: 18px;
}

.qty-btn:hover {
  background: var(--primary);
  color: #fff;
}

.qty-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14px;
}

.product-detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.product-detail-actions .btn {
  flex: 1;
  justify-content: center;
}

.product-meta {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-medium);
}

.product-meta p {
  margin-bottom: 8px;
}

.product-meta strong {
  color: var(--secondary);
}

/* ============ CART ============ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 50px 0;
}

.cart-items {
  background: var(--bg-white);
  border-radius: 4px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

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

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

.cart-item-image {
  width: 100px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-cream);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.cart-item-variant {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 10px;
}

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

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

.cart-remove {
  background: none;
  color: var(--text-light);
  font-size: 12px;
  text-decoration: underline;
}

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

.cart-summary {
  background: var(--bg-white);
  border-radius: 4px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 120px;
}

.cart-summary h3 {
  font-size: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid var(--border);
}

.shipping-calc {
  margin: 20px 0;
  padding: 20px;
  background: var(--bg-cream);
  border-radius: 4px;
}

.shipping-calc label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 500;
}

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

.shipping-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}

.shipping-input button {
  padding: 10px 20px;
  background: var(--secondary);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shipping-options {
  margin-top: 15px;
}

.shipping-option {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.shipping-option:last-child {
  border-bottom: none;
}

.shipping-option input {
  margin-right: 10px;
  accent-color: var(--primary);
}

.cart-summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

/* ============ CHECKOUT ============ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  padding: 50px 0;
}

.checkout-section {
  background: var(--bg-white);
  border-radius: 4px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.checkout-section h3 {
  font-size: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,162,122,0.1);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-option:hover,
.payment-option.active {
  border-color: var(--primary);
  background: var(--bg-cream);
}

.payment-option input {
  accent-color: var(--primary);
}

.payment-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}

.payment-info h5 {
  font-size: 14px;
  margin-bottom: 3px;
}

.payment-info p {
  font-size: 12px;
  color: var(--text-medium);
}

/* ============ ABOUT ============ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.about-image {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.value-item {
  text-align: center;
}

.value-item h4 {
  font-size: 20px;
  margin: 15px 0 10px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-medium);
}

/* ============ CONTACT ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 60px 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--bg-white);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-medium);
}

.contact-form {
  background: var(--bg-white);
  padding: 35px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

/* ============ ACCOUNT ============ */
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 50px 0;
}

.account-sidebar {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.account-menu {
  list-style: none;
}

.account-menu li {
  margin-bottom: 8px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-medium);
  transition: var(--transition);
}

.account-menu a:hover,
.account-menu a.active {
  background: var(--bg-cream);
  color: var(--primary);
}

.account-content {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* ============ ADMIN ============ */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--secondary);
  color: #fff;
  padding: 30px 0;
}

.admin-logo {
  padding: 0 25px 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.admin-logo h3 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
}

.admin-logo p {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
}

.admin-menu {
  list-style: none;
}

.admin-menu li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 25px;
  color: #d4c9be;
  font-size: 14px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-menu li a:hover,
.admin-menu li a.active {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
  border-left-color: var(--primary);
}

.admin-menu li a svg {
  width: 18px;
  height: 18px;
}

.admin-main {
  background: var(--bg-cream);
  padding: 30px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-header h2 {
  font-size: 26px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-white);
  padding: 25px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.stat-card h4 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 10px;
}

.stat-card .value {
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
}

.stat-card .change {
  font-size: 12px;
  color: var(--success);
  margin-top: 5px;
}

.admin-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

.admin-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px;
  background: var(--bg-cream);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-medium);
  font-weight: 500;
}

.admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.admin-table tr:hover {
  background: var(--bg-cream);
}

.admin-table img {
  width: 50px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-btn {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
}

.admin-btn-primary {
  background: var(--primary);
  color: #fff;
}

.admin-btn-primary:hover {
  background: var(--primary-dark);
}

.admin-btn-edit {
  background: var(--bg-cream);
  color: var(--secondary);
  margin-right: 5px;
}

.admin-btn-delete {
  background: var(--error);
  color: #fff;
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(44,36,32,0.7);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 20px;
}

.modal-close {
  background: none;
  color: var(--text-medium);
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.modal-close:hover {
  background: var(--bg-cream);
  color: var(--secondary);
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  background: var(--secondary);
  color: #fff;
  padding: 15px 25px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateX(400px);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 350px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--error);
}

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-medium);
  margin-bottom: 25px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .carousel-title {
    font-size: 40px;
  }
  .products-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .product-detail,
  .about-content,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
  .top-bar-links {
    display: none;
  }
  .header-main {
    flex-wrap: wrap;
    gap: 15px;
  }
  .logo {
    font-size: 22px;
  }
  .search-bar {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .nav-list.active {
    display: flex;
  }
  .nav-list li {
    border-bottom: 1px solid var(--border);
  }
  .nav-list a {
    display: block;
    padding: 15px 20px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel {
    height: 60vh;
    min-height: 450px;
  }
  .carousel-title {
    font-size: 32px;
  }
  .carousel-content {
    padding: 0 25px;
  }
  .carousel-subtitle {
    font-size: 14px;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .product-name {
    font-size: 14px;
    min-height: 40px;
  }
  .price-current {
    font-size: 15px;
  }
  .product-info {
    padding: 15px 10px;
  }
  .add-to-cart-btn {
    font-size: 10px;
    padding: 10px;
  }
  .promo-title {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cart-item {
    grid-template-columns: 80px 1fr;
  }
  .cart-item-controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .carousel-title {
    font-size: 26px;
  }
  .carousel-buttons {
    flex-direction: column;
  }
  .carousel-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .page-header h1 {
    font-size: 32px;
  }
  .product-detail-info h1 {
    font-size: 26px;
  }
  .product-detail-price .price-current {
    font-size: 26px;
  }
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* Loading */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Correção mobile: evita que o cabeçalho vire uma faixa sobre o conteúdo durante a busca. */
@media (max-width: 768px) {
  .header { position: relative; top: auto; }
  .search-bar input { font-size: 16px; }
  .carousel { min-height: 430px; height: 58vh; }
  #bannersList > div { grid-template-columns: 100px 1fr !important; }
  #bannersList > div > img { width: 100px !important; height: 70px !important; }
  #bannersList > div > div:last-child { grid-column: 1 / -1; }
}

/* ===== LOGO OFICIAL TALISSA MARA STYLE ===== */
.site-logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: 82px;
  line-height: 1;
}
.site-logo-image {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .site-logo-link { height: 64px; }
  .site-logo-image { width: 64px; height: 64px; border-radius: 8px; }
}
@media (max-width: 480px) {
  .site-logo-link { height: 56px; }
  .site-logo-image { width: 56px; height: 56px; }
}

/* Checkout seguro antes da integração de pagamentos/frete */
.checkout-notice,
.shipping-pending {
  padding: 18px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  line-height: 1.55;
}
.checkout-notice strong,
.shipping-pending strong { display:block; margin-bottom:6px; color:var(--secondary); }
.checkout-notice p,
.shipping-pending p { margin:0; color:var(--text-medium); font-size:13px; }
.checkout-item-row { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); align-items:center; font-size:13px; }
.checkout-item-row img { width:56px; height:68px; object-fit:cover; border-radius:5px; flex:0 0 auto; }
.checkout-item-info { flex:1; min-width:0; }
.checkout-item-info p { margin:0 0 4px; font-weight:500; }
.checkout-item-info small { color:var(--text-medium); }
.checkout-empty { text-align:center; padding:22px 0; }
.checkout-empty .btn { margin-top:15px; }
.order-success { max-width:680px; margin:40px auto; padding:42px 30px; background:var(--bg-white); box-shadow:var(--shadow-sm); text-align:center; border-radius:8px; }
.order-success-icon { width:64px; height:64px; margin:0 auto 18px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--bg-cream); font-size:32px; color:var(--success); font-weight:700; }
.order-success h2 { margin-bottom:12px; }
.order-success p { color:var(--text-medium); margin-bottom:22px; line-height:1.6; }
.order-success .btn { margin:6px; }
button:disabled { opacity:.6; cursor:not-allowed; }
@media (max-width: 768px) {
  .checkout-item-row { align-items:flex-start; }
  .checkout-item-row strong { white-space:nowrap; font-size:12px; }
  .order-success { margin:20px 0; padding:30px 18px; }
}

/* =========================================================
   AJUSTE GLOBAL DE IMAGENS PARA CELULAR
   Mantém todas as imagens dentro da tela e evita banners/fotos gigantes.
   ========================================================= */
@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

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

  /* Banner: respeita a proporção 1600x700 da arte no celular. */
  .hero,
  .carousel {
    width: 100%;
    max-width: 100vw;
  }
  .carousel {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1600 / 700;
  }
  .carousel-slide,
  .carousel-bg {
    width: 100%;
    height: 100%;
  }
  .carousel-bg {
    background-size: cover;
    background-position: center center;
    transform: none;
  }
  .carousel-slide.active .carousel-bg {
    transform: none;
  }

  /* Grade de produtos: duas peças por linha para não criar fotos gigantes. */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card,
  .product-image {
    width: 100%;
    max-width: 100%;
  }
  .product-image {
    aspect-ratio: 3 / 4;
  }
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Categorias também ficam proporcionais. */
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .category-card {
    width: 100%;
    max-width: 100%;
  }

  /* Página individual do produto. */
  .product-detail {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }
  .product-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .gallery-main {
    width: 100%;
    max-width: 100%;
    max-height: 68vh;
    aspect-ratio: 3 / 4;
  }
  .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-cream);
  }
  .gallery-thumbs {
    max-width: 100%;
    overflow-x: auto;
  }
  .gallery-thumb {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
  }

  /* Fotos do carrinho e checkout. */
  .cart-item-image,
  .cart-item-image img {
    width: 72px;
    max-width: 72px;
  }
  .cart-item-image img {
    height: 90px;
    object-fit: cover;
  }
  .checkout-item-row img {
    width: 52px;
    height: 66px;
    max-width: 52px;
    object-fit: cover;
  }

  /* Imagens das páginas institucionais. */
  .about-image,
  .about-image img,
  .instagram-item,
  .instagram-item img {
    max-width: 100%;
  }

  /* Lightbox nunca ultrapassa a tela. */
  .photo-lightbox {
    padding: 12px;
  }
  .photo-lightbox img {
    width: auto;
    height: auto;
    max-width: 96vw;
    max-height: 88vh;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  /* Mantém 2 produtos por linha mesmo em celulares pequenos. */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-info {
    padding: 10px 8px;
  }
  .product-name {
    font-size: 12px;
    line-height: 1.35;
    min-height: 34px;
  }
  .price-current {
    font-size: 13px;
  }
  .add-to-cart-btn {
    padding: 9px 5px;
    font-size: 9px;
  }

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

  .gallery-main {
    max-height: 62vh;
  }
}

/* =========================================================
   MOBILE V2 - CORRECAO DE LARGURA, PRODUTOS E BANNERS
   Evita qualquer elemento escapar da viewport e exibe banner inteiro.
   ========================================================= */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible;
  }

  /* Impede filhos de grids/flex de criarem largura maior que a tela. */
  .products-layout,
  .products-layout > *,
  .products-layout > div,
  .filters,
  .products-toolbar,
  .products-grid,
  .product-card,
  .product-info,
  .filter-group,
  .price-range,
  .checkout-layout,
  .cart-layout,
  .product-detail,
  .product-gallery {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .products-layout {
    display: block !important;
    width: 100% !important;
    padding: 24px 0 !important;
  }

  .filters {
    width: 100% !important;
    padding: 20px 16px !important;
    margin: 0 0 24px !important;
    position: static !important;
  }

  .price-range {
    width: 100% !important;
  }
  .price-range input {
    min-width: 0 !important;
    width: 0 !important;
    flex: 1 1 0 !important;
  }

  .filters .btn {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .products-toolbar {
    width: 100% !important;
    padding: 14px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .products-count {
    flex: 1 1 100%;
  }
  .products-sort,
  .products-sort select {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Duas fotos por linha no celular, sempre dentro da tela. */
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .product-card {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .product-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
  }
  .product-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  /* Banner inteiro no celular: nao recorta laterais, rosto ou logo. */
  .hero,
  .carousel {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1600 / 700 !important;
    overflow: hidden !important;
    background: var(--bg-cream) !important;
  }
  .carousel-slide,
  .carousel-bg {
    width: 100% !important;
    height: 100% !important;
  }
  .carousel-bg {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    transform: none !important;
  }
  .carousel-overlay {
    display: none !important;
  }

  /* Nenhuma imagem comum pode estourar a viewport. */
  img {
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .product-info {
    padding: 9px 7px !important;
  }
}


/* Painel: detalhes completos do pedido */
.order-modal-content { max-width: 820px; }
.order-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.order-detail-card { border:1px solid var(--border); border-radius:8px; padding:16px; margin-bottom:14px; background:var(--bg-white); overflow-wrap:anywhere; }
.order-detail-card h4 { margin:0 0 10px; }
.order-detail-card p { margin:5px 0; }
.order-detail-muted { color:var(--text-medium); font-size:12px; margin-top:4px; }
.order-detail-item { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--border); }
.order-detail-item:last-child { border-bottom:0; }
.order-total-line { display:flex; justify-content:space-between; gap:16px; margin-top:10px; }
.order-grand-total { border-top:1px solid var(--border); padding-top:12px; font-size:18px; }
.order-contact-btn { display:inline-block; margin-top:10px; padding:9px 12px; }
#admin-orders .admin-card { overflow-x:auto; }
#admin-orders .admin-table { min-width:760px; }
@media (max-width: 680px) {
  .order-detail-grid { grid-template-columns:1fr; }
  .order-modal-content { width:calc(100% - 20px); max-height:92vh; }
  .order-detail-item { align-items:flex-start; }
}


/* ============ PREMIUM V6 ============ */
.premium-cta { background: linear-gradient(135deg, #f6ede7, #fff); padding: 54px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.premium-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.premium-cta h3 { font-size:32px; margin:6px 0 8px; }
.premium-cta p { color:var(--text-medium); max-width:720px; }
.premium-cta-actions { display:flex; gap:12px; flex-wrap:wrap; flex:0 0 auto; }
.premium-outline { color:var(--secondary) !important; border-color:var(--secondary) !important; background:transparent !important; }
.free-shipping-progress { margin: 14px 0 18px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-cream); font-size: 13px; }
.free-shipping-progress p { margin-bottom: 9px; color: var(--text-medium); }
.free-shipping-track { height: 7px; background: #eadfd6; border-radius: 999px; overflow:hidden; }
.free-shipping-track span { display:block; height:100%; background:var(--primary); border-radius:999px; transition:width .35s ease; }
.policy-wrap { max-width: 980px; padding-top: 48px; padding-bottom: 70px; }
.policy-card { background:#fff; border:1px solid var(--border); border-radius:18px; padding:40px; box-shadow:var(--shadow-sm); }
.policy-card h2 { font-size:23px; margin:30px 0 10px; }
.policy-card p { color:var(--text-medium); margin:0 0 14px; }
.policy-card a { color:var(--primary-dark); text-decoration:underline; }
.policy-lead { font-size:17px; color:var(--text-dark) !important; }
.policy-note { margin-top:30px !important; padding:16px 18px; background:var(--bg-cream); border-left:3px solid var(--primary); border-radius:8px; font-size:13px; }
@media (max-width: 768px) { .premium-cta-inner { flex-direction:column; align-items:flex-start; } .premium-cta h3 { font-size:26px; } .premium-cta-actions { width:100%; } .premium-cta-actions .btn { flex:1; justify-content:center; min-width:160px; } .policy-card { padding:24px 18px; } }

/* =========================================================
   PREMIUM V7 - HOME PRIORITIZA PRODUTOS NO CELULAR
   O banner é seguido imediatamente pelas roupas mais recentes.
   Os benefícios foram deslocados para a parte inferior da home.
   ========================================================= */
.home-latest-section { padding-top: 54px; }
.home-features-bottom { margin-top: 0; }
.compact-feature-header { margin-bottom: 30px; }

@media (max-width: 768px) {
  .home-latest-section {
    padding-top: 26px;
    padding-bottom: 30px;
  }
  .home-latest-section .section-header {
    margin-bottom: 18px;
  }
  .home-latest-section .section-title {
    font-size: 25px;
  }
  .home-latest-section .section-subtitle {
    font-size: 13px;
    margin-top: 8px;
  }
  .home-categories-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .home-sale-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .home-features-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .home-features-bottom .compact-feature-header {
    margin-bottom: 24px;
  }
}

/* =========================================================
   PREMIUM V8 - DIREÇÃO DE ARTE EDITORIAL / BOUTIQUE
   Refinamento visual global sem alterar checkout, pagamentos,
   frete, estoque ou endpoints administrativos.
   ========================================================= */
:root {
  --primary: #b5926b;
  --primary-dark: #8f6d49;
  --secondary: #171513;
  --accent: #c7a7a0;
  --bg-cream: #f7f4ef;
  --bg-white: #fffdf9;
  --text-dark: #1f1b18;
  --text-medium: #756a61;
  --text-light: #a3988e;
  --border: #e9e1d8;
  --shadow-sm: 0 8px 24px rgba(24, 20, 17, .045);
  --shadow-md: 0 16px 42px rgba(24, 20, 17, .08);
  --shadow-lg: 0 28px 70px rgba(24, 20, 17, .12);
}

body {
  background: #fbf9f6;
  color: var(--text-dark);
  letter-spacing: .01em;
}

.container { max-width: 1320px; }

/* Barra superior: mais discreta e sofisticada */
.top-bar {
  background: #151311;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: .18em;
}
.top-bar-links { gap: 26px; }
.top-instagram svg { width: 14px; height: 14px; }

/* Cabeçalho clean de boutique */
.header {
  background: rgba(255,253,249,.97);
  box-shadow: none;
  border-bottom: 1px solid rgba(31,27,24,.07);
  backdrop-filter: blur(12px);
}
.header-main { padding: 17px 0 14px; }
.site-logo-image {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}
.search-bar { max-width: 430px; }
.search-bar input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d8cec4;
  border-radius: 0;
  padding-left: 2px;
  padding-right: 42px;
  font-size: 12px;
  letter-spacing: .04em;
}
.search-bar input:focus {
  box-shadow: none;
  border-color: var(--secondary);
  background: transparent;
}
.search-bar button {
  right: 0;
  width: 34px;
  height: 34px;
  background: transparent;
  color: var(--secondary);
}
.search-bar button:hover { background: transparent; color: var(--primary-dark); }
.icon-btn { border-radius: 0; }
.icon-btn:hover { background: transparent; color: var(--primary-dark); }
.nav { border-top: 1px solid rgba(31,27,24,.06); }
.nav-list { gap: 34px; padding: 12px 0; }
.nav-list a { font-size: 10px; letter-spacing: .18em; font-weight: 500; }

/* Hero mais cinematográfico */
.carousel { max-height: 760px; }
.carousel-overlay {
  background: linear-gradient(90deg, rgba(18,16,14,.62) 0%, rgba(18,16,14,.24) 48%, rgba(18,16,14,.04) 100%);
}
.carousel-content { max-width: 650px; padding-left: 42px; }
.carousel-tag {
  border: 0;
  border-radius: 0;
  padding: 0 0 10px;
  color: #efe2d2;
  letter-spacing: .32em;
  border-bottom: 1px solid rgba(239,226,210,.55);
}
.carousel-title {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.carousel-subtitle { max-width: 560px; font-size: 15px; }
.carousel-buttons .btn { min-width: 168px; justify-content: center; }
.carousel-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.08); }
.carousel-dot { height: 1px; }

/* Titulagem editorial */
.section { padding: 92px 0; }
.section-header { margin-bottom: 42px; }
.section-tag { color: #8e7458; letter-spacing: .28em; font-size: 10px; }
.section-title {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.section-subtitle { font-size: 13px; letter-spacing: .02em; }
.section-divider { width: 36px; background: #bca286; }

.home-latest-section {
  position: relative;
  background: #fffdf9 !important;
  padding-top: 72px;
}
.home-latest-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1280px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d8c8b7, transparent);
}

/* Cards de produto: visual de editorial, não de marketplace */
.products-grid { gap: 34px 22px; }
.product-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.product-card:hover { transform: none; box-shadow: none; }
.product-image {
  border-radius: 3px;
  background: #efeae4;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.product-card:hover .product-image img { transform: scale(1.025); }
.product-badges { top: 12px; left: 12px; gap: 5px; }
.badge {
  border-radius: 0;
  padding: 6px 9px;
  background: rgba(20,18,16,.92);
  font-size: 8px;
  letter-spacing: .16em;
}
.badge-new { background: #b59572; }
.badge-sale { background: #7e3f3b; }
.product-actions { top: 12px; right: 12px; }
.product-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,253,249,.94);
  border: 1px solid rgba(31,27,24,.08);
  box-shadow: none;
}
.product-info { padding: 15px 2px 0; text-align: left; }
.product-category {
  font-size: 8px;
  letter-spacing: .22em;
  margin-bottom: 7px;
  color: #9b8c7f;
}
.product-name {
  justify-content: flex-start;
  text-align: left;
  min-height: 0;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}
.product-price { justify-content: flex-start; margin-bottom: 10px; }
.price-current { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.price-old { font-size: 12px; }
.product-colors { justify-content: flex-start; margin-bottom: 12px; }
.color-dot { width: 11px; height: 11px; }
.add-to-cart-btn {
  background: transparent;
  color: var(--secondary);
  border: 1px solid #201c19;
  border-radius: 0;
  font-size: 9px;
  letter-spacing: .18em;
  padding: 11px 10px;
}
.add-to-cart-btn:hover { background: #191613; color: #fff; }

/* Categorias com aspecto de campanha */
.home-categories-section { background: #f3eee8; }
.categories-grid { gap: 14px; }
.category-card { border-radius: 0; box-shadow: none; }
.category-overlay { padding: 22px; background: linear-gradient(to top, rgba(20,17,15,.70), transparent 54%); }
.category-name { font-size: 25px; letter-spacing: 0; }
.category-count { color: #eee1d2; font-size: 8px; letter-spacing: .2em; }

/* Benefícios em faixa elegante */
.home-features-bottom {
  background: #191613;
  color: #f7f2ed;
  border: 0;
  padding: 68px 0;
}
.home-features-bottom .section-title { color: #fff; }
.home-features-bottom .section-tag { color: #c9aa87; }
.home-features-bottom .section-divider { background: #c9aa87; }
.home-features-bottom .feature { color: #fff; }
.home-features-bottom .feature h4 { color: #fff; font-size: 18px; }
.home-features-bottom .feature p { color: rgba(255,255,255,.62); font-size: 12px; }
.home-features-bottom .feature-icon { color: #c9aa87; }
.home-features-bottom .feature-icon svg { width: 34px; height: 34px; }

/* Instagram mais editorial */
.instagram-section { background: #fffdf9; }
.instagram-grid { gap: 6px; }
.instagram-item { border-radius: 0; }
.instagram-overlay { background: rgba(24,20,17,.68); }
.instagram-handle a { color: #775f48; font-style: normal; font-size: 14px; letter-spacing: .08em; }

/* CTA de atendimento premium */
.premium-cta {
  background: #e9ddd0;
  border: 0;
  padding: 64px 0;
}
.premium-cta h3 { font-size: clamp(30px, 3vw, 43px); line-height: 1.08; max-width: 650px; }
.premium-cta p { font-size: 13px; }
.premium-cta .btn { border-radius: 0; }

/* Rodapé mais luxuoso */
.footer {
  background: #11100f;
  color: rgba(255,255,255,.68);
  padding-top: 72px;
}
.footer-grid { gap: 42px; }
.footer-logo { color: #fff; font-size: 30px; letter-spacing: .05em; }
.footer-logo span { color: #c5a27c; letter-spacing: .28em; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .08em; }
.footer-col p, .footer-links a, .footer-links li { color: rgba(255,255,255,.58); font-size: 12px; }
.footer-links a:hover { color: #d3b18a; padding-left: 3px; }
.social-link { border-color: rgba(255,255,255,.18); color: #fff; }
.social-link:hover { background: #c29d75; border-color: #c29d75; }
.footer-bottom { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.38); }

/* Botões e blocos globais */
.btn { border-radius: 0; letter-spacing: .16em; font-size: 10px; padding: 14px 28px; }
.btn-primary { background: #171412; }
.btn-primary:hover { background: #9d7a55; }
.btn-dark { background: #171412; }

/* Páginas internas */
.page-header { background: #f0e8df; }
.page-header h1 { letter-spacing: -.02em; }
.filters, .cart-summary, .checkout-summary, .contact-form-wrap, .account-card, .policy-card {
  border-radius: 2px;
  box-shadow: none;
  border-color: #e6ddd4;
}
.product-detail-info h1 { letter-spacing: -.02em; }
.gallery-main { border-radius: 2px; }

/* Mobile: boutique primeiro, roupas continuam imediatamente após banner */
@media (max-width: 768px) {
  .top-bar { padding: 7px 0; }
  .free-shipping-message { font-size: 9px; letter-spacing: .12em; }
  .header-main { padding: 10px 0 8px; gap: 10px; }
  .site-logo-image { max-height: 56px; }
  .header-icons { gap: 3px; }
  .icon-btn { width: 38px; height: 38px; }
  .menu-toggle { width: 38px; height: 38px; }
  .search-bar { margin-top: 2px; }
  .search-bar input { padding: 9px 38px 9px 2px; }

  .carousel-arrows { display: none; }
  .carousel-dots { bottom: 9px; gap: 6px; }
  .carousel-dot { width: 18px; }
  .carousel-dot.active { width: 30px; }

  .home-latest-section { padding-top: 30px !important; padding-bottom: 42px !important; }
  .home-latest-section .section-header { text-align: left; margin-bottom: 22px; }
  .home-latest-section .section-divider { margin-left: 0; }
  .home-latest-section .section-subtitle { margin-left: 0; max-width: 92%; }
  .home-latest-section .section-title { font-size: 30px; }
  .section-tag { font-size: 8px; }

  .products-grid { gap: 22px 10px !important; }
  .product-image { border-radius: 2px; }
  .product-info { padding: 10px 1px 0 !important; }
  .product-category { font-size: 7px; margin-bottom: 4px; }
  .product-name { font-size: 13px !important; line-height: 1.25; min-height: 0 !important; margin-bottom: 6px; }
  .price-current { font-size: 13px !important; }
  .price-old { font-size: 10px; }
  .product-price { margin-bottom: 7px; gap: 6px; }
  .product-colors { display: none; }
  .product-actions { display: none; }
  .add-to-cart-btn {
    padding: 9px 4px !important;
    font-size: 7.5px !important;
    letter-spacing: .12em;
    margin-top: 4px;
  }
  .badge { font-size: 6.5px; padding: 4px 6px; }
  .product-badges { top: 7px; left: 7px; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 30px; }
  .home-categories-section { padding-top: 52px !important; padding-bottom: 52px !important; }
  .category-name { font-size: 18px; }
  .category-overlay { padding: 14px; }

  .home-features-bottom { padding: 52px 0 !important; }
  .home-features-bottom .section-header { text-align: left; }
  .home-features-bottom .section-divider { margin-left: 0; }
  .features-grid { gap: 26px 12px; }

  .instagram-section { padding: 56px 0; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }

  .premium-cta { padding: 48px 0; }
  .premium-cta h3 { font-size: 31px; }
  .premium-cta-actions .btn { min-width: 0; }

  .footer { padding-top: 54px; }
}

@media (max-width: 420px) {
  .home-latest-section .section-title { font-size: 27px; }
  .product-name { font-size: 12.5px !important; }
  .add-to-cart-btn { font-size: 7px !important; }
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PREMIUM V9 — INFORMAÇÕES VISÍVEIS NOS CARDS DE PRODUTO
   A cliente vê nome, preço e um resumo sem precisar abrir a peça.
   ============================================================ */
.product-summary {
  margin: 0 0 10px;
  color: #70665f;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0 0 10px;
  color: #8e8177;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .04em;
}
.product-details-link {
  display: inline-block;
  margin: 0 0 10px;
  color: #342d28;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid #bca58f;
  padding-bottom: 2px;
}
.product-details-link:hover { color: #8b6f55; }

@media (max-width: 768px) {
  /* Mantém duas peças por linha, mas com informação legível logo abaixo da foto. */
  .product-info { padding: 9px 2px 0 !important; }
  .product-category { font-size: 6.5px !important; letter-spacing: .14em; }
  .product-name {
    font-size: 12.5px !important;
    line-height: 1.28 !important;
    margin-bottom: 5px !important;
    min-height: 32px !important;
  }
  .price-current { font-size: 13px !important; font-weight: 600 !important; }
  .price-old { font-size: 9.5px !important; }
  .product-summary {
    font-size: 9.5px;
    line-height: 1.38;
    margin-bottom: 7px;
    -webkit-line-clamp: 2;
  }
  .product-meta {
    display: block;
    font-size: 8px;
    line-height: 1.45;
    margin-bottom: 7px;
  }
  .product-meta span { display: block; }
  .product-details-link {
    font-size: 7.5px;
    letter-spacing: .08em;
    margin-bottom: 7px;
  }
  .add-to-cart-btn {
    width: 100%;
    font-size: 7px !important;
    padding: 8px 3px !important;
  }
}

@media (max-width: 380px) {
  .product-summary { font-size: 9px; }
  .product-meta { font-size: 7.5px; }
}


/* =========================================================
   PREMIUM V10 — CARDS COM INFORMAÇÕES SEMPRE VISÍVEIS
   Regra final: nome e preço nunca podem sumir no desktop/celular.
   ========================================================= */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 1px solid rgba(43,35,29,.08) !important;
  overflow: visible !important;
  min-width: 0 !important;
}
.product-image {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #f2ede7 !important;
}
.product-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  background: #fff !important;
  padding: 16px 14px 14px !important;
  color: #1d1916 !important;
}
.product-category,
.product-name,
.product-name a,
.product-price,
.price-current,
.price-old,
.product-summary,
.product-meta,
.product-details-link {
  visibility: visible !important;
  opacity: 1 !important;
}
.product-name {
  display: block !important;
  min-height: 0 !important;
  color: #1b1714 !important;
  margin: 0 0 7px !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
}
.product-name a { color: inherit !important; text-decoration: none !important; }
.product-price {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-height: 26px !important;
  margin: 0 0 10px !important;
  position: relative !important;
  z-index: 3 !important;
}
.price-current {
  display: inline-block !important;
  color: #171310 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
.price-old {
  display: inline-block !important;
  color: #8b8179 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
.price-unavailable { font-size: 13px !important; font-weight: 600 !important; }
.product-summary { color: #6f655e !important; }
.product-card-footer { margin-top: auto; }

@media (max-width: 768px) {
  .product-card { background: #fff !important; }
  .product-info { padding: 10px 9px 10px !important; }
  .product-category { display: block !important; font-size: 6.5px !important; margin-bottom: 5px !important; }
  .product-name { display: block !important; font-size: 12px !important; line-height: 1.28 !important; margin-bottom: 5px !important; min-height: 31px !important; }
  .product-price { display: flex !important; min-height: 22px !important; margin-bottom: 7px !important; gap: 5px !important; }
  .price-current { display: inline-block !important; font-size: 14px !important; font-weight: 700 !important; color: #171310 !important; }
  .price-old { display: inline-block !important; font-size: 9px !important; }
  .product-summary { display: -webkit-box !important; font-size: 9px !important; }
  .product-meta { display: block !important; }
}

@media (max-width: 380px) {
  .product-info { padding: 9px 7px !important; }
  .product-name { font-size: 11.5px !important; }
  .price-current { font-size: 13px !important; }
}


/* =========================================================
   PREMIUM V15 - NAVEGAÇÃO + CORES AUTOMÁTICAS
   Corrige menus com links diretos/antigos e melhora bolinhas de cor.
   ========================================================= */
.nav > .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 13px 0;
  flex-wrap: wrap;
}
.nav > .nav-list > a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 5px 0;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dark);
  white-space: nowrap;
}
.nav > .nav-list > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: var(--transition);
}
.nav > .nav-list > a:hover::after,
.nav > .nav-list > a.active::after { width: 100%; }
.nav > .nav-list > a:hover { color: var(--primary-dark); }

.color-swatch,
.option-color-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(31,27,24,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
  vertical-align: -2px;
  flex: 0 0 auto;
}
.admin-color-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.admin-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--text-medium);
}
@media (max-width: 768px) {
  .nav > .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .nav > .nav-list.active { display: flex; }
  .nav > .nav-list > a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
  }
  .nav > .nav-list > a::after { display: none; }
}

/* ============ V16 - CORREÇÃO DAS IMAGENS DE CATEGORIAS ============ */
/* Se uma imagem externa não carregar, o card não exibe ícone quebrado.
   Em vez disso, usa um fundo premium local em CSS, mantendo texto legível. */
.category-card {
  background: linear-gradient(145deg, #2a2521 0%, #6e5c4c 55%, #b69a7b 100%);
  overflow: hidden;
}

.category-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card.category-image-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.16), transparent 32%),
    linear-gradient(145deg, #211c19 0%, #5b4b40 52%, #a88968 100%);
}

.category-card.category-blusas.category-image-fallback::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.19), transparent 30%),
    linear-gradient(145deg, #342923 0%, #806c5d 55%, #c1aa93 100%);
}

.category-card.category-calcas.category-image-fallback::before {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(145deg, #1d2022 0%, #4b5153 53%, #8d8478 100%);
}

.category-card.category-saias.category-image-fallback::before {
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(145deg, #3c2428 0%, #815d5d 52%, #c49b8d 100%);
}

.category-card.category-vestidos.category-image-fallback::before {
  background:
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.15), transparent 30%),
    linear-gradient(145deg, #2d171a 0%, #6e2e35 50%, #a96d65 100%);
}

.category-card.category-image-fallback .category-overlay {
  z-index: 1;
}

/* PREMIUM V17 - evita o flash dos banners de demonstração antes do banner cadastrado carregar */
.carousel.carousel-loading { opacity: 0; }
.carousel.carousel-ready { opacity: 1; transition: opacity .18s ease; }

/* PREMIUM V22 - editor de área clicável dos banners */
.banner-position-editor {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f5f1ed;
  user-select: none;
  touch-action: none;
}
.banner-position-editor img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: contain;
}
.banner-hotspot-editor {
  position: absolute;
  left: 37%;
  top: 74%;
  width: 26%;
  height: 12%;
  min-width: 70px;
  min-height: 34px;
  border: 2px dashed #a44951;
  background: rgba(164,73,81,.16);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #713139;
  font-weight: 700;
  font-size: 12px;
  cursor: grab;
  z-index: 5;
  box-sizing: border-box;
}
.banner-hotspot-editor:active { cursor: grabbing; }
.banner-hotspot-editor.is-disabled { display: none; }
.banner-hotspot-resize {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a44951;
  border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.25);
  cursor: nwse-resize;
}

/* No site: hotspot invisível, apenas clicável. A posição é calculada pelo JS para acompanhar o recorte da imagem. */
.carousel-admin-hotspot {
  position: absolute;
  z-index: 4;
  display: block;
  background: transparent;
  border: 0;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}

/* V22: botão visível opcional também usa posicionamento livre. */
.carousel-admin-button {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.carousel-admin-button:hover { transform: translate(-50%, calc(-50% - 2px)); }

/* PREMIUM V23 - carrossel mais limpo: sem indicadores inferiores */
.carousel-dots { display: none !important; }
.carousel-arrows { padding: 0 18px; }
.carousel-arrow {
  width: 42px;
  height: 42px;
  background: rgba(30,22,20,.16);
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(5px);
  opacity: .72;
}
.carousel-arrow:hover { opacity: 1; background: rgba(30,22,20,.34); }
@media (max-width: 768px) {
  .carousel-arrows { padding: 0 10px; }
  .carousel-arrow { width: 36px; height: 36px; opacity: .62; }
}


/* =========================================================
   PREMIUM V27 - CORES REAIS NA LISTAGEM DE PRODUTOS
   Mantem as bolinhas dos cards visiveis em desktop e mobile.
   Esta regra final prevalece sobre o ocultamento antigo do mobile.
   ========================================================= */
.product-card .product-colors,
.products-layout .product-card .product-colors {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  min-height: 18px !important;
  margin: 2px 0 12px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.product-card .product-colors .color-dot {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(45,38,34,.35) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Filtros: deixa cores claras visiveis e mantem o tom real cadastrado. */
.filter-colors .filter-color {
  border: 1px solid rgba(45,38,34,.25) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset !important;
}
@media (max-width: 768px) {
  .product-card .product-colors,
  .products-layout .product-card .product-colors {
    display: flex !important;
    gap: 5px !important;
    min-height: 15px !important;
    margin: 1px 0 8px !important;
  }
  .product-card .product-colors .color-dot {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
  }
}


/* ===== PREMIUM V28 — FILTROS INSTANTÂNEOS ===== */
.filter-color {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  appearance: none;
}
.filter-color.active {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  transform: scale(1.04);
}
.filter-color-check {
  display: none;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #171310;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.filter-color.active .filter-color-check { display: block; }
.filters-clear-btn { margin-top: 0 !important; }
.active-filter-chips {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -12px 0 22px;
}
.active-filter-chips.has-filters { display: flex; }
.active-filter-chip,
.active-filter-clear {
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--secondary);
  border-radius: 999px;
  padding: 7px 11px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}
.active-filter-chip:hover { border-color: var(--secondary); }
.active-filter-chip span { font-size: 16px; line-height: 0; margin-left: 3px; }
.active-filter-clear { border: 0; background: transparent; text-decoration: underline; padding-left: 4px; }
@media (max-width: 768px) {
  .filter-color { width: 32px !important; height: 32px !important; }
  .active-filter-chips { margin: -5px 0 16px; gap: 6px; }
  .active-filter-chip, .active-filter-clear { font-size: 11px; padding: 7px 10px; }
}


/* ============================================================
   PREMIUM V30 - CABECALHOS INTERNOS EDITORIAIS
   Produtos / Novidades / Promocoes / Sobre / Contato
   ============================================================ */
.page-header.page-header-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(194,157,117,.13), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(157,122,85,.10), transparent 28%),
    linear-gradient(135deg, #f8f3ed 0%, #efe5da 52%, #f7f1ea 100%);
  padding: 58px 0 52px;
  border-top: 1px solid rgba(157,122,85,.12);
  border-bottom: 1px solid rgba(157,122,85,.22);
}
.page-header.page-header-premium::before,
.page-header.page-header-premium::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(157,122,85,.12);
  border-radius: 50%;
  pointer-events: none;
}
.page-header.page-header-premium::before { left: -120px; top: -135px; }
.page-header.page-header-premium::after { right: -120px; bottom: -145px; }
.page-header-inner { position: relative; z-index: 1; text-align: center; }
.page-kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: #9d7a55;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .30em;
  text-transform: uppercase;
}
.page-header.page-header-premium h1 {
  margin: 0;
  color: #1b1714;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.page-subtitle {
  max-width: 650px;
  margin: 15px auto 0;
  color: #746b64;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: .015em;
}
.page-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(230px, 62vw);
  margin: 18px auto 12px;
}
.page-divider span { height: 1px; flex: 1; background: rgba(157,122,85,.35); }
.page-divider i {
  color: #9d7a55;
  font-family: var(--font-heading);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .12em;
}
.page-header.page-header-premium .breadcrumb {
  margin: 0;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.page-header.page-header-premium .breadcrumb a { color: #746b64; transition: color .2s ease; }
.page-header.page-header-premium .breadcrumb a:hover { color: #9d7a55; }
.page-header.page-header-premium .breadcrumb span:not(.breadcrumb-separator) { color: #9d7a55; }
.breadcrumb-separator { color: rgba(116,107,100,.5) !important; font-size: 14px; line-height: 1; }

@media (max-width: 768px) {
  .page-header.page-header-premium { padding: 33px 0 29px; }
  .page-header.page-header-premium::before,
  .page-header.page-header-premium::after { width: 150px; height: 150px; }
  .page-kicker { margin-bottom: 9px; font-size: 8px; letter-spacing: .25em; }
  .page-header.page-header-premium h1 { font-size: clamp(30px, 9vw, 40px); }
  .page-subtitle { max-width: 92%; margin-top: 10px; font-size: 11px; line-height: 1.55; }
  .page-divider { margin: 13px auto 9px; width: 160px; }
  .page-header.page-header-premium .breadcrumb { font-size: 8px; gap: 6px; }
  .breadcrumb-separator { font-size: 12px; }
  /* Conteudo da pagina chega mais rapido no mobile. */
  .products-layout { padding-top: 28px; }
  .about-content, .contact-layout { margin-top: 34px; }
}

/* =========================================================
   V31 - Correção faixa de preço no desktop
   Mantém Min / Max dentro da largura da barra lateral.
   ========================================================= */
@media (min-width: 769px) {
  .filters .price-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .filters .price-range input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }
}
