/* src/shop/shop-account.css */
.account-page {
  background: #fbfaf6;
}

.account-auth-shell,
.account-content-shell {
  width: min(100%, 1540px);
  margin: 0 auto;
  padding: 150px clamp(20px, 6vw, 92px) 90px;
}

.account-auth-shell {
  display: grid;
  width: min(100%, 1440px);
  min-height: 760px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.account-title-band > span,
.account-centered-header > span {
  color: #526748;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.22em;
}

.account-auth-shell > header {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  text-align: center;
}

.account-auth-shell h1,
.account-title-band h1,
.account-centered-header h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(54px, 7vw, 94px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.account-auth-shell h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.account-auth-form,
.account-address-form {
  width: 100%;
  max-width: 680px;
}

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

.account-field {
  display: block;
  margin-bottom: 13px;
  border: 1px solid rgba(23, 25, 20, 0.15);
  background: #fff;
  padding: 11px 15px 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.account-field:focus-within {
  border-color: #43563d;
  box-shadow: 0 0 0 3px rgba(217, 246, 155, 0.46);
}

.account-field-label {
  display: block;
  color: rgba(23, 25, 20, 0.48);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.account-field b {
  color: #8b3a24;
  margin-left: 3px;
}

.account-field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #171914;
  padding: 8px 0 2px;
  font-size: 14px;
  outline: 0;
}

.account-input-control,
.account-field .account-input-control {
  display: flex;
  min-width: 0;
  align-items: center;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
}

.account-auth-form {
  max-width: 560px;
  min-width: 0;
  justify-self: center;
}

.account-auth-form .account-field-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.account-auth-form .account-field {
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  margin-bottom: 18px;
  border: 0;
  padding: 0;
  background: transparent;
}

.account-auth-form .account-field:focus-within {
  box-shadow: none;
}

.account-auth-form .account-field-label {
  color: #40433d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.account-auth-form .account-input-control {
  border: 1px solid rgba(23, 25, 20, 0.28);
  background: #fff;
}

.account-auth-form .account-input-control:focus-within {
  outline: 1px solid #171914;
  outline-offset: 2px;
}

.account-page .account-auth-form .account-field input {
  min-width: 0;
  min-height: 52px;
  padding: 14px;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.account-auth-form .account-field input:read-only {
  color: #65695f;
}

.account-field-hint {
  grid-column: 2;
  margin-top: 7px;
  color: #65695f;
  font-size: 11px;
  line-height: 1.5;
}

.account-password-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #53594c;
  cursor: pointer;
}

.account-password-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.account-page .account-password-toggle:focus-visible {
  outline: 0;
  background: #eef0e9;
}

.account-password-toggle:hover {
  color: #171914;
}

.account-password-toggle:disabled {
  cursor: default;
  opacity: 0.6;
}

.account-text-link,
.account-cancel-link {
  border: 0;
  background: transparent;
  color: #171914;
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-forgot {
  display: block;
  margin: 3px 0 30px;
  padding: 0;
}

.account-auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-primary-button,
.account-secondary-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #43563d;
  background: #43563d;
  color: #d9f69b;
  cursor: pointer;
  padding: 15px 22px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.account-secondary-button {
  background: #d9f69b;
  color: #171914;
}

.account-primary-button:hover,
.account-primary-button:focus-visible {
  background: #2f3f2a;
}

.account-secondary-button:hover,
.account-secondary-button:focus-visible {
  background: #c9ed79;
}

.account-primary-button svg {
  width: 17px;
}

.account-primary-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.account-primary-button--wide {
  width: 100%;
  margin-top: 10px;
}

.account-auth-caption {
  margin: 24px 0 0;
  color: rgba(23, 25, 20, 0.5);
  font-size: 10px;
  text-align: center;
}

.account-auth-caption a {
  color: #171914;
  font-weight: 800;
  text-underline-offset: 4px;
}

.account-auth-switch {
  font-size: 12px;
}

.account-recovery-instruction {
  margin: 10px 0 24px;
  color: #565c4e;
  font-size: 12px;
  line-height: 1.7;
}

.account-recovery-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 24px;
}

.account-recovery-links button {
  min-height: 32px;
  padding: 0;
}

.account-text-link:disabled {
  cursor: default;
  color: #686d62;
  text-decoration: none;
}

.account-error,
.account-notice {
  margin: 12px 0;
  padding: 12px 14px;
  font-size: 10px;
  line-height: 1.5;
}

.account-error {
  background: #f5e4dd;
  color: #7c2f1b;
}

.account-notice {
  background: rgba(217, 246, 155, 0.42);
  color: #33452d;
}

.account-dashboard {
  min-height: 760px;
}

.account-title-band {
  border: 1px solid rgba(23, 25, 20, 0.12);
  background: #eef0e9;
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
}

.account-title-band h1 {
  margin-top: 14px;
  font-size: clamp(48px, 6vw, 76px);
}

.account-signout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 52px;
  border: 0;
  background: transparent;
  color: #171914;
  cursor: pointer;
  padding: 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-signout svg {
  width: 17px;
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
  gap: clamp(50px, 9vw, 150px);
}

.account-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.account-section-heading svg {
  width: 22px;
  color: #526748;
}

.account-section-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.account-details-panel {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  padding-top: 24px;
}

.account-details-panel > p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 28px;
  font-size: 12px;
}

.account-details-panel > p span {
  color: rgba(23, 25, 20, 0.54);
}

.account-details-panel > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #171914;
  font-size: 12px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.account-details-panel > a svg {
  width: 16px;
}

.account-details-panel > a b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #d9f69b;
  font-size: 9px;
}

.account-order-list {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
}

.account-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 18px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(23, 25, 20, 0.12);
  color: #171914;
  padding: 22px 0;
  text-decoration: none;
  transition: background 180ms ease, padding 180ms ease;
}

