
    body {
      font-family: 'Quicksand', sans-serif;
      background-color: #f0ebe3;
      color: #2a1414;
    }

    .font-display {
      font-family: 'Cormorant Garamond', serif;
    }

    .font-heading {
      font-family: 'Nunito', sans-serif;
    }

    .hero-gradient {
      background: linear-gradient(160deg, #4a1010 0%, #6b1a1a 45%, #8c2323 75%, #b05050 100%);
    }

    .hero-pattern::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' opacity='0.06'%3E%3Ctext y='60' font-size='56'%3E%F0%9F%8E%80%3C/text%3E%3C/svg%3E");
      pointer-events: none;
    }

    .design-scroll::-webkit-scrollbar {
      height: 4px;
    }

    .design-scroll::-webkit-scrollbar-track {
      background: #ede0dc;
      border-radius: 4px;
    }

    .design-scroll::-webkit-scrollbar-thumb {
      background: #8c2323;
      border-radius: 4px;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-up {
      animation: fadeUp 0.5s ease both;
    }

    .nav-link {
      transition: color 0.2s;
    }

    .nav-link:hover {
      color: #8c2323;
    }

    /* SHARED NAVBAR */
    .mg-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, .96);
      backdrop-filter: blur(8px);
      border-bottom: 1.5px solid #dfc9c4;
      box-shadow: 0 1px 8px rgba(140, 35, 35, .06);
    }

    .mg-nav-inner {
      max-width: 720px;
      margin: 0 auto;
      padding: 0 16px;
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .mg-nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      flex-shrink: 0;
    }

    .mg-nav-logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: #8c2323;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mg-nav-logo-icon span {
      color: #fff;
      font-weight: 900;
      font-size: 13px;
      font-family: 'Nunito', sans-serif;
    }

    .mg-nav-logo-text .brand {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 19px;
      color: #2a1414;
      line-height: 1;
    }

    .mg-nav-logo-text .sub {
      font-size: 8px;
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #9e8a8a;
    }

    .mg-nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .mg-nav-link {
      padding: 7px 13px;
      border-radius: 20px;
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
      color: #9e8a8a;
      transition: all .15s;
      white-space: nowrap;
    }

    .mg-nav-link:hover {
      color: #8c2323;
    }

    .mg-nav-link.active {
      color: #8c2323;
      background: rgba(140, 35, 35, .09);
      box-shadow: inset 0 0 0 1px rgba(140, 35, 35, .12);
    }

    .mg-nav-cta {
      padding: 8px 18px;
      border-radius: 20px;
      background: #8c2323;
      color: #fff;
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      font-size: 13px;
      text-decoration: none;
      transition: background .15s;
      white-space: nowrap;
    }

    .mg-nav-cta:hover {
      background: #4a1010;
    }

    .mg-nav-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .mg-nav-track-btn {
      display: none;
      padding: 7px 12px;
      border-radius: 20px;
      background: rgba(140, 35, 35, .08);
      color: #8c2323;
      font-family: 'Quicksand', sans-serif;
      font-weight: 700;
      font-size: 12px;
      text-decoration: none;
      transition: background .15s;
      white-space: nowrap;
    }

    .mg-nav-track-btn:hover {
      background: rgba(140, 35, 35, .15);
    }

    @media (max-width: 500px) {
      .mg-nav-links {
        display: none;
      }

      .mg-nav-track-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
      }

      .mg-nav-cta {
        padding: 7px 12px;
        font-size: 12px;
      }
    }

    .faq-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .faq-body.open {
      max-height: 200px;
    }

    /* ── Products dropdown ── */
    .mg-nav-dropdown { position:relative; }
    /* invisible bridge fills the gap so hover stays alive while mouse travels down */
    .mg-nav-dropdown::after {
      content:'';display:block;position:absolute;
      top:100%;left:0;right:0;height:10px;
    }
    .mg-nav-dropdown-menu {
      display:none;position:absolute;top:calc(100% + 10px);left:50%;
      transform:translateX(-50%);background:#fff;border:1.5px solid #dfc9c4;
      border-radius:14px;box-shadow:0 8px 24px rgba(140,35,35,.13);
      padding:6px;min-width:190px;z-index:200;
    }
    .mg-nav-dropdown:hover .mg-nav-dropdown-menu { display:block; }
    .mg-nav-dropdown-item {
      display:block;padding:8px 14px;border-radius:10px;
      font-family:'Quicksand',sans-serif;font-size:13px;font-weight:700;
      color:#2a1414;text-decoration:none;transition:background .12s;white-space:nowrap;
    }
    .mg-nav-dropdown-item:hover { background:#f9f4f0;color:#8c2323; }
    .mg-nav-dropdown-divider { height:1px;background:#f0e8e8;margin:4px 10px; }

    .mg-nav-dropdown-item.active {
      background: rgba(140, 35, 35, .09);
      color: #8c2323;
      border-color: rgba(140, 35, 35, .25);
    }

    .mg-nav-dropdown-item.active:hover {
      background: #8c2323;
      color: #fff;
    }

    .wave-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
    }

    /* Product Grid */
    .product-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:16px; }
    @media(min-width:480px) { .product-grid { grid-template-columns:repeat(3,1fr); } }
    @media(min-width:900px) { .product-grid { grid-template-columns:repeat(4,1fr); } }

    /* Product Card */
    .product-card { background:#fff;border-radius:18px;overflow:hidden;border:1.5px solid #f0e8e8;transition:transform .2s,box-shadow .2s;cursor:pointer;position:relative;display:flex;flex-direction:column; }
    .product-card:hover { transform:translateY(-4px);box-shadow:0 12px 32px rgba(140,35,35,.12); }
    .product-card-img { aspect-ratio:1/1;width:100%;object-fit:cover;display:block;background:#f5f0eb; }
    .product-card-img-placeholder { aspect-ratio:1/1;background:linear-gradient(135deg,#f5f0eb,#ede4dc);display:flex;align-items:center;justify-content:center;font-size:2.5rem; }
    .product-card-body { padding:10px 12px 12px;display:flex;flex-direction:column;flex:1; }
    .product-card-code { font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#9e8a8a; }
    .product-card-name { font-size:13px;font-weight:700;color:#2a1414;margin-top:2px;line-height:1.3; }
    .product-card-type { display:flex;width:fit-content;margin-top:5px;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:700;background:#8c2323/10;background:rgba(140,35,35,.08);color:#8c2323; }
    .product-card-cta { display:block;margin-top:auto;padding:6px 0;background:#8c2323;color:#fff;text-align:center;font-family:'Quicksand',sans-serif;font-weight:700;font-size:12px;border-radius:10px;text-decoration:none;transition:background .15s; }
    .product-card-cta:hover { background:#4a1010; }


    /* ── Design Cards ── */
    .design-carousel {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      padding: 4px 4px 16px;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    .design-carousel::-webkit-scrollbar {
      height: 4px;
    }

    .design-carousel::-webkit-scrollbar-track {
      background: #ede0dc;
      border-radius: 4px;
    }

    .design-carousel::-webkit-scrollbar-thumb {
      background: #8c2323;
      border-radius: 4px;
    }

    .design-card {
      background: #fff;
      border-radius: 18px;
      border: 1.5px solid #dfc9c4;
      overflow: hidden;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
      flex-shrink: 0;
      width: 160px;
      scroll-snap-align: start;
    }

    .design-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 28px rgba(140, 35, 35, .16);
      border-color: #8c2323;
    }

    .design-card:active {
      transform: translateY(-1px);
    }

    .design-card-img {
      aspect-ratio: 1/1;
      background: #f5f0eb;
      overflow: hidden;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .design-card-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform .3s ease;
      padding: 6px;
    }

    .design-card:hover .design-card-img img {
      transform: scale(1.04);
    }

    .design-card-body {
      padding: 10px 12px 13px;
    }

    .badge-bestseller {
      background: linear-gradient(135deg, #f5a623, #e08012);
      color: #fff;
      font-size: 9px;
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 20px;
    }

    .badge-event {
      background: #fdf0ee;
      color: #8c2323;
      font-size: 9px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 20px;
    }

    .badge-sold {
      display: inline-block;
      font-size: 10px;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      color: #6b1a1a;
    }

    /* ── Event Filter Pills ── */
    .event-pill {
      border: 1.5px solid #dfc9c4;
      background: #fff;
      color: #9e8a8a;
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 12px;
      padding: 7px 15px;
      border-radius: 30px;
      cursor: pointer;
      white-space: nowrap;
      transition: all .15s;
      flex-shrink: 0;
    }

    .event-pill:hover {
      border-color: #8c2323;
      color: #8c2323;
    }

    .event-pill.active {
      background: #8c2323;
      color: #fff;
      border-color: #8c2323;
    }

    #eventFilterWrap::-webkit-scrollbar {
      display: none;
    }

    /* ── Size Toggle ── */
    .size-btn {
      padding: 8px 20px;
      border-radius: 30px;
      font-family: 'Nunito', sans-serif;
      font-size: 13px;
      font-weight: 700;
      border: 1.5px solid #dfc9c4;
      cursor: pointer;
      transition: all .15s;
    }

    .size-btn.active {
      background: #8c2323;
      color: #fff;
      border-color: #8c2323;
    }

    .size-btn:not(.active) {
      background: #fff;
      color: #9e8a8a;
    }

    .size-btn:not(.active):hover {
      border-color: #8c2323;
      color: #8c2323;
    }

    /* ── Design Lightbox ── */
    #designLightbox {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .82);
      z-index: 500;
      align-items: center;
      justify-content: center;
      padding: 16px;
      backdrop-filter: blur(6px);
    }

    #designLightbox.open {
      display: flex;
    }

    .lb-box {
      background: #fff;
      border-radius: 24px;
      width: 100%;
      max-width: 380px;
      overflow: hidden;
      animation: popIn .25s cubic-bezier(.34, 1.56, .64, 1);
    }

    @keyframes popIn {
      from {
        transform: scale(.85);
        opacity: 0
      }

      to {
        transform: scale(1);
        opacity: 1
      }
    }

    .lb-img-wrap {
      aspect-ratio: 3/4;
      background: #f5f0eb;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .lb-img-front,
    .lb-img-back {
      width: 100%;
      height: 100%;
      object-fit: contain;
      position: absolute;
      inset: 0;
      transition: opacity .3s;
      padding: 8px;
    }

    .lb-img-back {
      opacity: 0;
    }

    .lb-img-wrap.showing-back .lb-img-front {
      opacity: 0;
    }

    .lb-img-wrap.showing-back .lb-img-back {
      opacity: 1;
    }

    .lb-toggle-hint {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, .55);
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      pointer-events: none;
    }

    /* ── Mobile Sidebar Nav ── */
.mg-sidebar-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid #dfc9c4;
  background: #fff;
  color: #2a1414;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.mg-sidebar-btn:hover {
  background: #f8f3ee;
  color: #8c2323;
}

.mg-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.mg-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mg-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 701;
  width: min(84vw, 340px);
  height: 100vh;
  background: #fdf9f7;
  border-right: 1.5px solid #dfc9c4;
  box-shadow: 12px 0 30px rgba(42, 20, 20, .16);
  transform: translateX(-100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}

.mg-sidebar.open {
  transform: translateX(0);
}

.mg-sidebar-head {
  padding: 18px;
  background: #fff;
  border-bottom: 1.5px solid #dfc9c4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mg-sidebar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: #2a1414;
}

.mg-sidebar-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #9e8a8a;
}

.mg-sidebar-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: #f0ebe3;
  color: #2a1414;
  font-weight: 900;
  cursor: pointer;
}

.mg-sidebar-links {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mg-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: #2a1414;
  background: #fff;
  border: 1.5px solid #dfc9c4;
  transition: background .15s, color .15s, border-color .15s;
}

.mg-sidebar-link:hover,
.mg-sidebar-link.active {
  color: #8c2323;
  background: rgba(140, 35, 35, .07);
  border-color: rgba(140, 35, 35, .25);
}

.mg-sidebar-footer {
  padding: 16px;
  border-top: 1.5px solid #dfc9c4;
  background: #fff;
}

.mg-sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: #8c2323;
  color: #fff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  padding: 14px;
  border-radius: 18px;
}

@media (max-width: 640px) {
  .mg-nav-links {
    display: none;
  }

  .mg-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.mg-sidebar-dropdown {
  display: flex;
  flex-direction: column;
}

.mg-sidebar-dropdown-btn {
  width: 100%;
  justify-content: space-between;
  cursor: pointer;
}

.mg-sidebar-arrow {
  margin-left: auto;
  transition: transform .2s ease;
}

.mg-sidebar-arrow.open {
  transform: rotate(180deg);
}

.mg-sidebar-submenu {
  display: none;
  margin-top: 6px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 2px solid #dfc9c4;
  flex-direction: column;
  gap: 6px;
}

.mg-sidebar-submenu.open {
  display: flex;
}

.mg-sidebar-submenu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #2a1414;
  transition: background .15s, color .15s;
}

.mg-sidebar-submenu-link:hover {
  background: rgba(140, 35, 35, .07);
  color: #8c2323;
}

.mg-sidebar-submenu-link.active {
  background: rgba(140, 35, 35, .09);
  color: #8c2323;
  border-color: rgba(140, 35, 35, .25);
}

.mg-sidebar-submenu-link.active:hover {
  background: #8c2323;
  color: #fff;
}

/* Smooth anchor scrolling (Find a gift, Browse gift types) */
html { scroll-behavior: smooth; }
#gift-types, #gift-finder { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Minigift Home Body ── */
.mg-home-hero {
  position: relative;
  display: block;
  background: linear-gradient(135deg, #3a060c 0%, #5a0d16 55%, #2a0509 100%);
  padding: 72px 24px 80px;
  color: white;
  overflow: hidden;
}

.mg-home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: block;
}

.mg-hero-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.mg-kicker {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #8c2323;
}

.mg-kicker.light {
  color: rgba(255,255,255,.7);
}

.mg-hero-copy .mg-kicker { color: rgba(255,255,255,.72); }

.mg-hero-copy h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1;
  font-weight: 900;
  max-width: 760px;
  margin: 14px auto 0;
}

.mg-hero-copy p {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
  margin: 16px auto 0;
  font-weight: 600;
}

.mg-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mg-btn-primary,
.mg-btn-secondary,
.mg-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: transform .18s, background .18s;
}

.mg-btn-primary {
  background: white;
  color: #8c2323;
}

.mg-btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.45);
}

