/* BatoNow Home Storefront — Streamlined & Mobile-Responsive */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-dark: #151515;
  --text-primary: #151515;
  --text-secondary: #4D4D4D;
  --text-muted: #888888;
  --text-inverse: #FFFFFF;
  --border-subtle: #E5E5E5;
  --border-dark: rgba(255, 255, 255, 0.14);
  --brand-accent: #FF3B30;
  --brand-gradient: linear-gradient(135deg, #FF3B30 0%, #FF7F50 100%);
  --font-display: 'Clash Display', 'Bricolage Grotesque', sans-serif;
  --font-body: 'Satoshi', 'DM Sans', sans-serif;
  --font-ui: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Status Banner */
.rx-status-banner {
  display: none;
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: #FFFFFF;
  color: #151515;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  align-items: center;
  gap: 16px;
  font-size: 14px;
  max-width: 680px;
  width: calc(100% - 32px);
}
.rx-status-banner.visible { display: flex; }
.rx-status-banner.success { background: #DCFCE7; border-color: #86EFAC; color: #14532D; }
.rx-status-banner.pending { background: #FEF3C7; border-color: #FCD34D; color: #78350F; }
.rx-status-banner.error { background: #FEE2E2; border-color: #FCA5A5; color: #7F1D1D; }
.rx-status-dismiss {
  margin-left: auto;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
}

/* SLICE 01: HEADER */
.rx-slice-01 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 50;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.rx-slice-01.scrolled {
  background: rgba(21, 21, 21, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rx-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.rx-header-logo img {
  height: 26px;
  width: auto;
  display: block;
}
.rx-header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.rx-header-nav a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.84px;
  color: #FFFFFF;
  text-transform: uppercase;
}
.rx-header-nav a:hover { opacity: 0.78; }
.rx-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rx-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(21, 21, 21, 0.45);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rx-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: var(--brand-accent);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* SLICE 02: HERO BANNER + MARQUEE */
.rx-slice-02 {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
  background: #2C2A27;
}
.rx-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}
.rx-hero-wordmark {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(60px, 19.5vw, 280px);
  line-height: 1;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}
.rx-hero-sofa {
  position: absolute;
  top: 246px;
  right: 40px;
  width: 863px;
  max-width: 62vw;
  height: 535px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}
.rx-hero-callout {
  position: absolute;
  left: 416px;
  top: 546px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #FFFFFF;
}
.rx-hero-callout-text {
  font-size: 15px;
  line-height: 22px;
  max-width: 140px;
}
.rx-hero-callout-line {
  width: 180px;
  height: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
  margin-top: 10px;
  position: relative;
}
.rx-hero-callout-line::before,
.rx-hero-callout-line::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}
.rx-hero-callout-line::before { left: -4px; top: -4px; }
.rx-hero-callout-line::after { right: -4px; bottom: -4px; }
.rx-hero-bottom-left {
  position: absolute;
  left: 40px;
  bottom: 100px;
  z-index: 3;
  color: #FFFFFF;
}
.rx-hero-pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.rx-hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 500;
  margin-bottom: 22px;
}
.rx-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #151515;
  border: none;
  border-radius: 4px;
  padding: 15px 38px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.84px;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.rx-btn-white:hover { transform: translateY(-1px); background: #F5F5F5; }
.rx-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: var(--bg-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 4;
}
.rx-ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  padding: 0 40px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.rx-ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

/* SLICE 03: SHOP BY CATEGORIES */
.rx-slice-03 {
  padding: 96px 0 80px;
  background: var(--bg-primary);
  text-align: center;
}
.rx-section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 48px;
  padding: 0 20px;
}
.rx-cat-track {
  display: flex;
  gap: 20px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rx-cat-track::-webkit-scrollbar { display: none; }
.rx-cat-card {
  flex: 1 0 250px;
  scroll-snap-align: start;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: left;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rx-cat-card:hover { border-color: #151515; transform: translateY(-2px); }
.rx-cat-img-box {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.rx-cat-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.rx-cat-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.rx-cat-card span {
  font-size: 14px;
  color: var(--text-secondary);
}
.rx-circle-arrows {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.rx-circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: #151515;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rx-circle-arrow:hover { border-color: #151515; }

/* SLICE 06: BEST SELLERS */
.rx-slice-06 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 40px 88px;
}
.rx-slice-06-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.rx-slice-06-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
}
.rx-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}
.rx-product-cell {
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}
.rx-product-thumb {
  background: var(--bg-secondary);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
}
.rx-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.rx-product-cell:hover .rx-product-thumb img { transform: scale(1.03); }
.rx-product-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.rx-product-meta h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.rx-product-price {
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rx-product-price s {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.rx-add-pill {
  border: 1px solid #151515;
  background: transparent;
  color: #151515;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.rx-add-pill:hover { background: #151515; color: #FFFFFF; }

/* SLICE 07: WHY FROM US */
.rx-slice-07 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 96px;
  text-align: center;
}
.rx-pill-outline {
  display: inline-block;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 16px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.rx-why-statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.28;
  font-weight: 500;
  max-width: 960px;
  margin: 0 auto 60px;
}
.rx-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rx-metric-val {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 10px;
}
.rx-metric-val sup { font-size: 22px; vertical-align: super; }
.rx-metric-label {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  max-width: 240px;
  margin: 0 auto;
}

/* SLICE 11: FOOTER */
.rx-slice-11 {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 64px 40px 36px;
}
.rx-footer-top {
  max-width: 1360px;
  margin: 0 auto 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.rx-footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rx-newsletter { width: 340px; max-width: 100%; }
.rx-newsletter label {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.rx-newsletter-box {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 10px;
}
.rx-newsletter-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
}
.rx-newsletter-box button {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
}
.rx-footer-cols {
  max-width: 1360px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.rx-footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: #CCCCCC;
}
.rx-footer-cols h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}
.rx-footer-cols ul {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: #CCCCCC;
}
.rx-footer-cols a:hover { color: #FFFFFF; }
.rx-footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #999999;
}

/* CART & CHECKOUT DRAWER */
.rx-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100;
  display: none;
  justify-content: flex-end;
}
.rx-drawer-backdrop.open { display: flex; }
.rx-cart-drawer {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  color: #151515;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}
.rx-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rx-drawer-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}
.rx-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E5E5E5;
  background: #F5F5F5;
  font-size: 18px;
}
.rx-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rx-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
}
.rx-cart-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}
.rx-cart-item-info { flex: 1; min-width: 0; }
.rx-cart-item-info h4 { font-size: 14px; font-weight: 600; }
.rx-cart-item-info span { font-size: 13px; color: #4D4D4D; }
.rx-qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.rx-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #E5E5E5;
  background: #F5F5F5;
  font-weight: 700;
}
.rx-drawer-foot {
  border-top: 1px solid #E5E5E5;
  padding: 20px 24px;
}
.rx-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}
.rx-checkout-form { display: grid; gap: 10px; }
.rx-checkout-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #D4D4D4;
  border-radius: 8px;
  font-size: 14px;
}
.rx-checkout-error {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 13px;
}
.rx-checkout-error.visible { display: block; }
.rx-btn-batonow {
  width: 100%;
  border: none;
  border-radius: 9999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--brand-gradient);
}
.rx-btn-batonow:disabled { opacity: 0.55; cursor: not-allowed; }

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .rx-slice-01 { padding: 0 24px; }
  .rx-header-nav { gap: 20px; }
  .rx-hero-callout { display: none; }
  .rx-hero-sofa {
    width: 560px;
    max-width: 68vw;
    height: 380px;
    top: 280px;
    right: 16px;
  }
  .rx-product-grid { grid-template-columns: repeat(2, 1fr); }
  .rx-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* MOBILE (<= 680px) */
