/* =============================================
   Simplifica — Loja Online
   Cores: #D4407A (pink), #1a1a2e (dark)
   ============================================= */

:root {
  --primary: #D4407A;
  --primary-dark: #b8355f;
  --primary-light: #fce4ef;
  --accent: #f0a830;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #fef9fb;
  --border: #f0d0dc;
  --shadow-sm: 0 1px 3px rgba(212,64,122,.08);
  --shadow: 0 4px 12px rgba(212,64,122,.12);
  --shadow-lg: 0 10px 30px rgba(212,64,122,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 5px 0;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.top-bar-left i { font-size: 13px; }
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar-social a {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  transition: background .2s, transform .2s;
}
.top-bar-social a:hover { background: rgba(255,255,255,.4); transform: translateY(-1px); }
.top-bar-social a .fa-whatsapp { color: #fff; font-size: 12px; }

/* =============================================
   HEADER
   ============================================= */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img { height: 52px; width: auto; object-fit: contain; }

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 11px 48px 11px 18px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg-alt);
  transition: border .2s;
  outline: none;
}
.header-search input:focus { border-color: var(--primary); background: #fff; }
.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  transition: background .2s;
}
.header-search button:hover { background: var(--primary-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-avatar-btn {
  background: var(--bg-alt);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  display: flex; align-items: center; gap: 6px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.header-avatar-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.header-avatar-btn i { font-size: 18px; color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* =============================================
   CATEGORY NAV
   ============================================= */
.cat-nav {
  background: var(--primary);
  position: sticky;
  top: 80px;
  z-index: 190;
}
.cat-nav-wrap {
  position: relative;
  overflow: hidden;
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-inner a { scroll-snap-align: start; }
.cat-nav a {
  color: rgba(255,255,255,.9);
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  border-bottom: 3px solid transparent;
}
.cat-nav a:hover, .cat-nav a.active {
  color: #fff;
  border-bottom-color: #fff;
  background: rgba(255,255,255,.15);
}
.cat-nav a .cat-icon { font-size: 16px; }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fce4ef, #fef9fb);
}
.hero-slides { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.hero-slide {
  min-width: 100%;
  padding: 60px 0;
  display: flex;
  align-items: center;
}
.hero-slide .container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
.hero-content {
  flex: 1;
  max-width: 540px;
}
.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  text-decoration: none;
}
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212,64,122,.4);
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,64,122,.5);
}
.btn-hero-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-hero-outline:hover { background: var(--primary); color: #fff; }

.hero-image {
  flex-shrink: 0;
  width: 380px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hero-image:hover img {
  transform: scale(1.03);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212,64,122,.3);
  cursor: pointer;
  border: none;
  transition: all .3s;
}
.slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all .2s;
  z-index: 10;
}
.slider-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.section-title span { color: var(--primary); }

/* =============================================
   CATEGORY CARDS
   ============================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.cat-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.cat-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
  line-height: 1;
}
.cat-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.cat-card-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: .4;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.product-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.product-price-consult {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.product-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  width: 100%;
}
.product-wa-btn:hover { background: #1ebe5d; }
.product-wa-btn i { font-size: 16px; }

/* =============================================
   PRODUCTS PAGE — FILTERS
   ============================================= */
.products-page { padding: 40px 0 60px; }
.products-layout { display: flex; gap: 28px; align-items: flex-start; }
.products-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 130px;
}
.sidebar-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title i { color: var(--primary); }
.filter-list { list-style: none; }
.filter-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all .2s;
}
.filter-item a:hover { background: var(--primary-light); color: var(--primary); }
.filter-item a.active {
  background: var(--primary);
  color: #fff;
}
.filter-count {
  background: rgba(0,0,0,.08);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.filter-item a.active .filter-count { background: rgba(255,255,255,.25); }

.products-main { flex: 1; min-width: 0; }
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.products-count { font-size: 14px; color: var(--text-light); }
.products-count strong { color: var(--text); }
.sort-select {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-family: var(--font);
  background: #fff;
  cursor: pointer;
  outline: none;
  color: var(--text);
}
.sort-select:focus { border-color: var(--primary); }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail { padding: 40px 0 60px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 10px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  aspect-ratio: 1;
  background: var(--bg-alt);
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-info h1 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.product-info-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.product-info-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1;
}
.product-info-price .cents { font-size: 22px; }
.product-info-consult {
  font-size: 20px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 28px;
  white-space: pre-line;
}
.product-cta-btns { display: flex; flex-direction: column; gap: 12px; }
.btn-wa-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-wa-large:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.btn-wa-large i { font-size: 22px; }
.btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--bg-alt);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-back:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   BANNERS SECTION
   ============================================= */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), #a0205a);
  padding: 32px 24px;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: transform .25s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.banner-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .3;
}
.banner-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
  margin-bottom: 6px;
  position: relative;
}
.banner-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
}
.banner-sub {
  font-size: 13px;
  opacity: .85;
  position: relative;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #1a1a2e;
  color: #94a3b8;
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 56px;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li i { width: 16px; margin-right: 6px; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* =============================================
   MISC COMPONENTS
   ============================================= */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: .3; display: block; }
.empty-state p { font-size: 16px; }

.page-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--bg));
  padding: 40px 0;
  border-bottom: 2px solid var(--border);
}
.page-hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.page-hero p { color: var(--text-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-layout { flex-direction: column; }
  .products-sidebar { width: 100%; position: static; }
  .hero-image { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .banners-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* === GRID === */
  .cat-grid { grid-template-columns: repeat(4,1fr); }
  .cat-card { padding: 14px 6px; }
  .cat-card-icon { font-size: 24px; }
  .cat-card-name { font-size: 11px; }

  /* === TOP BAR === */
  .top-bar { padding: 4px 0; min-height: 28px; }
  .top-bar .container { justify-content: space-between; }
  .top-bar-left span { font-size: 11px; }
  .top-bar-social a { width: 22px; height: 22px; font-size: 10px; }

  /* === HEADER === */
  .nav-toggle { display: flex; }
  .header-inner { padding: 10px 0; gap: 8px; }
  .logo img { height: 40px; }
  .header-search { display: none; }
  .header-search.open { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 16px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1); z-index: 300; }
  .header-actions { gap: 8px; margin-left: auto; }
  .header-avatar-label { display: none; }
  .header-avatar-btn { padding: 8px 10px; }
  .header-cart-btn { padding: 8px 12px; }
  .header-cart-btn .cart-label { display: none; }

  /* === CAT NAV === */
  .cat-nav { display: none; }

  /* === HERO === */
  .hero-wa-hide { display: none !important; }
  .hero-slide { padding: 40px 0; }
  .hero-title { font-size: 24px; }

  /* === PRODUCTS === */
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .btn-add-cart { font-size: 12px; padding: 8px 10px; }

  /* === FOOTER === */
  .footer-grid { grid-template-columns: 1fr; }
  .banners-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE MENU DRAWER
   ============================================= */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1050; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }

.mobile-menu-drawer {
  position: fixed; top: 0; left: -320px; width: 100%; max-width: 300px;
  height: 100%; background: #fff; z-index: 1051;
  display: flex; flex-direction: column;
  box-shadow: 6px 0 30px rgba(0,0,0,.2);
  transition: left .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu-drawer.open { left: 0; }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
}
.mobile-menu-close {
  background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  transition: background .2s;
}
.mobile-menu-close:hover { background: var(--border); }

.mobile-menu-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-search form { position: relative; }
.mobile-menu-search input {
  width: 100%; padding: 10px 42px 10px 14px;
  border: 1.5px solid var(--border); border-radius: 20px;
  font-size: 13px; font-family: var(--font); outline: none;
}
.mobile-menu-search input:focus { border-color: var(--primary); }
.mobile-menu-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: var(--primary); color: #fff; border: none; border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.mobile-menu-body { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; }
.mobile-menu-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.mobile-menu-cats { list-style: none; padding: 0; margin: 0; }
.mobile-menu-cats li { margin-bottom: 4px; }
.mobile-menu-cats a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: background .2s, color .2s;
}
.mobile-menu-cats a:hover, .mobile-menu-cats a.active {
  background: var(--primary-light); color: var(--primary);
}
.mob-cat-icon { font-size: 18px; }

