/* ============================================================
   Mobile mockups — phone frame + screen surfaces
   ============================================================ */

.phone {
  width: 375px;
  height: 760px;
  background: var(--neutral-900);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(26,15,29,.35),
    0 0 0 1px var(--hairline-strong);
  position: relative;
  flex-shrink: 0;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--sand-50);
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: var(--neutral-900);
  border-radius: 14px;
  z-index: 10;
}

/* Status bar */
.statusbar {
  flex-shrink: 0;
  height: 44px;
  padding: 12px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}
.statusbar--dark { color: var(--sand-50); }
.statusbar__icons { display: flex; gap: 5px; align-items: center; }
.statusbar__icons svg { width: 16px; height: 16px; }

/* App header inside phone */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}
.app-header__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}
.app-header__sub {
  font-size: 12px;
  color: var(--neutral-500);
}
.app-header__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  color: var(--neutral-700);
  cursor: pointer;
  position: relative;
}

.phone__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.phone__body::-webkit-scrollbar { width: 0; }

/* Search inside phone */
.m-search {
  margin: 8px 16px 16px;
  display: flex;
  gap: 8px;
}
.m-search__input {
  flex: 1;
  height: 44px;
  padding: 0 14px 0 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  font-size: 14px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--neutral-500);
}
.m-search__input::before {
  content: "\f1c3"; /* fallback - we'll use phosphor inside */
}
.m-search__filter {
  width: 44px;
  background: var(--plum-800);
  color: var(--sand-50);
  border: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Section heading inside mockup */
.m-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 16px;
  margin-top: 8px;
}
.m-section-head__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}
.m-section-head__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ember-600);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Horizontal scroll */
.h-scroll {
  display: flex;
  gap: 10px;
  padding: 8px 16px 16px;
  overflow-x: auto;
}
.h-scroll::-webkit-scrollbar { display: none; }

/* Mobile product grid */
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px 16px 16px;
}

/* Bottom nav */
.bottom-nav {
  flex-shrink: 0;
  height: 76px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 8px 4px 0;
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--neutral-500);
  flex: 1;
  position: relative;
}
.bottom-nav__item.is-active { color: var(--ember-600); }
.bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.bottom-nav__item.is-active::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--ember-500);
  border-radius: 2px;
}

/* Hero banner */
.m-hero {
  margin: 0 16px;
  border-radius: 18px;
  background: var(--plum-800);
  color: var(--sand-50);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.m-hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-300);
}
.m-hero__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 6px;
  max-width: 200px;
}
.m-hero__cta {
  margin-top: 14px;
  height: 36px;
  padding: 0 14px;
  background: var(--ember-500);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.m-hero__spark {
  position: absolute;
  right: -10px; top: -10px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,113,42,.35), transparent 70%);
}

/* Tab bar */
.m-tabs {
  display: flex;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-elevated);
}
.m-tab {
  flex: 1;
  padding: 14px 0;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-500);
  cursor: pointer;
  position: relative;
}
.m-tab.is-active {
  color: var(--plum-800);
}
.m-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 2px;
  background: var(--plum-800);
  border-radius: 2px;
}

/* Product page sticky CTA */
.sticky-cta {
  position: absolute;
  left: 16px; right: 16px;
  bottom: 90px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

/* Bottom sheet */
.bottom-sheet {
  position: absolute;
  inset: 0;
  background: rgba(26,15,29,.5);
  z-index: 20;
  display: flex;
  align-items: flex-end;
  animation: fadein .3s var(--ease-out);
}
.bottom-sheet__inner {
  width: 100%;
  background: var(--bg-elevated);
  border-radius: 24px 24px 0 0;
  padding: 8px 0 24px;
  animation: slideup .35s var(--ease-out);
  max-height: 70%;
  overflow-y: auto;
}
.bottom-sheet__handle {
  width: 40px; height: 4px;
  background: var(--neutral-300);
  border-radius: 2px;
  margin: 4px auto 12px;
}
.bottom-sheet__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  padding: 0 20px 12px;
  border-bottom: 1px solid var(--hairline);
}
.bottom-sheet__body { padding: 16px 20px; }
@keyframes fadein { from { opacity: 0; } }
@keyframes slideup { from { transform: translateY(100%); } }

