/* ==========================================================================
   SAMA — MOBILE DESIGN SYSTEM
   Inspired by Vestiaire Collective Mobile UX
   Breakpoints: 768px (tablet), 480px (mobile), 390px (small mobile)
   ========================================================================== */

/* ==========================================================================
   1. MOBILE VARIABLES
   ========================================================================== */
:root {
  --mobile-bottom-nav-height: 60px;
  --mobile-header-height: 56px;
  --mobile-search-bar-height: 48px;
  --mobile-top-total: calc(var(--mobile-header-height) + var(--mobile-search-bar-height));
}

/* ==========================================================================
   2. MOBILE HEADER — Logo centre, Hamburger gauche, Icons droite (VC style)
   ========================================================================== */
@media (max-width: 768px) {
  .sama-announcement-bar {
    font-size: 0.73rem;
    padding: 6px 12px;
    letter-spacing: 0;
  }

  .sama-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: var(--mobile-header-height);
    gap: 0;
  }

  .sama-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sama-black);
    flex-shrink: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
  }

  .sama-logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 0;
    pointer-events: none;
  }

  .sama-logo {
    font-size: 1.65rem;
    letter-spacing: 4px;
    pointer-events: all;
  }

  .sama-logo-tagline {
    display: none;
  }

  .sama-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .sama-search-wrapper,
  .sama-lang-switch,
  .sama-btn-sell,
  .sama-auth-links,
  .sama-nav-bar {
    display: none !important;
  }

  .sama-icon-btn {
    width: 36px;
    height: 36px;
  }

  main {
    padding-bottom: var(--mobile-bottom-nav-height);
  }

  body {
    overflow-x: hidden;
  }
}

/* Mobile Search Bar (below header) */
.sama-mobile-search-bar {
  display: none;
}

@media (max-width: 768px) {
  .sama-mobile-search-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--sama-white);
    border-bottom: 1px solid var(--sama-sand-border);
    height: var(--mobile-search-bar-height);
  }

  .sama-mobile-search-inner {
    display: flex;
    align-items: center;
    background: var(--sama-sand);
    border-radius: var(--radius-full);
    flex: 1;
    padding: 0 14px;
    height: 34px;
    gap: 8px;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
  }

  .sama-mobile-search-inner:focus-within {
    background: var(--sama-white);
    border-color: var(--sama-black);
  }

  .sama-mobile-search-icon {
    color: var(--sama-text-muted);
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .sama-mobile-search-input {
    border: none;
    background: transparent;
    font-size: 0.88rem;
    flex: 1;
    color: var(--sama-text-main);
    outline: none;
    line-height: 1;
    font-family: var(--font-sans);
  }

  .sama-mobile-search-input::placeholder {
    color: var(--sama-text-light);
  }
}

/* ==========================================================================
   3. BOTTOM NAVIGATION BAR (VC style)
   ========================================================================== */
.sama-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .sama-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-bottom-nav-height);
    background: var(--sama-white);
    border-top: 1px solid var(--sama-sand-border);
    z-index: 800;
    box-shadow: 0 -4px 16px rgba(31, 30, 29, 0.08);
  }

  .sama-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--sama-text-muted);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    padding: 8px 4px;
    transition: color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-sans);
  }

  .sama-bottom-nav-item:hover,
  .sama-bottom-nav-item.active {
    color: var(--sama-black);
  }

  .sama-bottom-nav-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .sama-bottom-nav-sell .sama-bnav-icon-wrap {
    background: var(--sama-black);
    color: var(--sama-white);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -2px;
  }

  .sama-bottom-nav-sell {
    color: var(--sama-black);
  }

  .sama-bnav-badge {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(4px);
    background: var(--sama-black);
    color: var(--sama-white);
    font-size: 0.58rem;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
  }
}

/* ==========================================================================
   4. LEFT DRAWER MENU (slide-in)
   ========================================================================== */
.sama-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 30, 29, 0.5);
  z-index: 1100;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.sama-drawer-overlay.active {
  opacity: 1;
}

.sama-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--sama-white);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}

.sama-mobile-drawer.active {
  transform: translateX(0);
}

.sama-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--sama-sand-border);
  position: sticky;
  top: 0;
  background: var(--sama-white);
  z-index: 1;
}

.sama-drawer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sama-black);
  text-decoration: none;
}

.sama-drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--sama-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sama-black);
  font-size: 1.1rem;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.sama-drawer-auth {
  padding: 16px 20px;
  background: var(--sama-sand);
  display: flex;
  gap: 10px;
}

.sama-drawer-auth-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: block;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
}

.sama-drawer-auth-btn.login {
  background: var(--sama-black);
  color: var(--sama-white);
}

.sama-drawer-auth-btn.register {
  background: var(--sama-white);
  color: var(--sama-black);
  border: 1px solid var(--sama-sand-border);
}

.sama-drawer-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sama-text-light);
  padding: 18px 20px 6px;
}

.sama-drawer-nav-list {
  list-style: none;
  padding: 0;
}

.sama-drawer-nav-item a,
.sama-drawer-nav-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sama-text-main);
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--sama-sand);
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
  min-height: 48px;
}

