:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --paper-2: #fffdf8;
  --ink: #162033;
  --muted: #657187;
  --line: #ece4da;
  --orange: #ff7a1a;
  --coral: #ff4f81;
  --blue: #3366ff;
  --green: #10b981;
  --violet: #7c3aed;
  --shadow: 0 24px 70px rgba(101, 78, 50, 0.14);
  --soft-shadow: 0 12px 32px rgba(101, 78, 50, 0.10);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 122, 26, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(51, 102, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #fffaf3 0%, #f6f9ff 52%, #fff7ed 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 0; }
img { display: block; max-width: 100%; }

.market-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(236, 228, 218, 0.9);
  backdrop-filter: blur(18px);
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(18px, 5vw, 72px);
  color: #7a542e;
  background: #fff0d8;
  font-size: 13px;
  font-weight: 800;
}
.topline nav,
.navline,
.category-ribbon,
.account-actions,
.hero-actions {
  display: flex;
  align-items: center;
}
.topline nav { gap: 18px; color: #49382c; }
.navline {
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-bag {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 16px 36px rgba(255, 122, 26, 0.28);
}
.brand strong {
  display: block;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.04em;
}
.brand small {
  display: block;
  color: var(--muted);
  margin-top: -4px;
  font-size: 12px;
}
.mega-search {
  flex: 1;
  min-width: 280px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: var(--soft-shadow);
}
.mega-search span {
  color: var(--orange);
  font-weight: 900;
}
.mega-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.account-actions { gap: 10px; }
.ghost-link,
.solid-link,
.outline-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}
.ghost-link { color: var(--ink); }
.solid-link {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  box-shadow: 0 18px 34px rgba(255, 79, 129, 0.22);
}
.outline-link {
  background: white;
  border: 1px solid var(--line);
}
.big { min-height: 58px; padding-inline: 30px; }
.full { width: 100%; border-radius: 18px; }
.category-ribbon {
  gap: 10px;
  overflow-x: auto;
  padding: 0 clamp(18px, 5vw, 72px) 16px;
  scrollbar-width: none;
}
.category-ribbon::-webkit-scrollbar { display: none; }
.category-ribbon a {
  min-width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: #4d586d;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(101, 78, 50, 0.06);
}
.category-ribbon a:hover {
  color: white;
  border-color: transparent;
  background: var(--ink);
}

main > section,
.site-footer {
  width: min(1720px, calc(100% - 44px));
  margin: 34px auto;
}
.shopping-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: stretch;
}
.shop-front {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 410px;
  gap: 18px;
  align-items: start;
}
.shop-menu,
.shop-center,
.shop-checkout {
  min-height: 100%;
}
.shop-menu {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}
.shop-menu > strong {
  padding: 6px 8px 10px;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.shop-menu a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  color: #334155;
  font-weight: 900;
  background: #fffaf3;
  border: 1px solid transparent;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.shop-menu a:hover {
  transform: translateX(5px);
  border-color: #ffd5a8;
  background: white;
}
.shop-menu span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  font-size: 12px;
  flex: 0 0 auto;
}
.shop-center {
  display: grid;
  gap: 14px;
}
.mall-banner {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 32px;
  border: 1px solid #ffd9b5;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,.72), transparent 15rem),
    linear-gradient(135deg, #fff2d9, #ffe0e9 52%, #ecf4ff);
  box-shadow: var(--shadow);
}
.mall-banner::before {
  content: "";
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border-radius: 24px;
  border: 1px dashed rgba(255, 122, 26, .32);
}
.mall-banner h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: .98;
  letter-spacing: -0.07em;
}
.mall-banner p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 0 22px;
  color: #5e6d83;
  font-size: 17px;
  line-height: 1.65;
}
.mall-banner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(111, 76, 45, .16);
  animation: floatCard 4.8s ease-in-out infinite;
}
.voucher-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.voucher-row a {
  min-height: 82px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.voucher-row strong,
.voucher-row span {
  display: block;
}
.voucher-row strong {
  margin-bottom: 6px;
  font-size: 17px;
}
.voucher-row span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.flash-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.flash-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--soft-shadow);
}
.flash-item img {
  width: 62px;
  height: 48px;
  object-fit: contain;
  padding: 8px;
  border-radius: 16px;
  background: #fffaf3;
  border: 1px solid var(--line);
}
.flash-item strong {
  font-size: 15px;
  line-height: 1.25;
}
.flash-item span {
  color: var(--coral);
  font-weight: 900;
}
.hero-board {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) 310px;
  gap: 18px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 42px;
  border: 1px solid rgba(236, 228, 218, 0.9);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.7)),
    url("assets/images/pulsakeren-hero.png") right center / cover no-repeat;
  box-shadow: var(--shadow);
}
.hero-board::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.15);
  filter: blur(8px);
  animation: pulseBlob 5s ease-in-out infinite;
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff0d8;
  color: #b45309;
  font-size: 13px;
  font-weight: 900;
}
.hero-copy h1 {
  max-width: 820px;
  margin: 18px 0;
  font-size: clamp(48px, 6.8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}
.hero-copy p {
  max-width: 720px;
  color: #5e6d83;
  font-size: 20px;
  line-height: 1.75;
}
.hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-deals {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 12px;
}
.hero-deals article {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(236, 228, 218, 0.8);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  animation: floatCard 4s ease-in-out infinite;
}
.hero-deals article:nth-child(2) { animation-delay: -1.4s; }
.hero-deals article:nth-child(3) { animation-delay: -2.7s; }
.hero-deals span,
.hero-deals small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.hero-deals strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.hero-cart {
  padding: 24px;
  border-radius: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cart-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.cart-head strong { display: block; font-size: 24px; letter-spacing: -0.04em; }
.cart-head small { color: var(--muted); font-weight: 700; }
.cart-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-size: 26px;
  font-weight: 900;
  background: var(--ink);
}
.mini-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.tab-btn {
  min-height: 46px;
  padding: 0 12px;
  border-radius: 15px;
  background: #f7f4ef;
  color: #566176;
  font-weight: 900;
}
.tab-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 28px rgba(51, 102, 255, 0.2);
}
.checkout-form {
  display: grid;
  gap: 14px;
}
.checkout-form label span {
  display: block;
  margin-bottom: 8px;
  color: #4d586d;
  font-weight: 900;
}
.checkout-form input,
.checkout-form select,
.catalog-toolbar select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 17px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  outline: none;
}
.checkout-form input:focus,
.checkout-form select:focus,
.mega-search:focus-within {
  border-color: rgba(255, 122, 26, 0.7);
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.10);
}
.receipt {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: #fff8ee;
}
.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}
.receipt-total {
  padding-top: 10px;
  border-top: 1px dashed #e8c9aa;
  color: var(--ink) !important;
  font-size: 18px;
}

