/* =========================================================
   YOYO STORE - Customer Mobile App & Responsive Storefront
   ========================================================= */

body.store-body {
  padding-bottom: calc(var(--bottom-nav-height) + 26px);
  background: radial-gradient(circle at top left, rgba(248, 224, 229, 0.35), transparent 36%),
              radial-gradient(circle at top right, rgba(226, 198, 145, 0.16), transparent 32%),
              var(--bg-cream);
}

/* Top Announcement Ribbon */
.announcement-bar {
  background: linear-gradient(90deg, #2D2023, #472D34, #2D2023);
  color: #FAF3EB;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 14px;
  letter-spacing: 0.1px;
}
.announcement-bar span {
  color: var(--gold-300);
}

/* Sticky App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(253, 251, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}
.app-header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.app-header__search {
  display: none;
  flex: 1;
  max-width: 440px;
  position: relative;
}
@media (min-width: 860px) {
  .app-header__search { display: block; }
}
.search-input-wrap {
  position: relative;
  width: 100%;
}
.search-input-wrap input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  font-size: 0.9rem;
  transition: var(--transition);
}
.search-input-wrap input:focus {
  outline: none;
  border-color: var(--blush-500);
  box-shadow: 0 0 0 4px rgba(200, 121, 139, 0.12);
}
.search-input-wrap .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blush-600);
  pointer-events: none;
}

.app-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 19px;
  height: 19px;
  border-radius: 99px;
  background: var(--blush-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--bg-cream);
}

/* Mobile Search Strip on Home */
.mobile-search-bar {
  padding: 12px 0 4px;
}
@media (min-width: 860px) {
  .mobile-search-bar { display: none; }
}

/* Hero Promotional Banner Carousel */
.hero-section {
  padding: 14px 0 8px;
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-beige);
  border: 1px solid var(--border-gold);
}
.hero-slides {
  display: flex;
  transition: transform 0.65s var(--ease);
}
.hero-slide {
  min-width: 100%;
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-slide { min-height: 390px; }
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(39, 25, 29, 0.78) 0%, rgba(39, 25, 29, 0.44) 55%, rgba(39, 25, 29, 0.14) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  max-width: 560px;
  color: #fff;
}
@media (min-width: 768px) {
  .hero-slide__content { padding: 48px 52px; }
}
.hero-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 250, 245, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 198, 145, 0.65);
  color: #FBE9C8;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-slide__title {
  font-size: clamp(1.38rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 10px;
}
.hero-slide__subtitle {
  font-size: clamp(0.86rem, 1.8vw, 1.02rem);
  color: rgba(255, 248, 245, 0.9);
  margin-bottom: 18px;
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 4;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}
.hero-dot.is-active {
  width: 26px;
  background: var(--gold-300);
}

/* Section Headers */
.section-block {
  margin-top: 28px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-head__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.6px;
  display: block;
}
.section-head__title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.section-head__link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blush-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-head__link:hover { color: var(--blush-700); }

/* Featured Categories Row */
.categories-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .categories-strip { grid-template-columns: repeat(6, 1fr); gap: 16px; }
}
.cat-tile {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 10px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--blush-300);
  box-shadow: var(--shadow-sm);
}
.cat-tile__thumb {
  width: 68px;
  height: 68px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--blush-100);
  padding: 2px;
  background: var(--bg-ivory);
}
.cat-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cat-tile__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cat-tile__count {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Product Grids */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 1060px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* Daily Updates Spotlight Strip */
.daily-banner-card {
  background: linear-gradient(135deg, var(--blush-50) 0%, var(--bg-beige) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.daily-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blush-700);
}
.daily-pulse::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blush-600);
  box-shadow: 0 0 0 5px rgba(200, 121, 139, 0.22);
}

/* Plus Size Feature Banner */
.plussize-callout {
  background: linear-gradient(120deg, #35232A 0%, #593542 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(226, 198, 145, 0.45);
}

/* Category & Filter Bar */
.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}
.chip.is-active, .chip:hover {
  background: var(--blush-500);
  border-color: var(--blush-500);
  color: #fff;
}

/* Product Details View */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 14px;
}
@media (min-width: 860px) {
  .pdp-layout {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
}
.pdp-gallery {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid var(--border-soft);
}
.pdp-main-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
}
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.pdp-thumb {
  width: 72px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: var(--transition);
  flex-shrink: 0;
}
.pdp-thumb.is-active, .pdp-thumb:hover {
  border-color: var(--blush-500);
  opacity: 1;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-soft);
}
.pdp-title {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800;
  line-height: 1.38;
  margin: 8px 0;
}
.pdp-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--bg-ivory);
  border-radius: var(--radius-md);
  margin: 14px 0;
}
.pdp-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blush-700);
}
.pdp-old-price {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.selector-block { margin: 16px 0; }
.selector-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 48px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}
.size-btn:hover { border-color: var(--blush-400); }
.size-btn.is-selected {
  background: var(--blush-600);
  border-color: var(--blush-600);
  color: #fff;
  box-shadow: var(--shadow-blush);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-surface);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
}
.color-btn.is-selected {
  border-color: var(--blush-600);
  background: var(--blush-50);
  color: var(--blush-700);
}
.color-btn__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: var(--bg-ivory);
  overflow: hidden;
}
.qty-control button {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.qty-control button:hover { background: var(--blush-100); color: var(--blush-700); }
.qty-control span {
  min-width: 38px;
  text-align: center;
  font-weight: 800;
}

.pdp-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

/* Cart & Checkout Layouts */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (min-width: 900px) {
  .two-col-layout {
    grid-template-columns: 1.45fr 1fr;
    align-items: start;
  }
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.cart-item__img {
  width: 86px;
  height: 108px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-ivory);
}
.cart-item__body { flex: 1; min-width: 0; }
.summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.92rem;
}
.summary-total {
  border-top: 1.5px dashed var(--border-blush);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blush-700);
}