.account-order-row:hover,
.account-order-row:focus-visible {
  background: rgba(217, 246, 155, 0.22);
  padding-right: 12px;
  padding-left: 12px;
}

.account-order-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.account-order-row > svg {
  width: 16px;
  color: #526748;
}

.account-order-list strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
}

.account-order-list span,
.account-order-list em {
  color: rgba(23, 25, 20, 0.5);
  font-size: 9px;
  font-style: normal;
}

.account-order-list b {
  font-size: 12px;
}

.account-order-detail {
  min-height: 760px;
}

.account-order-detail__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(23, 25, 20, 0.14);
  padding-bottom: 34px;
}

.account-order-detail__header > div > span {
  color: #526748;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.account-order-detail__header h1 {
  margin: 12px 0 10px;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

.account-order-detail__header p {
  margin: 0;
  color: rgba(23, 25, 20, 0.52);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.account-order-detail__header > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #171914;
  font-size: 11px;
  text-underline-offset: 4px;
}

.account-order-detail__header > a svg {
  width: 15px;
}

.account-order-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(23, 25, 20, 0.14);
}

.account-order-meta > p {
  display: grid;
  min-height: 126px;
  grid-template-columns: 22px 1fr;
  align-content: center;
  column-gap: 11px;
  margin: 0;
  border-right: 1px solid rgba(23, 25, 20, 0.12);
  padding: 18px 24px;
}

.account-order-meta > p:last-child {
  border-right: 0;
}

.account-order-meta svg {
  grid-row: 1 / 3;
  width: 20px;
  color: #526748;
}

.account-order-meta span {
  color: rgba(23, 25, 20, 0.5);
  font-size: 9px;
}

.account-order-meta strong {
  margin-top: 5px;
  font-size: 11px;
}

.account-order-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: clamp(48px, 8vw, 128px);
  padding: 62px 0;
}

.account-order-products__list {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
}

.account-order-products__list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 25, 20, 0.12);
  padding: 18px 0;
}

.account-order-product-image {
  display: grid;
  width: 88px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: #eef0e9;
}

.account-order-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-order-product-image svg {
  width: 24px;
  color: #526748;
}

.account-order-products__list article > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.account-order-products__list strong {
  font-size: 12px;
}

.account-order-products__list span,
.account-order-products__list small {
  color: rgba(23, 25, 20, 0.52);
  font-size: 9px;
}

.account-order-products__list article > b {
  font-size: 12px;
}

.account-order-side {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.account-order-totals {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
}

.account-order-totals p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  border-bottom: 1px solid rgba(23, 25, 20, 0.1);
  padding: 15px 0;
  font-size: 10px;
}

.account-order-totals span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(23, 25, 20, 0.55);
}

.account-order-totals svg {
  width: 14px;
}

.account-order-totals .is-discount strong {
  color: #526748;
}

.account-order-totals .is-total {
  padding-top: 20px;
  font-size: 14px;
}

.account-order-totals .is-total span {
  color: #171914;
  font-weight: 800;
}

.account-order-delivery {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  padding-top: 24px;
}

.account-order-delivery p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.account-order-delivery p span {
  color: rgba(23, 25, 20, 0.52);
}

