/* =========================================================
   BloomCard — CSS Giỏ hàng (Cart)
   Bố cục chuẩn theo thiết kế, tông màu pastel Ranunculus của web
   ========================================================= */

html {
  height: 100%;
}

body.cart-page-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

body.cart-page-body .cart-section {
  flex: 1 0 auto;
  padding: 40px 0 60px;
}

body.cart-page-body .cart-footer {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  padding: 24px 0;
}

body.cart-page-body .cart-footer .footer__inner {
  justify-content: center;
  text-align: center;
}

body.cart-page-body .cart-footer p {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e5a4c;
}

/* Header giỏ hàng */
.cart-header {
  margin-bottom: 24px;
}

.cart-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: var(--ink);
  line-height: 1.25;
}

/* Bố cục 2 cột */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Cột danh sách sản phẩm */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Thẻ sản phẩm trong giỏ */
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid rgba(216, 160, 174, 0.3);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 10px 25px -15px rgba(61, 42, 51, 0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.cart-item:hover {
  border-color: rgba(197, 68, 116, 0.4);
  box-shadow: 0 12px 30px -15px rgba(197, 68, 116, 0.15);
}

.cart-item__media {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fbf5f5;
  border: 1px solid rgba(216, 160, 174, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Cụm thao tác bên phải thẻ sản phẩm */
.cart-item__side {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.cart-item__qty-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Nút Xóa màu đỏ/berry nổi bật */
.cart-item__del {
  background: #fef0f2;
  color: #d13b5e;
  border: 1px solid rgba(209, 59, 94, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-item__del:hover {
  background: #d13b5e;
  color: var(--white);
  border-color: #d13b5e;
  transform: translateY(-1px);
}

/* Cột phải: Bảng tóm tắt đơn hàng */
.cart-summary {
  background: var(--white);
  border: 1.5px solid rgba(216, 160, 174, 0.35);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 16px 40px -18px rgba(197, 68, 116, 0.18);
  position: sticky;
  top: 90px;
}

.cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.cart-summary__value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--berry);
}

.cart-summary__divider {
  height: 1px;
  background: rgba(216, 160, 174, 0.3);
  margin: 20px 0;
}

.cart-summary__shipping {
  margin-bottom: 24px;
}

.shipping-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.shipping-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* Cụm nút thao tác trong tóm tắt: Quay lại bên trái, Thanh toán bên phải */
.cart-summary__actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
  margin-top: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 999px;
  background: #fbf3f5;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid rgba(216, 160, 174, 0.4);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.btn-back:hover {
  background: var(--blush);
  color: var(--berry);
  border-color: var(--berry);
  transform: translateY(-1px);
}

.btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--berry), #df6b93);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  border: none;
  box-shadow: 0 8px 20px -8px rgba(197, 68, 116, 0.65);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(197, 68, 116, 0.8);
  background: linear-gradient(135deg, var(--berry-dark), var(--berry));
}

.btn-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Giỏ hàng trống */
.cart-empty {
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(216, 160, 174, 0.35);
  border-radius: 24px;
  padding: 56px 24px;
  margin: 16px auto;
  box-shadow: 0 10px 30px -15px rgba(197, 68, 116, 0.1);
  animation: fadeSlideUp 0.3s ease;
}

.cart-empty__title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  margin: 0 auto 10px auto;
  text-align: center;
  line-height: 1.4;
  width: 100%;
}

.cart-empty__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 auto 24px auto;
  text-align: center;
  line-height: 1.55;
  max-width: 580px;
  width: 100%;
}

