/* ═══════════════════════════════════════
   MOBILE RESPONSIVE CSS — AVM REVERIA
   Session 21 — shop filter drawer
   Breakpoints:
     ≤ 1024px = tablet / hamburger nav
     ≤  768px = mobile
     ≤  480px = small mobile
═══════════════════════════════════════ */

/* ════════════════════════════════════════
   MOBILE MENU OVERLAY + PANEL
════════════════════════════════════════ */
.mobile-menu-veil {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,4,45,.4);
  z-index: 1500;
  backdrop-filter: blur(4px);
}
.mobile-menu-veil.on { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--navy);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  transition: left .4s cubic-bezier(.16,1,.3,1);
}
.mobile-menu.on { left: 0; }

.mobile-menu-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid rgba(245,240,225,.08);
}
.mobile-menu-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.mobile-menu-close {
  font-size: 26px;
  background: none;
  border: none;
  color: rgba(245,240,225,.6);
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover { color: var(--bg); }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 0;
}
.mobile-menu-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,240,225,.7);
  text-decoration: none;
  padding: 1.1rem 1.8rem;
  border-bottom: 1px solid rgba(245,240,225,.05);
  transition: color .2s, background .2s;
}
.mobile-menu-nav a:hover {
  color: var(--bg);
  background: rgba(245,240,225,.04);
}

.mobile-menu-footer {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 1.8rem 2.5rem;
  border-top: 1px solid rgba(245,240,225,.08);
}
.mobile-soc {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,240,225,.4);
  text-decoration: none;
  transition: color .2s;
}
.mobile-soc:hover { color: var(--orange); }

/* ════════════════════════════════════════
   FOOTER ACCORDION (desktop: hidden toggle)
════════════════════════════════════════ */
.ft-col-toggle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.ft-col-icon {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(245,240,225,.4);
  line-height: 1;
}


