:root {
  --orange: #f58200;
  --orange-dark: #b84e00;
  --orange-action: #b84e00;
  --orange-soft: #fff3e5;
  --carbon: #171717;
  --carbon-2: #242424;
  --ink: #202124;
  --sub: #63676c;
  --line: #e4e5e7;
  --line-dark: #d1d3d6;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --soft-2: #efefec;
  --green: #18864b;
  --red: #c5412f;
  --shadow: 0 16px 44px rgba(17, 17, 17, .09);
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 14px/1.55 Pretendard, SUIT, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  letter-spacing: -.015em;
}
body.drawer-open { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
input, textarea, select { border: 1px solid var(--line-dark); background: #fff; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--orange-action);
  outline-offset: 2px;
}
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.hidden { display: none !important; }
.sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link { position: fixed; top: 0; left: 20px; z-index: 500; padding: 12px 18px; background: var(--orange-action); color: #fff; font-weight: 800; border-radius: 0 0 8px 8px; transform: translateY(-120%); visibility: hidden; }
.skip-link:focus-visible { transform: translateY(0); visibility: visible; }

/* Utility and header */
.utility-bar { min-height: 36px; background: var(--carbon); color: #d7d7d7; font-size: 12px; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner > #mode { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.utility-links { display: flex; align-items: center; gap: 0; flex: none; }
.utility-links a, .utility-links button { position: relative; padding: 0 13px; color: #dedede; font-size: inherit; }
.utility-links > * + *::before { content: ""; position: absolute; left: 0; top: 4px; width: 1px; height: 10px; background: #555; }
.utility-links a:last-child { padding-right: 0; }
.utility-links a:hover, .utility-links button:hover { color: #fff; }
.utility-links a span { color: var(--orange); font-size: 8px; margin-right: 5px; }
.utility-links b { color: #fff; }
.utility-links .member-account-link { color: #fff; font-weight: 750; }
.site-header { background: #fff; border-bottom: 1px solid #f0f0ee; }
.header-inner { min-height: 112px; display: flex; align-items: center; gap: 20px; }
.brand-logo { width: 248px; flex: 0 0 248px; overflow: hidden; }
.brand-logo img { width: 100%; height: auto; }
.generic-brand { display: block; max-width: 100%; overflow: hidden; color: var(--carbon); font-size: 26px; font-weight: 950; letter-spacing: -.05em; text-overflow: ellipsis; white-space: nowrap; }
.footer-brand .generic-brand { margin-bottom: 10px; font-size: 22px; }
.demo { align-self: center; margin-left: -14px; margin-right: -4px; padding: 3px 7px; border-radius: 3px; background: var(--orange-action); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.searchbox {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 560px;
  height: 52px;
  margin-inline: auto;
  border: 2px solid var(--carbon);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.searchbox:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245, 130, 0, .12); }
.searchbox input { min-width: 0; flex: 1; height: 100%; padding: 0 18px; border: 0; outline: 0; font-size: 14px; }
.searchbox input::-webkit-search-cancel-button { cursor: pointer; }
.searchbox button { height: 100%; min-width: 92px; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--carbon); color: #fff; font-weight: 800; }
.searchbox button:hover { background: var(--orange-action); }
.searchbox button svg { width: 19px; height: 19px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; flex: 0 0 250px; }
.header-action { position: relative; min-width: 78px; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #4c4f53; font-size: 12px; border-radius: 8px; }
.header-action:hover { color: var(--orange-dark); background: var(--orange-soft); }
.header-action svg { width: 24px; height: 24px; stroke-width: 1.7; }
.header-action > b { position: absolute; top: 3px; right: 9px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--orange-action); color: #fff; font-size: 10px; }
.mobile-menu-button { display: none; width: 44px; height: 44px; place-items: center; border-radius: 7px; }
.mobile-menu-button svg { width: 24px; height: 24px; }

/* Classic 7777-style GNB and mega menu */
.category-nav { position: sticky; top: 0; z-index: 80; height: 54px; background: #fff; border-bottom: 2px solid var(--carbon); box-shadow: 0 4px 12px rgba(0, 0, 0, .03); }
.nav-inner { position: relative; height: 52px; display: flex; align-items: center; }
.category-toggle { align-self: stretch; min-width: 218px; padding: 0 18px; display: flex; align-items: center; gap: 11px; background: var(--carbon); color: #fff; font-weight: 800; font-size: 15px; }
.category-toggle:hover, .category-toggle[aria-expanded="true"] { background: var(--orange-action); }
.category-toggle > svg:first-child { width: 22px; height: 22px; }
.category-toggle .chevron { width: 16px; height: 16px; margin-left: auto; transition: transform .18s; }
.category-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.quick-nav { display: flex; align-items: stretch; height: 100%; }
.quick-nav button, .quick-nav a { position: relative; min-width: 82px; padding: 0 18px; display: grid; place-items: center; font-size: 14px; font-weight: 760; white-space: nowrap; }
.quick-nav button::after, .quick-nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -2px; height: 3px; background: transparent; }
.quick-nav button:hover, .quick-nav a:hover, .quick-nav button.on { color: var(--orange-dark); }
.quick-nav button:hover::after, .quick-nav a:hover::after, .quick-nav button.on::after { background: var(--orange); }
.quick-nav .hot { color: var(--orange-dark); }
.nav-inquiry { margin-left: auto; padding: 8px 13px; border: 1px solid var(--line-dark); border-radius: 5px; font-size: 12px; font-weight: 700; }
.nav-inquiry:hover { border-color: var(--orange); color: var(--orange-dark); }
.category-mega { position: absolute; top: 54px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-dark); box-shadow: 0 18px 34px rgba(0, 0, 0, .14); }
.mega-inner { min-height: 360px; display: grid; grid-template-columns: 280px 1fr 250px; }
.mega-roots { list-style: none; padding: 14px 0; margin: 0; background: var(--soft); border-right: 1px solid var(--line); }
.mega-root { width: 100%; min-height: 42px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.mega-root span { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.mega-root span svg { width: 22px; height: 22px; flex: 0 0 22px; }
.mega-root small { flex: 0 0 auto; color: var(--sub); font-size: 11px; }
.mega-root:hover, .mega-root.on { background: #fff; color: var(--orange-dark); font-weight: 800; box-shadow: inset 3px 0 var(--orange); }
.mega-content { padding: 28px 34px; }
.mega-content-head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 2px solid var(--carbon); }
.mega-content-head h3 { margin: 0; font-size: 20px; }
.mega-content-head span { color: var(--sub); font-size: 12px; }
.mega-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 18px; }
.mega-child { min-height: 42px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 6px; text-align: left; }
.mega-child:hover { border-color: var(--orange); color: var(--orange-dark); background: var(--orange-soft); }
.mega-child small { color: var(--sub); }
.mega-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--orange-dark); font-weight: 800; }
.mega-promo { margin: 22px 0; padding: 30px 24px; background: var(--carbon); color: #fff; align-self: stretch; overflow: hidden; position: relative; }
.mega-promo::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 170px; height: 170px; border: 20px solid rgba(245, 130, 0, .7); transform: rotate(30deg); }
.mega-promo span { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.mega-promo b { display: block; margin-top: 12px; font-size: 21px; line-height: 1.35; }
.mega-promo p { color: #c4c4c4; font-size: 12px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; padding-top: 24px; }
.hero-main { min-height: 390px; position: relative; display: flex; align-items: center; padding: 50px 58px; overflow: hidden; border-radius: 14px; background: linear-gradient(120deg, #111 0%, #242424 64%, #161616 100%); color: #fff; }
.hero-main::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(115deg, transparent 46%, #fff 47%, transparent 48%), linear-gradient(25deg, transparent 47%, #fff 48%, transparent 49%); background-size: 76px 76px; mask-image: linear-gradient(90deg, transparent 20%, #000); }
.hero-main::after { content: ""; position: absolute; width: 410px; height: 120%; right: -165px; top: -10%; background: var(--orange); transform: skewX(-20deg); opacity: .9; }
.hero-copy { position: relative; z-index: 2; max-width: 540px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 { margin: 15px 0 14px; white-space: pre-line; font-size: clamp(38px, 4vw, 52px); line-height: 1.14; letter-spacing: -.055em; }
.hero-copy > p { margin: 0; color: #d0d0d0; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; }
.primary, .secondary { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 800; }
.primary { background: var(--orange-action); color: #fff; }
.primary:hover { background: #9f3f00; color: #fff; }
.secondary { border: 1px solid #5d5d5d; color: #fff; }
.secondary:hover { border-color: #fff; background: #fff; color: var(--carbon); }
.hero-art { position: absolute; z-index: 1; right: 15px; top: 0; bottom: 0; width: 390px; }
.hero-art > b { position: absolute; right: 42px; bottom: 34px; z-index: 3; color: rgba(255,255,255,.18); font: italic 900 45px/.88 Arial, sans-serif; letter-spacing: -.08em; text-align: right; }
.hero-wrench { position: absolute; z-index: 3; width: 175px; height: 175px; right: 77px; top: 74px; color: #fff; opacity: .88; transform: rotate(-8deg); stroke-width: 8; }
.hero-hex { position: absolute; display: block; width: 210px; height: 235px; clip-path: polygon(25% 6%,75% 6%,100% 50%,75% 94%,25% 94%,0 50%); background: rgba(255,255,255,.16); }
.hero-hex::after { content: ""; position: absolute; inset: 14px; clip-path: inherit; background: #f58200; }
.hero-hex-one { right: 52px; top: 48px; transform: rotate(30deg); }
.hero-hex-two { right: -74px; top: -50px; transform: rotate(30deg) scale(.75); opacity: .45; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.status-card { flex: 1; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.status-head { display: flex; justify-content: space-between; align-items: center; color: var(--sub); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.status-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.status-card h2 { margin: 16px 0 4px; font-size: 22px; }
.status-card > p { min-height: 39px; margin: 0; color: var(--sub); font-size: 12px; }
.store-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.store-stats div { padding: 12px 13px; }
.store-stats div + div { border-left: 1px solid var(--line); }
.store-stats dt { color: var(--sub); font-size: 11px; }
.store-stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 900; }
.lookup-card-button { width: 100%; min-height: 58px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-radius: 7px; background: var(--carbon); color: #fff; text-align: left; }
.lookup-card-button:hover { background: var(--orange-action); }
.lookup-card-button b, .lookup-card-button small { display: block; }
.lookup-card-button small { margin-top: 2px; color: #bbb; font-size: 10px; font-weight: 400; }
.lookup-card-button:hover small { color: #fff; }
.service-card { min-height: 84px; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 12px; background: var(--orange-soft); }
.service-card > span { align-self: end; color: var(--orange-dark); font-size: 11px; font-weight: 800; }
.service-card > b { grid-row: 1 / 3; grid-column: 2; font-size: 19px; }
.service-card > small { align-self: start; color: var(--sub); }

/* Trust, categories and home sections */
.trust-strip { margin-top: 26px; border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.trust-grid > div + div { border-left: 1px solid var(--line); }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--carbon); color: var(--orange); font-size: 11px; font-weight: 900; }
.trust-grid p, .trust-grid b, .trust-grid small { display: block; margin: 0; }
.trust-grid b { font-size: 13px; }
.trust-grid small { margin-top: 2px; color: var(--sub); font-size: 11px; }

/* Business-only member access */
.business-member-banner { min-height: 136px; margin-top: 42px; padding: 24px 30px; display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 22px; border: 1px solid #3b3b3b; border-radius: 12px; background: var(--carbon); color: #fff; }
.member-banner-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; }
.member-banner-icon svg { width: 33px; height: 33px; stroke-width: 1.7; }
.member-banner-copy > span { color: #ffb25b; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.member-banner-copy h2 { margin: 4px 0 3px; font-size: 21px; }
.member-banner-copy p { margin: 0; color: #c9c9c9; font-size: 12px; }
.member-banner-actions { display: flex; gap: 8px; }
.member-banner-primary, .member-banner-secondary { min-height: 44px; padding: 0 17px; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.member-banner-primary { background: var(--orange-action); color: #fff; }
.member-banner-primary:hover { background: #983f00; }
.member-banner-secondary { border: 1px solid #676767; color: #fff; }
.member-banner-secondary:hover { border-color: #fff; }
.home-section { padding-top: 58px; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.home-section-head h2, .products-title-row h2 { margin: 2px 0 0; font-size: 27px; letter-spacing: -.045em; }
.home-section-head p, .products-title-row p { margin: 4px 0 0; color: var(--sub); font-size: 12px; }
.section-kicker { color: #787878; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.section-kicker.orange { color: var(--orange-dark); }
.text-link { min-height: 40px; padding: 0 2px; color: #505050; font-size: 12px; font-weight: 750; }
.text-link span { margin-left: 8px; color: var(--orange-dark); }
.text-link:hover { color: var(--orange-dark); }
.category-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-tile { min-height: 142px; padding: 18px 10px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; transition: .18s; }
.category-tile:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-tile .category-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--carbon); transition: .18s; }
.category-tile:hover .category-icon { background: var(--orange-action); color: #fff; }
.category-icon svg { width: 29px; height: 29px; }
.category-tile b { max-width: 100%; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-tile small { color: var(--sub); font-size: 10px; }
.featured-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.promo-band { min-height: 200px; margin-top: 62px; padding: 36px 48px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; border-radius: 14px; background: linear-gradient(110deg, var(--orange) 0 42%, #191919 42% 100%); color: #fff; }
.promo-band > div { color: var(--carbon); }
.promo-band::before, .promo-band::after { content: ""; position: absolute; border: 18px solid rgba(255,255,255,.1); transform: rotate(30deg); }
.promo-band::before { width: 160px; height: 160px; right: 280px; top: -95px; }
.promo-band::after { width: 110px; height: 110px; right: 175px; bottom: -90px; }
.promo-band > div, .promo-band > button { position: relative; z-index: 2; }
.promo-band span { font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.promo-band h2 { margin: 7px 0 0; white-space: pre-line; font-size: 24px; line-height: 1.35; }
.promo-band button { min-height: 50px; padding: 0 22px; display: flex; align-items: center; gap: 36px; border-radius: 6px; background: #fff; color: var(--carbon); font-weight: 800; }
.promo-band button:hover { background: var(--orange-soft); }
.promo-band button span { color: var(--orange-dark); font-size: 16px; }

/* Catalog */
.products-section { padding-top: 68px; padding-bottom: 80px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--sub); font-size: 12px; }
.breadcrumb b { color: var(--ink); }
.breadcrumb a:hover { color: var(--orange-dark); }
.products-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid var(--carbon); }
.total-count { color: var(--sub); font-size: 12px; }
.total-count b { color: var(--orange-dark); font-size: 16px; }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding-top: 20px; }
.catalog-sidebar { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; align-self: start; position: sticky; top: 74px; }
.catalog-sidebar h3 { margin: 0; padding: 15px 18px; background: var(--carbon); color: #fff; font-size: 14px; }
.sidebar-categories { padding: 7px 0; }
.sidebar-category { width: 100%; min-height: 42px; padding: 0 15px 0 18px; display: flex; align-items: center; justify-content: space-between; text-align: left; color: #505257; border-left: 3px solid transparent; }
.sidebar-category.child { min-height: 36px; padding-left: 30px; color: var(--sub); font-size: 11px; }
.sidebar-category:hover, .sidebar-category.on { color: var(--orange-dark); background: var(--orange-soft); border-left-color: var(--orange); font-weight: 800; }
.sidebar-category small { color: var(--sub); font-size: 10px; font-weight: 500; }
.category-chips { display: none; gap: 7px; overflow-x: auto; padding: 1px 1px 12px; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.category-chip { min-height: 36px; padding: 0 14px; flex: none; border: 1px solid var(--line-dark); border-radius: 18px; background: #fff; white-space: nowrap; font-size: 12px; }
.category-chip.on { border-color: var(--carbon); background: var(--carbon); color: #fff; }
.catalog-toolbar { min-height: 48px; margin-bottom: 18px; padding: 0 12px 0 2px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.catalog-toolbar > span { color: var(--sub); font-size: 12px; }
.catalog-toolbar label { margin-left: auto; margin-right: 8px; color: var(--sub); font-size: 11px; }
.catalog-toolbar select { height: 34px; padding: 0 32px 0 10px; border-radius: 5px; font-size: 12px; }
#message:empty { display: none; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 17px; }
.product-card { min-width: 0; position: relative; background: #fff; }
.product-card > button { width: 100%; display: block; text-align: left; }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #f8f8f7; }
.product-media img, .placeholder { width: 100%; height: 100%; object-fit: contain; }
.product-media img { padding: 5px; transition: transform .28s ease; }
.product-card > button:hover .product-media { border-color: #bbb; }
.product-card > button:hover img { transform: scale(1.035); }
.placeholder { display: grid; place-items: center; padding: 20px; color: var(--sub); text-align: center; font-size: 11px; }
.product-badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 5px; z-index: 2; }
.product-badge { padding: 3px 7px; border-radius: 3px; background: var(--carbon); color: #fff; font-size: 9px; font-weight: 900; }
.product-badge.orange { background: var(--orange-action); }
.product-badge.green { background: var(--green); }
.product-copy { padding: 11px 3px 0; }
.product-category { color: var(--orange-dark); font-size: 10px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card h3 { min-height: 42px; margin: 5px 0 10px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #37393d; font-size: 13.5px; font-weight: 560; line-height: 1.55; }
.product-card > button:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.price { font-size: 19px; font-weight: 900; letter-spacing: -.04em; color: #161616; }
.price .unit { margin-left: 1px; font-size: 12px; font-weight: 650; }
.price-label { margin-right: 6px; color: var(--sub); font-size: 9px; font-weight: 650; letter-spacing: 0; }
.price.has-member { color: var(--sub); font-size: 13px; font-weight: 600; text-decoration: line-through; }
.member-price { margin-top: 2px; color: var(--orange-dark); font-size: 19px; font-weight: 900; letter-spacing: -.04em; }
.member-price > span { margin-right: 6px; padding: 2px 5px; border-radius: 3px; background: var(--orange-soft); font-size: 9px; font-weight: 850; letter-spacing: 0; vertical-align: 2px; }
.member-price .unit { margin-left: 1px; font-size: 12px; font-weight: 650; }
.product-meta { min-height: 22px; margin-top: 5px; display: flex; align-items: center; gap: 6px; color: var(--sub); font-size: 10.5px; }
.shipping-free { color: var(--green); font-weight: 800; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.product-skeleton { min-width: 0; }
.skeleton .product-media { border: 0; background: linear-gradient(100deg, #f1f1ef 35%, #fafafa 50%, #f1f1ef 65%); background-size: 300% 100%; animation: shimmer 1.1s infinite; }
.skeleton .sk-line { height: 11px; margin-top: 10px; border-radius: 4px; background: #f0f0ee; }
.skeleton .sk-line.short { width: 60%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty, .notice, .error { border-radius: 8px; }
.empty { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; padding: 30px; background: var(--soft); color: var(--sub); text-align: center; }
.notice { padding: 17px; background: var(--orange-soft); }
.error { padding: 14px 16px; margin-bottom: 15px; background: #fff1ef; color: #a83325; }
.pages { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 42px; }
.pages > button, .page-number { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 5px; background: #fff; }
.pages > button { font-size: 22px; }
.pages button:hover:not(:disabled), .page-number.on { border-color: var(--carbon); background: var(--carbon); color: #fff; }
.pages button:disabled { opacity: .35; cursor: default; }
.page-numbers { display: flex; gap: 7px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-dark); background: var(--soft); }
.footer-top { display: grid; grid-template-columns: 260px 1fr 300px; gap: 52px; padding: 42px 0 34px; }
.footer-brand img { width: 205px; filter: grayscale(1); opacity: .72; }
.footer-brand p, .footer-company p, .footer-service p { color: var(--sub); font-size: 11px; }
.footer-company h2, .footer-service h3 { margin: 0 0 10px; font-size: 14px; }
.footer-company p { max-width: 620px; margin: 0; white-space: pre-line; line-height: 1.9; }
.footer-service > b { display: block; font-size: 22px; }
.footer-service p { margin: 2px 0 10px; }
.footer-service button { min-height: 34px; padding: 0 13px; border: 1px solid var(--line-dark); border-radius: 4px; background: #fff; font-size: 11px; }
.footer-service button:hover { border-color: var(--orange); color: var(--orange-dark); }
.footer-policy { padding: 16px 0 20px; border-top: 1px solid var(--line); color: var(--sub); font-size: 11px; }
.footer-policy details { margin-bottom: 10px; }
.footer-policy summary { cursor: pointer; width: fit-content; color: #555; font-weight: 700; }
.footer-policy #policy { max-width: 900px; white-space: pre-line; line-height: 1.8; }
.footer-policy > p { margin: 0; }
.footer-bottom { min-height: 50px; display: flex; align-items: center; background: var(--carbon); color: #888; font-size: 10px; }

/* Dialogs, forms and product detail */
dialog { width: min(980px, calc(100% - 40px)); max-height: 92dvh; padding: 0; overflow: hidden; border: 0; border-radius: 12px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.38); }
dialog.auth-dialog { width: min(620px, calc(100% - 40px)); }
dialog::backdrop { background: rgba(15, 15, 15, .72); backdrop-filter: blur(2px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-head { position: sticky; z-index: 4; top: 0; min-height: 66px; padding: 0 22px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-head h2 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; }
.dialog-head button { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; line-height: 1; }
.dialog-head button:hover { background: var(--soft); color: var(--orange-dark); }
#dialogBody { max-height: calc(92dvh - 66px); padding: 26px; overflow-y: auto; overscroll-behavior: contain; }
.detail-summary { display: grid; grid-template-columns: minmax(280px, 43%) 1fr; gap: 34px; }
.detail-main-image { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f8f8f7; }
.detail-main-image img { width: 100%; height: 100%; object-fit: contain; }
.detail-info .product-category { font-size: 11px; }
.detail-info h3 { margin: 8px 0 14px; font-size: 22px; line-height: 1.45; }
.detail-info .price { padding: 17px 0; border-block-start: 2px solid var(--carbon); border-block-end: 1px solid var(--line); font-size: 29px; }
.detail-info .price.has-member { padding-bottom: 3px; border-block-end: 0; color: var(--sub); font-size: 14px; }
.detail-info .member-price { margin: 0; padding: 3px 0 17px; border-block-end: 1px solid var(--line); font-size: 29px; }
.detail-rows { padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 6px 0; font-size: 12px; }
.detail-row span:first-child { color: var(--sub); }
.detail-action { width: 100%; min-height: 50px; margin-top: 18px; border-radius: 6px; background: var(--orange-action); color: #fff; font-weight: 850; }
.detail-action:hover:not(:disabled) { background: var(--orange-dark); }
.detail-action:disabled { background: #ddddda; color: #858585; cursor: not-allowed; }
.detail-accordions { margin-top: 28px; border-top: 2px solid var(--carbon); }
.detail-accordions details { border-bottom: 1px solid var(--line); }
.detail-accordions summary { cursor: pointer; padding: 15px 4px; font-weight: 750; }
.detail-accordions p { margin: 0; padding: 0 4px 18px; color: var(--sub); white-space: pre-line; font-size: 12px; }
.detail-gallery-title { margin: 42px 0 18px; padding: 15px 0; border-block-start: 2px solid var(--carbon); border-block-end: 1px solid var(--line); text-align: center; font-size: 18px; }
#detailGallery { max-width: 780px; margin-inline: auto; }
.detail-image { width: 100%; height: auto; display: block; margin: 0 auto; }
.detail-text { white-space: pre-wrap; color: var(--sub); }
.cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 78px 66px; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-row b { min-width: 0; font-size: 13px; }
.cart-row input { width: 100%; height: 40px; padding: 0 8px; border-radius: 5px; }
.cart-row button { min-height: 36px; border: 1px solid var(--line-dark); border-radius: 5px; }
.totals { margin: 20px 0; padding: 18px; border-radius: 7px; background: var(--orange-soft); font-size: 20px; font-weight: 850; }
.shipping { color: var(--sub); font-size: 11px; font-weight: 450; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#dialogBody form label { display: block; margin: 13px 0 6px; font-size: 12px; font-weight: 750; }
#dialogBody input, #dialogBody textarea, #dialogBody select { width: 100%; min-height: 44px; margin-top: 5px; padding: 10px 12px; border-radius: 6px; }
#dialogBody textarea { resize: vertical; }
.check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 450 !important; line-height: 1.65; }
.check input { width: 18px !important; min-height: auto !important; margin-top: 2px !important; }
.actions { display: flex; gap: 10px; margin-top: 20px; }
#dialogBody form > .primary, #dialogBody .primary, #checkout { min-height: 46px; padding: 0 19px; border-radius: 6px; background: var(--orange-action); color: #fff; font-weight: 800; }
.auth-dialog #dialogBody form > .primary { width: 100%; margin-top: 18px; }
.key { margin: 5px 0 14px; padding: 12px; word-break: break-all; border-radius: 6px; background: var(--soft); font-family: ui-monospace, monospace; font-size: 11px; }
.answer { padding: 16px; white-space: pre-wrap; border-radius: 7px; background: var(--soft); }
.muted { color: var(--sub); font-size: 11px; }
.auth-intro { margin: 0 0 18px; padding: 15px 17px; border-left: 4px solid var(--orange); background: var(--orange-soft); color: #4d4236; font-size: 12px; }
.auth-intro b { display: block; margin-bottom: 3px; color: var(--carbon); font-size: 14px; }
.auth-switch { margin: 18px 0 0; text-align: center; color: var(--sub); font-size: 12px; }
.auth-switch button { margin-left: 5px; color: var(--orange-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.password-help { margin: 5px 0 0; color: var(--sub); font-size: 10px; }
.member-status-card { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.member-status-card .member-status { display: inline-flex; min-height: 25px; padding: 0 9px; align-items: center; border-radius: 13px; background: var(--orange-soft); color: var(--orange-dark); font-size: 10px; font-weight: 850; }
.member-status-card .member-status.approved { background: #e8f6ee; color: var(--green); }
.member-status-card h3 { margin: 12px 0 4px; font-size: 19px; }
.member-status-card dl { margin: 17px 0 0; display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); font-size: 12px; }
.member-status-card dt, .member-status-card dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.member-status-card dt { color: var(--sub); }
.member-status-card dd { overflow-wrap: anywhere; font-weight: 700; }
.member-account-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.member-account-actions button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 5px; }
.scroll-top { position: fixed; z-index: 70; right: 25px; bottom: 28px; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.14); font-size: 18px; }
.scroll-top:hover { background: var(--carbon); color: #fff; }
.mobile-bottom-nav, .category-drawer, .drawer-backdrop { display: none; }

@media (max-width: 1180px) {
  .wrap { width: min(var(--wrap), calc(100% - 36px)); }
  .brand-logo { width: 220px; flex-basis: 220px; }
  .header-actions { flex-basis: 232px; }
  .quick-nav button, .quick-nav a { min-width: 0; padding-inline: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr) 285px; }
  .hero-art { right: -35px; }
  .category-tiles { grid-template-columns: repeat(7, 1fr); }
  .category-tile:nth-child(n+8) { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 16px; }
  body { padding-bottom: 66px; }
  .wrap { width: calc(100% - 28px); }
  .utility-bar { min-height: 30px; }
  .utility-inner { min-height: 30px; justify-content: space-between; gap: 8px; }
  .utility-inner > #mode { min-width: 0; width: auto; text-align: left; font-size: 9px; }
  .utility-links { display: flex; }
  .utility-links button { display: none; }
  .utility-links a { display: none; }
  .utility-links #lookupOpen { display: block; padding: 0; font-size: 10px; white-space: nowrap; }
  .header-inner { min-height: 126px; padding: 12px 0; display: grid; grid-template-columns: 44px 1fr 44px; grid-template-rows: 48px 48px; gap: 8px 10px; }
  .mobile-menu-button { display: grid; grid-column: 1; grid-row: 1; }
  .brand-logo { width: 180px; max-width: 100%; flex: auto; justify-self: center; grid-column: 2; grid-row: 1; }
  .demo { position: absolute; top: 38px; left: calc(50% + 64px); margin: 0; }
  .header-actions { grid-column: 3; grid-row: 1; display: block; min-width: 0; }
  #headerLookup { min-width: 44px; min-height: 44px; }
  #headerLookup span { display: none; }
  .header-actions.members-enabled #headerLookup { display: none; }
  #memberOpen { min-width: 44px; min-height: 44px; }
  #memberOpen span { display: none; }
  #cartOpen { display: none !important; }
  .searchbox { grid-column: 1 / 4; grid-row: 2; width: 100%; max-width: none; height: 46px; }
  .searchbox button { min-width: 52px; }
  .searchbox button span { display: none; }
  .category-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; }
  .hero-main { min-height: 345px; padding: 40px 34px; }
  .hero-main::after { right: -250px; }
  .hero-art { right: -80px; opacity: .55; }
  .hero-copy > p br { display: none; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; }
  .status-card { grid-column: 1 / 3; padding: 20px; }
  .status-card > p { min-height: 0; }
  .store-stats { margin: 14px 0; }
  .service-card { grid-column: 1 / 3; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { min-height: 78px; justify-content: flex-start; padding: 0 14px; }
  .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .business-member-banner { margin-top: 30px; grid-template-columns: 56px minmax(0, 1fr); gap: 15px; padding: 20px; }
  .member-banner-icon { width: 52px; height: 52px; }
  .member-banner-icon svg { width: 27px; height: 27px; }
  .member-banner-actions, .business-member-banner > .member-banner-primary { grid-column: 1 / -1; width: 100%; }
  .member-banner-actions > button { flex: 1; }
  .home-section { padding-top: 45px; }
  .category-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .category-tile:nth-child(n) { display: flex; }
  .category-tile { min-height: 118px; padding: 12px 5px; }
  .category-tile .category-icon { width: 50px; height: 50px; }
  .category-tile b { font-size: 11px; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-grid .featured-card:nth-child(n+7) { display: none; }
  .promo-band { margin-top: 48px; padding: 28px 30px; background: linear-gradient(110deg, var(--orange) 0 58%, #191919 58% 100%); }
  .catalog-layout { display: block; }
  .catalog-sidebar { display: none; }
  .category-chips { display: flex; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { display: none; }
  .mobile-bottom-nav { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); background: rgba(255,255,255,.97); box-shadow: 0 -5px 20px rgba(0,0,0,.08); backdrop-filter: blur(10px); }
  .mobile-bottom-nav.four-items { grid-template-columns: repeat(4, 1fr); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #555; font-size: 10px; }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .mobile-bottom-nav a:hover, .mobile-bottom-nav button:hover { color: var(--orange-dark); }
  #mobileCartCount { position: absolute; top: 5px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--orange-action); color: #fff; font-size: 9px; line-height: 1; }
  .drawer-backdrop { position: fixed; z-index: 150; inset: 0; display: block; background: rgba(0,0,0,.56); opacity: 1; }
  .category-drawer { position: fixed; z-index: 160; inset: 0 auto 0 0; width: min(88vw, 380px); display: flex; flex-direction: column; background: #fff; transform: translateX(-102%); transition: transform .24s ease; box-shadow: 12px 0 40px rgba(0,0,0,.2); }
  .category-drawer.open { transform: translateX(0); }
  .drawer-head { min-height: 90px; padding: 20px; display: flex; align-items: center; justify-content: space-between; background: var(--carbon); color: #fff; }
  .drawer-head b, .drawer-head span { display: block; }
  .drawer-head b { font-size: 18px; }
  .drawer-head span { margin-top: 3px; color: #aaa; font-size: 10px; }
  .drawer-head button { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; font-size: 28px; }
  .drawer-categories { flex: 1; overflow-y: auto; padding: 10px 0; }
  .drawer-categories details { border-bottom: 1px solid var(--line); }
  .drawer-categories summary { min-height: 48px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 750; }
  .drawer-categories summary::-webkit-details-marker { display: none; }
  .drawer-categories summary small { color: var(--sub); font-size: 10px; }
  .drawer-child-list { padding: 6px 15px 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--soft); }
  .drawer-child-list button { min-height: 38px; padding: 0 10px; text-align: left; font-size: 11px; border-radius: 4px; background: #fff; }
  .drawer-child-list button:hover { color: var(--orange-dark); }
  .drawer-links { padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; border-top: 1px solid var(--line); }
  .drawer-links button { min-height: 42px; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; font-weight: 750; }
  .drawer-links .drawer-primary { background: var(--orange-action); color: #fff; border-color: var(--orange-action); }
  .drawer-links.has-inquiry .drawer-primary { grid-column: 1 / -1; }
  .drawer-links.has-members:not(.has-inquiry) .drawer-primary { grid-column: 1 / -1; }
  .drawer-links.has-members.has-inquiry .drawer-primary { grid-column: auto; }
  .scroll-top { bottom: 78px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .brand-logo { width: 160px; }
  .brand-logo .generic-brand { font-size: 21px; }
  .hero-main { min-height: 330px; padding: 34px 25px; }
  .hero h1 { font-size: 37px; }
  .hero-copy > p { max-width: 285px; font-size: 13px; }
  .hero-actions { margin-top: 23px; }
  .primary, .secondary { min-height: 43px; padding: 0 15px; font-size: 12px; }
  .hero-art { right: -150px; transform: scale(.82); transform-origin: center right; }
  .trust-grid > div { padding: 0 9px; gap: 9px; }
  .trust-icon { width: 31px; height: 31px; font-size: 9px; }
  .trust-grid b { font-size: 11px; }
  .trust-grid small { font-size: 9px; }
  .home-section-head h2, .products-title-row h2 { font-size: 23px; }
  .home-section-head p { display: none; }
  .category-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-tile { min-height: 103px; gap: 7px; }
  .category-tile .category-icon { width: 43px; height: 43px; }
  .category-icon svg { width: 23px; height: 23px; }
  .category-tile small { display: none; }
  .featured-grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 10px; }
  .featured-grid .featured-card:nth-child(n+5) { display: none; }
  .promo-band { min-height: 178px; padding: 25px 22px; display: block; background: linear-gradient(145deg, var(--orange) 0 66%, #191919 66% 100%); }
  .promo-band h2 { font-size: 21px; }
  .promo-band button { min-height: 42px; margin-top: 18px; padding: 0 14px; gap: 25px; font-size: 11px; }
  .products-section { padding-top: 54px; }
  .products-title-row { align-items: flex-end; }
  .products-title-row p { max-width: 230px; }
  .catalog-toolbar { padding-right: 0; }
  .catalog-toolbar > span { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .catalog-toolbar label { display: none; }
  .catalog-toolbar select { margin-left: auto; }
  .product-media img { padding: 3px; }
  .product-copy { padding-top: 9px; }
  .product-card h3 { min-height: 39px; margin: 4px 0 8px; font-size: 12px; line-height: 1.55; }
  .price { font-size: 17px; }
  .product-category { font-size: 9px; }
  .product-meta { font-size: 9.5px; }
  .pages { gap: 4px; }
  .pages > button, .page-number { min-width: 34px; height: 34px; }
  .page-numbers { gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 26px; }
  .footer-service { padding-top: 20px; border-top: 1px solid var(--line); }
  dialog { inset: 0 !important; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  dialog.auth-dialog { width: 100%; }
  .dialog-head { min-height: 58px; padding: 0 10px 0 16px; }
  .dialog-head h2 { font-size: 16px; }
  #dialogBody { max-height: calc(100dvh - 58px); padding: 18px 14px 90px; }
  .detail-summary { grid-template-columns: 1fr; gap: 20px; }
  .detail-main-image { width: min(100%, 430px); margin-inline: auto; }
  .detail-info h3 { font-size: 19px; }
  .detail-info .price { font-size: 25px; }
  .detail-info .member-price { font-size: 25px; }
  .detail-action { position: sticky; bottom: 0; z-index: 2; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .member-status-card dl { grid-template-columns: 94px 1fr; }
  .cart-row { grid-template-columns: minmax(0,1fr) 66px 55px; gap: 7px; }
  .cart-row button { font-size: 11px; }
}

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