/* List item */
.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--hairline);
}
.list-item:hover { background: var(--neutral-50); }
.list-item__body { flex: 1; min-width: 0; }
.list-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}
.list-item__sub {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.list-item__arrow {
  color: var(--neutral-400);
}

/* Cover */
.cover {
  height: 120px;
  background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-900) 100%);
  position: relative;
}
.cover__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232,113,42,.3), transparent 50%);
}

/* Stats row */
.stats {
  display: flex;
  padding: 16px;
  gap: 16px;
}
.stat {
  flex: 1;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 11px;
  color: var(--neutral-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Mockup canvas — design canvas for screens */
.screens-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  padding: var(--space-7) 0;
}
.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.screen-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  letter-spacing: 0.02em;
}
.screen-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neutral-400);
  letter-spacing: 0.05em;
}

/* Cart row */
.cart-row {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
}
.cart-row__img {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--sand-200);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--plum-800);
  opacity: 1;
  font-size: 24px;
}
.cart-row__body { flex: 1; min-width: 0; }
.cart-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.3;
}
.cart-row__company {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-row__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty {
  display: inline-flex;
  align-items: center;
  background: var(--neutral-100);
  border-radius: var(--radius-full);
  height: 28px;
  padding: 0 4px;
  gap: 4px;
}
.qty button {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--neutral-700);
}
.qty__val {
  font-size: 13px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

.summary {
  padding: 16px 20px;
  background: var(--sand-100);
  margin: 16px;
  border-radius: var(--radius-lg);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--neutral-600);
}
.summary__row--total {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--neutral-900);
  border-top: 1px dashed var(--hairline-strong);
  margin-top: 6px;
  padding-top: 12px;
}

/* Form rows */
.form-row {
  padding: 12px 16px;
}
.form-row__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  display: block;
}

/* Profile header */
.profile-head {
  padding: 20px 16px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-head__body { flex: 1; }
.profile-head__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.profile-head__email {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--hairline);
}
.menu-item:hover { background: var(--neutral-50); }
.menu-item__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--neutral-100);
  display: grid;
  place-items: center;
  color: var(--neutral-700);
  flex-shrink: 0;
}
.menu-item__icon--ember { background: var(--ember-50); color: var(--ember-600); }
.menu-item__icon--plum  { background: var(--plum-100); color: var(--plum-700); }
.menu-item__title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-900);
}
.menu-item__arrow {
  color: var(--neutral-400);
}

/* Address card on checkout */
.address-card {
  margin: 12px 16px;
  padding: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 12px;
  align-items: center;
}
.address-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sand-200);
  display: grid;
  place-items: center;
  color: var(--plum-700);
  flex-shrink: 0;
}
.address-card__body { flex: 1; min-width: 0; }
.address-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.address-card__sub {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 2px;
}

/* Payment option */
.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
}
.pay-opt__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.pay-opt__body { flex: 1; }
.pay-opt__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}
.pay-opt__sub {
  font-size: 12px;
  color: var(--neutral-500);
}

/* Product detail components */
.detail-hero {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--sand-200), var(--sand-300));
  position: relative;
  display: grid;
  place-items: center;
}
.detail-hero__mark {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--plum-800);
  opacity: .2;
}
.detail-hero__back {
  position: absolute;
  top: 60px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,252,246,.94);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.detail-hero__fav {
  position: absolute;
  top: 60px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,252,246,.94);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
}
.detail-hero__dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.detail-hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,252,246,.5);
}
.detail-hero__dot.is-active { background: var(--sand-50); width: 18px; border-radius: 4px; }

.detail-info {
  padding: 16px;
}
.detail-info__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-600);
}
.detail-info__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1.2;
}
.detail-info__price {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.detail-info__price-currency {
  font-size: 14px;
  color: var(--neutral-500);
}
.detail-info__price-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}

.detail-company {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: var(--sand-100);
  margin: 0 16px;
  border-radius: var(--radius-lg);
  align-items: center;
}
.detail-company__body { flex: 1; }
.detail-company__name {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-company__meta {
  font-size: 12px;
  color: var(--neutral-500);
}
.detail-company__cta {
  background: none;
  border: 1px solid var(--hairline-strong);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.detail-desc {
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--neutral-700);
}
.detail-desc__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 8px;
}