/* ════════════════════════════════════════
   TABLET — ≤ 1024px
════════════════════════════════════════ */
@media (max-width: 1024px) {

  #avm-nav { padding: 0 1.5rem; }
  .nav-left { display: none; }
  .nav-hamburger { display: flex; }

  /* Shop: 2-col grid at tablet */
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  /* Shop layout: collapse to 1 col, sidebar still visible */
  .shop-layout { grid-template-columns: 1fr; padding: 0 2rem 4rem; }
  .filters {
    position: static;
    border-right: none;
    border-bottom: 1px solid rgba(26,20,16,.07);
    padding: 1.5rem 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .filters-reset { grid-column: 1 / -1; }
  .shop-main { padding: 1.5rem 0 0; }

  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid .pc:first-child, .pc.pc-wide { grid-row: span 1; }
  .pgrid .pc:first-child .pc-img { aspect-ratio: 3/4; height: auto; }
  .ni-grid { grid-template-columns: repeat(2, 1fr); }
  .vals-g { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: 1fr; gap: 3rem; }
  .ft-cols { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .ab { grid-template-columns: 1fr; gap: 1.5rem; }
}


/* ════════════════════════════════════════
   MOBILE — ≤ 768px
   NOTE: Shop page mobile styles are in shop.css
   to keep them co-located with shop desktop styles.
════════════════════════════════════════ */
@media (max-width: 768px) {

  body { cursor: auto; }
  #cur { display: none; }
  a, button { cursor: pointer; }
  .cart-btn, .nav-left a, .soc, .sz-btn,
  .qadd, .qadd-l, .va-link, .cf-submit,
  .cd-checkout, .cd-continue, .cd-qty-btn,
  .cd-item-rm, .sz-modal-close, .sz-modal-add,
  .nav-logo-link, .ft-nl button { cursor: pointer; }

  /* ── NAV ── */
  #avm-nav { padding: 0 1.2rem; height: 60px; }
  .nav-logo-img { height: 36px; }
  .cart-btn { padding: 7px 14px; font-size: 9px; }

  /* ── HERO ── */
  .hero { height: 100svh; }
  .hero-drop-label { font-size: 8px; letter-spacing: .35em; }
  .hero-cta { padding: 12px 32px; font-size: 8px; }

  /* ── TICKER ── */
  .ticker-item { font-size: 10px; padding: 0 1.5rem; }

  /* ── SECTIONS ── */
  section { padding: 4rem 1.5rem; }
  .s-title { font-size: clamp(28px, 8vw, 48px); margin-bottom: 2rem; }
  .hr { margin: 0 1.5rem; }

  /* ── NEW IN ── */
  .new-in { padding: 3rem 1.5rem 5rem; }
  .ni-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }

  /* ── FEATURED ── */
  .featured { padding: 4rem 1.5rem; }
  .feat-head { flex-direction: column; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .pgrid .pc:first-child, .pc.pc-wide { grid-row: span 1; }
  .pgrid .pc:first-child .pc-img { aspect-ratio: 3/4; height: auto; }

  /* ── CART DRAWER ── */
  .cart-drawer { width: 100vw; }

  /* ── PRODUCT PAGE ── */
  .prod-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    margin-top: 60px;
  }
  .prod-gallery { position: static; height: auto; max-height: 70vw; }
  .prod-main-img { height: 75vw; }
  .prod-thumbs { padding: 4px; }
  .thumb { width: 64px; height: 86px; }
  .prod-info {
    padding: 2rem 1.5rem 4rem;
    border-left: none;
    border-top: 1px solid rgba(26,20,16,.07);
    max-height: none;
    overflow-y: visible;
  }
  .p-name { font-size: clamp(28px, 8vw, 44px); }
  .p-price { font-size: 26px; }

  /* ── CONTACT ── */
  .contact-pg { grid-template-columns: 1fr; padding-top: 60px; }
  .contact-l { padding: 3rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(26,20,16,.07); }
  .contact-r { padding: 3rem 1.5rem; }

  /* ── ABOUT ── */
  .about-hero { height: 60vw; min-height: 280px; padding: 2.5rem 1.5rem; }
  .about-blocks { padding: 0 1.5rem; }
  .ab { grid-template-columns: 1fr; gap: 1rem; padding: 3rem 0; }
  .about-vals { padding: 4rem 1.5rem; }
  .vals-g { grid-template-columns: 1fr; }

  /* ── FOOTER MOBILE ── */
  .site-footer { padding: 3.5rem 1.5rem 1.5rem; }
  .ft-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; margin-bottom: 0; }
  .ft-brand { margin-bottom: 1rem; }
  .ft-logo { font-size: 22px; }
  .ft-tagline { font-size: 13px; }

  .ft-cols { grid-template-columns: 1fr; gap: 0; }
  .ft-col { border-bottom: 1px solid rgba(245,240,225,.07); padding: 0; }
  .ft-col-nl { border-bottom: none; padding-top: 1.5rem; }
  .ft-col-toggle { display: flex; padding: 1rem 0; margin-bottom: 0; }
  .ft-col-title { font-size: 9px; letter-spacing: .28em; color: rgba(245,240,225,.4); text-transform: uppercase; margin-bottom: 0; }
  .ft-col-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    list-style: none;
    padding-bottom: 0;
  }
  .ft-col.open .ft-col-body { max-height: 300px; padding-bottom: 1rem; }
  .ft-col li { margin-bottom: .6rem; }
  .ft-col-nl .ft-col-title { margin-bottom: .8rem; }
  .ft-col-nl .ft-nl-desc { font-size: 10px; }

  .ft-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(245,240,225,.07);
  }
  .ft-socials { gap: 1.2rem; }

  /* ── SIZE MODAL ── */
  .sz-modal { width: 100%; left: 0; transform: none; }

  /* ── CHECKOUT (mobile) ── */
  .avm-wc-page { padding-top: 60px !important; }
  .avm-checkout {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .ckout-right {
    order: -1;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-y: visible !important;
    padding: 2rem 1.5rem;
    border-left: none;
    border-bottom: 1px solid rgba(26,20,16,.08);
  }
  .ckout-left {
    padding: 2rem 1.5rem 4rem !important;
    min-height: 0 !important;
    max-width: 100% !important;
    border-right: none;
    width: 100% !important;
  }
  .wc-block-checkout__main.wc-block-checkout__main { padding: 2rem 1.5rem !important; }
  .wc-block-checkout__sidebar.wc-block-checkout__sidebar { padding: 2rem 1.5rem !important; }
}


/* ════════════════════════════════════════
   SMALL MOBILE — ≤ 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .ni-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .prod-main-img { height: 90vw; }
  .vals-g { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr; }
}