.mg-btn-white {
  background: white;
  color: #8c2323;
}

.mg-btn-primary:hover,
.mg-btn-secondary:hover,
.mg-btn-white:hover {
  transform: translateY(-2px);
}

.mg-hero-points {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.mg-hero-points span {
  position: relative;
  padding-left: 12px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.86);
}

.mg-hero-points span::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  top: 50%;
  left: 0;
  border-radius: 50%;
  background: #f1c0ad;
  transform: translateY(-50%);
}

.mg-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 16px 0;
}

.mg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.mg-section-head h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 950;
  color: #2a1414;
  font-size: clamp(24px, 4vw, 36px);
  margin-top: 4px;
}

.mg-section-intro {
  color: #9e8a8a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  margin-top: 6px;
  max-width: 620px;
}

.mg-gift-finder {
  scroll-margin-top: 90px;
}

.mg-occasion-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}

.mg-occasion-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #dfc9c4;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: #6b5555;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}

.mg-occasion-button:hover {
  transform: translateY(-1px);
  border-color: #8c2323;
}

.mg-occasion-button.active {
  background: #8c2323;
  color: #fff;
  border-color: #8c2323;
}

.mg-occasion-dropdown-wrap {
  display: block;
  overflow: visible;
  max-width: 430px;
  padding-bottom: 4px;
}

