:root {
  --pink: #ef5f8a;
  --pink-strong: #dc3f76;
  --pink-soft: #fff0f5;
  --navy: #553047;
  --navy-strong: #2d2430;
  --blue: #ef5f8a;
  --ink: #182438;
  --muted: #667085;
  --line: #f2d6df;
  --bg: #fff7fa;
  --green: #18a058;
  --yellow: #b7791f;
  --shadow: 0 18px 42px rgba(217, 61, 113, .14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { min-height: 72vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px clamp(16px, 5vw, 64px);
  background: #fff0f5;
  border-bottom: 1px solid #f7d6e2;
  color: #526071;
  font-size: .86rem;
}
.topbar div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar span { width: 1px; height: 14px; background: #cfd7e3; }
.main-header {
  display: grid;
  grid-template-columns: max-content max-content minmax(320px, 1fr) max-content;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(16px, 5vw, 64px);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.logo-brand img { width: 164px; height: 48px; object-fit: contain; }
.category-nav {
  color: var(--navy-strong);
  font-weight: 750;
  padding: 12px 10px;
  border-radius: 8px;
}
.category-nav:hover,
.category-mega.is-open .category-nav {
  color: var(--pink-strong);
  background: var(--pink-soft);
}
.category-mega {
  position: relative;
  min-width: max-content;
}
.category-mega-panel {
  display: none;
  position: fixed;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 78;
  min-height: 430px;
  border-top: 1px solid #f4d7e1;
  border-bottom: 1px solid #f4d7e1;
  background: #fff;
  box-shadow: 0 24px 54px rgba(45, 36, 48, .16);
}
.category-mega:hover .category-mega-panel,
.category-mega:focus-within .category-mega-panel,
.category-mega.is-open .category-mega-panel { display: block; }
.mega-tabs {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #eef1f5;
}
.mega-tabs a {
  position: relative;
  color: #4b5565;
  font-weight: 750;
}
.mega-tabs a.active,
.mega-tabs a:hover { color: var(--pink-strong); }
.mega-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  border-radius: 999px;
  background: var(--pink-strong);
}
.mega-body {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 374px;
}
.mega-sidebar {
  max-height: 374px;
  overflow-y: auto;
  padding: 14px 16px 18px 0;
  border-right: 1px solid #eef1f5;
}
.mega-sidebar a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #121826;
  font-weight: 800;
}
.mega-sidebar a:hover,
.mega-sidebar a.active {
  color: var(--pink-strong);
  background: var(--pink-soft);
}
.mega-content {
  padding: 28px 36px 34px;
}
.mega-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.mega-title > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(220, 63, 118, .22);
}
.mega-title h2 {
  margin: 0;
  color: var(--navy-strong);
  font-size: 1.55rem;
}
.mega-title p {
  margin: 5px 0 0;
  color: var(--muted);
}
.mega-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 13px;
  align-items: start;
}
.mega-product-list a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #344054;
  background: transparent;
  font-weight: 650;
  line-height: 1.35;
}
.mega-product-list a:hover {
  color: var(--pink-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  box-shadow: 0 10px 22px rgba(220, 63, 118, .22);
}
.brand strong { display: block; font-size: 1.32rem; color: var(--navy-strong); }
.brand small { display: block; color: var(--muted); font-size: .76rem; }
.header-search {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 88px;
  border: 1px solid #efbfd0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(217, 61, 113, .08);
}
.search-symbol {
  display: grid;
  place-items: center;
  color: #7b8794;
}
.search-symbol svg,
.header-actions svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.header-search input {
  border: 0;
  min-height: 46px;
  border-radius: 0;
  font-size: 1rem;
  padding-left: 0;
}
.header-search button {
  min-height: 46px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}
.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--navy-strong);
  border-radius: 8px;
}
.cart-menu,
.message-menu,
.notification-menu { position: relative; }
.cart-menu .icon-button,
.message-menu .icon-button,
.notification-menu .icon-button {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 42px;
  color: var(--navy-strong);
}
.icon-button:hover,
.store-pill:hover,
.account-trigger:hover {
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.notification-menu:hover .icon-button,
.notification-menu:focus-within .icon-button,
.message-menu:hover .icon-button,
.message-menu:focus-within .icon-button,
.cart-menu:hover .icon-button,
.cart-menu:focus-within .icon-button {
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.message-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -72px;
  width: 250px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(45, 36, 48, .2);
  z-index: 82;
}
.message-menu:hover .message-dropdown,
.message-menu:focus-within .message-dropdown,
.message-menu.is-open .message-dropdown { display: block; }
.message-menu.is-open .icon-button {
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.message-dropdown a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  color: #3e4654;
  font-weight: 650;
}
.message-dropdown a:hover {
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.message-dropdown b {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-strong);
  color: #fff;
  font-size: .72rem;
}
.header-actions .message-menu {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.header-actions .message-menu .message-dropdown {
  position: fixed;
  top: 98px;
  right: clamp(120px, 17vw, 320px);
  width: 250px;
  max-width: calc(100vw - 32px);
  white-space: normal;
}
.header-actions .message-menu .message-dropdown a {
  width: 100%;
}
.cart-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -128px;
  width: 520px;
  max-width: calc(100vw - 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(45, 36, 48, .2);
  overflow: hidden;
  z-index: 80;
}
.cart-menu:hover .cart-dropdown,
.cart-menu:focus-within .cart-dropdown { display: block; }
.cart-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #eef1f5;
}
.cart-dropdown-head strong { color: var(--navy-strong); font-size: 1.15rem; }
.cart-dropdown-head a {
  color: var(--pink-strong);
  font-weight: 850;
}
.mini-cart-list {
  display: grid;
  max-height: 310px;
  overflow-y: auto;
}
.mini-cart-list a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid #f4e3e9;
}
.mini-cart-list img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.mini-cart-list strong {
  display: block;
  color: var(--navy-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-cart-list small { color: var(--muted); font-size: .9rem; }
.mini-cart-list b {
  color: var(--navy-strong);
  white-space: nowrap;
}
.mini-cart-empty {
  padding: 24px 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.mini-cart-empty strong { color: var(--navy-strong); }
.mini-cart-empty a { color: var(--pink-strong); font-weight: 850; }
.notification-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: -128px;
  width: 360px;
  max-height: min(620px, calc(100vh - 130px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(45, 36, 48, .2);
  overflow: hidden;
  z-index: 81;
}
.notification-menu:hover .notification-dropdown,
.notification-menu:focus-within .notification-dropdown { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #eef1f5;
}
.notification-head strong { font-size: 1.15rem; color: var(--navy-strong); }
.notification-head a {
  color: #7b8794;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.notification-head a:hover { background: var(--pink-soft); color: var(--pink-strong); }
.notification-head svg { width: 22px; height: 22px; fill: currentColor; }
.notification-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #eef1f5;
}
.notification-tabs a {
  position: relative;
  min-height: 46px;
  display: grid;
  place-items: center;
  color: #5b6474;
  font-weight: 850;
}
.notification-tabs a.active { color: var(--pink-strong); }
.notification-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pink-strong);
}
.notification-tabs span {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--pink-strong);
  vertical-align: middle;
}
.notification-body {
  overflow-y: auto;
  padding: 16px 18px;
}
.notify-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.notify-section-title strong,
.notify-seller-box strong,
.notify-recommend strong {
  color: var(--navy-strong);
  font-size: 1rem;
}
.notify-section-title a,
.notification-foot a {
  color: var(--pink-strong);
  font-weight: 850;
}
.order-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 20px;
}
.order-status-grid a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--navy-strong);
  text-align: center;
  font-size: .74rem;
  line-height: 1.2;
}
.order-status-grid i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--pink-strong);
  font-style: normal;
  font-weight: 900;
}
.order-status-grid svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.order-status-grid svg.process-icon {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}
.notify-seller-box {
  margin: 0 -18px;
  padding: 18px;
  border-top: 8px solid #f1f4f8;
  border-bottom: 8px solid #f1f4f8;
}
.notify-seller-box p {
  margin: 10px 0 14px;
  color: #526071;
  line-height: 1.45;
  font-size: .9rem;
}
.notify-seller-box .btn {
  width: 100%;
  text-align: center;
  color: var(--pink-strong);
  border-color: var(--pink);
}
.notify-recommend {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}
.notify-recommend a {
  padding: 12px;
  border-radius: 8px;
  background: var(--pink-soft);
  color: #486070;
  font-size: .9rem;
}
.notification-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid #eef1f5;
  background: #fff;
  font-size: .9rem;
}
.icon-badge {
  position: absolute;
  right: 2px;
  top: 1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-strong);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  border: 2px solid #fff;
}
.action-divider {
  width: 1px;
  height: 34px;
  background: #ead5dd;
  margin: 0 6px;
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--navy-strong);
  font-weight: 750;
}
.store-icon,
.account-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0f5;
  color: var(--pink-strong);
  border: 1px solid #f4c4d4;
  overflow: hidden;
}
.store-icon svg { width: 22px; height: 22px; }
.account-menu { position: relative; }
.account-menu::after {
  content: "";
  display: none;
  position: absolute;
  right: 0;
  width: min(455px, calc(100vw - 32px));
  top: 100%;
  height: 12px;
  z-index: 31;
}
.account-menu:hover::after,
.account-menu:focus-within::after { display: block; }
.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 5px 10px 5px 6px;
  background: transparent;
  color: var(--navy-strong);
  border-radius: 8px;
  box-shadow: none;
  text-decoration: none;
}
.account-menu:hover .account-trigger,
.account-menu:focus-within .account-trigger {
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.account-name {
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 750;
}
.account-avatar {
  background: radial-gradient(circle at 35% 25%, #ffd1df, #ef5f8a 48%, #c23369);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(220, 63, 118, .2);
}
.account-avatar img,
.avatar img,
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-avatar.large {
  width: 52px;
  height: 52px;
  font-size: 1.05rem;
}
.account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 455px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(45, 36, 48, .18);
  overflow: hidden;
  z-index: 30;
}
.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown { display: block; }
.dropdown-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #eef1f5;
  color: var(--navy-strong);
}
.dropdown-profile strong {
  font-size: 1.05rem;
}
.dropdown-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(130px, .75fr);
  gap: 18px;
  padding: 16px 18px 18px;
}
.dropdown-wallets {
  display: grid;
  gap: 0;
}
.dropdown-wallets div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f5;
}
.dropdown-wallets b { color: var(--navy-strong); }
.dropdown-wallets a {
  color: var(--pink-strong);
  font-weight: 800;
  font-size: .9rem;
}
.dropdown-wallets span { color: var(--navy-strong); }
.dropdown-links {
  display: grid;
  align-content: start;
  gap: 6px;
  padding-left: 16px;
  border-left: 1px solid #eef1f5;
}
.dropdown-links a {
  color: #596579;
  padding: 8px 0;
  font-weight: 650;
}
.dropdown-links a:hover { color: var(--pink-strong); }
.dropdown-links .logout-link {
  margin-top: 34px;
  color: #7a475b;
}
.login-link,
.register-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}
.login-link { color: var(--pink-strong); }
.register-link {
  background: var(--pink-strong);
  color: #fff;
}
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #4b5565;
  font-size: .95rem;
  font-weight: 650;
}
.nav a:hover, .nav a.active { background: var(--pink-soft); color: var(--pink-strong); }
.nav .btn-link {
  background: var(--pink-strong);
  color: #fff;
  padding: 12px 20px;
}
.nav b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-size: .75rem;
}

