/* Moaiven Commerce 2.5.7 — production-facing visual polish */

/* --------------------------------------------------------------------------
   HOME HERO — cleaner composition, stronger brand color, no mockup bubbles
   -------------------------------------------------------------------------- */
.home .mv2-hero {
  min-height: clamp(680px, 84svh, 820px) !important;
  background: #05253b !important;
}

.home .mv2-hero::before,
.home .mv2-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(12px);
}

.home .mv2-hero::before {
  width: clamp(260px, 33vw, 620px);
  height: clamp(260px, 33vw, 620px);
  right: -10%;
  top: -14%;
  background: radial-gradient(circle, rgba(21, 197, 220, .35) 0%, rgba(21, 197, 220, 0) 68%);
}

.home .mv2-hero::after {
  width: clamp(220px, 28vw, 520px);
  height: clamp(220px, 28vw, 520px);
  left: 32%;
  bottom: -26%;
  background: radial-gradient(circle, rgba(10, 111, 190, .34) 0%, rgba(10, 111, 190, 0) 70%);
}

.home .mv2-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 19, 31, .87) 0%, rgba(4, 34, 54, .69) 40%, rgba(4, 57, 79, .20) 72%, rgba(5, 48, 67, .28) 100%),
    linear-gradient(180deg, rgba(4, 31, 47, .08) 0%, rgba(4, 32, 49, .18) 58%, rgba(3, 22, 34, .68) 100%) !important;
}

.home .mv2-hero-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(250px, .84fr) !important;
  min-height: clamp(620px, 76svh, 730px) !important;
  padding-top: clamp(108px, 10vw, 146px) !important;
  padding-bottom: clamp(86px, 8vw, 120px) !important;
}

.home .mv2-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 840px !important;
}

.home .mv2-hero-copy h1 {
  font-size: clamp(4.4rem, 7vw, 8rem) !important;
  text-shadow: 0 9px 34px rgba(0, 0, 0, .18);
}

.home .mv2-hero-copy h1 em {
  color: #65e4ef !important;
  text-shadow: 0 0 34px rgba(40, 201, 221, .22);
}

.home .mv2-hero-copy > p {
  color: rgba(244, 252, 255, .92) !important;
  max-width: 620px !important;
}

.home .mv2-hero-ui {
  min-height: 300px !important;
  align-self: end !important;
  z-index: 3;
}

.home .mv2-hero-index {
  right: 0 !important;
  bottom: 2% !important;
  gap: 12px 18px !important;
  padding: 18px 20px !important;
  border-left: 2px solid rgba(92, 225, 239, .72);
  background: linear-gradient(90deg, rgba(4, 28, 44, .12), rgba(4, 28, 44, .48));
  backdrop-filter: blur(8px);
  border-radius: 0 16px 16px 0;
}

.home .mv2-hero-index span {
  color: #72e4ee !important;
}

.home .mv2-hero-index strong {
  font-size: .82rem;
  letter-spacing: .1em;
}

/* --------------------------------------------------------------------------
   HOME VALUE CARDS — less technical, more premium/commercial
   -------------------------------------------------------------------------- */
.home .mv2-trust-line {
  padding: 26px 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%) !important;
  border-bottom: 0 !important;
}

.home .mv2-trust-grid {
  gap: 14px !important;
}

.home .mv2-trust-grid > .mv2-trust-card {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 24px 22px !important;
  border: 1px solid #e0ebf0 !important;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 32px rgba(4, 35, 58, .06);
}

.home .mv2-trust-grid > .mv2-trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0a74b8, #19bed2);
}

.home .mv2-trust-grid .mv2-trust-card > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px !important;
  border-radius: 50%;
  background: #e8f7fb;
  color: #0a6aa8 !important;
  font-size: .68rem !important;
  letter-spacing: .05em !important;
}

.home .mv2-trust-grid .mv2-trust-card strong {
  font-size: 1rem !important;
  line-height: 1.28;
  margin-bottom: 8px !important;
}

