/* =========================
   Cart / checkout
========================= */

.cart-page {
  background: #fff;
  padding: 28px 0 52px;
}

.cart-page,
.cart-page * {
  box-sizing: border-box;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-items,
.checkout-steps,
.cart-main,
.checkout-form,
.checkout-side-stack {
  display: grid;
  gap: 16px;
}

.cart-alert {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.cart-alert--error {
  background: #fff4f2;
  border: 1px solid #f0c9c1;
  color: #934036;
}

/* =========================
   Shared summary
========================= */

.cart-summary {
  background: #fff;
  border: 1px solid #efe5da;
  border-radius: 22px;
  padding: 24px;
}

.cart-summary h2 {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
  color: #2a2320;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #645950;
  padding: 10px 0;
}

.cart-summary__row--total {
  border-top: 1px solid #e7ddd2;
  margin-top: 8px;
  padding-top: 18px;
  font-size: 18px;
  color: #2a2320;
}

.cart-summary__button {
  width: 100%;
  margin-top: 18px;
}

.btn.is-disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-summary__link {
  display: inline-block;
  margin-top: 16px;
  color: #6a5d53;
  font-size: 14px;
}

.cart-summary__benefits,
.checkout-summary__benefits {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e7ddd2;
  color: #655951;
  font-size: 14px;
}

/* =========================
   Checkout mini summary
========================= */

.summary-mini-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e7ddd2;
}

.summary-mini-item__image {
  min-height: 64px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.summary-mini-item__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.summary-mini-item__content strong {
  font-size: 14px;
  line-height: 1.45;
  color: #2f2722;
  word-break: break-word;
}

.summary-mini-item__content span,
.summary-mini-item__price {
  color: #6b5f55;
  font-size: 13px;
}

.summary-mini-item__price {
  white-space: nowrap;
}

/* =========================
   Auth - temporary
========================= */

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

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

.auth-card--wide {
  max-width: 860px;
}

.auth-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 14px 0 18px;
}

.auth-card__button {
  width: 100%;
}

.auth-card__bottom-text {
  margin-top: 16px;
  color: #655951;
  font-size: 14px;
}

/* =========================
   Cart / checkout headings
========================= */

.cart-top,
.checkout-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.cart-top h1,
.checkout-top h1 {
  margin: 6px 0 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
  color: #1f1f1f;
}

.cart-free-shipping {
  min-width: 280px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7f1ea;
  border: 1px solid #eee3d6;
  display: grid;
  gap: 4px;
}

.cart-free-shipping strong {
  color: #2a2320;
  font-size: 15px;
}

.cart-free-shipping span {
  color: #75685f;
  font-size: 13px;
}

/* =========================
   Cart item
========================= */

.cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: start;
  padding: 20px;
  background: #fff;
  border: 1px solid #efe5da;
  border-radius: 22px;
}

.cart-item__image {
  width: 116px;
  min-height: 116px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cart-item__content {
  min-width: 0;
}

.cart-item__content h3 {
  margin: 4px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
  color: #2a2320;
}

.cart-item__content h3 a {
  color: inherit;
  text-decoration: none;
}

.cart-item__content h3 a:hover {
  color: var(--gold);
}

.cart-item__availability {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #2d7a46;
}

.cart-item__availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 8px;
}

