:root {
  --bg: #f3f0e9;
  --surface: #fffdf8;
  --ink: #18231f;
  --muted: #6d7772;
  --line: #e1dcd2;
  --green: #0d5c4d;
  --green-strong: #094538;
  --coral: #e0643f;
  --gold: #cf9a2b;
  --blue: #2f5e82;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2;
}

.announcement {
  background: var(--coral);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 0.42rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.72rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 185px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 0.18rem;
}

.main-nav {
  display: flex;
  gap: 0.1rem;
  margin-left: 0.3rem;
}

.main-nav a {
  padding: 0.55rem 0.68rem;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: #ece7dc;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 190px;
  max-width: 460px;
  margin-left: auto;
  padding: 0.4rem 0.55rem 0.4rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f0ece2;
}

.search-form:focus-within {
  border-color: var(--green);
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.2rem;
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.icon-button:hover {
  background: #ece7dc;
}

.icon-button.small {
  width: 30px;
  height: 30px;
}

[data-badge]::after {
  content: attr(data-badge);
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.64rem;
  opacity: 0;
}

[data-badge]:not([data-badge="0"])::after {
  opacity: 1;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.currency-select select {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.84rem;
}

.header-mobile-row {
  display: none;
  padding: 0 0.9rem 0.65rem;
}

.header-mobile-row .search-form {
  max-width: none;
  margin: 0;
}

.hero {
  background:
    linear-gradient(100deg, rgba(8, 42, 35, 0.97) 0%, rgba(10, 58, 48, 0.88) 46%, rgba(10, 58, 48, 0.38) 100%),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=85")
      center / cover;
  color: #fff;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.2rem 1.25rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0.85rem 0 0.75rem;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.primary-button,
.ghost-button,
.secondary-button,
.checkout-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  border: 0;
}

.primary-button {
  padding: 0.7rem 1rem;
  background: #fff;
  color: #0b4036;
}

.primary-button.dark {
  background: var(--ink);
  color: #fff;
}

.ghost-button {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.secondary-button {
  padding: 0.68rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1.55rem;
}

.hero-stat {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.hero-stat strong {
  display: block;
  font-size: 1.3rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.service-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.service-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.service-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.catalog {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.25rem;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-kicker {
  margin: 0 0 0.25rem;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-heading h2 {
  margin: 0;
  font-size: 1.65rem;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 0.54rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--green);
}

.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.sort-label select {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 45, 37, 0.1);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e3d8;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-media img.is-broken {
  display: none;
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: linear-gradient(135deg, #e2ede7, #d0dfd7);
  color: var(--green);
  font-weight: 800;
  font-size: 1.2rem;
}

.product-media img.is-broken ~ .media-fallback,
.quick-media img.is-broken ~ .media-fallback {
  display: grid;
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.fav-button {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fav-button.active {
  color: var(--coral);
}

.fav-button.active svg {
  fill: currentColor;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
}

.product-meta svg {
  width: 0.82rem;
  height: 0.82rem;
}

.rating {
  color: var(--gold);
  font-weight: 700;
}

.product-info h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-desc {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.product-price strong {
  color: var(--coral);
  font-size: 1.2rem;
}

.product-price s {
  color: var(--muted);
  font-size: 0.76rem;
}

.save {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 0.45rem;
  margin-top: auto;
}

.add-button {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
}

.add-button:hover {
  background: var(--green-strong);
}

.add-button.wide {
  width: 100%;
}

.quick-button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.quick-button:hover {
  border-color: var(--green);
  color: var(--green);
}

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--coral);
}

.empty-state h3 {
  margin: 0.7rem 0 0.25rem;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 25, 0.46);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer.open .drawer-scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  background: var(--surface);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.drawer.open .drawer-panel {
  transform: none;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

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

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  flex: 1;
  overflow: auto;
  padding: 1rem 1.2rem;
}

.cart-empty {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
}

.cart-empty svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--green);
}

.cart-empty h3 {
  margin: 0.7rem 0 0.25rem;
  color: var(--ink);
}

.cart-empty p {
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: start;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
}

.cart-item img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee;
}

.cart-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.cart-item .variant {
  color: var(--muted);
  font-size: 0.75rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-control button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: #fff;
}

.qty-control button:hover {
  background: #eee;
}

.qty-control span {
  min-width: 32px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.cart-item-right strong {
  color: var(--coral);
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1rem 1.2rem 1.2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-totals,
.order-totals {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cart-totals div,
.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.cart-totals .total,
.order-totals .total {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.cart-totals .free-shipping {
  color: var(--green);
}

.checkout-button {
  width: 100%;
  min-height: 46px;
  background: var(--coral);
  color: #fff;
}

.checkout-button:hover {
  background: #c94f2d;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 30, 24, 0.52);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
}

.modal-close:hover {
  background: #ece7dc;
}

.quick-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
}

.quick-media {
  position: relative;
  min-height: 420px;
  background: #e8e3d8;
}

.quick-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.quick-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.quick-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.quick-badges span {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: #f3e4da;
  color: #9a3f23;
  font-size: 0.72rem;
  font-weight: 700;
}

.quick-info h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
}

.quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.quick-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.quick-price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.quick-price strong {
  color: var(--coral);
  font-size: 1.75rem;
}

.quick-price s {
  color: var(--muted);
  font-size: 0.85rem;
}

.quick-price span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.quick-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.quick-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field > span,
.quantity-row > span {
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(13, 92, 77, 0.24);
  border-color: var(--green);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
}

.qty-stepper button:hover {
  background: #eee;
}

.qty-stepper span {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.favorites-modal {
  width: min(860px, 100%);
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.favorite-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.favorite-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}

.favorite-card-body {
  padding: 0.75rem;
}

.favorite-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.favorite-card .price {
  margin-bottom: 0.6rem;
  color: var(--coral);
  font-weight: 700;
}

.favorite-card .mini-add {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.favorites-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

.checkout-modal {
  width: min(960px, 100%);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.form-column {
  display: grid;
  gap: 1.4rem;
}

.form-section h3,
.order-summary h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.payment-options {
  display: grid;
  gap: 0.55rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--green);
  background: #f2f7f3;
}

.payment-option input {
  accent-color: var(--green);
}

.order-column {
  min-width: 0;
}

.order-summary {
  position: sticky;
  top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf7ef;
}

.order-lines {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow: auto;
  margin-bottom: 0.85rem;
}

.order-line {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.order-line img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: #eee;
}

.order-line h4 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.order-line span {
  color: var(--muted);
  font-size: 0.72rem;
}

.order-line strong {
  font-size: 0.82rem;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.order-success {
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #e4f2eb;
  color: var(--green);
}

.success-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.order-success h2 {
  margin: 1rem 0 0.35rem;
}

.order-success p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.order-success strong {
  color: var(--ink);
}

.success-note {
  max-width: 440px;
  margin: 0.7rem 0 1.3rem !important;
}

.toast-stack {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 100;
  display: grid;
  gap: 0.5rem;
  width: min(360px, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
}

.toast svg {
  color: #93dfc2;
}

.site-footer {
  background: var(--ink);
  color: #fff;
}

.wholesale-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8f0ec;
}

.wholesale-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 1.25rem;
}

.wholesale-copy h2 {
  margin: 0;
  font-size: 1.8rem;
}

.wholesale-copy p {
  max-width: 560px;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.wholesale-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.wholesale-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.wholesale-points svg {
  color: var(--green);
  flex-shrink: 0;
}

.inquiry-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(20, 45, 37, 0.08);
}

.inquiry-form h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.inquiry-form .primary-button {
  width: 100%;
  margin-top: 0.2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 320px;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
}

.newsletter-form button:hover {
  background: #c94f2d;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 1.25rem 1.5rem;
}

.footer-brand {
  min-width: 0;
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner p {
  max-width: 260px;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.footer-inner h4 {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.footer-inner a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .header-mobile-row {
    display: block;
  }

  .header-inner .search-form {
    display: none;
  }

  .service-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-layout {
    grid-template-columns: 1fr;
  }

  .wholesale-inner {
    grid-template-columns: 1fr;
  }

  .quick-media,
  .quick-media img {
    min-height: 300px;
    max-height: 360px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .currency-select {
    padding: 0.3rem;
  }

  .currency-select svg {
    display: none;
  }

  .hero-inner {
    padding: 2.2rem 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .catalog {
    padding: 1.75rem 0.9rem 2.5rem;
  }

  .catalog-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

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

  .product-info {
    padding: 0.75rem 0.75rem 0.85rem;
  }

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

  .product-price strong {
    font-size: 1.05rem;
  }

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

  .quick-button {
    display: none;
  }

  .add-button {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .quick-info {
    padding: 1.15rem;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .checkout-layout {
    padding: 1.1rem;
  }

  .wholesale-inner {
    padding: 1.8rem 0.9rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 0.25rem;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

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

  .product-meta {
    font-size: 0.68rem;
  }

  .service-inner {
    grid-template-columns: 1fr;
  }
}
