/* ═══════════════════════════════════════════
   JURÔ — mobile.css
   Responsividade completa: tablet → mobile
   Breakpoints: 991px / 768px / 576px / 400px
═══════════════════════════════════════════ */

/* ── ANTI-OVERFLOW GLOBAL ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { box-sizing: border-box; }

/* ════════════════════════════════════
   TABLET LARGO  ≤ 991px
════════════════════════════════════ */
@media (max-width: 991px) {

  /* ── Cursor off ── */
  body { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  *, button, a { cursor: auto !important; }

  /* ── Ann bar ── */
  .ann-bar { font-size: 9px; letter-spacing: .12em; padding: 8px 12px; }

  /* ── Header ── */
  .header-inner {
    grid-template-columns: 44px minmax(130px, 1fr) auto;
    padding: 0 20px;
    height: 68px;
  }
  :root { --hdr-h: 68px; --ann-h: 34px; }
  .nav-links { display: none; }
  .hamburger-btn { display: flex !important; align-items: center; }
  .logo-svg { height: 52px; }
  .site-logo {
    min-width: 130px;
    max-width: min(58vw, 210px);
    justify-self: center;
  }
  .site-logo .custom-logo,
  .site-logo img {
    width: auto !important;
    height: 52px !important;
    max-height: 52px !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .header-actions { gap: 16px; }
  .ha-btn { font-size: 16px; }

  /* ── Hero ── */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 56% 44%;
    height: var(--hero-h);
  }
  .hero-content {
    padding: 32px 28px 28px;
    justify-content: center;
    gap: 12px;
  }
  .hero-title { font-size: clamp(36px, 7vw, 58px); }
  .hero-desc { font-size: 15px; max-width: 100%; margin-bottom: 22px; }
  .hero-watermark { width: 240px; height: 240px; bottom: -10px; right: -20px; }
  .hero-float-badge { left: 20px; bottom: 20px; padding: 12px 16px; font-size: 11px; }
  .hero-float-badge strong { font-size: 16px; }
  .hero-scroll-hint { display: none; }

  /* ── Marquee ── */
  .marquee-item { font-size: 9px; padding: 0 28px; }

  /* ── Categories ── */
  .cats-section { padding: 72px 0; }
  .cats-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 200px;
    gap: 10px;
  }
  .cats-mosaic .cat-tile:nth-child(3):last-child {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .cat-name-txt { font-size: 26px; }

  /* ── Bundles ── */
  .bundles-section { padding: 72px 0; }
  .bundle-cards { grid-template-columns: 1fr 1fr; gap: 18px; }
  .bc-imgs { height: 230px; }

  /* ── Products ── */
  .products-section { padding: 72px 0; }
  .prod-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* ── Editorial ── */
  .editorial { grid-template-columns: 1fr; }
  .ed-visual { height: 380px; }
  .ed-copy { padding: 64px 48px; }
  .ed-stat { gap: 32px; margin-top: 36px; padding-top: 28px; }
  .stat-n { font-size: 34px; }

  /* ── Instagram ── */
  .insta-section { padding: 72px 0; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }

  /* ── Reviews ── */
  .reviews-section { padding: 72px 0; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }

  /* ── Newsletter ── */
  .nl-section { padding: 72px 0; }
  .nl-form { max-width: 420px; }

  /* ── Footer ── */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* ── Section divider SVG off ── */
  .sld { display: none; }

  /* ── FAB ── */
  .fab-stack { right: 20px; bottom: 28px; gap: 10px; }
  .fab { width: 44px; height: 44px; }
  .seen-popover { right: 72px; bottom: 28px; width: 280px; }
}


/* ════════════════════════════════════
   TABLET ESTREITO  ≤ 768px
════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Header ── */
  .header-inner { height: 60px; padding: 0 16px; }
  :root { --hdr-h: 60px; --ann-h: 30px; }
  .logo-svg { height: 44px; }
  .site-logo {
    min-width: 120px;
    max-width: min(56vw, 190px);
    justify-self: center;
  }
  .site-logo .custom-logo,
  .site-logo img {
    width: auto !important;
    height: 44px !important;
    max-height: 44px !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .ha-btn { font-size: 15px; padding: 2px; }
  .header-actions { gap: 12px; }

  /* ── Hero ── */
  .hero { grid-template-rows: 54% 46%; }
  .hero-content { padding: 28px 22px 24px; }
  .hero-title { font-size: clamp(32px, 9vw, 52px); }
  .hero-eyebrow { font-size: 9px; letter-spacing: .3em; }
  .hero-desc { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .btn-j { padding: 13px 22px; font-size: 9px; letter-spacing: .16em; }

  /* ── Section titles ── */
  .sec-title { font-size: clamp(30px, 6vw, 48px); }

  /* ── Categories ── */
  .cats-section { padding: 56px 0; }
  .cats-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px;
    gap: 8px;
    margin-top: 36px;
  }
  .cat-name-txt { font-size: 22px; }
  .cat-info { padding: 20px 20px 66px; }
  .cat-btn-buy { left: 20px; bottom: 14px; }
  .cat-cnt { display: none; }

  /* ── Bundles ── */
  .bundles-section { padding: 56px 0; }
  .bundle-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .bc-imgs { height: 260px; }

  /* ── Products ── */
  .products-section { padding: 56px 0; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pc-name { font-size: 17px; }
  .filter-pills { gap: 6px; }
  .fp { padding: 8px 14px; font-size: 9px; }

  /* Produtos variáveis: picker mais compacto no tablet */
  .pc.pc-has-picker .pc-actions { padding: 10px; gap: 6px; }
  .pc.pc-has-picker .juro-size-picker { gap: 5px; }
  .pc.pc-has-picker .jsp-hint { display: none; }
  .pc.pc-has-picker .jsp-opt { font-size: 9px; padding: 5px 6px; }
  .pc.pc-has-picker .jsp-add { width: 28px; height: 28px; font-size: 11px; }
  .pc.pc-has-picker .item-sizes { top: 12px; right: 12px; }
  .pc-wish-corner { top: 10px; right: 10px; }
  .pc-wish-corner .btn-wish-sm { width: 36px; height: 36px; }
  .pc-qv { right: 52px; top: 10px; }
  .pc.pc-has-picker .size-dot { width: 30px; height: 30px; font-size: 9px; }

  .pc.pc-landscape .pc-thumb img { transform: scale(1.1); }
  .pc.pc-landscape:hover .pc-thumb img { transform: scale(1.14); }
  .pc.pc-landscape[data-cats*="bones"] .pc-thumb img { transform: scale(1.16); }
  .pc.pc-landscape[data-cats*="bones"]:hover .pc-thumb img { transform: scale(1.2); }

  /* ── Editorial ── */
  .ed-copy { padding: 52px 32px; }
  .ed-stat { flex-wrap: wrap; gap: 24px; }

  /* ── Instagram ── */
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }

  /* ── Reviews ── */
  .reviews-section { padding: 56px 0; }
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rv-card { padding: 28px 24px; }

  /* ── Newsletter ── */
  .nl-section { padding: 56px 0; }
  .nl-form { flex-direction: column; border-radius: 10px; box-shadow: none; max-width: 360px; }
  .nl-form input {
    border-radius: 6px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
  }
  .nl-form button {
    border-radius: 6px !important;
    padding: 14px 28px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79,19,36,.3);
  }

  /* ── Footer ── */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .f-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .pay-row { justify-content: center; }

  /* ── Toasts ── */
  .toasts { bottom: 14px; right: 14px; left: 14px; align-items: center; }
  .tst { font-size: 12px; padding: 12px 18px; width: 100%; justify-content: center; }
}


