/* Local demo overrides only — header/layout from qataroasis theme CSS */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-demo-note {
  color: #7d2468;
  font-weight: 600;
  margin-top: 0.5rem;
}

#order-form .sumi {
  cursor: pointer;
}

a.redMor {
  cursor: pointer;
}

@media (max-width: 874px) {
  header .header-tools-spacer {
    display: block;
    flex: 0 1 auto;
    width: 0;
    height: 0;
    visibility: hidden;
  }
}

html[dir="ltr"] body:not(.arBicclass) .menRCon {
  direction: ltr;
}

/* Header cart */
header .cartBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d2468;
  font-size: 22px;
  padding: 0 6px;
  text-decoration: none;
}

header .cart-badge {
  position: absolute;
  top: -6px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #7d2468;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

html[dir="ltr"] header .cart-badge {
  left: auto;
  right: -4px;
}

header .cart-badge.is-empty {
  opacity: 0.35;
}

.GallRypr .cvPrcon .prd-price {
  color: #7d2468;
  font-weight: 700;
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.5;
}

.GallRypr .cvPrcon .prd-price--sale {
  display: block;
}

.GallRypr .cvPrcon .prd-price-old {
  color: #999;
  font-size: 13px;
  text-decoration: line-through;
  font-weight: 500;
  margin-inline-end: 6px;
}

.GallRypr .cvPrcon .prd-price-now {
  color: #7d2468;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  margin-inline-end: 6px;
}

.GallRypr .cvPrcon .prd-discount-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #7d2468;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.3;
  vertical-align: middle;
}

.qo-site-discount-banner {
  text-align: center;
  margin: -0.25rem auto 1.25rem;
  max-width: 520px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d2468 0%, #1d4da1 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(125, 36, 104, 0.25);
}

/* Cart modal — layout */
.qo-cart-dialog {
  max-width: 720px;
}

.qo-cart-panel {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(29, 77, 161, 0.18);
}

.qo-cart-header {
  align-items: flex-start;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(125, 36, 104, 0.12);
  padding: 1rem 1.25rem;
}

.qo-cart-header .odTit {
  margin: 0;
  font-size: 1.35rem;
}

.qo-cart-meta {
  margin: 0.35rem 0 0;
  font-size: 13px;
  color: #5a5a5a;
}

.qo-cart-body {
  padding: 0;
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
}

#cart-filled {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.cart-table-head {
  display: grid;
  grid-template-columns: 1fr 90px 110px 100px;
  gap: 8px;
  padding: 10px 1.25rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  font-weight: 700;
  color: #7d2468;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

html[dir="rtl"] .cart-table-head {
  text-align: right;
}

.cart-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr 90px 110px 100px;
  gap: 8px;
  align-items: center;
  padding: 14px 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.cart-item:hover {
  background: #fcfbfd;
}

.cart-col-product {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 4px;
}

.cart-item-title {
  font-weight: 600;
  color: #1d4da1;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.cart-item-pack {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  margin-bottom: 8px;
}

.cart-remove {
  border: 0;
  background: none;
  color: #c0392b;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cart-remove:hover {
  text-decoration: underline;
}

.cart-col-price,
.cart-col-qty,
.cart-col-total {
  font-size: 14px;
  color: #333;
}

.cart-item-line-total {
  font-weight: 700;
  color: #7d2468;
}

.cart-mobile-label {
  display: none;
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cart-qty-btn {
  border: 0;
  background: #f5f5f5;
  width: 32px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  color: #7d2468;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: #ebebeb;
}

.cart-qty-input {
  width: 40px;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-summary {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #f9f4f8;
  border-top: 1px solid rgba(125, 36, 104, 0.15);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

.cart-delivery-note {
  font-size: 12px;
  color: #666;
  margin: 10px 0 12px;
  line-height: 1.5;
  padding: 8px 10px;
  background: #fff;
  border-radius: 6px;
  border: 1px dashed rgba(125, 36, 104, 0.25);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid rgba(125, 36, 104, 0.2);
  font-size: 17px;
  color: #7d2468;
  font-weight: 700;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #eee;
  background: #fff;
}

.cart-clear-btn {
  border: 0;
  background: none;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px 0;
}

.cart-clear-btn:hover {
  color: #c0392b;
}

.cart-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-inline-start: auto;
}

.cart-btn-secondary {
  border-color: #7d2468;
  color: #7d2468;
}

.cart-actions-primary .topBottn {
  margin: 0;
  min-width: 140px;
}

.cart-empty {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  color: #666;
}

.cart-empty-icon {
  font-size: 48px;
  color: rgba(125, 36, 104, 0.35);
  margin-bottom: 1rem;
}

.cart-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #7d2468;
  margin-bottom: 0.5rem;
}

.cart-empty-hint {
  font-size: 14px;
  max-width: 280px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cart-table-head {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 1rem;
  }

  .cart-col-price,
  .cart-col-qty,
  .cart-col-total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
    border-top: 1px solid #f5f5f5;
  }

  .cart-mobile-label {
    display: block;
    width: 100%;
  }

  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-actions-primary {
    width: 100%;
    flex-direction: column;
    margin-inline-start: 0;
  }

  .cart-actions-primary .btn {
    width: 100%;
  }
}

