/* ==========================================================================
   Catálogo – Estilos da página pública
   Identidade visual "Loucas por Unhas e Cílios"
   Pop-art vibrante: rosa/magenta, ciano, roxo e amarelo
   ========================================================================== */

:root {
  /* Cores da marca (extraídas da logo) */
  --pink: #e91e8c;
  --pink-dark: #c4147a;
  --pink-light: #ff6bb5;
  --cyan: #1ec8d6;
  --cyan-dark: #0f9aa8;
  --purple: #8e2cb0;
  --purple-dark: #4a1a63;
  --yellow: #ffd23f;
  --yellow-dark: #f2b500;

  /* Neutros (tom levemente arroxeado para combinar com a marca) */
  --ink: #2a1a3d;
  --text: #4d4458;
  --text-light: #8f879c;
  --bg: #ffffff;
  --bg-light: #fdf1f8;
  --bg-gray: #f7ecf3;
  --border: #f1d9e8;

  /* Tipografia */
  --font-heading: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
}

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

.catalogo-body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

::selection {
  background: var(--pink);
  color: #fff;
}

.catalogo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.catalogo-header {
  /* Faixa magenta com pontilhado halftone sutil (estilo pop-art) */
  background:
    radial-gradient(rgba(255, 255, 255, 0.13) 1.6px, transparent 1.7px) 0 0 /
      20px 20px,
    linear-gradient(135deg, var(--pink) 0%, var(--purple) 125%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-height: 56px;
  width: auto;
}

/* ---- Logo alignment – desktop ---- */
.header-inner.logo-desktop-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-inner.logo-desktop-center .header-logo {
  grid-column: 2;
  justify-self: center;
}

.header-inner.logo-desktop-center .header-contact {
  grid-column: 3;
  justify-self: end;
  align-items: flex-end;
}

.header-inner.logo-desktop-right {
  flex-direction: row-reverse;
}

.header-inner.logo-desktop-right .header-contact {
  align-items: flex-start;
}

/* Texto exibido quando nenhuma logo está cadastrada no painel */
.header-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-contact-phones {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.contact-item .icon {
  width: 14px;
  height: 14px;
  color: var(--yellow);
  flex-shrink: 0;
}

.contact-item-ig .icon {
  color: var(--pink-light);
}

.contact-item-ig:hover {
  text-decoration: underline;
}

.address-bar {
  background: var(--bg-light);
  padding: 14px 0 16px;
  font-size: 11px;
  color: var(--text-light);
}

.address-bar .catalogo-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.address-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  min-height: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(233, 30, 140, 0.07);
}

.address-bar .icon {
  width: 14px;
  height: 14px;
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 2px;
}

.address-bar-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.address-bar-text strong {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
}

.address-bar-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.address-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink);
  line-height: 1.4;
}

.address-bar-phone svg {
  width: 13px;
  height: 13px;
  color: var(--cyan-dark);
  flex-shrink: 0;
}

.address-bar-text span {
  line-height: 1.5;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.catalogo-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Fita multicolorida no topo da navegação */
.catalogo-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--pink),
    var(--cyan),
    var(--yellow),
    var(--purple)
  );
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  color: var(--ink);
}

/* Horizontal scroll navigation */
.nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-pill:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

.nav-pill.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* Integrated search inside nav */
.nav-search {
  position: relative;
  flex-shrink: 0;
  width: 260px;
}

.nav-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--pink);
  pointer-events: none;
}

.nav-search input {
  width: 100%;
  padding: 9px 32px 9px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

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

.nav-search input::placeholder {
  color: #b6acbd;
}

.nav-search .search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.nav-search .search-clear:hover {
  color: var(--pink);
}

.search-results-count {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 6px 0 8px;
  font-family: var(--font-body);
}

/* Hamburger menu button */
.nav-menu-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.nav-menu-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.nav-menu-btn svg {
  width: 18px;
  height: 18px;
}

/* Categories drawer (slides from left) */
.categories-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 61, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1100;
}

.categories-overlay.open {
  opacity: 1;
  visibility: visible;
}

.categories-drawer {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  box-shadow: 4px 0 20px rgba(42, 26, 61, 0.2);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease-out;
}

.categories-drawer.open {
  left: 0;
}

.categories-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.categories-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.categories-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 0 4px;
  transition: transform 0.2s;
}