.account-order-timeline {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  padding-top: 34px;
}

.account-order-timeline ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(23, 25, 20, 0.12);
  list-style: none;
}

.account-order-timeline li {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 13px;
  background: #fbfaf6;
  padding: 20px;
}

.account-order-timeline li i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #d9f69b;
  color: #33452d;
}

.account-order-timeline li i svg {
  width: 14px;
}

.account-order-timeline li div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-order-timeline li strong {
  font-size: 10px;
}

.account-order-timeline li span,
.account-order-timeline > p {
  color: rgba(23, 25, 20, 0.5);
  font-size: 9px;
}

.account-empty-state {
  display: flex;
  min-height: 210px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  color: rgba(23, 25, 20, 0.55);
}

.account-empty-state svg {
  width: 28px;
  margin-bottom: 12px;
  color: #526748;
}

.account-empty-state p {
  font-size: 12px;
}

.account-empty-state a {
  color: #171914;
  font-size: 11px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.account-centered-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.account-centered-header h1 {
  margin: 13px 0 22px;
  font-size: clamp(48px, 6vw, 76px);
}

.account-centered-header > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #171914;
  font-size: 11px;
  text-underline-offset: 4px;
}

.account-centered-header > a svg {
  width: 15px;
}

.account-address-add {
  display: flex;
  width: min(680px, 100%);
  margin: 36px auto 46px;
}

.account-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 16px;
}

.account-address-grid > article {
  position: relative;
  min-height: 310px;
  border: 1px solid rgba(23, 25, 20, 0.14);
  background: #fff;
  padding: 25px;
}

.account-address-grid article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-address-grid article > header span {
  color: #526748;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-address-grid article > header b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #d9f69b;
  padding: 6px 8px;
  font-size: 8px;
}

.account-address-grid article > header b svg {
  width: 11px;
}

.account-address-grid h2 {
  margin: 30px 0 13px;
  font-family: inherit;
  font-size: 25px;
  font-weight: 400;
}

.account-address-grid article > p {
  min-height: 92px;
  color: rgba(23, 25, 20, 0.58);
  font-size: 11px;
  line-height: 1.7;
}

.account-address-grid article > footer {
  display: flex;
  gap: 16px;
  border-top: 1px solid rgba(23, 25, 20, 0.1);
  padding-top: 17px;
}

.account-address-grid article > footer a,
.account-address-grid article > footer button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #171914;
  cursor: pointer;
  padding: 0;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-address-grid article > footer svg {
  width: 14px;
}

.account-delete-confirm {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 9px;
  background: rgba(23, 25, 20, 0.92);
  color: #fff;
  padding: 30px;
  text-align: center;
}

.account-delete-confirm p {
  font-size: 12px;
}

.account-delete-confirm button {
  min-width: 170px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 11px;
  font-size: 10px;
}

.account-delete-confirm button:first-of-type {
  background: #d9f69b;
  color: #171914;
}

.account-empty-state--addresses {
  align-items: center;
  border: 1px solid rgba(23, 25, 20, 0.12);
  text-align: center;
}

.account-address-form {
  margin: 50px auto 0;
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  padding-top: 34px;
}

.account-delivery-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 13px;
}

.account-delivery-choice button {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(23, 25, 20, 0.15);
  background: #fff;
  color: #171914;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.account-delivery-choice button.is-selected {
  border-color: #43563d;
  background: rgba(217, 246, 155, 0.36);
}

.account-delivery-choice svg {
  width: 18px;
  color: #43563d;
}

.account-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0;
  font-size: 11px;
}

.account-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #43563d;
}

