:root {
  --ink: #1a1a1a;
  --taupe: #cdb9a7;
  --paper: #edeae6;
  --white: #ffffff;
  --blue: #a7b3c2;
  --muted: #756d66;
  --line: rgba(26, 26, 26, 0.12);
  --shadow: 0 20px 52px rgba(26, 26, 26, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.55;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

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

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 12px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(237, 234, 230, 0.9);
  backdrop-filter: blur(18px);
}

.wordmark {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  letter-spacing: 0;
  line-height: 1;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
}

.header-action {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.header-action.cart {
  background: var(--ink);
  color: var(--white);
}

.header-action span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--taupe);
  color: var(--ink);
  font-size: 0.78rem;
}

.search-pill {
  flex: 1 1 220px;
  max-width: 360px;
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-pill span {
  flex: 0 0 auto;
  min-width: 2.2em;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.search-pill input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.hero-section {
  position: relative;
  min-height: min(720px, calc(100svh - 86px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 26, 26, 0.68), rgba(26, 26, 26, 0.08) 58%, rgba(237, 234, 230, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(34px, 9vw, 72px);
  color: var(--white);
}

.hero-copy p,
.eyebrow,
.section-heading p {
  margin: 0 0 8px;
  color: var(--taupe);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 16vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
}

.hero-copy span {
  display: block;
  max-width: 520px;
  margin: 14px 0 22px;
  font-size: 1.02rem;
}

.primary-button,
.ghost-button,
.icon-button {
  min-height: 44px;
  border-radius: var(--radius);
  padding: 10px 16px;
}

.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.full {
  width: 100%;
}

.filter-strip {
  position: sticky;
  top: 62px;
  z-index: 15;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(237, 234, 230, 0.94);
  backdrop-filter: blur(18px);
}

.filter-strip button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  padding: 7px 12px;
}

.filter-strip button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.content-section,
.info-band {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 500;
}

.section-heading span {
  color: var(--muted);
}

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

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.product-card button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ded8d2;
}

.product-info {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.product-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-line strong {
  font-size: 1.08rem;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f2eee9;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-badge.need {
  background: #fff1df;
  color: #9b5b1d;
}

.status-badge.done {
  background: #e6efe8;
  color: #3d704d;
}

.deadline-line {
  color: var(--muted);
  font-size: 0.88rem;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.info-band article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px;
}

.info-band span,
.info-band a,
.muted-copy,
.form-status {
  color: var(--muted);
}

.line-float {
  position: fixed;
  right: 14px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 25;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font-weight: 900;
  box-shadow: var(--shadow);
}

body.has-cart-summary .line-float {
  bottom: calc(156px + env(safe-area-inset-bottom));
}

.mobile-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-nav button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-nav button:focus,
.mobile-nav button:hover,
.mobile-nav button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
}

.cart-summary-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 29;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.cart-summary-bar strong {
  color: var(--taupe);
}

.cart-summary-bar[hidden] {
  display: none !important;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(26, 26, 26, 0.42);
  backdrop-filter: blur(8px);
}

.dialog-shell,
.sheet-panel {
  position: relative;
  width: min(920px, calc(100vw - 22px));
  max-height: min(860px, calc(100svh - 32px));
  overflow: auto;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sheet-panel {
  width: min(540px, calc(100vw - 22px));
  padding: 20px;
}

.add-cart-panel {
  width: min(420px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
}

.add-cart-panel h2,
.add-cart-panel p {
  margin: 0;
}

.add-cart-panel p:not(.eyebrow) {
  color: var(--muted);
}

.dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.icon-button {
  width: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.3rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--paper);
}

.detail-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.detail-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-meta span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
  color: var(--muted);
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.detail-section h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.buy-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 8px -24px -24px;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

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

.checkout-summary,
.lookup-results {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.lookup-card,
.cart-group,
.cart-line,
.member-card,
.checkout-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.cart-group {
  display: grid;
  gap: 8px;
}

.cart-group h3,
.checkout-step h3,
.member-card h3 {
  margin: 0;
  font-size: 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--white);
}

.cart-line img {
  width: 64px;
  height: 78px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-line h4,
.cart-line p {
  margin: 0;
}

.cart-line p {
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-actions button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.radio-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.radio-line input {
  width: auto;
  margin-top: 5px;
}

.member-panel {
  width: min(760px, calc(100vw - 22px));
}

.member-panel h2 {
  margin-bottom: 14px;
}

.member-grid,
.member-actions,
.coupon-list {
  display: grid;
  gap: 10px;
}

.member-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 5px;
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.auth-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.08);
}

.member-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px;
}

.auth-card {
  background: var(--white);
}

.member-card h3 {
  margin: 0;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
  color: var(--muted);
}

.member-stats strong {
  color: var(--ink);
}

.favorite-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 7px 11px;
}

.toast-stack {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(142px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  justify-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  width: min(420px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(26, 26, 26, 0.92);
  color: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  animation: toastIn 0.22s ease-out;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-band,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .detail-media img {
    min-height: 380px;
    max-height: 54svh;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .wordmark {
    font-size: 1.8rem;
  }

  .header-actions {
    justify-self: end;
    gap: 6px;
    order: 2;
  }

  .header-action {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .header-action span {
    min-width: 20px;
    height: 20px;
    margin-left: 2px;
  }

  .search-pill {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    order: 3;
  }

  .hero-section {
    min-height: 520px;
  }

  .hero-copy {
    width: calc(100% - 28px);
  }

  .content-section,
  .info-band {
    width: calc(100% - 22px);
  }

  .product-grid {
    gap: 10px;
  }

  .product-info {
    padding: 10px;
  }

  .field-grid,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .sheet-panel {
    width: 100vw;
    max-height: 92svh;
    border-radius: 18px 18px 0 0;
  }

  .add-cart-panel {
    width: min(420px, calc(100vw - 28px));
    border-radius: 16px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 58px 1fr;
  }

  .cart-actions {
    grid-column: 2;
  }

  .member-stats {
    grid-template-columns: 1fr;
  }

  .member-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 420px) {
  .member-panel {
    padding: 14px;
  }

  .member-panel .eyebrow {
    margin-bottom: 4px;
  }

  .member-panel h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
  }

  .auth-tabs {
    margin-bottom: 8px;
  }

  .auth-tabs button {
    min-height: 34px;
  }

  .member-card {
    padding: 10px;
    gap: 8px;
  }

  .member-card .muted-copy {
    display: none;
  }
}

/* 6.19select luxe storefront theme */
body {
  background: #ffffff;
  color: #1a1a1a;
  padding-bottom: 0;
}

.site-header {
  position: sticky;
  min-height: 98px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(26px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.04);
}

.wordmark {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.wordmark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3vw, 3rem);
  letter-spacing: 0.01em;
}

.wordmark small {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  margin-left: 4px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.desktop-nav button {
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #1f1f1f;
  padding: 0 0 3px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.desktop-nav button:hover,
.desktop-nav button[aria-selected="true"] {
  border-bottom-color: #1a1a1a;
}

.header-actions {
  order: initial;
  justify-content: flex-end;
  gap: 18px;
}

.search-pill {
  flex: 0 0 auto;
  width: 36px;
  height: 42px;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
  transition: width 0.2s ease;
}

.search-pill:focus-within,
.search-pill:hover {
  width: 150px;
}

.search-pill input {
  min-width: 110px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.22);
  padding: 7px 0 6px;
  font-size: 0.88rem;
}

.search-icon {
  position: relative;
  width: 28px;
  min-width: 28px;
  height: 28px;
  border: 1.6px solid #1a1a1a;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 10px;
  height: 1.6px;
  background: #1a1a1a;
  transform: rotate(45deg);
  transform-origin: left center;
}

.header-action {
  min-width: 32px;
  height: 42px;
  min-height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0;
}

.header-action.member {
  position: relative;
  width: 34px;
}

.header-action.member::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 13px;
  height: 13px;
  border: 1.6px solid #1a1a1a;
  border-radius: 50%;
}

.header-action.member::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 7px;
  width: 24px;
  height: 14px;
  border: 1.6px solid #1a1a1a;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.header-action.cart {
  position: relative;
  width: 38px;
  background: transparent;
  color: #1a1a1a;
}

.bag-icon {
  position: absolute;
  display: block;
  left: 4px;
  bottom: 6px;
  width: 26px;
  height: 25px;
  border: 1.6px solid #1a1a1a;
  border-radius: 3px;
  background: transparent;
  margin: 0;
}

.bag-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -10px;
  width: 12px;
  height: 12px;
  border: 1.6px solid #1a1a1a;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

#cartCountBadge {
  position: absolute;
  right: -7px;
  bottom: 1px;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #c1aa99;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-section {
  min-height: clamp(430px, 36vw, 520px);
  align-items: center;
  background: #f7f2ed;
}

.mobile-nav {
  display: none;
}

.hero-section img {
  opacity: 0.96;
  object-position: center right;
  filter: saturate(0.86) brightness(1.04);
}

.hero-section::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.7) 32%, rgba(255, 255, 255, 0.18) 68%),
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.72), transparent 28%);
}

