* {
  box-sizing: border-box;
}

:root {
  --checkout-bg: #fbf4e8;
  --checkout-panel: rgba(255, 253, 248, .96);
  --checkout-ink: #20160f;
  --checkout-muted: #74665b;
  --checkout-line: rgba(72, 48, 28, .14);
  --checkout-gold: #c98c2e;
  --checkout-gold-dark: #9a651d;
  --checkout-gold-soft: #f7ead0;
  --checkout-danger: #a72413;
  --checkout-ok: #167847;
  --checkout-shadow: 0 22px 70px rgba(40, 28, 15, .10);
  --checkout-text: var(--checkout-ink);
  --checkout-serif: Georgia, "Times New Roman", serif;
  --checkout-sans: Arial, Helvetica, sans-serif;
}

[hidden] {
  display: none !important;
}

body.checkout-body {
  min-height: 100vh;
  margin: 0;
  color: var(--checkout-ink);
  font-family: var(--checkout-sans);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 140, 46, .10), transparent 28%),
    linear-gradient(90deg, #fffaf4 0%, #fffaf4 67%, #f2dfbf 67%, #f2dfbf 100%);
}

.checkout-body a {
  color: inherit;
  text-decoration: none;
}

.checkout-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 5.6vw, 116px);
  border-bottom: 1px solid rgba(72, 48, 28, .13);
  background: rgba(255, 253, 249, .97);
  box-shadow: 0 8px 26px rgba(49, 29, 14, .045);
  position: sticky;
  top: 0;
  z-index: 20;
}

.checkout-header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  font-family: var(--checkout-serif);
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 800;
  color: #17120f;
  white-space: nowrap;
}

.brand-logo span {
  color: var(--checkout-gold);
  font-style: italic;
  font-weight: 500;
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.active-brand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #e7d4bc;
  border-radius: 8px;
  background: #fffdf9;
  color: #38291f;
  box-shadow: 0 5px 14px rgba(54, 34, 18, .035);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #191512;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-secure-note {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 0 18px;
  border-left: 1px solid #e2d2c1;
  color: #191512;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-whatsapp-link::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
}

.checkout-shell {
  width: min(1620px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.checkout-form-panel {
  min-width: 0;
}

.checkout-progress {
  max-width: 880px;
  margin: 0 0 24px 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.checkout-progress li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--checkout-muted);
  white-space: nowrap;
}

.checkout-progress li:not(:last-child)::after {
  content: "";
  height: 1px;
  flex: 1;
  min-width: 36px;
  margin-left: 10px;
  background: #e0c8a5;
}

.checkout-progress span {
  width: 32px;
  height: 32px;
  border: 1px solid #e0c8a5;
  border-radius: 50%;
  background: #fff;
  color: var(--checkout-gold-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 900;
}

.checkout-progress strong {
  font-size: 14px;
}

.checkout-progress .is-active {
  color: var(--checkout-ink);
}

.checkout-progress .is-active span {
  color: #fff;
  background: var(--checkout-gold);
  border-color: var(--checkout-gold);
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.checkout-step-card {
  padding: 28px;
  border: 1px solid rgba(72, 48, 28, .12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 253, 250, .98) 0%, rgba(255, 249, 241, .96) 100%);
  box-shadow: 0 10px 26px rgba(31, 22, 14, .045);
}

.checkout-step-title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0 0 20px;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #f0e1ce;
  background: #fbf4eb;
  color: var(--checkout-gold-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: var(--checkout-serif);
  font-size: 20px;
  font-weight: 900;
}

.review-step-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: currentColor;
}

.checkout-step-title h2 {
  margin: 0 0 6px;
  font-family: var(--checkout-serif);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 800;
}

.checkout-step-title p {
  margin: 0;
  color: #5d524a;
  font-size: 13px;
  line-height: 1.45;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 140, 46, .2);
  border-radius: 999px;
  background: var(--checkout-gold-soft);
  color: var(--checkout-gold-dark);
  font-family: var(--checkout-sans);
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

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

.compact-row {
  grid-template-columns: .75fr 1fr .8fr .9fr;
  gap: 14px;
}

.checkout-field {
  min-height: 62px;
  position: relative;
  display: block;
}

.checkout-field span {
  position: absolute;
  top: 9px;
  left: 15px;
  z-index: 1;
  color: #6d5d50;
  font-size: 11px;
  font-weight: 800;
}

.checkout-field input,
.checkout-field textarea,
.discount-row input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #e4d6c4;
  border-radius: 9px;
  padding: 24px 14px 8px;
  color: var(--checkout-ink);
  background: #fff;
  font: inherit;
  outline: none;
}

