:root {
  --page-max: 1920px;
  --ink: #111;
  --muted: #666;
  --light: #f5f6f8;
  --line: #e2e4e8;
  --white: #fff;
  --red: #f43142;
  --orange: #ff6b2c;
  --blue: #1264d8;
  --green: #00a870;
  --yellow: #ffe66d;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  background: var(--light);
}

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

.top-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.top-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px 20px;
  color: #555;
}

.top-inner nav,
.deal-nav,
.header-icons,
.promo-actions {
  display: flex;
  align-items: center;
}

.top-inner nav { gap: 14px; font-weight: 700; }

.shop-header {
  display: grid;
  grid-template-columns: 230px minmax(360px, 1fr) 230px;
  align-items: center;
  gap: 24px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px 20px 18px;
  background: var(--light);
}

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

.brand img { width: 78px; height: auto; }
.brand span { display: grid; gap: 4px; }
.brand strong { font-size: 26px; line-height: 1; letter-spacing: 0; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 900; }

.market-search {
  display: grid;
  grid-template-columns: 1fr 84px;
  height: 52px;
  border: 3px solid var(--red);
  border-radius: 0;
  background: #fff;
}

.market-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  font-size: 16px;
  background: transparent;
}

.market-search button {
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
}

.header-icons {
  justify-content: flex-end;
  gap: 16px;
  color: #333;
  font-size: 14px;
  font-weight: 900;
}

.deal-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  justify-content: center;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid #cfd3da;
  background: #fff;
}

.deal-nav a {
  min-width: 112px;
  padding: 14px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

.deal-nav a.is-active {
  color: #fff;
  background: var(--red);
}

main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px 20px 64px;
}

.commerce-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.category-panel,
.login-panel,
.section-block,
.rank-panel,
.store-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.category-panel {
  display: grid;
  align-content: start;
}

.category-panel h2 {
  margin: 0;
  padding: 16px 18px;
  color: #fff;
  background: #333;
  font-size: 17px;
}

.category-panel a {
  display: grid;
  gap: 4px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}

.category-panel b { font-size: 15px; }
.category-panel span { color: var(--muted); font-size: 12px; }

.main-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: minmax(330px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #eaf4ff 60%, #fff4e9);
}

.promo-copy {
  display: grid;
  align-content: center;
  padding: 44px;
}

.promo-copy span,
.section-head span {
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
}

.section-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
}

h1 {
  max-width: 560px;
  margin: 8px 0 14px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.promo-actions {
  gap: 8px;
  margin-top: 24px;
}

.promo-actions a,
.member-card a,
.seller-link,
.section-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.promo-actions a:first-child,
.member-card a {
  background: var(--red);
}

.promo-visual {
  align-self: stretch;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(234, 244, 255, 0), rgba(234, 244, 255, 0.3)),
    url("https://tv.lurefishing.kr/assets/tackle-closeup.png") center / cover;
}

.promo-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.promo-tabs button {
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.promo-tabs button.is-active {
  color: var(--red);
  background: #fff;
}

.login-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.member-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.member-card strong { font-size: 18px; }
.member-card p { font-size: 14px; }
.member-card a { width: 100%; }

.seller-mini {
  display: grid;
  gap: 10px;
  padding: 14px;
  color: #fff;
  background: #202938;
}

.seller-mini button {
  min-height: 38px;
  border: 0;
  color: #111;
  background: var(--yellow);
  cursor: pointer;
  font-weight: 900;
}

.quick-benefits,
.rank-panel ol,
.store-panel ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-benefits li,
.rank-panel li,
.store-panel li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.quick-benefits b,
.rank-panel b { color: var(--red); }
.quick-benefits span,
.rank-panel span,
.store-panel span { color: var(--muted); font-size: 13px; }

.quick-menu {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.quick-menu a {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  background: #fff;
}

.quick-menu span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 10px;
  font-weight: 1000;
}

.quick-menu b { font-size: 14px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  margin-top: 16px;
}

.section-block,
.rank-panel,
.store-panel {
  padding: 22px;
}

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

.section-head.compact { margin-bottom: 12px; }
.section-head a { color: var(--blue); font-weight: 900; }

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

.product-grid article {
  display: grid;
  gap: 8px;
}

.product-photo {
  min-height: 150px;
  border: 1px solid var(--line);
  background-color: #f3f6f8;
  background-position: center;
  background-size: cover;
}

.photo-reel { background-image: url("https://tv.lurefishing.kr/assets/tackle-closeup.png"); }
.photo-rod { background-image: url("https://tv.lurefishing.kr/assets/spotlight-season-guide.png"); }
.photo-lure { background-image: url("https://tv.lurefishing.kr/assets/underwater-strike.png"); }
.photo-box { background-image: url("https://tv.lurefishing.kr/assets/partner-product-test.png"); }

.product-grid small,
.compare-list small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.product-grid strong {
  min-height: 42px;
  font-size: 16px;
  line-height: 1.35;
}

.product-grid p { font-size: 13px; }
.product-grid b { color: var(--red); font-size: 20px; }

.rank-panel li {
  align-items: center;
  justify-content: flex-start;
}

.rank-panel b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  background: var(--red);
}

.compare-list {
  display: grid;
  gap: 12px;
}

.compare-list article {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(250px, 0.75fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.compare-list .product-photo { min-height: 108px; }
.compare-list strong { display: block; margin: 7px 0; font-size: 20px; }
.compare-list p { font-size: 14px; }

.compare-list dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.compare-list dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.compare-list dt {
  color: var(--muted);
  font-weight: 900;
}

.compare-list dd {
  margin: 0;
  color: var(--red);
  font-weight: 1000;
}

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

.deal-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff9ed;
}

.deal-list b { color: var(--orange); }
.deal-list strong { font-size: 18px; }

.store-panel li {
  display: grid;
  justify-content: stretch;
  gap: 4px;
}

.seller-link {
  width: 100%;
  margin-top: 16px;
  background: var(--blue);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 360px;
  padding: 14px 16px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 900;
}

.is-auth-hidden { display: none !important; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px 20px 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer strong {
  display: inline-block;
  margin-bottom: 8px;
}

.company-info {
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.site-footer nav,
.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
}

.footer-policy-links {
  max-width: 640px;
  color: var(--ink);
  font-size: 14px;
}

.footer-policy-links button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.footer-policy-links span {
  color: var(--line);
  font-weight: 400;
}

.footer-tv-link {
  color: var(--red);
}

.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 17, 17, 0.58);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  overflow: auto;
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.policy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--light);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.policy-body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.policy-body li {
  color: var(--muted);
  line-height: 1.65;
}

.seller-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.auth-required {
  display: grid;
  min-height: 280px;
  margin-top: 20px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.manage-table {
  display: grid;
  gap: 10px;
}

.manage-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fbfcfb;
}

.manage-table span {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .shop-header,
  .commerce-shell,
  .content-grid,
  .seller-hero {
    grid-template-columns: 1fr;
  }

  .header-icons,
  .top-inner,
  .site-footer {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .main-promo {
    grid-template-columns: 1fr;
  }

  .promo-visual {
    min-height: 220px;
  }

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

@media (max-width: 700px) {
  .shop-header,
  main,
  .top-inner,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-policy-links {
    justify-content: flex-start;
  }

  .deal-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .deal-nav a {
    min-width: 98px;
  }

  .market-search {
    grid-template-columns: 1fr 68px;
  }

  .promo-copy {
    padding: 28px;
  }

  h1 {
    font-size: 32px;
  }

  .promo-tabs,
  .product-grid,
  .quick-menu,
  .deal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-list article {
    grid-template-columns: 1fr;
  }
}