.hero-copy {
  width: min(720px, calc(100% - 34px));
  margin-left: clamp(28px, 12vw, 250px);
  margin-right: auto;
  padding: 0;
  color: #222222;
  text-align: center;
}

.hero-copy p,
.eyebrow,
.section-heading p {
  color: #1f1f1f;
  font-weight: 500;
  letter-spacing: 0.42em;
}

.hero-copy h1 {
  font-size: clamp(4.1rem, 9vw, 8rem);
  letter-spacing: 0.03em;
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 18px auto 22px;
  color: #b79f8f;
}

.hero-mark span {
  width: 92px;
  height: 1px;
  background: #b79f8f;
}

.hero-mark b {
  font-size: 1.1rem;
  line-height: 1;
}

.hero-copy span {
  max-width: none;
  margin: 0 auto 32px;
  color: #6a625b;
  font-size: clamp(1rem, 1.4vw, 1.26rem);
  letter-spacing: 0.06em;
}

.hero-button {
  min-width: 220px;
  min-height: 56px;
  border: 0;
  border-radius: 0;
  background: #1f1f1f;
  color: #ffffff;
  letter-spacing: 0.12em;
}

.hero-button span {
  display: inline;
  margin-left: 24px;
  color: inherit;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  background: #ffffff;
}

