:root {
  --ink: #172033;
  --ink-soft: #344054;
  --muted: #748096;
  --muted-soft: #98a2b3;
  --line: #e2e7ef;
  --line-strong: #ccd4df;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --wash-strong: #eef2f7;
  --accent: #ff5f56;
  --accent-strong: #e9473e;
  --accent-soft: #fff1ef;
  --green: #168d69;
  --green-soft: #e9faf4;
  --navy: #1d2941;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 16px 38px rgba(23, 32, 51, .08);
  --shadow-hover: 0 22px 48px rgba(23, 32, 51, .12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans KR", AppleGothic, sans-serif;
  background: var(--wash);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 95, 86, .22);
  outline-offset: 2px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.topbar {
  background: #111827;
  color: #c8d0dc;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: #d8dee8;
  transition: color .18s ease;
}

.topbar a:hover {
  color: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(226, 231, 239, .9);
  box-shadow: 0 8px 24px rgba(23, 32, 51, .04);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), #ff8a66);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 95, 86, .24);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #5e6b80;
  font-size: 14px;
}

.header nav a {
  position: relative;
  padding: 27px 0;
  transition: color .18s ease;
}

.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.header nav a.active,
.header nav a:hover {
  color: var(--ink);
  font-weight: 800;
}

.header nav a.active::after,
.header nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #526174;
  font-size: 13px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.icon-link b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0 6px;
  font-size: 11px;
}

.login {
  font-weight: 800;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 138, 102, .22), transparent 30%),
    linear-gradient(135deg, #111827 0%, #1d2941 52%, #26344d 100%);
}

.hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 72px;
  align-items: center;
  padding: 78px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7f8ca1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #aeb8c8;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.hero h1 em {
  color: #ff9a91;
  font-style: normal;
}

.hero p {
  max-width: 580px;
  margin: 0;
  color: #c3cad7;
  font-size: 16px;
  line-height: 1.85;
}

.search {
  width: min(540px, 100%);
  min-height: 58px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .16);
}

.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 15px;
  color: var(--ink);
  font-size: 14px;
}

.search button {
  width: 46px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.search button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.hero-note {
  margin-top: 17px;
  color: #aeb8c8;
  font-size: 12px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #72d6ad;
  box-shadow: 0 0 0 5px rgba(114, 214, 173, .12);
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  padding: 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #aeb8c8;
  font-size: 12px;
}

.trend {
  color: #70d7ab;
  font-weight: 900;
}

.trend-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.product-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.trend-item strong,
.trend-item small {
  display: block;
}

.trend-item strong {
  font-size: 14px;
}

.trend-item small {
  margin-top: 3px;
  color: #a8b3c4;
  font-size: 11px;
}

.trend-item b {
  margin-left: auto;
  color: #e5ebf4;
  font-size: 13px;
}

.panel-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: #ffb0a9;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 72px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
}

