/* ═══════════════════════════════════════
   RESET & GLOBAL DESIGN SYSTEM
═══════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #e8f0ff;
  font-family: 'Nunito', sans-serif;
  padding: 12px;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 20px);
  color: #111111;
  -webkit-tap-highlight-color: transparent;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --color-accent:    #1a2954;
  --color-secondary: #ffe250;
  --color-bg:        #e8f0ff;
  --color-surface:   #ffffff;
  --color-text:      #111111;
  --color-muted:     #666666;
  --color-border:    rgba(0,0,0,0.07);
  --color-whatsapp:  #0a8a0a;
  --color-danger:    #1a2954;

  --header-bg-opacity: 0;
  --header-shadow-opacity: 0;
  --header-pad-top: 36px;
  --header-pad-bottom: 16px;
  --title-scale: 1.8;
  --scroll-progress: 0;
  --bottom-nav-height: 64px;
}

/* ═══════════════════════════════════════
   SCROLL-LINKED HEADER & TITLE ANIMATION
═══════════════════════════════════════ */
.header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(232, 240, 255, var(--header-bg-opacity));
  padding: var(--header-pad-top) 14px var(--header-pad-bottom) 14px;
  border-radius: 0 0 24px 24px;
  margin: -12px -12px 16px -12px;
  box-shadow: 0 4px 15px rgba(0,0,0,var(--header-shadow-opacity));
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 900;
}

.title-wrapper { display: flex; align-items: center; }
.title {
  color: var(--color-text);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transform: scale(var(--title-scale));
  transform-origin: left center;
  will-change: transform;
  margin-left: 8px;
}

/* ═══════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════ */
.header-actions { display: flex; align-items: center; width: 100%; }
.search-bar-container {
  display: flex;
  align-items: center;
  flex: 1;
  background: var(--color-surface);
  border-radius: 14px;
  padding: 6px 14px;
  height: 44px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--color-border);
}
.search-icon { width: 20px; height: 20px; color: #777; margin-right: 8px; }
.search-bar-inner {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--color-text);
}

/* ═══════════════════════════════════════
   BOTTOM NAVIGATION
═══════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: var(--bottom-nav-height);
  background: var(--color-surface);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 14px rgba(0,0,0,0.06);
  z-index: 1000;
  padding: 0 0 env(safe-area-inset-bottom) 0;
  border-top: 1px solid var(--color-border);
}

.nav-btn {
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
  flex: 1;
  height: 100%;
  border-radius: 0;
  padding: 6px 2px 4px;
}
.nav-label {
  font-size: 9px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
}

.nav-btn.active {
  color: var(--color-accent);
  background: transparent;
}

.nav-btn.active .nav-icon {
  color: var(--color-accent);
  transform: scale(1.05);
}

.nav-btn.active .nav-label {
  color: var(--color-accent);
}

.nav-icon { width: 22px; height: 22px; transition: transform 0.2s ease; }
.nav-cart-wrapper { position: relative; display: flex; align-items: center; }
.cart-count {
  position: absolute;
  top: -6px; right: -10px;
  background: var(--color-accent);
  color: white;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-surface);
  padding: 0 4px;
}

/* ═══════════════════════════════════════
   CATEGORY CHIPS
═══════════════════════════════════════ */
.category-chips-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: var(--category-sticky-top, 90px);
  z-index: 890;
  background: var(--color-bg);
  margin: 0 -12px 16px -12px;
  padding: 10px 12px 8px 12px;
}

.chips-scroll-container { display: flex; align-items: center; gap: 6px; overflow: hidden; }
.chips-wrapper { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }

.category-chip {
  padding: 6px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  cursor: pointer;
  font-size: 12px; font-weight: 800;
  white-space: nowrap;
  color: #444;
  height: 34px;
  display: flex; align-items: center; flex-shrink: 0;
  transition: all 0.2s ease;
}

.category-chip.active {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(26, 41, 84,0.25);
}