.account-cancel-link {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.account-loading {
  display: grid;
  min-height: 720px;
  place-items: center;
  padding-top: 88px;
}

.account-loading svg {
  width: 28px;
  color: #526748;
}

@media (max-width: 900px) {
  .account-auth-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 130px;
  }

  .account-auth-shell > header {
    text-align: center;
  }

  .account-auth-form {
    margin: 0 auto;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-order-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-order-meta > p:nth-child(2) {
    border-right: 0;
  }

  .account-order-meta > p:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(23, 25, 20, 0.12);
  }

  .account-order-detail__grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .account-auth-shell,
  .account-content-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .account-auth-shell {
    min-height: 680px;
    padding-bottom: 60px;
  }

  .account-auth-shell h1 {
    font-size: clamp(38px, 11vw, 57px);
  }

  .account-auth-form .account-field {
    grid-template-columns: minmax(80px, 0.38fr) minmax(0, 1fr);
    column-gap: 12px;
  }

  .account-page .account-auth-form .account-field input {
    font-size: 16px;
    padding: 12px 10px;
  }

  .account-auth-actions,
  .account-field-row,
  .account-delivery-choice,
  .account-address-grid {
    grid-template-columns: 1fr;
  }

  .account-dashboard-grid {
    gap: 60px;
  }

  .account-title-band {
    padding: 44px 20px;
  }

  .account-order-row {
    grid-template-columns: minmax(0, 1fr) auto 16px;
  }

  .account-order-row em {
    grid-column: 1 / -1;
  }

  .account-order-detail__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-order-meta {
    grid-template-columns: 1fr;
  }

  .account-order-meta > p,
  .account-order-meta > p:nth-child(2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 25, 20, 0.12);
  }

  .account-order-products__list article {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .account-order-product-image {
    width: 72px;
  }

  .account-order-products__list article > b {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-page * {
    transition-duration: 0.01ms !important;
  }
}

/* src/shop/shop-policy.css */
.shop-policy-page {
  background: #f8f7f0;
}

.shop-policy {
  min-height: 70vh;
  padding: clamp(9.5rem, 14vw, 12rem) 1.5rem clamp(5.5rem, 9vw, 8rem);
  color: #171a14;
}

.shop-policy > header {
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}

.shop-policy > header span {
  display: block;
  margin-bottom: 1rem;
  color: #526748;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.shop-policy h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.shop-policy__body {
  width: min(100%, 780px);
  margin: 0 auto;
}

.shop-policy--legal > header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.shop-policy--legal h1 {
  font-family: inherit;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.shop-policy--legal .shop-policy__body {
  width: min(100%, 820px);
}

.shop-policy--legal .shop-policy__body section + section {
  margin-top: clamp(1.85rem, 3.5vw, 2.8rem);
}

.shop-policy__body section + section {
  margin-top: clamp(2.25rem, 4.5vw, 3.75rem);
}

.shop-policy__body h2 {
  margin: 0 0 0.85rem;
  color: #263421;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-policy__body p {
  margin: 0;
  color: rgba(23, 26, 20, 0.72);
  font-size: 0.98rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.shop-policy__body p + p {
  margin-top: 0.65rem;
}

.shop-policy__body a {
  color: #263421;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #b7d879;
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.22em;
}

@media (max-width: 640px) {
  .shop-policy {
    padding: 8.25rem 1.25rem 4.5rem;
  }

  .shop-policy > header {
    margin-bottom: 3.25rem;
  }

  .shop-policy h1 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }

  .shop-policy--legal h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.15;
  }

  .shop-policy__body h2 {
    font-size: 0.96rem;
  }

  .shop-policy__body p {
    font-size: 0.93rem;
    line-height: 1.82;
  }
}

/* src/shop/shop-promotion-admin.css */
.promotion-admin-page {
  min-height: 100vh;
  background: #f4f5ef;
  color: #171914;
}

.promotion-admin-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  height: 66px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(23, 25, 20, 0.14);
  background: rgba(244, 245, 239, 0.92);
  padding: 0 clamp(18px, 4vw, 58px);
  backdrop-filter: blur(18px);
}

.promotion-admin-topbar a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  color: #171914;
  font-size: 10px;
  text-decoration: none;
}

.promotion-admin-topbar a svg {
  width: 15px;
}

.promotion-admin-topbar > strong {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.promotion-admin-topbar > span {
  justify-self: end;
  color: #526748;
  font-size: 9px;
  font-weight: 800;
}

.promotion-admin-lock {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #526748;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

.promotion-admin-lock svg {
  width: 14px;
}

.promotion-admin-gate {
  display: flex;
  width: min(calc(100% - 36px), 560px);
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 70px 0;
  text-align: center;
}

.promotion-admin-gate__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(23, 25, 20, 0.16);
  border-radius: 50%;
  background: #d9f69b;
}

.promotion-admin-gate__icon svg {
  width: 30px;
}

.promotion-admin-gate > span {
  color: #526748;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.promotion-admin-gate h1 {
  margin: 12px 0 20px;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 480;
  line-height: 1;
}

.promotion-admin-gate > p {
  max-width: 470px;
  margin: 0;
  color: rgba(23, 25, 20, 0.62);
  font-size: 12px;
  line-height: 1.8;
}

.promotion-admin-gate form {
  width: min(100%, 430px);
  margin-top: 34px;
  text-align: left;
}

.promotion-admin-gate form > label {
  display: block;
  margin-bottom: 8px;
  color: #526748;
  font-size: 9px;
  font-weight: 800;
}

.promotion-admin-gate .account-input-control {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  border: 1px solid rgba(23, 25, 20, 0.2);
  background: #fff;
}

.promotion-admin-gate .account-input-control input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0 15px;
  font: inherit;
  outline: 0;
  box-shadow: none;
}