.checkout-field input,
.checkout-field textarea {
  min-height: 62px;
  border-color: #e3d4c4;
  border-radius: 8px;
  padding: 26px 15px 9px;
  background: #fffefc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkout-field input:focus,
.checkout-field textarea:focus,
.discount-row input:focus {
  border-color: var(--checkout-gold);
  box-shadow: 0 0 0 3px rgba(201, 140, 46, .13);
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: #bd8133;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(189, 129, 51, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.checkout-field.has-valid-mark:has(input:valid)::after {
  content: "";
  width: 8px;
  height: 14px;
  position: absolute;
  right: 17px;
  top: 22px;
  border-right: 3px solid #0b9b42;
  border-bottom: 3px solid #0b9b42;
  transform: rotate(40deg);
}

.checkout-newsletter {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d4d42;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.checkout-newsletter input {
  width: 17px;
  height: 17px;
  accent-color: var(--checkout-gold);
}

.shipping-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.shipping-option {
  min-height: 92px;
  padding: 15px 14px;
  border: 1px solid #dfd0bf;
  border-radius: 9px;
  background: #fffefc;
  display: grid;
  grid-template-columns: 20px 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(42, 28, 16, .028);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.shipping-option.is-selected {
  border-color: #8d263a;
  background: linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
  box-shadow: inset 0 0 0 1px rgba(141, 38, 58, .24), 0 10px 24px rgba(54, 34, 18, .045);
}

.shipping-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-dot {
  width: 16px;
  height: 16px;
  border: 1.5px solid #cdbdaa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}

.shipping-option.is-selected .radio-dot {
  border-color: #8d263a;
  background: #8d263a;
}

.shipping-option.is-selected .radio-dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.ship-icon {
  width: 31px;
  height: 31px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: #fbf4eb;
  display: block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.ship-copy strong {
  display: block;
  margin-bottom: 3px;
  color: #2b2119;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.ship-copy small {
  display: block;
  color: #5b5048;
  font-size: 11px;
  line-height: 1.3;
}

.ship-price {
  align-self: center;
  color: #3b2b20;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.stripe-payment-overview {
  padding: 0;
  border: 0;
  background: transparent;
}

.stripe-payment-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stripe-payment-heading strong,
.payment-method-head strong,
.paypal-disabled-card strong {
  color: var(--checkout-text);
}

.stripe-payment-heading span,
.payment-method-head span {
  color: var(--checkout-ok);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 18px 0 14px;
}

.payment-badge {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #e4d6c4;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 -1px 0 rgba(32, 22, 15, .04);
}

.payment-badge.visa {
  color: #1434cb;
  font-size: .98rem;
  font-style: italic;
  text-transform: uppercase;
}

.payment-badge.mastercard,
.payment-badge.maestro {
  color: #2b2520;
  font-size: .68rem;
}

.payment-badge .card-circles {
  width: 28px;
  height: 18px;
  position: relative;
  display: inline-block;
}

.payment-badge .card-circles::before,
.payment-badge .card-circles::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 1px;
  border-radius: 50%;
}

.payment-badge.mastercard .card-circles::before {
  left: 0;
  background: #eb001b;
}

.payment-badge.mastercard .card-circles::after {
  right: 0;
  background: rgba(247, 158, 27, .9);
}

.payment-badge.maestro .card-circles::before {
  left: 0;
  background: #009ddd;
}

.payment-badge.maestro .card-circles::after {
  right: 0;
  background: rgba(237, 0, 6, .9);
}

.payment-badge.amex {
  color: #fff;
  background: #2f86c7;
  border-color: #2f86c7;
  text-transform: uppercase;
}

.payment-badge.apple,
.payment-badge.google {
  color: #111;
}

.payment-badge.link {
  color: #00a65a;
  font-size: .95rem;
  text-transform: lowercase;
}

.payment-badge.cards,
.payment-badge.amazon,
.payment-badge.wallet {
  color: #2b2520;
}

.payment-badge.klarna {
  color: #101010;
  background: #ffd5e4;
  border-color: #ffc0d5;
}

.checkout-info-box {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid #e9dccb;
  border-radius: 10px;
  background: #fffaf2;
}

.checkout-info-box strong {
  display: block;
  margin-bottom: 5px;
}

.checkout-info-box p {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 14px;
}

.stripe-element-box {
  background: #fff;
  box-shadow: 0 12px 26px rgba(32, 22, 15, .055);
}

.payment-method-area,
.paypal-disabled-card {
  margin-top: 14px;
  border: 1px solid #e9dccb;
  border-radius: 14px;
  background: rgba(255, 253, 248, .9);
  padding: 16px;
}

.payment-method-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.stripe-active-area {
  background: linear-gradient(180deg, #fffdf8, #fff8ed);
  box-shadow: inset 0 0 0 1px rgba(201, 140, 46, .12), 0 14px 32px rgba(40, 28, 15, .055);
}

.paypal-disabled-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  background: #fffaf2;
  color: var(--checkout-muted);
  opacity: .86;
  cursor: not-allowed;
}

.paypal-disabled-card p {
  display: grid;
  gap: 2px;
  margin: 4px 0 0;
  color: var(--checkout-muted);
  font-size: .92rem;
}

.paypal-disabled-card p b,
.paypal-disabled-card p span {
  display: block;
}

.paypal-disabled-card p b {
  color: #4b3a2d;
}

.paypal-disabled-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #006bb7;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -.06em;
}

#payment-element {
  margin-top: 14px;
}

/* MICRO-STEP 5 - SOLO CSS STEP 3 PAGAMENTO REALE */
.checkout-payment-card {
  border: 1px solid #eadfd1;
  border-radius: 14px;
  background: rgba(255, 253, 249, .97);
  box-shadow: 0 10px 26px rgba(31, 22, 14, .045);
  padding: 28px 30px;
}

.checkout-payment-card .checkout-step-title {
  margin-bottom: 18px;
}

.checkout-payment-card .step-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dca12b, #bd7900);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 16px rgba(190, 121, 0, .13);
}

.checkout-payment-card .checkout-step-title h2 {
  color: #1d1713;
  font-family: var(--checkout-serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.35px;
  font-weight: 800;
}

.checkout-payment-card .checkout-step-title p {
  margin-top: 8px;
  color: #5f574f;
  font-size: 15px;
}

.checkout-payment-card .payment-method-area,
.checkout-payment-card .stripe-active-area {
  border: 1px solid #d6b172;
  border-radius: 10px;
  background: #fffefd;
  padding: 18px 16px;
  box-shadow: inset 0 0 0 1px rgba(201, 137, 15, .2);
}

.checkout-payment-card .payment-method-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 13px;
}

.checkout-payment-card .payment-method-head strong {
  color: #18130f;
  font-size: 17px;
  line-height: 1;
}

.checkout-payment-card .payment-method-head span {
  height: 24px;
  padding: 0 11px;
  border-radius: 7px;
  background: #fff1d9;
  color: #a76800;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

.checkout-payment-card .payment-badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(68px, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.checkout-payment-card .payment-badge {
  min-width: 0;
  min-height: 40px;
  height: 40px;
  border: 1px solid #e4d4c0;
  border-radius: 7px;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: inset 0 -1px 0 rgba(25, 18, 12, .025);
}

.checkout-payment-card .stripe-element-box {
  border: 1px solid #e7dacb;
  border-radius: 9px;
  background: #fff;
  padding: 16px;
  margin-top: 14px;
  box-shadow: none;
}

.checkout-payment-card .stripe-element-box strong {
  display: block;
  margin-bottom: 6px;
  color: #18130f;
  font-size: 15px;
  font-weight: 900;
}

.checkout-payment-card .stripe-element-box p {
  margin: 0 0 12px;
  color: #5f574f;
  font-size: 14px;
}

.checkout-payment-card #payment-element {
  margin-top: 12px;
}

.checkout-payment-card .checkout-pay-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #c27c00, #d59a22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(194, 124, 0, .18);
}

.checkout-payment-card .form-message {
  text-align: center;
  margin-top: 14px;
}

.checkout-payment-card .paypal-disabled-card {
  min-height: 76px;
  border: 1px solid #eadfd1;
  border-radius: 9px;
  background: #fffdf8;
  padding: 16px;
  margin-top: 14px;
}

.checkout-pay-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #d59a34, #ad6e16);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 15px 30px rgba(177, 112, 22, .22);
}

