/* ============================================================
   RØNBÆK — Base design tokens & shared component styles
   Bygget til Shopify Dawn tema
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --rb-bg:       #FBFAF7;
  --rb-bg-soft:  #FFFFFF;
  --rb-bg-deep:  #F1EFEA;
  --rb-bg-panel: #F6F4EE;
  --rb-bg-dark:  #15170F;
  --rb-dark:     #15170F;
  --rb-ink:      #0F0F0D;
  --rb-ink-soft: #3A3A36;
  --rb-ink-muted:#8A857A;
  --rb-line:     #E5E2D8;
  --rb-line-soft:rgba(15,15,13,.08);
  --rb-accent:   #3B5037;
  --rb-accent-soft:#6E8060;
  --rb-accent-deep:#2A3A26;
  --rb-gold:     #C5A55A;
  --rb-font:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --rb-radius:   12px;
  --rb-radius-sm:6px;
  --rb-radius-full:999px;
}

/* ---------- Sticky header wrapper (Shopify section group) ---------- */
#shopify-section-group-header-group,
[id="shopify-section-group-header-group"],
sticky-header,
.shopify-section-group-header-group {
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
}

/* ---------- Hide Dawn back-to-top arrow button ---------- */
.back-to-top { display: none !important; }

/* ---------- Footer section group — always visible ---------- */
/* Ensures the footer renders on every page regardless of Dawn theme overrides */
#shopify-section-group-footer-group,
[id="shopify-section-group-footer-group"],
.shopify-section-group-footer-group {
  display: block !important;
  visibility: visible !important;
}

/* ---------- Global overrides for RØNBÆK pages ---------- */
.roenbaek-page {
  background: var(--rb-bg);
  color: var(--rb-ink);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.roenbaek-page *,
.roenbaek-page *::before,
.roenbaek-page *::after { box-sizing: border-box; }
.roenbaek-page img { max-width: 100%; display: block; }

/* ---------- Shared buttons ---------- */
.rb-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--rb-ink); color: #fff;
  border: none; cursor: pointer;
  font-family: var(--rb-font);
  border-radius: var(--rb-radius-full);
  text-decoration: none;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.rb-btn:hover { background: var(--rb-accent); }
