/* ============================================================
   EMUNÁ · Design tokens
   ============================================================ */
:root {
  /* cor */
  --violet: #6F3CC3;
  --violet-deep: #4A1F8C;
  --violet-soft: #8A5FD6;
  --cream: #FAF7FB;
  --lilac: #EDE3F7;
  --charcoal: #2A2233;
  --gray-mid: #8A8294;
  --gray-line: #E4DFEA;
  --gold: #B89860;
  --gold-soft: #E4D3AD;
  --white: #FFFFFF;

  /* tipografia */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  /* layout */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 32px -16px rgba(74, 31, 140, 0.28);
  --shadow-card: 0 8px 24px -12px rgba(42, 34, 51, 0.18);
  --max-width: 1280px;
  --header-h: 84px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Reset
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.is-loaded { opacity: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Correção crítica de overflow: navegadores dão aos campos de formulário uma
   largura mínima de conteúdo que ignora flex/grid, empurrando a página para
   o lado em telas estreitas. Isso permite que eles encolham normalmente. */
input, select, textarea, button { min-width: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--violet-deep);
  position: relative;
  display: inline-block;
}
.section-heading .stitch-underline {
  width: 110px;
  height: 14px;
  color: var(--gold);
  margin-top: 4px;
}
.section-heading p {
  color: var(--gray-mid);
  font-size: 16px;
  max-width: 480px;
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--lilac { background: var(--lilac); }

/* stitch divider, the signature motif */
.stitch-divider {
  width: 100%;
  height: 22px;
  color: var(--violet-soft);
  opacity: 0.55;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--violet-deep); transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #a3854f; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--violet);
  color: var(--violet);
}
.btn--ghost:hover { background: var(--violet); color: var(--white); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.icon-btn:hover { transform: scale(1.08); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: rgba(250, 247, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled {
  border-bottom-color: var(--gray-line);
  box-shadow: 0 6px 24px -18px rgba(42,34,51,0.3);
}
.site-header > .container { flex: 1 1 100%; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--violet-deep);
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }

.nav-main {
  display: none;
}
.nav-main ul { display: flex; gap: 32px; }
.nav-main a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-main a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--violet);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.is-visible { display: flex; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (min-width: 960px) {
  .nav-main { display: block; }
  .menu-toggle { display: none; }
}

/* search bar */
.search-bar {
  flex: 0 0 100%;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  transition: max-height 0.3s ease;
}
.search-bar.is-open { max-height: 100px; }
.search-bar .container { padding-top: 14px; padding-bottom: 14px; }
.search-bar input {
  width: 100%;
  border: none;
  background: var(--lilac);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-family: inherit;
}

/* mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(42,34,51,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 199;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 84vw);
  height: 100%;
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer h3 {
  font-family: var(--font-display);
  color: var(--violet-deep);
  font-size: 22px;
  margin-bottom: 24px;
}
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 16px;
  font-weight: 500;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide {
  min-width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  max-height: 620px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--violet-deep);
}
.hero-slide__bg-blur {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.6) saturate(1.15);
  transform: scale(1.15);
  z-index: 0;
}
.hero-slide__bg-sharp {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-slide__scrim {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(42,17,77,0.82) 0%, rgba(74,31,140,0.35) 45%, rgba(74,31,140,0.05) 75%);
}
.hero-slide__content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 0 56px 56px;
  color: var(--white);
}
.hero-slide__content .eyebrow { color: var(--gold-soft); }
.hero-slide__content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  margin: 12px 0 16px;
}
.hero-slide__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 420px;
}
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.hero-nav .icon-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.85);
}
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 56px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 28px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  transition: background 0.25s ease, width 0.25s ease;
}
.hero-dot.is-active { background: var(--gold); width: 44px; }

@media (max-width: 640px) {
  .hero-slide { aspect-ratio: 4 / 3; min-height: 340px; max-height: 480px; }
  .hero-slide__content { padding: 0 24px 48px; }
  .hero-dots { left: 24px; }
  .hero-nav { padding: 0 8px; }
  .hero-nav .icon-btn { width: 36px; height: 36px; font-size: 16px; }
}

/* promo strip */
.promo-strip { padding: 48px 0 0; }
.promo-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.promo-card {
  position: relative;
  height: 160px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,17,77,0.75), transparent 60%);
}
.promo-card__label {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  padding: 18px 22px;
}

/* ============================================================
   Categories
   ============================================================ */
.categories-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 14px;
  margin: -4px -4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-line) transparent;
}
.categories-grid::-webkit-scrollbar { height: 6px; }
.categories-grid::-webkit-scrollbar-thumb { background: var(--gray-line); border-radius: 999px; }
.categories-grid.drag-scroll { cursor: grab; }
.categories-grid.drag-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.category-card {
  flex: 0 0 auto;
  width: clamp(140px, 38vw, 190px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-5px); }
.category-card__image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(74,31,140,0.15), rgba(42,17,77,0.78));
}
.category-card__icon, .category-card__name {
  position: relative; z-index: 1;
  color: var(--white);
}
.category-card__icon { font-size: 26px; }
.category-card__name { font-weight: 600; font-size: 15px; text-align: center; padding: 0 8px; }