.mg-occasion-dropdown-wrap label {
  display: block;
  margin-bottom: 7px;
  color: #806c6c;
  font-size: 12px;
  font-weight: 800;
}

.mg-occasion-select {
  width: 100%;
  appearance: auto;
  border: 1.5px solid #dfc9c4;
  border-radius: 14px;
  padding: 13px 16px;
  background: #fff;
  color: #2a1414;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  outline: none;
}

.mg-occasion-select:focus {
  border-color: #8c2323;
  box-shadow: 0 0 0 3px rgba(140, 35, 35, .1);
}

.mg-recommendation-grid,
.mg-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.mg-collection-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  overflow: hidden;
  border: 1.5px solid #eadbd7;
  border-radius: 20px;
  background: #fff;
  color: #2a1414;
  text-decoration: none;
  min-height: 220px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.mg-collection-card:hover {
  transform: translateY(-4px);
  border-color: #c4827a;
  box-shadow: 0 15px 35px rgba(75, 24, 24, .1);
}

.mg-collection-card-unavailable {
  cursor: default;
  opacity: .82;
}

.mg-collection-card-unavailable:hover {
  transform: none;
  border-color: #eadbd7;
  box-shadow: none;
}

.mg-collection-image {
  min-height: 100%;
  background-size: cover;
  background-position: center;
}

