/* ============================================================
   MAGNAT — Mobile (390 wide, matches Figma Home__Mobile vibes)
   ============================================================ */
.m {
  width: 100%;
  background: #fff;
  font-family: var(--font-body);
  color: var(--ink-900);
}
.m * { box-sizing: border-box; }
.m a { color: inherit; text-decoration: none; }

/* ---------- HEADER (matches Figma Home__Mobile) ---------- */
.m-belt {
  position: relative;
  height: 100px;             /* 68 belt + 32 curve below */
  background: transparent;
  color: var(--gold-200);
  padding: 0;
}
.m-belt__bg {
  position: absolute; inset: 0;
  color: var(--burgundy-700);
  pointer-events: none;
}
.m-belt__bg svg {
  display: block; width: 100%; height: 100%;
}
.m-belt__row {
  position: relative;
  z-index: 1;
  height: 68px;
  display: flex; align-items: center;
  padding: 0 20px;
}
.m-belt__left {
  display: flex; gap: 18px; align-items: center;
  color: var(--gold-200);
}
.m-belt__burger {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.m-belt__phone {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-200);
}
.m-belt__logo {
  position: absolute;
  left: 50%; top: 15px;
  transform: translateX(-50%);
  width: 100px; height: 48px;
  background: var(--gold-200);
  -webkit-mask: url("assets/logo-header.svg") center/contain no-repeat;
          mask: url("assets/logo-header.svg") center/contain no-repeat;
  z-index: 2;
}
.m-belt__right {
  margin-left: auto;
  display: flex; gap: 14px; align-items: center;
}
.m-belt__cart {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold-200);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
}

/* Search bar */
.m-search {
  padding: 10px 16px;
  background: var(--cream-100);
}
.m-search__field {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #E6E1D7;
  border-radius: 4px;
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-500);
}

/* Nav (horizontal scroll) */
.m-nav {
  display: flex;
  overflow-x: auto;
  background: var(--cream-100);
  padding: 0 12px 12px;
  gap: 4px;
  border-bottom: 1px solid #E6E1D7;
  scrollbar-width: none;
}
.m-nav::-webkit-scrollbar { display: none; }
.m-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-900);
  white-space: nowrap;
}
.m-nav a.sale { color: var(--red-sale); }
.m-nav a.active {
  color: var(--burgundy-700);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 6px;
}

/* ---------- HERO ---------- */
.m-hero {
  position: relative;
  margin: 16px;
  aspect-ratio: 1 / 1;     /* Instagram-style square */
  background-size: cover; background-position: center;
  background-color: #2a1f1a;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px 32px;
  text-align: center;
  align-items: center;
  overflow: hidden;
}
.m-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75));
  z-index: 0;
}
.m-hero > * { position: relative; z-index: 1; }
.m-hero__title {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 22px;
  max-width: 320px;
}
.m-hero__title b { color: var(--gold-200); font-weight: 700; }
.m-hero__dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 8px;
}
.m-hero__dots .d {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.m-hero__dots .d.on { background: var(--gold-500); width: 16px; border-radius: 999px; }

/* ---------- BRANDS (compact, horizontal scroll, no fade) ---------- */
.m-brands {
  margin: 24px 0 0;
  padding: 18px 16px;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  display: flex; overflow-x: auto; gap: 24px;
  scrollbar-width: none;
  align-items: center;
}
.m-brands::-webkit-scrollbar { display: none; }
.m-brands__item {
  flex: 0 0 auto;
  opacity: 0.85;
  display: flex; align-items: center;
}
.m-brands__item img { display: block; filter: grayscale(0.4); }

/* ---------- USP (2x2 grid, no scroll) ---------- */
.m-usp {
  margin: 24px 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.m-usp__item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px;
  background: var(--cream-50);
  font-family: var(--font-body); font-size: 11px;
  color: var(--ink-500);
  line-height: 1.4;
}
.m-usp__item .ic {
  width: 22px; height: 22px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 1px;
}
.m-usp__item b {
  display: block;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 2px;
}

/* ---------- SECTIONS ---------- */
.m-sec {
  padding: 36px 16px 0;
}
.m-sec--cream {
  background: var(--cream-50);
  padding-top: 36px;
  padding-bottom: 36px;
  margin-top: 36px;
}
.m-sec--burgundy {
  background: var(--burgundy-700);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-top: 36px;
}
.m-sec-head {
  text-align: center;
  margin-bottom: 22px;
}
.m-sec-head__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-600);
  font-weight: 400;
  margin: 0;
  line-height: 1;
}
.m-sec--burgundy .m-sec-head__title { color: var(--gold-200); }
.m-sec-head__sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 8px 0 0;
}