.cart-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: 999px;
  background: var(--berry);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0 auto;
  box-shadow: 0 8px 20px -6px rgba(197, 68, 116, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-empty__btn:hover {
  background: var(--berry-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(197, 68, 116, 0.55);
  color: #ffffff;
}

/* =========================================================
   Modal Thanh toán chuyển khoản — 2 cột + 2 bước mobile
   ========================================================= */
.ck-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(61, 42, 51, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.ck-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ck-modal__dialog {
  background: var(--white);
  border: 1.5px solid rgba(216, 160, 174, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 60px -20px rgba(61, 42, 51, 0.35);
  width: min(500px, 100%);
  max-height: 94vh;
  overflow-y: auto;
  padding: 24px 26px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s;
}

.ck-modal__dialog--wide {
  width: min(920px, 100%);
}

.ck-modal.is-open .ck-modal__dialog {
  transform: translateY(0) scale(1);
}

.ck-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #fbf0f2;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 5;
}

.ck-modal__close:hover {
  background: var(--blush);
  color: var(--berry);
}

.ck-modal__head {
  margin-bottom: 16px;
}

.ck-modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 4px;
  padding-right: 40px;
}

.ck-modal__head p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Step Indicator (mobile/tablet only) ---------- */
.ck-steps {
  display: none; /* ẩn trên desktop */
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.ck-steps__item {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.ck-steps__item.is-active {
  opacity: 1;
}

.ck-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--berry);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.3s, color 0.3s;
}

.ck-steps__item.is-active .ck-steps__num {
  background: var(--berry);
  color: var(--white);
}

.ck-steps__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.ck-steps__line {
  width: 40px;
  height: 2px;
  background: rgba(216, 160, 174, 0.4);
  border-radius: 2px;
}

/* ---------- Body: 2 cột desktop ---------- */
.ck-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Cột form */
.ck-col-form {
  display: flex;
  flex-direction: column;
}

/* Mã đơn hàng */
.ck-order-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #faf4f5;
  border: 1px solid rgba(216, 160, 174, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 16px;
  width: fit-content;
}

.ck-order-code__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.ck-order-code__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ---------- Form inputs ---------- */
.ck-form-group {
  margin-bottom: 12px;
}

.ck-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.ck-req {
  color: var(--berry);
}

.ck-form-group input,
.ck-form-group select,
.ck-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(216, 160, 174, 0.4);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: #fffdfd;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ck-form-group select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.ck-form-group select:disabled {
  background-color: #f7f4f5;
  cursor: not-allowed;
  opacity: 0.75;
  color: #999;
}

.ck-form-group input:focus,
.ck-form-group select:focus,
.ck-form-group textarea:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(197, 68, 116, 0.15);
}

.ck-form-group input.is-error,
.ck-form-group select.is-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

/* Dải phân cách ĐỊA CHỈ GIAO HÀNG */
.ck-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
}

.ck-form-divider::before,
.ck-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(216, 160, 174, 0.35);
}

.ck-form-divider span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

/* 2 cột quận + thành phố */
.ck-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ---------- Review box ---------- */
.ck-review-box {
  background: #faf4f5;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 0.88rem;
}

.ck-review-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  gap: 8px;
}

.ck-review-row strong {
  color: var(--berry);
}

.ck-review-row--total {
  border-top: 1px solid rgba(216, 160, 174, 0.3);
  margin-top: 8px;
  padding-top: 8px;
  margin-bottom: 0;
}

.ck-review-row--total span {
  font-weight: 700;
}

.ck-review-row--total strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.ck-ship-note {
  color: var(--berry);
  font-style: italic;
  font-size: 0.84rem;
}

.ck-review-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.ck-shipping-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: right;
  line-height: 1.4;
}

/* ---------- Action buttons ---------- */
.ck-mobile-actions {
  display: none; /* ẩn trên desktop */
  gap: 12px;
  margin-top: 18px;
}

.ck-desktop-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.ck-desktop-actions .btn-checkout,
.ck-mobile-actions .btn-checkout {
  flex: 1;
}

.btn-secondary {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(216, 160, 174, 0.5);
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #fbf5f5;
  color: var(--ink);
}

/* ---------- Cột phải: QR Card ---------- */
.ck-col-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Nút quay lại (chỉ mobile) */
.ck-back-btn {
  display: none;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--berry);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 6px 2px;
  margin-bottom: 4px;
  transition: opacity 0.2s;
}

.ck-back-btn:hover {
  opacity: 0.7;
}

/* QR Card */
.ck-qr-card {
  background: linear-gradient(145deg, #c6ede3, #a8e0d0);
  border-radius: 20px;
  padding: 20px;
  color: var(--ink);
  width: 100%;
  max-width: 340px;
  box-shadow: 0 15px 40px -15px rgba(61, 42, 51, 0.18);
}

.ck-qr-header {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 12px;
}

.ck-qr-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ck-qr-bank-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: #e74c3c;
}

.ck-qr-separator {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
}

.ck-qr-service {
  font-weight: 600;
  font-size: 0.78rem;
  color: #3498db;
}