.sama-drawer-nav-item a:hover,
.sama-drawer-nav-item button:hover {
  background: var(--sama-sand);
}

.sama-drawer-nav-item a svg,
.sama-drawer-nav-item button svg {
  color: var(--sama-text-light);
  flex-shrink: 0;
}

.sama-drawer-nav-item.sale-link a {
  color: var(--sama-danger);
  font-weight: 700;
}

.sama-drawer-footer {
  margin-top: auto;
  border-top: 1px solid var(--sama-sand-border);
  padding: 12px 0;
}

.sama-drawer-footer a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--sama-text-muted);
  text-decoration: none;
}

.sama-drawer-footer a:hover {
  color: var(--sama-black);
}

/* ==========================================================================
   5. FILTER BOTTOM SHEET (slide-up from bottom)
   ========================================================================== */
.sama-filter-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 30, 29, 0.45);
  z-index: 1100;
}

.sama-filter-sheet-overlay.active {
  display: block;
}

.sama-filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  background: var(--sama-white);
  border-radius: 18px 18px 0 0;
  z-index: 1200;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sama-filter-sheet.active {
  transform: translateY(0);
}

.sama-filter-sheet-handle {
  width: 38px;
  height: 4px;
  background: var(--sama-sand-border);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.sama-filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--sama-sand-border);
  flex-shrink: 0;
}

.sama-filter-sheet-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sama-black);
}

.sama-filter-sheet-close {
  width: 32px;
  height: 32px;
  background: var(--sama-sand);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--sama-black);
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}

.sama-filter-sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
}

.sama-filter-sheet-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--sama-sand-border);
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}

.sama-filter-sheet-reset {
  flex: 1;
  padding: 12px;
  background: var(--sama-sand);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sama-black);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
}

.sama-filter-sheet-apply {
  flex: 2;
  padding: 12px;
  background: var(--sama-black);
  color: var(--sama-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
}

.sama-fsheet-group {
  border-bottom: 1px solid var(--sama-sand);
}

.sama-fsheet-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sama-black);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
  min-height: 48px;
}

.sama-fsheet-group-toggle svg {
  transition: transform var(--transition-fast);
  color: var(--sama-text-muted);
  flex-shrink: 0;
}

.sama-fsheet-group.open .sama-fsheet-group-toggle svg {
  transform: rotate(180deg);
}

.sama-fsheet-group-body {
  display: none;
  padding: 4px 20px 16px;
}

.sama-fsheet-group.open .sama-fsheet-group-body {
  display: block;
}

/* ==========================================================================
   6. MOBILE CATALOG TOOLBAR (chips bar)
   ========================================================================== */
.sama-mobile-cat-toolbar {
  display: none;
}

@media (max-width: 768px) {
  .sama-mobile-cat-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--sama-sand-border);
    background: var(--sama-white);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
  }

  .sama-mobile-cat-toolbar::-webkit-scrollbar {
    display: none;
  }

  .sama-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--sama-white);
    border: 1px solid var(--sama-sand-border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sama-text-main);
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    text-decoration: none;
    font-family: var(--font-sans);
  }

  .sama-cat-chip.active,
  .sama-cat-chip:hover {
    background: var(--sama-black);
    color: var(--sama-white);
    border-color: var(--sama-black);
  }

  .sama-cat-chip svg {
    width: 14px;
    height: 14px;
  }

  .sama-catalog-layout {
    grid-template-columns: 1fr;
    padding: 0 0 20px;
    gap: 0;
  }

  .sama-filter-sidebar {
    display: none;
  }

  .sama-catalog-toolbar {
    display: none;
  }
}

/* ==========================================================================
   7. MOBILE PRODUCT GRIDS & HORIZONTAL SCROLL
   ========================================================================== */
@media (max-width: 768px) {
  .sama-product-grid,
  .sama-product-grid-5,
  .sama-product-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sama-card-body {
    padding: 10px 10px 12px;
  }

  .sama-card-brand { font-size: 0.82rem; }
  .sama-card-title { font-size: 0.76rem; }
  .sama-card-price { font-size: 0.92rem; }
  .sama-card-orig-price { font-size: 0.75rem; }
  .sama-stars { font-size: 0.65rem; }

  /* Horizontal scroll row for featured sections */
  .sama-scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .sama-scroll-row::-webkit-scrollbar { display: none; }

  .sama-scroll-row .sama-product-card {
    min-width: 160px;
    width: 160px;
    flex-shrink: 0;
  }
}

@media (max-width: 390px) {
  .sama-product-grid,
  .sama-product-grid-5,
  .sama-product-grid-6 { gap: 8px; }

  .sama-scroll-row .sama-product-card {
    min-width: 145px;
    width: 145px;
  }
}

/* ==========================================================================
   8. MOBILE HERO
   ========================================================================== */