.live-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 22px;
  color: #063c2d;
  background: #dcfff3;
  border: 1px solid #baf7e2;
  overflow: hidden;
}
.live-strip strong { white-space: nowrap; }
.ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
}
.ticker span {
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  font-weight: 800;
  animation: slideTicker 16s linear infinite;
}

.section-title {
  text-align: center;
  margin-bottom: 26px;
}
.section-title.left { text-align: left; }
.section-title h2,
.market-sidebar h2,
.catalog-toolbar h2,
.info-mosaic h2 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.section-title p,
.market-sidebar p,
.catalog-toolbar p,
.info-mosaic p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.logo-market,
.deal-section,
.product-market,
.info-mosaic,
.help-section {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(236, 228, 218, 0.9);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}
.category-showcase {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 14px;
}
.category-tile {
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 12px 24px rgba(101, 78, 50, 0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(101, 78, 50, 0.13);
}
.tile-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--coral));
}
.category-tile:nth-child(2n) .tile-icon { background: linear-gradient(135deg, var(--blue), #52b7ff); }
.category-tile:nth-child(3n) .tile-icon { background: linear-gradient(135deg, var(--green), #84cc16); }
.category-tile strong { text-align: center; }
.category-tile small { color: var(--muted); font-weight: 800; }

.deal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 18px;
}
.deal-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}
.deal-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform .35s ease;
}
.deal-card:hover img { transform: scale(1.05); }
.deal-card div {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
}
.deal-card.dark div { color: white; background: rgba(22, 32, 51, 0.84); }
.deal-card span {
  color: var(--coral);
  font-weight: 900;
  font-size: 13px;
}
.deal-card h3 {
  margin: 6px 0 4px;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.deal-card p { margin: 0; color: var(--muted); line-height: 1.5; }

.product-market {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.market-sidebar {
  position: sticky;
  top: 172px;
  display: grid;
  gap: 16px;
}
.side-filter {
  display: grid;
  gap: 10px;
}
.side-filter button {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  background: #fff8ee;
  color: #4d586d;
  font-weight: 900;
}
.side-filter button.active {
  color: white;
  background: var(--ink);
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.catalog-toolbar select { width: 210px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 24px rgba(101, 78, 50, 0.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,122,26,0.12), transparent 38%);
  opacity: 0;
  transition: opacity .2s ease;
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow: 0 24px 46px rgba(101, 78, 50, 0.15);
}
.product-card:hover::before { opacity: 1; }
.product-top,
.price-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-box {
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
  flex: 0 0 auto;
}
.product-top h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.035em;
}
.product-top p,
.product-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.price-row {
  justify-content: space-between;
  margin-top: 8px;
}
.price-row strong {
  font-size: 22px;
  letter-spacing: -0.035em;
}
.choose-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.info-mosaic {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.7fr);
  gap: 16px;
}
.info-mosaic article {
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
}
.info-mosaic .mosaic-main {
  min-height: 320px;
  background: linear-gradient(135deg, #182033, #343d5c);
  color: white;
}
.mosaic-main p { color: rgba(255,255,255,0.76); }
.info-mosaic article > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.metric-grid div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
}
.metric-grid strong {
  display: block;
  font-size: 28px;
}
.metric-grid span {
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.help-grid article {
  min-height: 190px;
  padding: 22px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--line);
}
.help-grid span {
  color: var(--orange);
  font-weight: 900;
}
.help-grid strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 21px;
}
.help-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  padding: 34px;
  border-radius: 36px 36px 0 0;
  color: white;
  background: #162033;
}
.site-footer p { color: rgba(255,255,255,0.68); line-height: 1.7; }
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
}
.site-footer a { color: rgba(255,255,255,0.76); }