.container { width: min(1500px, calc(100% - 32px)); margin: 0 auto; }
.store-dashboard {
  width: min(1500px, calc(100% - 32px));
  margin: 18px auto 14px;
}
.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 16px;
  align-items: stretch;
}
.market-hero, .catalog-panel, .admin-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.market-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 260px;
  padding: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  background: radial-gradient(circle at 78% 28%, rgba(255,255,255,.18) 0, transparent 28%), linear-gradient(135deg, #ff7aa1, #d93d71);
  color: #fff;
}
.promo-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e64278;
  box-shadow: var(--shadow);
}
.promo-track {
  display: flex;
  transition: transform .38s ease;
}
.promo-slide {
  flex: 0 0 100%;
  display: block;
  aspect-ratio: 4 / 1;
  background: #e64278;
}
.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--pink-strong);
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(45, 36, 48, .16);
}
.promo-arrow:hover {
  background: #fff;
}
.promo-arrow.prev { left: 14px; }
.promo-arrow.next { right: 14px; }
.promo-dots {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.promo-dots button {
  width: 9px;
  height: 9px;
  min-height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
}
.promo-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}
.promo-more {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(45,36,48,.78);
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
}
.market-hero::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 13px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.eyebrow { color: var(--pink-strong); font-weight: 800; text-transform: uppercase; font-size: .78rem; }
.market-hero .eyebrow { color: #fff; }
h1 { margin: 9px 0 12px; font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.04; letter-spacing: 0; color: inherit; max-width: 780px; }
.lead { color: #526071; font-size: .98rem; line-height: 1.55; max-width: 650px; }
.market-hero .lead { color: rgba(255,255,255,.9); max-width: 760px; }
.hero-actions, .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.hero-art {
  position: relative;
  z-index: 1;
  align-self: center;
  height: 190px;
}
.hero-art span {
  position: absolute;
  right: 0;
  display: block;
  width: 210px;
  height: 58px;
  border-radius: 32px;
  background: rgba(255,255,255,.1);
}
.hero-art span:nth-child(1) { top: 16px; right: 36px; }
.hero-art span:nth-child(2) { top: 80px; }
.hero-art span:nth-child(3) { top: 144px; right: 36px; }
.btn, button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  min-height: 40px;
}
.btn.secondary { background: #fff; color: var(--pink-strong); border: 1px solid var(--line); }
.btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn.dark { background: var(--ink); }
.btn.small { padding: 8px 10px; min-height: 36px; font-size: .86rem; }
.btn.danger { background: #d64545; }
.filter-panel {
  width: min(1500px, calc(100% - 32px));
  margin: 22px auto 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(217, 61, 113, .08);
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 180px;
  gap: 12px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 13px 16px;
  box-shadow: 0 10px 26px rgba(217, 61, 113, .06);
}
.metric-card span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.metric-card strong { display: block; color: var(--pink-strong); font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 5px 0 3px; line-height: 1; }
.metric-card small { color: var(--muted); line-height: 1.35; font-size: .82rem; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.trust-strip a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(217, 61, 113, .06);
}
.trust-strip i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  color: #fff;
  font-size: .68rem;
  font-style: normal;
  font-weight: 900;
}
.trust-strip strong {
  display: block;
  color: var(--navy-strong);
  font-size: .9rem;
}
.trust-strip small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}
.mobile-category-section {
  display: none;
}
.mobile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mobile-section-head h2 {
  margin: 0;
  color: var(--navy-strong);
  font-size: 1.05rem;
}
.mobile-section-head a {
  color: var(--pink-strong);
  font-size: .78rem;
  font-weight: 900;
}
.mobile-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mobile-category-grid a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 94px;
  padding: 12px 7px;
  border: 1px solid #f2d6df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(229, 69, 126, .07);
}
.mobile-category-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}
.mobile-category-grid span {
  color: #344054;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 16px;
}
.catalog-panel { padding: 18px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-title h2 { margin: 0; font-size: 1.15rem; color: var(--navy-strong); }
.panel-title span, .panel-title a { color: var(--muted); font-size: .9rem; }
.panel-title a { color: var(--pink-strong); font-weight: 800; }
.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.category-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffafd;
}
.category-list a:hover, .featured-list a:hover { border-color: var(--pink); box-shadow: 0 10px 24px rgba(217, 61, 113, .1); }
.category-list i {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7aa1, #d93d71);
  color: #fff;
  font-style: normal;
  font-size: .8rem;
  font-weight: 900;
}
.category-list strong { display: block; color: var(--pink-strong); margin-bottom: 4px; }
.category-list small { display: block; color: var(--muted); font-size: .86rem; }
.featured-list { display: grid; gap: 10px; }
.featured-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.featured-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.featured-list strong, .featured-list small { display: block; }
.featured-list strong { font-size: .92rem; line-height: 1.35; }
.featured-list small { color: var(--muted); margin-top: 4px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  min-height: 44px;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(239, 95, 138, .14);
}
textarea { min-height: 110px; resize: vertical; }