.service-strip article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(26, 26, 26, 0.12);
}

.service-strip article:last-child {
  border-right: 0;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #c7b09f;
  border-radius: 50%;
  color: #8d7565;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.service-strip strong,
.service-strip small {
  display: block;
}

.service-strip strong {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.service-strip small {
  color: #756d66;
  font-size: 0.82rem;
}

.filter-strip {
  position: static;
  justify-content: center;
  padding: 18px 16px 6px;
  border-bottom: 0;
  background: #ffffff;
  backdrop-filter: none;
}

.filter-strip button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px 10px 5px;
  color: #5e5751;
  letter-spacing: 0.12em;
}

.filter-strip button[aria-selected="true"] {
  background: transparent;
  border-bottom: 1px solid #1a1a1a;
  color: #1a1a1a;
}

.category-section,
.content-section,
.info-band {
  width: min(1440px, calc(100% - 72px));
}

.category-section {
  margin: 0 auto;
  padding: 30px 0 22px;
}

.section-heading {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  display: none;
}

.catalog-heading p,
.section-heading p {
  margin: 0;
  font-size: 0.95rem;
  color: #1a1a1a;
  letter-spacing: 0.24em;
}

.view-all-button {
  border: 0;
  background: transparent;
  color: #1a1a1a;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.view-all-button span {
  margin-left: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  position: relative;
  min-height: 196px;
  border: 0;
  background: #f5f1ed;
  overflow: hidden;
  padding: 0;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 196px;
  object-fit: cover;
  filter: saturate(0.86) brightness(1.06);
  transition: transform 0.25s ease;
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #1a1a1a;
  text-shadow: 0 1px 12px rgba(255,255,255,.88);
}

.category-card strong {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.category-card span {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.content-section {
  padding-top: 12px;
}

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

.product-card {
  background: transparent;
  box-shadow: none;
}

.product-card button {
  background: transparent;
  box-shadow: none;
}

.product-card img {
  aspect-ratio: 1 / 1.18;
  background: #f5f1ed;
  filter: saturate(0.9) brightness(1.04);
}

.product-info {
  padding: 13px 0 0;
  text-align: center;
}

.product-info .status-badge {
  margin: 0 auto 8px;
}

.product-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.price-line {
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.deadline-line {
  margin-top: 5px;
  letter-spacing: 0.04em;
}

.info-band {
  margin-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 190px 1fr;
  }

  .desktop-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    grid-column: 2;
  }

  .service-strip,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip article:nth-child(2n) {
    border-right: 0;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding: 14px 14px 10px;
    gap: 10px;
  }

  .wordmark span {
    font-size: 2rem;
  }

  .wordmark small {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .desktop-nav {
    grid-column: 1 / -1;
    gap: 18px;
    padding-bottom: 2px;
  }

  .mobile-nav {
    display: grid;
  }

  .desktop-nav button {
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 10px;
  }

  .search-pill:hover,
  .search-pill:focus-within {
    width: 118px;
  }

  .hero-section {
    min-height: 560px;
  }

  .hero-section::after {
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.68) 42%, rgba(255,255,255,.2));
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 36px 0 0;
    align-self: start;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .hero-mark span {
    width: 68px;
  }

  .service-strip {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .service-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    padding: 12px 0;
  }

  .service-strip article:last-child {
    border-bottom: 0;
  }

  .category-section,
  .content-section,
  .info-band {
    width: calc(100% - 24px);
  }

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

  .category-card,
  .category-card img {
    min-height: 152px;
  }

  .filter-strip {
    justify-content: flex-start;
  }

  .product-info h3 {
    font-size: 1rem;
  }
}

/* Asset refresh and layout polish */
.wordmark {
  position: relative;
  width: 190px;
  min-height: 48px;
  display: block;
}

.wordmark-logo {
  width: min(190px, 100%);
  height: auto;
  object-fit: contain;
}

.wordmark > span,
.wordmark > small {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-icon {
  border: 0;
  border-radius: 0;
  background: url("/assets/home/icon_search.png") center / contain no-repeat;
}

.search-icon::after,
.header-action.member::before,
.header-action.member::after,
.bag-icon::before {
  content: none;
  display: none;
}

.header-action.member {
  background: url("/assets/home/icon_member.png") center / 30px 30px no-repeat;
}

.header-action.cart .bag-icon {
  border: 0;
  border-radius: 0;
  background: url("/assets/home/icon_cart.png") center / contain no-repeat;
}

.header-action.order-lookup {
  width: auto;
  min-width: 72px;
  padding: 0 12px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-section {
  min-height: clamp(520px, 54vw, 780px);
  align-items: stretch;
  background: #f5f1ed;
  cursor: pointer;
}

.hero-section img {
  opacity: 1;
  filter: none;
  object-position: center center;
}

.hero-section::after {
  display: none;
}

.hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.service-icon {
  border: 0;
  background: #f3ebe4;
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.info-band article {
  grid-template-columns: 44px 1fr;
  align-items: center;
}

.info-band .info-icon {
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3ebe4;
}

.info-band .info-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.icon-button.close-button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-height: 54px;
  padding: 0;
  line-height: 1;
  text-align: center;
  font-size: 1.45rem;
  appearance: none;
}

.cart-summary-bar {
  left: auto;
  right: clamp(18px, 3vw, 42px);
  top: 112px;
  bottom: auto;
  width: min(420px, calc(100vw - 32px));
  min-height: 56px;
  border-radius: 999px;
  padding: 9px 10px 9px 20px;
  z-index: 35;
}

.cart-summary-bar strong {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 8px 16px;
}

.line-float {
  right: clamp(18px, 3vw, 42px);
  bottom: calc(22px + env(safe-area-inset-bottom));
}

body.has-cart-summary .line-float {
  bottom: calc(22px + env(safe-area-inset-bottom));
}

@media (max-width: 760px) {
  .wordmark {
    width: 150px;
    min-height: 40px;
  }

  .wordmark-logo {
    width: 150px;
  }

  .hero-section {
    min-height: 430px;
  }

  .hero-section img {
    object-position: left center;
  }

  .info-band article {
    grid-template-columns: 38px 1fr;
  }

  .info-band .info-icon {
    width: 38px;
    height: 38px;
  }

  .cart-summary-bar {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: auto;
    min-height: 54px;
    border-radius: 16px;
    padding: 10px 14px;
  }

  .cart-summary-bar strong {
    min-height: 0;
    background: transparent;
    color: var(--taupe);
    padding: 0;
  }

  body.has-cart-summary .line-float {
    right: 18px;
    bottom: calc(150px + env(safe-area-inset-bottom));
  }
}

/* Front cleanup requested for 6.19select */
.site-header {
  grid-template-columns: 230px minmax(0, 1fr);
}

.header-actions {
  grid-column: 2;
}

.desktop-nav,
.category-section {
  display: none !important;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .header-action.order-lookup {
    display: none;
  }
}

/* Top visual and checkout placement polish */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 24;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.36)),
    url("/assets/home/hero-storefront-crop.png") left top / cover no-repeat;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero-section {
  padding-top: 98px;
  min-height: clamp(620px, 62vw, 820px);
}

.hero-section img {
  object-position: center center;
}

.cart-summary-bar {
  top: auto;
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
}

.line-float,
body.has-cart-summary .line-float {
  bottom: calc(92px + env(safe-area-inset-bottom));
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .hero-section {
    padding-top: 78px;
    min-height: 470px;
  }

  .cart-summary-bar {
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
  }

  .line-float,
  body.has-cart-summary .line-float {
    bottom: calc(150px + env(safe-area-inset-bottom));
  }
}

/* Order completion and icon polish */
.service-icon,
.info-band .info-icon {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.service-icon img,
.info-band .info-icon img {
  border-radius: 50%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.service-icon img {
  width: 52px;
  height: 52px;
}

.info-band .info-icon img {
  width: 42px;
  height: 42px;
}

.order-complete-panel {
  width: min(520px, calc(100vw - 24px));
}

.order-complete-card {
  display: grid;
  gap: 14px;
  padding-top: 12px;
}

.order-complete-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
}

.screenshot-reminder {
  margin: 0;
  border: 1px solid rgba(155, 91, 29, 0.18);
  border-radius: var(--radius);
  background: #fff5e8;
  color: #8c5a24;
  padding: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.order-number-box {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 16px;
}

.order-number-box span {
  display: block;
  color: var(--taupe);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-number-box strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.5rem, 7vw, 2.4rem);
  letter-spacing: 0.03em;
}

.order-complete-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.order-complete-meta div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px;
}

.order-complete-meta dt,
.order-complete-meta dd {
  margin: 0;
}

.order-complete-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.order-complete-meta dd {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.order-complete-items li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.order-complete-items small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.order-complete-total {
  display: grid;
  gap: 6px;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 12px;
}

.order-complete-total span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 560px) {
  .order-complete-meta {
    grid-template-columns: 1fr;
  }
}

/* Header tool alignment */
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .search-pill,
.site-header .header-action {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  height: 38px;
  min-height: 38px;
  margin: 0;
  line-height: 1;
}

.site-header .search-pill {
  width: 38px;
  max-width: 38px;
  grid-template-columns: 38px 0;
  gap: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.36);
  padding: 0;
  overflow: hidden;
}

.site-header .search-pill:hover,
.site-header .search-pill:focus-within {
  width: 152px;
  max-width: 152px;
  grid-template-columns: 38px minmax(96px, 1fr);
}

.site-header .search-icon {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.site-header .search-pill input {
  min-width: 96px;
  height: 30px;
  padding: 0;
  opacity: 0;
}

.site-header .search-pill:hover input,
.site-header .search-pill:focus-within input {
  opacity: 1;
}

.site-header .header-action {
  width: 38px;
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.36);
  padding: 0;
}

.site-header .header-action.order-lookup {
  width: auto;
  min-width: 78px;
  padding: 0 15px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-header .header-action.member {
  background: rgba(255, 255, 255, 0.36) url("/assets/home/icon_member.png") center / 24px 24px no-repeat;
}

.site-header .header-action.cart {
  position: relative;
  background: rgba(255, 255, 255, 0.36);
  color: var(--ink);
}

.site-header .header-action.cart .bag-icon {
  position: static;
  display: block;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: url("/assets/home/icon_cart.png") center / contain no-repeat;
}

.site-header #cartCountBadge {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: #c1aa99;
  color: #ffffff;
  padding: 0 4px;
  font-size: 0.68rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .site-header .header-actions {
    gap: 8px;
  }

  .site-header .search-pill,
  .site-header .header-action {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .site-header .search-pill {
    max-width: 36px;
  }

  .site-header .search-pill:hover,
  .site-header .search-pill:focus-within {
    width: 136px;
    max-width: 136px;
    grid-template-columns: 36px minmax(84px, 1fr);
  }

  .site-header .header-action.order-lookup {
    display: inline-grid;
    min-width: 72px;
    padding: 0 12px;
  }
}
