/* ========================================
   DESIGN SYSTEM - Loja de Flores e Cestas
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary: #9e1318;
  --primary-light: #c4393e;
  --primary-dark: #7a0e12;
  --primary-gradient: linear-gradient(135deg, #9e1318 0%, #c4393e 50%, #e8636a 100%);
  --accent: #d4a574;
  --accent-light: #f0d4b5;
  --gold: #c49b5e;

  --bg: #faf7f5;
  --bg-card: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-primary: #2c1810;
  --text-secondary: #6b5c54;
  --text-light: #9a8c84;
  --text-inverse: #ffffff;

  --border: #e8ddd6;
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.1);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.15);
  --shadow-xl: 0 16px 60px rgba(44, 24, 16, 0.2);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sizes */
  --header-height: 72px;
  --max-width: 1200px;
  --cart-width: 420px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 221, 214, 0.5);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__logo {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 12px rgba(158, 19, 24, 0.3);
}

.header__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header__name span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.85rem;
  display: block;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.header__nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.header__nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.header__nav-links a:hover {
  color: var(--primary);
}

.header__nav-links a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: #25d366;
  color: white;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-header svg {
  width: 18px;
  height: 18px;
}

/* Instagram Button */
.btn-instagram-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(131, 58, 180, 0.3);
}

.btn-instagram-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(131, 58, 180, 0.45);
  opacity: 0.92;
}

/* Cart Button */
.btn-cart {
  position: relative;
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition-fast);
  font-size: 1.3rem;
}

.btn-cart:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.btn-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  transition: var(--transition-fast);
  animation: badgePop 0.3s ease;
}

.btn-cart__badge.hidden {
  display: none;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Mobile Menu */
.header__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a0c 0%, #2c1014 40%, #3d1a20 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: brightness(0.6);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(158, 19, 24, 0.7) 0%,
      rgba(44, 24, 16, 0.5) 50%,
      rgba(0, 0, 0, 0.6) 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  animation: float 15s infinite ease-in-out;
}

.hero__particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  width: 4px;
  height: 4px;
}

.hero__particle:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 2s;
  width: 8px;
  height: 8px;
}

.hero__particle:nth-child(3) {
  left: 50%;
  top: 30%;
  animation-delay: 4s;
}

.hero__particle:nth-child(4) {
  left: 70%;
  top: 70%;
  animation-delay: 6s;
  width: 5px;
  height: 5px;
}

.hero__particle:nth-child(5) {
  left: 85%;
  top: 40%;
  animation-delay: 8s;
  width: 10px;
  height: 10px;
}

.hero__particle:nth-child(6) {
  left: 20%;
  top: 80%;
  animation-delay: 3s;
  width: 7px;
  height: 7px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.2;
  }

  25% {
    transform: translateY(-30px) translateX(10px) scale(1.2);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-60px) translateX(-10px) scale(1);
    opacity: 0.3;
  }

  75% {
    transform: translateY(-30px) translateX(15px) scale(0.8);
    opacity: 0.4;
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-3xl);
  width: 100%;
}

.hero__text {
  animation: fadeInUp 1s ease forwards;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #f0d4b5, #c49b5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-normal);
  letter-spacing: 0.02em;
}

.hero__cta--primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.hero__cta--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero__img-wrapper {
  position: relative;
  animation: fadeInRight 1s ease 0.3s forwards;
  opacity: 0;
}

.hero__img-wrapper img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero__img-float {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  animation: floatBadge 3s ease-in-out infinite;
}

.hero__img-float--1 {
  top: 10%;
  left: -10%;
  font-size: 0.85rem;
}

.hero__img-float--2 {
  bottom: 15%;
  right: -5%;
  font-size: 0.85rem;
  animation-delay: 1.5s;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   CATEGORY FILTERS
   ======================================== */
.filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  padding: 0 var(--space-md);
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(158, 19, 24, 0.25);
}

/* ========================================
   PRODUCT GRID
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  padding: 0 var(--space-md);
}

/* ========================================
   PRODUCT CARD
   ======================================== */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(158, 19, 24, 0.1);
}

.product-card__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 85%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f0eb, #fdf5f0);
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.product-card__quick-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.product-card:hover .product-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-card__quick-add:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.product-card__body {
  padding: var(--space-lg);
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.product-card__price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: var(--font-body);
}

.product-card__btn {
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ========================================
   PRODUCT MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(135deg, #f8f0eb, #fdf5f0);
}

.modal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

/* Galeria de thumbnails no modal */
.modal__gallery {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.modal__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  opacity: 0.7;
}

.modal__thumb:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal__thumb.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 0 2px white;
}


.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  z-index: 10;
}

.modal__close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal__body {
  padding: var(--space-2xl);
}

