@charset "UTF-8";
:root {
  --kc-crimson: #9b1c2e;
  --kc-crimson-deep: #6f121f;
  --kc-ink: #151311;
  --kc-muted: #6a655d;
  --kc-line: #ddd8cf;
  --kc-mist: #eef0f3;
  --kc-paper: #f3f4f6;
  --kc-surface: #ffffff;
  --kc-brass: #9a7b45;
  --kc-shadow: 0 18px 40px rgba(21, 19, 17, 0.08);
  --font-display: "Fraunces", "Noto Sans TC", Georgia, serif;
  --font-body: "Source Sans 3", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --shop-shell: min(1120px, calc(100% - 2rem));
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.shop-body {
  margin: 0;
  color: var(--kc-ink);
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(155, 28, 46, 0.06), transparent 55%), linear-gradient(180deg, var(--kc-mist) 0%, var(--kc-paper) 40%, #ebecef 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.shop-body.nav-open {
  overflow: hidden;
}
.shop-shell {
  width: var(--shop-shell);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a {
  color: var(--kc-crimson);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--kc-crimson-deep);
}
/* ——— Top bar ——— */
.shop-topbar {
  background: var(--kc-ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}
.shop-topbar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.shop-topbar a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.shop-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}
.shop-topbar__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-topbar select, .shop-topbar .mall-selectbox-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 0.4rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.4;
}
/* ——— Header ——— */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 244, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.shop-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--kc-line);
  box-shadow: 0 8px 24px rgba(21, 19, 17, 0.05);
}
.shop-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.shop-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.shop-brand:hover {
  color: inherit;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  display: block;
  width: auto;
  height: 2.75rem;
  max-width: min(260px, 48vw);
  object-fit: contain;
}
.logo--footer img {
  height: 3.25rem;
  max-width: 280px;
}
.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}
.shop-icon-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.shop-action {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.45rem;
  color: var(--kc-ink);
  text-decoration: none;
  border-radius: 0.65rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.shop-action:hover {
  background: rgba(155, 28, 46, 0.08);
  color: var(--kc-crimson);
  text-decoration: none;
}
.shop-action__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
.shop-action__label {
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  max-width: 4.5rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-action__badge {
  position: absolute;
  top: 0;
  right: 0.15rem;
  z-index: 2;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--kc-crimson);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.15rem;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--kc-surface);
  pointer-events: none;
}
.shop-action__badge.is-empty, .shop-action__badge.invisible {
  display: none !important;
}
.mall-wishlist-icon.is-active {
  color: var(--kc-crimson);
}
/* Search */
.shop-search__form {
  position: relative;
  display: flex;
  align-items: center;
}
.shop-search__input {
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 2.5rem 0 0.95rem;
  border: 1px solid var(--kc-line);
  border-radius: 0.55rem;
  background: var(--kc-surface);
  color: var(--kc-ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.shop-search__input:focus {
  border-color: rgba(155, 28, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(155, 28, 46, 0.12);
}
.shop-search__submit {
  position: absolute;
  right: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--kc-muted);
  cursor: pointer;
}
.shop-search--header {
  width: min(220px, 28vw);
}
.shop-search--mobile {
  margin-bottom: 1rem;
}
/* Nav */
.shop-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop-nav__link {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  color: var(--kc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: 0.45rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.shop-nav__link:hover, .shop-nav__item.is-active > .shop-nav__link {
  background: rgba(155, 28, 46, 0.08);
  color: var(--kc-crimson);
}
.shop-nav__sub {
  display: none;
}
.shop-nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--kc-line);
  border-radius: 0.75rem;
  background: var(--kc-surface);
  cursor: pointer;
}
.shop-nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.22rem auto;
  background: var(--kc-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.shop-nav-panel {
  display: none;
}
/* ——— Hero ——— */
.shop-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(28rem, 72vh, 40rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #1a1012;
}
.shop-hero__media {
  position: absolute;
  inset: 0;
  background-color: #050505;
  background-position: 72% center;
  background-size: cover;
  transform: scale(1.03);
  animation: shop-hero-drift 18s var(--ease) infinite alternate;
  z-index: -2;
}
.shop-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(12, 8, 9, 0.94) 0%, rgba(12, 8, 9, 0.78) 38%, rgba(12, 8, 9, 0.28) 68%, rgba(12, 8, 9, 0.45) 100%), linear-gradient(0deg, rgba(12, 8, 9, 0.55) 0%, transparent 40%);
}
.shop-hero__content {
  position: relative;
  padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 40rem;
  animation: shop-rise 0.9s var(--ease) both;
}
.shop-hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
}
.shop-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 650;
  line-height: 1.25;
  max-width: 18ch;
}
.shop-hero__text {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}
.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.shop-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.shop-btn--primary {
  background: #fff;
  color: var(--kc-crimson-deep);
}
.shop-btn--primary:hover {
  background: #fff7f7;
  color: var(--kc-crimson);
}
.shop-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.shop-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.shop-feature {
  display: block;
  background: #000;
  line-height: 0;
  overflow: hidden;
}
.shop-feature__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  transition: transform 0.8s var(--ease);
}
.shop-feature:hover .shop-feature__image {
  transform: scale(1.015);
}
/* ——— Collection / main ——— */
.shop-main--padded {
  padding: 2rem 0 3.5rem;
}
.shop-main--padded > .container, .shop-main--padded > .flex, .shop-main--padded > div {
  width: var(--shop-shell);
  margin-inline: auto;
}
.shop-collection {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
}
.shop-section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
  animation: shop-rise 0.8s 0.1s var(--ease) both;
}
.shop-section-head__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.shop-section-head__text {
  margin: 0;
  color: var(--kc-muted);
}
/* Product grid overrides */
.mall-products {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.mall-products__products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.mall-products-item {
  width: auto !important;
  padding: 0 !important;
  animation: shop-rise 0.7s var(--ease) both;
}
.mall-products-item:nth-child(1) {
  animation-delay: 0.05s;
}
.mall-products-item:nth-child(2) {
  animation-delay: 0.1s;
}
.mall-products-item:nth-child(3) {
  animation-delay: 0.15s;
}
.mall-products-item:nth-child(4) {
  animation-delay: 0.2s;
}
.mall-products-item:nth-child(5) {
  animation-delay: 0.25s;
}
.mall-products-item:nth-child(6) {
  animation-delay: 0.3s;
}
.mall-products-item__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
  background: var(--kc-surface);
  border: 1px solid rgba(221, 216, 207, 0.7);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.mall-products-item__link:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 28, 46, 0.25);
  box-shadow: var(--kc-shadow);
  color: inherit;
}
.mall-products-item__image {
  height: 240px !important;
  border-bottom: 0 !important;
  background: linear-gradient(180deg, #fafafa 0%, #f0f1f3 100%);
  padding: 1rem;
}
.mall-products-item__image img {
  transition: transform 0.55s var(--ease);
}
.mall-products-item__link:hover .mall-products-item__image img {
  transform: scale(1.04);
}
.mall-products-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}
.mall-products-item__name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}
.mall-products-item__short-description {
  color: var(--kc-muted);
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mall-products-item__pricing {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.45rem;
}
.mall-products-item__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--kc-crimson);
  padding-left: 0 !important;
}
.mall-products-item__old-price {
  color: var(--kc-muted);
  font-size: 0.85rem;
  padding-left: 0 !important;
}
.mall-products-item__info-primary, .mall-products-item__info-secondary {
  display: block !important;
}
/* Product detail polish */
.mall-product__name {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.mall-add-to-cart-button, .mall-btn-primary, button.mall-btn.mall-btn-primary {
  background: var(--kc-crimson) !important;
  border-color: var(--kc-crimson) !important;
  border-radius: 0.55rem !important;
}
/* Category layout */
.shop-main .flex.row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.5rem;
}
.shop-main .flex.row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}
/* Footer */
.shop-footer {
  margin-top: 1rem;
  background: var(--kc-ink);
  color: rgba(255, 255, 255, 0.72);
}
.shop-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}
.shop-footer a:hover {
  color: #fff;
}
.shop-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2.5rem;
}
.shop-footer__tagline {
  margin: 1rem 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.62);
}
.shop-footer__heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shop-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.shop-footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}
.shop-footer__base-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}
/* ——— Cart listing ——— */
.mall-cart {
  width: 100%;
  max-width: 100%;
}
.mall-cart__wrapper {
  overflow: visible;
  border: 1px solid var(--kc-line);
  border-radius: 1rem;
  background: var(--kc-surface);
}
.mall-cart .mall-table-overflow {
  overflow: visible !important;
  width: 100%;
}
.mall-cart__table {
  width: 100%;
  table-layout: auto;
}
.mall-cart__product td {
  white-space: normal !important;
  vertical-align: top;
  font-size: 0.9375rem !important;
}
.mall-cart__thumb {
  display: block;
  width: 5.5rem;
  flex-shrink: 0;
}
.mall-cart__thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 5.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: var(--kc-paper);
}
.mall-cart__name {
  display: block;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  color: var(--kc-ink) !important;
  white-space: normal;
}
.mall-cart__meta {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: normal;
}
.mall-cart__remove {
  margin-top: 0.45rem;
}
.mall-cart__cell--qty .mall-selectbox-sm, .mall-cart__cell--qty select {
  min-width: 4rem;
  min-height: 2.4rem;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .mall-cart__wrapper {
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .mall-cart__table, .mall-cart__table thead, .mall-cart__table tbody, .mall-cart__table tfoot, .mall-cart__table tr, .mall-cart__table th, .mall-cart__table td {
    display: block;
    width: 100% !important;
    max-width: 100%;
  }
  .mall-cart__table thead {
    display: none;
  }
  .mall-cart__product {
    display: grid !important;
    grid-template-columns: 9rem minmax(0, 1fr);
    grid-template-areas: "image product" "image qty" "image price" "image total";
    gap: 0.55rem 1rem;
    margin: 0 0 0.85rem;
    padding: 1rem;
    background: var(--kc-surface);
    border: 1px solid var(--kc-line);
    border-radius: 1rem;
  }
  .mall-cart__product > td {
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  .mall-cart__cell--image {
    grid-area: image;
    align-self: start;
  }
  .mall-cart__cell--product {
    grid-area: product;
  }
  .mall-cart__cell--qty {
    grid-area: qty;
  }
  .mall-cart__cell--price {
    grid-area: price;
  }
  .mall-cart__cell--total {
    grid-area: total;
  }
  .mall-cart__thumb {
    width: 9rem;
  }
  .mall-cart__thumb img {
    max-width: 9rem;
    width: 9rem;
    height: 9rem;
    object-fit: contain;
  }
  .mall-cart__cell--qty, .mall-cart__cell--price, .mall-cart__cell--total {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.15rem !important;
  }
  .mall-cart__cell--qty::before, .mall-cart__cell--price::before, .mall-cart__cell--total::before {
    content: attr(data-label);
    color: var(--kc-muted);
    font-size: 0.8rem;
    font-weight: 600;
    flex: 0 0 auto;
  }
  .mall-cart__cell--total {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 650;
    color: var(--kc-crimson);
  }
  .mall-cart__services {
    display: grid !important;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
    margin: -0.55rem 0 0.85rem;
    padding: 0.75rem 1rem 1rem;
    background: var(--kc-surface);
    border: 1px solid var(--kc-line);
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
  }
  .mall-cart__services > td {
    border: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
  }
  .mall-cart__services .mall-cart__cell--image {
    display: none !important;
  }
  .mall-cart__services .mall-cart__cell--product, .mall-cart__services .mall-cart__cell--price {
    grid-column: 1 / -1;
  }
  .mall-cart__total, .mall-cart__grand-total, .mall-cart__discount, .mall-cart__shipping, .mall-cart__payment, .mall-cart__taxes, .mall-cart__taxes-total {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: 0 0 0.5rem;
    padding: 0.85rem 1rem !important;
    background: var(--kc-surface) !important;
    border: 1px solid var(--kc-line) !important;
    border-radius: 0.75rem;
  }
  .mall-cart__total > td, .mall-cart__grand-total > td, .mall-cart__discount > td, .mall-cart__shipping > td, .mall-cart__payment > td, .mall-cart__taxes > td, .mall-cart__taxes-total > td {
    border: 0 !important;
    padding: 0 !important;
    width: auto !important;
    white-space: normal !important;
    background: transparent !important;
  }
  .mall-cart__total > td:empty, .mall-cart__grand-total > td:empty, .mall-cart__discount > td:empty, .mall-cart__shipping > td:empty, .mall-cart__payment > td:empty, .mall-cart__taxes > td:empty, .mall-cart__taxes-total > td:empty {
    display: none !important;
  }
  .mall-cart__grand-total {
    font-size: 1.05rem;
  }
  .mall-cart-actions {
    text-align: stretch;
  }
  .mall-cart-actions .mall-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}
/* Discount applier */
.mall-discount-applier {
  display: block;
  width: 100%;
  margin-top: 1rem;
}
.mall-discount-applier form {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.5rem;
}
.mall-discount-applier .mall-form-control {
  flex: 1 1 auto;
  flex-grow: 1;
  min-width: 0;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
.mall-discount-applier .mall-form-control label {
  display: block;
  margin-bottom: 0.35rem;
}
.mall-discount-applier .mall-form-control input {
  width: 100%;
  min-height: 2.75rem;
  margin: 0 !important;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  box-sizing: border-box;
}
.mall-discount-applier .mall-form-control [data-validate-for] {
  position: absolute;
}
.mall-discount-applier form > div:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
}
.mall-discount-applier .mall-btn {
  flex: 0 0 auto;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65rem 1rem;
  white-space: nowrap;
}
@keyframes shop-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shop-hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}
@media (min-width: 640px) {
  .mall-discount-applier form {
    max-width: 28rem;
  }
}
@media (max-width: 980px) {
  .shop-header__inner {
    grid-template-columns: auto 1fr;
  }
  .shop-nav--desktop, .shop-search--header {
    display: none;
  }
  .shop-nav-toggle {
    display: inline-block;
  }
  .shop-nav-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), padding 0.25s var(--ease);
  }
  .shop-nav-panel.is-open {
    max-height: 70vh;
    opacity: 1;
    padding: 1rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-top-color: var(--kc-line);
    background: rgba(255, 255, 255, 0.98);
    overflow: auto;
  }
  .shop-nav--mobile .shop-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }
  .shop-nav--mobile .shop-nav__item {
    width: 100%;
  }
  .shop-nav--mobile .shop-nav__link {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
  }
  .shop-search--mobile .shop-search__form {
    width: 100%;
  }
  .mall-products__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .shop-footer__brand {
    grid-column: 1 / -1;
  }
  .shop-main .flex.row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  :root {
    --header-h: 4rem;
  }
  .shop-topbar__inner {
    flex-wrap: wrap;
    padding-block: 0.45rem;
    gap: 0.5rem 1rem;
  }
  .shop-action__label {
    display: none;
  }
  .logo img {
    max-width: min(190px, 52vw);
    height: 2.35rem;
  }
  .shop-hero {
    min-height: 78vh;
  }
  .shop-hero__media {
    background-position: 80% center;
  }
  .shop-hero__content {
    padding-bottom: 2rem;
  }
  .mall-products__products {
    grid-template-columns: 1fr;
  }
  .mall-products-item__image {
    height: 280px !important;
  }
  .shop-footer__grid, .shop-footer__base-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .mall-discount-applier form {
    max-width: 100%;
  }
}
/* ——— Account / orders / login ——— */
.shop-account {
  width: var(--shop-shell);
  margin-inline: auto;
}
.mall-my-account {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.mall-my-account__nav {
  width: 12.5rem;
  flex: 0 0 12.5rem;
  background: var(--kc-surface);
  border: 1px solid var(--kc-line);
  border-radius: 1rem;
  overflow: hidden;
}
.mall-my-account__content {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0;
  background: var(--kc-surface);
  border: 1px solid var(--kc-line);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.5rem;
}
.mall-my-account__content h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
}
.mall-my-account__nav-item {
  border-bottom: 1px solid var(--kc-line);
}
.mall-my-account__nav-item:last-child {
  border-bottom: 0;
}
.mall-my-account__nav-item a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--kc-muted);
  text-decoration: none;
  font-weight: 600;
}
.mall-my-account__nav-item:hover a, .mall-my-account__nav-item--active a {
  color: var(--kc-crimson);
  background: rgba(155, 28, 46, 0.06);
}
.mall-orders-list__overflow {
  overflow: visible !important;
  width: 100%;
}
.mall-orders-list__table {
  width: 100%;
}
.mall-orders-list__table th, .mall-orders-list__table td {
  white-space: normal !important;
  vertical-align: top;
}
.mall-order-details__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mall-order-details__detail {
  width: auto !important;
  min-width: 0;
}
.mall-order-details__product-list {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mall-address-list__cards {
  display: grid;
  gap: 0.85rem;
}
.mall-address-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--kc-line);
  border-radius: 0.85rem;
  background: var(--kc-paper);
}
.mall-address-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mall-address-card__defaults .mall-switcher {
  flex-wrap: wrap;
}
.mall-signup {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mall-signup__signin, .mall-signup__signup {
  width: auto !important;
  margin: 0 !important;
  padding: 1.25rem !important;
  border-radius: 1rem !important;
  background: var(--kc-surface);
}
@media (max-width: 900px) {
  .mall-my-account {
    flex-direction: column;
  }
  .mall-my-account__nav {
    width: 100%;
    flex: none;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.85rem;
  }
  .mall-my-account__nav-item {
    flex: 1 0 auto;
    border-bottom: 0;
    border-right: 1px solid var(--kc-line);
  }
  .mall-my-account__nav-item:last-child {
    border-right: 0;
  }
  .mall-my-account__nav-item a {
    white-space: nowrap;
    text-align: center;
    padding: 0.75rem 0.9rem;
  }
  .mall-my-account__content {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .mall-orders-list__table, .mall-orders-list__table thead, .mall-orders-list__table tbody, .mall-orders-list__table tr, .mall-orders-list__table th, .mall-orders-list__table td {
    display: block;
    width: 100% !important;
  }
  .mall-orders-list__table thead {
    display: none;
  }
  .mall-orders-list__order {
    display: grid !important;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 1rem;
    background: var(--kc-paper);
    border: 1px solid var(--kc-line);
    border-radius: 0.85rem;
  }
  .mall-orders-list__order > td {
    border: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left !important;
  }
  .mall-orders-list__order > td::before {
    content: attr(data-label);
    color: var(--kc-muted);
    font-size: 0.8rem;
    font-weight: 600;
    flex: 0 0 auto;
  }
  .mall-orders-list__total {
    font-family: var(--font-display);
    font-weight: 650;
    color: var(--kc-crimson);
  }
  .mall-orders-list__details {
    display: block !important;
    margin: -0.45rem 0 0.85rem;
    padding: 0.85rem 1rem 1rem;
    background: var(--kc-surface);
    border: 1px solid var(--kc-line);
    border-radius: 0.85rem;
  }
  .mall-orders-list__details > td {
    border: 0 !important;
    padding: 0 !important;
  }
  .mall-order-details__row {
    grid-template-columns: 1fr;
  }
  .mall-order-details .mall-table, .mall-order-details .mall-table tbody, .mall-order-details .mall-table tr, .mall-order-details .mall-table td {
    display: block;
    width: 100% !important;
  }
  .mall-order-details .mall-table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--kc-line);
  }
  .mall-order-details .mall-table td {
    border: 0 !important;
    padding: 0.15rem 0 !important;
    white-space: normal !important;
    text-align: left !important;
  }
  .mall-signup {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .mall-two-fields {
    flex-direction: column !important;
  }
  .mall-two-fields > div {
    width: 100% !important;
    margin: 0 0 0.75rem !important;
    flex: 1 1 auto !important;
  }
  .mall-switcher {
    width: 100%;
  }
  .mall-switcher__item {
    flex: 1 1 auto;
    text-align: center;
  }
  .mall-address-card__actions .mall-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