/* Payment Method Cards */
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-soft);
  cursor: pointer;
  margin-bottom: 10px;
  transition: var(--transition);
}
.payment-option.is-selected {
  border-color: var(--blush-500);
  background: var(--blush-50);
}
.payment-option input { margin-top: 4px; accent-color: var(--blush-600); }

/* Order Confirmation & Tracking Timeline */
.confirm-card {
  max-width: 640px;
  margin: 24px auto;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.confirm-check {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--status-success-bg);
  color: var(--status-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.order-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 18px 0;
  position: relative;
}
.order-step {
  text-align: center;
  position: relative;
}
.order-step__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--bg-beige);
  color: var(--text-muted);
  border: 2px solid var(--border-soft);
}
.order-step.is-done .order-step__dot {
  background: var(--blush-600);
  border-color: var(--blush-600);
  color: #fff;
}
.order-step.is-current .order-step__dot {
  background: var(--gold-500);
  border-color: var(--gold-600);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(196, 155, 85, 0.22);
}
.order-step__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  left: 16px;
  bottom: calc(var(--bottom-nav-height) + 18px);
  z-index: 420;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36);
  transition: transform var(--transition);
}
.floating-whatsapp:hover { transform: scale(1.08); }

/* 5-Icon Bottom Navigation Bar (Mobile App Core) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(255, 253, 250, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -8px 26px rgba(42, 26, 30, 0.06);
  z-index: 500;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding-inline: 6px;
}
@media (min-width: 960px) {
  .bottom-nav {
    max-width: 620px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    height: 64px;
    padding-inline: 14px;
  }
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  padding: 6px 4px;
  border-radius: 14px;
  transition: var(--transition);
}
.bottom-nav__item svg { width: 22px; height: 22px; }
.bottom-nav__item.is-active {
  color: var(--blush-700);
}
.bottom-nav__item.is-active::after {
  content: '';
  width: 20px;
  height: 3px;
  border-radius: 99px;
  background: var(--gold-500);
  position: absolute;
  bottom: 2px;
}
.bottom-nav__badge {
  position: absolute;
  top: 2px;
  left: calc(50% - 20px);
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--blush-600);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile-First Refinements */
@media (max-width: 767px) {
  .announcement-bar {
    font-size: 0.72rem;
    padding: 6px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .app-header__inner {
    height: 58px;
    gap: 8px;
  }
  .app-header .brand-logo img {
    height: 34px;
  }
  .app-header .icon-btn {
    width: 36px;
    height: 36px;
  }
  .app-header__actions .btn-sm {
    padding: 7px 10px;
    font-size: 0.76rem;
  }
  .hero-section { padding: 8px 0 4px; }
  .hero-slider { border-radius: 20px; }
  .hero-slide { min-height: 220px; }
  .hero-slide__content { padding: 20px 16px; }
  .hero-slide__title { font-size: 1.24rem; margin-bottom: 6px; }
  .hero-slide__subtitle {
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slide__content .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .section-block { margin-top: 20px; }
  .section-head { margin-bottom: 12px; }
  .section-head__title { font-size: 1.12rem; }
  .categories-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .categories-strip::-webkit-scrollbar { display: none; }
  .cat-tile {
    min-width: 90px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 8px 6px 10px;
  }
  .cat-tile__thumb { width: 58px; height: 58px; }
  .cat-tile__name { font-size: 0.76rem; }
  .products-grid { gap: 10px; }
  .daily-banner-card, .plussize-callout {
    padding: 16px;
    border-radius: 18px;
  }
  .pdp-info { padding: 16px; }
  .pdp-cta-row { grid-template-columns: 1fr; }
  .floating-whatsapp {
    width: 46px;
    height: 46px;
    left: 12px;
    bottom: calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom, 0px));
  }
  .bottom-nav {
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .order-step__dot { width: 26px; height: 26px; font-size: 0.7rem; }
  .order-step__label { font-size: 0.64rem; }
  .cart-item { padding: 11px; gap: 10px; }
  .cart-item__img { width: 72px; height: 92px; }
}

/* Store Footer */
.store-footer {
  margin-top: 48px;
  background: var(--bg-beige);
  border-top: 1px solid var(--border-gold);
  padding: 32px 0 42px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