.promotion-admin-gate .account-input-control:focus-within {
  outline: 1px solid #171914;
  outline-offset: 2px;
}

.promotion-admin-gate .account-password-toggle {
  display: inline-flex;
  flex: 0 0 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #53594c;
  cursor: pointer;
}

.promotion-admin-gate .account-password-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.promotion-admin-gate .account-password-toggle:focus-visible {
  outline: 0;
  background: #eef0e9;
}

.promotion-admin-gate form > button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  border: 1px solid #43563d;
  background: #43563d;
  color: #d9f69b;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.promotion-admin-gate form > button svg {
  width: 16px;
}

.promotion-admin-gate form > button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.promotion-admin-gate > small {
  max-width: 430px;
  margin-top: 20px;
  color: rgba(23, 25, 20, 0.46);
  font-size: 9px;
  line-height: 1.7;
}

.promotion-admin-shell {
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: 58px clamp(18px, 4vw, 58px) 90px;
}

.promotion-admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(23, 25, 20, 0.14);
  padding-bottom: 36px;
}

.promotion-admin-heading span,
.promotion-editor header span,
.promotion-list > header span {
  color: #526748;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.promotion-admin-heading h1 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 450;
  letter-spacing: 0;
  line-height: 0.98;
}

.promotion-admin-heading > button,
.promotion-editor-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #43563d;
  background: #43563d;
  color: #d9f69b;
  cursor: pointer;
  padding: 11px 18px;
  font-size: 10px;
  font-weight: 850;
}

.promotion-admin-heading > button svg,
.promotion-editor-actions button svg {
  width: 16px;
}

.promotion-admin-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 0.66fr);
  gap: clamp(38px, 6vw, 92px);
  padding-top: 48px;
}

.promotion-editor {
  min-width: 0;
}

.promotion-editor > header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.promotion-editor > header > svg {
  width: 26px;
  color: #526748;
}

.promotion-editor h2,
.promotion-list h2 {
  margin: 4px 0 0;
  font-size: 25px;
  letter-spacing: 0;
}

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

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

.promotion-field {
  display: block;
  margin-bottom: 11px;
  border: 1px solid rgba(23, 25, 20, 0.15);
  background: #fff;
  padding: 10px 13px 9px;
}

.promotion-field:focus-within {
  border-color: #43563d;
  box-shadow: 0 0 0 3px rgba(217, 246, 155, 0.5);
}

.promotion-field span {
  display: block;
  color: rgba(23, 25, 20, 0.52);
  font-size: 9px;
  font-weight: 750;
}

.promotion-field span b {
  margin-left: 3px;
  color: #8b3a24;
}

.promotion-field input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0 2px;
  font: inherit;
  font-size: 12px;
  outline: 0;
}

.promotion-segmented,
.promotion-variants {
  min-width: 0;
  margin: 0 0 11px;
  border: 1px solid rgba(23, 25, 20, 0.15);
  background: #fff;
  padding: 13px;
}

.promotion-segmented legend,
.promotion-variants legend {
  padding: 0 6px;
  color: rgba(23, 25, 20, 0.52);
  font-size: 9px;
  font-weight: 750;
}

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

.promotion-segmented button {
  min-height: 42px;
  border: 1px solid rgba(23, 25, 20, 0.12);
  background: #f4f5ef;
  cursor: pointer;
  font-size: 10px;
}

.promotion-segmented button.is-selected {
  border-color: #43563d;
  background: #d9f69b;
  font-weight: 850;
}

.promotion-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 18px;
  max-height: 260px;
  overflow: auto;
}

.promotion-variants label {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(23, 25, 20, 0.08);
  font-size: 10px;
}

.promotion-variants input,
.promotion-status-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #43563d;
}

.promotion-variants label > img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #f4f5ef;
  object-fit: cover;
}

.promotion-variants label > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.promotion-variants label strong,
.promotion-variants label small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promotion-variants label small {
  color: rgba(23, 25, 20, 0.5);
  font-size: 8px;
}

.promotion-status-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  font-size: 10px;
}

.promotion-status-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.promotion-status-toggle svg {
  width: 22px;
  color: #526748;
}

