/* Shared shop design system — Kimchi House + Order */
.shop-page {
  --deep-green: #1e4b3a;
  --ivory: #f7f6f2;
  --warm-beige: #edeae3;
  --charcoal: #2d2d2d;
  --soft-brown: #8c6a4b;
  --primary: #1e4b3a;
  --primary-dark: #16382c;
  --logo-bg: #1e4b3a;
  --accent: #e56a2d;
  --gold: #c8a35f;
  --wh-accent: #eb885e;
  --bg: #f7f6f2;
  --bg-soft: #edeae3;
  --border: #e4e0d8;
  --text: #2d2d2d;
  --text-muted: #7a7368;
  --white: #ffffff;
  --shop-pad: 16px;
  --shop-max: 1240px;
  --header-h: 64px;
  --shop-header-offset: var(--header-h);
  --cta-h: 64px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  font-weight: 400;
}

html:has(.shop-page) {
  overflow-x: clip;
  max-width: 100%;
}

body[data-brand="walkerhill"].shop-page {
  --primary: #1a1208;
}

.shop-page * {
  box-sizing: border-box;
}

.shop-page .hidden {
  display: none !important;
}

/* ===== UNIFIED SITE HEADER ===== */
.shop-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: visible;
  max-width: 100%;
}

.shop-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 10px var(--shop-pad);
  min-height: var(--header-h);
}

.shop-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.shop-logo img,
.shop-logo-mark {
  width: auto;
  height: 38px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
}

.shop-logo-text {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.shop-header-brands {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

.shop-brand-menu {
  position: relative;
  flex: 1;
  min-width: 0;
}

.shop-brand-tab {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: #555;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-brand="kimchi-house"] .shop-brand-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

body[data-brand="walkerhill"] .shop-brand-tab.active {
  background: #1a1208;
  border-color: #1a1208;
  color: var(--gold);
}

.shop-brand-tab-short {
  display: none;
}

.shop-brand-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 230;
  min-width: 200px;
  padding: 12px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid #f0f0f0;
}

.shop-brand-dropdown[hidden] {
  display: none !important;
}

.shop-brand-menu.open > .shop-brand-dropdown,
.shop-brand-menu:hover > .shop-brand-dropdown {
  display: block;
}

.shop-brand-menu.open > .shop-brand-dropdown[hidden],
.shop-brand-menu:hover > .shop-brand-dropdown[hidden] {
  display: block !important;
}

.shop-brand-dropdown a {
  display: block;
  padding: 11px 22px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.shop-brand-dropdown a:hover,
.shop-brand-dropdown a:focus-visible,
.shop-brand-dropdown a.is-active {
  color: #d15e4c;
  background: #faf7f6;
}

@media (hover: hover) and (pointer: fine) {
  .shop-brand-menu:hover > .shop-brand-tab:not(.active) {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }
}

@media (hover: none), (pointer: coarse) {
  .shop-brand-menu:hover > .shop-brand-dropdown {
    display: none;
  }

  .shop-brand-menu.open > .shop-brand-dropdown,
  .shop-brand-menu.open > .shop-brand-dropdown[hidden] {
    display: block !important;
  }
}

.shop-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: end;
}

.shop-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
}

.shop-icon-btn:hover {
  background: var(--bg-soft);
}

.shop-icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-badge,
.cart-badge-sm {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.shop-cat-nav-row {
  display: none !important;
}

.shop-cat-icons {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 12px var(--shop-pad) 14px;
}

.shop-cat-icons::-webkit-scrollbar {
  display: none;
}

.shop-cat-icon {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.shop-cat-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
}

.shop-cat-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cat-icon-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.shop-cat-icon.active .shop-cat-icon-img {
  border-color: var(--primary);
}

.shop-cat-icon.active .shop-cat-icon-label {
  color: var(--primary);
  font-weight: 800;
}

.shop-cat-icon-img.shop-cat-icon-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.shop-cat-icon.active .shop-cat-icon-img.shop-cat-icon-all {
  color: var(--primary);
  background: rgba(45, 90, 61, 0.08);
}

body[data-brand="walkerhill"] .shop-cat-icon.active .shop-cat-icon-img {
  border-color: var(--wh-accent);
}

body[data-brand="walkerhill"] .shop-cat-icon.active .shop-cat-icon-label {
  color: #1a1208;
}

.shop-nav {
  display: none;
}

.shop-main-nav {
  display: none !important;
}

.shop-nav-item {
  position: relative;
}

.shop-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 14px;
  border: none;
  background: none;
  color: #444;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.shop-nav-link:hover,
.shop-nav-item.open > .shop-nav-link,
.shop-nav-item:hover > .shop-nav-link {
  color: #d15e4c;
}

.shop-nav-chevron {
  width: 10px;
  height: 7px;
  transition: transform 0.2s ease;
}

.shop-nav-item.open .shop-nav-chevron,
.shop-nav-item:hover .shop-nav-chevron {
  transform: rotate(180deg);
}

.shop-nav-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  z-index: 220;
  min-width: 200px;
  padding: 14px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.shop-nav-dropdown[hidden] {
  display: none !important;
}

.shop-nav-dropdown a {
  display: block;
  padding: 11px 22px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.shop-nav-dropdown a:hover {
  color: #d15e4c;
  background: #fafafa;
}

.shop-menu-btn {
  display: flex;
}

.shop-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.35);
}

.shop-mobile-nav.open {
  display: block;
}

.shop-mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  padding: 12px 0 24px;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
}

.shop-mobile-nav-top {
  display: flex;
  justify-content: flex-end;
  padding: 4px 16px 8px;
}

.shop-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.shop-mobile-nav-shop {
  padding: 4px 22px 18px;
}

.shop-mobile-nav-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #d15e4c;
}

.shop-mobile-nav-cats {
  display: grid;
  gap: 2px;
}

.shop-mobile-nav-cats a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  text-decoration: none;
  border: none;
}

.shop-mobile-nav-cats a:hover,
.shop-mobile-nav-cats a:active {
  color: #d15e4c;
}

.shop-mobile-nav-primary {
  border-top: 1px solid #eee;
}

.shop-mobile-nav-primary a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.shop-mobile-nav-primary a:last-child {
  border-bottom: none;
}

.shop-mobile-nav-primary a:hover,
.shop-mobile-nav-primary a:active {
  color: #d15e4c;
}

/* Buttons */
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s;
}

.shop-btn:hover {
  opacity: 0.92;
}

.shop-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-btn-primary {
  background: var(--primary);
  color: var(--white);
}

.shop-btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.shop-btn-accent {
  background: var(--accent);
  color: var(--white);
}

.shop-btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.shop-btn-block {
  width: 100%;
}

/* Main */
.shop-main {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-pad);
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

.shop-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.shop-section:last-of-type {
  border-bottom: none;
}

.shop-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.shop-section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

/* Kurly-style category tabs (text only) */
.shop-cat-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.shop-cat-tabs::-webkit-scrollbar {
  display: none;
}

.shop-cat-tab {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.shop-cat-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 800;
}

/* Circle categories (home) */
.shop-categories {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.shop-categories::-webkit-scrollbar {
  display: none;
}

.shop-category {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 76px;
  text-decoration: none;
  color: var(--text);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.shop-category img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.shop-category span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}

.shop-category.active span {
  color: var(--primary);
  font-weight: 800;
}

/* ===== Browse categories (Kurly-style) ===== */
.browse-category-section {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #ececec;
}

.browse-category-rail {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 8px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.browse-category-rail::-webkit-scrollbar {
  display: none;
}

.browse-category-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 88px;
  min-height: 44px;
  padding: 4px 2px;
  border: none;
  background: transparent;
  text-decoration: none;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.browse-category-thumb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid #ececec;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.browse-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.browse-category-label {
  max-width: 120px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: color 0.2s ease;
}

.browse-category-item:hover .browse-category-thumb,
.browse-category-item.is-active .browse-category-thumb {
  transform: scale(1.03);
  border-color: var(--primary);
}

.browse-category-item:hover .browse-category-thumb img,
.browse-category-item.is-active .browse-category-thumb img {
  transform: scale(1.03);
}

.browse-category-item:hover .browse-category-label,
.browse-category-item.is-active .browse-category-label {
  color: var(--primary);
}

.browse-category-item.is-wh .browse-category-thumb {
  border-color: rgba(200, 163, 95, 0.45);
}

.browse-category-item.is-wh:hover .browse-category-thumb,
.browse-category-item.is-wh.is-active .browse-category-thumb {
  border-color: #c8a35f;
}

.browse-category-item.is-wh:hover .browse-category-label,
.browse-category-item.is-wh.is-active .browse-category-label {
  color: #1a1208;
}

.browse-category-thumb-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.browse-category-item:hover .browse-category-thumb-all,
.browse-category-item.is-active .browse-category-thumb-all {
  color: var(--primary);
  background: rgba(45, 90, 61, 0.1);
}

.browse-recommend {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.browse-recommend-head {
  margin-bottom: 16px;
}

.browse-recommend-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.browse-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.browse-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border-bottom: 1px solid #ececec;
  padding: 16px 8px 20px;
}

.browse-product:nth-child(odd) {
  padding-right: 12px;
  border-right: 1px solid #ececec;
}

.browse-product:nth-child(even) {
  padding-left: 12px;
}

.browse-product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f7f7f7;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-bottom: 12px;
}

.browse-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.browse-product-media .shop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.browse-product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.browse-product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.browse-product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.browse-product-price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 800;
}

.browse-product-price .was {
  margin-right: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.browse-product-price .now.sale {
  color: var(--text);
}

.browse-product-cta {
  margin-top: 8px;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.browse-product-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (min-width: 768px) {
  .browse-category-rail {
    justify-content: space-between;
    overflow: visible;
    gap: 28px;
  }

  .browse-category-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .browse-category-thumb {
    width: 128px;
    height: 128px;
  }

  .browse-category-label {
    max-width: none;
    font-size: 16px;
  }

  .browse-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .browse-product {
    border-right: 1px solid #ececec;
    padding: 18px 16px 22px;
  }

  .browse-product:nth-child(odd),
  .browse-product:nth-child(even) {
    padding-left: 16px;
    padding-right: 16px;
  }

  .browse-product:nth-child(4n) {
    border-right: none;
  }

  .browse-product-media {
    margin-bottom: 14px;
  }
}

@media (max-width: 767px) {
  .browse-category-section .shop-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
  }

  .browse-category-section .shop-section-title {
    width: 100%;
    font-size: 16px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .browse-category-section .shop-section-more {
    align-self: flex-end;
    flex-shrink: 0;
  }

  .browse-category-rail {
    gap: 16px;
    margin: 0 calc(-1 * var(--shop-pad));
    padding: 4px var(--shop-pad) 2px;
  }

  .browse-category-item {
    width: 78px;
    min-width: 78px;
  }

  .browse-category-thumb {
    width: 82px;
    height: 82px;
  }

  .browse-category-label {
    max-width: 78px;
    font-size: 13px;
  }
}

/* Product grid — Kurly minimal */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 14px;
}

/* Popular products slider */
.popular-slider {
  position: relative;
  margin: 0 calc(-1 * var(--shop-pad));
  padding: 0 var(--shop-pad);
}

.popular-slider-viewport {
  overflow: hidden;
}

.popular-slider-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
  transition: transform 0.35s ease;
}

.popular-slider-track .shop-product {
  flex: 0 0 calc((100% - 14px) / 2);
  min-width: 0;
  height: auto;
}

.popular-slider-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popular-slider-arrow.prev {
  left: 4px;
}

.popular-slider-arrow.next {
  right: 4px;
}

.popular-slider-arrow.hidden {
  display: none;
}

@media (min-width: 640px) {
  .popular-slider-track .shop-product {
    flex: 0 0 calc((100% - 28px) / 3);
  }
}

@media (min-width: 1024px) {
  .popular-slider-track .shop-product {
    flex: 0 0 calc((100% - 42px) / 4);
  }

  .popular-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .popular-slider-arrow.prev {
    left: -6px;
  }

  .popular-slider-arrow.next {
    right: -6px;
  }
}

