
/* ============================================
   MARLSBOX HOME V7 — Oatly x Confetti Explosion
   ============================================ */

/* ── HERO ── */
.mb-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: #1a1a1a;
}
@media (max-width: 767px) {
  .mb-hero { grid-template-columns: 1fr; min-height: auto; }
}

.mb-hero__left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a1a1a;
}
@media (max-width: 767px) { .mb-hero__left { padding: 56px 24px 48px; } }

.mb-eyebrow {
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f1601c;
  margin-bottom: 20px;
}

.mb-hero__h1 {
  font-size: 4.2em !important;
  font-weight: 900 !important;
  line-height: 1.0 !important;
  letter-spacing: -2px !important;
  color: #fff !important;
  margin-bottom: 24px !important;
  font-family: "Montserrat", sans-serif !important;
}
@media (max-width: 767px) {
  .mb-hero__h1 { font-size: 2.8em !important; letter-spacing: -1px !important; }
}

.mb-accent { color: #f1601c; }

.mb-hero__sub {
  font-size: 1.05em;
  color: #999;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 36px;
}

.mb-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.mb-btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 0.78em;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 14px 28px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s, background 0.15s;
  line-height: 1.2;
}
.mb-btn--dark {
  background: #fff;
  color: #1a1a1a !important;
  border-color: #fff;
}
.mb-btn--dark:hover {
  box-shadow: 4px 4px 0 #f1601c;
  transform: translate(-2px,-2px);
  color: #1a1a1a !important;
}
.mb-btn--ghost {
  background: transparent;
  color: #888 !important;
  border-color: #444;
}
.mb-btn--ghost:hover { border-color: #888; color: #fff !important; }
.mb-btn--orange {
  background: #f1601c;
  color: #fff !important;
  border-color: #f1601c;
}
.mb-btn--orange:hover {
  box-shadow: 4px 4px 0 #1a1a1a;
  transform: translate(-2px,-2px);
  color: #fff !important;
}
.mb-btn--large { font-size: 0.85em; padding: 16px 32px; }
.mb-btn--white { background: #fff; color: #1a1a1a !important; border-color: #fff; }
.mb-btn--white:hover { box-shadow: 3px 3px 0 rgba(255,255,255,0.3); transform: translate(-1px,-1px); }
.mb-btn--outline-dark { background: transparent; color: #1a1a1a !important; border: 3px solid #1a1a1a; }
.mb-btn--outline-dark:hover { background: #1a1a1a; color: #fff !important; }

/* ── HERO RIGHT ── */
.mb-hero__right {
  background: #f1601c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
  gap: 24px;
}
@media (max-width: 767px) { .mb-hero__right { padding: 48px 24px; } }

.mb-hero__stat { display: flex; flex-direction: column; z-index: 2; }
.mb-stat-num {
  font-size: 3.6em;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -2px;
}
.mb-stat-label {
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.mb-hero__scissors {
  position: absolute;
  font-size: 300px;
  color: rgba(255,255,255,0.07);
  bottom: -60px;
  right: -40px;
  line-height: 1;
  margin: 0;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 1;
}

/* ── CONFETTI ANIMATION ── */
@keyframes confetti-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); }
  75% { transform: translate(calc(var(--tx) * -0.5), calc(var(--ty) * 0.8)) rotate(calc(var(--rot) * -0.5)); }
}
.mb-confetti-scatter { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.mb-confetti-scatter span {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 2px;
  animation: confetti-float 4s ease-in-out infinite;
  animation-delay: var(--d);
  opacity: 0.7;
}

/* ── TICKER ── */
.mb-ticker {
  background: #f1601c;
  overflow: hidden;
  padding: 12px 0;
  border-top: 3px solid #1a1a1a;
  border-bottom: 3px solid #1a1a1a;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.mb-ticker__track {
  display: flex;
  white-space: nowrap;
  animation: ticker 18s linear infinite;
  width: max-content;
}
.mb-ticker__track span {
  font-size: 0.72em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  padding: 0 28px;
  flex-shrink: 0;
}

/* ── SHOP SECTION ── */
.mb-shop-section {
  padding: 64px 40px 56px;
  background: #fff;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 549px) { .mb-shop-section { padding: 48px 20px 40px; } }

.mb-shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.mb-section-num {
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f1601c;
  margin-bottom: 6px;
}
.mb-section-num--light { color: rgba(255,255,255,0.5); }
.mb-section-h2 {
  font-size: 2.4em !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  color: #1a1a1a !important;
  letter-spacing: -1px !important;
  margin-bottom: 8px !important;
}
.mb-section-h2--light { color: #fff !important; }
.mb-section-sub { color: #999; font-size: 0.9em; }

/* Product cards in shop section */
.mb-shop-section .product-small .box {
  border: 2px solid #1a1a1a !important;
  border-radius: 0 !important;
  transition: box-shadow 0.15s, transform 0.15s !important;
}
.mb-shop-section .product-small:nth-child(odd) .box { transform: rotate(-0.4deg); }
.mb-shop-section .product-small:nth-child(even) .box { transform: rotate(0.3deg); }
.mb-shop-section .product-small .box:hover {
  box-shadow: 5px 5px 0 #f1601c !important;
  transform: rotate(0deg) translate(-2px,-2px) !important;
  border-color: #f1601c !important;
  z-index: 2; position: relative;
}
.mb-shop-section .product-small .box-text {
  border-top: 2px solid #1a1a1a !important;
  padding: 10px 12px 14px !important;
}
.mb-shop-section .product-small .title {
  font-size: 0.82em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.mb-shop-section .box-image { aspect-ratio: 1/1; overflow: hidden; }
.mb-shop-section .box-image img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.mb-shop-section .product-small .box:hover .box-image img { transform: scale(1.06); }
.mb-shop-section .iconic-was-swatches--loop { display: none !important; }
.mb-shop-section .price .from { display: none; }
.mb-shop-section .price { font-size: 0.82em !important; color: #888 !important; font-weight: 700 !important; }

/* ── OCCASIONS ── */
.mb-occasions {
  background: #1a1a1a;
  padding: 64px 40px;
  position: relative;
}
@media (max-width: 549px) { .mb-occasions { padding: 48px 20px; } }

.mb-occasions > .mb-section-num,
.mb-occasions > .mb-section-h2 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.mb-occasions > .mb-section-h2 { margin-bottom: 40px !important; }

.mb-occasions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .mb-occasions__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .mb-occasions__grid { grid-template-columns: 1fr; }
}

.mb-occasion {
  padding: 40px 32px;
  text-decoration: none !important;
  display: block;
  border: 2px solid rgba(255,255,255,0.08);
  transition: transform 0.2s, filter 0.2s;
  position: relative;
}
.mb-occasion:hover { transform: translateY(-4px); filter: brightness(1.08); }
.mb-occasion--purple { background: #7B3F8B; }
.mb-occasion--orange { background: #f1601c; }
.mb-occasion--teal { background: #2a7f7f; }
.mb-occasion--dark { background: #2d2d2d; }

.mb-occasion::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.mb-occasion__emoji { font-size: 2.2em; display: block; margin-bottom: 14px; }
.mb-occasion h3 {
  font-size: 1.2em !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.3px !important;
}
.mb-occasion p {
  font-size: 0.88em !important;
  color: rgba(255,255,255,0.78) !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
}
.mb-occasion__cta {
  font-size: 0.72em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.mb-occasion:hover .mb-occasion__cta { color: #fff; border-color: rgba(255,255,255,0.8); }

/* WP br/p injection fix */
.mb-occasion br { display: none !important; }
.mb-occasion > p { margin: 0 !important; padding: 0 !important; display: contents !important; }

/* Mobile occasion fixes */
@media (max-width: 767px) {
  .mb-occasion { padding: 28px 20px !important; }
  .mb-occasion__emoji { font-size: 1.6em !important; }
  .mb-occasion h3 { font-size: 1em !important; }
  .mb-occasion p { font-size: 0.8em !important; }
}

/* ── STORY ── */
.mb-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
@media (max-width: 767px) { .mb-story { grid-template-columns: 1fr; } }

.mb-story__left {
  background: #1a1a1a;
  padding: 72px 56px;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) { .mb-story__left { padding: 48px 24px; } }

.mb-story__box { border-left: 4px solid #f1601c; padding-left: 28px; }
.mb-story__label {
  font-size: 0.68em;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f1601c;
  margin-bottom: 20px;
}
.mb-story__facts { list-style: none; padding: 0; margin: 0; }
.mb-story__facts li {
  font-size: 0.95em;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 16px;
}
.mb-story__facts li strong { color: #fff; display: block; }

.mb-story__right { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 767px) { .mb-story__right { padding: 48px 24px; } }

.mb-story__h2 {
  font-size: 2.2em !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: #1a1a1a !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 24px !important;
}
.mb-story__body { color: #555; line-height: 1.85; font-size: 1em; margin-bottom: 16px; }
.mb-story__body strong { color: #1a1a1a; }

/* ── COLOUR CTA BAR ── */
.mb-colours-cta {
  background: #f1601c;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mb-colours-cta > p {
  font-size: 0.78em;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.mb-colour-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mb-colour-dots span {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}
.mb-colour-dots span:hover { transform: scale(1.3); }
