/* Business Profile - Independent Store Theme (color driven by --bpr-primary) */
#bpr-seller {
  --bpr-primary: #2a7ae2;
  --bpr-primary-contrast: #ffffff;
  --bpr-primary-soft: rgba(42, 122, 226, 0.12);
}

/* Links */
#bpr-seller a { color: var(--bpr-primary); }
#bpr-seller a:hover { filter: brightness(0.92); }

/* Primary buttons / actions inside store page */
#bpr-seller .bpr-share-actions .bpr-share-btn,
#bpr-seller .bpr-magic-actions .bpr-share-btn,
#bpr-seller .bpr-magic-actions .bpr-btn,
#bpr-seller #sellerContact .bpr-btn,
#bpr-seller .bpr-contact-us a.bpr-btn,
#bpr-seller .bpr-send-msg a,
#bpr-seller .bpr-filters .bpr-apply,
#bpr-seller .bpr-filters .bpr-reset {
  background: var(--bpr-primary) !important;
  border-color: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
}

#bpr-seller .bpr-share-actions .bpr-share-btn:hover,
#bpr-seller .bpr-magic-actions .bpr-share-btn:hover,
#bpr-seller .bpr-magic-actions .bpr-btn:hover,
#bpr-seller #sellerContact .bpr-btn:hover,
#bpr-seller .bpr-contact-us a.bpr-btn:hover,
#bpr-seller .bpr-send-msg a:hover,
#bpr-seller .bpr-filters .bpr-apply:hover,
#bpr-seller .bpr-filters .bpr-reset:hover {
  filter: brightness(0.92);
}

/* Outline buttons (if any theme uses them) */
#bpr-seller .bpr-btn.bpr-outline,
#bpr-seller a.bpr-btn.bpr-outline {
  background: transparent !important;
  color: var(--bpr-primary) !important;
  border-color: var(--bpr-primary) !important;
}
#bpr-seller .bpr-btn.bpr-outline:hover,
#bpr-seller a.bpr-btn.bpr-outline:hover {
  background: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
}

/* Accents */
#bpr-seller .bpr-filters > strong {
  border-bottom-color: var(--bpr-primary) !important;
  color: var(--bpr-primary) !important;
}
#bpr-seller .bpr-profile .bpr-category a,
#bpr-seller .bpr-profile .bpr-links a,
#bpr-seller .bpr-profile .bpr-location a {
  color: var(--bpr-primary) !important;
}

/* Pagination */
#bpr-seller #bpr-pagination a:hover,
#bpr-seller #bpr-pagination a.bpr-active {
  background: var(--bpr-primary) !important;
  border-color: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
}

/* Share box */
#bpr-seller .bpr-share-box {
  border-color: var(--bpr-primary-soft) !important;
}
#bpr-seller .bpr-share-head {
  border-bottom-color: var(--bpr-primary-soft) !important;
}
#bpr-seller .bpr-share-row input:focus {
  border-color: var(--bpr-primary) !important;
  box-shadow: 0 0 0 2px var(--bpr-primary-soft);
}
#bpr-seller .bpr-copy-link {
  background: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
}
#bpr-seller .bpr-copy-link:hover { filter: brightness(0.92); }
#bpr-seller .bpr-share-icons a {
  background: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
}
#bpr-seller .bpr-share-icons a:hover { filter: brightness(0.92); }

/* Small badges / highlights (safe defaults) */
#bpr-seller .bpr-premium,
#bpr-seller .bpr-label,
#bpr-seller .bpr-highlight {
  background: var(--bpr-primary-soft);
  color: var(--bpr-primary);
  border-color: var(--bpr-primary-soft);
}

/* Inputs accents in filters/search (safe) */
#bpr-seller input[type="text"]:focus,
#bpr-seller input[type="search"]:focus,
#bpr-seller select:focus,
#bpr-seller textarea:focus {
  border-color: var(--bpr-primary) !important;
  box-shadow: 0 0 0 2px var(--bpr-primary-soft);
}


/* ------------------------------------------------------------
   Magic touches: framed store + cover rectangle overlay
   (fully independent from web theme)
------------------------------------------------------------- */

/* Framed store (square line around whole store) */
#bpr-seller .bpr-inside {
  border: 2px solid var(--bpr-primary) !important;
  border-radius: 14px !important;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 8px var(--bpr-primary-soft), 2px 2px 10px rgba(0,0,0,0.05);
}

