/*!
 * Xohan Essentials — minimal styles for plugin features (the theme provides the full design system).
 * @author Talukdar Galib <https://talukdargalib.pro.bd> · © Xohan Digital · GPL-2.0-or-later
 */
@layer components {
  .xc-el-placeholder { padding: 1rem; border: 1px dashed #c3c4c7; border-radius: 8px; color: #50575e; font-size: 14px; text-align: center; }
  .xc-qv-loading { padding: 3rem; text-align: center; }
  .xc-shop-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-block: 1rem; }
  .xc-nav .nav-list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
  .xc-nav-vertical .nav-list { flex-direction: column; align-items: stretch; }
  .xc-nav .nav-list > li { position: relative; }
  .xc-burger { font-size: 1.25rem; width: 44px; height: 44px; display: inline-grid; place-items: center; }
  .xc-header-icons { display: flex; align-items: center; gap: .25rem; }
  .xc-hero-slider .slide { min-height: 360px; }
  .xc-payments .pay-list { display: flex; flex-wrap: wrap; gap: .5rem; }
}

/* ---- Checkout: repeat-order prompt & partial-order notice (Xohan Essentials 1.4) ---- */
.xohan-merge-box { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--xc-brand, #059669); border-radius: 10px; background: color-mix(in srgb, var(--xc-brand, #059669) 7%, #fff); }
.xohan-merge-box p { margin: 0 0 8px; }
.xohan-merge-title { font-weight: 600; }
.xohan-merge-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.xohan-merge-actions .button { min-height: 44px; }
.xohan-merge-undo { background: none; border: 0; padding: 0; color: var(--xc-brand, #059669); text-decoration: underline; cursor: pointer; font: inherit; }
.xohan-partial-notice { margin: 10px 0 0; font-size: .85em; opacity: .8; }

/* ---- 1.10: search suggestions (placed at the end of <body>), Bangla QR, quick view button.
   Talukdar Galib · Xohan Digital ---- */
@layer components {
  .xes-sr-portal { position: fixed; background: var(--surface, #fff); color: var(--text, #1f2937); border: 1px solid var(--border, #e5e7eb); border-radius: var(--radius, 10px); box-shadow: var(--shadow-lg, 0 20px 40px -12px rgb(16 24 40 / .18)); padding: .4rem; overflow-y: auto; overscroll-behavior: contain; font-size: 14px; }
  .xes-sr-portal[hidden] { display: none; }
  .xes-sr-portal a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .5rem; border-radius: var(--radius-sm, 8px); color: inherit; text-decoration: none; }
  .xes-sr-portal a.no-img, .xes-sr-portal a.xc-sr-cat, .xes-sr-portal a.xc-sr-recent { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .xes-sr-portal a.no-img { grid-template-columns: minmax(0, 1fr) auto; }
  .xes-sr-portal a:hover, .xes-sr-portal a[aria-selected="true"] { background: var(--brand-soft, #ecfdf5); }
  .xes-sr-portal img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm, 8px); }
  .xes-sr-portal .xc-sr-mid { display: flex; flex-direction: column; min-width: 0; }
  .xes-sr-portal .xc-sr-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .xes-sr-portal .xc-sr-meta { color: var(--text-muted, #6b7280); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .xes-sr-portal .xc-sr-out { color: #b91c1c; font-size: 12px; font-weight: 600; }
  .xes-sr-portal .xc-sr-price { color: var(--brand-text, #047857); font-weight: 700; white-space: nowrap; }
  .xes-sr-portal .xc-sr-count { color: var(--text-muted, #6b7280); font-size: 12px; }
  .xes-sr-portal .xc-sr-head { display: flex; justify-content: space-between; align-items: center; padding: .4rem .5rem .2rem; color: var(--text-muted, #6b7280); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .xes-sr-portal .xc-sr-clear { background: none; border: 0; color: var(--brand-text, #047857); font-size: 12px; cursor: pointer; padding: .25rem; text-transform: none; letter-spacing: 0; }
  .xes-sr-portal i { color: var(--text-muted, #6b7280); }
  .xes-sr-portal .xc-sr-all { display: block; text-align: center; font-weight: 600; color: var(--brand-text, #047857); }
  .xes-sr-portal .xc-sr-empty { padding: .9rem; color: var(--text-muted, #6b7280); }

  .xes-bqr { display: grid; gap: .6rem; }
  .xes-bqr-qr { margin: 0; display: grid; justify-items: center; gap: .35rem; padding: .75rem; background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: var(--radius, 10px); }
  .xes-bqr-qr img { width: 220px; max-width: 100%; height: auto; image-rendering: pixelated; }
  .xes-bqr-qr figcaption { display: grid; justify-items: center; font-size: 13px; color: var(--text-muted, #4b5563); }
  .xes-bqr-amount { font-weight: 700; margin: 0; }
  .xes-bqr .form-row { margin: 0; }
  .payment_method_xohan_bangla_qr > label img, .wc_payment_method.payment_method_xohan_bangla_qr label img { height: 24px !important; width: auto !important; max-height: none; vertical-align: middle; margin-left: .4rem; }

  .xc-qv-body form.cart { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
  .xc-qv-body .single_add_to_cart_button { flex: 1 1 160px; min-height: 46px; background: var(--brand, #059669) !important; color: var(--brand-contrast, #fff) !important; border: 1px solid var(--brand, #059669) !important; border-radius: var(--radius, 10px); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
  .xc-qv-body .single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }
  .xc-qv-body .xc-qv-msg { flex: 1 1 100%; margin: 0; color: #b91c1c; font-size: 14px; }
}

/* Jersey Customizer message — Author: Talukdar Galib URL : https://talukdargalib.pro.bd Copyright : Xohan Digital */
.jf-custom-msg { margin: 0; padding: .6rem .85rem; border-radius: var(--radius, 8px); background: color-mix(in oklch, #dc2626 10%, transparent); color: #b91c1c; font-weight: 600; font-size: .9rem; }
.jf-custom-form button[disabled] { opacity: .6; cursor: not-allowed; }