@media (max-width: 768px) {
  .sama-hero-section { padding: 32px 0 40px; }

  .sama-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .sama-hero-visual {
    order: -1;
    max-width: 260px;
    margin: 0 auto;
  }

  .sama-hero-rack-art { max-width: 260px; }
  .sama-hero-title { font-size: 1.65rem; letter-spacing: 0; }
  .sama-hero-subtitle { font-size: 0.95rem; }
  .sama-hero-eyebrow { justify-content: center; font-size: 0.73rem; }
  .sama-hygiene-link { justify-content: center; font-size: 0.82rem; }
  .sama-hero-content { max-width: 100%; }

  .sama-hero-cta {
    padding: 14px 36px;
    font-size: 0.88rem;
    display: block;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   9. MOBILE LAYOUT HELPERS
   ========================================================================== */
@media (max-width: 768px) {
  .sama-section-header { margin-bottom: 16px; align-items: center; }
  .sama-section-title { font-size: 1.3rem; }
  .sama-section-subtitle { font-size: 0.8rem; }
  .sama-container { padding-left: 16px; padding-right: 16px; }

  .sama-promo-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .sama-promo-content {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .sama-promo-btn { width: 100%; }

  .sama-container > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}

/* ==========================================================================
   10. MOBILE PDP (Product Detail)
   ========================================================================== */
@media (max-width: 768px) {
  .sama-pdp-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 120px;
  }

  .sama-gallery-container { flex-direction: column; }

  .sama-gallery-main {
    border-radius: 0;
    border-left: none;
    border-right: none;
    aspect-ratio: 4 / 5;
  }

  .sama-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding: 12px 16px;
    scrollbar-width: none;
  }

  .sama-gallery-thumbs::-webkit-scrollbar { display: none; }

  .sama-thumb-item {
    width: 56px;
    min-width: 56px;
    height: 72px;
    border-radius: var(--radius-xs);
  }

  .sama-pdp-brand { font-size: 1.2rem; }
  .sama-pdp-title { font-size: 1.15rem; }
  .sama-pdp-current-price { font-size: 1.85rem; }
  .sama-pdp-price-box { padding: 14px 16px; }
  .sama-pdp-specs-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .sama-pdp-btn-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sama-btn-pdp-cart,
  .sama-btn-pdp-buy-now {
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  /* Sticky Add to Cart bar on mobile */
  .sama-pdp-sticky-bar {
    position: fixed;
    bottom: var(--mobile-bottom-nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--sama-sand-border);
    padding: 10px 14px;
    z-index: 750;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(31, 30, 29, 0.12);
  }

  .sama-pdp-sticky-price {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .sama-pdp-sticky-price .price-val {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sama-black);
    line-height: 1;
  }

  .sama-pdp-sticky-price .savings-val {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--sama-danger);
  }

  .sama-pdp-sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }

  .sama-pdp-sticky-actions .sama-btn-pdp-cart {
    padding: 11px 16px;
    font-size: 0.84rem;
    flex: 1;
    max-width: 220px;
    margin: 0;
  }

  .sama-pdp-sticky-actions .sama-card-favorite-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--sama-sand-border);
    background: var(--sama-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
  }
}

/* ==========================================================================
   11. MOBILE CART
   ========================================================================== */
@media (max-width: 768px) {
  .sama-cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0 40px;
  }

  .sama-cart-row {
    grid-template-columns: 80px 1fr auto;
    gap: 12px;
    padding: 16px 0;
  }

  .sama-cart-img { width: 80px; }
  .sama-order-summary-card { position: static; }
}

/* ==========================================================================
   12. MOBILE FOOTER (accordion)
   ========================================================================== */
@media (max-width: 768px) {
  .sama-footer {
    padding: 0 0 0;
    padding-bottom: calc(var(--mobile-bottom-nav-height) + 0px);
  }

  .sama-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .sama-footer-grid > div {
    border-bottom: 1px solid var(--sama-sand-border);
  }

  .sama-footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 16px 0;
    cursor: pointer;
    font-size: 0.92rem;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .sama-footer-col-title::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--sama-text-muted);
    border-bottom: 2px solid var(--sama-text-muted);
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-top: -4px;
  }

  .sama-footer-col-title.open::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .sama-footer-links {
    display: none;
    padding-bottom: 16px;
    gap: 14px;
  }

  .sama-footer-links.open {
    display: flex;
  }

  .sama-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 20px 0;
    font-size: 0.78rem;
  }

  .sama-whatsapp-float {
    bottom: calc(var(--mobile-bottom-nav-height) + 16px);
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   13. MOBILE MODALS (full-screen bottom sheet)
   ========================================================================== */
@media (max-width: 768px) {
  .sama-modal-content {
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sama-modal {
    align-items: flex-end;
    padding: 0;
  }
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

/* ==========================================================================
   14. TABLET (769px - 1024px)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .sama-product-grid-5,
  .sama-product-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .sama-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sama-catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .sama-hero-title { font-size: 2.2rem; }

  .sama-nav-menu { gap: 20px; }
  .sama-nav-link { font-size: 0.85rem; }
}

/* ==========================================================================
   15. TOUCH ENHANCEMENTS
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  .sama-product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .sama-filter-item { padding: 8px 0; }
}

/* ==========================================================================
   16. BODY LOCK & SAFE AREA
   ========================================================================== */
body.drawer-open,
body.sheet-open {
  overflow: hidden;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sama-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(60px + env(safe-area-inset-bottom));
  }
}
