@charset "utf-8";

/* DealKok Tistory Skin
   Mobile-first shopping card skin
*/

:root {
  --blue: #3182f6;
  --blue-dark: #1b64da;
  --blue-soft: #eaf3ff;
  --red: #f04452;
  --red-soft: #fff0f1;
  --green: #00a86b;
  --green-soft: #eafbf4;
  --text: #191f28;
  --text-2: #4e5968;
  --text-3: #8b95a1;
  --line: #e5e8eb;
  --line-soft: #f2f4f6;
  --surface: #ffffff;
  --background: #ffffff;
  --card-background: #f2f3ef;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 12px 32px rgba(0, 27, 55, 0.08);
  --header-height: 74px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Noto Sans KR",
    Arial,
    sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
}

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

img {
  max-width: 100%;
}

.screen-out,
.raw-title,
.category-source {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 232, 235, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-symbol {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(145deg, #5ca4ff, var(--blue));
  box-shadow: 0 9px 20px rgba(49, 130, 246, 0.24);
  overflow: hidden;
}

.brand-symbol::before,
.brand-symbol::after,
.brand-symbol span {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.brand-symbol::before {
  width: 16px;
  height: 16px;
  top: 6px;
  right: 6px;
}

.brand-symbol::after {
  width: 9px;
  height: 9px;
  left: 7px;
  bottom: 7px;
  opacity: 0.9;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-box {
  width: min(510px, 48vw);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 16px;
  background: var(--line-soft);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-box:focus-within {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(49, 130, 246, 0.11);
}

.search-icon,
.icon-search {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-2);
  border-radius: 999px;
}

.search-icon::after,
.icon-search::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  background: var(--text-2);
  border-radius: 2px;
  transform: rotate(45deg);
}

.search-box input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.search-box input::placeholder {
  color: var(--text-3);
}

.search-box button {
  flex: 0 0 auto;
  border: 0;
  padding: 8px 11px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--line-soft);
}

.category-icon,
.icon-menu {
  position: relative;
  width: 22px;
  height: 16px;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
}

.category-icon::after,
.icon-menu::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 22px;
  border-top: 2px solid var(--text);
}

.main-nav,
.category-tabs-wrap {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
}

.nav-scroll,
.category-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.nav-scroll::-webkit-scrollbar,
.category-tabs::-webkit-scrollbar {
  display: none;
}

.main-nav {
  border-top: 1px solid rgba(242, 244, 246, 0.85);
}

.nav-scroll {
  min-height: 54px;
}

.main-nav-link {
  flex: 0 0 auto;
  border: 0;
  padding: 10px 14px;
  border-radius: 13px;
  background: transparent;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.main-nav-link:hover,
.main-nav-link.is-active {
  background: var(--line-soft);
  color: var(--text);
}

.category-tabs-wrap {
  padding: 0 0 12px;
}

.category-tabs {
  gap: 8px;
}

.category-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
  transition: 0.18s ease;
}

.category-tab:hover,
.category-tab.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.main-content {
  width: min(var(--content-width), calc(100% - 32px));
  min-height: 60vh;
  margin: 0 auto;
  padding: 34px 0 70px;
}

.deal-section {
  width: 100%;
}

.cover-deal-section,
.list-deal-section {
  margin-bottom: 42px;
}

.index-deal-section {
  margin-bottom: 0;
}

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

.section-kicker {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading p:not(.section-kicker) {
  margin: 9px 0 0;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
}

.local-filter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 15px;
  background: var(--line-soft);
}

.filter-button {
  border: 0;
  padding: 9px 12px;
  border-radius: 11px;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.is-active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 3px 12px rgba(0, 27, 55, 0.08);
}

.product-grid {
  column-count: 4;
  column-gap: 16px;
}

.product-card {
  position: relative;
  width: 100%;
  display: inline-block;
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
  vertical-align: top;
  background: var(--card-background);
  border: 1px solid rgba(229, 232, 235, 0.9);
  border-radius: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.product-card[hidden] {
  display: none !important;
}

.product-link {
  display: block;
}

.product-thumb {
  --deal-ratio: 1 / 1.04;
  position: relative;
  margin: 0;
  aspect-ratio: var(--deal-ratio);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(49, 130, 246, 0.12), transparent 24%),
    linear-gradient(145deg, #f4f6f8, #e9ecef);
}

.product-card:nth-child(5n + 2) .product-thumb {
  --deal-ratio: 1 / 1.28;
}

.product-card:nth-child(5n + 4) .product-thumb {
  --deal-ratio: 1 / 0.9;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.025);
}

.thumb-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.placeholder-symbol {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(49, 130, 246, 0.13);
}

.placeholder-symbol::before,
.placeholder-symbol::after {
  content: "";
  position: absolute;
  background: rgba(49, 130, 246, 0.55);
  border-radius: 999px;
}

.placeholder-symbol::before {
  width: 12px;
  height: 12px;
  top: 9px;
  right: 9px;
}

.placeholder-symbol::after {
  width: 24px;
  height: 8px;
  left: 10px;
  bottom: 10px;
  transform: rotate(-28deg);
}

.discount-badge {
  position: absolute;
  z-index: 4;
  left: 14px;
  top: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(240, 68, 82, 0.22);
}

.product-card.is-soldout .discount-badge {
  background: var(--text-3);
  box-shadow: none;
}

.product-card.is-soldout .product-thumb img {
  filter: grayscale(0.85);
  opacity: 0.72;
}

.product-info {
  padding: 17px 17px 18px;
}

.product-category {
  display: block;
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-title {
  display: -webkit-box;
  min-height: 2.85em;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.42;
  letter-spacing: -0.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price-line {
  min-height: 29px;
  margin-top: 10px;
}

.product-price {
  color: var(--text);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.product-price:empty,
.price-line:has(.product-price:empty) {
  display: none;
}

.product-badges {
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.product-badges:empty {
  display: none;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-2);
  font-size: 10px;
  font-weight: 850;
}

.mini-badge.is-shipping {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.mini-badge.is-special {
  background: var(--red-soft);
  color: var(--red);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 750;
}

.meta-arrow {
  color: var(--text-2);
  font-size: 21px;
  line-height: 1;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.section-more a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.empty-state {
  margin: 50px 0;
  padding: 58px 24px;
  text-align: center;
  border-radius: 24px;
  background: var(--line-soft);
}

.empty-state strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.empty-state p {
  margin: 6px 0 0;
  color: var(--text-3);
}

.empty-symbol {
  display: inline-block;
  width: 54px;
  height: 54px;
  border: 3px solid #c6ccd3;
  border-radius: 18px;
  transform: rotate(4deg);
}

.post-view {
  width: min(780px, 100%);
  margin: 0 auto;
}

.post-header {
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.post-category {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.post-title {
  margin: 15px 0 13px;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
}

.post-body {
  padding: 32px 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.88;
}

.post-body img {
  height: auto;
  border-radius: 18px;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.post-body a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body table {
  max-width: 100%;
  border-collapse: collapse;
}

.post-body blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--line-soft);
}

.post-tags {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.post-tags strong {
  display: block;
  margin-bottom: 10px;
}

.post-tags a {
  display: inline-flex;
  margin: 0 6px 6px 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--line-soft);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.post-comments {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Tistory native comments */
.tt-comment-cont {
  font-family: inherit !important;
}

.tt-area-write,
.tt-item-reply {
  border-radius: 16px !important;
}

.paging {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 36px;
}

.paging-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paging-number,
.paging-arrow {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--line-soft);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 850;
}

.paging-number.selected,
.paging-number:hover,
.paging-arrow:hover {
  background: var(--blue);
  color: #ffffff;
}

.no-more-prev,
.no-more-next {
  opacity: 0.35;
  pointer-events: none;
}

.site-footer {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 110px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12px;
}

.site-footer strong {
  color: var(--text);
  font-size: 15px;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-notice {
  max-width: 450px;
  text-align: right;
}

.mobile-bottom-nav {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(25, 31, 40, 0.38);
  backdrop-filter: blur(2px);
}

.category-drawer {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  width: min(410px, 90vw);
  height: 100dvh;
  padding: 26px;
  background: #ffffff;
  box-shadow: -20px 0 55px rgba(0, 27, 55, 0.17);
  transform: translateX(105%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

.category-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-header strong {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.drawer-header p {
  margin: 5px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  background: var(--line-soft);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.drawer-categories {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.drawer-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 850;
}

.drawer-category-link:hover,
.drawer-category-link.is-active {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.drawer-category-link::after {
  content: "›";
  color: var(--text-3);
  font-size: 21px;
  font-weight: 500;
}

.bottom-icon {
  position: relative;
  width: 23px;
  height: 23px;
  display: inline-block;
}

.icon-home {
  border: 2px solid var(--text-2);
  border-radius: 7px;
  margin-top: 4px;
}

.icon-home::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 2px;
  top: -8px;
  border-left: 2px solid var(--text-2);
  border-top: 2px solid var(--text-2);
  background: #ffffff;
  transform: rotate(45deg);
  border-radius: 3px 0 0 0;
}

.icon-category {
  border: 2px solid var(--text-2);
  border-radius: 6px;
  transform: rotate(45deg) scale(0.82);
}

.icon-category::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 4px;
  left: 4px;
  border: 2px solid var(--text-2);
  border-radius: 999px;
}

.icon-deal {
  border: 2px solid var(--text-2);
  border-radius: 6px 6px 9px 9px;
}

.icon-deal::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 6px;
  left: 4px;
  top: -7px;
  border: 2px solid var(--text-2);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1024px) {
  .product-grid {
    column-count: 3;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .header-inner,
  .main-nav,
  .category-tabs-wrap,
  .main-content,
  .site-footer {
    width: min(100% - 24px, var(--content-width));
  }

  .header-inner {
    gap: 10px;
  }

  .brand-symbol {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand-copy strong {
    max-width: 112px;
    font-size: 16px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    gap: 5px;
  }

  .search-box {
    width: min(51vw, 330px);
    height: 44px;
    padding-left: 13px;
    border-radius: 14px;
  }

  .search-box input {
    font-size: 14px;
  }

  .search-box button {
    display: none;
  }

  .icon-button {
    display: none;
  }

  .main-nav,
  .category-tabs-wrap {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-scroll {
    min-height: 50px;
  }

  .main-nav-link {
    padding: 9px 13px;
    font-size: 14px;
  }

  .category-tabs-wrap {
    padding-bottom: 10px;
  }

  .main-content {
    padding-top: 26px;
    padding-bottom: 42px;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 19px;
  }

  .section-heading h1 {
    font-size: 28px;
  }

  .section-heading p:not(.section-kicker) {
    font-size: 12px;
  }

  .local-filter {
    width: 100%;
    overflow-x: auto;
  }

  .filter-button {
    flex: 1 0 auto;
  }

  .product-grid {
    column-count: 2;
    column-gap: 10px;
  }

  .product-card {
    margin-bottom: 10px;
    border-radius: 18px;
  }

  .discount-badge {
    left: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 11px;
  }

  .product-info {
    padding: 13px 12px 14px;
  }

  .product-category {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .product-title {
    min-height: 2.8em;
    font-size: 14px;
    line-height: 1.4;
  }

  .price-line {
    min-height: 24px;
    margin-top: 7px;
  }

  .product-price {
    font-size: 17px;
  }

  .product-badges {
    gap: 4px;
    margin-top: 8px;
  }

  .mini-badge {
    min-height: 22px;
    padding: 3px 6px;
    border-radius: 7px;
    font-size: 9px;
  }

  .product-meta {
    margin-top: 10px;
    font-size: 9px;
  }

  .meta-arrow {
    font-size: 17px;
  }

  .post-view {
    width: 100%;
  }

  .post-header {
    padding-top: 8px;
  }

  .post-title {
    font-size: 31px;
  }

  .post-body {
    padding-top: 25px;
    font-size: 16px;
  }

  .site-footer {
    padding-bottom: 112px;
    flex-direction: column;
    gap: 14px;
  }

  .footer-notice {
    text-align: left;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 74px;
    padding: 7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 27, 55, 0.08);
    backdrop-filter: blur(16px);
  }

  .bottom-item {
    min-width: 0;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--text-2);
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
  }

  .bottom-item:hover,
  .bottom-item.is-active {
    color: var(--blue);
  }

  .bottom-item:hover .bottom-icon,
  .bottom-item.is-active .bottom-icon {
    filter: none;
  }

  .category-drawer {
    width: 88vw;
    padding: 22px 18px calc(30px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .brand-copy {
    display: none;
  }

  .search-box {
    width: calc(100vw - 76px);
  }

  .product-title {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


.sharing-disclosure {
  flex: 0 0 100%;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--line-soft);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 760px) {
  .sharing-disclosure {
    margin-top: 4px;
    padding: 13px 14px;
    text-align: left;
  }
}


/* ===== 딜콕 하단 깨짐 수정 패치 v1.1 ===== */

/* 카테고리 원본 HTML은 자바스크립트에서만 읽고 화면에는 절대 노출하지 않습니다. */
.category-source,
#categorySource {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* 푸터를 2열 그리드로 안정적으로 배치합니다. */
.site-footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  align-items: start;
  gap: 18px 40px;
}

/* 수수료 고지 문구는 푸터 최하단 전체 폭에 배치합니다. */
.site-footer .sharing-disclosure {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  flex: none;
  margin: 4px 0 0;
  padding: 14px 16px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--line-soft);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  overflow-wrap: anywhere;
}

/* 상품이 없는 커버에서 지나치게 큰 빈 공간이 생기지 않도록 조정합니다. */
.main-content {
  min-height: 44vh;
}

.empty-grid-message {
  margin: 18px 0 34px;
  padding: 44px 22px;
  border-radius: 22px;
  background: var(--line-soft);
  color: var(--text-3);
  text-align: center;
}

.empty-grid-message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

.empty-grid-message p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-footer {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer .footer-notice {
    max-width: none;
    text-align: left;
  }

  .site-footer .sharing-disclosure {
    grid-column: 1;
    margin-top: 2px;
    padding: 13px 14px;
    text-align: left;
  }

  .main-content {
    min-height: 36vh;
  }
}


/* ===== 딜콕 통합 연동 패치 v2.0 ===== */
.deal-section[hidden],
.product-card[hidden],
.product-grid[hidden] {
  display: none !important;
}

.product-thumb img {
  opacity: 0;
}

.product-thumb.has-image img,
.product-thumb img.is-loaded {
  opacity: 1;
}

.product-thumb.has-image .thumb-placeholder {
  display: none;
}

.empty-grid-message {
  margin: 18px 0 34px;
  padding: 44px 22px;
  border-radius: 22px;
  background: var(--line-soft);
  color: var(--text-3);
  text-align: center;
}

.empty-grid-message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

.empty-grid-message p {
  margin: 0;
  font-size: 13px;
}


/* ===== 딜콕 최종 안정화 패치 v3.0 ===== */
.filter-empty-message {
  margin: 18px 0 34px;
  padding: 42px 22px;
  border-radius: 22px;
  background: var(--line-soft);
  color: var(--text-3);
  text-align: center;
}
.filter-empty-message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}
.filter-empty-message p { margin: 0; font-size: 13px; }
.main-nav-link.is-active,
.deal-filter-link.is-active { background: var(--blue-soft); color: var(--blue-dark); }
.product-thumb img { transition: opacity .2s ease, transform .28s ease; }
.product-thumb:not(.has-image) .thumb-placeholder { display: grid; }
.product-thumb.has-image .thumb-placeholder { display: none; }


/* ===== 딜콕 전체 카테고리 연동 패치 v3.1 ===== */
.category-tab.is-active,
.drawer-category-link.is-active {
  position: relative;
}