.categories-drawer-close:hover {
  transform: rotate(90deg);
}

.categories-drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.categories-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
  border-left: 4px solid transparent;
}

.categories-drawer-link:hover {
  background: var(--bg-light);
  border-left-color: var(--pink);
}

.categories-drawer-link.active {
  background: var(--bg-light);
  border-left-color: var(--purple);
  font-weight: 600;
}

.categories-drawer-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pink);
}

.categories-drawer-link span {
  flex: 1;
}

.categories-drawer-link small {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--cyan);
  padding: 2px 9px;
  border-radius: 999px;
}

.categories-drawer-link:hover small {
  background: var(--pink);
}

.product-card.search-hidden {
  display: none !important;
}

/* Dynamic category sections */
.category-section {
  padding: 50px 0;
  scroll-margin-top: 80px;
}

.category-section:nth-child(even) {
  background: var(--bg-light);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */

.hero-banner {
  width: 100%;
  line-height: 0;
}

.hero-banner-link {
  display: block;
  width: 100%;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */

.features-bar {
  padding: 22px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  text-align: left;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--pink);
  flex-shrink: 0;
}

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

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

.feature-text strong {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--ink);
  text-transform: uppercase;
}

.feature-text span {
  font-size: 10px;
  color: var(--text-light);
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.section-title-center {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.8px;
  position: relative;
  display: inline-block;
}

.section-title-center::before {
  content: "✦";
  position: absolute;
  top: -10px;
  right: -22px;
  font-size: 18px;
  color: var(--pink);
}

.section-title-center::after {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  margin: 12px auto 0;
}

.exclusive-section .catalogo-container,
.promo-section .catalogo-container {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 6px;
  margin-bottom: 24px;
  font-weight: 400;
}

.section-btn {
  display: inline-block;
  margin: 20px auto 0;
  padding: 11px 30px;
  border: 2px solid var(--pink);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink-dark);
  background: #fff;
  transition: all 0.25s;
  text-align: center;
  border-radius: 999px;
}

.section-btn:hover {
  background: var(--pink);
  color: #fff;
}

/* ==========================================================================
   DUO SECTION (lado a lado)
   ========================================================================== */

.catalog-duo-section {
  padding: 40px 0;
  background: var(--bg-light);
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.duo-column {
  text-align: center;
}

.duo-column .section-title {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.duo-column .section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  margin: 8px auto 0;
}

.products-grid-sm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.product-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(42, 26, 61, 0.05);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-light);
  box-shadow: 0 14px 30px rgba(233, 30, 140, 0.18);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  z-index: 2;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.product-badge.badge-promo {
  background: var(--purple);
  color: #fff;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, #fdf2f9 0%, #f1e8fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-placeholder {
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: var(--pink-light);
  opacity: 0.35;
}

.product-info {
  padding: 14px 12px 16px;
  text-align: center;
}

.product-brand {
  font-size: 9px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 4px;
  font-weight: 600;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.product-price {
  margin-top: 7px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
}

/* ==========================================================================
   EXCLUSIVE / PROMO SECTIONS
   ========================================================================== */

.exclusive-section {
  padding: 40px 0;
  background: var(--bg);
}

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

.promo-section {
  padding: 40px 0;
  background: var(--bg-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.catalogo-footer {
  /* Roxo escuro com pontilhado halftone sutil */
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.6px) 0 0 /
      22px 22px,
    var(--purple-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 44px 0 30px;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
}

.footer-logo {
  max-height: 84px;
  width: auto;
  margin: 0 auto 22px;
}

/* Texto exibido quando nenhuma logo está cadastrada no painel */
.footer-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 22px;
}

.footer-stores {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 30px auto;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-store {
  text-align: left;
}

.store-title {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--yellow);
  margin-bottom: 12px;
  font-weight: 600;
}

.store-contact {
  margin-bottom: 12px;
}

.store-phone,
.store-email,
.store-instagram {
  font-size: 12px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.store-instagram a {
  color: var(--pink-light);
  text-decoration: none;
}

.store-instagram a:hover {
  text-decoration: underline;
}

.store-phone svg,
.store-email svg,
.store-instagram svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: none;
  flex: 0 0 16px;
  display: block;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--pink-light);
}

.store-address {
  font-size: 11px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.store-address svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: none;
  flex: 0 0 16px;
  display: block;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--pink-light);
}