.shop-product {
  display: flex;
  flex-direction: column;
}

.shop-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.shop-product-thumb {
  position: relative;
  aspect-ratio: 1;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}

.shop-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
}

.shop-badge-sale {
  background: var(--accent);
  color: var(--white);
}

.shop-badge-best {
  background: var(--primary);
  color: var(--white);
}

.shop-badge-premium {
  background: var(--gold);
  color: var(--white);
}

.shop-badge-vegan {
  background: #2f6b3a;
  color: #fff;
}

.shop-badge-new {
  background: #c44020;
  color: #fff;
}

.shop-product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  min-height: calc(14px * 1.45 * 2 + 4px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 6px;
  min-height: calc(12px * 1.45 * 2 + 6px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-price {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  min-height: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.shop-product-price .was {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.shop-product-price .now {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.shop-product-price .now.sale {
  color: var(--text);
}

.shop-product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: auto;
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.shop-product-cta:hover {
  opacity: 0.9;
}

.order-item-highlight {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

body[data-brand="walkerhill"] .shop-product-cta {
  background: #1a1208;
  color: var(--gold);
}

/* ===== ORDER PAGE ===== */
.shop-order-page {
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px) + 16px);
}

.order-hero {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 20px var(--shop-pad) 8px;
}

.order-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.order-hero-text h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.order-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.order-hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.order-hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-hero-tags li {
  font-size: 12px;
  color: #555;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.order-hero-visual {
  aspect-ratio: 16 / 9;
  max-height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-soft);
}

.order-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-hero-inner.wh-hero .order-hero-eyebrow {
  color: var(--wh-accent);
}

.order-layout {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-pad) 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.order-main {
  min-width: 0;
  padding-top: 8px;
}

.order-delivery-note {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 0 16px;
  margin-bottom: 8px;
}

/* Kurly product card (order) */
.kurly-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}

.kurly-card {
  display: flex;
  flex-direction: column;
}

.kurly-card.sold-out {
  opacity: 0.55;
}

.kurly-card-thumb {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 12px;
  padding: 0;
  border: none;
  background: var(--bg-soft);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.kurly-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kurly-card-thumb.has-hover-img img,
.shop-product-thumb.has-hover-img img {
  position: absolute;
  inset: 0;
  transition: opacity 0.2s ease;
}

.kurly-card-thumb.has-hover-img img.thumb-hover,
.shop-product-thumb.has-hover-img img.thumb-hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .kurly-card-thumb.has-hover-img:hover img.thumb-hover,
  .shop-product-thumb.has-hover-img:hover img.thumb-hover {
    opacity: 1;
  }
}

@media (hover: none) {
  .kurly-card-thumb.has-hover-img img.thumb-hover,
  .shop-product-thumb.has-hover-img img.thumb-hover {
    opacity: 1;
    animation: thumb-hover-fade 5s ease-in-out infinite;
  }

  .kurly-card-thumb.has-hover-img img.thumb-default,
  .shop-product-thumb.has-hover-img img.thumb-default {
    animation: thumb-default-fade 5s ease-in-out infinite;
  }
}

@keyframes thumb-hover-fade {
  0%, 45% { opacity: 0; }
  55%, 100% { opacity: 1; }
}

@keyframes thumb-default-fade {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .kurly-card-thumb.has-hover-img img.thumb-hover,
  .shop-product-thumb.has-hover-img img.thumb-hover {
    animation: none;
    opacity: 0;
  }

  .kurly-card-thumb.has-hover-img img.thumb-default,
  .shop-product-thumb.has-hover-img img.thumb-default {
    animation: none;
    opacity: 1;
  }
}

.kurly-card-thumb .shop-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.kurly-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kurly-card-name {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 4px;
  cursor: pointer;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kurly-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kurly-option-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.kurly-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.kurly-option.active {
  border-color: var(--primary);
  background: #f4faf7;
  color: var(--text);
}

body[data-brand="walkerhill"] .kurly-option.active {
  border-color: var(--wh-accent);
  background: #fff8f4;
}

.kurly-option-radio {
  width: 14px;
  height: 14px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  flex-shrink: 0;
}

.kurly-option.active .kurly-option-radio {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--primary);
}

body[data-brand="walkerhill"] .kurly-option.active .kurly-option-radio {
  border-color: var(--wh-accent);
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--wh-accent);
}

.kurly-option.active .kurly-option-label {
  color: var(--primary);
}

.kurly-option-label {
  flex: 1;
  font-weight: 600;
  color: var(--text);
}

.kurly-option-price {
  font-weight: 800;
  color: var(--text);
}

.kurly-card-price {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.kurly-card-price .was {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.kurly-card-price .sale-now {
  color: var(--text);
}

.shop-server-hint {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #f5c6a0;
  background: #fff8f0;
  font-size: 14px;
  line-height: 1.6;
}

.shop-server-hint strong {
  display: block;
  margin-bottom: 6px;
  color: #b45309;
}

.shop-server-hint code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.shop-server-hint a {
  color: var(--primary);
  font-weight: 700;
}

.shop-cart-toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(15, 74, 53, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.shop-cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.has-cart .shop-cart-toast {
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.kurly-add-btn {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
}

body[data-brand="walkerhill"] .kurly-add-btn {
  background: #1a1208;
  color: var(--gold);
}

.kurly-add-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Cart panel */
.order-cart {
  display: none;
}

.order-cart-inner {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
}

.order-cart-inner:not(.has-items) .order-cart-total-row,
.order-cart-inner:not(.has-items) #open-checkout-btn {
  display: none;
}

.order-cart-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.order-cart-inner .order-cart-items {
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
}

.bag-page .order-cart-items,
.bag-items.order-cart-items {
  max-height: none;
  overflow: visible;
}

.order-cart-items {
  list-style: none;
}

.order-cart-items li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.bag-items li.bag-item {
  font-size: inherit;
}

.bag-items li.bar-empty {
  padding: 0;
  border-bottom: none;
  font-size: inherit;
}

.order-cart-items li.bar-group-title,
.bag-items li.bar-group-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 12px;
  padding: 40px 0 6px;
  border: none;
}

.bag-items > li.bar-group-title:first-child {
  padding-top: 8px;
}

.order-cart-items li.bar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
  border: none;
}

.order-cart-items li.bar-empty strong {
  color: var(--text);
  font-size: 14px;
}

.cart-line-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cart-line-name {
  flex: 1;
  line-height: 1.4;
  font-weight: 600;
}

.cart-line-delete {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-line-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--white);
  font-size: 16px;
  cursor: pointer;
}

.cart-qty button:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.cart-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-line-price {
  font-weight: 800;
  white-space: nowrap;
}

.bar-meta-line {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.order-cart-shipping {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.order-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 800;
}

.order-cart-total-row .price {
  font-size: 20px;
  color: var(--primary);
}

/* Checkout page — site header stays visible above */
.checkout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  padding-top: var(--shop-header-offset);
  box-sizing: border-box;
  background: #fff;
}

.checkout-overlay.open {
  display: block;
}

.checkout-page {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.checkout-page-intro {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-page-intro h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-page-lead {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}

.checkout-close-link {
  display: inline-flex;
  margin: 4px 0 18px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-page-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px var(--shop-pad) calc(28px + env(safe-area-inset-bottom, 0px));
}

.checkout-page-form {
  min-width: 0;
}

.checkout-page-summary {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.checkout-field {
  margin-bottom: 14px;
}

.checkout-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.checkout-field .req {
  color: var(--accent);
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
}

.checkout-field textarea {
  min-height: 80px;
  padding: 12px 14px;
  resize: vertical;
}

.checkout-field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkout-pay-summary {
  margin: 0 0 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.checkout-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.checkout-pay-row strong {
  font-weight: 700;
  color: var(--text);
}

.checkout-pay-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(184, 134, 40, 0.4);
}

.checkout-pay-total span {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
}

.checkout-pay-total strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary, #1a4d2e);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.success-pay-summary {
  margin: 16px auto 18px;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8ee;
  border: 1.5px solid #e8c27a;
  text-align: center;
}

.success-pay-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6b4f1d;
  margin-bottom: 4px;
}

.success-pay-amount {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary, #1a4d2e);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.success-pay-hint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.success-bank-pay {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8d4a8;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.success-bank-pay strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary, #1a4d2e);
  margin-left: 6px;
}

.order-guide {
  margin: 0 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.order-guide-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.order-guide-summary::-webkit-details-marker {
  display: none;
}

.order-guide-summary-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.order-guide-summary-hint {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.order-guide-summary-hint::after {
  content: " ▾";
}

.order-guide[open] .order-guide-summary-hint::after {
  content: " ▴";
}

.order-guide-steps {
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.order-guide-steps li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft, #f7f4ef);
}

.order-guide-steps strong {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
}

.order-guide-steps span {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .order-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkout-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-options-shop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-opt-shop {
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

.pay-opt-shop.sel {
  border-color: var(--primary);
  background: #f4faf7;
}

.pay-opt-shop strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.pay-opt-shop span {
  font-size: 12px;
  color: var(--text-muted);
}

.bank-box-shop {
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bank-deposit-guide {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.bank-deposit-guide-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}

.bank-deposit-lead {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.bank-rule-card {
  padding: 12px;
  border-radius: 10px;
  background: #fff8ee;
  border: 1.5px solid #e8c27a;
}

.bank-rule-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
}

.bank-rule-row + .bank-rule-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 134, 40, 0.35);
}

.bank-rule-label {
  font-size: 12px;
  font-weight: 700;
  color: #8a6a2b;
}

.bank-rule-value {
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: keep-all;
}

.bank-rule-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(184, 134, 40, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: #8a6a2b;
}

.bank-rule-examples code {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8d4a8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}

.bank-deposit-personal {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8d4a8;
  font-size: 13px;
  color: var(--text);
}

.bank-deposit-personal strong {
  font-weight: 800;
  color: #1a1a1a;
}

.bank-deposit-notes {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.bank-deposit-notes li + li {
  margin-top: 4px;
}

.success-bank-box {
  text-align: left;
  margin: 18px 0 20px;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.7;
}

.success-bank-box.hidden {
  display: none;
}

/* Walkerhill premium order view */
.wh-order-banner {
  padding: 28px 20px;
  background: linear-gradient(135deg, #1a1208, #2d1f12);
  color: var(--white);
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.wh-order-banner h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.wh-order-banner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.wh-set-scroll {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.wh-set-tier {
  margin-bottom: 28px;
}

.wh-set-tier-head {
  margin-bottom: 12px;
}

.wh-set-tier-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1208;
  margin-bottom: 4px;
}

.wh-set-tier-head p {
  font-size: 13px;
  color: var(--text-muted);
}

.shop-order-page[data-brand="walkerhill"] .wh-set-tier-head h3 {
  color: var(--gold);
}

.wh-set-scroll::-webkit-scrollbar {
  display: none;
}

.wh-set-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 168px;
  padding: 16px 14px;
  background: #1a1208;
  border: 1px solid rgba(200, 163, 95, 0.35);
  border-radius: 8px;
  color: var(--white);
}

.wh-set-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200, 163, 95, 0.25);
}

.wh-set-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(200, 163, 95, 0.18);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.wh-set-badge-placeholder {
  visibility: hidden;
}

.wh-set-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(15px * 1.45 * 2 + 6px);
  line-height: 1.45;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 6px;
}

.wh-set-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  margin-bottom: 10px;
}

.wh-set-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
  min-height: 24px;
}

.wh-set-card button {
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin-top: auto;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.wh-why {
  padding: 20px;
  margin-bottom: 28px;
  background: #1a1208;
  border-radius: 8px;
  color: var(--white);
}

.wh-why-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 12px;
}

.wh-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.wh-why-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.wh-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.shop-order-page[data-brand="walkerhill"] .wh-section-title {
  color: var(--gold);
  border-bottom-color: rgba(200, 163, 95, 0.3);
}

.shop-order-page[data-brand="walkerhill"] .kurly-card {
  border-color: rgba(200, 163, 95, 0.25);
}

/* Success */
body.order-success-open .shop-hero,
body.order-success-open #shop-main,
body.order-success-open .shop-footer,
body.order-success-open .shop-fixed-cta,
body.order-success-open .order-mobile-cart,
body.order-success-open .kakao-talk-fab,
body.order-success-open .cart-sheet-overlay,
body.order-success-open .checkout-overlay {
  display: none !important;
}

.shop-success {
  display: none;
  text-align: center;
  padding: 32px var(--shop-pad) 48px;
  max-width: 520px;
  margin: 0 auto;
}

.shop-success.show {
  display: block;
}

.shop-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.shop-success h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.success-order-id {
  margin: 0 0 20px;
  font-size: 14px;
  color: #555;
}

.success-order-id strong {
  color: var(--text);
  font-weight: 800;
}

.success-items-wrap {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
  text-align: left;
}

.success-items-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.success-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.success-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  line-height: 1.4;
}

.success-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-item:first-child {
  padding-top: 0;
}

.success-item-name {
  font-weight: 600;
  color: var(--text);
}

.success-item-qty {
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.success-item-price {
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.success-items-totals {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.success-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #555;
}

.success-total-row strong {
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.success-total-row.is-grand {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
  font-size: 15px;
  color: var(--text);
}

.success-total-row.is-grand strong {
  font-size: 17px;
  color: var(--primary);
}

.success-note {
  margin: 18px 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.success-home-btn {
  display: inline-flex;
  min-width: 200px;
  justify-content: center;
}

/* Home-specific (hero, footer, etc.) — kept minimal */
.shop-hero {
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border-bottom: none;
}

.shop-hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
}

.shop-hero-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.shop-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
}

.shop-hero-card,
.shop-hero-card-wh {
  position: relative;
  overflow: hidden;
  flex: 1;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
}

.shop-hero-visual {
  position: absolute;
  inset: 0;
}

.shop-hero-visual img,
.shop-hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.shop-hero-video {
  pointer-events: none;
}

/* 영상 전용 슬라이드 */
.shop-hero-card-video {
  background: #0a0602;
}

.shop-hero-video-only {
  object-fit: contain;
  background: #0a0602;
}

.shop-hero-video-controls {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.shop-hero-vbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.58);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.shop-hero-vbtn:hover {
  background: rgba(12, 10, 8, 0.78);
  transform: translateY(-1px);
}

.shop-hero-vbtn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.shop-hero-vicon {
  width: 18px;
  height: 18px;
  display: block;
}

.shop-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.shop-hero-scrim-wh {
  background: linear-gradient(
    180deg,
    rgba(10, 6, 2, 0.35) 0%,
    rgba(26, 18, 8, 0.5) 50%,
    rgba(26, 18, 8, 0.62) 100%
  );
}

.shop-hero-gift {
  object-position: center 62%;
}

.shop-hero-scrim-gift {
  background: linear-gradient(
    180deg,
    rgba(28, 16, 8, 0.42) 0%,
    rgba(28, 16, 8, 0.28) 38%,
    rgba(18, 10, 4, 0.55) 100%
  );
}

.shop-hero-body,
.shop-hero-body-wh {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
  color: var(--white);
  max-width: none;
  overflow: visible;
}

.shop-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.shop-hero-body-wh .shop-hero-eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.shop-hero-title {
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 22px;
  color: var(--white);
  letter-spacing: -0.03em;
}

.shop-hero-desc {
  display: none;
}

.shop-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.shop-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(250, 244, 232, 0.95);
  color: #222;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.shop-hero-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

.shop-hero-cta-wh {
  background: rgba(232, 214, 180, 0.95);
  color: #1a1208;
}

.shop-hero-body .shop-btn-outline {
  display: none;
}

.shop-hero-sub,
.shop-hero-features,
.shop-hero-products {
  display: none;
}

.shop-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  pointer-events: none;
}

.shop-hero-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.shop-hero-dot.active {
  background: #fff;
  width: 8px;
  border-radius: 50%;
}

.shop-hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.shop-hero-arrow:hover {
  color: #fff;
}

.shop-hero-arrow.prev { left: 8px; }
.shop-hero-arrow.next { right: 8px; }

.shop-hero-arrow.hidden {
  display: none !important;
}

.shop-btn-wh {
  background: var(--wh-accent);
  color: #1a1208;
}

/* ===== Round (배송 일정 · 차수 혜택) ===== */
.shop-round-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.shop-round-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.shop-round-card {
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shop-round-card-schedule,
.shop-round-card-benefits {
  background: transparent;
}

.shop-round-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.shop-round-badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.shop-round-badge-soft {
  background: none;
  color: var(--primary);
}

.shop-round-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shop-round-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #444;
}

.shop-round-info-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0 0 12px;
  padding: 0;
}

.shop-round-info-item {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.shop-round-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shop-round-info-label {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
}

.shop-round-info-text {
  font-size: 13px;
  line-height: 1.5;
  color: #3a3a3a;
}

.shop-round-note {
  margin: 10px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #5c5c5c;
}

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

.shop-round-benefit-item {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.shop-round-benefit-item:last-child {
  border-bottom: none;
}

.shop-round-benefit-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: flex-start;
}

.shop-round-benefit-title strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.shop-round-benefit-text {
  font-size: 13px;
  line-height: 1.5;
  color: #3a3a3a;
}

.shop-round-benefit-item .shop-event-tag {
  flex: 0 0 auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--primary);
}

.shop-round-benefit-item .shop-event-tag-new,
.shop-round-benefit-item .shop-event-tag-free,
.shop-round-benefit-item .shop-event-tag-limit {
  background: none;
  color: var(--primary);
}

/* 모바일: 일정은 인라인, 혜택은 칩 */
@media (max-width: 767px) {
  .shop-round-wrap {
    padding: 18px 0 20px;
  }

  .shop-round-grid {
    gap: 20px;
  }

  .shop-round-head {
    margin-bottom: 8px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .shop-round-badge {
    margin: 0 0 4px;
    font-size: 11px;
  }

  .shop-round-title {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.3;
  }

  .shop-round-card-benefits .shop-round-title {
    display: none;
  }

  .shop-round-desc,
  .shop-round-note,
  .shop-round-info-text,
  .shop-round-benefit-text {
    display: none;
  }

  .shop-round-info-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
  }

  .shop-round-info-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
  }

  .shop-round-info-item:not(:last-child)::after {
    content: "|";
    margin: 0 7px;
    font-size: 12px;
    font-weight: 500;
    color: #b0b0b0;
  }

  .shop-round-info-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .shop-round-info-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #333;
  }

  .shop-round-benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
  }

  .shop-round-benefit-item {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
  }

  .shop-round-benefit-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .shop-round-benefit-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid color-mix(in srgb, var(--primary) 32%, #ddd);
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 7%, #fff);
  }

  .shop-round-benefit-title strong {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
  }

  .shop-round-benefit-item .shop-event-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
  }
}