/* Subtle inner border for a “premium” look */
#bpr-seller .bpr-inside:before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 10px;
  pointer-events: none;
}

/* Gentle gradient on cover for better text contrast */
#bpr-seller .bpr-cover .bpr-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* Magic card under cover image */
#bpr-seller .bpr-magic-card {
  margin: -52px 14px 14px 14px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--bpr-primary-soft);
  border-top: 4px solid var(--bpr-primary);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

#bpr-seller .bpr-magic-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(1200px 220px at 30% 0%, var(--bpr-primary-soft) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  opacity: 0.75;
}

/* Store logo (100x100) shown inside magic card, not dependent on theme */
#bpr-seller .bpr-magic-logo {display:block; width:100px; height:100px; border-radius:14px; overflow:hidden; flex:0 0 100px;
  border:2px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18), 0 0 0 6px var(--bpr-primary-soft);
  background: rgba(255,255,255,0.30);
  cursor: pointer;
}
#bpr-seller .bpr-magic-logo img {display:block; width:100%; height:100%; object-fit:cover;}
/* If seller did not upload square icon, fallback to regular wide logo but keep it fully visible inside square */
#bpr-seller .bpr-magic-logo img.is-wide {object-fit:contain; background:#fff; padding:10px; box-sizing:border-box;}

#bpr-seller .bpr-magic-top {display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
html[dir="rtl"] #bpr-seller .bpr-magic-top {flex-direction: row-reverse;}
#bpr-seller .bpr-magic-title {display:flex; flex-direction:column; gap:6px; min-width:180px;}

@media screen and (max-width: 767px) {
  /* Avoid duplicate logo overlay on cover on small screens */
  #bpr-seller .bpr-cover .bpr-logo-wrap {display:none !important;}

  /* Card spacing on mobile */
  #bpr-seller .bpr-magic-card {margin: -42px 10px 12px 10px; padding: 12px 12px;}
  #bpr-seller .bpr-magic-card-right {align-items: stretch;}
}

#bpr-seller .bpr-magic-card-left,
#bpr-seller .bpr-magic-card-right {position: relative; z-index: 1;}

#bpr-seller .bpr-magic-card-left {flex: 1 1 380px; min-width: 220px;}
#bpr-seller .bpr-magic-card-right {
  flex: 0 1 360px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

html[dir="rtl"] #bpr-seller .bpr-magic-card-right {align-items: flex-start;}

#bpr-seller .bpr-magic-links {margin-top: 8px;}
#bpr-seller .bpr-magic-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--bpr-primary-soft);
  color: rgba(0,0,0,0.70) !important;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
#bpr-seller .bpr-magic-url:hover {filter: brightness(0.97);}

#bpr-seller .bpr-magic-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
  font-size: 13px;
  color: rgba(0,0,0,0.75);
}
html[dir="rtl"] #bpr-seller .bpr-magic-phone {justify-content: flex-start;}

#bpr-seller .bpr-magic-phone i {color: var(--bpr-primary);}

#bpr-seller .bpr-magic-phone-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
html[dir="rtl"] #bpr-seller .bpr-magic-phone-links {justify-content: flex-start;}

#bpr-seller .bpr-magic-phone-links a {
  color: rgba(0,0,0,0.78) !important;
  font-weight: 700;
  text-decoration: none;
}

#bpr-seller .bpr-magic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
html[dir="rtl"] #bpr-seller .bpr-magic-actions {justify-content: flex-start;}

#bpr-seller .bpr-magic-actions .bpr-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

#bpr-seller .bpr-magic-actions .bpr-edit-store {
  background: rgba(0,0,0,0.72) !important;
  border-color: rgba(0,0,0,0.72) !important;
  color: #ffffff !important;
}

#bpr-seller .bpr-magic-card .bpr-share-box {margin-top: 6px; max-width: 100%;}

#bpr-seller .bpr-magic-top {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

#bpr-seller .bpr-magic-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(0,0,0,0.90);
}

#bpr-seller .bpr-magic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bpr-primary);
  color: var(--bpr-primary-contrast);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 20px var(--bpr-primary-soft);
  white-space: nowrap;
}

/* Badges container (Verified / VIP) */
#bpr-seller .bpr-magic-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