.cart-item__availability--in { color: #2d7a46; }
.cart-item__availability--order { color: #b58a54; }
.cart-item__availability--out,
.cart-item__availability--soldout { color: #c94b4b; }

.cart-item__stock-alert {
  width: 100%;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff4f2;
  border: 1px solid #f0c9c1;
  color: #a44235;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.cart-item__gift {
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: left;
  margin-bottom: 12px;
}

.cart-item__gift-note {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fcfaf9;
  border: 1px solid #eee3d6;
  color: #5f5249;
  font-size: 13px;
  line-height: 1.55;
}

.cart-item__gift-note strong {
  color: #2f2722;
}

.cart-item__gift-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cart-item__gift-link,
.cart-item__gift-add,
.cart-item__gift-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a7a6c;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.cart-item__gift-add {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 600;
}

.cart-item__gift-link:hover,
.cart-item__gift-add:hover,
.cart-item__gift-cancel:hover {
  color: #2a2320;
}

.cart-item__gift-link--danger {
  color: #a15b5b;
}

.cart-item__gift-icon,
.cart-item__gift-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: inline-flex;
}

.cart-item__gift-form {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #fcfaf9;
  border: 1px solid #eee3d6;
}

.cart-item__gift-form[hidden] {
  display: none !important;
}

.cart-item__gift-label {
  color: #574d46;
  font-size: 13px;
  font-weight: 700;
}

.cart-item__gift-form textarea {
  width: 100%;
  min-height: 86px;
  padding: 12px;
  border: 1px solid #e7ddd2;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  -webkit-text-fill-color: var(--text);
  opacity: 1;
}

.cart-item__gift-form textarea::placeholder {
  color: #a89c92;
}

.cart-item__gift-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cart-item__gift-save {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cart-item__gift-cancel {
  min-height: 38px;
}

.cart-item__remove {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  color: #8a7a6c;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: #2a2320;
}

.cart-item__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: end;
  align-items: end;
  align-self: start;
}

.cart-item__qty-wrap {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.cart-item__qty {
  display: grid;
  grid-template-columns: 38px 56px 38px;
  gap: 8px;
  align-items: center;
}

.cart-item__qty a,
.cart-item__qty button,
.cart-item__qty span {
  text-decoration: none;
}

.cart-item__qty-btn,
.cart-item__qty-value {
  min-height: 42px;
  border: 1px solid #e7ddd2;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item__qty-btn {
  padding: 0;
  color: #2f2722;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cart-item__qty-btn.is-disabled {
  opacity: 0.48;
  background: #f7f3ef;
  color: #9b9188;
  cursor: not-allowed;
}

.cart-item__qty-value {
  color: var(--text);
  font-weight: 700;
}

.cart-item__qty-message {
  display: none;
  max-width: 220px;
  color: #7a6e65;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.cart-item__qty-message.is-visible { display: block; }
.cart-item__qty-message--warning { color: #9b6b2f; }
.cart-item__qty-message--error { color: #c94b4b; font-weight: 700; }

.cart-item__price {
  font-size: 24px;
  font-weight: 700;
  color: #2a2320;
}

.cart-item__price-block {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.cart-item__price-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-item__price-main strong {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  color: #2a2320;
}

.cart-item__price-main span,
.cart-item__price-unit {
  font-size: 13px;
  line-height: 1.35;
  color: #8a7d72;
}

.cart-item__price-old-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-item__price-old {
  font-size: 13px;
  line-height: 1.35;
  color: #a0968e;
  text-decoration: line-through;
}

.cart-item__discount {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fbe7ef;
  color: #c25682;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.cart-help {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #fcfaf9;
  border: 1px solid #eee3d6;
  border-radius: 20px;
}

.cart-help__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f4ede5;
  color: #8b6a3f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.cart-help__title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #2a2320;
}

.cart-help p {
  margin: 0;
  color: #6b5f55;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   Empty cart
========================= */

.cart-page--empty { padding: 28px 0 52px; }
.cart-top--empty { justify-content: center; text-align: center; margin-bottom: 22px; }

.cart-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 34px 34px;
  background: #fff;
  border: 1px solid #efe5da;
  border-radius: 26px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.cart-empty__icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fcfaf9 0%, #f7f1ea 100%);
  border: 1px solid #eee3d6;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-empty__icon svg { width: 34px; height: 34px; fill: currentColor; }
.cart-empty__eyebrow { display: inline-block; margin-bottom: 8px; color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.cart-empty h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.12; color: #2a2320; }
.cart-empty p { max-width: 560px; margin: 14px auto 0; color: #645950; font-size: 17px; line-height: 1.75; }
.cart-empty__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-secondary { background: #fff; color: #2a2320; border: 1px solid #e7ddd2; }
.btn-secondary:hover { background: #fcfaf9; }
.cart-empty__benefits { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid #eee3d6; color: #655951; font-size: 14px; }

/* =========================
   Checkout page
========================= */

.checkout-page {
  background: #fff;
  overflow-x: hidden;
}

.checkout-page .container,
.checkout-layout,
.checkout-layout__form,
.checkout-form,
.checkout-summary,
.checkout-side-stack,
.checkout-block,
.checkout-grid,
.form-field,
.coupon-row,
.checkout-radio-list {
  min-width: 0;
}

.checkout-page .checkout-layout {
  display: block;
  width: 100%;
}

.checkout-layout__form {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(360px, 5fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  margin: 0;
}

.checkout-summary {
  width: 100%;
}

.checkout-login-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid #efe5da;
  border-radius: 22px;
  background: #fcfaf9;
}

.checkout-login-box strong {
  display: block;
  margin-bottom: 3px;
  color: #2a2320;
  font-size: 16px;
}

.checkout-login-box span {
  color: #6b5f55;
  font-size: 14px;
  line-height: 1.45;
}

.checkout-login-box__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-login-box__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #e1d4c6;
  background: #fff;
  color: #2f2722;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-login-box__actions a:hover { background: #f7f1ea; }

.checkout-block {
  background: #fff;
  border: 1px solid #efe5da;
  border-radius: 22px;
  padding: 24px;
}

.checkout-block h2 {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.15;
  color: #2a2320;
}

.checkout-block--nested {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #fcfaf9;
}

.checkout-block--conditional.is-hidden,
.checkout-block--nested.is-hidden,
.is-hidden { display: none !important; }

.checkout-grid {
  display: grid;
  gap: 16px;
}

.checkout-block > .checkout-grid + .checkout-grid,
.checkout-block > .checkout-grid + .form-field,
.checkout-block > .form-field + .checkout-grid,
.checkout-block > .form-field + .form-field,
.checkout-block > .checkout-radio-list,
.checkout-block > .coupon-row,
.checkout-block > .checkout-checkbox-list,
.checkout-block > .checkout-checkbox + .checkout-block--nested {
  margin-top: 16px;
}

.checkout-grid--1 { grid-template-columns: 1fr; }
.checkout-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout-grid--phone { grid-template-columns: 120px minmax(0, 1fr); }
.checkout-grid__narrow,
.checkout-grid__prefix { max-width: none; }

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #574d46;
  font-size: 14px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea,
.coupon-row input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8c8b8;
  border-radius: 14px;
  background-color: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  -webkit-text-fill-color: var(--text);
  opacity: 1;
}

.form-field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder,
.coupon-row input::placeholder { color: #a89c92; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.coupon-row input:focus {
  border-color: #b58a54;
  box-shadow: 0 0 0 3px rgba(181, 138, 84, 0.12);
}

.form-field input.is-error,
.form-field textarea.is-error,
.form-field select.is-error {
  border-color: #b94a48;
  box-shadow: inset 0 0 0 1px #b94a48;
}

.checkout-error-text { display: none; color: #b94a48; font-size: 12px; margin-top: -2px; }
.checkout-error-text.is-visible { display: block; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a6f67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}

.phone-prefix { text-align: center; }

.checkout-radio-list {
  display: grid;
  gap: 12px;
}

.checkout-radio-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #e7ddd2;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}

.checkout-radio-card input {
  margin: 0;
  accent-color: var(--accent);
}

.checkout-radio-card span {
  display: grid;
  gap: 4px;
  color: #635851;
  min-width: 0;
  word-break: break-word;
}

.checkout-radio-card strong {
  color: #2f2722;
  font-size: 15px;
}

.checkout-radio-card small {
  color: #7a6e65;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-radio-card em {
  color: #2f2722;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-radio-card.is-active,
.checkout-radio-card:has(input:checked) {
  border-color: #b58a54;
  box-shadow: inset 0 0 0 1px #b58a54;
  background: #fcfaf9;
}

.coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.coupon-row__button {
  min-width: 110px;
  white-space: nowrap;
  justify-content: center;
}

.checkout-checkbox-list {
  display: grid;
  gap: 12px;
}

.checkout-checkbox-list--summary {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e7ddd2;
}

.checkout-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #655951;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.checkout-checkbox input {
  margin-top: 4px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.checkout-checkbox span { word-break: break-word; }
.checkout-checkbox--headline { margin: 0; color: #2a2320; font-weight: 700; }

.checkout-legal-note {
  margin: 14px 0 0;
  color: #7a6f67;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================
   Tablet
========================= */

@media (max-width: 1100px) {
  .cart-layout,
  .checkout-layout__form {
    grid-template-columns: 1fr;
  }

  .cart-top,
  .checkout-top {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-free-shipping {
    min-width: 0;
  }

  .checkout-summary {
    width: 100%;
    order: 2;
  }

  .cart-item {
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
  }

  .cart-item__image {
    width: 100px;
    min-height: 100px;
  }

  .cart-item__controls {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: end;
    justify-items: stretch;
    gap: 12px 18px;
  }

  .cart-item__qty-wrap {
    justify-items: start;
  }

  .cart-item__qty-message {
    text-align: left;
  }

  .cart-item__price-block {
    justify-items: end;
    text-align: right;
  }

  .cart-help {
    grid-template-columns: 50px 1fr;
  }

  .cart-help .btn {
    grid-column: 1 / -1;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 640px) {
  .cart-page,
  .cart-page--empty {
    padding: 22px 0 36px;
  }

  .cart-top,
  .checkout-top {
    margin-bottom: 20px;
  }

  .cart-top h1,
  .checkout-top h1 {
    font-size: 26px;
  }

  .cart-summary,
  .checkout-block {
    padding: 20px;
    border-radius: 20px;
  }

  .checkout-login-box {
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .checkout-login-box__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-login-box__actions a,
  .coupon-row__button,
  .coupon-row .btn {
    width: 100%;
  }

  .checkout-block h2,
  .cart-summary h2 {
    font-size: 22px;
  }

  .checkout-block > .checkout-grid + .checkout-grid,
  .checkout-block > .checkout-grid + .form-field,
  .checkout-block > .form-field + .checkout-grid,
  .checkout-block > .form-field + .form-field,
  .checkout-block > .checkout-radio-list,
  .checkout-block > .coupon-row,
  .checkout-block > .checkout-checkbox-list,
  .checkout-block > .checkout-checkbox + .checkout-block--nested {
    margin-top: 14px;
  }

  .checkout-grid--2,
  .checkout-grid--3,
  .coupon-row {
    grid-template-columns: 1fr;
  }

  .checkout-grid--phone {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .checkout-radio-card {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .checkout-radio-card em {
    grid-column: 2;
    justify-self: start;
  }

  .summary-mini-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .summary-mini-item__image {
    min-height: 56px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea,
  .coupon-row input {
    font-size: 16px;
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 22px;
  }

  .cart-item__image {
    width: 96px;
    min-height: 96px;
    border-radius: 16px;
  }

  .cart-item__content h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.12;
  }

  .cart-item__gift {
    width: 100%;
    margin-bottom: 12px;
  }

  .cart-item__gift-form textarea {
    font-size: 16px;
  }

  .cart-item__gift-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cart-item__gift-save {
    width: 100%;
  }

  .cart-item__gift-cancel {
    justify-content: center;
    text-align: center;
  }

  .cart-item__controls {
    grid-column: 1 / -1;
    width: 100%;
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "qty spacer price"
      "msg msg price";
    gap: 8px 14px;
    align-items: end;
    justify-items: stretch;
    margin-top: 4px;
  }

  .cart-item__qty-wrap {
    display: contents;
  }

  .cart-item__qty {
    grid-area: qty;
    justify-self: start;
    display: grid;
    grid-template-columns: 46px 54px 46px;
    gap: 4px;
  }

  .cart-item__qty-btn,
  .cart-item__qty-value {
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1;
  }

  .cart-item__qty-value {
    min-width: 52px;
    font-weight: 800;
  }

  .cart-item__qty-btn {
    font-size: 20px;
  }

  .cart-item__qty-message {
    grid-area: msg;
    justify-self: start;
    width: 100%;
    max-width: 280px;
    margin-top: 6px;
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
  }

  .cart-item__price-block {
    grid-area: price;
    justify-self: end;
    align-self: end;
  }

  .cart-item__price-main strong {
    font-size: 28px;
    line-height: 1;
  }

  .cart-help {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
  }

  .cart-help__icon {
    margin: 0 auto;
  }

  .cart-empty {
    padding: 30px 18px 24px;
    border-radius: 22px;
  }

  .cart-empty__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-empty__actions .btn {
    width: 100%;
  }

  .cart-empty__benefits {
    display: grid;
    gap: 9px;
    text-align: center;
  }
}

/* =========================
   Cart coupon
========================= */

.cart-coupon {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7ddd2;
}

.cart-coupon__label {
  color: #2a2320;
  font-size: 14px;
  font-weight: 700;
}

.cart-coupon__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.cart-coupon__input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d8c8b8;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  -webkit-text-fill-color: var(--text);
  text-transform: uppercase;
}

.cart-coupon__input::placeholder {
  color: #a89c92;
  text-transform: none;
}

.cart-coupon__input:focus {
  border-color: #b58a54;
  box-shadow: 0 0 0 3px rgba(181, 138, 84, 0.12);
}

.cart-coupon__button {
  min-height: 46px;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}

.cart-coupon__button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.cart-coupon__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fcfaf9;
  border: 1px solid #eee3d6;
  color: #5f5249;
  font-size: 13px;
  line-height: 1.45;
}

.cart-coupon__applied[hidden],
.cart-coupon__message[hidden],
#cartDiscountRow[hidden] {
  display: none !important;
}

.cart-coupon__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a15b5b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.cart-coupon__message {
  color: #7a6e65;
  font-size: 13px;
  line-height: 1.45;
}

.cart-coupon__message.is-success {
  color: #2d7a46;
}

.cart-coupon__message.is-error {
  color: #c94b4b;
  font-weight: 700;
}

@media (max-width: 640px) {
  .cart-coupon__row {
    grid-template-columns: 1fr;
  }

  .cart-coupon__button {
    width: 100%;
  }

  .cart-coupon__applied {
    display: grid;
    justify-items: start;
  }
}
/* =========================
   Cart loyalty points
========================= */

.cart-points {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7ddd2;
}

.cart-points__label {
  color: #2a2320;
  font-size: 14px;
  font-weight: 700;
}

.cart-points__info {
  color: #6b5f55;
  font-size: 13px;
  line-height: 1.45;
}

.cart-points__info strong {
  color: #2a2320;
}

.cart-points__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.cart-points__input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d8c8b8;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  -webkit-text-fill-color: var(--text);
}

.cart-points__input::placeholder {
  color: #a89c92;
}

.cart-points__input:focus {
  border-color: #b58a54;
  box-shadow: 0 0 0 3px rgba(181, 138, 84, 0.12);
}

.cart-points__button {
  min-height: 46px;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}

.cart-points__button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.cart-points__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fcfaf9;
  border: 1px solid #eee3d6;
  color: #5f5249;
  font-size: 13px;
  line-height: 1.45;
}

.cart-points__applied[hidden],
.cart-points__message[hidden] {
  display: none !important;
}

.cart-points__remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a15b5b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.cart-points__message {
  color: #7a6e65;
  font-size: 13px;
  line-height: 1.45;
}

.cart-points__message.is-success {
  color: #2d7a46;
}

.cart-points__message.is-error {
  color: #c94b4b;
  font-weight: 700;
}

@media (max-width: 640px) {
  .cart-points__row {
    grid-template-columns: 1fr;
  }

  .cart-points__button {
    width: 100%;
  }

  .cart-points__applied {
    display: grid;
    justify-items: start;
  }
}

/* =========================
   Cart loyalty points refinements
========================= */

.cart-points__rate {
  display: block;
  margin-top: 4px;
  color: #8a7d72;
  font-size: 12px;
  line-height: 1.4;
}

.cart-points--info {
  padding: 14px 14px 18px;
  border: 1px solid #eee3d6;
  border-radius: 18px;
  background: #fcfaf9;
}

.cart-points--info .cart-points__label {
  margin-bottom: 2px;
}

.cart-points__login {
  width: 100%;
  margin-top: 4px;
}

/* =========================
   Checkout final wiring
========================= */

.checkout-hidden-inputs {
  display: none !important;
}

.checkout-side-block .cart-coupon,
.checkout-side-block .cart-points {
  margin-bottom: 0;
}

.checkout-side-block .cart-coupon + .cart-points,
.checkout-side-block .cart-points + .cart-points {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e7ddd2;
}

.checkout-summary__earned {
  color: #8b6a3f;
}

.summary-mini-item__gift {
  color: #8a7d72;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-checkbox input.is-error {
  outline: 2px solid #b94a48;
  outline-offset: 2px;
}

.cart-summary__row.is-hidden,
.checkout-summary__row.is-hidden {
  display: none !important;
}

/* Červený rámik má patriť iba formulárovým poliam, nie hláškam ku kupónu/bodom. */
.checkout-form input.is-error,
.checkout-form select.is-error,
.checkout-form textarea.is-error {
  border-color: #b94a48 !important;
  box-shadow: inset 0 0 0 1px #b94a48 !important;
}

@media (max-width: 640px) {
  .checkout-summary__earned {
    display: grid;
    gap: 4px;
  }
}

/* =========================
   Checkout secondary currency
========================= */

.checkout-secondary-total {
  display: grid;
  gap: 4px;
  margin-top: -2px;
  padding: 0 0 12px;
  text-align: right;
  color: #7a6e65;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-secondary-total__price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.checkout-secondary-total__price strong {
  color: #2a2320;
  font-size: 13px;
  font-weight: 700;
}

.checkout-secondary-total__note {
  color: #8a7d72;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .checkout-secondary-total {
    text-align: left;
  }

  .checkout-secondary-total__price {
    justify-content: flex-start;
  }
}


/* =========================
   Completed order page
========================= */

.completed-page {
  background: #fff;
}

.completed-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 28px;
  border: 1px solid #efe5da;
  border-radius: 28px;
  background: linear-gradient(180deg, #fcfaf9 0%, #f7f1ea 100%);
}

.completed-card__icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eee3d6;
  color: #2d7a46;
  font-size: 34px;
  font-weight: 800;
}

.completed-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.completed-badge--success {
  background: #edf8f0;
  color: #2d7a46;
}

.completed-badge--warning {
  background: #fff5e5;
  color: #9b6b2f;
}

.completed-card h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: #2a2320;
}

.completed-card p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #645950;
  font-size: 16px;
  line-height: 1.75;
}

.completed-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.completed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.completed-layout--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.completed-bank__grid,
.completed-summary__rows {
  display: grid;
  gap: 0;
}

.completed-bank__row,
.completed-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #eee3d6;
  color: #645950;
  font-size: 14px;
  line-height: 1.45;
}

.completed-bank__row span,
.completed-summary__row span {
  color: #7a6e65;
}

.completed-bank__row strong,
.completed-summary__row strong {
  color: #2a2320;
  text-align: right;
  word-break: break-word;
}

.completed-summary__row--total {
  border-bottom: 0;
  padding-top: 16px;
  font-size: 18px;
}

.completed-bank__qr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #eee3d6;
  border-radius: 18px;
  background: #fcfaf9;
}

.completed-bank__qr strong {
  display: block;
  margin-bottom: 5px;
  color: #2a2320;
  font-size: 15px;
}

.completed-bank__qr span {
  display: block;
  color: #6b5f55;
  font-size: 13px;
  line-height: 1.55;
}

.completed-bank__qr img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 14px;
  background: #fff;
}

.completed-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 26px auto 0;
}

@media (max-width: 900px) {
  .completed-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .completed-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .completed-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .completed-card__actions .btn,
  .completed-actions .btn {
    width: 100%;
  }

  .completed-bank__row,
  .completed-summary__row {
    display: grid;
    gap: 4px;
  }

  .completed-bank__row strong,
  .completed-summary__row strong {
    text-align: left;
  }

  .completed-bank__qr {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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