@media (min-width: 768px) {
  .shop-round-wrap {
    max-width: 960px;
    padding: 48px 0 52px;
  }

  .shop-round-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 56px;
  }

  .shop-round-card-schedule {
    padding-right: 40px;
    border-right: 1px solid var(--border);
  }

  .shop-round-card-benefits {
    padding-left: 12px;
  }

  .shop-round-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .shop-round-badge {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .shop-round-title {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.35;
  }

  .shop-round-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .shop-round-info-list {
    margin-bottom: 16px;
  }

  .shop-round-info-item {
    gap: 4px;
    padding: 14px 0;
  }

  .shop-round-info-label {
    font-size: 14.5px;
  }

  .shop-round-info-text {
    font-size: 14px;
    line-height: 1.55;
  }

  .shop-round-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
  }

  .shop-round-benefit-item {
    gap: 5px;
    padding: 14px 0;
  }

  .shop-round-benefit-title strong {
    font-size: 15px;
  }

  .shop-round-benefit-text {
    font-size: 14px;
    line-height: 1.55;
  }

  .shop-round-benefit-item .shop-event-tag {
    font-size: 12px;
  }
}

/* legacy schedule/events selectors kept light for any residual use */
.shop-schedule-events-wrap {
  display: none;
}

.shop-event-tag {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--primary);
}

.shop-event-tag-new,
.shop-event-tag-free,
.shop-event-tag-limit {
  background: none;
  color: var(--primary);
}

.shop-schedule-lines {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.shop-schedule-lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--bg-soft, #f6f5f2);
}

.shop-schedule-lines img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: #fff;
}

.shop-schedule-lines span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.shop-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-schedule-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.shop-schedule-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.shop-schedule-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.shop-schedule-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.shop-events {
  display: grid;
  gap: 10px;
  border-top: none;
}

.shop-event-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-event-card:hover,
.shop-event-card:active {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.shop-event-card .shop-event-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.shop-event-card.shop-event-sale {
  background: linear-gradient(180deg, #fff7f2 0%, #fff 72%);
}

.shop-event-card.shop-event-sale .shop-event-badge {
  background: rgba(196, 64, 32, 0.12);
  color: #b53a1c;
}

.shop-event-card.shop-event-ship {
  background: linear-gradient(180deg, #f3f8f4 0%, #fff 72%);
}

.shop-event-card.shop-event-ship .shop-event-badge {
  background: rgba(26, 77, 46, 0.12);
  color: #1a4d2e;
}

.shop-event-card.shop-event-limit {
  background: linear-gradient(180deg, #f7f4ef 0%, #fff 72%);
}

.shop-event-card.shop-event-limit .shop-event-badge {
  background: rgba(120, 90, 40, 0.12);
  color: #7a5a28;
}

.shop-event-card .shop-event-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 22px;
  line-height: 1;
}

.shop-event-card .shop-event-copy {
  min-width: 0;
  padding-right: 48px;
}

.shop-event-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 3px;
}

.shop-event-card span:not(.shop-event-badge):not(.shop-event-icon) {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.shop-event-copy span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.shop-premium {
  margin-left: calc(var(--shop-pad) * -1);
  margin-right: calc(var(--shop-pad) * -1);
  margin-bottom: 24px;
  padding: 40px var(--shop-pad);
  background: linear-gradient(135deg, #1a1208, #2d1f12);
  color: var(--white);
  overflow: hidden;
  border-bottom: none;
}

.shop-premium-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
}

.shop-premium-price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
}

.shop-premium-cta {
  margin-top: 16px;
  width: 100%;
}

.shop-premium-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wh-accent);
  margin-bottom: 8px;
}

.shop-premium-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
}

.shop-premium-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: var(--shop-max);
  margin: 0 auto;
}

.shop-premium-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.shop-premium-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.shop-premium-feat-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.shop-premium-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.shop-premium-product {
  text-align: center;
  min-width: 0;
}

.shop-premium-product-img {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.shop-premium-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-premium-product span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.shop-premium-sets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.shop-premium .shop-set-card {
  flex: none;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--white);
}

.shop-premium .shop-set-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--wh-accent);
}

.shop-premium .shop-set-card p {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.shop-premium .shop-set-card .price {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.shop-premium .shop-btn-primary {
  background: var(--wh-accent);
  color: #1a1208;
}

.shop-strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}

.shop-strength {
  text-align: center;
}

.shop-strength-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.shop-strength strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.why-walkerhill {
  margin-left: calc(var(--shop-pad) * -1);
  margin-right: calc(var(--shop-pad) * -1);
  padding: 0;
  border-bottom: none;
  overflow: hidden;
  background: transparent;
}

.why-walkerhill[hidden] {
  display: none !important;
}

.why-wh-banner {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.shop-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-section-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.shop-section-cta .shop-btn {
  width: 100%;
  max-width: 320px;
}

.shop-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.shop-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.shop-step strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.shop-step span:not(.shop-step-num) {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

body[data-brand="walkerhill"] .shop-step-num {
  background: #1a1208;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(26, 18, 8, 0.2);
}

.shop-kakao {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.shop-kakao p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.shop-lookup-kakao-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.shop-lookup-block {
  min-width: 0;
  text-align: left;
}

.shop-lookup-block .shop-section-head {
  margin-bottom: 12px;
}

.shop-lookup-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  text-align: left;
}

.shop-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: none;
}

.shop-lookup-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.shop-lookup-input::placeholder {
  color: var(--text-muted);
}

.shop-lookup-input:focus {
  outline: none;
  border-color: var(--primary);
}

.shop-lookup-form .shop-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .shop-lookup-kakao-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: stretch;
  }

  .shop-lookup-block .shop-lookup-form {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
  }

  .shop-lookup-block .shop-lookup-form .shop-lookup-input {
    flex: 1;
    min-width: 0;
  }
}