.home .mv2-trust-grid .mv2-trust-card p {
  max-width: none !important;
  font-size: .86rem !important;
  line-height: 1.55 !important;
}

/* --------------------------------------------------------------------------
   PROCESS — arrow/chevron journey on desktop; vertical flow on mobile
   -------------------------------------------------------------------------- */
.home .mv2-journey {
  padding: clamp(72px, 7vw, 108px) 0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(17, 177, 204, .20), transparent 30%),
    radial-gradient(circle at 88% 90%, rgba(12, 104, 173, .24), transparent 34%),
    linear-gradient(135deg, #041a2a 0%, #062e49 54%, #063e5b 100%) !important;
}

.home .mv2-journey::before {
  opacity: .55;
}

.home .mv2-journey .mv2-section-head {
  margin-bottom: 38px !important;
}

.home .mv2-journey .mv2-section-head h2 {
  max-width: 760px;
}

.home .mv2-journey .mv2-section-head p {
  color: #c9dce4 !important;
}

.home .mv2-journey-line {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

.home .mv2-journey-line::before {
  display: none !important;
}

.home .mv2-journey-step {
  position: relative;
  min-height: 205px;
  padding: 30px 42px 28px 30px !important;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .11);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 18px 50%);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.home .mv2-journey-step:first-child {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}

.home .mv2-journey-step:nth-child(2) { background: rgba(34, 181, 205, .10); }
.home .mv2-journey-step:nth-child(3) { background: rgba(32, 137, 190, .12); }
.home .mv2-journey-step:nth-child(4) { background: rgba(21, 104, 161, .16); }

.home .mv2-journey-step > span {
  position: static !important;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 0 !important;
  border: 1px solid rgba(114, 228, 238, .45);
  border-radius: 50%;
  background: rgba(8, 44, 65, .88) !important;
  color: #78e9f1 !important;
  font-size: .68rem !important;
}

.home .mv2-journey-step strong {
  color: #fff;
  font-size: clamp(1.25rem, 1.55vw, 1.65rem) !important;
  margin-bottom: 10px !important;
}

.home .mv2-journey-step p {
  color: #c7d8e1 !important;
  font-size: .88rem;
  line-height: 1.58 !important;
  max-width: 250px !important;
}

@media (hover: hover) and (pointer: fine) {
  .home .mv2-journey-step:hover {
    transform: translateY(-4px);
    background: rgba(29, 176, 201, .16);
    border-color: rgba(103, 224, 237, .24);
  }
}

/* --------------------------------------------------------------------------
   SHOP — large category discovery before search/results
   -------------------------------------------------------------------------- */
.mv2-shop-category-section {
  padding: clamp(54px, 5.5vw, 82px) 0 clamp(46px, 5vw, 72px);
  background: #fff;
}

.mv2-shop-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-bottom: 28px;
}

.mv2-shop-category-head h2 {
  margin: 12px 0 0;
  color: var(--mv2-midnight);
  font-size: clamp(2.7rem, 4.4vw, 5rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.mv2-shop-category-head p {
  margin: 0;
  max-width: 520px;
  justify-self: end;
  color: var(--mv2-body);
  line-height: 1.65;
}

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

.mv2-shop-category-card {
  position: relative;
  min-height: clamp(250px, 20vw, 340px);
  overflow: hidden;
  border-radius: 24px;
  background: #dce8ed;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(4, 35, 58, .08);
  isolation: isolate;
}

.mv2-shop-category-media,
.mv2-shop-category-media img,
.mv2-shop-category-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mv2-shop-category-media img {
  object-fit: cover;
  transition: transform .35s ease;
}

.mv2-shop-category-shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 24, 38, .02) 22%, rgba(4, 24, 38, .76) 100%);
}

.mv2-shop-category-copy {
  position: absolute;
  z-index: 2;
  inset: auto 20px 20px;
}