.section-head > a {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.section-head > a span {
  margin-left: 8px;
  color: var(--accent);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 14px 15px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.category-card:hover {
  border-color: #ffc6bf;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.category-card .product-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.category-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.category-card span {
  display: block;
  margin-top: auto;
  color: var(--muted-soft);
  font-size: 11px;
}

.category-card span b {
  margin-left: 4px;
  color: #b7c0cc;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card:hover {
  border-color: #ffc6bf;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-card > a {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-visual {
  position: relative;
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.card-visual::before,
.card-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.card-visual::before {
  width: 180px;
  height: 180px;
  right: -70px;
  top: -76px;
  border: 1px solid rgba(255, 255, 255, .28);
}

.card-visual::after {
  width: 90px;
  height: 90px;
  left: -36px;
  bottom: -40px;
  background: rgba(255, 255, 255, .12);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .88);
  color: #445064;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
}

.card-mark {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.visual-caption {
  position: absolute;
  right: 15px;
  bottom: 14px;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  font-weight: 900;
}

.coral {
  background: linear-gradient(135deg, #ee6e65, #ff8a66);
}

.blue {
  background: linear-gradient(135deg, #3f78c8, #67a4df);
}

.black {
  background: linear-gradient(135deg, #17191f, #363b46);
}

.violet {
  background: linear-gradient(135deg, #7063b2, #9783d6);
}

.green {
  background: linear-gradient(135deg, #3f946f, #6fbd94);
}

.sky {
  background: linear-gradient(135deg, #379bbd, #69c4de);
}

.red {
  background: linear-gradient(135deg, #df4f4e, #ff7772);
}

.slate {
  background: linear-gradient(135deg, #596779, #8390a2);
}

.card-body {
  min-height: 164px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 58px;
}

.category-label {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.card-body h3 {
  margin: 7px 0 7px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.card-body p {
  min-height: 36px;
  margin: 0;
  color: #7b8799;
  font-size: 12px;
  line-height: 1.55;
}

.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.card-foot strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.card-foot span {
  color: var(--muted-soft);
  font-size: 11px;
  white-space: nowrap;
}

.quick-add {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #ffd1cc;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.quick-add:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.trust {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 28px 0;
}

.trust-grid div {
  padding: 2px 26px;
  border-left: 1px solid var(--line);
}

.trust-grid div:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.trust-grid span {
  margin-top: 5px;
  color: #7b8799;
  font-size: 12px;
}

.page-main {
  min-height: 600px;
  padding: 58px 0 100px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.page-heading h1 {
  margin: 8px 0 8px;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 900;
}

.page-heading p {
  margin: 0;
  color: #7d899a;
  font-size: 14px;
}

.outline-btn,
.primary-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.outline-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #526174;
}

.outline-btn:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.primary-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 95, 86, .18);
}

.primary-btn:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.full {
  width: 100%;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 78px 24px;
  text-align: center;
}

.empty-icon {
  color: #b8c2cf;
  font-size: 42px;
}

.empty h2 {
  margin: 12px 0 6px;
  font-size: 20px;
  font-weight: 900;
}

.empty p {
  margin: 0 0 23px;
  color: #7b8799;
  font-size: 13px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.cart-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-info {
  min-width: 0;
  flex: 1;
}

.cart-info h3 {
  margin: 5px 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.cart-info p {
  margin: 0;
  color: #7d899a;
  font-size: 12px;
}

.cart-price {
  min-width: 112px;
  text-align: right;
}

.cart-price strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.cart-price span {
  display: block;
  margin-top: 3px;
  color: var(--muted-soft);
  font-size: 11px;
}

.remove {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #9aa5b5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.remove:hover {
  border-color: #ffd1cc;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.summary {
  position: sticky;
  top: 104px;
  height: max-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary h2 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 900;
}

.summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0;
  font-size: 13px;
}

.summary span {
  color: #7d899a;
}

.summary .free {
  color: var(--green);
  font-size: 12px;
}

.summary hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.summary .total {
  align-items: flex-end;
  margin-bottom: 22px;
}

.summary .total span {
  color: var(--ink);
  font-weight: 900;
}

.summary .total strong {
  color: var(--accent-strong);
  font-size: 22px;
}

.summary small {
  display: block;
  margin-top: 13px;
  color: var(--muted-soft);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.mini-line {
  align-items: flex-start !important;
  gap: 16px;
}

.mini-line span {
  min-width: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.mini-line strong {
  flex: none;
  font-size: 12px;
  white-space: nowrap;
}

.checkout-form,
.contact-form,
.info-block,
.faq-list {
  border-top: 1px solid var(--ink);
}

.checkout-form {
  border-radius: var(--radius);
  background: #fff;
  padding: 4px 22px 22px;
}

.checkout-form label,
.contact-form label {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 12px;
  font-size: 13px;
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 86, .12);
}

.checkout-form button,
.contact-form button {
  margin-top: 20px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 54px;
  align-items: start;
}

.back {
  width: max-content;
  max-width: 100%;
  display: flex;
  margin-bottom: 28px;
  color: #7d899a;
  font-size: 13px;
  font-weight: 800;
}

.back:hover {
  color: var(--accent-strong);
}

.detail-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-visual::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(23, 32, 51, .08);
}

.detail-visual .detail-mark {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-size: 58px;
  font-weight: 900;
}

.detail-visual > span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.detail-copy {
  padding-top: 12px;
}

.detail-copy h1 {
  margin: 11px 0 12px;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 900;
}

.detail-meta {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

.detail-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.detail-price strong {
  color: var(--accent-strong);
  font-size: 30px;
  line-height: 1;
}

.detail-price span {
  color: #7d899a;
  font-size: 12px;
  white-space: nowrap;
}

.feature-list {
  margin: 0;
  padding: 0 0 22px;
  list-style: none;
  color: #526174;
  font-size: 13px;
  line-height: 2.25;
}

.feature-list li::before {
  content: "\2713";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 46px 0 36px;
}

.footer-inner p {
  margin: 15px 0 0;
  color: #8a95a6;
  font-size: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 86px;
}

.footer-links b,
.footer-links a {
  display: block;
  font-size: 12px;
}

.footer-links b {
  margin-bottom: 13px;
  color: var(--ink);
  font-weight: 900;
}

.footer-links a {
  margin: 8px 0;
  color: #7d899a;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.copyright {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: #98a2b3;
  font-size: 11px;
}

.notice {
  margin-top: 16px;
  border: 1px solid #ffd1cc;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #b93830;
  padding: 12px 16px;
  font-size: 13px;
}

.notice.success {
  border-color: #b9ead8;
  background: #ecfaf4;
  color: #168d69;
}

.notice.error {
  border-color: #ffd1cc;
  background: var(--accent-soft);
  color: #b93830;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #667085;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.filter-tabs a.selected,
.filter-tabs a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.list-search {
  min-width: 250px;
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.list-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 86, .12);
}

.list-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 11px;
  font-size: 12px;
}

.list-search button {
  width: 40px;
  align-self: stretch;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.listing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty.compact {
  margin-top: 10px;
  padding: 45px 20px;
}

.currency-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #c7efdf;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green);
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 95, 86, .08), transparent 28%),
    var(--wash);
}

.auth-box {
  width: min(430px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 38px;
  box-shadow: var(--shadow);
}

.auth-box h1 {
  margin: 34px 0 8px;
  font-size: 29px;
  line-height: 1.22;
  font-weight: 900;
}

.auth-box > p {
  margin: 0 0 24px;
  color: #7d899a;
  font-size: 13px;
}

.auth-box label {
  display: block;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 900;
}

.auth-box input {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  outline: 0;
}

.auth-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 95, 86, .12);
}

.auth-switch {
  margin-top: 20px;
  color: #7d899a;
  font-size: 12px;
  text-align: center;
}

.auth-switch a {
  color: var(--accent-strong);
  font-weight: 900;
}

.auth-box .back-site {
  margin-top: 24px;
}

.order-history {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 20px;
  box-shadow: var(--shadow);
}

.order-history table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.order-history th,
.order-history td {
  border-bottom: 1px solid var(--line);
  padding: 15px 10px;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}

.order-history th {
  color: #8a95a6;
  font-size: 11px;
  font-weight: 900;
  background: #fbfcfd;
}

.order-history tr:last-child td {
  border-bottom: 0;
}

.order-history .status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  background: #f1f3f6;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
}

.order-history .status.pending {
  background: #fff4df;
  color: #a66a18;
}

.order-history .status.paid {
  background: var(--green-soft);
  color: var(--green);
}

.order-history .status.delivering {
  background: #edf4ff;
  color: #356eb7;
}

.order-history .status.completed {
  background: #eef0ff;
  color: #6267b4;
}

.order-history .status.cancelled {
  background: #fff0f0;
  color: #bc4242;
}

.empty-cell {
  padding: 45px !important;
  color: #98a2b3;
  text-align: center;
}

.table-wrap {
  max-width: 100%;
  overflow: auto;
}

.info-page {
  min-height: 650px;
  padding: 52px 0 100px;
}

.info-page h1 {
  margin: 12px 0 10px;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 900;
}

.info-intro {
  max-width: 720px;
  margin: 0 0 35px;
  color: #7d899a;
  font-size: 14px;
}

.info-block,
.contact-form,
.faq-list {
  max-width: 740px;
}

.info-block {
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  padding: 22px;
}

.info-block h2 {
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 900;
}

.info-block h2:first-child {
  margin-top: 0;
}

.info-block p,
.info-block li {
  color: #667085;
  font-size: 13px;
  line-height: 1.9;
}

.info-block ol {
  padding-left: 20px;
}

.faq-list {
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 19px 22px;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 13px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.8;
}

.contact-form {
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  padding: 4px 22px 22px;
}

.back-site {
  display: block;
  margin-top: 22px;
  color: #7d899a;
  font-size: 12px;
  text-align: center;
}

.back-site:hover {
  color: var(--accent-strong);
}

@media (max-width: 1000px) {
  .header-inner {
    gap: 24px;
  }

  .header nav {
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 560px);
  }

  .topbar-inner {
    min-height: 36px;
    padding: 8px 0;
  }

  .header-inner {
    min-height: 64px;
    gap: 14px;
  }

  .brand {
    font-size: 18px;
  }

  .header nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: #fff;
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .header nav.open {
    display: flex;
  }

  .header nav a {
    border-radius: var(--radius-sm);
    padding: 12px 13px;
  }

  .header nav a::after {
    display: none;
  }

  .login {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .currency-pill {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .hero-inner {
    min-height: 0;
    display: block;
    padding: 54px 0 58px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-panel {
    margin-top: 38px;
  }

  .section {
    padding-top: 52px;
  }

  .section-head,
  .page-heading,
  .filter-row {
    display: block;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-head > a,
  .page-heading .outline-btn {
    display: inline-flex;
    margin-top: 18px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-grid,
  .listing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card-visual {
    min-height: 164px;
  }

  .card-body {
    min-height: 150px;
  }

  .trust {
    margin-top: 56px;
  }

  .trust-grid {
    display: block;
    padding: 0;
  }

  .trust-grid div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 18px 0;
  }

  .trust-grid div:first-child {
    border-top: 0;
  }

  .page-main,
  .info-page {
    padding: 38px 0 70px;
  }

  .page-heading h1 {
    font-size: 31px;
  }

  .cart-layout,
  .checkout-layout,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .summary {
    position: static;
  }

  .detail-visual {
    min-height: 290px;
  }

  .detail-visual .detail-mark {
    width: 118px;
    height: 118px;
    font-size: 44px;
  }

  .detail-copy h1 {
    font-size: 28px;
  }

  .filter-tabs {
    margin-bottom: 14px;
  }

  .list-search {
    width: 100%;
    min-width: 0;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    gap: 50px;
    margin-top: 30px;
  }

  .footer-inner p br {
    display: none;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 28px, 480px);
  }

  .topbar-links {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-actions {
    font-size: 12px;
  }

  .icon-link {
    gap: 5px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .search {
    min-height: 54px;
  }

  .category-card {
    min-height: 120px;
  }

  .cart-row {
    flex-wrap: wrap;
    padding: 16px;
  }

  .cart-info {
    min-width: calc(100% - 58px);
  }

  .cart-price {
    margin-left: auto;
  }

  .checkout-form,
  .contact-form,
  .info-block,
  .faq-list details,
  .summary,
  .auth-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