.shop-btn-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  background: #fee500;
  color: #191919;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.shop-footer {
  background: var(--logo-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 32px var(--shop-pad) calc(24px + env(safe-area-inset-bottom, 0px));
  margin-top: 0;
}

.shop-footer-inner {
  max-width: var(--shop-max);
  margin: 0 auto;
}

.shop-footer-logo {
  width: 72px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

.shop-footer-contact {
  display: block;
  margin: 0 0 20px;
  text-align: left;
}

.shop-footer-contact-block {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.shop-footer-contact-block strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.shop-footer-contact-block.wh strong {
  color: var(--wh-accent);
}

.shop-footer p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.shop-footer a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.shop-footer a:hover {
  text-decoration: underline;
}

.shop-footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.shop-footer-copy {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.shop-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 170;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px var(--shop-pad) calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--border);
}

.kakao-talk-fab {
  position: fixed;
  right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 190;
  line-height: 0;
  pointer-events: none;
}

.kakao-talk-fab > * {
  pointer-events: auto;
}

.kakao-talk-fab iframe,
.kakao-talk-fab a,
.kakao-talk-fab img {
  display: block;
  max-width: 100%;
}

body[data-brand="walkerhill"] .brand-kimchi-house-only {
  display: none !important;
}

body[data-brand="kimchi-house"] .brand-walkerhill-only {
  display: none !important;
}

/* Bag page (cart) — site header stays visible above */
.cart-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  padding-top: var(--shop-header-offset);
  box-sizing: border-box;
  background: #fff;
  isolation: isolate;
}

body.bag-open #shop-main,
body.bag-open .shop-hero,
body.checkout-open #shop-main,
body.checkout-open .shop-hero {
  visibility: hidden;
}

body.bag-open .product-modal-overlay,
body.checkout-open .product-modal-overlay {
  visibility: hidden;
  pointer-events: none;
}

.cart-sheet-overlay.open {
  display: block;
}

body.bag-open .order-mobile-cart,
body.checkout-open .order-mobile-cart {
  display: none !important;
}

body.bag-open #open-cart-sheet,
body.checkout-open #open-cart-sheet {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, #fff);
}

.bag-page {
  --bag-thumb: 132px;
  --bag-thumb-gap: 20px;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.bag-page-intro {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 18px 0 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.bag-page-intro h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bag-page-meta {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.bag-page-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px var(--shop-pad) calc(36px + env(safe-area-inset-bottom, 0px));
}

.bag-col-items {
  min-width: 0;
}

.bag-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bag-items li {
  border: none;
  padding: 0;
}

.bag-items li.bag-item {
  display: grid;
  grid-template-columns: var(--bag-thumb, 132px) minmax(0, 1fr);
  gap: var(--bag-thumb-gap, 20px);
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid #d4d4d4;
}

.bag-items > li.bag-item:last-child {
  border-bottom: none;
  padding-bottom: 16px;
}

.bag-group-title,
.bag-items li.bar-group-title {
  padding: 40px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  border: none;
}

.bag-items > .bag-group-title:first-child,
.bag-items > li.bar-group-title:first-child {
  padding-top: 8px;
}

.bag-group-title + .bag-item,
.bag-items li.bar-group-title + li.bag-item {
  padding-top: 28px;
}

.bag-item-media {
  min-width: 0;
}

.bag-item-thumb {
  width: var(--bag-thumb, 132px);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.bag-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bag-item-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-weight: 800;
  color: #999;
}

.bag-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: var(--bag-thumb, 132px);
  padding-top: 2px;
  padding-right: 4px;
}

.bag-item-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.bag-item-meta {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  line-height: 1.45;
}

.bag-item-price {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.bag-item-actions {
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}

.bag-item-actions .bag-qty {
  width: 100%;
  max-width: 168px;
  justify-content: space-between;
}

.bag-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 1.5px solid #bdbdbd;
  border-radius: 999px;
  background: #fafafa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.bag-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #222;
  cursor: pointer;
}

.bag-qty-btn:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
}

.bag-qty-btn svg {
  width: 18px;
  height: 18px;
}

.bag-qty-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.bag-qty-count {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.bag-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f3f8f5;
  border: 1px solid #cfe0d6;
}

.bag-info-banner-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}

.bag-info-banner-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: #2f4a3c;
}

.bag-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 56px 16px;
  text-align: center;
  color: #666;
}

.bag-empty strong {
  color: var(--text);
  font-size: 18px;
}

.bag-empty-cta {
  margin-top: 12px;
  padding: 12px 22px;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.bag-empty-cta:hover {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}

.bag-col-summary {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.bag-summary-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.bag-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.bag-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: #444;
}

.bag-summary-row strong {
  font-weight: 700;
  color: var(--text);
}

.bag-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.bag-summary-total strong {
  font-size: 22px;
}

.bag-summary-gst {
  font-size: 13px;
  color: #666;
  margin-bottom: 18px;
}

.bag-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.bag-checkout-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.bag-checkout-btn:disabled {
  background: #b8ccc3;
  cursor: not-allowed;
}

.bag-summary-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #666;
  text-align: center;
}

/* Product search overlay */
.product-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 260;
  background: var(--white);
}

.product-search-overlay.open {
  display: block;
}

.product-search-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.product-search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--shop-pad) 10px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.product-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-soft, #f5f5f5);
}

.product-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.product-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  appearance: none;
}

.product-search-input::-webkit-search-cancel-button {
  display: none;
}

.product-search-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.product-search-clear.hidden {
  display: none;
}

.product-search-close {
  flex-shrink: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 4px;
}

.product-search-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--shop-pad) calc(16px + env(safe-area-inset-bottom, 0px));
}

.product-search-hint {
  margin: 12px 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.product-search-item:last-child {
  border-bottom: none;
}

.product-search-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft, #f5f5f5);
}

.product-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.product-search-cat {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.product-search-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-search-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.product-search-price.sold-out {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.product-search-empty {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.order-mobile-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px var(--shop-pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  border-top: 1px solid var(--border);
}

.order-mobile-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.order-mobile-cart-btn svg {
  width: 22px;
  height: 22px;
}

.order-mobile-cart-total {
  font-size: 13px;
  color: var(--text-muted);
}

.order-mobile-cart-total strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
  font-weight: 800;
}

.order-mobile-cart .shop-btn {
  min-width: 120px;
  min-height: 44px;
}

/* Scroll lock while overlays are open (esp. iOS) */
html.shop-scroll-lock,
html.shop-scroll-lock body {
  overflow: hidden;
  overscroll-behavior: none;
}

body.shop-scroll-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.shop-scroll-lock .shop-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  width: 100%;
}

/* Site notice popup — image banner */
.site-notice-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px var(--shop-pad);
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-notice-overlay.open {
  display: flex !important;
}

body.site-notice-open {
  overflow: hidden;
}

.site-notice-dialog--image {
  position: relative;
  width: min(100%, 520px);
  max-height: min(92vh, 900px);
  margin: auto;
  padding: 0;
  border-radius: 14px;
  background: #f5f5f5;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  line-height: normal;
  display: flex;
  flex-direction: column;
}

.site-notice-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-notice-x:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.site-notice-banner-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.site-notice-banner-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.site-notice-dismiss {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 12px 16px 14px;
  background: #f5f5f5;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
}

.site-notice-dismiss-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-notice-dismiss-ui {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8d8d8;
  transition: background 0.2s ease;
}

.site-notice-dismiss-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.site-notice-dismiss-input:checked + .site-notice-dismiss-ui {
  background: var(--primary);
}

.site-notice-dismiss-input:checked + .site-notice-dismiss-ui::after {
  transform: translateX(18px);
}

.site-notice-dismiss-text {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  letter-spacing: -0.01em;
}

.site-notice-dismiss-input:focus-visible + .site-notice-dismiss-ui {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

/* Product modal */
.product-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(0, 0, 0, 0.45);
  padding: var(--shop-pad);
  overflow-y: auto;
}

.product-modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  overscroll-behavior: contain;
}

.product-modal {
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 100dvh - 32px);
  background: var(--white);
  border-radius: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.product-modal-fixed-ui {
  position: sticky;
  top: 0;
  z-index: 1001;
  height: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.product-modal-close {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  margin: 12px 12px 0 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-topbar {
  display: none;
}

.product-modal-mini {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 270;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 10px;
  min-height: 56px;
  padding: 10px 52px 10px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -100%, 0);
  transition: opacity 0.18s ease, transform 0.18s ease;
  will-change: transform, opacity;
}

.product-modal-mini.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.product-modal-mini-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-modal-mini-price {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.product-modal-mini-add {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.product-modal-mini-soldout {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.product-modal-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  background: var(--bg-soft);
}

.product-modal-img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  max-height: min(70vh, 520px);
  overflow: hidden;
  background: var(--bg-soft);
}

.product-modal-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-modal-img .shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-modal-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  opacity: 1;
  transform: none;
  max-height: none;
  overflow: visible;
}

.product-modal-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
}

.product-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-modal-meta {
  list-style: none;
  margin-bottom: 12px;
}

.product-modal-meta li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
}

.product-modal-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-modal-tiers span {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.product-modal-price {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 12px;
  color: var(--text);
}

.product-modal-soldout {
  color: var(--text-muted);
  font-weight: 700;
  margin: 0;
}

.product-modal-stock-note {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
}

.product-modal-card .modal-tier-picks {
  margin-bottom: 4px;
}

.product-modal-card .shop-btn-block {
  margin-top: 4px;
}

.product-modal-card .modal-options {
  margin-bottom: 8px;
}

.product-modal-detail {
  position: relative;
  z-index: 1;
  margin: 0;
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.product-modal-detail img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  content-visibility: auto;
  contain-intrinsic-size: 1000px 1400px;
}

/* Desktop: keep mobile-sized modal, pin buy card beside it */
@media (min-width: 768px) {
  .product-modal-overlay.open {
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 280px;
  }

  .product-modal {
    max-width: 480px;
  }

  .product-modal-topbar {
    display: none;
  }

  .product-modal-mini {
    display: none !important;
  }

  .product-modal-hero {
    display: block;
    height: auto;
    min-height: 0;
  }

  .product-modal-img {
    position: relative;
    inset: auto;
    aspect-ratio: 1;
    max-height: none;
  }

  .product-modal-card {
    position: fixed;
    top: 40px;
    left: calc(50% + 100px);
    right: auto;
    bottom: auto;
    z-index: 30;
    width: 280px;
    max-width: 280px;
    max-height: calc(100dvh - 80px);
    margin: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 8px 10px 28px rgba(0, 0, 0, 0.1);
    border-radius: 0 16px 16px 0;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
  }

  .product-modal-detail {
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .product-modal-overlay.open {
    padding-right: 240px;
  }

  .product-modal-card {
    left: calc(50% + 120px);
    width: 240px;
    max-width: 240px;
  }
}

/* Walkerhill premium blocks */
.wh-why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.wh-why-visual img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.wh-why-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wh-accent);
  margin-bottom: 10px;
}

.wh-why-list {
  list-style: none;
}

.wh-why-list li {
  font-size: 14px;
  padding: 6px 0;
  color: #444;
}

.wh-set-banner img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  max-height: 200px;
  object-fit: cover;
}

.wh-set-banner.compact img {
  max-height: 140px;
}

