/* ==========================================================================
   Homepage
   ========================================================================== */

/* ---------- Hero carousel ---------- */
.hero-wrap { padding-block: 6px 10px; }
.hero-grid { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 2.65fr) minmax(0, 1fr); } }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--palette-burgundy);
  touch-action: pan-y;
}
.hero__track { display: flex; transition: transform .6s var(--ease); }
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 700px) { .hero__slide { min-height: 400px; align-items: center; } }
@media (min-width: 1000px) { .hero__slide { min-height: 440px; } }
.hero__art { position: absolute; inset: 0; background: none; }
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 3, 6, .82) 0%, rgba(10, 3, 6, .42) 42%, rgba(10, 3, 6, 0) 70%);
  pointer-events: none;
}
.hero__slide--light::after { background: linear-gradient(0deg, rgba(246, 238, 234, .96) 0%, rgba(246, 238, 234, .7) 45%, rgba(246, 238, 234, 0) 72%); }
@media (min-width: 700px) {
  .hero__slide::after { background: linear-gradient(90deg, rgba(10, 3, 6, .72) 0%, rgba(10, 3, 6, .25) 45%, rgba(10, 3, 6, 0) 62%); }
  .hero__slide--light::after { background: linear-gradient(90deg, rgba(246, 238, 234, .95) 0%, rgba(246, 238, 234, .6) 42%, rgba(246, 238, 234, 0) 60%); }
}
.hero__text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 520px;
  padding: 24px 22px 72px;
  color: var(--white);
}
.hero__slide--light .hero__text { color: var(--palette-ink); }
@media (min-width: 700px) { .hero__text { padding: 40px 48px 64px; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-12); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #F6B73C;
}
.hero__slide--light .hero__eyebrow { color: var(--palette-rose); }
.hero__title {
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-stretch: 85%;
}
.hero__sub { font-size: var(--fs-15); opacity: .9; max-width: 42ch; }
@media (min-width: 700px) { .hero__sub { font-size: var(--fs-17); } }
.hero__text .btn { margin-top: 6px; }

.hero__controls {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  display: flex; align-items: center; gap: 6px;
}
@media (min-width: 700px) { .hero__controls { left: 44px; bottom: 22px; } }
.hero__btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.hero__btn:hover { background: rgba(255, 255, 255, .3); }
.hero__btn svg { width: 17px; height: 17px; }
.hero__dots { display: flex; gap: 2px; padding: 0 4px; }
.hero__dots button { width: 22px; height: 30px; display: grid; place-items: center; }
.hero__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .5); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.hero__dots button.is-on span, .hero__dots button[aria-selected="true"] span { width: 20px; background: var(--white); }
.hero__dots button[aria-selected="true"] { width: 30px; }

/* Side tiles */
.hero-side { display: grid; gap: var(--gap); grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .hero-side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }
.side-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  border-radius: var(--r-lg);
  color: var(--white);
  background: var(--palette-burgundy);
  isolation: isolate;
}
.side-tile > .art { position: absolute; inset: 0; background: none; z-index: -1; transition: transform .6s var(--ease); }
.side-tile:hover > .art { transform: scale(1.04); }
.side-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 3, 6, .85), rgba(10, 3, 6, 0) 70%); }
.side-tile__text { display: grid; gap: 4px; padding: 16px; justify-items: start; }
.side-tile__text strong { font-family: var(--font-display); font-size: var(--fs-17); line-height: 1.15; }
@media (min-width: 1000px) { .side-tile__text strong { font-size: var(--fs-20); } }
.side-tile--event { background: var(--palette-black); align-items: stretch; }
.side-tile--event::after { display: none; }
.side-tile--event .side-tile__text { align-content: end; padding: 16px 16px 16px 0; }
.side-tile__poster { position: relative; flex: none; width: 42%; margin: 14px; border-radius: 10px; overflow: hidden; background: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); align-self: center; aspect-ratio: 5 / 7; }
.side-tile--event .btn { margin-top: 6px; }
.side-tile > .side-tile__poster { position: relative; inset: auto; z-index: 0; width: 35%; }
.side-tile:hover > .side-tile__poster { transform: none; }
@media (max-width: 520px) {
  .hero-side { grid-template-columns: 1fr; }
  .side-tile { min-height: 170px; }
}