.mv2-shop-category-copy small {
  display: block;
  margin-bottom: 5px;
  color: #a8ecf3;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mv2-shop-category-copy strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  line-height: 1.08;
}

.mv2-shop-category-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: .76rem;
  font-weight: 750;
}

.mv2-shop-category-copy svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (hover: hover) and (pointer: fine) {
  .mv2-shop-category-card:hover .mv2-shop-category-media img {
    transform: scale(1.045);
  }
}

.mv2-shop-category-section + .mv2-shop-toolbar {
  border-top: 1px solid var(--mv2-line);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .home .mv2-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .45fr) !important;
  }

  .home .mv2-journey-line {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home .mv2-journey-step,
  .home .mv2-journey-step:first-child {
    clip-path: none;
    border-radius: 20px;
  }

  .mv2-shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv2-shop-category-card {
    min-height: 310px;
  }
}

@media (max-width: 781px) {
  .home .mv2-hero {
    min-height: 700px !important;
  }

  .home .mv2-hero-grid {
    grid-template-columns: 1fr !important;
    min-height: 700px !important;
    padding: 88px 0 92px !important;
    align-content: center;
  }

  .home .mv2-hero-copy h1 {
    font-size: clamp(3.4rem, 13.5vw, 5.5rem) !important;
  }

  .home .mv2-hero-ui {
    display: none !important;
  }

  .home .mv2-hero-overlay {
    background:
      linear-gradient(0deg, rgba(3, 22, 34, .91) 0%, rgba(4, 37, 55, .62) 58%, rgba(5, 55, 71, .22) 100%),
      linear-gradient(90deg, rgba(4, 33, 51, .56), rgba(6, 103, 130, .10)) !important;
  }

  .home .mv2-trust-line {
    padding: 18px 0 !important;
  }

  .home .mv2-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .home .mv2-trust-grid > .mv2-trust-card {
    min-height: 170px;
    padding: 20px 18px !important;
    border: 1px solid #e0ebf0 !important;
  }

  .home .mv2-journey-line {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .home .mv2-journey-step,
  .home .mv2-journey-step:first-child {
    min-height: 0;
    padding: 24px 24px 24px 74px !important;
    border-radius: 20px;
    clip-path: none;
  }

  .home .mv2-journey-step > span {
    position: absolute !important;
    top: 24px !important;
    left: 22px !important;
    margin: 0 !important;
  }

  .home .mv2-journey-step:not(:last-child)::after {
    content: "↓";
    position: absolute;
    left: 34px;
    bottom: -21px;
    z-index: 5;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1ab7cc;
    color: #062335;
    font-size: .82rem;
    font-weight: 900;
  }

  .home .mv2-journey-step p {
    max-width: none !important;
  }

  .mv2-shop-category-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mv2-shop-category-head p {
    justify-self: start;
  }

  .mv2-shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mv2-shop-category-card {
    min-height: clamp(210px, 44vw, 300px);
    border-radius: 18px;
  }

  .mv2-shop-category-copy {
    inset: auto 14px 14px;
  }
}

@media (max-width: 560px) {
  .home .mv2-trust-grid {
    grid-template-columns: 1fr !important;
  }

  .home .mv2-trust-grid > .mv2-trust-card {
    min-height: 0;
    padding: 20px !important;
  }

  .home .mv2-trust-grid .mv2-trust-card > span {
    margin-bottom: 14px !important;
  }

  .mv2-shop-category-section {
    padding: 42px 0 40px;
  }

  .mv2-shop-category-head h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .mv2-shop-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv2-shop-category-card {
    min-height: 190px;
  }

  .mv2-shop-category-copy strong {
    font-size: 1.25rem;
  }

  .mv2-shop-category-copy > span {
    font-size: .7rem;
  }
}

@media (max-width: 390px) {
  .mv2-shop-category-grid {
    grid-template-columns: 1fr;
  }

  .mv2-shop-category-card {
    min-height: 225px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv2-shop-category-media img,
  .home .mv2-journey-step {
    transition: none !important;
  }
}