/* VIP badge (distinct look) */
#bpr-seller .bpr-magic-badge.bpr-magic-vip{
  background:#111;
  color:#f2c94c;
  border:1px solid rgba(242,201,76,0.55);
  box-shadow: 0 10px 22px rgba(242,201,76,0.18);
}

/* Videos */
#bpr-seller #bpr-video .bpr-video-card iframe,
#bpr-seller #bpr-video .bpr-video-player{
  width:100%;
  max-width:100%;
  border-radius: 12px;
}

#bpr-seller #bpr-video .bpr-video-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:8px;
  font-weight:700;
  font-size:12px;
  padding:8px 10px;
  border-radius: 10px;
  border:1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  color: rgba(0,0,0,0.78);
  text-decoration:none;
}

#bpr-seller #bpr-video .bpr-video-open:hover{
  background: rgba(255,255,255,0.92);
}


#bpr-seller .bpr-magic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0,0,0,0.75);
}

#bpr-seller .bpr-magic-meta i {
  color: var(--bpr-primary);
  margin-right: 6px;
}

html[dir="rtl"] #bpr-seller .bpr-magic-meta i {
  margin-right: 0;
  margin-left: 6px;
}

#bpr-seller .bpr-magic-dot { opacity: 0.45; }

/* Categories inside magic card */
#bpr-seller .bpr-magic-cats {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#bpr-seller .bpr-magic-cats-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,0.72);
  display: inline-flex;
  align-items: center;
}

#bpr-seller .bpr-magic-cats-label i {
  color: var(--bpr-primary);
  margin-right: 6px;
}

html[dir="rtl"] #bpr-seller .bpr-magic-cats-label i {
  margin-right: 0;
  margin-left: 6px;
}

#bpr-seller .bpr-magic-cats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#bpr-seller .bpr-magic-cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--bpr-primary-soft);
  color: rgba(0,0,0,0.74) !important;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

#bpr-seller .bpr-magic-cat:hover {filter: brightness(0.97);}

#bpr-seller .bpr-magic-cat-more {
  background: var(--bpr-primary-soft);
  border-color: transparent;
}

#bpr-seller .bpr-magic-tagline {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
}

/* Extra micro-interactions for buttons */
#bpr-seller .bpr-share-actions .bpr-share-btn,
#bpr-seller .bpr-magic-actions .bpr-share-btn,
#bpr-seller .bpr-magic-actions .bpr-btn,
#bpr-seller #sellerContact .bpr-btn,
#bpr-seller .bpr-contact-us a.bpr-btn,
#bpr-seller .bpr-send-msg a,
#bpr-seller .bpr-filters .bpr-apply,
#bpr-seller .bpr-filters .bpr-reset {
  box-shadow: 0 10px 20px var(--bpr-primary-soft);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

#bpr-seller .bpr-share-actions .bpr-share-btn:hover,
#bpr-seller .bpr-magic-actions .bpr-share-btn:hover,
#bpr-seller .bpr-magic-actions .bpr-btn:hover,
#bpr-seller #sellerContact .bpr-btn:hover,
#bpr-seller .bpr-contact-us a.bpr-btn:hover,
#bpr-seller .bpr-send-msg a:hover,
#bpr-seller .bpr-filters .bpr-apply:hover,
#bpr-seller .bpr-filters .bpr-reset:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px var(--bpr-primary-soft);
}

/* Responsive adjustments */
@media (max-width: 767px) {
  #bpr-seller .bpr-magic-card {
    margin: -34px 10px 12px 10px;
    padding: 12px 12px;
  }

  #bpr-seller .bpr-magic-card-right {
    align-items: stretch;
  }

  #bpr-seller .bpr-magic-actions,
  #bpr-seller .bpr-magic-phone,
  #bpr-seller .bpr-magic-phone-links {
    justify-content: flex-start;
  }

  #bpr-seller .bpr-magic-name { font-size: 16px; }
}

/* Logo preview (click to open full size) */
#bpr-seller .bpr-logo-preview { cursor: zoom-in; }

#bprLogoModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.68);
  z-index: 999999;
}

#bprLogoModal.is-open { display: flex; }

#bprLogoModal .bpr-logo-modal-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}

#bprLogoModal img {
  max-width: 92vw;
  max-height: 92vh;
  display: block;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}

#bprLogoModal .bpr-logo-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: rgba(255,255,255,0.95);
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

html[dir="rtl"] #bprLogoModal .bpr-logo-modal-close { right: auto; left: -12px; }