/* ---------- Four worlds ---------- */
.worlds { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .worlds { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.world {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.world:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.world__art { aspect-ratio: 400 / 330; max-width: 100%; background: none; }
.world__art svg { transition: transform .6s var(--ease); }
.world:hover .world__art svg { transform: scale(1.05); }
.world__text { position: relative; display: grid; gap: 4px; padding: 14px 14px 16px; }
.world__stat { font-size: var(--fs-11); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wc, var(--accent-ink)); }
.world__name { font-size: var(--fs-17); font-weight: 800; }
@media (min-width: 900px) { .world__name { font-size: var(--fs-20); } }
.world__line { font-size: var(--fs-13); color: var(--text-2); padding-right: 36px; }
.world__go {
  position: absolute; right: 14px; bottom: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wc, var(--accent)); color: var(--white);
  transition: transform var(--dur) var(--ease);
}
.world:hover .world__go { transform: translateX(3px); }
.world__go svg { width: 18px; height: 18px; }
.world--clothes { --wc: var(--palette-fashion); }
.world--food { --wc: var(--palette-coral-red); }
.world--resale { --wc: var(--palette-burgundy); }
.world--events { --wc: var(--palette-black); }
@media (max-width: 520px) { .world__line { display: none; } .world__go { width: 28px; height: 28px; bottom: 12px; right: 10px; } }

/* ---------- Flash deals ---------- */
.deals__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 16px; }
.deals__title { display: flex; align-items: center; gap: 12px; }
.deals__flash { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--promo); color: var(--white); flex: none; }
.deals__flash svg { width: 22px; height: 22px; fill: currentColor; }
.deals__head .link { margin-left: auto; }
.countdown { display: flex; align-items: center; gap: 4px; }
.countdown__box {
  display: grid; justify-items: center;
  min-width: 46px; padding: 6px 6px 4px;
  border-radius: 8px;
  background: var(--contrast);
  color: var(--white);
  font-weight: 800; font-size: var(--fs-17); line-height: 1;
}
.countdown__box small { font-size: 9px; font-weight: 700; opacity: .7; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.countdown__sep { font-weight: 800; color: var(--contrast); }
@media (max-width: 520px) { .deals__head .link { margin-left: 0; } .countdown { order: 3; width: 100%; } }

/* ---------- Second hand on home ---------- */
.resale-home { display: grid; gap: var(--gap); align-items: stretch; }
@media (min-width: 1000px) { .resale-home { grid-template-columns: minmax(0, 1fr) 280px; } }
.resale-home > div { min-width: 0; }
.sell-cta {
  position: relative;
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 300px;
  padding: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line);
}
.sell-cta .art { position: absolute; inset: 0 0 auto; height: 62%; z-index: -1; background: none; }
.sell-cta strong { font-family: var(--font-display); font-size: var(--fs-20); }
.sell-cta .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 999px) { .sell-cta { min-height: 0; grid-template-columns: 1fr; padding-top: 170px; } .sell-cta .art { height: 160px; } }