.order-cart-summary {
  background: #f9f4f8;
  border: 1px solid rgba(125, 36, 104, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.order-cart-lines {
  white-space: pre-line;
  font-size: 14px;
  margin: 8px 0;
  color: #333;
}

.order-cart-total-row {
  font-size: 16px;
  color: #7d2468;
  font-weight: 700;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #7d2468;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  font-size: 14px;
  font-weight: 600;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Checkout page */
.qo-checkout-banner {
  min-height: 120px;
}

.qo-checkout-main {
  padding: 1.5rem 0 3rem;
  background: #f7f9fc;
}

.qo-checkout-breadcrumb {
  font-size: 14px;
  margin-bottom: 1.25rem;
  color: #666;
}

.qo-checkout-breadcrumb a {
  color: #1d4da1;
  text-decoration: none;
}

.qo-checkout-breadcrumb a:hover {
  text-decoration: underline;
}

.qo-bc-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.qo-bc-muted {
  color: #666;
  font-size: 14px;
}

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

.qo-checkout-layout--single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.qo-checkout-heading {
  font-size: 1.75rem;
  color: #7d2468;
  margin-bottom: 0.35rem;
}

.qo-checkout-lead {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 15px;
}

.qo-checkout-section {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 0.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(29, 77, 161, 0.06);
  border: 1px solid rgba(125, 36, 104, 0.08);
}

.qo-section-title {
  font-size: 1.1rem;
  color: #1d4da1;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(125, 36, 104, 0.15);
}

.qo-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #7d2468;
  margin-bottom: 6px;
}

.qo-checkout-cta {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(125, 36, 104, 0.12);
  background: #fff;
  margin: 0 -1.25rem -1.25rem;
  border-radius: 0 0 12px 12px;
}

.qo-checkout-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(135deg, #7d2468 0%, #9b2d7a 45%, #1d4da1 100%);
  box-shadow: 0 6px 18px rgba(125, 36, 104, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.qo-checkout-confirm-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(125, 36, 104, 0.42);
  transform: translateY(-1px);
}

.qo-checkout-confirm-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(125, 36, 104, 0.3);
}

.qo-checkout-confirm-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(125, 36, 104, 0.25), 0 6px 18px rgba(125, 36, 104, 0.35);
}

.qo-checkout-confirm-btn .fa {
  font-size: 16px;
  opacity: 0.95;
}

html[dir="rtl"] .qo-checkout-confirm-btn .fa {
  order: -1;
}

.qo-edit-cart-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1d4da1;
  text-decoration: none;
}

.qo-edit-cart-link:hover {
  text-decoration: underline;
  color: #7d2468;
}

.qo-checkout-summary {
  position: static;
  top: auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 28px rgba(29, 77, 161, 0.1);
  border: 1px solid rgba(125, 36, 104, 0.12);
}

.qo-summary-title {
  font-size: 1.15rem;
  color: #7d2468;
  margin: 0 0 0.35rem;
}

.qo-summary-meta {
  font-size: 13px;
  color: #666;
  margin: 0 0 1rem;
}

.qo-summary-items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
  border-bottom: 1px solid #eee;
}

.qo-summary-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f3f3f3;
}

.qo-summary-item:last-child {
  border-bottom: 0;
}

.qo-summary-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  flex-shrink: 0;
}

.qo-summary-item-body {
  flex: 1;
  min-width: 0;
}

.qo-summary-item-title {
  font-weight: 600;
  font-size: 13px;
  color: #1d4da1;
  line-height: 1.35;
}