.chips-see-all-btn {
  gap: 4px;
  color: var(--color-accent);
  border-color: rgba(26, 41, 84,0.18);
  background: #fff0f0;
  margin-left: auto;
}
.chips-see-all-btn .icon { width: 16px; height: 16px; }
.chips-see-all-btn.expanded #expandArrow { transform: rotate(180deg); }
#expandArrow { transition: transform 0.2s ease; }

.category-expanded-menu {
  display: none;
  background: var(--color-surface);
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 10px;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.category-expanded-menu.open { display: flex; }

.category-menu-item {
  flex: 0 1 calc(50% - 3px);
  padding: 10px;
  background: #fff8e1;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  font-size: 12px; font-weight: 800;
  cursor: pointer; color: #333;
}
.category-menu-item.active { background: var(--color-accent); color: white; }

/* ═══════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════ */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
/* Tablet: 768px+ */
@media (min-width: 768px) {
  .products { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .products { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease;
}
.card:active { transform: scale(0.98); }

.card-image-wrapper { position: relative; width: 100%; overflow: hidden; background: #f0f0f0; }
.card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.card-content { padding: 12px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-name { font-size: 14px; font-weight: 800; line-height: 1.25; margin-bottom: 4px; color: var(--color-text); }
.description { font-size: 11px; color: #666; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-container { margin-top: auto; display: flex; align-items: baseline; gap: 4px; }
.price { color: #0a8a0a; font-size: 16px; font-weight: 900; }
.initial-price { text-decoration: line-through; color: #aaa; font-size: 11px; }

.product-tags { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 10; align-items: flex-end; }
.tag-badge { background: var(--color-text); color: var(--color-surface); padding: 4px 8px; border-radius: 8px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }

/* ═══════════════════════════════════════
   ACTION BUTTONS
═══════════════════════════════════════ */
.add-btn, .checkout-btn, .done-btn {
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  border-radius: 12px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  transition: opacity 0.2s, transform 0.1s;
}
.add-btn:active, .checkout-btn:active, .done-btn:active { opacity: 0.88; transform: scale(0.98); }
.add-btn { width: 100%; padding: 11px; font-size: 13px; margin-top: 10px; }
.checkout-btn { padding: 14px; font-size: 15px; }
.dispatch-btn { background: var(--color-whatsapp); }
.whatsapp-btn { background: var(--color-whatsapp); }
.danger-btn { background: var(--color-danger); }
.revoke-btn { background: #0070cc; }
.outline-btn {
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 800;
  color: var(--color-muted);
  cursor: pointer; font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
}
.outline-btn:active { background: #f0f0f0; }

.quantity-box { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; }
.qty-btn {
  width: 32px; height: 32px;
  border: none; border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════
   MODALS & OVERLAYS
═══════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex; z-index: 1800;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.register-box {
  background: var(--color-surface);
  width: 100%; max-width: 480px;
  border-radius: 24px; padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.modal-overlay.open .register-box { transform: scale(1); }

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-title { font-size: 18px; font-weight: 900; color: var(--color-text); display: flex; align-items: center; gap: 8px; }
.modal-title-new { font-size: 18px; font-weight: 900; color: var(--color-whatsapp); display: flex; align-items: center; gap: 8px; }
.modal-icon { width: 22px; height: 22px; color: var(--color-text); }
.modal-subtitle { font-size: 13px; color: var(--color-muted); margin-bottom: 18px; line-height: 1.4; }
.close-modal {
  width: 32px; height: 32px;
  border: none; border-radius: 50%;
  background: #f0f0f0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #333;
}

/* ═══════════════════════════════════════
   SLIDE-UP MODALS (description, contact us)
═══════════════════════════════════════ */
.slide-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1700;
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.slide-modal-overlay.open { opacity: 1; pointer-events: auto; }

.slide-modal {
  background: var(--color-surface);
  width: 100%; border-radius: 24px 24px 0 0;
  max-height: 75vh;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  padding-bottom: env(safe-area-inset-bottom);
}
.slide-modal-overlay.open .slide-modal { transform: translateY(0); }

.slide-modal-handle {
  width: 36px; height: 4px;
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.slide-modal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  -webkit-overflow-scrolling: touch;
}

.slide-modal-title { font-size: 18px; font-weight: 900; color: var(--color-text); margin-bottom: 12px; }

.desc-modal-body {
  font-size: 14px; color: #444;
  line-height: 1.65;
  white-space: pre-wrap;
}

.contact-us-modal { max-height: 65vh; }
.contact-us-textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}
.contact-us-textarea:focus { border-color: var(--color-accent); }

/* ═══════════════════════════════════════
   FORM LAYOUTS
═══════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.form-group label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: #555; }
.form-group input, .form-select {
  padding: 12px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--color-surface);
  color: var(--color-text);
  width: 100%;
}
.form-group input:focus, .form-select:focus { border-color: var(--color-accent); }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.required { color: var(--color-accent); }
.optional-label { font-size: 10px; color: #aaa; font-weight: 600; text-transform: none; letter-spacing: 0; }
.validation-msg { font-size: 11px; color: var(--color-accent); display: none; margin-top: 2px; }

/* ═══════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════ */
.product-page {
  position: fixed; inset: 0; z-index: 1300;
  background: var(--color-bg);
  display: none; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.product-page.open { transform: translateX(0); display: flex; }
.product-page { display: none; }
.product-page.open { display: flex; }

.pp-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 16px; }

/* Hero (Section 1) */
.pp-hero-wrapper {
  position: relative;
  width: 100%; aspect-ratio: 1/1;
  background: #f0f0f0;
  overflow: hidden; flex-shrink: 0;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  transition: transform 0.2s ease;
}
.pp-hero-wrapper.holding { transform: scale(0.985); }
.pp-hero-track {
  display: flex; width: 100%; height: 100%;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.pp-hero-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.pp-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pp-hero-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 6px;
  pointer-events: none;
}
.pp-hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: width 0.25s ease, background 0.25s ease;
}
.pp-hero-dot.active { width: 16px; border-radius: 3px; background: #fff; }

.pp-hero-pause-indicator {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; padding: 6px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; gap: 4px;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pp-hero-pause-indicator .icon { width: 15px; height: 15px; }
.pp-hero-wrapper.holding .pp-hero-pause-indicator { opacity: 1; transform: translateY(0); }

.pp-back-btn {
  position: absolute; top: 16px; left: 16px; z-index: 6;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pp-love-btn {
  position: absolute; bottom: 16px; right: 16px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, color 0.2s ease;
}
.pp-love-btn:active { transform: scale(0.88); }
.pp-love-btn.loved { color: #E63946; animation: love-pop 0.35s ease; }
.pp-love-btn.loved .icon { fill: currentColor; }
@keyframes love-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Primary Section (Section 2) */
.pp-primary-section { padding: 0; }

.pp-info { padding: 18px 18px 0 18px; }
.pp-info .product-name { font-size: 19px; font-weight: 900; margin-bottom: 10px; }

.pp-desc-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.pp-desc-preview {
  flex: 1;
  font-size: 13px; color: #555; line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pp-desc-more-btn {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 41, 84,0.09);
  color: var(--color-accent);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: background 0.2s;
}
.pp-desc-more-btn:active { background: rgba(26, 41, 84,0.18); }
.pp-desc-more-btn .icon { width: 18px; height: 18px; }

.pp-price-card {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pp-price-main { color: #0a8a0a; font-size: 22px; font-weight: 900; }
.pp-price-initial { text-decoration: line-through; color: #aaa; font-size: 13px; font-weight: 700; }

/* Options */
.pp-opt-group { margin: 14px 18px 0 18px; }
.pp-opt-label { font-size: 13px; font-weight: 900; color: var(--color-text); margin-bottom: 8px; }
.pp-opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-opt-chip {
  padding: 8px 16px; border-radius: 14px;
  border: 1.5px solid #e2e2e2;
  background: var(--color-surface);
  font-size: 12.5px; font-weight: 800; color: #444;
  cursor: pointer; transition: all 0.2s ease;
}
.pp-opt-chip.active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-surface); }

/* Variants Grid (Section 3) */
.pp-variants-section {
  padding: 18px 18px 0 18px;
}
.pp-section-label {
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.6px;
  color: #888; margin-bottom: 12px;
}
.pp-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pp-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 16px; overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer; background: #f0f0f0;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.pp-thumb.active { border-color: var(--color-accent); transform: scale(1.03); }
.pp-thumb-track { display: flex; width: 100%; height: 100%; transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.pp-thumb-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.pp-thumb-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumb-dots {
  position: absolute; left: 0; right: 0; bottom: 4px; z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 3px;
}
.pp-thumb-dot { width: 3.5px; height: 3.5px; border-radius: 50%; background: rgba(255,255,255,0.6); transition: width 0.2s ease, background 0.2s ease; }
.pp-thumb-dot.active { width: 8px; border-radius: 2px; background: #fff; }
.pp-thumb .product-tags { top: 3px; right: 3px; gap: 2px; }
.pp-thumb .tag-badge { padding: 2px 4px; font-size: 6px; border-radius: 4px; letter-spacing: 0.2px; max-width: 46px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Shipping Card (Section 4) */
.pp-shipping-card {
  margin: 18px 18px 0 18px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1.5px solid var(--color-border);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pp-shipping-heading {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 900;
  color: var(--color-text);
  margin-bottom: 10px;
}
.pp-shipping-heading .icon { color: var(--color-accent); }
.pp-shipping-body {
  font-size: 13px; color: #555;
  line-height: 1.6;
  white-space: pre-line;
}

/* Related Section (Section 5) */
.pp-related-section { padding: 18px 18px 0 18px; }
.pp-related-grid { margin-top: 0; }

/* Product Page Footer */
.pp-footer {
  flex-shrink: 0;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.pp-footer-row { display: flex; align-items: stretch; gap: 10px; }
.pp-footer-main { flex: 1; min-width: 0; }
.pp-footer-main .add-btn, .pp-footer-main .quantity-box { width: 100%; }
.pp-view-cart-btn {
  position: relative; flex-shrink: 0;
  width: 52px; border-radius: 14px;
  border: 1.5px solid #e2e2e2;
  background: var(--color-surface); color: var(--color-accent);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pp-view-cart-btn:active { transform: scale(0.94); background: #fff0f0; }
.pp-view-cart-btn .icon { width: 24px; height: 24px; }
.pp-cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px;
  background: #E63946; color: #fff;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* ═══════════════════════════════════════
   CART PAGE
═══════════════════════════════════════ */
#cartPage { z-index: 1400; background: var(--color-surface); }
.cart-page-body { padding: 16px 18px 0 18px; }
.cart-item-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 16px; }
.cart-item-row img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; background: #f0f0f0; }
.cart-item-info { flex: 1; }
.summary-box { margin-top: 16px; background: #fff8e1; padding: 16px; border-radius: 14px; font-size: 16px; font-weight: 800; border: 1px solid var(--color-border); }

.empty-state { text-align: center; padding: 40px 20px; font-weight: 800; color: #666; }
.empty-state .icon { width: 48px; height: 48px; color: #aaa; display: block; margin: 0 auto 10px; }

.verified-card { background: #f7fff0; border: 1px solid var(--color-text); padding: 16px; }
.verified-badge { font-size: 11px; font-weight: 900; color: var(--color-whatsapp); margin-bottom: 12px; text-transform: uppercase; display: flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════
   SPOTLIGHT CAROUSEL
═══════════════════════════════════════ */
#spotlightCarousel { width: 100%; overflow: hidden; margin-bottom: 16px; border-radius: 16px; background: var(--color-bg); }
.spotlight-track-outer { position: relative; }
.spotlight-track { display: flex; transition: transform 0.4s ease-out; }
.spotlight-slide { flex: 0 0 100%; width: 100%; cursor: default; }
.spotlight-slide.clickable { cursor: pointer; }
.spotlight-img { width: 100%; height: auto; border-radius: 16px; display: block; }
.spotlight-dots { display: flex; justify-content: center; gap: 6px; margin: 8px 0; }
.spotlight-dot { width: 8px; height: 8px; background: #ddd; border-radius: 50%; cursor: pointer; }
.spotlight-dot.active { background: var(--color-accent); width: 18px; border-radius: 4px; }

/* ═══════════════════════════════════════
   SUBPAGE HEADER & SHARED PAGES
═══════════════════════════════════════ */
.subpage-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 10px 16px; flex-shrink: 0; }
.subpage-back-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #f0f0f0; border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); cursor: pointer; flex-shrink: 0;
}
.subpage-title { font-size: 16px; font-weight: 900; color: var(--color-text); flex: 1; }

.wishlist-delete-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fdeaea; border: none;
  display: flex; align-items: center; justify-content: center;
  color: #c0392b; cursor: pointer; flex-shrink: 0;
  transition: transform 0.15s ease;
}
.wishlist-delete-btn:active { transform: scale(0.9); }

#spotlightPage { z-index: 1200; }
#wishlistPage {
  z-index: 1250;
  bottom: var(--bottom-nav-height);
}

.wishlist-card { position: relative; }
.wishlist-select-badge {
  position: absolute; top: 8px; left: 8px; z-index: 11;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 2px solid rgba(0,0,0,0.18);
  display: none; align-items: center; justify-content: center;
  color: transparent; transition: background 0.15s ease, border-color 0.15s ease;
}
.wishlist-select-badge .icon { width: 14px; height: 14px; }
#wishlistPage.selecting .wishlist-select-badge { display: flex; }
.wishlist-card.selected .wishlist-select-badge { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-surface); }
.wishlist-card.selected { outline: 2.5px solid var(--color-accent); outline-offset: -2.5px; border-radius: 18px; }

/* ═══════════════════════════════════════
   CUSTOMER DETAILS PAGE
═══════════════════════════════════════ */
.details-page-wrap {
  padding: 20px 8px 32px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.details-username-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--color-accent);
  border-radius: 20px;
  color: var(--color-surface);
  box-shadow: 0 4px 16px rgba(26, 41, 84,0.22);
}

.details-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.details-avatar .icon { width: 26px; height: 26px; color: var(--color-surface); }

.details-username-info { flex: 1; min-width: 0; }
.details-username-label { font-size: 11px; font-weight: 700; opacity: 0.8; display: block; }
.details-username-value { font-size: 18px; font-weight: 900; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.details-login-inline-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--color-surface);
  font-size: 12px; font-weight: 900;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.details-login-inline-btn:active { background: rgba(255,255,255,0.35); }

.list-group-card {
  background: var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  border: 1px solid var(--color-border);
}

.list-group-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--color-text);
  text-align: left;
  transition: background 0.15s ease;
}
.list-group-item:active { background: rgba(0,0,0,0.04); }

.list-item-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fff4f4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.list-item-label { flex: 1; }
.list-item-chevron { color: #bbb; }
.list-item-chevron .icon { width: 18px; height: 18px; }
.list-item-divider { height: 1px; background: var(--color-border); margin: 0 18px; }
.list-item-danger .list-item-label { color: var(--color-danger); }

.details-logout-wrap { display: flex; justify-content: center; padding: 8px 0 16px; }
.details-logout-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid #ffd0d0;
  border-radius: 14px;
  color: var(--color-danger);
  font-size: 14px; font-weight: 900;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.details-logout-btn:active { background: #fff0f0; }

/* ═══════════════════════════════════════
   FULL MODAL PAGES (settings, shipping, delete)
═══════════════════════════════════════ */
.full-modal {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--color-bg);
  display: none; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.full-modal.open { transform: translateX(0); display: flex; }
.full-modal { display: none; }
.full-modal.open { display: flex; }

.full-modal-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px 32px;
}

/* Account Settings */
.settings-user-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 20px;
  color: var(--color-surface);
  margin-bottom: 4px;
}
.settings-user-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.settings-user-avatar .icon { width: 28px; height: 28px; color: var(--color-surface); }
.settings-user-name { font-size: 18px; font-weight: 900; }
.settings-user-gmail, .settings-user-phone { font-size: 12px; opacity: 0.8; margin-top: 2px; }

/* Shipping Form */
.shipping-form-body { padding: 4px 0 16px; }

/* Delete & Revoke flows */
.auth-page { z-index: 1600; background: var(--color-bg); }
.auth-scroll { background: var(--color-bg); }
.auth-body { padding: 24px 20px 32px; }

.auth-brand {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  margin-bottom: 28px;
}
.auth-brand-icon {
  width: 56px; height: 56px;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.auth-brand-title { font-size: 22px; font-weight: 900; color: var(--color-text); margin-bottom: 6px; }
.auth-brand-sub { font-size: 13px; color: var(--color-muted); line-height: 1.4; }

.auth-error {
  background: #fff0f0;
  border: 1px solid #ffd0d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--color-danger);
  margin-top: 12px;
}

.auth-switch-row {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 16px;
  font-size: 13px; color: var(--color-muted); font-weight: 700;
}
.auth-switch-btn {
  background: none; border: none;
  color: var(--color-accent); font-weight: 900;
  font-size: 13px; font-family: 'Nunito', sans-serif;
  cursor: pointer; text-decoration: underline;
}

/* OTP Timer */
.otp-timer-row {
  display: flex; align-items: center;
  gap: 10px; margin-top: 10px;
}
.otp-timer { font-size: 13px; font-weight: 900; color: var(--color-accent); }
.otp-resend-btn {
  background: none; border: none;
  color: var(--color-accent); font-weight: 900;
  font-size: 13px; font-family: 'Nunito', sans-serif;
  cursor: pointer; text-decoration: underline;
}

/* Deletion info */
.deletion-info-body { text-align: center; }
.deletion-icon-wrap {
  display: flex; justify-content: center;
  margin-bottom: 16px;
}
.deletion-icon { width: 56px; height: 56px; color: var(--color-danger); }
.deletion-title { font-size: 20px; font-weight: 900; color: var(--color-text); margin-bottom: 8px; }
.deletion-countdown { font-size: 28px; font-weight: 900; color: var(--color-danger); margin-bottom: 10px; }
.deletion-desc { font-size: 13.5px; color: var(--color-muted); line-height: 1.6; text-align: left; }
.delete-action-row { display: flex; gap: 10px; margin-top: 28px; }
.delete-action-row .outline-btn { flex: 1; }
.delete-action-row .danger-btn { flex: 1; }

/* About Us */
.about-us-body { padding: 24px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-logo-wrap { margin-bottom: 20px; }
.about-logo { width: 100px; height: 100px; object-fit: contain; border-radius: 20px; }
.about-name { font-size: 24px; font-weight: 900; color: var(--color-text); margin-bottom: 12px; }
.about-desc { font-size: 14px; color: var(--color-muted); line-height: 1.65; }

/* ═══════════════════════════════════════
   DETAILS CARD (shared)
═══════════════════════════════════════ */
.details-card { background: var(--color-surface); border-radius: 20px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid #eee; }
.info-row { display: flex; flex-direction: column; margin-bottom: 16px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .label { font-size: 11px; color: #777; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.info-row .value { font-size: 16px; font-weight: 900; color: var(--color-text); }

/* ═══════════════════════════════════════
   TOAST BAR
═══════════════════════════════════════ */
.toast-bar {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 12px);
  left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px; font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9998;
}
.toast-bar.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════
   LOADER & UTILITIES
═══════════════════════════════════════ */
#loadingOverlay { position: fixed; z-index: 9999; inset: 0; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; }
.loader { border: 5px solid #f3f3f3; border-top: 5px solid var(--color-accent); border-radius: 50%; width: 44px; height: 44px; animation: spin 0.8s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   SKELETON LOADING
═══════════════════════════════════════ */
@keyframes skeleton-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton {
  background: linear-gradient(90deg, #d8eff6 25%, #eaf7fc 37%, #d8eff6 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-circle { border-radius: 50%; flex-shrink: 0; }
.skeleton-spotlight { width: 100%; aspect-ratio: 16/7; border-radius: 16px; margin-bottom: 16px; }
.skeleton-card-img { width: 100%; height: 100%; border-radius: 0; position: absolute; inset: 0; }

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}

/* ═══════════════════════════════════════
   HOME VIEW (renamed from storeView)
═══════════════════════════════════════ */
#homeView { display: block; }

/* ═══════════════════════════════════════
   STORE VIEW (new — search + category + products)
═══════════════════════════════════════ */
#storeView { display: none; }

.store-view-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-bg);
  padding: 16px 14px 10px;
  margin: -12px -12px 0 -12px;
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--color-border);
}

.store-view-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

/* ═══════════════════════════════════════
   COLLECTION SECTION (home view)
═══════════════════════════════════════ */
.collection-section { margin-bottom: 4px; }

.collection-group {
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.collection-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.collection-group-name {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.collection-see-all-btn {
  background: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 10px;
  border-radius: 10px;
  transition: opacity 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.collection-see-all-btn:active { opacity: 0.7; }
.collection-see-all-btn .icon { width: 14px; height: 14px; }

.collection-products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 10px 12px;
}
@media (min-width: 768px) {
  .collection-products-row { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (min-width: 1024px) {
  .collection-products-row { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* Collection group full page */
.collection-group-page {
  position: fixed; inset: 0; z-index: 1300;
  background: var(--color-bg);
  display: none; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.collection-group-page.open { transform: translateX(0); display: flex; }
.collection-group-page { display: none; }
.collection-group-page.open { display: flex; }

/* ═══════════════════════════════════════
   CARD LOVE BUTTON
═══════════════════════════════════════ */
.card-love-btn {
  position: absolute;
  top: 8px; right: 8px; z-index: 12;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #aaa;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, color 0.2s ease;
}
.card-love-btn:active { transform: scale(0.85); }
.card-love-btn.loved { color: #E63946; animation: love-pop 0.3s ease; }
.card-love-btn.loved .icon { fill: #E63946; }
.card-love-btn .icon { width: 15px; height: 15px; }

/* ═══════════════════════════════════════
   WISHLIST & CART TAB VIEWS
═══════════════════════════════════════ */
#tabViewWrapper {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  position: relative;
}

#wishlistTabView,
#cartTabView {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
#wishlistTabView.active,
#cartTabView.active {
  display: flex;
}

.tab-view-header {
  display: flex;
  align-items: center;
  padding: 20px 16px 14px;
  flex-shrink: 0;
  background: var(--color-bg);
}

.tab-view-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text);
  flex: 1;
}

.tab-view-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 14px 20px;
}

/* ═══════════════════════════════════════
   GUEST CHECKOUT PROMPT MODAL
═══════════════════════════════════════ */
.guest-checkout-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 4px 8px;
}

.guest-checkout-icon {
  width: 56px; height: 56px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.guest-checkout-title {
  font-size: 20px; font-weight: 900;
  color: var(--color-text);
  margin-bottom: 8px;
}

.guest-checkout-desc {
  font-size: 13px; color: var(--color-muted);
  line-height: 1.65; margin-bottom: 20px;
}

/* Cart tab checkout footer */
.cart-tab-footer {
  flex-shrink: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

#cartTabTotal {
  font-size: 15px; font-weight: 900;
  color: var(--color-text);
  margin-bottom: 10px;
  display: none;
}

/* ═══════════════════════════════════════
   ORDER SUMMARY MODAL
═══════════════════════════════════════ */
#orderSummaryModal {
  position: fixed; inset: 0; z-index: 1800;
  background: rgba(0,0,0,0.55);
  display: none; align-items: flex-end;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
  opacity: 0; pointer-events: none;
}
#orderSummaryModal.open { opacity: 1; pointer-events: auto; display: flex; }

.order-summary-sheet {
  background: var(--color-surface);
  width: 100%; max-height: 85vh;
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  padding-bottom: env(safe-area-inset-bottom);
}
#orderSummaryModal.open .order-summary-sheet { transform: translateY(0); }

.order-summary-handle {
  width: 36px; height: 4px;
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.order-summary-scroll {
  flex: 1; overflow-y: auto;
  padding: 12px 20px 0;
  -webkit-overflow-scrolling: touch;
}

.order-summary-title {
  font-size: 18px; font-weight: 900;
  color: var(--color-text); margin-bottom: 4px;
}

.order-summary-customer {
  font-size: 12px; color: var(--color-muted);
  font-weight: 700; margin-bottom: 14px;
}

.order-summary-row {
  display: flex; gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.order-summary-row:last-child { border-bottom: none; }

.order-summary-img {
  width: 52px; height: 52px;
  object-fit: cover; border-radius: 10px;
  background: #f0f0f0; flex-shrink: 0;
}

.order-summary-info { flex: 1; }
.order-summary-name { font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.order-summary-qty  { font-size: 11px; color: var(--color-muted); font-weight: 700; }
.order-summary-price { font-size: 14px; font-weight: 900; color: #0a8a0a; margin-top: 2px; }

.order-summary-footer {
  flex-shrink: 0;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--color-border);
}

#orderSummaryTotal {
  font-size: 17px; font-weight: 900;
  color: var(--color-text); margin-bottom: 12px;
}

/* ═══════════════════════════════════════
   TOTAL LOADING PILL
═══════════════════════════════════════ */
.total-loading-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,18,18,0.08);
  color: var(--color-accent);
  border-radius: 8px; padding: 2px 8px;
  font-size: 13px; font-weight: 800;
}
.dot-pulse {
  display: inline-block; width: 18px;
  overflow: hidden; animation: dot-anim 1.2s steps(4, end) infinite;
}
@keyframes dot-anim {
  0%   { width: 0; }
  25%  { width: 6px; }
  50%  { width: 12px; }
  75%  { width: 18px; }
  100% { width: 0; }
}

/* ═══════════════════════════════════════
   DESKTOP / TABLET LAYOUT IMPROVEMENTS
═══════════════════════════════════════ */
@media (min-width: 768px) {
  /* Wider container for tablet */
  body { padding: 16px; }

  .header {
    border-radius: 0 0 28px 28px;
    padding: var(--header-pad-top) 20px var(--header-pad-bottom) 20px;
    margin: -16px -16px 20px -16px;
  }

  .bottom-nav {
    max-width: 640px;
    left: 50%; right: auto;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
  }

  .products { gap: 14px; }

  .card { border-radius: 20px; }

  .collection-group { border-radius: 22px; }
}

@media (min-width: 1024px) {
  /* Full desktop */
  body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
  }

  .header {
    border-radius: 20px;
    margin: 0 0 24px 0;
    padding: 20px 24px;
    position: sticky;
    top: 20px;
  }

  .bottom-nav {
    max-width: 480px;
    border-radius: 20px 20px 0 0;
  }

  .product-page,
  .full-modal,
  .auth-page,
  .collection-group-page {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%) translateX(100vw);
  }
  .product-page.open,
  .full-modal.open,
  .auth-page.open,
  .collection-group-page.open {
    transform: translateX(-50%) translateX(0);
  }

  #tabViewWrapper {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
  }

  .products { gap: 18px; }
  .collection-products-row { gap: 14px; }
}

/* ═══════════════════════════════════════
   CAPACITORSEND SKELETONS (wishlist/cart tabs)
═══════════════════════════════════════ */
#wishlistTabSkeleton,
#cartTabSkeleton {
  display: none;
  padding: 16px 14px;
}