body.bpr-noscroll { overflow: hidden !important; }



/* TikTok icon fallback (for Font Awesome versions without fa-tiktok) */
i.fa.fa-tiktok:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("../img/tiktok.svg") no-repeat center center;
  background-size: contain;
  vertical-align: -0.15em;
}

/* WhatsApp contact button - always green */
a.bpr-wa-contact,
.bpr-magic-actions a.bpr-wa-contact,
.bpr-magic-card-actions a.bpr-wa-contact {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}
a.bpr-wa-contact:hover,
a.bpr-wa-contact:focus {
  filter: brightness(0.95);
  color: #fff !important;
}
a.bpr-wa-contact i.fa,
a.bpr-wa-contact i {
  color: #fff !important;
}



/* Button captions (Arabic) */
.bpr-magic-actions a.bpr-share-btn,
.bpr-magic-actions a.bpr-wa-contact,
.bpr-magic-actions a.bpr-edit-store,
.bpr-magic-actions a.bpr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  line-height: 1.1;
}
.bpr-magic-actions a .bpr-btn-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bpr-magic-actions a .bpr-btn-main {
  font-weight: 700;
}
.bpr-magic-actions a .bpr-btn-sub {
  font-size: 10px;
  opacity: 0.9;
}

/* WhatsApp top-bar link - always green */
a.bpr-wa-top {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
a.bpr-wa-top:hover, a.bpr-wa-top:focus { filter: brightness(0.95); color:#fff !important; }
a.bpr-wa-top i { color:#fff !important; }

/* Arabic button hints in profile edit */
.bpr-row-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.bpr-row-buttons .bpr-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bpr-row-buttons .bpr-btn-subline {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.85;
}
.bpr-btn-hint {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.85;
}


/* -------------------------------------------------------------------------- */
/* Modern listing cards (seller items) - independent from theme                */
/* -------------------------------------------------------------------------- */
#bpr-seller .bpr-items .products.grid > *{
  position: relative !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 2px solid rgba(var(--bpr-primary-rgb, 42,122,226), 0.35) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;
  cursor: pointer;
}

#bpr-seller .bpr-items .products.grid > *::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 220px at 0% 0%, rgba(var(--bpr-primary-rgb, 42,122,226), 0.18), transparent 60%),
    linear-gradient(135deg, rgba(var(--bpr-primary-rgb, 42,122,226), 0.12), transparent 55%);
  opacity: 0.85;
}

#bpr-seller .bpr-items .products.grid > *::after{
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 4px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(var(--bpr-primary-rgb, 42,122,226), 0.0),
    rgba(var(--bpr-primary-rgb, 42,122,226), 0.85),
    rgba(var(--bpr-primary-rgb, 42,122,226), 0.0)
  );
  opacity: 0.95;
}

#bpr-seller .bpr-items .products.grid > *:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.12) !important;
  border-color: rgba(var(--bpr-primary-rgb, 42,122,226), 0.65) !important;
  filter: saturate(1.03);
}

#bpr-seller .bpr-items .products.grid > * a{
  text-decoration: none;
}

#bpr-seller .bpr-items .products.grid > * img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
/* Try to normalize common inner blocks across themes */
#bpr-seller .bpr-items .products.grid > * .price,
#bpr-seller .bpr-items .products.grid > * .item-price{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(var(--bpr-primary-rgb, 42,122,226), 0.12);
  color: var(--bpr-primary);
  font-weight: 700;
  line-height: 1.1;
}

#bpr-seller .bpr-items .products.grid > * .title,
#bpr-seller .bpr-items .products.grid > * h3,
#bpr-seller .bpr-items .products.grid > * .item-title{
  color: #222;
}

#bpr-seller .bpr-items .products.grid > * .title a,
#bpr-seller .bpr-items .products.grid > * h3 a,
#bpr-seller .bpr-items .products.grid > * .item-title a{
  color: #222;
  font-weight: 700;
}

#bpr-seller .bpr-items .products.grid > * .title a:hover,
#bpr-seller .bpr-items .products.grid > * h3 a:hover,
#bpr-seller .bpr-items .products.grid > * .item-title a:hover{
  color: var(--bpr-primary);
}

#bpr-seller .bpr-items .products.grid > * .bpr-card-meta,
#bpr-seller .bpr-items .products.grid > * .meta,
#bpr-seller .bpr-items .products.grid > * .item-meta{
  color: #666;
}