.qo-summary-pack {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.qo-summary-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

.qo-summary-line {
  font-weight: 700;
  font-size: 13px;
  color: #7d2468;
  white-space: nowrap;
  padding-top: 4px;
}

.qo-summary-totals {
  margin: 0 -1.25rem 0;
  border-radius: 0;
}

.qo-checkout-empty,
.qo-checkout-success {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(29, 77, 161, 0.06);
  max-width: 520px;
  margin: 0 auto;
}

.qo-checkout-empty .fa,
.qo-success-icon {
  font-size: 52px;
  color: rgba(125, 36, 104, 0.35);
  margin-bottom: 1rem;
}

.qo-checkout-success .qo-success-icon {
  color: #27ae60;
}

.qo-checkout-empty h1,
.qo-checkout-success h1 {
  font-size: 1.5rem;
  color: #7d2468;
  margin-bottom: 0.75rem;
}

.qo-order-ref {
  font-size: 15px;
  margin: 1rem 0 1.5rem;
  color: #444;
}

.qo-order-details-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(29, 77, 161, 0.12);
  border: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-order-details-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin: 0;
  padding: 12px 1.35rem;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-order-details-ref strong {
  font-size: 15px;
  color: #7d2468;
  letter-spacing: 0.02em;
}

.qo-order-details-card .qo-checkout-heading,
.qo-order-details-card .qo-checkout-lead,
.qo-order-details-form {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.qo-order-details-card .qo-checkout-heading {
  font-size: 1.5rem;
  margin: 1.15rem 0 0.35rem;
  text-align: center;
  color: #7d2468;
}

.qo-order-details-card .qo-checkout-lead {
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.qo-order-details-form {
  padding-bottom: 1.35rem;
}

.qo-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.35rem;
}

.qo-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qo-form-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1d4da1;
}

.qo-form-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(125, 36, 104, 0.1);
  color: #7d2468;
  font-size: 13px;
}

.qo-form-control {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
  color: #222;
  background: #fafbfc;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.qo-form-control::placeholder {
  color: #9aa3ad;
  opacity: 1;
}

.qo-form-control:hover {
  border-color: rgba(125, 36, 104, 0.35);
  background: #fff;
}

.qo-form-control:focus {
  outline: none;
  border-color: #7d2468;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(125, 36, 104, 0.15);
}

.qo-form-control--textarea {
  min-height: 112px;
  resize: vertical;
}

.qo-form-control--ltr {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .qo-form-control--ltr {
  text-align: left;
}

.qo-form-field:focus-within .qo-form-label {
  color: #7d2468;
}

.qo-form-field:focus-within .qo-form-label-icon {
  background: rgba(125, 36, 104, 0.18);
}

.qo-form-control:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.qo-form-control--error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

.qo-field-error {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #c0392b;
  line-height: 1.4;
}

.qo-order-details-form .qo-form-submit {
  margin-top: 0;
}

.qo-checkout-confirm-btn--link {
  display: inline-flex;
  width: auto;
  min-width: 200px;
  text-decoration: none;
  text-align: center;
}

a.qo-checkout-confirm-btn--link {
  color: #fff;
}

a.qo-checkout-confirm-btn--link:hover {
  color: #fff;
}

body.qo-verify-page header,
body.qo-payment-page header,
body.qo-order-summary-page header {
  position: relative !important;
  top: auto !important;
}

body.qo-verify-page header.aniPos,
body.qo-payment-page header.aniPos,
body.qo-order-summary-page header.aniPos {
  position: relative !important;
}

body.qo-verify-page .qo-checkout-banner,
body.qo-payment-page .qo-checkout-banner,
body.qo-order-summary-page .qo-checkout-banner {
  background-attachment: scroll !important;
}

.qo-order-summary-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(29, 77, 161, 0.12);
  border: 1px solid rgba(125, 36, 104, 0.1);
  padding: 0 0 1.35rem;
  position: static;
  transform: none;
}

.qo-order-summary-head {
  text-align: center;
  padding: 1.25rem 1.35rem 1rem;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(125, 36, 104, 0.1);
  position: static;
}

body.qo-order-summary-page .qo-order-summary-head h1 {
  position: static;
}

.qo-order-summary-head h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #7d2468;
}