/* ============================================================
   Product grids
   ============================================================ */
.product-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 14px;
  margin: -4px -4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-line) transparent;
}
.product-row::-webkit-scrollbar { height: 6px; }
.product-row::-webkit-scrollbar-thumb { background: var(--gray-line); border-radius: 999px; }
.product-row.drag-scroll { cursor: grab; }
.product-row.drag-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.product-row .product-card {
  flex: 0 0 auto;
  width: clamp(170px, 42vw, 240px);
  scroll-snap-align: start;
}
@media (min-width: 640px) { .product-row .product-card { width: 220px; } }
@media (min-width: 1000px) { .product-row .product-card { width: 250px; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -16px rgba(74,31,140,0.32);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--lilac);
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  font-size: 16px;
}
.tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.tag--new { background: var(--violet); }
.tag--sale { background: var(--gold); }
.tag--out { background: var(--gray-mid); }

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
}
.product-card__desc {
  font-size: 13px;
  color: var(--gray-mid);
  flex: 1;
}
.product-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price-old { font-size: 13px; color: var(--gray-mid); text-decoration: line-through; }
.price-new { font-size: 18px; font-weight: 700; color: var(--violet-deep); }
.stock-warning { font-size: 12px; color: #B9572E; font-weight: 600; }
.product-card .btn { margin-top: 8px; padding: 11px 18px; font-size: 14px; }

.empty-state { color: var(--gray-mid); font-style: italic; }

.row-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.row-header .see-all { font-size: 14px; font-weight: 600; color: var(--violet); white-space: nowrap; }

/* ============================================================
   About
   ============================================================ */
.about {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-media, .about-copy { min-width: 0; }
@media (min-width: 880px) {
  .about { grid-template-columns: 1fr 1fr; }
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--violet-deep);
  margin: 10px 0 18px;
}
.about-copy p { color: var(--charcoal); line-height: 1.7; margin-bottom: 14px; max-width: 520px; }
.about-copy .btn { margin-top: 10px; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-card__stitch { display: block; width: 70px; margin-bottom: 14px; color: var(--gold); }
.testimonial-card blockquote { font-size: 15px; line-height: 1.65; color: var(--charcoal); margin-bottom: 16px; }
.testimonial-card__stars { color: var(--gold); display: block; font-size: 14px; margin-bottom: 4px; }
.testimonial-card__name { font-weight: 600; font-size: 14px; color: var(--violet-deep); }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 10px;
}
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 14px;
}
.newsletter-msg { margin-top: 14px; font-size: 14px; color: var(--gold-soft); min-height: 20px; }

@media (max-width: 480px) {
  .newsletter { padding: 36px 20px; }
  .newsletter-form input { min-width: 0; flex-basis: 100%; }
  .newsletter-form button { flex-basis: 100%; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 17px;
  margin-bottom: 16px;
}
.footer-col .logo { color: var(--white); margin-bottom: 12px; display: inline-block; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--violet); }
.footer-map {
  margin-top: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 120px;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}
.footer-map iframe { width: 100%; height: 100%; border: 0; }

.footer-bottom {
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* admin trigger: visually near-invisible on purpose */
.credit-line { opacity: 0.7; }
.admin-trigger {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-block;
}
.admin-trigger:hover { background: rgba(255,255,255,0.4); }

/* ============================================================
   Admin login modal
   ============================================================ */
.admin-modal {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42,17,77,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.admin-modal.is-open { opacity: 1; pointer-events: auto; }
.admin-modal__panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  width: min(360px, 90vw);
  box-shadow: var(--shadow-soft);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.admin-modal.is-open .admin-modal__panel { transform: translateY(0); }
.admin-modal__panel h3 {
  font-family: var(--font-display);
  color: var(--violet-deep);
  font-size: 22px;
  margin-bottom: 18px;
}
.admin-modal__panel label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--charcoal);
}
.admin-modal__panel input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-line);
  font-family: inherit;
  font-size: 14px;
}
.admin-modal__panel .btn { width: 100%; margin-top: 22px; }
.admin-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 20px;
  color: var(--gray-mid);
}
.admin-login-error { color: #C0392B; font-size: 13px; margin-top: 10px; min-height: 16px; }

/* ============================================================
   Responsividade — telas pequenas (iPhone/Android)
   ============================================================ */

/* Evita zoom automático do Safari iOS ao focar em campos de formulário
   (qualquer input/select/textarea com font-size < 16px dispara o zoom) */
@media (max-width: 600px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Header mais compacto em telas estreitas, para logo + ícones nunca quebrarem linha */
@media (max-width: 420px) {
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; font-size: 15px; }
  .logo { font-size: 22px; }
  .site-header .container { gap: 8px; }
}

/* Área segura do iPhone (notch / home indicator) no menu lateral e overlay */
.mobile-drawer {
  padding-top: calc(28px + env(safe-area-inset-top));
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

/* Impede rolagem horizontal acidental em qualquer página */
html, body { max-width: 100%; overflow-x: hidden; }

/* Botões/CTAs nunca menores que a área de toque recomendada (44px) */
@media (max-width: 600px) {
  .btn { min-height: 44px; }
  .icon-btn { min-width: 40px; min-height: 40px; }
}