@media (max-width: 680px) {
  .rx-slice-01 {
    height: 62px;
    padding: 0 16px;
  }
  .rx-header-logo {
    height: 34px;
    padding: 4px 10px;
  }
  .rx-header-logo img { height: 22px; }
  .rx-header-nav { display: none; }

  .rx-slice-02 {
    height: auto;
    min-height: 640px;
    padding-top: 88px;
    padding-bottom: 84px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .rx-hero-wordmark {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    font-size: clamp(52px, 16.5vw, 84px);
    padding: 0 12px;
  }
  .rx-hero-sofa {
    position: relative;
    top: auto;
    right: auto;
    width: 92%;
    max-width: 420px;
    height: 240px;
    margin: 8px auto 16px;
    display: block;
  }
  .rx-hero-bottom-left {
    position: relative;
    left: auto;
    bottom: auto;
    padding: 0 20px;
  }
  .rx-ticker-track {
    padding: 0 16px;
    gap: 20px;
    font-size: 11px;
  }

  .rx-slice-03 { padding: 56px 0 48px; }
  .rx-section-heading { margin-bottom: 28px; }
  .rx-cat-track { padding: 0 16px; gap: 14px; }
  .rx-cat-card { flex: 0 0 74%; min-height: 310px; }
  .rx-cat-img-box { height: 170px; }

  .rx-slice-06 { padding: 48px 16px; }
  .rx-slice-06-header { margin-bottom: 24px; }
  .rx-product-grid { grid-template-columns: 1fr; }
  .rx-product-cell { padding: 18px; }

  .rx-slice-07 { padding: 36px 20px 64px; }
  .rx-why-statement { margin-bottom: 40px; }
  .rx-metrics-row { grid-template-columns: 1fr; gap: 28px; }

  .rx-slice-11 { padding: 48px 20px 28px; }
  .rx-footer-top { margin-bottom: 36px; }
  .rx-newsletter { width: 100%; }
  .rx-footer-cols { grid-template-columns: 1fr; gap: 28px; }
}