.product-showcase {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto 38px;
}
.product-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 18px 0 14px;
}
.product-section-head h2 {
  margin: 0;
  color: var(--navy-strong);
  font-size: 1.35rem;
}
.product-section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.product-section-head span {
  color: var(--muted);
  font-size: .88rem;
  white-space: nowrap;
}
.market-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0 14px;
  color: var(--navy-strong);
  font-size: 1.05rem;
  font-weight: 800;
}
.market-tabs a {
  position: relative;
  padding: 8px 0;
}
.market-tabs a.active {
  color: var(--pink-strong);
}
.market-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--pink-strong);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 1500px) {
  .product-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(143, 66, 94, .08);
}
.product-card img { width: 100%; height: 132px; object-fit: cover; background: #ffe8f0; }
.card-body { padding: 10px 11px 12px; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-strong); font-size: .68rem; font-weight: 800; }
.product-card h3 { margin: 8px 0 5px; font-size: .82rem; min-height: 36px; line-height: 1.35; }
.product-card .muted { margin: 0 0 8px; font-size: .78rem; }
.price { color: var(--pink-strong); font-weight: 900; font-size: .9rem; margin: 0 0 8px; }
.muted { color: var(--muted); }
.stock { color: var(--green); font-weight: 700; font-size: .76rem; margin: 0 0 9px; }
.product-card .btn.small { min-height: 30px; padding: 6px 10px; font-size: .76rem; border-radius: 7px; }
.product-extra { display: none; }
.product-extra.is-visible { display: block; }
.product-detail-page {
  width: min(1380px, calc(100% - 32px));
  margin: 24px auto 54px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.product-gallery,
.buy-box {
  position: sticky;
  top: 118px;
}
.product-main-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.product-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.product-thumbs button {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #fff;
}
.product-thumbs button.active,
.product-thumbs button:hover { border-color: var(--pink-strong); }
.product-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-store-badge {
  color: var(--pink-strong);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.product-main-info h1 {
  margin: 8px 0;
  color: var(--navy-strong);
  font-size: 1.35rem;
  line-height: 1.28;
}
.product-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef1f5;
}
.product-price-row strong {
  color: #111827;
  font-size: 1.9rem;
  font-weight: 950;
}
.product-price-row span {
  padding: 3px 5px;
  border-radius: 5px;
  color: var(--pink-strong);
  background: var(--pink-soft);
  font-size: .78rem;
  font-weight: 850;
}
.product-price-row del { color: #98a2b3; }
.product-variant-panel {
  padding-bottom: 18px;
  border-bottom: 1px solid #eef1f5;
}
.product-variant-panel h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.product-variant-panel h2 span { color: var(--muted); font-weight: 650; }
.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-list button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f4f6fa;
  color: #667085;
  font-weight: 750;
}
.variant-list button.active,
.variant-list button:hover {
  border-color: var(--pink);
  color: var(--pink-strong);
  background: #fff0f5;
}
.variant-list img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 5px;
}
.product-tabs { margin-top: 18px; }
.product-tabs nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #eef1f5;
}
.product-tabs nav button {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #667085;
  font-weight: 850;
}
.product-tabs nav button.active {
  color: var(--pink-strong);
  border-bottom: 2px solid var(--pink-strong);
}
.product-tab-panel {
  display: none;
  padding: 18px 0 0;
}
.product-tab-panel.active { display: block; }
.product-tab-panel p { color: #4b5565; line-height: 1.65; }
.product-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0 0 16px;
}
.product-detail-list div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
}
.product-detail-list dt { color: #667085; }
.product-detail-list dd { margin: 0; color: #111827; font-weight: 750; }
.spec-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spec-card-grid div {
  padding: 12px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: #fff;
}
.spec-card-grid small {
  display: block;
  color: #667085;
  margin-bottom: 5px;
}
.spec-card-grid strong { color: #111827; line-height: 1.35; }
.seller-shipping-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef1f5;
}
.seller-mini {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
}
.seller-mini > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  color: #fff;
  font-weight: 950;
}
.seller-mini small,
.shipping-mini p { color: #667085; }
.shipping-mini strong { display: block; margin-bottom: 6px; }
.shipping-mini a { color: var(--pink-strong); font-weight: 850; }
.product-tab-panel article + article { margin-top: 18px; }
.product-tab-panel article h3 { margin: 0 0 6px; font-size: 1rem; }
.buy-box {
  padding: 16px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(45,36,48,.08);
}
.buy-box h2 { margin: 0 0 14px; font-size: 1rem; }
.buy-product-mini {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f5;
}
.buy-product-mini img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}
.buy-product-mini span { font-weight: 650; line-height: 1.3; }
.buy-qty-row,
.buy-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd7e3;
  border-radius: 9px;
  overflow: hidden;
}
.qty-control button,
.qty-control a {
  width: 34px;
  min-height: 34px;
  border: 0;
  background: #fff;
  color: #98a2b3;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.qty-control span { min-width: 38px; text-align: center; }
.buy-qty-row strong { color: #111827; font-size: .92rem; }
.buy-qty-row strong span { color: var(--pink-strong); }
.buy-subtotal span { color: #667085; }
.buy-subtotal strong {
  color: #111827;
  font-size: 1.22rem;
  line-height: 1.2;
  text-align: right;
}
.buy-box .product-buy-btn {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.15;
  white-space: nowrap;
}
.buy-links {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef1f5;
}
.buy-links a { font-weight: 850; color: #111827; }
.buyer-review-section,
.same-category-section { margin-top: 36px; }
.buyer-review-section h2,
.same-category-section h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.rating-summary-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #fff;
}
.rating-score span { color: #ffc145; font-size: 2rem; }
.rating-score strong { color: #111827; font-size: 2rem; }
.rating-score small { color: #667085; font-size: 1.2rem; }
.rating-score p { margin: 10px 0 4px; font-weight: 850; }
.rating-score em { color: #667085; font-style: normal; }
.rating-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  align-content: center;
}
.rating-bars div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 56px;
  gap: 8px;
  align-items: center;
}
.rating-bars span { color: #667085; }
.rating-bars i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}
.rating-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}
.review-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.review-filter-card {
  align-self: start;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.review-filter-card h3 {
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #eef1f5;
  text-transform: uppercase;
}
.review-filter-card label {
  display: block;
  padding: 13px 16px;
  color: #4b5565;
  border-bottom: 1px solid #eef1f5;
}
.review-filter-card input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
}
.review-content h3 { margin: 0 0 14px; text-transform: uppercase; }
.review-media-strip {
  display: grid;
  grid-template-columns: repeat(6, 88px);
  gap: 12px;
  margin-bottom: 28px;
}
.review-media-strip img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
}
.selected-reviews {
  display: grid;
  gap: 18px;
}
.selected-reviews div {
  padding-bottom: 18px;
  border-bottom: 1px solid #eef1f5;
}
.selected-reviews span { display: block; color: #ffc145; margin-bottom: 8px; }
.selected-reviews strong { display: block; color: #111827; }
.selected-reviews small { color: #667085; }
.selected-reviews p { color: #4b5565; line-height: 1.6; }
.same-category-section .product-section-head h2 {
  text-transform: none;
}
.recommendation-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 34px 0 10px;
}
.load-more-btn {
  min-width: 360px;
  max-width: 100%;
  border-color: var(--pink);
  color: var(--pink-strong);
  font-size: 1.05rem;
}
.added-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(22, 18, 26, .55);
}
.added-cart-modal.is-open { display: grid; }
.added-cart-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .32);
  padding: 26px 44px 34px;
}
.added-close {
  position: absolute;
  right: 24px;
  top: 18px;
  min-height: auto;
  padding: 0;
  width: 38px;
  height: 38px;
  background: transparent;
  color: #485466;
  font-size: 1.8rem;
  line-height: 1;
}
.added-close:hover { background: var(--pink-soft); color: var(--pink-strong); }
.added-cart-card h2 {
  margin: 0 0 28px;
  font-size: 1.55rem;
  color: var(--navy-strong);
}
.added-cart-card h3 {
  margin: 28px 0 18px;
  font-size: 1.6rem;
  color: var(--navy-strong);
}
.added-product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #fff, #fff7fa);
  box-shadow: 0 10px 24px rgba(45, 36, 48, .08);
}
.added-product-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.added-product-row strong {
  display: block;
  color: var(--navy-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.added-product-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.added-recommend-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.added-recommend-grid article {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.added-recommend-grid img {
  width: 100%;
  aspect-ratio: 1 / .88;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff0f5;
}
.added-recommend-grid strong {
  min-height: 40px;
  color: var(--navy-strong);
  line-height: 1.35;
  font-size: .92rem;
  overflow: hidden;
}
.added-recommend-grid span {
  color: var(--pink-strong);
  font-weight: 900;
}
.added-recommend-grid small {
  color: var(--muted);
}
.cart-page {
  width: min(1360px, calc(100% - 32px));
  margin: 30px auto 56px;
}
.cart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.cart-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-strong);
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}
.cart-list-card,
.cart-summary-card,
.cart-empty-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f3d8e2;
  box-shadow: 0 14px 36px rgba(143, 66, 94, .08);
}
.cart-select-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  padding: 24px 28px;
  border-bottom: 8px solid #f1f4f8;
}
.cart-select-row strong { color: var(--navy-strong); }
.cart-select-row a {
  color: var(--pink-strong);
  font-weight: 850;
}
.cart-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--pink-strong);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}
.cart-items { display: grid; }
.cart-item-row {
  display: grid;
  grid-template-columns: 28px 92px minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: start;
  padding: 22px 28px;
  border-bottom: 1px solid #eef1f5;
}
.cart-item-row:last-child { border-bottom: 0; }
.cart-item-img {
  position: relative;
  display: block;
}
.cart-item-img img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff0f5;
}
.cart-item-img b {
  position: absolute;
  top: 8px;
  left: -6px;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--pink-strong);
  color: #fff;
  font-size: .72rem;
}
.cart-item-info {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.cart-item-info strong {
  display: block;
  color: #121826;
  font-size: 1.02rem;
  line-height: 1.45;
}
.cart-item-info span {
  color: #667085;
  font-size: .98rem;
}
.cart-item-info small { color: var(--muted); }
.cart-price-box {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.cart-price-box > strong {
  color: var(--navy-strong);
  font-size: 1.08rem;
}
.cart-price-box > span {
  color: #8a94a6;
  text-decoration: line-through;
}
.cart-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
  color: #98a2b3;
  font-size: 1.45rem;
}
.cart-action-row > a:hover { color: var(--pink-strong); }
.qty-stepper {
  display: inline-grid;
  grid-template-columns: 32px 42px 32px;
  align-items: center;
  min-height: 36px;
  border: 1px solid #cdd6e4;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper a,
.qty-stepper span {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: var(--navy-strong);
  font-size: 1rem;
  font-weight: 800;
}
.qty-stepper a { color: #98a2b3; }
.qty-stepper a:hover {
  color: var(--pink-strong);
  background: var(--pink-soft);
}
.cart-summary-card {
  position: sticky;
  top: 132px;
  padding: 24px 26px 28px;
}
.cart-summary-card h3 {
  margin: 0 0 20px;
  color: var(--navy-strong);
  font-size: 1.22rem;
}
.promo-box {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  color: #3e4654;
}
.promo-box span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f1f4f8;
}
.promo-box strong { font-weight: 700; }
.promo-box b {
  color: #98a2b3;
  font-size: 1.6rem;
}
.cart-buy-btn {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
}
.cart-empty-card {
  padding: 42px;
  text-align: center;
}
.cart-empty-card h3 {
  margin: 0 0 10px;
  color: var(--navy-strong);
}
.cart-empty-card p {
  color: var(--muted);
  margin-bottom: 20px;
}
.message-page {
  width: min(1360px, calc(100% - 32px));
  margin: 34px auto 64px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.message-sidebar { position: sticky; top: 132px; }
.message-main {
  min-width: 0;
}
.chat-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) max-content 24px;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid #b7c7e8;
  border-radius: 8px;
  background: #f7fbff;
}
.chat-notice span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #6686c2;
  border-radius: 50%;
  color: #4569a9;
  font-weight: 900;
}
.chat-notice p { margin: 0; color: #344054; }
.chat-notice a { color: var(--pink-strong); font-weight: 850; }
.chat-notice button {
  min-height: auto;
  padding: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  color: #667085;
}
.chat-shell,
.review-panel,
.complaint-panel,
.help-panel {
  min-height: 590px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(45, 36, 48, .06);
  overflow: hidden;
}
.chat-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
}
.chat-list {
  border-right: 1px solid #d8dee9;
  max-height: 650px;
  overflow-y: auto;
}
.message-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  border-bottom: 1px solid #eef1f5;
}
.message-panel-head h2 {
  margin: 0;
  color: var(--navy-strong);
}
.message-panel-head a { color: #667085; font-weight: 750; }
.chat-thread {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 52px;
  gap: 12px;
  padding: 14px 18px;
  color: #344054;
}
.chat-thread:hover,
.chat-thread.active { background: #fff7fa; }
.chat-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd1df, var(--pink));
  color: #fff;
  font-weight: 900;
}
.chat-thread strong {
  display: block;
  color: var(--navy-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-thread small {
  display: block;
  margin-top: 4px;
  color: #667085;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-thread em {
  color: #667085;
  font-style: normal;
  font-size: .84rem;
}
.chat-thread b {
  position: absolute;
  right: 20px;
  bottom: 14px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-strong);
  color: #fff;
  font-size: .72rem;
}
.chat-empty,
.help-panel section,
.empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 42px;
}
.chat-illustration,
.empty-illustration {
  width: 210px;
  height: 160px;
  display: grid;
  place-items: center;
  border-radius: 42% 58% 54% 46%;
  background: radial-gradient(circle at 30% 25%, #fff, #ffe1eb 48%, #f7aac2);
  color: var(--pink-strong);
  font-size: 4rem;
  font-weight: 900;
}
.chat-empty h2,
.empty-state h2,
.help-panel h2 { margin: 0; color: var(--navy-strong); }
.chat-empty p,
.empty-state p,
.help-panel p { margin: 0; color: #667085; }
.chat-room {
  min-height: 590px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
}
.chat-room-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #eef1f5;
}
.chat-room-head strong,
.chat-room-head small {
  display: block;
}
.chat-room-head strong { color: var(--navy-strong); }
.chat-room-head small { color: var(--muted); margin-top: 3px; }
.chat-room-head a {
  color: var(--pink-strong);
  font-weight: 850;
}
.chat-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  overflow-y: auto;
  background: linear-gradient(180deg, #fff, #fff7fa);
}
.chat-bubble {
  max-width: min(540px, 78%);
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eef1f5;
  color: #344054;
  box-shadow: 0 8px 18px rgba(45, 36, 48, .06);
}
.chat-bubble.buyer {
  justify-self: end;
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
.chat-bubble p { margin: 0; line-height: 1.5; }
.chat-bubble span {
  justify-self: end;
  color: #98a2b3;
  font-size: .76rem;
}
.chat-bubble.buyer span { color: rgba(255,255,255,.82); }
.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #eef1f5;
  background: #fff;
}
.chat-compose input {
  border-radius: 999px;
  padding-left: 18px;
}
.chat-compose button {
  border-radius: 999px;
}
.review-panel,
.complaint-panel { padding: 0 24px 28px; }
.review-panel h2,
.complaint-panel h2 {
  margin: 22px 0 12px;
  color: var(--navy-strong);
}
.review-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid #d8dee9;
}
.review-tabs a {
  position: relative;
  padding: 14px 4px;
  color: #596579;
  font-weight: 850;
}
.review-tabs a.active { color: var(--pink-strong); }
.review-tabs a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pink-strong);
}
.review-toolbar,
.complaint-filter {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.review-toolbar label {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #667085;
}
.review-card {
  border: 1px solid #eef1f5;
  margin-bottom: 18px;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 24px;
  border-bottom: 1px solid #eef1f5;
  color: #98a2b3;
}
.review-meta strong { color: var(--pink-strong); }
.review-body {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  min-height: 185px;
}
.seller-block,
.review-product {
  padding: 24px;
}
.seller-block {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid #eef1f5;
}
.seller-block b { color: var(--pink-strong); }
.seller-block span {
  width: max-content;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
}
.seller-block a {
  width: max-content;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--pink-strong);
  color: #fff;
  font-weight: 850;
}
.review-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px;
}
.review-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.review-product b,
.review-product strong,
.review-product small { display: block; }
.review-product b { color: #667085; margin-bottom: 8px; }
.review-product strong { color: var(--pink-strong); line-height: 1.35; }
.review-product small { color: #ffc145; margin-top: 5px; }
.complaint-filter {
  grid-template-columns: 200px 210px 240px 210px max-content;
}
.complaint-filter a {
  color: #c8ced8;
  font-weight: 850;
}
.empty-state .btn,
.help-panel .btn { min-width: 340px; }
.help-panel {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
}
.help-panel aside {
  border-right: 1px solid #d8dee9;
}
.help-panel aside p {
  min-height: 430px;
  display: grid;
  place-items: center;
  color: #98a2b3;
}
.empty-illustration.support {
  background: radial-gradient(circle at 30% 25%, #fff, #eaf8ff 48%, #b8e3f2);
}

.section { width: min(1180px, calc(100% - 32px)); margin: 30px auto; }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.page-title h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--pink-strong); font-size: .86rem; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.summary { position: sticky; top: 92px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; margin: 12px 0; }
.summary-row.total { font-size: 1.25rem; font-weight: 900; padding-top: 12px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.notice { padding: 13px 14px; background: var(--pink-soft); color: #8b3155; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.status { font-weight: 800; color: var(--yellow); }
.footer {
  margin-top: 42px;
  padding: 54px clamp(16px, 5vw, 64px) 24px;
  color: #dbe8fa;
  background: linear-gradient(135deg, #6f2548, #d93d71);
  border-top: 5px solid #ff8fb1;
}
.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.2fr;
  gap: 38px;
  text-align: left;
}
.footer h3 { margin: 0 0 16px; color: #ffd7e4; font-size: 1.1rem; }
.footer p { line-height: 1.7; margin: 18px 0; max-width: 430px; }
.footer a { display: block; color: #edf5ff; margin: 12px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.2rem; }
.footer-brand img {
  width: 190px;
  height: 62px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}
.social-row { display: flex; gap: 12px; }
.social-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.badge-grid span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  font-size: .86rem;
}
.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #edf1f7;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
}
.logo-bca { color: #005baa !important; }
.logo-bri { color: #00529c !important; }
.logo-bni { color: #f58220 !important; }
.logo-mandiri { color: #003d79 !important; }
.logo-bsi { color: #00a39b !important; }
.logo-ovo { color: #6d2bbf !important; }
.logo-gopay, .logo-gosend { color: #00aa5b !important; }
.logo-dana { color: #118eea !important; }
.logo-shopeepay { color: #ee4d2d !important; }
.logo-linkaja { color: #e31e24 !important; }
.logo-indomaret { color: #e31e24 !important; }
.logo-alfamart { color: #005baa !important; }
.logo-alfamidi { color: #e31e24 !important; }
.logo-qris { color: #222 !important; }
.logo-cod { color: #6b7280 !important; }
.logo-paylater { color: #d93d71 !important; }
.logo-jnt { color: #e60012 !important; }
.logo-jne { color: #0b3b91 !important; }
.logo-sicepat { color: #e4002b !important; }
.logo-anteraja { color: #ec407a !important; }
.logo-grab { color: #00b14f !important; }
.logo-default { color: var(--navy) !important; }
.footer-bottom {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #a9bedb;
}
.auth-section {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 480px);
  gap: 24px;
  align-items: center;
}
.auth-page {
  width: min(620px, calc(100% - 32px));
  margin: 46px auto;
  text-align: center;
}
.auth-page.wide-page { width: min(760px, calc(100% - 32px)); }
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 1.7rem;
}
.auth-logo img { width: 220px; height: 72px; object-fit: contain; }
.auth-card {
  text-align: left;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 61, 115, .14);
}
.auth-card h2 {
  margin: 0 0 8px;
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.auth-card > .muted { text-align: center; margin-bottom: 26px; }
.auth-card label { display: block; margin: 14px 0 8px; font-weight: 800; color: var(--ink); }
.auth-card input { margin-bottom: 4px; }
.auth-switch { text-align: center; margin: 22px 0 0; }
.auth-switch a { color: var(--navy); font-weight: 900; }
.demo-note { text-align: center; color: var(--muted); font-size: .86rem; margin-bottom: 0; }
.auth-copy {
  padding: clamp(20px, 4vw, 44px);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #eef5ff);
  border: 1px solid var(--line);
}
.auth-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--navy); margin: 10px 0; }
.auth-page-modern {
  width: min(1120px, calc(100% - 40px));
  margin: 54px auto 70px;
  text-align: left;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(420px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(229, 69, 126, .12);
}
.auth-shell.login-shell { grid-template-columns: minmax(280px, 390px) minmax(420px, 560px); justify-content: center; }
.auth-side {
  padding: 38px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,255,255,.42), transparent 25%),
    linear-gradient(135deg, #ec4b87, #f776a6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}
.auth-side img { width: 190px; height: 62px; object-fit: contain; object-position: left center; margin-bottom: 34px; filter: drop-shadow(0 12px 24px rgba(144, 30, 82, .2)); }
.auth-side h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.auth-side p { margin: 0; color: rgba(255,255,255,.9); line-height: 1.7; font-size: 1.02rem; }
.auth-benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.auth-benefit-list span,
.auth-mini-card {
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 13px 14px;
  backdrop-filter: blur(10px);
}
.auth-benefit-list b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink-strong);
}
.auth-mini-card { margin-top: 30px; display: grid; gap: 6px; }
.auth-mini-card span { font-weight: 900; }
.auth-mini-card small { color: rgba(255,255,255,.86); }
.auth-card-modern {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: clamp(28px, 4vw, 46px);
  align-self: center;
}
.auth-card-modern h2 {
  text-align: left;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  color: #2f2635;
}
.auth-card-modern > .muted { text-align: left; margin: 0 0 24px; }
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-weight: 900;
  font-size: .82rem;
}
.auth-card-modern label {
  margin: 0;
  font-size: .93rem;
}
.auth-card-modern label input,
.auth-card-modern label textarea {
  margin-top: 8px;
  font-weight: 600;
}
.auth-form-grid { gap: 14px; }
.auth-form-grid textarea { min-height: 116px; }
.auth-check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  color: #667085 !important;
  font-weight: 700 !important;
  line-height: 1.5;
}
.auth-check input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0 !important;
  accent-color: var(--pink-strong);
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 16px 0 4px;
}
.auth-row a { color: var(--pink-strong); font-weight: 900; }
.auth-submit { width: 100%; margin-top: 16px; }
.auth-card-modern .btn.secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
}
.seller-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(236, 75, 135, .13), transparent 30%),
    linear-gradient(180deg, #fff7fb, #fff);
}
.seller-auth-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(360px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(229, 69, 126, .16);
}
.seller-auth-shell.register-seller { width: min(1080px, 100%); }
.seller-auth-side {
  padding: 42px;
  background: linear-gradient(135deg, #e63b7b, #fb80ae);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.seller-auth-side .brand-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  font-size: 1.35rem;
  background: #fff;
  color: var(--pink-strong);
}
.seller-auth-side h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.seller-auth-side p { margin: 0; color: rgba(255,255,255,.9); line-height: 1.7; }
.seller-auth-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.seller-auth-points span {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.14);
  font-weight: 850;
}
.seller-auth-card {
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  align-content: center;
  gap: 14px;
}
.seller-auth-card img { width: 190px; height: 58px; object-fit: contain; object-position: left center; }
.seller-auth-card h2 { margin: 0; color: #241c2a; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.seller-auth-card label { display: grid; gap: 8px; font-weight: 850; color: var(--ink); }
.seller-auth-card button,
.seller-auth-card .btn { width: 100%; justify-content: center; text-align: center; }
.seller-auth-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}
.seller-auth-links a {
  color: var(--pink-strong);
  font-weight: 900;
}
.seller-auth-links span { color: #98a2b3; font-weight: 700; }
.admin-site-header {
  box-shadow: 0 10px 28px rgba(229, 69, 126, .08);
}
.seller-brand .brand-mark { box-shadow: 0 10px 22px rgba(229, 69, 126, .22); }
.seller-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.seller-ops-grid a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(229, 69, 126, .08);
}
.seller-ops-grid strong {
  color: var(--pink-strong);
  font-size: 2rem;
  line-height: 1;
}
.seller-ops-grid span { color: var(--muted); }
.seller-chat-preview { margin-top: 18px; }
.seller-preview-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--pink-soft);
}
.seller-preview-row small { display: block; color: var(--muted); margin-top: 3px; }
.seller-chat-page { width: min(1480px, calc(100% - 32px)); }
.seller-chat-hero { margin-bottom: 18px; }
.seller-chat-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 280px;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(229, 69, 126, .1);
}
.seller-chat-list {
  border-right: 1px solid var(--line);
  background: #fff;
  overflow-y: auto;
}
.seller-chat-room {
  border: 0;
  border-radius: 0;
}
.seller-customer-card {
  border-left: 1px solid var(--line);
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fff7fb);
}
.seller-customer-card h3 { margin: 0 0 16px; }
.seller-customer-card .btn { width: 100%; justify-content: center; }

.seller-dashboard {
  width: min(1380px, calc(100% - 36px));
  margin-top: 24px;
}
.seller-dashboard .admin-hero {
  min-height: 176px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,246,250,.96)),
    radial-gradient(circle at 92% 20%, rgba(229, 69, 126, .18), transparent 30%);
  box-shadow: 0 18px 50px rgba(229, 69, 126, .09);
}
.seller-dashboard .admin-hero h2 {
  color: #30243a;
  font-size: clamp(2rem, 3vw, 2.65rem);
}
.seller-dashboard .admin-hero .actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.seller-dashboard .admin-hero .btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
}
.seller-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.seller-kpi-grid .metric-card,
.seller-panel,
.seller-ops-grid a {
  border-radius: 8px;
  border-color: #f1bfd0;
  background: rgba(255,255,255,.94);
}
.seller-kpi-grid .metric-card {
  min-height: 118px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(229, 69, 126, .07);
}
.seller-kpi-grid .metric-card span {
  color: #607086;
  font-weight: 850;
}
.seller-kpi-grid .metric-card strong {
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}
.seller-kpi-grid .metric-card small { font-size: .9rem; }
.seller-dashboard .seller-ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.seller-dashboard .seller-ops-grid a {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  min-height: 104px;
  box-shadow: 0 15px 34px rgba(229, 69, 126, .07);
}
.seller-dashboard .seller-ops-grid span {
  color: #171827;
  font-weight: 900;
  font-size: 1rem;
}
.seller-dashboard .seller-ops-grid strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 2.2rem;
}
.seller-dashboard .seller-ops-grid small {
  color: var(--muted);
  line-height: 1.45;
}
.seller-dashboard .admin-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
  gap: 16px;
}
.seller-panel {
  padding: 20px;
  box-shadow: 0 18px 44px rgba(229, 69, 126, .07);
}
.seller-panel .panel-title {
  align-items: center;
  margin-bottom: 16px;
}
.seller-panel .panel-title h2 {
  color: #121827;
  font-size: 1.22rem;
}
.seller-panel .panel-title a {
  color: var(--pink-strong);
  font-weight: 900;
}
.order-panel .table-wrap {
  border: 0;
  background: transparent;
}
.order-panel table {
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.order-panel th {
  padding: 0 14px 8px;
  border: 0;
  font-size: .78rem;
}
.order-panel td {
  padding: 15px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.order-panel td:first-child {
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
}
.order-panel td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}
.stock-panel .stock-list {
  gap: 9px;
}
.stock-panel .stock-list div {
  min-height: 62px;
  padding: 12px;
  background: #fff8fb;
}
.stock-panel .stock-list strong {
  color: #141827;
  line-height: 1.25;
}
.seller-chat-preview { margin-top: 16px; }
.seller-preview-row {
  grid-template-columns: 52px minmax(0, 1fr) max-content;
  min-height: 78px;
  background: linear-gradient(90deg, #fff7fb, #fff);
}
.seller-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.seller-category-grid a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.seller-category-grid strong {
  color: var(--pink-strong);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.seller-category-grid span,
.seller-category-grid b {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}
.seller-category-grid b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #111827;
  white-space: nowrap;
}
.buyer-box {
  padding: 13px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--pink-soft);
}
.buyer-box strong, .buyer-box span { display: block; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.option-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.option-panel h4 { margin: 0 0 10px; color: var(--navy); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
}
.choice:hover { background: var(--pink-soft); border-color: var(--line); }
.choice input { width: auto; min-height: auto; margin-top: 3px; }
.choice span { font-weight: 700; }
.choice small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; }
.checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; }
.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.checkout-steps span {
  padding: 10px;
  border-radius: 8px;
  background: #fff6fa;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  text-align: center;
}
.checkout-steps .active { background: linear-gradient(135deg, #ff7aa1, #d93d71); color: #fff; }
.promo-box {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.promo-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.promo-choice input { width: auto; min-height: auto; margin-top: 3px; }
.promo-choice strong, .promo-choice small { display: block; }
.promo-choice strong { color: var(--pink-strong); }
.promo-choice small { color: var(--muted); margin-top: 3px; }
.promo-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}
.summary .card-body { padding: 18px; }
.summary-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}
.summary-row.discount strong { color: var(--green); }
.checkout-market-page {
  width: min(1440px, calc(100% - 48px));
  margin: 28px auto 56px;
}
.checkout-market-page h1 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 1.65rem;
}
.checkout-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 28px;
  align-items: start;
}
.checkout-left {
  display: grid;
  gap: 18px;
}
.checkout-address-card,
.checkout-items-card,
.checkout-payment-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.checkout-address-card {
  padding: 26px;
}
.checkout-address-card h2,
.payment-head h2 {
  margin: 0;
  color: #667085;
  font-size: .95rem;
  text-transform: uppercase;
}
.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}
.address-row strong {
  display: block;
  color: #111827;
  margin-bottom: 10px;
}
.address-row p {
  margin: 0;
  color: #111827;
  line-height: 1.55;
}
.checkout-address-card textarea {
  margin-top: 14px;
  min-height: 72px;
  resize: vertical;
}
.checkout-items-card {
  padding: 0;
  overflow: hidden;
}
.checkout-item-card {
  padding: 26px;
  border-bottom: 1px solid #eef1f5;
}
.checkout-item-card:last-child { border-bottom: 0; }
.checkout-item-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 1rem;
}
.checkout-item-card .cart-check {
  background: var(--pink-strong);
}
.checkout-product-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 130px 116px;
  gap: 18px;
  align-items: start;
}
.checkout-product-line img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid #eef1f5;
  border-radius: 8px;
}
.checkout-product-line strong {
  display: block;
  color: #111827;
  line-height: 1.45;
}
.checkout-product-line small {
  display: block;
  margin-top: 8px;
  color: #667085;
}
.checkout-product-line > b {
  color: #111827;
  text-align: right;
}
.protection-line {
  display: block;
  margin-top: 14px;
  color: #111827;
  font-weight: 650;
}
.protection-line input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-right: 8px;
  accent-color: var(--pink-strong);
  vertical-align: middle;
}
.qty-control.compact {
  justify-self: end;
}
.shipping-select-box {
  margin: 18px 0 0 108px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}
