:root {
  color-scheme: light;
  --ink: #221836; --muted: #635b70; --purple: #5935c3; --deep: #4526a4;
  --lavender: #f2ecff; --line: #ebe6f1; --page: #fbfaff; --radius: 18px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink); background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a265ed; outline-offset: 3px; }
.wrap { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 14px; top: -55px; padding: 10px; background: white; z-index: 20; }
.skip:focus { top: 10px; }
.notice { min-height: 32px; background: #5632b6; color: white; font-size: .81rem; font-weight: 650; display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 5px 12px; }
[data-icon], .icon { display: inline-grid; place-items: center; flex-shrink: 0; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.nav { min-height: 80px; display: flex; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand strong { display: block; color: #321d61; font-size: 1.32rem; font-weight: 850; letter-spacing: -.06em; line-height: 1.06; }
.brand small { display: block; margin-top: 5px; color: #634d85; font-size: .64rem; letter-spacing: .13em; font-weight: 800; white-space: nowrap; }
.brand-mark { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; background: #6541ce; color: #fff; }
.bare { border: 0; background: none; color: inherit; padding: 0; }
.location { display: flex; align-items: center; gap: 8px; padding: 5px 0 5px 20px; border-left: 1px solid var(--line); text-align: left; flex-shrink: 0; }
.location:hover strong, .favorite-nav:hover { color: var(--purple); }
.location-icon, .location > :last-child { color: var(--purple); }
.location strong, .location small { display: block; white-space: nowrap; }
.location strong { font-size: .88rem; }
.location small { color: var(--muted); font-size: .77rem; margin-top: 3px; }
.search { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border: 1px solid #eee9f5; border-radius: 11px; color: #716780; background: #f8f6fb; }
.search:focus-within { border-color: #9169e4; }
.search input { background: transparent; border: 0; outline: 0; padding: 10px 0; color: var(--ink); width: 100%; min-width: 0; font-size: .92rem; }
.search input::placeholder { color: #726a80; }
.favorite-nav { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .9rem; font-weight: 670; }
.favorite-nav[aria-pressed=true] { color: var(--purple); }
.favorite-nav[aria-pressed=true] svg { fill: #e8dcff; }
.primary, .shop-now { font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; border: 0; background: var(--purple); padding: 11px 16px; min-height: 44px; border-radius: 10px; text-decoration: none; transition: background-color .16s ease; }
.primary:hover { background: var(--deep); }
.cart-top { flex-shrink: 0; font-size: .9rem; }
#cart-count { min-width: 22px; padding: 3px 5px; border-radius: 7px; background: #ffffff29; font-size: .75rem; }
.hero { position: relative; isolation: isolate; background: #eadffd; border-radius: 23px; overflow: hidden; min-height: 380px; margin-top: 27px; display: flex; align-items: center; }
.hero-picture { position: absolute; z-index: -1; inset: 0 0 0 39%; overflow: hidden; }
.hero-picture img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.hero-picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eadffd, #eadffd00 48%); }
.hero-inner { position: relative; z-index: 1; width: min(60%, 665px); padding: 34px 43px; }
.hero-label { display: inline-flex; align-items: center; gap: 7px; color: #4b269f; background: #e2d3fd; padding: 7px 10px; border-radius: 30px; font-weight: 830; font-size: .68rem; letter-spacing: .09em; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.65rem, 4.25vw, 4.1rem); line-height: .99; letter-spacing: -.07em; font-weight: 850; margin: 15px 0 13px; color: #261547; }
h1 em { display: block; font-style: normal; color: #6740cd; }
.hero-inner p { color: #554667; line-height: 1.5; max-width: 340px; margin-bottom: 19px; }
.shop-now { color: #272038; background: #ffd450; padding-inline: 22px; }
.shop-now:hover { background: #ffca23; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; background: white; margin-top: 16px; }
.benefit { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 10px; border: 0; background: transparent; text-align: left; color: inherit; min-width: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); }
button.benefit:hover strong { color: var(--purple); }
.benefit-icon { color: var(--purple); background: var(--lavender); border-radius: 10px; width: 38px; height: 38px; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: .91rem; }
.benefit small { margin-top: 3px; color: var(--muted); font-size: .78rem; }
.categories { padding-top: 29px; }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); font-weight: 820; line-height: 1.1; letter-spacing: -.048em; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.category { display: flex; align-items: center; gap: 11px; padding: 10px; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; color: var(--ink); min-width: 0;
  transition: border-color .18s, background-color .18s; }
.category:hover, .category[aria-pressed=true] { border-color: #c9b5f3; background: #faf7ff; }
.category-copy strong, .category-copy small { display: block; }
.category-copy strong { font-size: 1.02rem; letter-spacing: -.025em; }
.category-copy small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.category-picture { display: block; width: clamp(54px, 6vw, 88px); aspect-ratio: 1; flex: 0 0 auto; overflow: hidden; border-radius: 10px; }
.category-picture img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.category[data-department=footwear] .category-picture { background: #e8e6ff; }
.category[data-department=beauty] .category-picture { background: #ffe7ed; }
.category[data-department=household] .category-picture { background: #e1f3e9; }
.category[data-department=others] .category-picture { background: #fff0d3; }
.category-trail, .subcategory-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 13px; }
.category-trail { color: var(--muted); font-size: .88rem; }
.category-trail button { color: var(--purple); min-height: 32px; }
.category-trail button:hover, .footer-place:hover { text-decoration: underline; }
.category-trail [aria-current] { color: var(--ink); font-weight: 700; }
.pickup-details { display: flex; gap: 7px; align-items: center; margin: 0 0 10px; color: var(--deep); font-size: .9rem; }
.pickup-details + .panel-sub { margin-bottom: 14px; }
.catalog { padding-block: 31px 46px; scroll-margin-top: 18px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.catalog-heading p:empty { display: none; }
.catalog-heading p { color: var(--muted); margin-top: 5px; font-size: .92rem; }
.see-all { color: var(--deep); font-size: .91rem; font-weight: 730; text-align: right; min-height: 38px; }
.see-all:hover { text-decoration: underline; }
.sample-note { margin-bottom: 12px; color: #5e4a78; font-size: .84rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.product-image { width: 100%; aspect-ratio: 1.48; background: #f8f8fa; border-radius: 9px; overflow: hidden; display: grid; place-items: center; color: var(--purple); }
.product-image img { display: block; height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card .love { position: absolute; top: 16px; right: 16px; }
.love, .close { display: inline-grid; place-items: center; color: #624b80; background: white; border: 1px solid var(--line); width: 38px; height: 38px; border-radius: 50%; }
.love:hover, .love[aria-pressed=true] { color: var(--purple); border-color: #dbcbf7; }
.love[aria-pressed=true] svg { fill: #dfcff9; }
.card-copy { padding: 11px 3px 4px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0; font-size: .98rem; line-height: 1.3; font-weight: 780; letter-spacing: -.02em; }
.product-name { text-align: left; }
.product-name:hover { color: var(--purple); text-decoration: underline; }
.unit { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-top: 12px; margin-top: auto; }
.price { font-weight: 840; font-size: 1.08rem; }
.out-stock { font-weight: 650; color: #6d5a7a; font-size: .76rem; }
.add, .stepper, .secondary { min-height: 38px; padding: 5px 9px; display: inline-flex; justify-content: center; align-items: center; gap: 6px; border-radius: 8px; border: 1px solid #dfd3f6; color: #5125a5; background: #f5efff; font-size: .87rem; font-weight: 760; }
.add:hover, .secondary:hover { background: #eadffd; }
.stepper { padding: 0; overflow: hidden; gap: 1px; white-space: nowrap; }
.stepper button { background: transparent; color: inherit; border: 0; display: grid; place-items: center; min-width: 26px; min-height: 37px; padding: 0 3px; }
.stepper button:hover { background: #e8ddfc; }
.stepper span { min-width: 14px; text-align: center; }
.load-state, .empty { grid-column: 1 / -1; text-align: center; color: var(--muted); background: #fff; border: 1px dashed #d6c8ee; border-radius: 13px; padding: 30px 14px; line-height: 1.5; }
.empty button, .load-state button { margin-top: 12px; }
footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 85px; }
.footer-place { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
dialog { padding: 0; border: 1px solid var(--line); color: var(--ink); border-radius: 20px; max-width: calc(100% - 28px); width: 460px; max-height: calc(100dvh - 30px); box-shadow: 0 15px 55px #22183632; }
dialog::backdrop { background: #21133270; }
dialog.drawer { margin: 0 0 0 auto; max-height: 100dvh; height: 100dvh; border-radius: 20px 0 0 20px; }
.panel-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line); background: white; position: sticky; top: 0; z-index: 1; }
.panel-content { padding: 19px 20px 22px; }
.panel-content p { line-height: 1.5; }
.panel-sub { color: var(--muted); margin-bottom: 13px; }
.panel-actions { display: grid; gap: 9px; margin-top: 16px; }
.panel-actions .secondary { min-height: 44px; }
.panel-list { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-line .product-image { aspect-ratio: 1; }
.cart-line strong, .cart-line small { display: block; }
.cart-line small { color: var(--muted); margin-top: 4px; }
.totals { display: grid; gap: 8px; margin-top: 16px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals > :last-child { padding-top: 9px; border-top: 1px solid var(--line); font-weight: 810; }
form { margin: 0; }
.field { display: grid; gap: 5px; font-size: .9rem; font-weight: 710; margin-block: 12px; }
.field input, .field textarea { width: 100%; padding: 10px; border: 1px solid #dcd2e9; border-radius: 8px; color: var(--ink); }
.field textarea { resize: vertical; }
.fulfillment { padding: 0; margin: 0 0 14px; display: grid; gap: 7px; border: 0; }
.fulfillment legend { font-weight: 760; margin-bottom: 8px; }
.fulfillment label { display: flex; gap: 8px; padding: 10px; font-size: .91rem; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.fulfillment input { accent-color: var(--purple); }
.fulfillment label:has(input:checked) { border-color: #cbb7f1; background: #f8f5ff; }
.form-message { color: #97274b; font-size: .88rem; margin-top: 8px; }
.delivery-state { color: #54387e; background: var(--lavender); padding: 10px; border-radius: 8px; font-size: .89rem; margin-top: 10px; }
.success-icon { width: 52px; height: 52px; border-radius: 15px; color: #347345; background: #e5f6ea; display: grid; place-items: center; margin-bottom: 13px; }
.toast { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 5; background: #322153; color: white; border-radius: 10px; padding: 10px 14px; width: max-content; max-width: calc(100% - 28px); font-size: .91rem; box-shadow: 0 7px 21px #24133b27; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .nav { gap: 17px; }
  .favorite-label { display: none; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: auto; padding-block: 10px; gap: 8px 10px; flex-wrap: wrap; }
  .brand { margin-right: auto; gap: 7px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand strong { font-size: 1.12rem; }
  .brand small { font-size: .54rem; margin-top: 3px; }
  .location { order: 6; padding: 4px 0; border: 0; }
  .location strong { font-size: .76rem; }
  .location small { font-size: .71rem; }
  .location-icon > svg { width: 17px; }
  .search { order: 5; flex-basis: 100%; height: 42px; }
  .favorite-nav { min-width: 38px; justify-content: center; }
  .cart-top { min-height: 38px; padding: 6px 9px; }
  .cart-label { display: none; }
  .hero { margin-top: 14px; min-height: 0; display: block; border-radius: 17px; }
  .hero-inner { width: 100%; padding: 20px 19px 0; }
  .hero-label { letter-spacing: .055em; }
  h1 { font-size: clamp(2.25rem, 9.2vw, 3.25rem); margin-block: 9px 10px; }
  .hero-inner p { margin-bottom: 13px; max-width: 300px; font-size: .91rem; }
  .hero-picture { position: relative; display: block; inset: auto; height: min(55vw, 265px); margin-top: -5px; }
  .hero-picture img { position: absolute; inset: 0; object-position: 58% 52%; }
  .hero-picture::after { background: linear-gradient(180deg, #eadffd, #eadffd00 18%); }
  .hero-inner { position: relative; z-index: 1; }
  .hero { display: flex; flex-direction: column-reverse; }
  .benefits { margin-top: 12px; }
  .benefit { flex-direction: column; gap: 5px; padding: 8px 4px; text-align: center; }
  .benefit-icon { width: 32px; height: 32px; }
  .benefit-icon svg { width: 18px; }
  .benefit strong { font-size: .78rem; }
  .benefit small { font-size: .69rem; line-height: 1.25; }
  .categories { padding-top: 22px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category { padding: 7px; gap: 7px; }
  .category-copy strong { font-size: .88rem; }
  .category-copy small { font-size: .72rem; margin-top: 2px; }
  .category-picture { width: clamp(38px, 12vw, 65px); }
  .catalog { padding-block: 23px 30px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card { padding: 6px; }
  .card .love { top: 10px; right: 10px; width: 32px; height: 32px; }
  .card h3 { font-size: .88rem; }
  .card-bottom { padding-top: 8px; }
  .card-copy { padding: 7px 2px 3px; }
  .price { font-size: 1rem; }
  .catalog-heading p { font-size: .86rem; }
  .see-all { font-size: .8rem; }
  .footer-inner { min-height: 69px; padding-block: 9px; flex-wrap: wrap; gap: 8px; }
  .footer-place { font-size: .79rem; }
  dialog.drawer { max-width: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.searching .hero, .searching .benefits, .searching .categories { display: none; }