.mg-collection-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8efeb, #ead8d3);
  font-size: 52px;
}

.mg-collection-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  min-width: 0;
}

.mg-collection-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.mg-collection-heading h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 950;
}

.mg-collection-body > p {
  color: #806c6c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  margin-top: 8px;
}

.mg-recommendation-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f5ded7;
  color: #8c2323;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.mg-collection-body .mg-recommendation-reason {
  padding-top: 9px;
  border-top: 1px solid #eee3df;
  color: #4a3030;
  font-weight: 800;
}

.mg-collection-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  color: #9e8a8a;
  font-size: 10px;
  font-weight: 700;
}

.mg-collection-meta strong {
  color: #8c2323;
  font-size: 11px;
}

.mg-collection-cta {
  color: #8c2323;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 950;
  margin-top: 9px;
}

.mg-discovery-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 16px;
  background: #f8f3ee;
  color: #806c6c;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.mg-view-all {
  color: #8c2323;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mg-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mg-category-tile {
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mg-category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 20, 20, .42);
  transition: background .2s ease;
}

.mg-category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(42, 20, 20, .18);
}

.mg-category-tile:hover::before {
  background: rgba(42, 20, 20, .28);
}

.mg-category-name {
  position: relative;
  z-index: 1;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 3px 0 rgba(42, 20, 20, .45);
  text-align: center;
}