.modal__category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.modal__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.modal__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  border-left: 3px solid var(--accent);
  padding-left: var(--space-lg);
}

.modal__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xl);
}

.modal__price small {
  font-size: 0.85rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 400;
}

.modal__qty {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.modal__qty-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.modal__qty-controls {
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.modal__qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: none;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.modal__qty-btn:hover {
  background: var(--primary);
  color: white;
}

.modal__qty-value {
  width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.modal__add-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  box-shadow: 0 4px 20px rgba(158, 19, 24, 0.3);
}

.modal__add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(158, 19, 24, 0.4);
}

/* ========================================
   CART DRAWER
   ======================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--cart-width);
  max-width: 100vw;
  background: var(--bg-card);
  z-index: 3001;
  transform: translateX(100%);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-drawer__count {
  background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.cart-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.cart-drawer__close:hover {
  background: var(--primary);
  color: white;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-light);
  padding: var(--space-xl);
}

.cart-drawer__empty-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.cart-drawer__empty-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.cart-drawer__empty-hint {
  font-size: 0.85rem;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: var(--transition-fast);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}

.cart-item__qty-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cart-item__qty {
  width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item__remove {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  margin-left: auto;
  align-self: flex-start;
}

.cart-item__remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Cart Footer */
.cart-drawer__footer {
  flex-shrink: 0;
  padding: var(--space-xl);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.cart-drawer__total-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.cart-drawer__total-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-drawer__checkout {
  width: 100%;
  padding: 16px;
  background: #25d366;
  color: white;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: var(--transition-normal);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cart-drawer__checkout:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.cart-drawer__checkout svg {
  width: 22px;
  height: 22px;
}

.cart-drawer__checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   FEATURES / BENEFITS
   ======================================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
}

.feature {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(158, 19, 24, 0.15);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(158, 19, 24, 0.08), rgba(196, 57, 62, 0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.map-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 450px;
}

.map-section__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
}

.map-section__info .section__label {
  text-align: left;
}

.map-section__info .section__title {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.map-section__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.map-section__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.map-section__detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(158, 19, 24, 0.08), rgba(196, 57, 62, 0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.map-section__detail-text h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.map-section__detail-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.map-section__detail-text a {
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.map-section__detail-text a:hover {
  text-decoration: underline;
}

.map-section__map {
  position: relative;
  min-height: 400px;
}

.map-section__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: linear-gradient(135deg, #1a0a0c, #2c1014);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer__social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer__col-title {
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--accent-light);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@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.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--text-primary);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 4000;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__img-wrapper {
    display: none;
  }

  .map-section__inner {
    grid-template-columns: 1fr;
  }

  .map-section__info {
    padding: var(--space-2xl);
  }

  .map-section__map {
    min-height: 350px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* Esconde nav links — usa menu hambúrguer */
  .header__nav-links {
    display: none;
  }

  .header__mobile-toggle {
    display: flex;
  }

  /* Reduz nome da marca no mobile */
  .header__name {
    font-size: 1rem;
  }

  .header__name span {
    font-size: 0.7rem;
  }

  /* Logo menor no mobile */
  .header__logo {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  /* Menos gap entre brand e actions */
  .header__inner {
    padding: 0 var(--space-md);
  }

  /* Actions: menos gap */
  .header__actions {
    gap: 6px;
  }

  /* Oculta texto do WhatsApp — só ícone */
  .btn-whatsapp-header span {
    display: none;
  }

  .btn-whatsapp-header {
    padding: 8px;
    border-radius: var(--radius-full);
    min-width: 36px;
    min-height: 36px;
  }

  /* Oculta texto do Instagram — só ícone */
  .btn-instagram-header span {
    display: none;
  }

  .btn-instagram-header {
    padding: 8px;
    border-radius: var(--radius-full);
    min-width: 36px;
    min-height: 36px;
  }

  /* Carrinho menor */
  .btn-cart {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .hero {
    min-height: 75vh;
  }

  .hero__title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta {
    width: 100%;
    justify-content: center;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
  }

  .modal {
    margin: var(--space-md);
    max-height: 85vh;
  }

  .modal__body {
    padding: var(--space-lg);
  }

  .modal__name {
    font-size: 1.4rem;
  }

  .cart-drawer {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .map-section__info {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {

  /* Header extra pequeno */
  .header__name {
    font-size: 0.85rem;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header__name span {
    display: none;
    /* oculta 'Foz do Iguaçu' */
  }

  /* Catálogo: 1 coluna em mobile pequeno */
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0;
  }

  /* Card compacto em mobile */
  .product-card__body {
    padding: var(--space-md);
  }

  .product-card__name {
    font-size: 0.95rem;
  }

  .product-card__price {
    font-size: 1rem;
  }

  .product-card__btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .product-card__desc {
    display: none;
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}