.footer-info {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.header-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.header-social .social-icon {
  width: 30px;
  height: 30px;
}

.header-social .social-icon svg {
  width: 14px;
  height: 14px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.social-icon:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  max-width: none;
  display: block;
}

.footer-copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 14px;
}

/* ==========================================================================
   FLOATING BUTTONS (WhatsApp + Carrinho)
   ========================================================================== */

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.whatsapp-float,
.instagram-float,
.cart-float,
.top-float,
.admin-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(42, 26, 61, 0.3);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.whatsapp-float {
  background: #25d366;
}

.instagram-float {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}

.instagram-float svg {
  width: 24px;
  height: 24px;
}

.instagram-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(214, 36, 159, 0.6);
}
.cart-float {
  background: var(--pink);
}
.top-float {
  background: var(--purple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}
.admin-float {
  background: var(--ink);
}

.whatsapp-float:hover,
.cart-float:hover,
.top-float:hover,
.admin-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(42, 26, 61, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}
.cart-float svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.top-float svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.admin-float svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.top-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  width: 21px;
  height: 21px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-body);
}

/* ==========================================================================
   PRODUCT MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 61, 0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #fff;
  border: 2px solid var(--border);
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.modal-body {
  display: flex;
  gap: 0;
}

.modal-image {
  flex: 0 0 280px;
  background: linear-gradient(150deg, #fdf2f9 0%, #f1e8fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.modal-details {
  flex: 1;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-brand {
  font-size: 11px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1.1;
}

.modal-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-qty label {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

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

.qty-control input,
.qty-control span {
  width: 42px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink);
  -moz-appearance: textfield;
  font-family: var(--font-body);
}

.qty-control input::-webkit-inner-spin-button {
  display: none;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  margin-top: 4px;
}

.btn-add-cart svg {
  width: 20px;
  height: 20px;
}

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

.btn-add-cart:active {
  transform: scale(0.98);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 26, 61, 0.55);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(42, 26, 61, 0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  flex-shrink: 0;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s;
}

.cart-drawer-close:hover {
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

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

.cart-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  color: var(--pink);
}

.cart-empty p {
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-gray);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light);
}

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

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-brand {
  font-size: 10px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1px;
  font-weight: 600;
}

.cart-item-price {
  margin-top: 3px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.qty-sm .qty-btn {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.qty-sm span {
  width: 28px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #e23d6d;
  padding: 2px;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.cart-item-remove:hover {
  opacity: 1;
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  flex-shrink: 0;
}

/* Botão para exibir / ocultar os valores no carrinho */
.btn-cart-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-bottom: 10px;
  padding: 9px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart-values:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
}

.btn-cart-values svg {
  width: 16px;
  height: 16px;
}

/* Linha de total do pedido no carrinho */
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  margin-bottom: 12px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.cart-total-row strong {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--pink);
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  letter-spacing: 0.3px;
}

.btn-checkout svg {
  width: 20px;
  height: 20px;
}

.btn-checkout:hover {
  background: #1da851;
}

