:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #f8faf7;
  --text: #171b22;
  --muted: #68707b;
  --line: #dde2da;
  --green: #0f766e;
  --green-dark: #075e58;
  --coral: #db4f35;
  --coral-dark: #bd3e28;
  --blue: #2f68a7;
  --gold: #b66a16;
  --shadow: 0 18px 44px rgba(23, 27, 34, 0.1);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

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

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(221, 226, 218, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 185px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3f4750;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.header-cta,
.primary-shop-link,
.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--coral);
  font-weight: 900;
}

.header-cta {
  min-height: 42px;
  min-width: 104px;
  padding: 0 16px;
}

.header-cta:hover,
.primary-shop-link:hover,
.buy-link:hover {
  background: var(--coral-dark);
}

.notice-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  padding: 12px 32px;
  color: #45505a;
  background: #fff6ed;
  border-bottom: 1px solid #f0dfcc;
  font-size: 13px;
  font-weight: 700;
}

.notice-bar strong {
  color: #9f4f0f;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 14px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--green-dark);
  background: #e9f4f1;
  font-size: 13px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 16px 0 12px;
  max-width: 780px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 700px;
  margin: 0;
  color: #4c5661;
  font-size: 17px;
  line-height: 1.72;
  word-break: keep-all;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(640px, 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.price-board div {
  min-height: 82px;
  padding: 14px;
  background: var(--surface-soft);
}

.price-board span,
.price-board strong {
  display: block;
}

.price-board span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-board strong {
  margin-top: 7px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
}

.price-board div:first-child strong {
  color: var(--coral-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.primary-shop-link {
  min-height: 54px;
  padding: 0 24px;
  box-shadow: 0 14px 28px rgba(219, 79, 53, 0.2);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  color: #34404a;
  background: #fff;
  font-weight: 900;
}

.secondary-link:hover {
  border-color: #c3c9bf;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  padding: 28px;
}

.media-label,
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-strip div {
  padding: 18px;
  background: #fff;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 5px;
  font-size: 17px;
}

.quick-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-box {
  display: grid;
  gap: 8px;
  flex: 1;
  min-width: 240px;
}

.search-box label {
  color: #3d4650;
  font-size: 13px;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: var(--surface-soft);
  outline: none;
}

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.category-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: #37414a;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.category-tab.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.deal-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.deal-focus h2 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.24;
}

.deal-focus p:not(.kicker) {
  margin: 0;
  color: #4c5661;
  line-height: 1.75;
  word-break: keep-all;
}

.point-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-list li {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-soft);
  color: #2d3741;
  font-weight: 900;
}

.content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 82px;
}

.side-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.side-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.side-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 8px;
  padding: 0 9px;
  color: #7f410e;
  background: #fff3df;
  font-size: 12px;
  font-weight: 900;
}

.side-block strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.35;
}

.side-block p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.product-area {
  min-width: 0;
}

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

.section-head h2 {
  margin: 12px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.result-count {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--green-dark);
  background: #e9f4f1;
  font-weight: 900;
}

.product-grid {
  display: grid;
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.product-photo {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  padding: 28px;
}

.product-content {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.product-category,
.product-review {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 0 9px;
  background: var(--surface-soft);
}

.product-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.product-summary {
  margin: 0;
  color: #4c5661;
  font-size: 15px;
  line-height: 1.72;
  word-break: keep-all;
}

.benefit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 18px;
  color: #2f3a43;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.card-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-stack {
  display: grid;
  gap: 4px;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.price-value {
  color: var(--coral-dark);
  font-size: 24px;
  line-height: 1.1;
}

.buy-link {
  min-height: 48px;
  min-width: 150px;
  padding: 0 18px;
}

.empty-state {
  min-height: 140px;
  display: grid;
  place-items: center;
  border: 1px dashed #bec7bd;
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
}

.mobile-tabs {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 25;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  width: min(420px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(23, 27, 34, 0.16);
  transform: translateX(-50%);
}

.mobile-tabs a {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: #39434c;
  font-size: 13px;
  font-weight: 900;
}

.mobile-tabs a + a {
  border-left: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 18px;
  }

  .main-nav {
    display: none;
  }

  .store-hero,
  .deal-focus,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

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

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .header-cta {
    display: none;
  }

  .notice-bar,
  .store-hero,
  .quick-strip,
  .shop-toolbar,
  .deal-focus,
  .content-layout {
    width: calc(100% - 24px);
  }

  .notice-bar {
    padding: 10px 12px;
  }

  .store-hero {
    gap: 22px;
    margin-top: 12px;
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

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

  .price-board,
  .quick-strip,
  .point-list,
  .side-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .shop-toolbar,
  .card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-shop-link,
  .secondary-link,
  .buy-link {
    width: 100%;
  }

  .category-tabs {
    justify-content: flex-start;
  }

  .category-tab {
    flex: 1 1 auto;
  }

  .hero-media {
    min-height: 310px;
  }

  .hero-media img,
  .product-photo {
    padding: 20px;
  }

  .product-content {
    padding: 18px;
  }

  .product-card h3,
  .price-value {
    font-size: 22px;
  }

  .mobile-tabs {
    display: grid;
  }
}