.shipping-select-box summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 850;
}
.shipping-select-box summary::-webkit-details-marker { display: none; }
.shipping-origin {
  margin: 0 18px 8px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #667085;
}
.shipping-select-box label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid #eef1f5;
  cursor: pointer;
}
.shipping-select-box input { display: none; }
.shipping-select-box label strong,
.shipping-select-box label small { display: block; }
.shipping-select-box label small {
  margin-top: 5px;
  color: #667085;
}
.shipping-select-box label i {
  display: none;
  color: var(--pink-strong);
  font-style: normal;
  font-weight: 950;
}
.shipping-select-box label.active {
  background: #f8fafc;
}
.shipping-select-box label.active i { display: block; }
.checkout-note-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 18px 0 0 108px;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
}
.checkout-note-row span {
  color: #111827;
  font-weight: 750;
}
.checkout-note-row textarea {
  min-height: 50px;
  resize: vertical;
}
.checkout-payment-card {
  position: sticky;
  top: 118px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 26px;
}
.payment-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.payment-head button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pink-strong);
  font-weight: 900;
}
.payment-choice-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #eef1f5;
  cursor: pointer;
}
.payment-choice-row .logo-tile {
  position: relative;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff5f8;
  border-color: #ffd2df;
  font-size: 0;
  line-height: 1;
}
.payment-choice-row .logo-tile::after {
  content: "PAY";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--pink-strong);
  font-size: .68rem;
  font-weight: 950;
}
.payment-choice-row .logo-bca::after { content: "BCA"; color: #005baa; }
.payment-choice-row .logo-bri::after { content: "BRI"; color: #00529c; }
.payment-choice-row .logo-bni::after { content: "BNI"; color: #f58220; }
.payment-choice-row .logo-mandiri::after { content: "MDR"; color: #003d79; }
.payment-choice-row .logo-bsi::after { content: "BSI"; color: #00a39b; }
.payment-choice-row .logo-ovo::after { content: "OVO"; color: #6d2bbf; }
.payment-choice-row .logo-gopay::after { content: "GP"; color: var(--pink-strong); }
.payment-choice-row .logo-dana::after { content: "DANA"; color: #118eea; font-size: .6rem; }
.payment-choice-row .logo-shopeepay::after { content: "SPay"; color: #ee4d2d; font-size: .56rem; }
.payment-choice-row .logo-linkaja::after { content: "LA"; color: #e31e24; }
.payment-choice-row .logo-indomaret::after { content: "IDM"; color: #e31e24; }
.payment-choice-row .logo-alfamart::after,
.payment-choice-row .logo-alfamidi::after { content: "ALF"; color: #005baa; }
.payment-choice-row .logo-qris::after { content: "QR"; color: #222; }
.payment-choice-row .logo-cod::after { content: "COD"; color: #6b7280; }
.payment-choice-row .logo-paylater::after { content: "PL"; color: var(--pink-strong); }
.payment-choice-row > strong {
  color: #111827;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}
.payment-choice-row input {
  width: 22px;
  height: 22px;
  min-height: 0;
  accent-color: var(--pink-strong);
}
.checkout-promo-call {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #ffc9d8;
  border-radius: 8px;
  background: #fff6fa;
}
.checkout-promo-call strong {
  display: block;
  margin-bottom: 10px;
}
.checkout-total-box {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #eef1f5;
}
.checkout-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.checkout-total-box span { color: #4b5565; }
.checkout-total-box strong { color: #111827; }
.checkout-total-box .grand {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef1f5;
  font-size: 1.12rem;
  font-weight: 900;
}
.pay-now-btn {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
}
.checkout-payment-card > p {
  margin: 12px 0 0;
  color: #667085;
  font-size: .84rem;
  text-align: center;
}
.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 20, 26, .62);
}
.payment-modal.is-open { display: flex; }
.payment-modal-card {
  width: min(560px, 100%);
  max-height: 86vh;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.payment-modal-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 12px;
}
.payment-modal-card header h2 {
  margin: 0;
  color: #111827;
}
.payment-modal-card header button {
  min-height: 42px;
  width: 42px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #4b5565;
  font-size: 2rem;
}
.payment-modal-body {
  max-height: calc(86vh - 82px);
  overflow-y: auto;
  padding: 0 28px 28px;
}
.payment-modal-body section {
  padding: 18px 0;
  border-bottom: 1px solid #eef1f5;
}
.payment-modal-body h3 {
  margin: 0 0 10px;
  color: #111827;
}

.invoice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
}
.invoice-head { display: flex; justify-content: space-between; gap: 18px; border-bottom: 2px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, #fff1f6);
}
.admin-hero h2 { margin: 8px 0; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); }
.admin-dashboard .metric-grid { margin-bottom: 16px; }
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 16px;
  margin-bottom: 16px;
}
.compact-table table { min-width: 620px; }
.stock-list { display: grid; gap: 10px; }
.stock-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.stock-list strong, .stock-list small { display: block; }
.stock-list small { color: var(--muted); margin-top: 4px; }
.stock-list b { color: var(--pink-strong); font-size: 1.25rem; }
.admin-category-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.account-page {
  width: min(1380px, calc(100% - 32px));
  margin: 28px auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.account-sidebar, .account-panel, .account-orders {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(217, 61, 113, .08);
}
.account-sidebar { position: sticky; top: 104px; overflow: hidden; }
.account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.avatar, .profile-photo {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7aa1, #d93d71);
  color: #fff;
  font-weight: 900;
}
.avatar { width: 58px; height: 58px; font-size: 1.35rem; }
.account-user strong, .account-user small { display: block; }
.account-user small { color: var(--muted); margin-top: 4px; }
.wallet-list { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.wallet-list div { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; }
.wallet-list a { color: var(--green); font-weight: 800; }
.wallet-list b { font-weight: 800; }
.wallet-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; font-size: .72rem; font-weight: 900; }
.wallet-icon.plus { background: #0f8f61; }
.wallet-icon.pay { background: #21b7d8; }
.wallet-icon.card { background: #16a34a; }
.wallet-icon.saldo { background: #22c55e; }
.account-sidebar > .btn { margin: 18px; width: calc(100% - 36px) !important; }
.account-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.user-line { color: var(--navy-strong); font-size: 1.25rem; font-weight: 900; }
.ship-to { color: var(--ink); font-weight: 800; }
.account-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(max-content, 1fr));
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.account-tabs a {
  padding: 16px 20px;
  text-align: center;
  color: #5c6473;
  font-weight: 900;
  border-bottom: 3px solid transparent;
}
.account-tabs a.active {
  color: var(--pink-strong);
  border-bottom-color: var(--pink-strong);
}
.account-content { min-height: 420px; padding: 28px; }
.profile-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
}
.profile-photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 26px rgba(217, 61, 113, .07);
}
.profile-photo-card form,
.profile-photo-card .btn { width: 100%; }
.profile-photo {
  width: 100%;
  aspect-ratio: 1 / .86;
  border-radius: 8px;
  font-size: 5rem;
  overflow: hidden;
}
.flash {
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid #b8efd0;
  background: #eefdf5;
  color: #087443;
  font-weight: 750;
}
.flash.error {
  border-color: #ffc9d8;
  background: #fff0f5;
  color: #c5295d;
}
.profile-detail h3 { margin: 0 0 18px; color: #5c6473; }
.profile-detail dl {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 30px;
}
.profile-detail dt { color: #5c6473; }
.profile-detail dd { margin: 0; color: #3e4654; }
.profile-detail a, .address-card a { color: var(--green); font-weight: 800; margin-left: 10px; }
.verified {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  margin-left: 8px;
  background: #c8f7df;
  color: #06954b;
  font-size: .78rem;
  font-weight: 900;
}
.safe-row { display: flex; align-items: center; gap: 24px; }
.switch input { display: none; }
.switch i {
  display: block;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: #222632;
  position: relative;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}
.address-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 16px;
  margin-bottom: 22px;
}
.address-filter { display: flex; gap: 10px; margin-bottom: 20px; }
.address-filter button {
  background: #fff;
  color: var(--muted);
  border: 1px solid #ccd4e0;
}
.address-filter .active { color: var(--green); border-color: var(--green); background: #ecfff5; }
.address-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}
.address-card strong span { background: #eef2f7; color: #6b7280; padding: 4px 7px; border-radius: 5px; font-size: .78rem; }
.address-card h3 { margin: 8px 0; }
.pinpoint { color: var(--green); font-weight: 900; }
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 510px;
  gap: 34px;
}
.payment-method-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e4e8ef;
}
.wallet-card {
  min-height: 245px;
  border-radius: 18px;
  padding: 26px;
  color: #fff;
  background: radial-gradient(circle at 72% 12%, rgba(255,255,255,.22) 0, transparent 26%), linear-gradient(135deg, #ff7aa1, #d93d71);
}
.wallet-card span, .wallet-card strong, .wallet-card p { display: block; }
.wallet-card strong { margin-top: 70px; font-size: 1.8rem; }
.bank-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 34px;
}
.bank-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 26px;
}
.bank-icon {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #f1f3f7;
  color: #b3bbc8;
  font-weight: 900;
}
.bank-card strong, .bank-card span, .bank-card p { display: block; margin: 4px 0; }
.notification-table { display: grid; margin-top: 20px; }
.notification-table div {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #dbe1ea;
}
.notification-table div:first-child { background: #eef1f6; border-radius: 8px 8px 0 0; font-weight: 900; }
.notification-table b { color: #fff; background: var(--green); width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mode-grid label {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffafd;
}
.mode-grid span, .mode-grid small { display: block; margin-top: 8px; }
.mode-grid span { color: var(--pink-strong); font-weight: 900; }
.security-list { display: grid; gap: 14px; }
.security-list div {
  display: grid;
  grid-template-columns: 1fr 160px 130px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.security-list strong { color: var(--green); }
.account-orders { margin-top: 22px; padding: 18px; }
.address-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}
.address-modal:target { display: grid; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 26, .62);
}
.address-modal-card {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(92vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .32);
}
.address-modal-card.small-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
}
.modal-head {
  position: relative;
  padding: 26px 64px 18px;
  text-align: center;
  border-bottom: 1px solid #eef1f5;
}
.modal-head h2 { margin: 0; font-size: 1.9rem; }
.modal-close {
  position: absolute;
  right: 24px;
  top: 14px;
  color: #6b7280;
  font-size: 2.6rem;
  line-height: 1;
}
.modal-body {
  overflow-y: auto;
  padding: 28px 36px;
  display: grid;
  gap: 18px;
}
.field-card > span,
.floating-field > span {
  display: inline-block;
  color: #667085;
  background: #fff;
  padding: 0 6px;
  transform: translate(12px, 10px);
}
.pinpoint-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.pinpoint-box::before { content: "⌖"; color: var(--pink-strong); font-weight: 900; }
.pinpoint-box strong { flex: 1; font-weight: 650; }
.pinpoint-box a { color: var(--green); font-weight: 900; }
.floating-field {
  position: relative;
  display: block;
}
.floating-field input,
.floating-field textarea {
  min-height: 56px;
  padding: 16px 14px 12px;
  border-color: #aeb8c8;
  font-size: 1rem;
}
.floating-field textarea { min-height: 104px; }
.floating-field small {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: #667085;
}
.floating-field em {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-style: normal;
}
.modal-divider {
  height: 8px;
  margin: 2px -36px 4px;
  background: #f0f2f5;
}
.modal-info {
  display: flex;
  gap: 10px;
  color: #6b7280;
  line-height: 1.5;
}
.modal-info::before {
  content: "i";
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccd4e0;
  color: #94a3b8;
  font-weight: 900;
}
.modal-info strong { color: var(--green); }
.modal-actions {
  padding: 18px 36px 26px;
  border-top: 1px solid #eef1f5;
}
.modal-actions button {
  width: 100%;
  background: linear-gradient(135deg, #ff7aa1, #d93d71);
}
.choice-list {
  display: grid;
  gap: 10px;
}
.choice-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}
.choice-list label:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-soft);
  color: var(--pink-strong);
}
.upload-box {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px dashed #ef9fbb;
  border-radius: 8px;
  background: #fff7fa;
  color: #526071;
}
.upload-box strong { color: var(--pink-strong); font-size: 1.05rem; }
.upload-box input {
  margin-top: 8px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.security-detail {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7fa;
}
.security-detail span {
  color: var(--muted);
  font-weight: 750;
}
.security-detail strong {
  color: var(--navy-strong);
  font-size: 1.08rem;
}
.security-detail em {
  color: var(--green);
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 980px) {
  .main-header, .market-hero, .dashboard-main, .commerce-grid, .admin-grid, .split, .footer-grid, .account-page, .profile-grid, .payment-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .message-page { grid-template-columns: 1fr; }
  .message-sidebar { position: static; }
  .chat-shell, .help-panel { grid-template-columns: 1fr; }
  .review-body { grid-template-columns: 1fr; }
  .seller-block { border-right: 0; border-bottom: 1px solid #eef1f5; }
  .complaint-filter { grid-template-columns: 1fr 1fr; }
  .cart-summary-card { position: static; }
  .cart-item-row { grid-template-columns: 28px 84px minmax(0, 1fr); }
  .cart-price-box { grid-column: 3; justify-items: start; }
  .cart-action-row { justify-content: flex-start; }
  .header-search { order: 3; }
  .category-nav { order: 2; width: max-content; }
  .category-mega { order: 2; }
  .category-mega-panel { top: 112px; max-height: calc(100vh - 112px); overflow-y: auto; }
  .mega-tabs { grid-template-columns: repeat(3, max-content); gap: 22px; overflow-x: auto; }
  .mega-body { grid-template-columns: 1fr; }
  .mega-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid #eef1f5; }
  .mega-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-actions { order: 4; justify-content: flex-start; flex-wrap: wrap; min-width: 0; }
  .account-dropdown { left: 0; right: auto; width: min(455px, calc(100vw - 32px)); }
  .cart-dropdown, .notification-dropdown { left: 0; right: auto; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail-grid { grid-template-columns: 320px minmax(0, 1fr); }
  .buy-box {
    position: static;
    grid-column: 1 / -1;
  }
  .checkout-market-layout { grid-template-columns: 1fr; }
  .checkout-payment-card { position: static; max-height: none; }
  .checkout-product-line { grid-template-columns: 84px minmax(0, 1fr) 120px; }
  .checkout-product-line .qty-control { grid-column: 2 / -1; justify-self: end; }
  .recommendation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-category-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar input { grid-column: 1 / -1; }
  .summary { position: static; }
  .account-sidebar { position: static; }
  .account-tabs { grid-template-columns: repeat(7, max-content); }
  .address-toolbar, .bank-card, .security-list div { grid-template-columns: 1fr; }
  .address-modal { padding: 0; align-items: end; }
  .address-modal-card { width: 100%; max-height: 94vh; border-radius: 8px 8px 0 0; }
  .auth-shell,
  .auth-shell.login-shell { grid-template-columns: 1fr; }
  .auth-side { min-height: auto; padding: 28px; }
  .auth-side img { margin-bottom: 20px; }
  .seller-auth-shell,
  .seller-auth-shell.register-seller,
  .seller-chat-shell { grid-template-columns: 1fr; }
  .seller-auth-side { padding: 30px; }
  .seller-ops-grid,
  .seller-dashboard .seller-ops-grid,
  .seller-kpi-grid,
  .seller-dashboard .admin-grid { grid-template-columns: 1fr; }
  .seller-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-chat-list,
  .seller-customer-card { border: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  html,
  body,
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .topbar { display: none; }
  .site-header {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .main-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    width: 100%;
    max-width: 100vw;
  }
  .brand {
    order: 1;
    flex: 1 1 100%;
    width: auto;
    min-width: 0;
  }
  .category-mega {
    display: none;
  }
  .category-nav {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    display: grid;
    place-items: center;
    color: transparent;
    overflow: hidden;
  }
  .category-nav::before {
    content: "☰";
    color: var(--navy-strong);
    font-size: 1.15rem;
    line-height: 1;
  }
  .header-search {
    order: 2;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    border: 1px solid #efbfd0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(217, 61, 113, .08);
    overflow: hidden;
  }
  .header-actions {
    order: 3;
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
  }
  .logo-brand img { width: 124px; height: 38px; }
  .search-symbol { width: 36px; height: 38px; }
  .search-symbol svg { width: 18px; height: 18px; }
  .header-search input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 10px 0 0;
    border: 0;
    font-size: .86rem;
  }
  .header-search button { display: none; }
  .category-mega-panel { top: 96px; }
  .mega-tabs, .mega-body { width: min(100% - 24px, 1500px); }
  .mega-tabs { grid-template-columns: repeat(5, max-content); min-height: 48px; }
  .mega-sidebar { grid-template-columns: 1fr 1fr; }
  .mega-content { padding: 22px 0 26px; }
  .mega-title { align-items: flex-start; }
  .mega-product-list { grid-template-columns: 1fr; gap: 10px; }
  .cart-menu { order: 1; }
  .notification-menu { order: 2; }
  .message-menu { order: 3; }
  .icon-button { width: 30px; height: 30px; }
  .icon-button svg { width: 20px; height: 20px; }
  .icon-badge {
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    font-size: .62rem;
  }
  .action-divider { display: none; }
  .store-pill {
    order: 4;
    width: auto;
    min-height: 32px;
    padding: 4px 8px;
    gap: 5px;
    justify-content: center;
    overflow: hidden;
    font-size: .86rem;
  }
  .login-link {
    order: 5;
    display: inline-flex;
    min-height: 32px;
    padding: 6px 8px;
    font-size: .86rem;
  }
  .register-link { display: none; }
  .store-icon, .account-avatar { width: 32px; height: 32px; }
  .account-menu { order: 5; }
  .account-trigger { padding-right: 8px; }
  .account-name { max-width: 72px; }
  .account-dropdown {
    position: fixed;
    top: 96px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }
  .dropdown-content { grid-template-columns: 1fr; }
  .dropdown-links { border-left: 0; padding-left: 0; border-top: 1px solid #eef1f5; padding-top: 10px; }
  .dropdown-links .logout-link { margin-top: 8px; }
  .mini-cart-list a { grid-template-columns: 56px minmax(0, 1fr); }
  .mini-cart-list b { grid-column: 2; }
  .added-cart-card { padding: 22px 18px 28px; }
  .added-product-row { grid-template-columns: 58px minmax(0, 1fr); }
  .added-product-row .btn { grid-column: 1 / -1; text-align: center; }
  .added-recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-page { width: min(100% - 20px, 1360px); }
  .message-page { width: min(100% - 20px, 1360px); }
  .chat-notice { grid-template-columns: 24px minmax(0, 1fr); }
  .chat-notice a, .chat-notice button { grid-column: 2; }
  .review-toolbar, .complaint-filter { grid-template-columns: 1fr; }
  .review-product { grid-template-columns: 62px minmax(0, 1fr); }
  .review-product .btn { grid-column: 1 / -1; text-align: center; }
  .product-detail-grid,
  .review-layout,
  .rating-summary-card { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .product-main-image img { aspect-ratio: 4 / 3; }
  .product-detail-list,
  .spec-card-grid { grid-template-columns: 1fr; }
  .seller-mini { grid-template-columns: 48px minmax(0, 1fr); }
  .seller-mini .btn { grid-column: 2; width: max-content; }
  .review-media-strip { grid-template-columns: repeat(3, 1fr); }
  .review-media-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-market-page { width: min(100% - 20px, 1440px); }
  .checkout-address-card,
  .checkout-item-card,
  .checkout-payment-card { padding: 18px; }
  .address-row,
  .checkout-product-line,
  .checkout-note-row {
    grid-template-columns: 1fr;
  }
  .checkout-product-line img { width: 100%; height: auto; aspect-ratio: 1 / .72; }
  .checkout-product-line > b { text-align: left; }
  .shipping-select-box,
  .checkout-note-row { margin-left: 0; }
  .promo-input { grid-template-columns: 1fr; }
  .payment-modal { padding: 0; align-items: flex-end; }
  .payment-modal-card { max-height: 94vh; border-radius: 8px 8px 0 0; }
  .chat-room-head { grid-template-columns: 42px minmax(0, 1fr); }
  .chat-room-head a { grid-column: 2; }
  .chat-compose { grid-template-columns: 1fr; }
  .chat-bubble { max-width: 92%; }
  .cart-title { align-items: flex-start; flex-direction: column; }
  .cart-select-row { padding: 18px; }
  .cart-item-row {
    grid-template-columns: 24px 76px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .cart-item-img img { width: 76px; height: 76px; }
  .cart-price-box { grid-column: 2 / -1; }
  .cart-action-row { width: 100%; justify-content: space-between; }
  .nav { justify-content: flex-start; width: 100%; }
  .nav a { padding: 9px 8px; font-size: .88rem; }
  .store-dashboard,
  .product-showcase {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .store-dashboard { margin-top: 16px; }
  .market-hero, .catalog-panel, .admin-hero { padding: 18px; }
  .promo-carousel {
    max-width: 100%;
    border-radius: 8px;
  }
  .promo-slide {
    aspect-ratio: 16 / 6.4;
    min-height: 150px;
  }
  .promo-slide img {
    object-fit: cover;
    object-position: center;
  }
  .promo-arrow {
    width: 32px;
    height: 32px;
    min-height: 32px;
    font-size: 1.35rem;
  }
  .promo-more {
    right: 8px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: .68rem;
  }
  .hero-art { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .trust-strip { display: none; }
  .mobile-category-section {
    display: block;
    margin: 10px 0 16px;
    padding: 10px 12px 12px;
    width: 100%;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border-top: 1px solid #f7d6e2;
    border-bottom: 1px solid #f7d6e2;
    background: #fff;
  }
  .mobile-section-head { margin-bottom: 10px; }
  .mobile-section-head h2 { font-size: .98rem; }
  .mobile-section-head a { font-size: .7rem; }
  .mobile-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .mobile-category-grid a:nth-child(n+5) { display: none; }
  .mobile-category-grid a {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    padding: 6px 5px;
    overflow: hidden;
  }
  .mobile-category-grid i {
    width: 24px;
    height: 24px;
    font-size: .56rem;
  }
  .mobile-category-grid span {
    font-size: .62rem;
  }
  .product-section-head { align-items: flex-start; flex-direction: column; }
  .product-section-head h2 { font-size: 1.22rem; }
  .product-section-head p { font-size: .86rem; }
  .product-card img { height: 112px; }
  .card-body { padding: 9px 10px 11px; }
  .product-card h3 { font-size: .8rem; min-height: 34px; }
  .product-card .muted { font-size: .74rem; }
  .price { font-size: .84rem; }
  .stock { font-size: .72rem; }
  .toolbar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-section { grid-template-columns: 1fr; }
  .auth-page-modern {
    width: min(100% - 20px, 1120px);
    margin: 24px auto 44px;
  }
  .auth-card-modern { padding: 24px 18px; }
  .auth-row { align-items: flex-start; flex-direction: column; }
  .option-grid { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: 1fr 1fr; }
  .admin-hero { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-dashboard { width: min(100% - 20px, 1380px); }
  .seller-category-grid { grid-template-columns: 1fr; }
  .seller-preview-row { grid-template-columns: 46px minmax(0, 1fr); }
  .seller-preview-row .btn { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid, .category-list, .admin-category-list { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
@media (max-width: 340px) {
  .product-grid { grid-template-columns: 1fr; }
  .mobile-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .site-header, .footer, .no-print { display: none !important; }
  body { background: #fff; }
  .section { width: 100%; margin: 0; }
  .invoice { border: 0; padding: 0; }
}