/* ---------- Events band ---------- */
.events-band { padding-block: 34px 38px; background: radial-gradient(120% 90% at 85% 0%, #3A1424 0%, var(--bg) 60%); }
.events-band .sec__title { color: var(--text); }
.events-band .link { color: var(--palette-coral); }
.events-band .eyebrow { color: var(--palette-coral); }

/* ---------- Promos ---------- */
.promos { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promo {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 210px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.promo .art { position: absolute; inset: 0; z-index: -1; transition: transform .6s var(--ease); }
.promo:hover .art { transform: scale(1.04); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 5, 10, .78), rgba(20, 5, 10, 0) 65%); }
.promo__text { display: grid; gap: 6px; padding: 22px; justify-items: start; max-width: 340px; }
.promo__text strong { font-family: var(--font-display); font-size: var(--fs-24); line-height: 1.1; font-weight: 800; }
.promo__text .btn { margin-top: 6px; }

/* ==========================================================================
   Seasonal sale slide — same photo layout as the other hero slides
   ========================================================================== */
.hero__slide--season .hero__art img { object-position: 70% 50%; }
.hero__slide--season::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; z-index: 2;
  background: url("../img/patterns/border.svg") repeat-x 0 0 / 48px 12px;
  opacity: .95;
}
.hero__spark { display: inline-block; width: 8px; height: 8px; margin-right: 8px; transform: rotate(45deg); background: #F7C948; vertical-align: 1px; }
.hero__title--offer { display: grid; gap: 0; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); line-height: .95; }
.hero__title--offer small { font-size: .38em; font-weight: 700; letter-spacing: .02em; opacity: .9; }
.hero__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hero__quick a {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12);
  color: #fff; font-size: var(--fs-13); font-weight: 650; backdrop-filter: blur(6px);
}
.hero__quick a:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 699px) { .hero__quick { display: none; } }

/* ---------- First-order offer bar ---------- */
.offerbar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; padding: 10px 14px 10px 10px;
  border-radius: 12px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(35, 11, 21, .03);
  position: relative; overflow: hidden;
}
.offerbar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-festive); }
.offerbar__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #FDEAF3; color: var(--in-rani); flex: none; margin-left: 6px; }
.offerbar__icon svg { width: 18px; height: 18px; }
.offerbar__text { flex: 1; min-width: 0; font-size: var(--fs-14); color: var(--text-2); }
.offerbar__text b { color: var(--text); margin-right: 4px; }
.offerbar__code { padding: 4px 10px; border-radius: 6px; border: 1.5px dashed var(--in-rani); color: var(--in-rani); font-weight: 800; letter-spacing: .06em; font-size: var(--fs-13); flex: none; }
.offerbar__go { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: var(--fs-13); color: var(--text); flex: none; }
.offerbar__go svg { width: 16px; height: 16px; }
.offerbar:hover { border-color: #F1C4D8; }
@media (max-width: 699px) { .offerbar__go { display: none; } .offerbar__text { font-size: var(--fs-13); } }

/* ---------- Six worlds: photo cards, 3 × 2 ---------- */
.worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.world {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); border: 0; box-shadow: none; background: #2a1018; color: #fff;
}
.world .world__art { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
.world .world__art img { width: 100%; height: 100%; object-fit: cover; }
.world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 5, 10, .86) 0%, rgba(20, 5, 10, .35) 42%, rgba(20, 5, 10, 0) 68%); }
.world .world__text { width: 100%; padding: 16px 18px 18px; background: none; }
.world .world__stat { color: #F7C948; }
.world .world__name { color: #fff; }
.world .world__line { color: rgba(255, 255, 255, .82); padding-right: 46px; }
.world .world__go { background: rgba(255, 255, 255, .95); color: var(--palette-ink); }
@media (max-width: 599px) { .world { aspect-ratio: 3 / 4; } .world .world__line { display: none; } .world .world__name { font-size: var(--fs-15); } }

/* ---------- Sell with Myasa band ---------- */
.seller-band {
  display: grid; overflow: hidden;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
}
@media (min-width: 900px) { .seller-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.seller-band__art { position: relative; min-height: 220px; }
.seller-band__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seller-band__text { display: grid; gap: 12px; align-content: center; justify-items: start; padding: 26px 24px; }
@media (min-width: 900px) { .seller-band__text { padding: 36px 44px; } }
.seller-band__text .eyebrow { color: var(--in-saffron-ink); }
.seller-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 4px 0; }
.seller-facts li { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--grad-festive-soft); }
.seller-facts b { font-family: var(--font-display); font-size: var(--fs-24, 1.5rem); line-height: 1; color: var(--palette-ink); }
.seller-facts span { font-size: var(--fs-12); color: var(--text-2); }
.seller-band__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Shortcut cards (option B) sit in their own section under the hero */
.shortcards-sec .sec__head { margin-bottom: 12px; }