/* ════════════════════════════════════
   MOBILE  ≤ 576px
════════════════════════════════════ */
@media (max-width: 576px) {

  /* ── Globals ── */
  :root { --hdr-h: 56px; --ann-h: 28px; }
  .container-xxl, .container { padding-left: 16px !important; padding-right: 16px !important; }
  .sec-title { font-size: clamp(28px, 8vw, 42px); }
  .sec-sub { font-size: 14px; }
  .lbl { font-size: 8px; letter-spacing: .4em; }

  /* ── Ann bar ── */
  .ann-bar { font-size: 8px; letter-spacing: .08em; padding: 7px 10px; }

  /* ── Header ── */
  .header-inner {
    grid-template-columns: 40px minmax(110px, 1fr) auto;
    height: 56px;
    padding: 0 14px;
  }
  .logo-svg { height: 38px; }
  .site-logo {
    min-width: 110px;
    max-width: min(52vw, 170px);
    justify-self: center;
  }
  .site-logo .custom-logo,
  .site-logo img {
    width: auto !important;
    height: 38px !important;
    max-height: 38px !important;
    max-width: 100% !important;
    object-fit: contain;
  }
  .ha-btn { font-size: 14px; }
  /* oculta busca e conta no mobile, mantém coração e sacola */
  .ha-btn[title="Buscar"],
  .ha-btn[title="Conta"],
  .ha-btn[title="Minha conta"],
  .ha-btn[title="Entrar"],
  .ha-btn[aria-label="Minha conta"],
  .ha-btn[aria-label="Entrar na conta"] { display: none; }

  /* ── Hero — empilhado ── */
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .hero-img-wrap { flex: 0 0 52vw; min-height: 240px; max-height: 340px; }
  .hero-content {
    flex: 0 0 auto;
    padding: 24px 20px 28px;
    height: auto !important;
    min-height: 0;
    justify-content: flex-start;
    gap: 10px;
  }
  .hero-eyebrow { margin-bottom: 8px; font-size: 8px; }
  .hero-title { font-size: clamp(28px, 9.5vw, 44px); margin-bottom: 10px; }
  .hero-desc { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn-j { width: 100%; justify-content: center; }
  .hero-watermark { display: none; }
  .hero-float-badge { left: 14px; bottom: 14px; padding: 10px 13px; font-size: 10px; }
  .hero-float-badge strong { font-size: 14px; }

  /* ── Marquee ── */
  .marquee-item { font-size: 8px; padding: 0 20px; gap: 10px; }

  /* ── Categories ── */
  .cats-section { padding: 48px 0; }
  .cats-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 150px;
    gap: 7px;
    margin-top: 28px;
  }
  .cats-mosaic .cat-tile:nth-child(3):last-child {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 150px;
  }
  .cat-name-txt { font-size: 18px; }
  .cat-info { padding: 14px 14px 48px; }
  .cat-btn-buy { left: 14px; bottom: 10px; padding: 9px 14px; font-size: 8px; letter-spacing: .14em; }
  .cat-arrow { display: none; }

  /* ── Bundles ── */
  .bundles-section { padding: 48px 0; }
  .bundle-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; max-width: 100%; }
  .bc-imgs { height: 220px; }
  .bc-body { padding: 20px; }
  .bc-title { font-size: 22px; }
  .bc-desc { font-size: 13px; }
  .bc-timer { flex-wrap: wrap; gap: 6px; }

  /* ── Products ── */
  .products-section { padding: 48px 0; }
  .prod-header { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pc-name { font-size: 15px; }
  .pc-thumb { border-radius: 8px; }
  /* Ações só aparecem em tap — sem hover no mobile */
  .pc-actions { bottom: 0 !important; opacity: 1; transform: translateY(0) !important; }
  .pc-overlay-grad { opacity: 1 !important; }
  .pc-qv { display: none; }
  .btn-add { font-size: 10px; padding: 10px 8px; }
  .swatches { display: none; }
  .filter-pills { gap: 5px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .fp { white-space: nowrap; flex-shrink: 0; padding: 7px 12px; font-size: 8.5px; }

  /* Produtos variáveis: mantém visual da loja no touch */
  .pc.pc-has-picker .pc-actions { padding: 8px; gap: 6px; }
  .pc.pc-has-picker .juro-size-picker { gap: 5px; }
  .pc.pc-has-picker .jsp-hint { display: none; }
  .pc.pc-has-picker .jsp-sizes { gap: 3px; }
  .pc.pc-has-picker .jsp-opt { font-size: 8px; padding: 5px 6px; }
  .pc.pc-has-picker .jsp-add { width: 26px; height: 26px; font-size: 10px; }

  .pc.pc-has-picker .item-sizes {
    opacity: 1;
    transform: translate(0, 46px);
    top: 10px;
    right: 10px;
    gap: 4px;
  }
  .pc.pc-has-picker .size-dot { width: 26px; height: 26px; font-size: 8px; }

  .pc.pc-landscape .pc-thumb img { transform: scale(1.08); }
  .pc.pc-landscape:hover .pc-thumb img { transform: scale(1.12); }
  .pc.pc-landscape[data-cats*="bones"] .pc-thumb img { transform: scale(1.14); }
  .pc.pc-landscape[data-cats*="bones"]:hover .pc-thumb img { transform: scale(1.18); }

  /* ── Editorial ── */
  .editorial { display: flex; flex-direction: column; }
  .ed-visual { height: 300px; }
  .ed-copy { padding: 40px 24px; }
  .ed-stat { flex-wrap: wrap; gap: 20px; margin-top: 28px; padding-top: 24px; justify-content: center; text-align: center; }
  .stat-n { font-size: 30px; }
  .stat-l { font-size: 10px; }
  .ed-copy .btn-j { width: 100%; justify-content: center; }

  /* ── Instagram ── */
  .insta-section { padding: 48px 0; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 28px; }

  /* ── Reviews ── */
  .reviews-section { padding: 48px 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .rv-card { padding: 26px 22px; }
  .rv-text { font-size: 14px; }

  /* ── Newsletter ── */
  .nl-section { padding: 48px 0; }
  .nl-section .sec-title { font-size: clamp(24px, 7vw, 36px); }
  .nl-section p { font-size: 14px; }
  .nl-form {
    flex-direction: row;
    max-width: 100%;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    padding: 5px 5px 5px 18px;
    align-items: center;
    gap: 0;
  }
  .nl-form input {
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
  }
  .nl-form button {
    border-radius: 50px !important;
    white-space: nowrap;
    padding: 11px 20px;
    font-size: 8.5px;
    letter-spacing: .16em;
    width: auto;
    flex-shrink: 0;
    margin: 0;
  }

  /* ── Footer ── */
  .site-footer { padding: 60px 0 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 48px; }
  .f-brand { grid-column: 1 / -1; text-align: center; }
  .f-brand p { font-size: 13px; margin: 0 auto; }
  .f-socials { justify-content: center; }
  .f-col h5 { font-size: 15px; margin-bottom: 14px; }
  .f-links a { font-size: 13px; padding: 4px 0; }
  .f-links li+li { margin-top: 8px; }
  .foot-bottom { flex-direction: column; align-items: center; gap: 12px; padding: 18px 0; text-align: center; }
  .pay-row { justify-content: center; flex-wrap: wrap; gap: 6px; }

  /* ── Drawers ── */
  .drawer { width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; top: auto; height: 88dvh; }
  .dh { padding: 20px 22px; }
  .d-body { padding: 16px 22px; }
  .d-foot { padding: 18px 22px; }

  /* ── Mobile nav ── */
  .mob-nav { width: 280px; }

  /* ── FAB ── */
  .fab-stack { right: 14px; bottom: 20px; gap: 9px; }
  .fab { width: 42px; height: 42px; }
  .fab svg { width: 18px; height: 18px; }
  .fab-badge { width: 16px; height: 16px; font-size: 9px; top: -2px; right: -2px; }
  .seen-popover { right: 0; left: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; transform: translateY(20px) scale(1); transform-origin: bottom center; }
  .seen-popover.open { transform: translateY(0) scale(1); }
}


/* ════════════════════════════════════
   MOBILE PEQUENO  ≤ 400px
════════════════════════════════════ */
@media (max-width: 400px) {

  .hero-title { font-size: clamp(24px, 9vw, 36px); }
  .hero-img-wrap { max-height: 280px; }

  .cats-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 130px;
  }
  .cats-mosaic .cat-tile:nth-child(3):last-child {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 130px;
  }
  .cat-name-txt { font-size: 15px; }
  .cat-info { padding: 10px 10px 40px; }
  .cat-btn-buy { left: 10px; bottom: 8px; padding: 8px 12px; font-size: 7.5px; letter-spacing: .12em; }

  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc-name { font-size: 13px; }
  .pc-info { padding: 10px 0 0; }
  .btn-add { font-size: 9px; padding: 8px 6px; }

  .pc.pc-has-picker .pc-actions { padding: 6px; gap: 5px; }
  .pc.pc-has-picker .juro-size-picker { gap: 4px; }
  .pc.pc-has-picker .jsp-opt { font-size: 8px; padding: 4px 5px; }
  .pc.pc-has-picker .jsp-add { width: 24px; height: 24px; font-size: 9px; }
  .pc.pc-has-picker .item-sizes { top: 8px; right: 8px; }
  .pc.pc-has-picker .size-dot { width: 24px; height: 24px; font-size: 7px; }

  .pc.pc-landscape .pc-thumb img { transform: scale(1.06); }
  .pc.pc-landscape:hover .pc-thumb img { transform: scale(1.1); }
  .pc.pc-landscape[data-cats*="bones"] .pc-thumb img { transform: scale(1.12); }
  .pc.pc-landscape[data-cats*="bones"]:hover .pc-thumb img { transform: scale(1.16); }

  .bc-title { font-size: 20px; }

  .rv-card { padding: 20px 18px; }
  .rv-text { font-size: 13px; }

  .ann-bar { font-size: 7.5px; }

  .fab { width: 40px; height: 40px; }
  .fab svg { width: 16px; height: 16px; }
}