.checkout-pay-button:disabled {
  opacity: .62;
  cursor: wait;
}

.checkout-secondary-button {
  min-height: 52px;
  border: 1px solid #e4d6c4;
  border-radius: 8px;
  background: #fff;
  color: #241812;
  font-weight: 900;
  padding: 0 18px;
  cursor: pointer;
}

.checkout-secondary-button:hover {
  border-color: var(--checkout-gold);
}

.checkout-review-card {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.checkout-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.checkout-review-box {
  min-height: 126px;
  position: relative;
  display: grid;
  align-content: center;
  padding: 24px 32px 24px 96px;
  border: 1px solid #eadfd1;
  border-radius: 14px;
  background: rgba(255, 253, 249, .97);
  box-shadow: 0 10px 26px rgba(31, 22, 14, .045);
}

.checkout-review-box::before {
  content: "";
  width: 46px;
  height: 46px;
  position: absolute;
  left: 30px;
  top: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dca12b, #bd7900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 16px rgba(190, 121, 0, .13);
}

.checkout-review-box::after {
  content: "";
  width: 13px;
  height: 13px;
  position: absolute;
  left: 46px;
  top: 40px;
  border-radius: 50%;
  background: #fff;
  opacity: .96;
}

.checkout-review-box h3 {
  margin: 0 0 14px;
  color: #1d1713;
  font-family: var(--checkout-serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.35px;
  font-weight: 800;
}

.checkout-review-box p {
  margin: 6px 0;
  color: #4e4740;
  font-size: 17px;
  line-height: 1.45;
}

.checkout-review-box strong {
  color: #18130f;
  font-weight: 900;
}

.checkout-review-items {
  display: grid;
  gap: 12px;
}

.checkout-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 0 0 12px;
  border-bottom: 1px solid #eadfd1;
}

.checkout-review-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-review-item strong,
.checkout-review-item small {
  display: block;
}

.checkout-review-item small,
.checkout-review-item span {
  color: #6a625a;
  font-size: 15px;
  line-height: 1.35;
}

.checkout-review-total {
  min-height: 196px;
  align-content: start;
}

.checkout-review-total p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0;
  color: #504942;
  font-size: 17px;
  line-height: 1.45;
}