.mg-category-icon {
  display: none;
}

@media (max-width: 640px) {
  .mg-category-name {
    font-size: 20px;
    letter-spacing: 0.3px;
  }

  .mg-category-tile {
    min-height: 170px;
  }
}

.mg-product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mg-featured-page { display: contents; }

.mg-home-product-card {
  background: #fff;
  border: 1.5px solid #f0e8e8;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #2a1414;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}

.mg-home-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(140,35,35,.12);
}

.mg-home-product-img {
  aspect-ratio: 1 / 1;
  background: #f5f0eb;
  overflow: hidden;
}

.mg-home-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s;
}

.mg-home-product-card:hover img {
  transform: scale(1.05);
}

.mg-home-product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mg-home-product-code {
  font-size: 10px;
  font-weight: 900;
  color: #9e8a8a;
  letter-spacing: 2px;
}

.mg-home-product-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 14px;
  margin-top: 3px;
  line-height: 1.25;
}

.mg-home-product-type {
  display: flex;
  width: fit-content;
  margin-top: 8px;
  color: #8c2323;
  background: rgba(140,35,35,.08);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.mg-home-product-price {
  margin-top: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #8c2323;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
}

.mg-home-product-cta {
  margin-top: auto;
  background: #8c2323;
  color: white;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
}

.mg-promo-strip {
  max-width: 980px;
  margin: 60px auto 0;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #2a1414, #8c2323);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mg-promo-strip h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 950;
  font-size: clamp(24px, 4vw, 36px);
}

.mg-promo-strip p {
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-top: 8px;
  line-height: 1.6;
  font-weight: 600;
}

.mg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.mg-gallery-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1.5px solid #dfc9c4;
}