/* ---------- TABS (mobile) ---------- */
.m-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 0 0 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ink-200);
  scrollbar-width: none;
}
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: none; border: 0; cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.m-tab.on { color: var(--burgundy-700); }
.m-tab.on::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -13px;
  height: 2px;
  background: var(--gold-500);
}

/* ---------- PRODUCT CARDS (mobile) ---------- */
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.m-grid > .m-card {
  margin-right: -1px;
  margin-bottom: -1px;
}
.m-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  padding: 14px 12px 12px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.m-card__photo {
  position: relative;
  aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  background-color: #f7f5f1;
  margin-bottom: 8px;
}
.m-card__labs {
  position: absolute; top: 5px; left: 5px;
  display: flex; gap: 3px;
}
.m-card__labs .label {
  height: 18px;
  padding: 0 6px;
  font-size: 9px;
}
.m-card__fav {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--burgundy-700);
}
.m-card__title {
  font-family: var(--font-body); font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.m-card__sku {
  font-family: var(--font-body); font-size: 10px;
  color: var(--ink-400);
  margin-top: 1px;
}
.m-card__bot {
  margin-top: auto;
  padding-top: 8px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 8px;
}
.m-card__stock {
  font-family: var(--font-body); font-size: 10px;
  font-weight: 500;
  color: var(--gold-600);
  line-height: 1;
}
.m-card__stock--out { color: var(--ink-400); }
.m-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-900);
  text-align: right;
  line-height: 1.1;
}
.m-card__price .old {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-400);
  text-decoration: line-through;
}
.m-card__price .now-sale { color: var(--red-sale); }

.m-center { text-align: center; margin-top: 24px; }

/* ---------- BUTTONS ---------- */
.m-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  border: 0;
}
.m-btn--solid { background: var(--gold-500); color: #fff; }
.m-btn--burgundy { background: var(--burgundy-700); color: var(--gold-200); }
.m-btn--ghost { background: transparent; color: var(--gold-200); border: 1px solid var(--gold-200); }
.m-btn--ghost-dark { background: transparent; color: var(--gold-700); border: 1px solid var(--gold-500); }

/* ---------- CATEGORIES (2x2 grid) ---------- */
.m-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.m-cat {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: #f7f5f1;
  overflow: hidden;
  cursor: pointer;
}
.m-cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(40,15,30,0.85));
}
.m-cat__name {
  position: absolute; left: 14px; bottom: 14px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

/* ---------- BONUS (compact tier list) ---------- */
.m-bonus {
  margin: 36px 16px 0;
  background: var(--burgundy-700);
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(199,136,44,0.22), transparent 60%);
  color: #fff;
  padding: 26px 20px;
}
.m-bonus__eye {
  font-family: var(--font-body); font-weight: 600;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex; gap: 8px; align-items: center;
}
.m-bonus__eye::before {
  content: ""; width: 20px; height: 1px; background: var(--gold-400);
}
.m-bonus__title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-200);
  font-weight: 400;
  margin: 10px 0 10px;
  line-height: 1.05;
}
.m-bonus__lede {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin: 0 0 18px;
}
.m-bonus__tiers {
  display: grid; gap: 4px;
  margin-bottom: 18px;
}
.m-bonus__tier {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 12px;
  font-family: var(--font-body); font-size: 12px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid rgba(220,201,171,0.25);
}
.m-bonus__tier.current {
  background: rgba(199,136,44,0.16);
  border-left-color: var(--gold-500);
}
.m-bonus__tier .a {
  font-family: var(--font-display);
  color: var(--gold-200);
  font-size: 16px;
}
.m-bonus__tier .n { color: rgba(255,255,255,0.72); font-size: 11px; }
.m-bonus__tier .d {
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}
.m-bonus__cta {
  display: flex; gap: 10px;
}
.m-bonus__cta .m-btn { flex: 1; }