.checkout-review-total .review-grand-total {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #eadfd1;
  color: #18130f;
}

.checkout-review-total .review-grand-total strong {
  color: #18130f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.35px;
}

.checkout-review-actions {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 10px;
}

.checkout-review-actions button,
.checkout-review-actions .checkout-secondary-button,
.checkout-review-actions [data-review-pay] {
  min-height: 58px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
}

.checkout-review-actions .checkout-secondary-button {
  border: 1px solid #e1c99f;
  background: #fffdf9;
  color: #1f1a16;
  box-shadow: none;
}

.checkout-review-actions [data-review-pay] {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #c27c00, #d59a22);
  box-shadow: 0 12px 24px rgba(194, 124, 0, .18);
  font-size: 23px;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--checkout-muted);
  font-size: 14px;
  font-weight: 700;
}

.form-message.error {
  color: var(--checkout-danger);
}

.form-message.notice {
  color: var(--checkout-ok);
}

.order-summary {
  position: sticky;
  top: 96px;
}

.summary-card {
  padding: 26px;
  border: 1px solid #ead9c4;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 253, 250, .98) 0%, rgba(255, 248, 241, .96) 100%);
  box-shadow: 0 18px 58px rgba(48, 31, 18, .075);
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(234, 217, 196, .78);
}