.mg-gallery-item:nth-child(1),
.mg-gallery-item:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.mg-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mg-why-card {
  background: #fff;
  border: 1.5px solid #dfc9c4;
  border-radius: 26px;
  padding: 24px;
}

.mg-why-card > div {
  font-size: 34px;
  margin-bottom: 12px;
}

.mg-why-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 950;
  color: #2a1414;
}

.mg-why-card p {
  color: #9e8a8a;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 7px;
  font-weight: 600;
}

.mg-final-cta {
  padding: 60px 16px;
}

.mg-final-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #4a1010, #8c2323);
  color: white;
  border-radius: 36px;
  padding: 42px 20px;
}

.mg-final-card h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 950;
}

.mg-final-card p {
  color: rgba(255,255,255,.75);
  margin: 8px 0 24px;
  font-weight: 600;
}

/* Newsletter subscribe — newspaper-style strip near the footer */
.mg-newsletter-section {
  padding: 50px 16px;
  background: #fff8f6;
  border-top: 1px solid #f0ded9;
  border-bottom: 1px solid #f0ded9;
}

.mg-newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.mg-newsletter-inner h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 32px);
  color: #2a1414;
  margin: 0;
}

.mg-newsletter-inner p {
  color: #9e8a8a;
  font-weight: 600;
  margin: 8px 0 22px;
  font-size: 14px;
}

.mg-newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.mg-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid #dfc9c4;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  font-family: 'Quicksand', sans-serif;
  background: #fff;
  color: #2a1414;
}

.mg-newsletter-input:focus {
  border-color: #8c2323;
}

.mg-newsletter-submit {
  padding: 14px 26px;
  border-radius: 999px;
  background: #8c2323;
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Nunito', sans-serif;
  transition: background .2s;
}

.mg-newsletter-submit:hover { background: #6b1a1a; }
.mg-newsletter-submit:disabled { opacity: .6; cursor: not-allowed; }

.mg-newsletter-msg {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  min-height: 18px;
}
.mg-newsletter-msg.success { color: #15803d; }
.mg-newsletter-msg.error { color: #dc2626; }

@media (max-width: 480px) {
  .mg-newsletter-form { flex-direction: column; }
}

@media (max-width: 820px) {
  .mg-home-hero {
    padding: 56px 20px 60px;
  }

  .mg-hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .mg-hero-copy p {
    font-size: 14px;
  }

  .mg-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mg-recommendation-grid,
  .mg-collection-grid {
    grid-template-columns: 1fr;
  }

  .mg-product-row {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .mg-featured-next {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 42px;
    min-height: 52px;
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 999px;
    background: #8c2323;
    color: #fff;
    box-shadow: 0 4px 14px rgba(42,20,20,.22);
    cursor: pointer;
  }
  .mg-featured-next span:first-child { font-size: 28px; line-height: 22px; }
  .mg-featured-next-label { font: 800 8px/1 'Nunito', sans-serif; }
  .mg-featured-next.is-hidden { display: none; }

  .mg-featured-product-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 10px;
  }

  .mg-featured-product-row::-webkit-scrollbar { display: none; }
  .mg-featured-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, max-content);
    gap: 12px;
    align-content: start;
    align-items: stretch;
    scroll-snap-align: start;
  }

  .mg-featured-page .mg-home-product-card { min-width: 0; height: 100%; }
  .mg-featured-page .mg-home-product-body { min-height: 142px; padding: 12px 10px; }
  .mg-featured-page .mg-home-product-name {
    min-height: 3.75em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .mg-featured-page .mg-home-product-price { min-height: 2.2em; font-size: 12px; }
  .mg-was { margin-left: 0; white-space: nowrap; }
  .mg-badge-best, .mg-badge-save { top: 8px; padding: 5px 8px; font-size: 9px; }
  .mg-badge-best { left: 8px; }
  .mg-badge-save { right: 8px; }
  .mg-featured-wrap { position: relative; }
  .mg-featured-next { display: none; }

  .mg-promo-strip {
    margin-left: 16px;
    margin-right: 16px;
    flex-direction: column;
    text-align: center;
  }

  .mg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mg-gallery-item:nth-child(1),
  .mg-gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .mg-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .mg-collection-card {
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 210px;
  }

  .mg-collection-body {
    padding: 16px;
  }

  .mg-collection-heading h3 {
    font-size: 17px;
  }
}


/* ── Navbar on narrow phones ──
   Hamburger + logo + EN/BM + cart is too wide for 360px screens and pushed
   the language switch off the edge. Compact the right-hand controls, drop the
   cart label (icon + badge stay), and let the logo shrink. */
@media (max-width: 480px) {
  .mg-nav-inner { padding: 0 12px; gap: 8px; }
  .mg-nav-logo { gap: 8px; min-width: 0; }
  .mg-nav-actions { gap: 6px !important; flex-shrink: 0; }
  .mg-lang-link { padding: 6px 8px !important; }
  .mg-cart-btn { padding: 8px 11px !important; }
  .mg-cart-label { display: none; }
}

@media (max-width: 340px) {
  .mg-nav-logo-text { display: none; }
}


/* ── Shop by collection: image tiles with a white name pill ── */
.mg-shop-title {
  margin: 0 0 18px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 34px);
  color: #2a1414;
}

.mg-shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.mg-shop-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border: 3px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  background-color: #f0e4df;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 10px rgba(42, 20, 20, .12);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

a.mg-shop-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(42, 20, 20, .18);
}