/* ---------- SALE ---------- */
.m-sale {
  margin: 36px 0 0;
  background: linear-gradient(135deg, #2a0a18, #75092C);
  color: #fff;
  padding: 26px 0;
}
.m-sale__head { padding: 0 20px; margin-bottom: 18px; }
.m-sale__eye {
  font-family: var(--font-body); font-weight: 600;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-400);
}
.m-sale__title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-200);
  font-weight: 400;
  margin: 6px 0 4px;
  line-height: 1;
}
.m-sale__sub {
  font-family: var(--font-body); font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.m-sale__scroll {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding: 0 20px 4px;
  scrollbar-width: none;
}
.m-sale__scroll::-webkit-scrollbar { display: none; }
.m-sale__scroll .m-card {
  flex: 0 0 165px;
  background: #fff;
  color: var(--ink-900);
}

/* ---------- INSTAGRAM ---------- */
.m-insta {
  margin: 36px 16px 0;
  background: #fff;
  border: 1px solid var(--ink-200);
  padding: 18px;
}
.m-insta__head {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 14px;
}
.m-insta__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--burgundy-700), var(--burgundy-500)) padding-box,
    conic-gradient(from 45deg, #FBBF24, #F472B6, #A855F7, #3B82F6, #FBBF24) border-box;
  border: 2px solid transparent;
  position: relative;
  flex-shrink: 0;
}
.m-insta__avatar::after {
  content: "MS";
  position: absolute; inset: 3px;
  background: var(--burgundy-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-200);
}
.m-insta__info { flex: 1; min-width: 0; }
.m-insta__handle {
  font-family: var(--font-body); font-weight: 500;
  font-size: 15px; color: var(--ink-900);
}
.m-insta__stats {
  font-family: var(--font-body); font-size: 11px;
  color: var(--ink-700); margin-top: 3px;
}
.m-insta__stats b { color: var(--ink-900); font-weight: 700; }
.m-insta__follow {
  width: 100%;
  margin-bottom: 12px;
  background: #0095F6;
  color: #fff;
  border: 0;
}
.m-insta__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px;
  margin-bottom: 12px;
}
.m-insta__post {
  position: relative;
  aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  background-color: #f7f5f1;
}
.m-insta__mk {
  position: absolute; top: 6px; right: 6px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.m-insta__hint {
  font-family: var(--font-body); font-size: 11px;
  color: var(--ink-500);
  line-height: 1.4;
  text-align: center;
}
.m-insta__hint b { color: var(--burgundy-700); font-weight: 700; }

/* ---------- GUIDE + GIFT (stacked) ---------- */
.m-guide {
  margin: 36px 16px 0;
  background: var(--cream-50);
  padding: 22px;
}
.m-guide__img {
  height: 180px;
  background-size: cover; background-position: center;
  margin-bottom: 16px;
}
.m-guide h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--burgundy-700);
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.2;
}
.m-guide p {
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-700);
  line-height: 1.5;
  margin: 0 0 16px;
}

.m-gift {
  margin: 16px 16px 0;
  background: var(--burgundy-700);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(199,136,44,0.2), transparent 60%);
  color: #fff;
  padding: 22px;
}
.m-gift h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold-200);
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.2;
}
.m-gift p {
  font-family: var(--font-body); font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
  line-height: 1.5;
}
.m-gift__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.m-gift__row span {
  background: rgba(220,201,171,0.08);
  border: 1px solid rgba(220,201,171,0.35);
  color: var(--gold-200);
  padding: 14px 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.m-gift__row span:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--burgundy-900);
}

/* ---------- ABOUT (mobile) ---------- */
.m-about {
  margin: 36px 16px 0;
}
.m-about__video {
  height: 200px;
  background-size: cover; background-position: center;
  position: relative;
  margin-bottom: 18px;
}
.m-about__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 44px;
  background: var(--red-sale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.m-about p {
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 12px;
}
.m-about p b { color: var(--ink-900); font-weight: 700; }
.m-about__stats {
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 8px;
}
.m-about__stat { text-align: center; }
.m-about__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-600);
  line-height: 1;
}
.m-about__stat span {
  font-family: var(--font-body); font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

/* ---------- FOOTER (mobile) ---------- */
.m-footer {
  background: var(--cream-100);
  margin-top: 36px;
  padding: 30px 20px;
}
.m-footer__logo {
  height: 108px;
  background: var(--burgundy-700);
  -webkit-mask: url("assets/logo-header.svg") center/contain no-repeat;
          mask: url("assets/logo-header.svg") center/contain no-repeat;
  margin-bottom: 20px;
}
.m-footer__sec {
  border-bottom: 1px solid var(--ink-300);
}
.m-footer__sec-title {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 18px;
  color: var(--ink-900);
  text-align: left;
}
.m-footer__sec .chev {
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
  color: var(--ink-500);
}
.m-footer__sec.open .chev { transform: rotate(180deg); }
.m-footer__sec-items {
  padding: 4px 0 18px;
  display: flex; flex-direction: column; gap: 0;
}
.m-footer__sec-items a {
  display: block;
  padding: 7px 0;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--ink-700);
}
.m-footer__contact {
  padding: 4px 0 18px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--ink-700);
  display: grid; gap: 8px;
  line-height: 1.5;
}
.m-footer__contact a { color: inherit; padding: 2px 0; }
.m-footer__contact b { color: var(--ink-900); font-weight: 700; }
.m-footer__socials {
  display: flex; gap: 14px;
  margin-top: 6px;
  color: var(--burgundy-700);
}
.m-footer__copy {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 18px;
  text-align: center;
}