.rb-btn--green  { background: var(--rb-accent); color: #fff; }
.rb-btn--green:hover { background: var(--rb-accent-deep); }
.rb-btn--light  { background: #fff; color: var(--rb-ink); }
.rb-btn--light:hover { background: var(--rb-accent); color: #fff; }
.rb-btn--out    { background: transparent; color: var(--rb-ink); border: 1px solid var(--rb-ink); }
.rb-btn--out:hover { background: var(--rb-ink); color: #fff; }
.rb-btn--ghost  { background: transparent; color: var(--rb-ink); border: 1.5px solid var(--rb-ink); }
.rb-btn--ghost:hover { background: var(--rb-ink); color: #fff; border-color: var(--rb-ink); }
.rb-btn--ghost-light  { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.rb-btn--ghost-light:hover { background: #fff; color: var(--rb-ink); }
.rb-btn--full   { width: 100%; justify-content: center; }
.rb-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Eyebrow ---------- */
.rb-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--rb-accent);
}
.rb-eyebrow::before {
  content: ''; flex-shrink: 0;
  width: 28px; height: 1px;
  background: var(--rb-accent);
}

/* ---------- Pulse animation for pre-order dot ---------- */
@keyframes rb-pulse {
  0%   { opacity: 1; transform: scale(1);    box-shadow: 0 0 0 0   rgba(182,205,160,.95); }
  35%  { opacity: .3; transform: scale(.78); box-shadow: 0 0 0 4px rgba(182,205,160,.35); }
  70%  { opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 10px rgba(182,205,160,0); }
  100% { opacity: 1; transform: scale(1);    box-shadow: 0 0 0 0   rgba(182,205,160,0); }
}

/* ============================================================
   PRODUCT PAGE LAYOUT (global shell only — detail CSS lives in section)
   ============================================================ */
.rb-product {
  padding: 70px 40px;
  overflow-x: clip;
}
.rb-product-w {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr);
  gap: 10px;
  align-items: start;
  overflow-x: clip;
}

@media (max-width: 1024px) {
  .rb-product { padding: 0; }
  .rb-product-w {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ============================================================
   INFO ROW (image + text)
   ============================================================ */
.rb-info-row {
  padding: 100px 40px;
  background: var(--rb-bg-soft);
}
.rb-info-row--panel { background: var(--rb-bg-panel); }
.rb-info-row-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.rb-info-row--reverse .rb-info-row-inner { direction: rtl; }
.rb-info-row--reverse .rb-info-row-inner > * { direction: ltr; }
.rb-info-row-img {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}
.rb-info-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rb-info-row-img img { width: 100%; height: 100%; object-fit: cover; }
.rb-info-row-img--contain {
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.rb-info-row-img--contain img { width: 100%; height: auto; object-fit: contain; max-width: 460px; }
.rb-info-row-text h2 {
  font-family: var(--rb-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -.02em; margin: 0 0 24px;
}
.rb-info-row-text p {
  font-size: 16px; line-height: 1.7;
  color: var(--rb-ink-soft); margin: 0;
}
.rb-info-row-eyebrow {
  display: block; margin-bottom: 18px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.rb-stats {
  background: var(--rb-bg-dark); color: #fff;
  padding: 80px 40px;
}
.rb-stats-w {
  max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.rb-stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.rb-stat:last-child { border-right: none; }
.rb-stat-n {
  font-family: var(--rb-font);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -.035em;
  line-height: 1; display: block; margin-bottom: 8px; color: #fff;
}
.rb-stat-l {
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}


.rb-cart-item-prop {
  display:none !important;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.rb-testi { background: var(--rb-bg); padding: 110px 40px; }
.rb-testi-w { max-width: 1500px; margin: 0 auto; }
.rb-testi-head { text-align: center; margin-bottom: 56px; }
.rb-testi-head .rb-eyebrow { margin-bottom: 18px; display: inline-flex; }
.rb-testi-stars {
  color: var(--rb-gold); letter-spacing: 4px; font-size: 14px; margin-bottom: 14px;
}
.rb-testi-head h2 {
  font-family: var(--rb-font);
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 700;
  line-height: .98; letter-spacing: -.025em; margin: 0 0 14px;
}
.rb-testi-head h2 .light { font-weight: 300; }
.rb-testi-head p {
  font-size: 15px; color: var(--rb-ink-soft);
  margin: 0 auto; max-width: 480px;
}
.rb-testi-track-wrap { overflow: hidden; }
.rb-testi-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: rb-marquee 60s linear infinite;
}
.rb-testi-track:hover { animation-play-state: paused; }
@keyframes rb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rb-testi-card {
  flex: 0 0 300px;
  aspect-ratio: 9/14;
  border-radius: var(--rb-radius);
  overflow: hidden;
  background: var(--rb-bg-deep);
  position: relative;
}
.rb-testi-card video,
.rb-testi-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.rb-testi-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 100%);
  color: #fff; padding: 24px 18px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rb-product-w { grid-template-columns: 1fr; }
  .rb-info-row { padding: 64px 24px; }
  .rb-info-row-inner { grid-template-columns: 1fr; gap: 40px; }
  .rb-info-row--reverse .rb-info-row-inner { direction: ltr; }
  .rb-stats { padding: 64px 24px; }
  .rb-stats-w { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .rb-stat { padding: 0 24px; }
  .rb-testi { padding: 64px 24px; }
}
@media (max-width: 640px) {
  .rb-stats-w { grid-template-columns: 1fr 1fr !important; }
  .rb-stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.2); }
  .rb-stat:nth-child(even) { border-right: none; }
  .rb-stat:nth-child(n+3)  { border-top: 1px solid rgba(255,255,255,.2); }
  .rb-stat { padding: 24px 20px; }
}


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         