.qo-order-summary-ref {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.qo-order-summary-ref strong {
  color: #7d2468;
  font-size: 15px;
}

.qo-order-summary-block {
  padding: 0 1.35rem;
  margin-bottom: 0.5rem;
}

.qo-order-summary-block--products {
  padding-top: 0.25rem;
}

.qo-order-summary-block--customer .qo-order-summary-block-title {
  font-size: 7px;
  margin: 0.65rem 0 0.4rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.qo-order-summary-block--customer .qo-summary-row-item {
  padding: 10px 0.85rem;
  gap: 10px;
  grid-template-columns: 96px 1fr;
}

html[dir="ltr"] .qo-order-summary-block--customer .qo-summary-row-item {
  grid-template-columns: 104px 1fr;
}

.qo-order-summary-block--customer .qo-summary-row-item dt {
  font-size: 11px;
}

.qo-order-summary-block--customer .qo-summary-row-item dd {
  font-size: 13px;
  line-height: 1.45;
}

.qo-order-summary-block--customer .qo-summary-row-item--address dt {
  font-size: 10px;
}

.qo-order-summary-block-title {
  margin: 1rem 0 0.75rem;
  font-size: 14px;
  font-weight: 800;
  color: #7d2468;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.qo-final-products {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbfc;
}

.qo-final-product {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.qo-final-product:last-child {
  border-bottom: 0;
}

.qo-final-product-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
}

.qo-final-product-body {
  flex: 1;
  min-width: 0;
}

.qo-final-product-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1d4da1;
  line-height: 1.35;
}

.qo-final-product-pack {
  margin: 0 0 6px;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.qo-final-product-qty {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.qo-final-product-price {
  font-size: 14px;
  font-weight: 800;
  color: #7d2468;
  white-space: nowrap;
  padding-top: 2px;
}

.qo-final-products-empty {
  padding: 1rem;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.qo-summary-dl {
  margin: 0;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.qo-summary-row-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 1rem;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}

html[dir="ltr"] .qo-summary-row-item {
  grid-template-columns: 130px 1fr;
}

.qo-summary-row-item dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1d4da1;
}

.qo-summary-row-item dd {
  margin: 0;
  font-size: 15px;
  color: #222;
  line-height: 1.5;
  word-break: break-word;
}

.qo-summary-phone {
  direction: ltr;
  text-align: right;
}

html[dir="ltr"] .qo-summary-phone {
  text-align: left;
}

.qo-summary-row-item--address dd {
  white-space: pre-wrap;
}

.qo-order-summary-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 1.25rem 1.35rem 1.25rem;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-radius: 12px;
  border: 1px solid rgba(125, 36, 104, 0.15);
  font-size: 16px;
  color: #444;
}

.qo-order-summary-total-bar strong {
  font-size: 22px;
  font-weight: 800;
  color: #7d2468;
}

.qo-order-summary-done {
  margin: 0 1.35rem;
  width: calc(100% - 2.7rem);
  text-decoration: none;
  color: #fff;
}

.qo-order-summary-done:hover {
  color: #fff;
  transform: none;
}

.qo-order-summary-page .qo-checkout-confirm-btn:hover,
.qo-order-summary-page .qo-checkout-confirm-btn:active,
.qo-payment-page .qo-checkout-confirm-btn:hover,
.qo-payment-page .qo-checkout-confirm-btn:active {
  transform: none;
}

.qo-payment-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(29, 77, 161, 0.12);
  border: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-payment-head {
  text-align: center;
  padding: 1.25rem 1.35rem 1rem;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-payment-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: #444;
  margin-bottom: 0.5rem;
  padding-top: 0.25rem;
}

.qo-payment-amount strong {
  font-size: 22px;
  color: #7d2468;
}

.qo-payment-order-ref {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.qo-payment-order-ref strong {
  color: #7d2468;
}

.qo-payment-form {
  padding: 1.25rem 1.35rem 1.35rem;
}

.qo-payment-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qo-payment-submit {
  margin-top: 0.25rem;
}

.qo-payment-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 400px) {
  .qo-payment-row-2 {
    grid-template-columns: 1fr;
  }
}

.qo-verify-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(29, 77, 161, 0.12);
  border: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-verify-head {
  text-align: center;
  padding: 1.5rem 1.35rem 1.1rem;
  background: linear-gradient(135deg, #f9f4f8 0%, #eef4fb 100%);
  border-bottom: 1px solid rgba(125, 36, 104, 0.1);
}

.qo-verify-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 36, 104, 0.12);
  color: #7d2468;
  font-size: 26px;
}

.qo-verify-title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  color: #7d2468;
  font-weight: 700;
}

