/* Mobile overrides */
:root {
  --header-h: 52px;
  --tabbar-h: 54px;
  --carousel-h: 260px;
}

.hero-carousel .carousel-slide__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

body { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom)); }

.shell { width: calc(100% - 24px); }

.mobile-only { display: block !important; }
.desktop-only { display: none !important; }

.menu-btn {
  display: grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.menu-btn svg { width: 22px; height: 22px; }

.mobile-drawer { display: block !important; }

.header-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
}

.brand {
  justify-self: center;
}

.brand__cn {
  font-size: 18px;
}

.brand__en {
  font-size: 10px;
}

.brand--drawer {
  align-items: flex-start;
  text-align: left;
}

.brand--drawer .brand__cn {
  font-size: 20px;
}

.brand--drawer .brand__en {
  font-size: 11px;
}

.drawer-head strong {
  display: block;
  font-weight: 600;
  font-family: var(--serif);
  font-size: 20px;
}

.header-cta {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

/* Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
}

.mobile-drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(280px, 84vw);
  height: 100%;
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform 0.28s;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-head {
  padding: calc(18px + var(--safe-top)) 20px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-nav { flex: 1; padding: 8px 0; }

.drawer-link {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
}

.drawer-cta {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

/* Carousel mobile */
.hero-promo {
  justify-content: center;
  padding: 20px 0 40px;
}

.hero-promo h1 { font-size: 24px; }

.hero-promo p {
  font-size: 13px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-slide__content {
  justify-content: flex-end;
  padding: 20px 0 48px;
}

.carousel-slide__content h1 { font-size: 22px; }

.carousel-slide__content p {
  font-size: 13px;
  margin-bottom: 14px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-slide__actions {
  flex-direction: row;
  width: auto;
}

.carousel-slide__actions .btn-primary,
.carousel-slide__actions .btn-outline {
  width: auto;
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.carousel-dots { bottom: 12px; }

/* Sections */
.section-showcase { padding: 36px 0 32px; }

.showcase-title { margin-bottom: 24px; }

.showcase-subtitle { margin-bottom: 20px; font-size: 13px; }

.showcase-shell { width: 100%; padding: 0 12px; }

.showcase-track {
  gap: 14px;
  padding: 4px 12px 12px;
  margin: 0 -12px;
}

.showcase-item {
  flex: 0 0 var(--showcase-item-w, 38%);
  min-width: min(var(--showcase-item-w, 130px), 120px);
}

.showcase-item__img {
  padding: 0;
  height: var(--showcase-item-h, 200px);
}

.showcase-item__meta {
  margin-top: 10px;
}

.showcase-item__name {
  margin-top: 0;
  font-size: 13px;
}

.showcase-item__desc {
  font-size: 12px;
  line-height: 1.65;
}

.section-spotlight { padding: 28px 0 36px; }

.spotlight-layout {
  grid-template-columns: 1fr;
  gap: 20px;
}

.spotlight-media-col { padding: 18px 14px 16px; }

.spotlight-slide__img,
.spotlight-slide__video { max-height: min(68vh, 440px); }

.spotlight-media-foot h3 { font-size: 16px; }

.spotlight-review-col { padding: 18px 14px 16px; }

.spotlight-review-carousel { min-height: 0; }

.spotlight-review__content { font-size: 14px; }

.spotlight-review-foot h2 { font-size: 18px; }

.section-guide { padding: 28px 0 32px; }

.section-guide .section-head { margin-bottom: 14px; }

.section-guide .section-head p { font-size: 12px; }

.guide-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 0;
}

.guide-card { padding: 12px 10px 14px; }

.guide-card h3 { font-size: 13px; margin-bottom: 4px; }

.guide-card p { font-size: 11px; line-height: 1.5; }

.guide-card__num {
  width: 20px;
  height: 20px;
  margin-bottom: 6px;
  font-size: 10px;
}

.guide-note { margin-top: 14px; padding: 8px 12px; font-size: 11px; }

.showcase-nav { display: none !important; }

.section-products,
.section-bangles,
.section-cases,
.section-about {
  padding: 40px 0;
}

.section-head { margin-bottom: 24px; }

.product-scroll-wrap {
  padding: 0 12px;
  margin: 0 -12px;
}

.product-scroll {
  gap: 12px;
  padding-bottom: 8px;
}

.product-scroll .product-card { flex: 0 0 168px; }

.product-scroll .product-card__body { padding: 10px; }

.product-scroll .product-card__body h3 { font-size: 12px; }

.product-scroll .product-card__body p {
  font-size: 11px;
  -webkit-line-clamp: 2;
}

.product-scroll .product-card__cta { font-size: 11px; }

.carousel-arrow { display: none; }

.carousel-thumbs { display: none; }

.section-bangles { padding: 40px 0 48px; }

.bangles-tab {
  padding: 16px 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.bangle-pane__inner { padding: 20px 16px 24px; }

.bangle-track {
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
}

.bangle-item {
  flex: 0 0 clamp(210px, 58vw, 240px);
}

.bangle-item__name {
  font-size: 14px;
}

.bangle-item__desc {
  font-size: 12px;
  line-height: 1.65;
}

.product-card__body p {
  font-size: 12px;
}

.product-card__cta { font-size: 12px; }

.cases-tab { font-size: 13px; padding: 12px 8px; }

.case-pane {
  grid-template-columns: 1fr;
}

.case-pane__media { min-height: 180px; }

.case-pane__media img { min-height: 180px; }

.case-pane__content { padding: 18px 16px 22px; }

.case-pane__content p { font-size: 13px; }

.about-headline {
  margin-bottom: 28px;
}

.about-eyebrow {
  margin: -16px 0 28px;
  text-align: center;
}

.about-split {
  grid-template-columns: 1fr;
  gap: 28px;
}

.about-copy h3 { margin-bottom: 14px; }

.about-copy p { font-size: 14px; line-height: 1.75; }

.about-visual img { border-radius: 14px; }

.section-contact { padding: 40px 0 48px; }

.contact-split { grid-template-columns: 1fr; gap: 28px; }

.contact-form { padding: 24px 20px; }

.form-grid { grid-template-columns: 1fr; }

.footer-row {
  flex-direction: column;
  text-align: center;
}

.footer-row p { width: 100%; }

/* Tab bar */
.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  background: var(--surface-overlay);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.tab-item {
  border: 0;
  background: none;
  font: 600 10px/1 var(--sans);
  color: var(--muted);
  cursor: pointer;
  padding: 8px 4px;
}

.tab-item.active,
.tab-item.highlight { color: var(--gold-light); }

.cs-widget {
  right: 14px;
  bottom: calc(var(--tabbar-h) + 14px + var(--safe-bottom)) !important;
}

.site-footer {
  padding-bottom: calc(24px + var(--tabbar-h) + var(--safe-bottom));
}