.toast-stack {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  gap: 10px;
}
.toast {
  width: min(390px, calc(100vw - 48px));
  padding: 16px 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: toastIn .25s ease both;
}
.toast strong { display: block; }
.toast span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 122, 26, .16), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(255, 79, 129, .12), transparent 28rem),
    linear-gradient(135deg, #fffaf3, #f6f9ff);
}
.auth-shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.auth-visual,
.auth-card {
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.auth-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  min-height: 580px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.92)),
    url("assets/images/promo-data.png") center / cover no-repeat;
}
.auth-visual .brand { width: max-content; }
.auth-visual h1 {
  max-width: 460px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -.065em;
}
.auth-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.auth-benefits span {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}
.auth-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 56px);
}
.auth-card h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.06em;
}
.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.auth-card form {
  display: grid;
  gap: 14px;
}
.auth-card label span,
.dash-content label span {
  display: block;
  margin-bottom: 8px;
  color: #4d586d;
  font-weight: 900;
}
.auth-card input,
.dash-content input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}

.dash-layout {
  width: min(1720px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  margin: 16px auto;
}
.dash-sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-radius: 34px;
  color: white;
  background: #162033;
  box-shadow: var(--shadow);
}
.dash-sidebar .brand {
  color: white;
  margin-bottom: 18px;
}
.dash-sidebar .brand small { color: rgba(255,255,255,.65); }
.dash-sidebar .brand-bag,
.dash-sidebar .brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--coral));
}
.dash-nav {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 16px;
  color: rgba(255,255,255,.74);
  background: transparent;
  font-weight: 900;
  text-align: left;
}
.dash-nav.active,
.dash-nav:hover {
  color: var(--ink);
  background: white;
}
.dash-content {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.dash-top h1 {
  margin: 10px 0 0;
  font-size: clamp(36px, 5vw, 70px);
  letter-spacing: -.065em;
  line-height: .98;
}
.panel {
  display: none;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.panel.active { display: block; }
.panel h2 {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -.05em;
}
.stat-card.gradient {
  padding: 34px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--coral), var(--violet));
}
.stat-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(38px, 5vw, 70px);
  letter-spacing: -.06em;
}
.stat-card p { margin: 0; color: rgba(255,255,255,.78); }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.mini-grid article,
.list-card,
.coupon,
.nominal-row button {
  padding: 18px;
  border-radius: 20px;
  background: #fff8ee;
  border: 1px solid var(--line);
}
.mini-grid strong {
  display: block;
  font-size: 30px;
  letter-spacing: -.04em;
}
.mini-grid span,
.list-card,
.coupon {
  color: #59677e;
  font-weight: 800;
}
.nominal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
th, td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge.green { color: #047857; background: #d1fae5; }
.light-sidebar { background: #fff; color: var(--ink); }
.light-sidebar .brand { color: var(--ink); }
.light-sidebar .brand small { color: var(--muted); }
.light-sidebar .dash-nav { color: #4d586d; }
.light-sidebar .dash-nav.active,
.light-sidebar .dash-nav:hover {
  color: white;
  background: #162033;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseBlob {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes slideTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-70%); }
}
@keyframes toastIn {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 1280px) {
  .shopping-hero,
  .shop-front,
  .product-market,
  .info-mosaic {
    grid-template-columns: 1fr;
  }
  .shop-menu {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-menu > strong {
    grid-column: 1 / -1;
  }
  .hero-board { grid-template-columns: 1fr; }
  .hero-deals { grid-template-columns: repeat(3, 1fr); }
  .market-sidebar { position: static; }
  .side-filter { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topline { display: none; }
  .navline { flex-wrap: wrap; }
  .mega-search { order: 3; width: 100%; flex-basis: 100%; }
  .account-actions { margin-left: auto; }
  main > section,
  .site-footer { width: min(100% - 24px, 1720px); }
  .shopping-hero { gap: 14px; }
  .hero-board { min-height: auto; padding: 26px; border-radius: 28px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-deals,
  .mall-banner,
  .voucher-row,
  .flash-row,
  .deal-layout,
  .category-showcase,
  .help-grid,
  .site-footer,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .product-grid { grid-template-columns: 1fr; }
  .shop-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar select { width: 100%; }
  .auth-shell,
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    position: static;
    height: auto;
  }
  .mini-grid,
  .nominal-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand strong { font-size: 24px; }
  .brand-bag { width: 46px; height: 46px; }
  .ghost-link { display: none; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .big { width: 100%; }
  .mini-tabs,
  .shop-menu,
  .side-filter { grid-template-columns: 1fr; }
  .logo-market,
  .deal-section,
  .product-market,
  .info-mosaic,
  .help-section,
  .hero-cart { padding: 18px; border-radius: 24px; }
}