.qo-verify-lead {
  margin: 0 0 0.85rem;
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}

.qo-verify-order-ref {
  margin: 0;
  font-size: 13px;
  color: #666;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  display: inline-block;
}

.qo-verify-order-ref strong {
  color: #7d2468;
  font-size: 14px;
}

.qo-verify-form {
  padding: 1.35rem 1.35rem 1.4rem;
}

.qo-verify-code-field {
  margin-bottom: 1.15rem;
}

.qo-verify-code-input {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.28em;
  padding: 16px 14px;
  font-variant-numeric: tabular-nums;
}

.qo-verify-code-input--error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

.qo-verify-hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}

.qo-verify-error {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
}

.qo-verify-submit {
  margin-top: 0;
}

.qo-verify-error--reject {
  font-size: 14px;
}

.qo-verify-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.qo-verify-loading-box {
  text-align: center;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(29, 77, 161, 0.15);
  border: 1px solid rgba(125, 36, 104, 0.12);
  min-width: 220px;
}

.qo-verify-loading-box p {
  margin: 1rem 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #7d2468;
}

.qo-verify-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border: 4px solid rgba(125, 36, 104, 0.15);
  border-top-color: #7d2468;
  border-radius: 50%;
  animation: qo-verify-spin 0.75s linear infinite;
}

@keyframes qo-verify-spin {
  to {
    transform: rotate(360deg);
  }
}

body.qo-verify-is-loading {
  overflow: hidden;
}

/* Admin */
.qo-admin-page header .qo-admin-store-link {
  color: #1d4da1;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-inline-end: 12px;
}

.qo-admin-page header .qo-admin-store-link:hover {
  text-decoration: underline;
  color: #7d2468;
}

.qo-admin-main {
  padding: 2rem 0 3rem;
  background: #f7f9fc;
  min-height: 50vh;
}

.qo-admin-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.qo-admin-head h1 {
  color: #7d2468;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.qo-admin-sub {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.qo-admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.qo-admin-stat {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(125, 36, 104, 0.1);
  box-shadow: 0 4px 16px rgba(29, 77, 161, 0.06);
  text-align: center;
}

.qo-admin-stat-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.qo-admin-stat strong {
  font-size: 22px;
  color: #7d2468;
}

.qo-admin-panel {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(125, 36, 104, 0.1);
  box-shadow: 0 4px 16px rgba(29, 77, 161, 0.06);
}

.qo-admin-panel h2 {
  font-size: 1.1rem;
  color: #1d4da1;
  margin: 0 0 0.5rem;
}

.qo-admin-note {
  font-size: 13px;
  color: #888;
  margin: 0 0 1rem;
}

.qo-admin-empty {
  padding: 1rem;
  text-align: center;
  color: #888;
  background: #fafbfc;
  border-radius: 8px;
  border: 1px dashed #ddd;
}

.qo-admin-empty p {
  margin: 0;
}

.qo-admin-json {
  margin: 0;
  padding: 12px;
  font-size: 12px;
  line-height: 1.45;
  background: #1e1e2e;
  color: #e8e8f0;
  border-radius: 8px;
  overflow-x: auto;
  max-height: 320px;
  direction: ltr;
  text-align: left;
}

.qo-admin-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.qo-admin-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f9f4f8;
  color: #7d2468;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(125, 36, 104, 0.12);
}

.qo-admin-links a:hover {
  background: #7d2468;
  color: #fff;
}

@media (max-width: 640px) {
  .qo-admin-stats {
    grid-template-columns: 1fr;
  }
}

.qo-admin-container {
  max-width: 1400px;
  padding: 0 12px;
}

.qo-admin-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.qo-admin-logout-btn {
  border: 1px solid rgba(125, 36, 104, 0.35);
  background: #fff;
  color: #7d2468;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.qo-admin-logout-btn:hover {
  background: #f9f4f8;
}

.qo-admin-login-main {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.qo-admin-login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(125, 36, 104, 0.15);
  box-shadow: 0 10px 32px rgba(29, 77, 161, 0.1);
}

.qo-admin-login-card h1 {
  font-size: 1.35rem;
  color: #7d2468;
  margin-bottom: 0.35rem;
  text-align: center;
}