.mobile-menu-divider { height: 1px; background: var(--border); margin: 16px 0; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-menu-action-btn {
  width: 100%; padding: 11px; background: var(--bg-alt); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 10px; font-weight: 700; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
}
.mobile-menu-action-btn:hover { border-color: var(--primary); color: var(--primary); }
.mobile-menu-wa-btn {
  width: 100%; padding: 11px; background: #25d366; color: #fff;
  border-radius: 10px; font-weight: 700; font-size: 13px; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-in-up { animation: fadeInUp .5s ease both; }
.fade-in-up-2 { animation: fadeInUp .5s .1s ease both; }
.fade-in-up-3 { animation: fadeInUp .5s .2s ease both; }

/* =============================================
   MODAL (PRODUTO DETALHE / PIX)
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: scale(.95);
  transition: transform .25s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-title { font-size: 18px; font-weight: 800; }
.modal-close {
  background: var(--bg-alt);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s;
}
.modal-close:hover { background: var(--border); }
.pix-info {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 15px;
  margin-bottom: 16px;
  word-break: break-all;
}
.pix-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }

/* =============================================
   CART SYSTEM — FAB, DRAWER, CHECKOUT, DETAIL
   ============================================= */

/* FAB */
.cart-fab {
  position: fixed; bottom: 88px; right: 20px; z-index: 900;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50px;
  padding: 13px 20px; font-family: inherit;
  font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(212,64,122,.4);
  transition: transform .2s, box-shadow .2s;
}
.cart-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(212,64,122,.5); }
.cart-fab.hidden { display: none; }
.cart-fab-count {
  background: #fff; color: var(--primary);
  border-radius: 50%; width: 22px; height: 22px;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* DRAWER */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 1100; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: -440px; width: 100%; max-width: 420px;
  height: 100%; background: #fff; z-index: 1101;
  display: flex; flex-direction: column;
  box-shadow: -6px 0 30px rgba(0,0,0,.18);
  transition: right .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 2px solid var(--border);
}
.cart-drawer-header h3 { margin: 0; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--text); }
.cart-close-btn {
  background: var(--bg-alt); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: background .2s;
}
.cart-close-btn:hover { background: var(--border); }
.cart-items-list { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty-msg { text-align: center; color: var(--text-muted); padding: 48px 0; font-size: 14px; line-height: 1.8; }
.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--bg-alt); border: 1px solid var(--border); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 3px; }
.cart-item-opts { font-size: 11px; color: var(--primary); margin-bottom: 4px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 800; margin-bottom: 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; width: 28px; height: 28px;
  cursor: pointer; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; color: var(--text);
}
.qty-btn:hover { background: var(--primary-light); color: var(--primary); }
.qty-value { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }
.cart-item-remove {
  background: none; border: none; color: #ef4444; cursor: pointer;
  font-size: 15px; padding: 4px; flex-shrink: 0; opacity: .7; transition: opacity .2s;
}
.cart-item-remove:hover { opacity: 1; }
.cart-footer { padding: 18px 20px; border-top: 2px solid var(--border); background: #fff; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-total-label { font-size: 14px; font-weight: 700; }
.cart-total-value { font-size: 22px; font-weight: 900; color: var(--primary); }
.btn-checkout {
  width: 100%; padding: 14px;
  background: #25D366; color: #fff;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; font-family: inherit;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 10px; transition: background .2s, transform .15s;
}
.btn-checkout:hover { background: #128C7E; transform: translateY(-1px); }

/* PRODUCT CARD ACTIONS */
.product-card-actions {
  display: flex; gap: 8px; margin-top: 12px;
}
.btn-detail {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  color: var(--text-muted); border-radius: 8px;
  padding: 9px 12px; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  transition: all .15s; font-family: inherit; flex-shrink: 0;
}
.btn-detail:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-add-cart {
  background: var(--primary); color: #fff; border: none;
  border-radius: 8px; padding: 9px 14px;
  font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  flex: 1; justify-content: center; transition: background .15s, transform .1s;
}
.btn-add-cart:hover { background: var(--primary-d); transform: translateY(-1px); }
.btn-add-cart.added { background: #16a34a; }
.btn-add-cart:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* HEADER CART ICON */
.header-cart-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary-light); color: var(--primary);
  border: 1.5px solid var(--border); border-radius: 30px;
  padding: 8px 16px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; position: relative;
  transition: all .15s; white-space: nowrap;
}
.header-cart-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.header-cart-count {
  background: var(--primary); color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-left: 2px;
}

/* CHECKOUT MODAL */
.ck-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 1200; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; padding: 16px;
}
.ck-overlay.open { opacity: 1; pointer-events: all; }
.ck-box {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 520px; max-height: 92vh;
  overflow-y: auto; padding: 32px; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  transform: translateY(24px); transition: transform .3s;
}
.ck-overlay.open .ck-box { transform: translateY(0); }
.ck-close-btn {
  position: absolute; top: 14px; right: 14px;
  background: var(--bg-alt); border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.ck-close-btn:hover { background: var(--border); }
.ck-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }
.ck-section {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--primary);
  margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.ck-summary {
  background: var(--bg-alt); border-radius: 10px; padding: 12px 14px;
  font-size: 13px; margin-bottom: 4px;
}
.ck-summary-item {
  display: flex; justify-content: space-between; padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.ck-summary-item:last-child { border: none; font-weight: 800; color: var(--primary); font-size: 14px; margin-top: 6px; }
.ck-group { margin-bottom: 12px; }
.ck-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }
.ck-group input, .ck-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 10px 14px; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text); transition: border .2s; box-sizing: border-box;
}
.ck-group input:focus, .ck-group textarea:focus { outline: none; border-color: var(--primary); }
.ck-group textarea { resize: vertical; min-height: 64px; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ck-pay-opt {
  border: 2px solid var(--border); border-radius: 12px; padding: 14px;
  cursor: pointer; text-align: center; font-size: 13px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border .2s, background .2s;
}
.ck-pay-opt i { font-size: 22px; }
.ck-pay-opt.selected { border-color: var(--primary); background: var(--primary-light); }
.ck-pix-block {
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 12px;
  padding: 14px; margin-bottom: 12px;
}
.ck-pix-block p { font-size: 12px; color: #166534; margin-bottom: 10px; }
.ck-pix-key-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 8px; padding: 10px 12px;
  border: 1px solid #d1fae5; margin-bottom: 8px;
}
.ck-pix-key-row span { flex: 1; font-size: 14px; font-weight: 700; word-break: break-all; }
.ck-pix-copy-btn {
  background: #16a34a; color: #fff; border: none; border-radius: 6px;
  padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: background .2s; font-family: inherit;
}
.ck-pix-copy-btn:hover { background: #15803d; }
.ck-pix-amount { font-size: 12px; color: #166534; text-align: center; }
.ck-pix-amount strong { color: #166534; font-size: 18px; }
.ck-actions { display: flex; gap: 10px; margin-top: 20px; }
.ck-btn-cancel {
  flex: 1; padding: 13px; background: var(--bg-alt); color: var(--text-muted);
  border: none; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ck-btn-cancel:hover { background: var(--border); }
.ck-btn-send {
  flex: 2; padding: 13px; background: #25D366; color: #fff;
  border: none; border-radius: 10px; font-size: 14px; font-weight: 800;
  cursor: pointer; font-family: inherit; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: background .15s, transform .1s;
}
.ck-btn-send:hover { background: #128C7E; transform: translateY(-1px); }

/* DETAIL MODAL */
.detail-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 1300; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; padding: 16px;
}
.detail-overlay.open { opacity: 1; pointer-events: all; }
.detail-box {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 560px; max-height: 92vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: scale(.96); transition: transform .3s;
}
.detail-overlay.open .detail-box { transform: scale(1); }
.detail-close-btn {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: rgba(0,0,0,.4); border: none; color: #fff;
  border-radius: 50%; width: 36px; height: 36px; font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.detail-close-btn:hover { background: rgba(0,0,0,.65); }
.detail-img-wrap { width: 100%; height: 280px; overflow: hidden; background: var(--bg-alt); border-radius: 20px 20px 0 0; }
.detail-img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px 20px 0 0; display: block; }
.detail-body { padding: 24px; }
.detail-cat { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.detail-price { font-size: 24px; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.detail-price.consult { font-size: 16px; color: #25D366; font-weight: 700; }
.detail-desc { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 18px; white-space: pre-line; }
.detail-options { margin-bottom: 18px; }
.detail-opt-group { margin-bottom: 14px; }
.detail-opt-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin-bottom: 8px; }
.detail-opt-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-opt-btn {
  border: 2px solid var(--border); border-radius: 8px;
  padding: 7px 14px; font-size: 13px; font-weight: 700;
  cursor: pointer; background: #fff; font-family: inherit; color: var(--text);
  transition: all .15s;
}
.detail-opt-btn:hover { border-color: var(--primary); color: var(--primary); }
.detail-opt-btn.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.detail-actions { display: flex; gap: 10px; margin-top: 6px; }
.detail-add-btn { flex: 2; }

/* TOAST */
.cart-toast {
  position: fixed; bottom: 160px; right: 20px;
  background: #1a1a2e; color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; z-index: 2000;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s; pointer-events: none;
  display: flex; align-items: center; gap: 8px;
  max-width: 300px; box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.cart-toast.show { opacity: 1; transform: translateY(0); }

/* PRODUCT PAGE — CART SECTION */
.product-options-section { margin: 20px 0; }
.product-opt-group { margin-bottom: 14px; }
.product-opt-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); margin-bottom: 8px; display: block; }
.product-opt-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.product-opt-btn {
  border: 2px solid var(--border); border-radius: 8px;
  padding: 8px 16px; font-size: 13px; font-weight: 700;
  cursor: pointer; background: #fff; font-family: inherit; color: var(--text);
  transition: all .15s;
}
.product-opt-btn:hover { border-color: var(--primary); color: var(--primary); }
.product-opt-btn.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.btn-add-cart-large {
  width: 100%; padding: 15px; background: var(--primary); color: #fff;
  border: none; border-radius: 12px; font-size: 16px; font-weight: 800;
  font-family: inherit; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 10px; transition: background .15s, transform .1s; margin-bottom: 10px;
}
.btn-add-cart-large:hover { background: var(--primary-d); transform: translateY(-1px); }
.btn-add-cart-large.added { background: #16a34a; }

/* =============================================
   USER MODAL
   ============================================= */
.user-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 1400;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.user-modal-overlay.open { opacity: 1; pointer-events: all; }
.user-modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%; max-width: 400px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: scale(.95); transition: transform .25s;
}
.user-modal-overlay.open .user-modal-box { transform: scale(1); }
.user-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 0;
}
.user-modal-title {
  font-size: 19px; font-weight: 900; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.user-modal-title i { color: var(--primary); font-size: 22px; }
.user-modal-close {
  background: var(--bg-alt); border: none; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background .2s;
}
.user-modal-close:hover { background: var(--border); }
.user-modal-body { padding: 20px 24px 24px; }
.user-modal-tabs {
  display: flex; gap: 0; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--border); margin-bottom: 20px;
}
.user-modal-tab {
  flex: 1; padding: 10px; border: none; background: var(--bg-alt);
  font-size: 14px; font-weight: 700; font-family: var(--font);
  cursor: pointer; color: var(--text-muted); transition: all .15s;
}
.user-modal-tab.active { background: var(--primary); color: #fff; }
.user-form-group { margin-bottom: 14px; }
.user-form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--text-light); text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 5px;
}
.user-form-group input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; font-family: var(--font);
  color: var(--text); background: #fff; transition: border .2s;
  box-sizing: border-box;
}
.user-form-group input:focus { outline: none; border-color: var(--primary); }
.user-btn-primary {
  width: 100%; padding: 13px; background: var(--primary); color: #fff;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
  font-family: var(--font); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s, transform .1s;
}
.user-btn-primary:hover { background: var(--primary-d); transform: translateY(-1px); }
.user-profile-header {
  text-align: center; padding: 16px 0 20px;
  border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.user-profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 30px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.user-profile-name { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.user-profile-email { font-size: 13px; color: var(--text-muted); }
.user-profile-actions { display: flex; flex-direction: column; gap: 10px; }
.user-btn-outline {
  width: 100%; padding: 12px; background: var(--bg-alt); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; font-weight: 700; font-family: var(--font);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .15s;
}
.user-btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.user-btn-danger {
  width: 100%; padding: 12px; background: none; color: #ef4444;
  border: 1.5px solid #fecaca; border-radius: 10px;
  font-size: 14px; font-weight: 700; font-family: var(--font);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .15s;
}
.user-btn-danger:hover { background: #fef2f2; border-color: #ef4444; }
.user-msg-error { color: #ef4444; font-size: 13px; margin-bottom: 12px; display: none; }
.user-msg-error.show { display: block; }

/* =============================================
   HERO WA BUTTON MOBILE HIDE + GENERAL MOBILE
   ============================================= */
@media(max-width:640px){
  .hero-wa-hide { display: none !important; }
  .header-avatar-label { display: none; }
  .top-bar-social a { width: 24px; height: 24px; font-size: 11px; }
}

@media(max-width:640px){
  .cart-drawer { max-width: 100%; }
  .ck-row { grid-template-columns: 1fr; }
  .ck-box { padding: 22px 18px; }
  .detail-img-wrap, .detail-img { height: 200px; }
  .detail-body { padding: 18px; }
  .cart-fab { bottom: 72px; right: 14px; }
}