.wh-set-card {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.wh-set-card.featured {
  border-color: var(--wh-accent);
}

.wh-set-card strong {
  color: var(--text);
}

.wh-set-card .price {
  color: #1a1208;
}

.wh-set-badge {
  background: rgba(235, 136, 94, 0.15);
  color: var(--wh-accent);
}

.wh-set-add {
  background: #1a1208 !important;
  color: var(--gold) !important;
}

.wh-section-title {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 16px;
  color: #1a1208;
}

.shop-preorder-closed {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.shop-preorder-closed-inner {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.shop-preorder-closed-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 16px;
  object-fit: cover;
}

.shop-preorder-closed-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.shop-preorder-closed-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.shop-preorder-closed-desc {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.shop-preorder-closed-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.shop-preorder-closed-contact {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.shop-preorder-closed-contact a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

body.shop-preorder-off #home-categories,
body.shop-preorder-off #brand-hero,
body.shop-preorder-off .shop-cat-nav-row,
body.shop-preorder-off .shop-header-brands,
body.shop-preorder-off .shop-header-cats,
body.shop-preorder-off .shop-main-nav,
body.shop-preorder-off .shop-menu-btn,
body.shop-preorder-off #open-product-search,
body.shop-preorder-off #open-cart-sheet,
body.shop-preorder-off #open-cart-sheet-mobile,
body.shop-preorder-off .shop-fixed-cta,
body.shop-preorder-off .shop-footer,
body.shop-preorder-off .order-mobile-cart,
body.shop-preorder-off .shop-mobile-nav,
body.shop-preorder-off .cart-sheet-overlay,
body.shop-preorder-off .product-modal-overlay,
body.shop-preorder-off .checkout-overlay,
body.shop-preorder-off .product-search-overlay,
body.shop-preorder-off .shop-main > :not(#shop-preorder-closed) {
  display: none !important;
}

body.shop-preorder-off.shop-order-page {
  padding-bottom: 0;
}

body.shop-preorder-off .shop-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  padding: 24px var(--shop-pad) calc(24px + env(safe-area-inset-bottom, 0px));
}

.success-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

@media (min-width: 768px) {
  .shop-page {
    --shop-pad: 24px;
  }

  .shop-nav {
    display: flex;
  }

  .shop-header-row {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .shop-main-nav {
    display: none !important;
  }

  .shop-header-brands {
    max-width: 360px;
    justify-self: center;
  }

  .shop-brand-dropdown {
    min-width: 220px;
  }

  .shop-menu-btn {
    display: none;
  }

  .shop-fixed-cta {
    display: none;
  }

  .kakao-talk-fab {
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .shop-order-page {
    padding-bottom: 40px;
  }

  .order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
  }

  .shop-unified .order-layout-full {
    grid-template-columns: 1fr;
  }

  .order-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
  }

  .order-hero-text h1 {
    font-size: 28px;
  }

  .order-hero-visual {
    max-height: 200px;
    aspect-ratio: auto;
  }

  .order-cart {
    display: block;
    position: sticky;
    top: 140px;
  }

  .order-mobile-cart {
    display: none;
  }

  .cart-sheet-overlay.open {
    display: block !important;
  }

  .bag-page-intro {
    text-align: left;
    border-bottom: none;
    padding-top: 8px;
  }

  .bag-page {
    --bag-thumb: 148px;
    --bag-thumb-gap: 24px;
  }

  .bag-page-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
    align-items: start;
    padding-top: 28px;
  }

  .bag-col-summary {
    position: sticky;
    top: 88px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .checkout-page-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 48px;
    align-items: start;
  }

  .checkout-page-summary {
    position: sticky;
    top: 88px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

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

  .wh-why {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .shop-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 20px;
  }

  .shop-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .shop-footer-contact {
    display: block;
  }

  .shop-hero-card,
  .shop-hero-card-wh {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .shop-hero-body,
  .shop-hero-body-wh {
    padding: 56px 80px 72px;
  }

  .shop-hero-title {
    font-size: clamp(32px, 3.6vw, 46px);
  }

  .shop-hero-arrow.prev { left: 20px; }
  .shop-hero-arrow.next { right: 20px; }

  .shop-events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .shop-schedule-events-wrap .shop-events {
    grid-template-columns: 1fr;
  }

  .shop-event-card {
    flex: none;
  }

  .shop-schedule-events-wrap .shop-event-card {
    flex: none;
  }

  .shop-strengths {
    grid-template-columns: repeat(4, 1fr);
  }

  .shop-steps {
    flex-direction: row;
  }

  .shop-step {
    flex: 1;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 22px 16px;
  }

  .shop-step-num {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .shop-schedule-events-wrap .shop-event-card {
    flex: none;
  }

  .shop-categories {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .kurly-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tier quantity picks */
.kurly-tier-picks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.home-tier-picks {
  margin-top: 8px;
}

.kurly-tier-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.kurly-tier-pick:hover,
.kurly-tier-pick:active {
  border-color: var(--primary);
  background: #f4faf7;
}

body[data-brand="walkerhill"] .kurly-tier-pick:hover,
body[data-brand="walkerhill"] .kurly-tier-pick:active {
  border-color: var(--wh-accent);
  background: #fff8f4;
}

.kurly-tier-pick .tier-qty {
  font-weight: 600;
  color: var(--text);
}

.kurly-tier-pick .tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
}

.kurly-tier-pick .tier-was {
  font-size: 12px;
  color: var(--text-muted);
}

.kurly-tier-pick strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.price-hint {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

button.shop-product-thumb {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin-bottom: 12px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

button.shop-product-cta {
  font-family: inherit;
}

.shop-home .shop-main,
.shop-unified .shop-main {
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

.shop-home.has-cart .shop-main,
.shop-unified.has-cart .shop-main {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* Lookup page */
.shop-lookup-main {
  padding-bottom: 40px;
}

.shop-header-row-simple {
  grid-template-columns: 1fr auto;
}

.shop-lookup-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.shop-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.shop-lookup-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.shop-lookup-input::placeholder {
  color: var(--text-muted);
}

.shop-lookup-input:focus {
  outline: none;
  border-color: var(--primary);
}

.shop-lookup-form .shop-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.shop-lookup-page .shop-lookup-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 480px;
}

.shop-lookup-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-lookup-label .req {
  color: var(--accent);
}

.shop-lookup-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.shop-lookup-back {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.shop-lookup-back:hover {
  text-decoration: underline;
}

.lookup-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
}

.lookup-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  background: var(--white);
  margin-bottom: 14px;
}

.lookup-card:last-child {
  margin-bottom: 0;
}

.lookup-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.lookup-order-id {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.lookup-order-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.lookup-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.lookup-status-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-soft);
}

.lookup-status-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.lookup-delivery-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: grid;
  gap: 10px;
}

.lookup-delivery-block .lookup-status-block {
  margin: 0;
  padding: 0;
  background: transparent;
}

.lookup-row-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lookup-row-inline .lookup-status-label {
  margin: 0;
}

.lookup-delivery-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.lookup-status-received { background: #fff8e1; color: #9a7b00; }
.lookup-status-confirmed { background: #e8f4fd; color: #1565a8; }
.lookup-status-preparing { background: #e8f5ec; color: #1b6b3a; }
.lookup-status-notified { background: #fff4e5; color: #b45309; }
.lookup-status-done { background: #eef7ef; color: #2e7d32; }

.lookup-details {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.lookup-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  font-size: 14px;
}

.lookup-row dt {
  color: var(--text-muted);
  font-weight: 600;
}

.lookup-row dd {
  margin: 0;
  font-weight: 500;
}

.lookup-items-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lookup-items ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.lookup-items li + li {
  margin-top: 4px;
}

.lookup-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 700;
}

.lookup-total strong {
  color: var(--primary);
  font-size: 18px;
}

.lookup-edit-help {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f4ef;
  border: 1px solid var(--border);
}

.lookup-edit-help-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}

.lookup-edit-help-desc {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.lookup-edit-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 767px) {
  .shop-page {
    --shop-pad: 14px;
  }

  .shop-header-row {
    gap: 8px;
    padding: 8px var(--shop-pad);
  }

  .shop-icon-btn {
    width: 36px;
    height: 36px;
  }

  .shop-logo-text {
    display: none;
  }

  .shop-brand-tab {
    font-size: 11px;
    padding: 7px 8px;
    min-height: 36px;
    text-overflow: clip;
  }

  .shop-brand-tab-long {
    display: none;
  }

  .shop-brand-tab-short {
    display: inline;
  }

  .shop-hero-card,
  .shop-hero-card-wh {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .shop-hero-body,
  .shop-hero-body-wh {
    padding: 40px 20px 56px;
  }

  .shop-hero-video-controls {
    left: 10px;
    bottom: 10px;
  }

  .shop-hero-vbtn {
    width: 36px;
    height: 36px;
  }

  .shop-hero-arrow {
    font-size: 28px;
  }

  .shop-hero-arrow.prev { left: 4px; }
  .shop-hero-arrow.next { right: 4px; }

  .shop-header-brands {
    max-width: none;
    gap: 6px;
  }

  .shop-section {
    padding: 28px 0;
  }

  .shop-section-title {
    font-size: 18px;
  }

  .shop-product-grid {
    gap: 20px 10px;
  }

  .kurly-product-grid {
    gap: 20px 10px;
  }

  .shop-premium-title {
    font-size: 20px;
  }

  .shop-premium-sets {
    grid-template-columns: 1fr;
  }

  .shop-strengths {
    gap: 16px 12px;
  }

  .shop-schedule-events-wrap {
    display: none;
  }

  .product-modal {
    max-height: min(96dvh, 100dvh - env(safe-area-inset-top, 0px));
    height: min(96dvh, 100dvh - env(safe-area-inset-top, 0px));
    border-radius: 16px 16px 0 0;
    max-width: none;
  }

  .product-modal-hero {
    height: auto;
    min-height: 0;
  }

  .product-modal-img {
    max-height: min(62vh, 440px);
  }

  .product-modal-card h2 {
    font-size: 17px;
  }

  .product-modal-price {
    font-size: 20px;
  }

  .product-modal-overlay {
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
  }

  .product-modal-overlay.open {
    padding-top: 0;
    padding-bottom: 0;
  }

  .lookup-row {
    grid-template-columns: 72px 1fr;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .shop-brand-tab {
    font-size: 10px;
    padding: 6px 6px;
  }

  .order-mobile-cart-total {
    font-size: 12px;
  }

  .order-mobile-cart .shop-btn {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ===== Admin page (shop shell) ===== */
.shop-admin-page {
  background: var(--bg-soft);
  min-height: 100vh;
}

.shop-admin-page .shop-admin-main {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-pad) 48px;
}

.shop-admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

.shop-admin-page .admin-login,
.shop-admin-page .admin-panel {
  min-height: 100vh;
}

.shop-admin-page .admin-panel {
  display: none;
}

.shop-admin-page .admin-panel.show {
  display: flex;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #f4f5f7;
}

.shop-admin-page .admin-sidebar {
  flex: 0 0 228px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px;
  background: #1a2b23;
  color: #f4f7f5;
}

.shop-admin-page .admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
}

.shop-admin-page .admin-sidebar-brand img {
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.shop-admin-page .admin-sidebar-brand strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.shop-admin-page .admin-sidebar-brand span {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  font-weight: 600;
}

.shop-admin-page .admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.shop-admin-page .admin-side-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.shop-admin-page .admin-side-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.shop-admin-page .admin-side-link.active {
  background: #0f4c36;
  color: #fff;
  box-shadow: inset 3px 0 0 #7dcea0;
}

.shop-admin-page .admin-side-link.is-quiet {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}

.shop-admin-page .admin-sidebar-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 6px;
}

.shop-admin-page .admin-sidebar-user {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.75;
  padding: 0 12px;
}

.shop-admin-page .admin-workspace {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.shop-admin-page .admin-top-header {
  background: #fff;
  border-bottom: 1px solid #e2e6ea;
  margin: 0;
  border-radius: 0;
}

.shop-admin-page .admin-page-heading {
  display: grid;
  gap: 2px;
}

.shop-admin-page .admin-page-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #1a2b23;
}

.shop-admin-page .admin-page-sub {
  margin: 0;
  font-size: 13px;
  color: #5c6b64;
  font-weight: 600;
}

.shop-admin-page .shop-admin-main {
  flex: 1;
  min-height: 0;
  background: #f4f5f7;
  overflow: auto;
}

.shop-admin-page .shop-section {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(26, 43, 35, 0.04);
}

@media (max-width: 900px) {
  .shop-admin-page .admin-panel.show {
    flex-direction: column;
  }

  .shop-admin-page .admin-sidebar {
    flex: 0 0 auto;
  }

  .shop-admin-page .admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .shop-admin-page .admin-side-link {
    flex: 1 1 auto;
  }
}

.shop-admin-page .admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.shop-admin-page .admin-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}

.shop-admin-page .admin-view-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.shop-admin-page .admin-view-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.shop-admin-page .admin-note-details {
  margin: 0;
}

.shop-admin-page .admin-note-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-muted);
  list-style: none;
}

.shop-admin-page .admin-note-details summary::-webkit-details-marker {
  display: none;
}

.shop-admin-page .admin-note-details[open] summary {
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .shop-admin-page .admin-note-details summary {
    display: none;
  }

  .shop-admin-page .admin-note-details {
    display: block;
  }
}

.shop-admin-page .admin-round-panel,
.shop-admin-page .admin-stock-panel {
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}


.shop-admin-page .admin-round-title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shop-admin-page .admin-filter-label {
  color: var(--text-muted);
}

.shop-admin-page .filter-tab {
  border-radius: 6px;
  border: 1.5px solid #cfc8bc;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
}

.shop-admin-page .filter-tab.active,
.shop-admin-page .filter-tab-round.active,
.shop-admin-page .filter-tab-status.active,
.shop-admin-page .stat-round.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 800;
}

.shop-admin-page .stat {
  background: var(--bg-soft);
  border-color: var(--border);
  border-radius: 10px;
}

.shop-admin-page .stat .num {
  color: var(--primary);
}

.shop-admin-page .admin-search,
.shop-admin-page .admin-search.shop-lookup-input {
  width: 100%;
  margin: 0;
}

.shop-admin-page .admin-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.shop-admin-page .admin-table {
  font-size: 14px;
}

.shop-admin-page .admin-table thead {
  background: #f3f0eb !important;
  color: #1a1a1a !important;
}

.shop-admin-page .admin-table th {
  color: #1a1a1a !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
  background: #f3f0eb;
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}

.shop-admin-page .admin-table th,
.shop-admin-page .admin-table td {
  border-color: var(--border);
  color: var(--text);
  padding: 12px 12px;
  vertical-align: top;
}

.shop-admin-page .admin-orders-table .col-id,
.shop-admin-page .admin-orders-table .col-name,
.shop-admin-page .admin-orders-table .col-phone,
.shop-admin-page .admin-orders-table .col-pay,
.shop-admin-page .admin-orders-table .col-status,
.shop-admin-page .admin-orders-table .col-action {
  vertical-align: middle;
  white-space: nowrap;
}

.shop-admin-page .admin-orders-table .col-address {
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
  min-width: 200px;
  max-width: 300px;
  white-space: normal;
  text-align: center;
  vertical-align: middle;
}

.shop-admin-page .admin-orders-table th:nth-child(4) {
  text-align: center;
  vertical-align: middle;
}

.shop-admin-page .admin-card-fact-address {
  text-align: center;
}

.shop-admin-page .admin-card-fact-address dt,
.shop-admin-page .admin-card-fact-address dd {
  text-align: center;
}

.shop-admin-page .admin-orders-table .col-items {
  min-width: 170px;
  max-width: 280px;
}

.shop-admin-page .admin-items-inline li {
  padding: 2px 0;
  border-bottom: 1px solid #f0ebe3;
}

.shop-admin-page .admin-items-inline li:last-child {
  border-bottom: 0;
}

.shop-admin-page .admin-card-facts {
  background: #faf8f4;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.shop-admin-page .admin-card-facts dt {
  color: #6b6b6b;
}

.shop-admin-page .admin-card-facts dd {
  color: #1a1a1a;
  font-weight: 600;
}

.shop-admin-page .admin-table tbody tr:nth-child(even) td {
  background: #fafaf8;
}

.shop-admin-page .admin-stock-id {
  color: #6b6b6b;
  font-size: 12px;
  margin-top: 3px;
}

.shop-admin-page .admin-stock-input {
  border: 1.5px solid #cfc8bc;
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
}

.shop-admin-page .admin-stock-remaining {
  font-weight: 800;
  font-size: 15px;
}

/* 판매 상태 select만 강제 대비 (주문 상태 pill 색상은 유지) */
.shop-admin-page .admin-sale-status {
  color: #1a1a1a;
  background-color: #fff;
  border: 1.5px solid #cfc8bc;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  min-height: 36px;
}

.shop-admin-page .admin-status-wrap {
  border-radius: 8px;
  border-width: 1.5px;
}

.shop-admin-page .admin-order-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.shop-admin-page .admin-btn-delete {
  background: #fff;
  color: #c62828;
  border: 1.5px solid #ef9a9a;
}

.shop-admin-page .admin-store-badge {
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.shop-admin-page .admin-store-badge.redis {
  background: #e8f5ec;
  border-color: #c8e6c9;
  color: #1b6b3a;
}

.shop-admin-page .admin-store-badge.local {
  background: #fff4e5;
  border-color: #ffe0b2;
  color: #b45309;
}

.shop-admin-page .admin-toast {
  background: rgba(15, 74, 53, 0.96);
}

@media (max-width: 767px) {
  .shop-admin-page .shop-header-row-simple {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shop-admin-page .admin-header-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .shop-admin-page .admin-round-head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===== Sale status badges ===== */
.shop-badge-soldout {
  background: #5c5c5c;
  color: #fff;
}

.shop-badge-soon {
  background: #2f6fed;
  color: #fff;
}

/* ===== Admin logo (dark on white bg) ===== */
.shop-admin-page .shop-logo-mark {
  height: 56px;
  width: auto;
}

.shop-admin-page .shop-logo-text {
  font-size: 17px;
  color: var(--text);
}

/* ===== Excel-like stock sheet ===== */
.shop-admin-page .admin-stock-sheet-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  max-width: 100%;
}

.shop-admin-page .admin-stock-sheet {
  border-collapse: collapse;
  font-size: 12px;
  min-width: max-content;
  color: #1a1a1a;
}

.shop-admin-page .admin-stock-sheet-amount {
  margin-top: 18px;
  border-top: 1px solid var(--border);
}

.shop-admin-page .admin-stock-sheet th,
.shop-admin-page .admin-stock-sheet td {
  border: 1px solid #d7d7d7;
  padding: 6px 8px;
  text-align: center;
  white-space: nowrap;
  color: #1a1a1a;
  vertical-align: middle;
}

.shop-admin-page .admin-stock-sheet-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #f3f3f3 !important;
  font-weight: 800;
  text-align: left !important;
  min-width: 64px;
}

.shop-admin-page .admin-stock-sheet thead th.admin-stock-sheet-label {
  z-index: 3;
}

.shop-admin-page .admin-stock-col {
  font-weight: 800;
  min-width: 72px;
}

.shop-admin-page .admin-stock-sheet .tone-wh {
  background: #e8f5e9;
}

.shop-admin-page .admin-stock-sheet .tone-kimchi {
  background: #eef2f5;
}

.shop-admin-page .admin-stock-sheet .tone-frozen {
  background: #f8efe4;
}

.shop-admin-page .admin-stock-sheet .tone-jang {
  background: #f5f0e8;
}

.shop-admin-page .admin-stock-sheet .tone-other {
  background: #fafafa;
}

.shop-admin-page .admin-stock-sheet-input {
  width: 64px;
  padding: 4px 6px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  background: #fff;
}

.shop-admin-page .admin-stock-sheet-name {
  font-weight: 700;
}

.shop-admin-page .admin-stock-sheet-rem.neg {
  color: #c62828;
  font-weight: 800;
}

.shop-admin-page .admin-stock-sheet-rem.zero {
  color: #b45309;
  font-weight: 800;
}

/* ===== Admin sales panel ===== */
.shop-admin-page .admin-sales-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shop-admin-page .admin-sales-presets,
.shop-admin-page .admin-sales-logs {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
}

.shop-admin-page .admin-sales-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

.shop-admin-page .admin-sales-preset-select {
  min-width: 200px;
  flex: 1;
}

.shop-admin-page .admin-sales-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.shop-admin-page .admin-sales-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  font-size: 13px;
  font-weight: 600;
}

.shop-admin-page .admin-round-scope {
  flex-wrap: wrap;
}

.shop-admin-page .admin-round-count {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
}

.shop-admin-page .admin-round-group {
  margin-bottom: 28px;
}

.shop-admin-page .admin-round-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-admin-page .admin-round-group-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.shop-admin-page .admin-round-group-head span {
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.shop-admin-page .admin-sales-bulk {
  flex-wrap: wrap;
  gap: 8px;
}

.shop-admin-page .admin-sales-group {
  margin-bottom: 20px;
}

.shop-admin-page .admin-sales-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.shop-admin-page .admin-sales-group-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.shop-admin-page .admin-sales-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.shop-admin-page .admin-sales-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-admin-page .admin-sales-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.shop-admin-page .admin-sales-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-soft);
  flex-shrink: 0;
}

.shop-admin-page .admin-sales-thumb.placeholder {
  display: inline-block;
}

.shop-admin-page .admin-sale-status {
  min-width: 120px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}

.shop-admin-page .admin-sales-log-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: 180px;
  overflow: auto;
}

.shop-admin-page .admin-sales-log-list li {
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.shop-admin-page .admin-sales-log-list span {
  display: block;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 767px) {
  .shop-admin-page .shop-logo-mark {
    height: 48px;
  }

  /* 주문 목록은 카드만 쓰지만, 재고·판매는 테이블만 있으므로 모바일에서도 보이게 */
  .shop-admin-page #stock-list .admin-table-wrap,
  .shop-admin-page #sales-list .admin-table-wrap {
    display: block !important;
    overflow: visible;
    border: none;
    background: transparent;
    border-radius: 0;
  }

  .shop-admin-page #stock-list .admin-table,
  .shop-admin-page #sales-list .admin-table,
  .shop-admin-page #stock-list .admin-table tbody,
  .shop-admin-page #sales-list .admin-table tbody {
    display: block;
    width: 100%;
  }

  .shop-admin-page #stock-list .admin-table thead,
  .shop-admin-page #sales-list .admin-table thead {
    display: none;
  }

  /* 패널 크롬 단순화 */
  .shop-admin-page #stock-view .admin-stock-panel,
  .shop-admin-page #sales-view .admin-stock-panel {
    padding: 12px 0 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .shop-admin-page #stock-view .admin-round-head,
  .shop-admin-page #sales-view .admin-round-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 2px;
  }

  .shop-admin-page #stock-view .admin-round-title,
  .shop-admin-page #sales-view .admin-round-title {
    font-size: 20px;
  }

  .shop-admin-page #stock-view .admin-stock-note,
  .shop-admin-page #sales-view .admin-stock-note {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
  }

  .shop-admin-page #stock-view .admin-toolbar,
  .shop-admin-page #sales-view .admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .shop-admin-page #stock-view .admin-toolbar .shop-btn,
  .shop-admin-page #sales-view .admin-toolbar .shop-btn {
    flex: 1 1 auto;
    min-height: 40px;
  }

  .shop-admin-page #stock-view .filter-tabs,
  .shop-admin-page #sales-view .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
  }

  .shop-admin-page #stock-view .filter-tab,
  .shop-admin-page #sales-view .filter-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .shop-admin-page #sales-view .admin-sales-presets,
  .shop-admin-page #sales-view .admin-sales-logs {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  .shop-admin-page #sales-view .admin-sales-presets {
    margin-bottom: 4px;
  }

  .shop-admin-page #sales-view .admin-sales-logs {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .shop-admin-page #sales-view .admin-sales-bulk {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-bottom: 8px;
  }

  .shop-admin-page #sales-view .admin-sales-bulk .shop-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .shop-admin-page #sales-view .admin-sales-group {
    margin-bottom: 18px;
  }

  .shop-admin-page #sales-view .admin-sales-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 4px;
    padding: 0 2px 6px;
    border-bottom: 1px solid var(--border);
  }

  .shop-admin-page #sales-view .admin-sales-group-head h3 {
    font-size: 14px;
    font-weight: 800;
  }

  .shop-admin-page #sales-view .admin-sales-group-actions {
    display: none;
  }

  /* ===== 재고: flat list ===== */
  .shop-admin-page #stock-list .admin-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto auto;
    grid-template-areas:
      "name name name"
      "meta meta meta"
      "prep reserved remaining";
    gap: 4px 10px;
    align-items: center;
    margin: 0;
    padding: 12px 2px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .shop-admin-page #stock-list .admin-table td {
    border: 0;
    padding: 0;
    background: transparent !important;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(1) {
    grid-area: name;
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(1) .admin-stock-id {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #8a8a8a;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(2) {
    grid-area: meta;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(3) {
    grid-area: prep;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(3)::before {
    content: "준비";
    flex: 0 0 auto;
    color: #6b6b6b;
    font-size: 12px;
    font-weight: 700;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(4) {
    grid-area: reserved;
    display: block;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(4)::before {
    content: "예약 ";
    font-weight: 600;
    color: #8a8a8a;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(5) {
    grid-area: remaining;
    display: block;
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

  .shop-admin-page #stock-list .admin-table td:nth-child(5)::before {
    content: "잔여 ";
    font-weight: 600;
    color: #8a8a8a;
  }

  .shop-admin-page #stock-list .admin-stock-input {
    width: 84px;
    min-height: 40px;
    font-size: 16px;
    font-weight: 800;
    border: 1.5px solid #cfc8bc;
    border-radius: 8px;
    color: #1a1a1a;
    background: #fff;
    text-align: center;
  }

  .shop-admin-page #stock-list .admin-stock-remaining {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
  }

  /* ===== 판매: flat list ===== */
  .shop-admin-page #sales-list .admin-table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "check product rem"
      "status status status";
    gap: 6px 10px;
    align-items: center;
    margin: 0;
    padding: 12px 2px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .shop-admin-page #sales-list .admin-table td {
    border: 0;
    padding: 0;
    background: transparent !important;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(1) {
    grid-area: check;
    align-self: center;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(2) {
    grid-area: product;
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    min-width: 0;
  }

  .shop-admin-page #sales-list .admin-sales-product {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .shop-admin-page #sales-list .admin-sales-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .shop-admin-page #sales-list .admin-stock-id {
    margin-top: 2px;
    font-size: 11px;
    color: #8a8a8a;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(3),
  .shop-admin-page #sales-list .admin-table td:nth-child(4),
  .shop-admin-page #sales-list .admin-table td:nth-child(5),
  .shop-admin-page #sales-list .admin-table td:nth-child(6) {
    display: none;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(7) {
    grid-area: rem;
    display: block;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #6b6b6b;
    white-space: nowrap;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(7)::before {
    content: "잔여 ";
    font-weight: 600;
    color: #8a8a8a;
  }

  .shop-admin-page #sales-list .admin-table td:nth-child(8) {
    grid-area: status;
  }

  .shop-admin-page #sales-list .admin-sale-status {
    width: 100%;
    min-height: 42px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    background: #fff;
    border: 1.5px solid #cfc8bc;
    border-radius: 8px;
  }
}

/* ===== Single-brand header categories ===== */
.shop-header-cats {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

@media (min-width: 980px) {
  .shop-header-row {
    grid-template-columns: auto 1fr auto;
  }
  .shop-header-cats {
    display: flex;
  }
  .shop-header-cats a {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
  }
  .shop-header-cats a:hover {
    background: var(--bg-soft);
    color: var(--primary);
  }
}

/* Always show both brand sections under unified Kimchi House */
body.shop-unified .brand-kimchi-house-only,
body.shop-unified .brand-walkerhill-only,
body[data-brand="kimchi-house"] .brand-walkerhill-only {
  display: block;
}

/* Premium set area — aligned product grids, no card chrome */
.wh-premium-block {
  margin-bottom: 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.wh-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wh-singles {
  margin-bottom: 8px;
}

.wh-singles .kurly-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
}

.wh-set-area {
  margin-top: 32px;
}

.wh-set-area > .wh-section-title {
  margin: 0 0 18px;
  padding-bottom: 10px;
}

.wh-set-tier {
  border: none;
  border-radius: 0;
  background: transparent;
  margin: 0 0 28px;
  padding: 0;
  overflow: visible;
}

.wh-set-tier:last-child {
  margin-bottom: 0;
}

.wh-set-tier-head {
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
}

.wh-set-tier-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.wh-set-tier-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

.wh-set-grid.kurly-product-grid,
.wh-set-tier .kurly-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 12px;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.wh-set-grid .kurly-card,
.wh-set-tier .kurly-card,
.wh-singles .kurly-card {
  min-width: 0;
  width: 100%;
  max-width: none;
  flex: none;
}

.wh-set-grid .kurly-card-thumb,
.wh-set-tier .kurly-card-thumb,
.wh-singles .kurly-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 10px;
  overflow: hidden;
}

.wh-set-grid .kurly-card-thumb img,
.wh-set-tier .kurly-card-thumb img,
.wh-singles .kurly-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .wh-singles .kurly-product-grid,
  .wh-set-grid.kurly-product-grid,
  .wh-set-tier .kurly-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

@media (min-width: 1024px) {
  .wh-set-grid.kurly-product-grid,
  .wh-set-tier .kurly-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.shop-cat-icon.is-premium .shop-cat-icon-label {
  color: #9a6b1f;
  font-weight: 800;
}

/* Header alignment after brand-tab removal */
.shop-page .shop-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.shop-page .shop-header-cats {
  justify-content: center;
}

.shop-page .shop-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.shop-hero-scrim-kh {
  background: linear-gradient(
    180deg,
    rgba(8, 28, 20, 0.42) 0%,
    rgba(8, 28, 20, 0.5) 48%,
    rgba(6, 20, 14, 0.62) 100%
  );
}

.home-order-help {
  padding-top: 40px;
  text-align: left;
}

@media (min-width: 768px) {
  .home-order-help {
    padding-top: 48px;
  }
}

.home-order-help .shop-section-head {
  margin-bottom: 12px;
  justify-content: flex-start;
}

.home-order-help-title {
  margin: 0;
  text-align: left;
  color: var(--primary);
}

.home-order-help-card {
  max-width: none;
  margin: 0;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 74, 53, 0.14);
  background: #f4f8f5;
  text-align: left;
}

.home-order-help-desc {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
  text-align: left;
}

.home-order-help-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 74, 53, 0.35);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.home-order-help-link:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ===== FAQ ===== */
.shop-faq {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.shop-faq .shop-section-title {
  font-size: 18px;
}

.shop-faq-head {
  display: block;
  margin-bottom: 20px;
}

.shop-faq-lead {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 400;
}

.shop-faq-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.shop-faq-cat {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

.shop-faq-list {
  border-top: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.shop-faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.shop-faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.shop-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 2px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease;
}

.shop-faq-q:hover {
  color: var(--primary);
  background: transparent;
}

.shop-faq-q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.shop-faq-q-text {
  flex: 1;
  min-width: 0;
}

.shop-faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
}

.shop-faq-chevron::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.15s ease;
  transform-origin: 55% 55%;
}

.shop-faq-item.is-open .shop-faq-chevron::before {
  transform: rotate(225deg);
  border-color: var(--primary);
}

.shop-faq-item.is-open .shop-faq-q {
  color: var(--primary);
  background: transparent;
}

.shop-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.shop-faq-item.is-open .shop-faq-panel {
  grid-template-rows: 1fr;
}

.shop-faq-a {
  overflow: hidden;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1.65;
  color: #555;
}

.shop-faq-item.is-open .shop-faq-a {
  padding-bottom: 14px;
  border-top: none;
}

.shop-faq-a p {
  margin: 0 0 8px;
}

.shop-faq-a p:last-child {
  margin-bottom: 0;
}

.shop-faq-em {
  color: var(--primary);
  font-weight: 700;
}

.shop-faq-bullets {
  margin: 0;
  padding-left: 1.1em;
}

.shop-faq-bullets li {
  margin: 0 0 4px;
}

.shop-faq-bullets li:last-child {
  margin-bottom: 0;
}

.shop-faq-areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 2px 0 12px;
}