.summary-eyebrow {
  margin: 0;
  font-family: var(--checkout-serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.summary-head a {
  color: var(--checkout-gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
}

.summary-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  padding-bottom: 15px;
  border-bottom: 1px solid #eadfd2;
}

.summary-products {
  display: grid;
  gap: 13px;
}

.summary-products .summary-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-image {
  width: 92px;
  height: 88px;
  border: 1px solid #e8dccf;
  border-radius: 8px;
  overflow: hidden;
  background: #f5ecdf;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.summary-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.placeholder-art {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 10px;
  text-align: center;
  color: #9a651d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.summary-image.image-missing img {
  display: none;
}

.summary-image.image-missing .placeholder-art {
  display: grid;
}

.quantity-badge {
  width: 22px;
  height: 22px;
  position: absolute;
  right: -4px;
  top: -5px;
  border-radius: 50%;
  background: #2b221c;
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fffaf4;
  font-size: 11px;
  font-weight: 900;
  z-index: 2;
}

.summary-info h3 {
  margin: 3px 0 5px;
  color: #17120f;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-info small,
.summary-info p,
.summary-info em {
  display: block;
  margin: 0 0 5px;
  color: #5a5048;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.summary-product > strong {
  margin-top: 22px;
  color: #17120f;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.summary-divider {
  height: 1px;
  margin: 19px 0;
  background: #eadfd2;
}

.summary-brand-line,
.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  font-size: 14px;
}

.summary-brand-line {
  color: #5f554d;
  font-size: 13px;
}

.summary-brand-line strong {
  color: var(--checkout-gold-dark);
}

.summary-line strong {
  color: #17120f;
  font-weight: 900;
  white-space: nowrap;
}

.summary-line.discount-applied strong {
  color: var(--checkout-ok);
}

.discount-row {
  margin: 18px 0 16px;
}

.discount-row div {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 10px;
}

.discount-row input {
  min-height: 44px;
  border-color: #dfd1c3;
  border-radius: 7px;
  padding: 0 13px;
  background: #fff;
  font-size: 13px;
}

.discount-row button {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #d29b57, #ac7431);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(172, 116, 49, .18);
  font-weight: 900;
}

.discount-row small {
  display: block;
  margin-top: 8px;
  color: #6d625a;
  font-size: 12px;
  line-height: 1.35;
}

.summary-line.total {
  align-items: baseline;
  margin-top: 17px;
  padding-top: 18px;
  border-top: 1px solid #e8dccc;
}

.summary-line.total span {
  font-family: var(--checkout-serif);
  font-size: 24px;
  font-weight: 800;
}

.summary-line.total strong {
  color: #17120f;
  font-size: 30px;
  letter-spacing: 0;
}

.tax-note,
.privacy-note {
  color: #6a5f57;
  font-size: 12px;
  line-height: 1.45;
}

.tax-note,
.privacy-note,
.checkout-legal {
  color: var(--checkout-muted);
  font-size: 13px;
}

.privacy-note {
  margin: 18px 0 0;
  text-align: center;
}

.checkout-legal {
  display: none;
}

.summary-return-box {
  margin-top: 20px;
  padding: 17px 18px;
  border: 1px solid #ead8bf;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf1 0%, #fff6ea 100%);
  display: grid;
  gap: 16px;
}

.summary-trust-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.summary-trust-item > span {
  width: 28px;
  height: 28px;
  color: #bd8133;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.summary-trust-item svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.summary-trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: #17120f;
  font-size: 13px;
}

.summary-trust-item p {
  margin: 0;
  color: #5f554d;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-help-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.checkout-help-bar div {
  min-height: 70px;
  padding: 14px;
  border: 1px solid var(--checkout-line);
  border-radius: 10px;
  background: rgba(255, 253, 248, .86);
  box-shadow: 0 8px 26px rgba(32, 22, 15, .04);
}

.checkout-help-bar strong,
.checkout-help-bar small {
  display: block;
}

.checkout-help-bar small {
  margin-top: 5px;
  color: var(--checkout-muted);
  font-size: 12px;
}

.checkout-footer-menu {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--checkout-line);
}

.checkout-footer-menu nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.checkout-footer-menu a {
  color: var(--checkout-muted);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  body.checkout-body {
    background: #fffaf4;
  }

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

  .order-summary {
    position: static;
    order: -1;
  }

  .checkout-progress {
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

@media (max-width: 760px) {
  .checkout-header {
    min-height: 70px;
    padding: 18px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .checkout-header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .active-brand-badge {
    min-height: 36px;
    padding: 0 14px;
  }

  .checkout-secure-note {
    padding-left: 0;
    border-left: 0;
  }

  .checkout-shell {
    width: min(100% - 28px, 1620px);
    padding-top: 18px;
  }

  .checkout-progress {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .checkout-step-card,
  .summary-card {
    padding: 18px;
    border-radius: 16px;
  }

  .checkout-review-box {
    min-height: auto;
    padding: 20px;
  }

  .checkout-review-box::before,
  .checkout-review-box::after {
    display: none;
  }

  .form-row,
  .compact-row,
  .shipping-options,
  .checkout-review-grid,
  .checkout-review-actions,
  .checkout-review-item,
  .checkout-help-bar {
    grid-template-columns: 1fr;
  }

  .checkout-review-item {
    align-items: start;
  }

  .checkout-review-actions [data-review-pay] {
    font-size: 19px;
  }

  .summary-product {
    grid-template-columns: 80px 1fr;
  }

  .summary-image {
    width: 80px;
    height: 80px;
  }

  .summary-product > strong {
    grid-column: 2;
  }

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