/* -------------------------------------------------------------------------
   BPR: Title + Price under image (normalized across themes)
   ------------------------------------------------------------------------- */
#bpr-seller .bpr-items .products.grid > * .bpr-under-image{
  position: relative;
  z-index: 2;
  padding: 10px 14px 12px;
}

#bpr-seller .bpr-items .products.grid > * .bpr-item-title{
  display: block;
  font-weight: 800;
  color: #111 !important;
  margin: 2px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#bpr-seller .bpr-items .products.grid > * .bpr-item-price{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--bpr-primary) !important;
  color: var(--bpr-primary-contrast) !important;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

/* Better spacing on small screens */
@media (max-width: 767px){
  #bpr-seller .bpr-items .products.grid > *{
    border-radius: 16px;
  }
  #bpr-seller .bpr-items .products.grid > * img{
    border-radius: 14px;
  }
}



/* Seller listings: show our title+price block under image and hide duplicated titles/prices from theme */
#bpr-seller .products.grid .bpr-under-image{ margin-top: 8px; }
#bpr-seller .products.grid .bpr-under-image .bpr-item-title{ font-size: 14px; line-height: 1.2; }
#bpr-seller .products.grid .bpr-under-image .bpr-item-price{ font-size: 13px; padding: 7px 12px; }
#bpr-seller .products.grid .data .price.isGrid, 
#bpr-seller .products.grid .data .price.standalone,
#bpr-seller .products.grid .data a.title2{ display:none !important; }



/* Seller listings: hide location labels (cleanup) */
#bpr-seller .products.grid .data a.cit,
#bpr-seller .products.grid .data a.reg,
#bpr-seller .products.grid .data .location.isGrid{ display:none !important; }
/* =========================================================
   Modern product card extras (badges + quick actions + chips)
   ========================================================= */
#bpr-seller .products.grid .img-wrap,
#bpr-seller .products.grid .image-wrap,
#bpr-seller .products.grid figure,
#bpr-seller .products.grid .thumb,
#bpr-seller .products.grid .thumbnail{
  position: relative;
}

#bpr-seller .products.grid .bpr-card-badges{
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

#bpr-seller .products.grid .bpr-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  color: #000;
  border: 1px solid rgba(0,0,0,0.06);
}

#bpr-seller .products.grid .bpr-badge-new{
  background: rgba(255,255,255,0.92);
  color: var(--bpr-primary);
  border-color: rgba(var(--bpr-primary-rgb), 0.22);
}

#bpr-seller .products.grid .bpr-card-actions{
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

#bpr-seller .products.grid .bpr-card-action{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(var(--bpr-primary-rgb), 0.18);
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#bpr-seller .products.grid .bpr-card-action i{
  color: var(--bpr-primary);
  font-size: 16px;
}

#bpr-seller .products.grid .bpr-card-action:hover{
  transform: translateY(-1px);
}

#bpr-seller .products.grid .bpr-card-action.bpr-wa{
  background: #25D366;
  border-color: rgba(0,0,0,0.08);
}

#bpr-seller .products.grid .bpr-card-action.bpr-wa i{
  color: #fff;
}

/* Chips under title/price */
#bpr-seller .products.grid .bpr-card-chips{
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#bpr-seller .products.grid .bpr-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bpr-primary-soft);
  color: #0b3d19;
  border: 1px solid rgba(var(--bpr-primary-rgb), 0.15);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

#bpr-seller .products.grid .bpr-chip i{
  color: var(--bpr-primary);
}


/* Order button under title/price */
#bpr-seller .products.grid .bpr-card-order{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 13px;
  background: var(--bpr-primary);
  color: var(--bpr-primary-contrast);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 14px 28px rgba(var(--bpr-primary-rgb), 0.22);
}
#bpr-seller .products.grid .bpr-card-order:hover{
  transform: translateY(-1px);
  opacity: 0.96;
}
#bpr-seller .products.grid .bpr-card-order i{ color: var(--bpr-primary-contrast); }


/* Mobile tweaks */
@media (max-width: 767px){
  #bpr-seller .products.grid .bpr-card-actions{ gap: 7px; }
  #bpr-seller .products.grid .bpr-card-action{ width: 34px; height: 34px; }
  #bpr-seller .products.grid .bpr-badge{ font-size: 11px; padding: 6px 9px; }
}