.shop-faq-area-card {
  padding: 12px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.shop-faq-area-ok {
  background: #f4f8f5;
  border-color: rgba(15, 74, 53, 0.1);
}

.shop-faq-area-no {
  background: #faf7f5;
  border-color: rgba(229, 106, 45, 0.12);
}

.shop-faq-area-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.shop-faq-area-no .shop-faq-area-title {
  color: #a14a22;
}

.shop-faq-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-faq-area-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

.shop-faq-area-no .shop-faq-area-tags li {
  color: #6b4a3a;
  background: rgba(255, 255, 255, 0.85);
}

.shop-faq-contact {
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #f4f8f5;
  border: 1px solid rgba(15, 74, 53, 0.12);
  text-align: center;
}

.shop-faq-contact-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.shop-faq-contact-desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}

.shop-faq-channel-line {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 13px;
  line-height: 1.4;
}

.shop-faq-channel-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 74, 53, 0.28);
  padding-bottom: 1px;
}

.shop-faq-channel-link:hover {
  border-color: var(--primary);
}

.shop-faq-channel-hint {
  color: var(--text-muted);
  font-size: 12.5px;
}

.shop-faq-contact-cta {
  display: inline-flex;
  max-width: 280px;
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

/* 주문 조회 */
.shop-lookup {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.shop-lookup .shop-section-head {
  margin-bottom: 10px;
  justify-content: center;
  text-align: center;
}

.shop-lookup-desc {
  max-width: none;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.shop-lookup .shop-lookup-form-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.shop-lookup .shop-lookup-results {
  margin-top: 16px;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (min-width: 768px) {
  .shop-faq {
    max-width: 880px;
  }

  .shop-faq .shop-section-title {
    font-size: 20px;
  }

  .shop-faq-head {
    margin-bottom: 28px;
    text-align: center;
  }

  .shop-faq-lead {
    font-size: 14px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .shop-faq-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    align-items: start;
  }

  /* 배송 지역 안내는 한 줄 전체 폭 */
  .shop-faq-group:last-child {
    grid-column: 1 / -1;
  }

  .shop-faq-cat {
    font-size: 13px;
    margin-bottom: 10px;
    padding-left: 2px;
  }

  .shop-faq-list {
    border-radius: 0;
  }

  .shop-faq-q {
    min-height: 46px;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 2px;
  }

  .shop-faq-a {
    font-size: 13.5px;
    line-height: 1.7;
    padding: 0 2px;
  }

  .shop-faq-item.is-open .shop-faq-a {
    padding-bottom: 16px;
  }

  .shop-faq-areas {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
    margin: 4px 0 14px;
  }

  .shop-faq-area-card {
    padding: 14px 16px;
  }

  .shop-faq-area-title {
    font-size: 13px;
  }

  .shop-faq-area-tags li {
    font-size: 12.5px;
    min-height: 28px;
  }

  .shop-faq-contact {
    margin-top: 28px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
  }

  .shop-faq-contact-copy {
    flex: 1;
    min-width: 0;
  }

  .shop-faq-contact-title {
    margin: 0 0 6px;
    font-size: 16px;
  }

  .shop-faq-contact-desc {
    margin: 0 0 8px;
    font-size: 13.5px;
    max-width: 480px;
  }

  .shop-faq-channel-line {
    justify-content: flex-start;
    margin: 0;
  }

  .shop-faq-contact-cta {
    margin: 0;
    flex-shrink: 0;
    max-width: none;
    width: auto;
    min-width: 200px;
    padding: 0 22px;
  }

  .shop-lookup {
    max-width: 560px;
  }

  .shop-lookup .shop-lookup-form-inline {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    max-width: 520px;
  }

  .shop-lookup .shop-lookup-form-inline .shop-lookup-input {
    flex: 1;
    min-width: 0;
  }

  .shop-lookup .shop-lookup-form-inline .shop-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .shop-faq {
    max-width: 920px;
  }

  .shop-faq-groups {
    gap: 24px 28px;
  }
}

@media (max-width: 900px) {
  .shop-admin-page .admin-panel.show {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .shop-admin-page .admin-workspace {
    overflow: visible;
  }
}

/* ===== Brand entrance + category heroes (2026-09-04) ===== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-home-intro {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 28px var(--shop-pad) 8px;
  text-align: center;
}

.shop-home-intro-brand {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--primary);
}

.shop-home-intro-title {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shop-cat-entrance {
  width: 100%;
  min-height: 100svh;
  background: #fff;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.shop-cat-entrance-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.shop-entrance-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  min-height: 400px;
  padding: 24px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

.shop-entrance-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-entrance-media,
.shop-entrance-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.shop-entrance-card:hover .shop-entrance-media,
.shop-entrance-card:hover .shop-entrance-video {
  transform: scale(1.05);
}

.shop-entrance-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: background-color 0.5s ease;
}

.shop-entrance-card:hover .shop-entrance-overlay {
  background: rgba(0, 0, 0, 0.28);
}

.shop-entrance-media {
  background: #1a2e24;
}

.shop-entrance-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: transform 0.5s ease;
}

.shop-entrance-card:hover .shop-entrance-title {
  transform: translateY(-8px);
}

.shop-entrance-cta {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 12px 28px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .shop-entrance-card {
    min-height: 500px;
    padding: 32px;
  }
}

@media (min-width: 900px) {
  .shop-cat-entrance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-entrance-card {
    min-height: 750px;
    padding: 48px;
  }

  .shop-entrance-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(2.8rem, 4vw, 5rem);
  }
}

.shop-header-cats a.is-active {
  color: var(--primary);
  font-weight: 800;
}

.shop-brand-hero {
  position: relative;
  isolation: isolate;
  min-height: 58svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.shop-brand-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.shop-brand-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-brand-hero-scrim {
  position: absolute;
  inset: 0;
}

.shop-brand-hero-body {
  position: relative;
  z-index: 1;
  max-width: var(--shop-max);
  width: 100%;
  margin: 0 auto;
  padding: 48px var(--shop-pad) 40px;
}

.shop-brand-hero-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  opacity: 0.9;
}

.shop-brand-hero-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.shop-brand-hero-sub {
  margin: 0 0 18px;
  max-width: 22em;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.92;
}

.shop-brand-hero-highlight {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.shop-brand-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0 0 22px;
}

.shop-brand-hero-meta span {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.shop-brand-hero-meta strong {
  font-size: 14px;
  font-weight: 700;
}

.shop-brand-hero-cta {
  padding: 12px 28px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Theme personalities */
.shop-brand-hero[data-theme="kh"] .shop-brand-hero-scrim {
  background: linear-gradient(115deg, rgba(246, 238, 220, 0.2), rgba(9, 46, 28, 0.68) 55%);
}

.shop-brand-hero[data-theme="kh"] .shop-brand-hero-body--kh {
  text-align: left;
  max-width: 640px;
  margin-right: auto;
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-scrim {
  background: linear-gradient(180deg, rgba(12, 8, 4, 0.45), rgba(8, 6, 4, 0.88));
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-body--wh {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-sub,
.shop-brand-hero[data-theme="wh"] .shop-brand-hero-meta {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-title {
  letter-spacing: 0.04em;
  font-weight: 600;
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-cta {
  background: #f3ebe2;
  color: #1a1208;
}

.shop-brand-hero[data-theme="ns"] .shop-brand-hero-scrim {
  background:
    linear-gradient(90deg, rgba(18, 48, 36, 0.82), rgba(18, 48, 36, 0.25) 55%, rgba(18, 48, 36, 0.55)),
    linear-gradient(180deg, transparent, rgba(12, 30, 22, 0.55));
}

.shop-brand-hero[data-theme="ns"] .shop-brand-hero-body--ns {
  max-width: 560px;
}

.shop-brand-hero[data-theme="ns"] .shop-brand-hero-highlight {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.shop-brand-hero[data-theme="ns"] .shop-brand-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  max-width: 360px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .shop-brand-hero {
    min-height: 70vh;
  }

  .shop-brand-hero[data-theme="wh"] {
    min-height: 74vh;
  }

  .shop-brand-hero[data-theme="ns"] .shop-brand-hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
  }
}

.shop-mode-home .shop-catalog-section[hidden],
.shop-mode-brand #home-intro[hidden],
.shop-mode-brand #home-categories[hidden],
.shop-mode-brand #browse-categories[hidden],
.shop-mode-brand #schedule[hidden] {
  display: none !important;
}

.shop-cat-nav-row-inline {
  display: block !important;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.shop-cat-nav-row-inline .shop-cat-icons {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  margin: 0;
}

.bag-group-notice {
  list-style: none;
  margin: 0 0 8px;
  padding: 10px 12px;
  background: #f7f4ef;
  color: #5a4a3a;
  font-size: 12px;
  font-weight: 600;
}

.bag-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.bag-group-ship {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== Editorial brand renewal (2026-09-04) ===== */
.shop-editorial.shop-page {
  background: var(--ivory);
}

.shop-site-header-editorial {
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid rgba(30, 75, 58, 0.08);
}

.shop-site-header-editorial .shop-logo-text {
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.shop-header-main-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.shop-header-main-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.82;
}

.shop-header-main-nav a:hover {
  opacity: 1;
  color: var(--deep-green);
}

@media (min-width: 980px) {
  .shop-header-main-nav {
    display: flex;
  }
}

.kh-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 2px;
  background: var(--deep-green);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.kh-btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.kh-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--deep-green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.kh-text-link span {
  transition: transform 0.25s ease;
}

.kh-text-link:hover span {
  transform: translateX(4px);
}

.kh-eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--soft-brown);
}

.kh-section {
  padding: 72px 0;
}

.kh-section-inner {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-pad);
}

.kh-section-head {
  max-width: 40rem;
  margin: 0 auto 40px;
  text-align: center;
}

.kh-section-title {
  margin: 0 0 12px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--charcoal);
}

.kh-section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.kh-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 62svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #1a2a22;
}

.kh-home-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kh-home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kh-home-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 22, 0.18), rgba(18, 28, 22, 0.62) 70%),
    linear-gradient(90deg, rgba(18, 28, 22, 0.35), transparent 55%);
}

.kh-home-hero-body {
  position: relative;
  z-index: 1;
  max-width: var(--shop-max);
  width: 100%;
  margin: 0 auto;
  padding: 56px var(--shop-pad) 48px;
}

.kh-home-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  opacity: 0.9;
}

.kh-home-hero-title {
  margin: 0 0 12px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.kh-home-hero-en {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.kh-home-hero-sub {
  margin: 0 0 14px;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.55;
  font-weight: 500;
}

.kh-home-hero-desc {
  margin: 0 0 24px;
  max-width: 28rem;
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .kh-home-hero {
    min-height: 76vh;
    align-items: center;
  }

  .kh-home-hero-body {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.kh-three-brands {
  background: var(--ivory);
}

.kh-three-brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
}

.kh-brand-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.kh-brand-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kh-brand-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--warm-beige);
}

.kh-brand-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.kh-brand-card:hover .kh-brand-card-media img {
  transform: scale(1.04);
}

.kh-brand-card-body {
  padding-top: 18px;
}

.kh-brand-card-en {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--soft-brown);
  font-weight: 600;
}

.kh-brand-card-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.kh-brand-card-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .kh-three-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.kh-brand-story {
  background: var(--warm-beige);
}

.kh-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 0 var(--shop-pad);
  align-items: center;
}