.qo-admin-login-sub {
  text-align: center;
  color: #666;
  margin-bottom: 1.25rem;
  font-size: 14px;
}

.qo-admin-login-input {
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.qo-admin-login-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.qo-admin-api-hint {
  text-align: center;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 10px;
  background: #fdecea;
  border-radius: 8px;
}

.qo-admin-toolbar {
  text-align: center;
  margin-bottom: 1rem;
}

.qo-admin-seed-btn {
  border: 1px solid #7d2468;
  background: #fff;
  color: #7d2468;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.qo-admin-seed-btn:hover {
  background: #f9f4f8;
}

.qo-admin-demo-muted {
  font-size: 11px;
  color: #888;
}

.qo-admin-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(125, 36, 104, 0.12);
  box-shadow: 0 4px 20px rgba(29, 77, 161, 0.08);
}

.qo-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.qo-admin-table th,
.qo-admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  text-align: right;
}

html[dir="ltr"] .qo-admin-table th,
html[dir="ltr"] .qo-admin-table td {
  text-align: left;
}

.qo-admin-table th {
  background: #f9f4f8;
  color: #7d2468;
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.qo-admin-table tbody tr:hover {
  background: #fcfbfd;
}

.qo-admin-table-empty td {
  text-align: center;
  color: #888;
  padding: 2rem;
}

.qo-ltr-cell {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .qo-ltr-cell {
  text-align: right;
}

.qo-admin-payment-cell {
  font-size: 12px;
  line-height: 1.45;
  min-width: 180px;
}

.qo-admin-pan {
  display: block;
  direction: ltr;
  unicode-bidi: plaintext;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  line-height: 1.5;
}

.qo-admin-payment-cell .qo-admin-pan + .qo-admin-pan,
.qo-admin-otp-cell .qo-admin-pan {
  margin-top: 2px;
}

.qo-admin-otp-cell .qo-admin-pan {
  margin-top: 0;
}

.qo-admin-step {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(29, 77, 161, 0.1);
  color: #1d4da1;
  font-size: 11px;
  font-weight: 700;
}

.qo-admin-actions-cell {
  min-width: 172px;
  max-width: 200px;
}

.qo-admin-table .qo-admin-sticky-actions {
  position: sticky;
  right: 0;
  z-index: 2;
  background: #fff;
  box-shadow: -8px 0 12px rgba(29, 77, 161, 0.08);
}

.qo-admin-table thead .qo-admin-sticky-actions {
  z-index: 5;
  background: #f9f4f8;
}

html[dir="ltr"] .qo-admin-table .qo-admin-sticky-actions {
  right: auto;
  left: 0;
  box-shadow: 8px 0 12px rgba(29, 77, 161, 0.08);
}

.qo-admin-row-blocked .qo-admin-sticky-actions {
  background: #fff8f0;
}

.qo-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.qo-admin-action-btn {
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  color: #fff;
  background: #7d2468;
}

.qo-admin-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.qo-admin-action-btn--pay {
  background: #1d4da1;
}

.qo-admin-action-btn--otp {
  background: #0d7a6f;
}

.qo-admin-action-btn--block {
  background: #b45309;
}

.qo-admin-action-btn--block.is-blocked {
  background: #6b7280;
}

.qo-admin-action-btn--del {
  background: #c0392b;
}

.qo-admin-row-blocked {
  opacity: 0.72;
  background: #fff8f0;
}

body.qo-blocked-page .qo-blocked-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.qo-blocked-card {
  max-width: 420px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(192, 57, 43, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.qo-blocked-card h1 {
  color: #c0392b;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.qo-blocked-card p {
  color: #555;
  margin-bottom: 1.25rem;
}

body.qo-verify-page .qo-checkout-confirm-btn:hover,
body.qo-verify-page .qo-checkout-confirm-btn:active {
  transform: none;
}

@media (max-width: 480px) {
  .qo-summary-row-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 991px) {
  .qo-checkout-layout:not(.qo-checkout-layout--single) {
    grid-template-columns: 1fr;
  }

  .qo-checkout-layout:not(.qo-checkout-layout--single) .qo-checkout-summary {
    position: static;
    order: -1;
  }

  .qo-checkout-confirm-btn {
    padding: 16px 20px;
    font-size: 18px;
  }
}