.ck-qr-vietqr {
  font-weight: 700;
  font-size: 0.82rem;
  color: #2ecc71;
}

.ck-qr-image {
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ck-qr-image img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  border-radius: 6px;
}

.ck-qr-loading {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 30px 10px;
  font-style: italic;
}

.ck-qr-fallback {
  text-align: center;
  padding: 16px 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ck-qr-fallback a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
  display: block;
  margin-top: 6px;
}

.ck-qr-info {
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.6;
}

.ck-qr-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  color: var(--ink);
}

.ck-qr-account strong {
  color: var(--berry);
  letter-spacing: 0.04em;
}

.ck-qr-bank {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.ck-qr-amount strong {
  color: var(--berry);
}

.ck-qr-content strong {
  color: #2f6b5a;
}

/* Nút sao chép */
.ck-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(216, 160, 174, 0.45);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ck-copy-btn:hover {
  background: var(--blush);
  border-color: var(--berry);
  color: var(--berry);
}

.ck-copy-btn.is-copied {
  background: var(--mint);
  border-color: var(--green);
  color: #2f6b5a;
}

/* Help text */
.ck-qr-help {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

.ck-qr-help a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile submit */
.ck-mobile-submit {
  display: none;
  width: 100%;
}

.ck-mobile-submit .btn-checkout {
  width: 100%;
}

/* =========================================================
   Modal thành công - Redesigned
   ========================================================= */
.ck-modal__dialog--success {
  max-width: 400px;
  width: min(400px, calc(100vw - 32px));
  padding: 32px 24px 26px;
  text-align: center;
  border-radius: 26px;
  background: #ffffff;
  border: 1.5px solid rgba(220, 180, 195, 0.4);
  box-shadow: 0 25px 60px -15px rgba(61, 42, 51, 0.22);
  margin: auto;
}

.ck-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}

.ck-success__icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.22);
  animation: ckPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ck-success__svg {
  width: 28px;
  height: 28px;
}

@keyframes ckPopIn {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.ck-success__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--berry);
  margin: 0 0 10px;
  line-height: 1.3;
}

.ck-success__code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2f4;
  border: 1px dashed rgba(197, 68, 116, 0.35);
  color: var(--berry-dark);
  font-size: 0.92rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ck-success__code-wrap strong {
  color: var(--berry);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ck-success__box {
  width: 100%;
  background: #fcf8fa;
  border: 1px solid #f3e6ec;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.ck-success__row {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: left;
}

.ck-success__row strong {
  color: var(--ink);
  font-weight: 600;
}

.ck-success__action {
  width: 100%;
}

.ck-success__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--berry);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px -4px rgba(197, 68, 116, 0.45);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.ck-success__btn:hover {
  background: var(--berry-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 20px -4px rgba(197, 68, 116, 0.55);
}

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet + Mobile: hiện step wizard, ẩn cột QR */
@media (max-width: 768px) {
  .ck-modal__dialog--wide {
    width: 100%;
    max-height: 100vh;
    border-radius: 18px;
    padding: 20px 18px;
  }

  .ck-modal__head {
    text-align: center;
  }

  .ck-modal__head h2 {
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    text-align: center;
    padding-right: 0;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
  }

  .ck-modal__head p {
    display: none;
  }

  .ck-steps {
    display: flex;
  }

  .ck-body {
    display: block;
  }

  .ck-col-form {
    display: flex;
  }

  .ck-col-qr {
    display: none;
  }

  .ck-col-qr.is-visible {
    display: flex;
    animation: fadeSlideUp 0.3s ease;
  }

  .ck-col-form.is-hidden {
    display: none;
  }

  .ck-desktop-actions {
    display: none !important;
  }

  .ck-mobile-actions {
    display: flex;
  }

  .ck-back-btn {
    display: inline-flex;
  }

  .ck-mobile-submit {
    display: block;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .ck-modal__dialog--wide {
    width: min(860px, 100%);
  }

  .ck-body {
    gap: 20px;
  }
}

/* Cart layout responsive */
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 580px) {
  .cart-item {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 14px;
  }

  .cart-item__media {
    width: 65px;
    height: 65px;
  }

  .cart-item__title {
    font-size: 1rem;
  }

  .cart-item__side {
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed rgba(216, 160, 174, 0.3);
  }

  .ck-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