.kh-story-copy[data-reveal],
.kh-story-media[data-reveal],
.kh-principle[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.kh-story-copy.is-visible,
.kh-story-media.is-visible,
.kh-principle.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kh-story-title {
  margin: 0 0 18px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.kh-story-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 34em;
}

.kh-story-media {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #ddd8cf;
}

.kh-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .kh-story-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
  }
}

.kh-principles {
  background: var(--ivory);
}

.kh-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 18px;
}

.kh-principle {
  padding: 8px 4px;
}

.kh-principle-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: var(--deep-green);
  margin-bottom: 12px;
}

.kh-principle-icon svg {
  width: 100%;
  height: 100%;
}

.kh-principle h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.kh-principle p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .kh-principles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.kh-home-cta {
  background: var(--warm-beige);
  text-align: center;
  padding: 64px 0 72px;
}

.kh-home-cta-inner {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 var(--shop-pad);
}

.kh-home-cta-title {
  margin: 0 0 24px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.shop-mode-brand #home-brand-hero[hidden],
.shop-mode-brand #three-brands[hidden],
.shop-mode-brand #brand-story[hidden],
.shop-mode-brand #brand-principles[hidden],
.shop-mode-brand #home-bottom-cta[hidden],
.shop-mode-home .shop-catalog-section[hidden],
.shop-mode-brand #browse-categories[hidden],
.shop-mode-brand #schedule[hidden] {
  display: none !important;
}