.promotion-editor-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.promotion-editor-actions button:first-child {
  flex: 1;
}

.promotion-editor-actions button:last-child:not(:first-child) {
  background: transparent;
  color: #171914;
}

.promotion-admin-error,
.promotion-admin-notice {
  margin: 12px 0;
  padding: 11px 13px;
  font-size: 10px;
}

.promotion-admin-error {
  background: #f5e4dd;
  color: #7c2f1b;
}

.promotion-admin-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(217, 246, 155, 0.42);
  color: #33452d;
}

.promotion-admin-notice svg {
  width: 14px;
}

.promotion-list > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.promotion-list > header b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #d9f69b;
  font-size: 10px;
}

.promotion-list > article {
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  padding: 21px 0 24px;
}

.promotion-list > article.is-archived {
  color: rgba(23, 25, 20, 0.58);
}

.promotion-list > article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.promotion-list > article > header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promotion-list > article > header > .promotion-card-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.promotion-list > article > header strong {
  font-size: 14px;
}

.promotion-list > article > header span {
  background: #e6e4dc;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 800;
}

.promotion-list > article > header span.is-active {
  background: #d9f69b;
  color: #33452d;
}

.promotion-list > article > header span.is-archived {
  background: #2f322c;
  color: #fff;
}

.promotion-list > article > header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(23, 25, 20, 0.13);
  background: transparent;
  cursor: pointer;
}

.promotion-list > article > header button svg {
  width: 15px;
}

.promotion-list > article > header button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.promotion-list > article > header button.is-danger:not(:disabled) {
  border-color: rgba(124, 47, 27, 0.36);
  color: #7c2f1b;
}

.promotion-list article h3 {
  margin: 20px 0 14px;
  font-size: 15px;
  font-weight: 600;
}

.promotion-list dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.promotion-list dl div {
  border-left: 1px solid rgba(23, 25, 20, 0.1);
  padding-left: 11px;
}

.promotion-list dl div:first-child {
  border-left: 0;
  padding-left: 0;
}

.promotion-list dt {
  color: rgba(23, 25, 20, 0.48);
  font-size: 8px;
}

.promotion-list dd {
  margin: 5px 0 0;
  font-size: 10px;
  font-weight: 800;
}

.promotion-list-loading,
.promotion-list-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  border-top: 1px solid rgba(23, 25, 20, 0.14);
  color: rgba(23, 25, 20, 0.5);
}

.promotion-list-loading svg,
.promotion-list-empty svg {
  width: 28px;
  color: #526748;
}

.promotion-list-empty {
  align-content: center;
  gap: 7px;
  font-size: 11px;
}

.promotion-confirmation-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(18, 20, 16, 0.62);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.promotion-confirmation {
  width: min(100%, 520px);
  border: 1px solid rgba(23, 25, 20, 0.18);
  background: #f4f5ef;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.promotion-confirmation__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: #d9f69b;
}

.promotion-confirmation__icon svg {
  width: 22px;
}

.promotion-confirmation > span {
  color: #526748;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.promotion-confirmation h2 {
  margin: 10px 0 18px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 520;
  line-height: 1.08;
}

.promotion-confirmation p {
  margin: 0;
  color: rgba(23, 25, 20, 0.64);
  font-size: 11px;
  line-height: 1.8;
}

.promotion-confirmation > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 28px;
}

.promotion-confirmation button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #43563d;
  background: transparent;
  color: #171914;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.promotion-confirmation button:last-child {
  background: #43563d;
  color: #d9f69b;
}

.promotion-confirmation button.is-danger {
  border-color: #7c2f1b;
  background: #7c2f1b;
  color: #fff;
}

.promotion-confirmation button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.promotion-confirmation button svg {
  width: 15px;
}

@media (max-width: 1040px) {
  .promotion-admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .promotion-admin-topbar {
    grid-template-columns: 1fr auto;
  }

  .promotion-admin-topbar > strong {
    display: none;
  }

  .promotion-admin-gate {
    justify-content: flex-start;
    padding-top: 84px;
  }

  .promotion-admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .promotion-field-grid,
  .promotion-field-grid--three,
  .promotion-variants {
    grid-template-columns: 1fr;
  }

  .promotion-variants {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .promotion-list dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .promotion-list dl div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .promotion-list > article > header {
    align-items: flex-start;
  }

  .promotion-card-actions {
    max-width: 130px;
  }

  .promotion-confirmation > div:last-child {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promotion-admin-page * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
