.commerce-page { padding-top: .25rem; }
.commerce-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding: .8rem 0 2.5rem; }
.commerce-heading h1 { font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1.03; }
.commerce-heading p:not(.eyebrow) { color: var(--muted); font-size: .95rem; margin: 1rem 0 0; max-width: 38rem; }
.commerce-back { color: var(--gold); font-size: .75rem; text-decoration: none; white-space: nowrap; padding-bottom: .25rem; }
.commerce-back span { margin-left: .6rem; }
.commerce-steps { list-style: none; display: flex; gap: 2rem; padding: 1.2rem 0; margin: 0 0 2.5rem; border-block: 1px solid var(--line); }
.commerce-steps li { display: flex; align-items: center; gap: .7rem; color: #69665f; font-size: .75rem; }
.commerce-steps li > span, .commerce-steps li > a > span { font-family: var(--serif); font-size: 1.2rem; }
.commerce-steps .is-current { color: var(--gold); }
.commerce-steps .is-complete { color: #c9c2b6; }
.commerce-steps a { text-decoration: none; display: flex; align-items: center; gap: .7rem; }
.commerce-empty { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; min-height: 360px; }
.commerce-empty-copy { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.commerce-bag { display: block; width: 38px; height: 38px; color: var(--gold); margin-bottom: 1.6rem; }
.commerce-empty h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.05; max-width: 25rem; }
.commerce-empty p { color: var(--muted); font-size: .9rem; line-height: 1.8; max-width: 25rem; }
.commerce-empty .inline-actions { margin-top: 1.5rem; }
.commerce-empty .btn { font-size: .78rem; }
.commerce-empty-photo { position: relative; overflow: hidden; }
.commerce-empty-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.commerce-empty-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--card), transparent 25%); pointer-events: none; }
.commerce-support { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.commerce-support a { color: var(--gold); text-decoration: none; }
.commerce-cart-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr); gap: 2rem; align-items: start; }
.commerce-items-heading { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .7rem; padding: 0 0 .8rem; text-transform: uppercase; letter-spacing: .08em; }
.commerce-items { display: grid; }
.commerce-item { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 1.25rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.commerce-item:first-child { padding-top: 0; border-top: 0; }
.commerce-item-image { border-radius: 6px; overflow: hidden; align-self: start; }
.commerce-item-image img { display: block; width: 108px; height: 108px; object-fit: cover; }
.commerce-item-copy { min-width: 0; }
.commerce-item-name { text-decoration: none; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; display: block; margin: .15rem 0 .35rem; }
.commerce-item-name:hover { color: var(--gold); }
.commerce-item-sub { margin: 0 0 .4rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.commerce-item-variant { color: #d5cabb; font-size: .73rem; }
.commerce-item-bottom { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.commerce-item-qty { display: flex; flex-direction: row; align-items: center; gap: .5rem; color: var(--muted); font-size: .68rem; }
.commerce-item-qty input[type="number"] { width: 58px; min-height: 38px; border-radius: 4px; padding: .35rem .45rem; font-size: .8rem; text-align: center; }
.commerce-remove { border: 0; background: none; padding: .4rem 0; color: #a99578; font-size: .68rem; cursor: pointer; text-underline-offset: 3px; }
.commerce-remove:hover { color: var(--gold); text-decoration: underline; }
.commerce-item-total { margin-left: auto; font-size: .85rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.commerce-totals-panel { position: sticky; top: 110px; padding: 1.5rem; border: 1px solid var(--line); background: var(--card); border-radius: 8px; }
.commerce-totals-panel h2 { font-family: var(--sans); font-size: .95rem; letter-spacing: 0; margin-bottom: 1.5rem; }
.commerce-total-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; margin: .85rem 0; }
.commerce-total-row > span:last-child { color: var(--ink); }
.commerce-total-final { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; color: var(--ink); }
.commerce-total-final strong { color: var(--gold); font-size: 1.2rem; }
.commerce-delivery-note { font-size: .7rem; color: var(--muted); line-height: 1.7; padding-top: .5rem; }
.commerce-delivery-progress { height: 3px; border-radius: 2px; background: #cfab6a22; overflow: hidden; margin-top: 1.2rem; }
.commerce-delivery-progress > span { display: block; height: 100%; background: var(--gold); }
.commerce-delivery-status { color: #cfbd9a; font-size: .7rem; line-height: 1.6; margin: .7rem 0 1.25rem; }
.commerce-totals-panel .btn { width: 100%; font-size: .78rem; gap: 1rem; }
.commerce-checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.commerce-form { padding: 0; min-width: 0; }
.commerce-section-title { display: flex; gap: 1rem; align-items: start; margin: 0 0 1.4rem; }
.commerce-section-title > span { font-family: var(--serif); color: var(--gold); font-size: 1.6rem; line-height: 1.15; }
.commerce-section-title h2 { font-family: var(--sans); font-size: 1rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.commerce-section-title p { color: var(--muted); font-size: .75rem; margin: 0; }
.commerce-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 2.5rem; }
.commerce-fields .field { position: relative; color: #d8d1c6; font-size: .8rem; font-weight: 500; gap: .55rem; }
.commerce-wide { grid-column: 1 / -1; }
.commerce-fields .field input, .commerce-fields .field textarea { border-radius: 5px; background: #111110; border-color: var(--line); font-size: .85rem; padding: .85rem 1rem; min-height: 50px; }
.commerce-fields .field input:hover, .commerce-fields .field textarea:hover { border-color: #cfab6a60; }
.commerce-fields .field input:focus, .commerce-fields .field textarea:focus { border-color: var(--gold); }
.commerce-fields input::placeholder, .commerce-fields textarea::placeholder { color: #6f6a61; }
.commerce-optional { position: absolute; top: 0; right: 0; font-size: .68rem; color: #827b70; font-weight: 400; }
.commerce-privacy { color: var(--muted); font-size: .7rem; line-height: 1.8; margin: -1rem 0 1.3rem; }
.commerce-privacy a { color: #bba37c; text-underline-offset: 3px; }
.commerce-submit { width: 100%; justify-content: space-between !important; font-size: .85rem; padding-inline: 1.2rem !important; }
.commerce-submit[disabled] { cursor: not-allowed; filter: none; }
.commerce-submit-note { color: #8e887d; font-size: .68rem; text-align: center; line-height: 1.6; }
.commerce-order-summary { border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: clamp(1rem, 3vw, 2rem); position: sticky; top: 110px; }
.commerce-summary-heading { margin-bottom: 1.5rem; }
.commerce-summary-heading .eyebrow { font-size: .65rem; }
.commerce-summary-heading h2 { font-size: 2.3rem; margin-bottom: 0; }
.commerce-order-summary .commerce-item { grid-template-columns: 72px minmax(0, 1fr); gap: .9rem; }
.commerce-order-summary .commerce-item-image img { width: 72px; height: 72px; }
.commerce-order-summary .commerce-item-name { font-size: 1.4rem; }
.commerce-order-summary .commerce-item-sub { font-size: .67rem; }
.commerce-order-summary .commerce-item-bottom { gap: .65rem; margin-top: .6rem; }
.commerce-order-summary .commerce-item-qty { gap: .35rem; }
.commerce-order-summary .commerce-item-qty input[type="number"] { width: 45px; min-height: 32px; padding: .2rem; }
.commerce-order-summary .commerce-item-total { font-size: .75rem; }
.commerce-order-summary .commerce-item-variant { font-size: .65rem; }
.commerce-order-summary .commerce-total-final { margin-top: 1.3rem; }
.commerce-summary-help { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .3rem; font-size: .73rem; }
.commerce-summary-help > span { color: var(--muted); margin-bottom: .2rem; }
.commerce-summary-help a { color: var(--gold); text-decoration: none; }
.commerce-order-summary .commerce-empty { display: block; min-height: 0; border: 0; background: none; }
.commerce-order-summary .commerce-empty-copy { padding: 0; }
.commerce-order-summary .commerce-empty-photo { display: none; }
.commerce-order-summary .commerce-empty h2 { font-size: 2rem; }
.commerce-order-summary .commerce-empty .btn { font-size: .7rem; padding-inline: .9rem; }
.commerce-result { margin-top: 2rem; padding: 2rem; }
.commerce-result h2 { font-size: 2rem; }
@media (max-width: 850px) {
  .commerce-cart-layout, .commerce-checkout { grid-template-columns: 1fr; }
  .commerce-order-summary, .commerce-totals-panel { position: static; }
  .commerce-order-summary { order: -1; }
  .commerce-heading { align-items: start; flex-direction: column; gap: 1.25rem; }
  .commerce-checkout { gap: 2.5rem; }
}
@media (max-width: 520px) {
  .commerce-heading { padding-block: .5rem 1.8rem; }
  .commerce-heading h1 { font-size: 3.1rem; }
  .commerce-heading p:not(.eyebrow) { font-size: .85rem; }
  .commerce-steps { gap: 0; justify-content: space-between; margin-bottom: 1.8rem; }
  .commerce-steps li, .commerce-steps a { gap: .4rem; font-size: .63rem; }
  .commerce-steps li > span, .commerce-steps li > a > span { font-size: 1.05rem; }
  .commerce-empty { grid-template-columns: 1fr; }
  .commerce-empty-copy { padding: 1.6rem; }
  .commerce-empty-photo { max-height: 220px; }
  .commerce-empty-photo::after { background: linear-gradient(var(--card), transparent 35%); }
  .commerce-empty .inline-actions { gap: .6rem; }
  .commerce-empty .btn { font-size: .7rem; padding-inline: .8rem; }
  .commerce-item { grid-template-columns: 82px minmax(0, 1fr); gap: .9rem; }
  .commerce-item-image img { width: 82px; height: 82px; }
  .commerce-item-name { font-size: 1.45rem; }
  .commerce-item-sub { font-size: .7rem; }
  .commerce-item-total { font-size: .75rem; }
  .commerce-item-bottom { gap: .6rem; }
  .commerce-support { align-items: start; flex-direction: column; gap: .5rem; margin-top: 2rem; }
  .commerce-totals-panel { padding: 1.25rem; }
}