.shop-mode-brand .shop-brand-hero-cta.kh-btn-green {
  background: #fff;
  color: var(--charcoal);
}

.shop-brand-hero[data-theme="wh"] .shop-brand-hero-cta.kh-btn-green {
  background: #f3ebe2;
  color: #1a1208;
}

.shop-mode-home .shop-main {
  background: var(--ivory);
}

.shop-round-wrap {
  background: transparent;
}

/* ===== Nike-style category entrance ===== */
.shop-page {
  --bg: #ffffff;
}

.shop-site-header-nike {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.shop-header-cats-nike {
  gap: 8px;
}

@media (min-width: 980px) {
  .shop-header-cats-nike a {
    font-weight: 500;
    font-size: 14px;
    color: #111;
    padding: 8px 12px;
  }

  .shop-header-cats-nike a:hover,
  .shop-header-cats-nike a.is-active {
    color: #111;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.shop-cat-entrance-nike {
  min-height: calc(100svh - var(--header-h));
  background: #fff;
  padding: 0;
}

.shop-cat-entrance-nike .shop-cat-entrance-grid {
  gap: 0;
  min-height: calc(100svh - var(--header-h));
}

.shop-entrance-card-nike {
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 72svh;
  padding: 28px 24px 32px;
  opacity: 1;
  transform: none;
}

.shop-entrance-card-nike.is-visible {
  opacity: 1;
  transform: none;
}

.shop-entrance-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.shop-entrance-card-nike .shop-entrance-title {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transform: none !important;
}

.shop-entrance-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 40px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-entrance-card-nike:hover .shop-entrance-shop {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.shop-entrance-card-nike .shop-entrance-overlay {
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
}

.shop-entrance-card-nike:hover .shop-entrance-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.52));
}

@media (min-width: 900px) {
  .shop-cat-entrance-nike .shop-cat-entrance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-entrance-card-nike {
    min-height: calc(100svh - var(--header-h));
    padding: 36px 32px 40px;
  }

  .shop-entrance-card-nike .shop-entrance-title {
    writing-mode: horizontal-tb;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  }
}

.shop-mode-home #home-categories[hidden],
.shop-mode-brand #home-categories[hidden],
.shop-mode-home .shop-catalog-section[hidden],
.shop-mode-brand #browse-categories[hidden],
.shop-mode-brand #schedule[hidden] {
  display: none !important;
}

.shop-mode-home .shop-main {
  background: #fff;
}