.btn-clear-cart {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.btn-clear-cart:hover {
  color: var(--pink-dark);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(42, 26, 61, 0.3);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .catalogo-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Header – logo à esquerda, contatos à direita */
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 8px;
  }

  /* Restaura flex no mobile para as classes de grid do desktop */
  .header-inner.logo-desktop-center {
    display: flex;
    grid-template-columns: unset;
  }
  .header-inner.logo-desktop-center .header-logo,
  .header-inner.logo-desktop-center .header-contact {
    grid-column: unset;
    justify-self: unset;
  }

  /* Alinhamento da logo no mobile */
  .header-inner.logo-mobile-center {
    justify-content: center;
    flex-wrap: wrap;
  }
  .header-inner.logo-mobile-center .header-logo {
    width: 100%;
    justify-content: center;
  }
  .header-inner.logo-mobile-center .header-contact {
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-inner.logo-mobile-right {
    flex-direction: row-reverse;
  }
  .header-inner.logo-mobile-right .header-contact {
    align-items: flex-start;
  }

  .header-inner.logo-mobile-left {
    flex-direction: row;
  }

  .header-logo img {
    max-height: 42px;
  }

  .header-logo .logo-text {
    font-size: 17px;
  }

  .header-contact {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .header-contact-phones {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-item {
    font-size: 11px;
    gap: 4px;
  }

  .contact-item .icon {
    width: 12px;
    height: 12px;
  }

  .address-bar {
    padding: 8px 0;
    font-size: 10px;
  }

  .address-bar .catalogo-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .address-bar-item {
    width: 100%;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .address-bar-text strong {
    font-size: 10px;
  }

  .address-bar-text {
    gap: 6px;
  }

  .address-bar-phones {
    gap: 6px 10px;
  }

  .address-bar-phone {
    font-size: 10px;
  }

  /* Nav - scroll horizontal no mobile */
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0 10px;
    gap: 8px;
  }

  .nav-scroll {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0;
    gap: 6px;
  }

  .nav-pill {
    padding: 6px 15px;
    font-size: 11px;
  }

  .nav-search {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    padding-bottom: 10px;
  }

  .nav-menu-btn {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    display: none;
  }

  /* Category sections */
  .category-section {
    padding: 28px 0;
  }

  /* Features – linha horizontal compacta */
  .features-bar {
    padding: 14px 0;
  }

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

  .feature-item {
    flex-direction: column;
    gap: 5px;
    padding: 4px 2px;
    text-align: center;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

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

  .feature-text strong {
    font-size: 9px;
    letter-spacing: 0.4px;
  }

  .feature-text span {
    font-size: 8px;
  }

  /* Duo section */
  .catalog-duo-section {
    padding: 24px 0;
  }

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

  .duo-column .section-title {
    margin-bottom: 14px;
    font-size: 19px;
  }

  .products-grid-sm {
    gap: 10px;
  }

  /* Cards */
  .product-card {
    border-radius: 14px;
  }

  .product-badge {
    top: 7px;
    left: 7px;
    font-size: 8px;
    padding: 3px 8px;
  }

  .product-info {
    padding: 10px 8px 12px;
  }

  .product-brand {
    font-size: 8px;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }

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

  .product-price {
    font-size: 13px;
    margin-top: 5px;
  }

  .section-btn {
    margin-top: 14px;
    padding: 9px 24px;
    font-size: 10px;
  }

  /* Sections */
  .exclusive-section,
  .promo-section {
    padding: 24px 0;
  }

  .section-title-center {
    font-size: 21px;
  }

  .section-subtitle {
    font-size: 11px;
    margin-bottom: 16px;
  }

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

  /* Footer */
  .catalogo-footer {
    padding: 28px 0 18px;
  }

  .footer-logo {
    max-height: 62px;
    margin-bottom: 16px;
  }

  .footer-name {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .footer-stores {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px 0;
    padding: 20px 0;
  }

  .footer-store {
    text-align: left;
  }

  .store-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .store-phone,
  .store-email,
  .store-instagram,
  .store-address {
    font-size: 11px;
  }

  .store-phone svg,
  .store-email svg,
  .store-instagram svg,
  .store-address svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px;
    flex-basis: 14px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }

  .footer-info {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .footer-copy {
    font-size: 9px;
    padding-top: 10px;
  }

  /* Floating buttons */
  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .whatsapp-float,
  .instagram-float,
  .cart-float,
  .top-float,
  .admin-float {
    width: 46px;
    height: 46px;
  }

  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
  .cart-float svg {
    width: 20px;
    height: 20px;
  }
  .top-float svg {
    width: 20px;
    height: 20px;
  }

  /* Modal – empilhado */
  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    flex: none;
    height: 260px;
    border-radius: 20px 20px 0 0;
  }

  .modal-details {
    padding: 22px 18px;
    gap: 10px;
  }

  .modal-name {
    font-size: 19px;
  }

  .modal-price {
    font-size: 22px;
  }

  .toast {
    font-size: 12px;
    padding: 9px 20px;
    bottom: 72px;
  }
}

@media (max-width: 400px) {
  .header-contact {
    gap: 4px;
  }

  .contact-item {
    font-size: 10px;
  }

  /* Footer extra pequeno */
  .footer-stores {
    gap: 14px;
    margin: 16px 0;
    padding: 16px 0;
  }

  .store-title {
    font-size: 13px;
  }

  .store-phone,
  .store-email,
  .store-instagram,
  .store-address {
    font-size: 10px;
  }

  .store-phone svg,
  .store-email svg,
  .store-instagram svg,
  .store-address svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px;
    flex-basis: 13px;
  }
}