.mg-shop-tile-off { opacity: .6; }

.mg-shop-pill {
  position: relative;
  max-width: 88%;
  padding: 13px 26px;
  border-radius: 999px;
  background: #fff;
  color: #2a1414;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(42, 20, 20, .12);
}

@media (min-width: 768px) {
  .mg-shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
  }
}

/* ── Shop by occasion: product picks + link to the full list ── */
.mg-occasion-results { margin-top: 6px; }

.mg-occasion-all {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 26px;
  border-radius: 999px;
  background: #8c2323;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
}

.mg-occasion-all:hover { background: #6f1b1b; }

/* ── Booster Jualan (migration 080) ── */
.mg-deadline { background: #2a0509; color: #fff; }
.mg-deadline-inner { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; text-align: center; font-family: 'Nunito', sans-serif; font-size: 13px; }
.mg-deadline-inner strong { font-weight: 900; margin-right: 6px; }
.mg-deadline-inner span { opacity: .85; }
.mg-deadline-clock { font-weight: 900; letter-spacing: .5px; background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 999px; }
.mg-deadline-clock span { opacity: 1; }
.mg-perk { max-width: 980px; margin: 18px auto 0; padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #8c2323; background: #fff5f2; border: 1.5px dashed #e8c4bd; border-radius: 14px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; text-align: center; }
@media (max-width: 1012px) { .mg-perk { margin-left: 16px; margin-right: 16px; } }
.mg-section-sub { text-align: center; color: #9e8a8a; font-size: 14px; margin: -6px 0 18px; }
.mg-has-badge { position: relative; }
.mg-badge-best, .mg-badge-save { position: absolute; top: 10px; padding: 4px 9px; border-radius: 999px; font-family: 'Nunito', sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .3px; }
.mg-badge-best { left: 10px; background: #8c2323; color: #fff; }
.mg-badge-save { right: 10px; background: #fff; color: #8c2323; border: 1.5px solid #8c2323; }
.mg-was { color: #b59b94; font-weight: 700; font-size: 12px; margin-left: 4px; }
.mg-stock-low { margin-top: 6px; color: #b4321f; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 11px; }
.mg-testi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .mg-testi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mg-testi-row { grid-template-columns: 1fr; } }
.mg-testi { margin: 0; background: #fff; border: 1.5px solid #f0e8e8; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mg-testi-shot img { width: 100%; max-height: 260px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid #f0e8e8; }
.mg-testi blockquote { margin: 0; font-size: 14px; line-height: 1.55; color: #2a1414; }
.mg-testi figcaption { margin-top: auto; font-size: 12px; color: #9e8a8a; }
.mg-testi figcaption strong { color: #2a1414; font-weight: 900; }
.mg-testi figcaption span { display: block; color: #8c2323; font-weight: 800; margin-top: 2px; }
