[hidden] {
  display: none !important;
}
.local-bar {
  background: #e9e0d1;
  color: #534536;
  font:
    12px/1.5 'Noto Sans SC',
    sans-serif;
  padding: 10px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 30;
}
.local-bar select {
  background: #fcfaf6;
  color: #534536;
  border: 1px solid #cfc1aa;
  padding: 5px 8px;
  border-radius: 4px;
}
.local-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.local-bar [data-catalog-state] {
  font-size: 11px;
}
.local-gift {
  background: #fff7ec;
  color: #3e3024;
  border: 1px solid #cdbb9e;
  padding: 24px;
  display: grid;
  gap: 12px;
  border-radius: 6px;
}
.local-gift img {
  height: 220px;
  width: 100%;
  object-fit: contain;
}
.local-gift button {
  background: #5f4935;
  color: #fff7ec;
  border: 0;
  padding: 14px;
  cursor: pointer;
  font: inherit;
}
.local-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.local-extra {
  max-width: 1120px;
  margin: 60px auto;
  padding: 24px;
}
.local-extra h2 {
  margin-bottom: 24px;
}
.local-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.local-extra .product__media {
  height: 240px;
}
.local-extra .product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5dbcc;
  border-radius: 6px;
  overflow: hidden;
}
.local-extra .product__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f2ece2;
}
.local-extra .product__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.local-extra .product__body > * {
  grid-column: 1 / -1;
}
.local-extra .product__body > .product__price {
  grid-column: 1;
}
.local-extra .product__body > button {
  grid-column: 2;
}
.shop-page {
  background: #fcfaf6;
  color: #4a392a;
  font:
    15px/1.7 'Noto Sans SC',
    'Microsoft YaHei',
    system-ui,
    sans-serif;
  margin: 0;
}
.shop-page * {
  box-sizing: border-box;
}
.shop-header {
  max-width: 1100px;
  margin: auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-brand {
  font:
    600 24px Georgia,
    serif;
  letter-spacing: 4px;
  color: #574534;
  text-decoration: none;
}
.shop-page a {
  color: inherit;
}
.shop-main {
  max-width: 1100px;
  margin: 10px auto 70px;
  padding: 0 24px;
}
.shop-page h1,
.shop-page h2,
.shop-page h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 500;
  line-height: 1.45;
}
.shop-page h1 {
  font-size: 34px;
  margin: 8px 0 18px;
}
.muted {
  color: #7f7162;
  font-size: 13px;
}
.eyeline {
  color: #92754e;
  letter-spacing: 2px;
  font-size: 11px;
  text-transform: uppercase;
}
.box {
  background: #fffdf9;
  border: 1px solid #e5dbcc;
  padding: 28px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.shop-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fields .wide {
  grid-column: 1/-1;
}
.shop-page label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.shop-page input,
.shop-page select,
.shop-page textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9ccba;
  border-radius: 4px;
  background: #fff;
  color: #4a392a;
  font: inherit;
  padding: 10px 12px;
}
.shop-page textarea {
  resize: vertical;
  min-height: 80px;
}
.shop-page input:focus,
.shop-page select:focus,
.shop-page textarea:focus {
  outline: 2px solid #a99066;
  outline-offset: 2px;
}
.shop-page input[type='checkbox'] {
  width: 18px;
  height: 18px;
}
.shop-page .check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.shop-page button,
.shop-button {
  border: 1px solid #66503a;
  border-radius: 4px;
  background: #66503a;
  color: white;
  padding: 11px 18px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.shop-page button.secondary {
  background: transparent;
  color: #66503a;
  border-color: #d9ccba;
}
.shop-page button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.notice {
  border-left: 3px solid #bca276;
  background: #f3ecdf;
  padding: 14px 18px;
  font-size: 13px;
  margin: 18px 0;
}
.message {
  color: #7c432c;
  min-height: 26px;
  font-size: 14px;
  white-space: pre-wrap;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eee5d8;
  padding: 12px 0;
}
.summary-row strong {
  white-space: nowrap;
}
.summary-total {
  font-size: 22px;
}
.receipt-id {
  overflow-wrap: anywhere;
  font-family: monospace;
}

/* Compact delivery selector also used by gift sets. */
.market-selector { display:flex; align-items:center; gap:8px; font:12px/1.4 system-ui,sans-serif; color:inherit; }
.market-selector select { width:auto; background:transparent; color:inherit; border:1px solid #d9ccba; border-radius:0; padding:9px 8px; font:inherit; cursor:pointer; }
.product-photo { position:relative; border-radius:20px; overflow:hidden; background:var(--cream-3,#f4ede3); flex-shrink:0; }
.product-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.product-photo--thumb { width:96px; height:120px; }
.product-photo__caption { position:absolute; bottom:16px; left:16px; z-index:1; border-radius:20px; padding:10px 15px; background:#fff; color:var(--ink,#2b211a); font:12px/1.3 var(--f-sans-cn,system-ui); box-shadow:0 4px 16px #2b211a0c; max-width:calc(100% - 32px); }
.product-photo--thumb .product-photo__caption { bottom:6px; left:6px; padding:4px 8px; max-width:calc(100% - 12px); font-size:9px; }
[data-cart-lines] .cart-line { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:10px 14px; align-items:center; }
[data-cart-lines] .product-photo { grid-row:1 / 3; }
[data-cart-lines] .cart-line__info { grid-column:2 / 4; }
[data-cart-lines] .stepper { grid-column:2; justify-self:start; }
[data-cart-lines] .cart-line__sum { grid-column:3; min-width:0; }
.shop-page fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.shop-page hr {
  border: 0;
  border-top: 1px solid #e5dbcc;
  margin: 24px 0;
}
@media (max-width: 700px) {
  .shop-layout,
  .fields {
    grid-template-columns: 1fr;
  }
  .box {
    padding: 20px;
  }
  .shop-main {
    padding: 0 16px;
  }
  .shop-page h1 {
    font-size: 28px;
  }
  .local-bar {
    font-size: 11px;
    gap: 7px;
  }
  .local-bar [data-catalog-state] {
    max-width: 45%;
  }
  .shop-header {
    padding: 20px 16px;
  }
  .local-extra {
    padding: 16px;
  }
}
