.detail-main-container {
    padding-top: 85px;
    padding-left: 100px;
    padding-right: 15px;
    max-width: calc(100% - 210px);
    margin: 0 auto;
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    
}

/* Logo, search, and cart scaling on smaller screens */
@media (max-width: 992px) {
    /* Scale down the logo */
    .nav-logo img {
        max-height: 35px; /* smaller than the 50px default */
        width: auto;
    }

    

    /* Possibly shrink padding/font-size for the cart button */
    .custom-cart-btn {
        font-size: 0.9rem;
        padding: 5px 5px;
        border-width: 1.2px; /* slightly thinner border */
    }
}
    

@media (max-width: 992px) {
    .main-container {
      margin-left: 0 !important; /* Full width for main content on mobile */
      width: 100vw !important;   /* Let it fill the screen */
    }
  }
  
@media (max-width: 992px) {
  .detail-main-container {
    margin-top: 0;
    padding-top: 64px;
    padding-left: 15px;
    max-width: 100%;
  }
}
.product-detail-container {
    margin-top: 10px;
}

/* By default, the mobile swiper is hidden on large screens; desktop gallery is shown */
.desktop-gallery {
    display: block;
}
.mobile-swiper {
    display: none;
}

@media (max-width: 992px) {
    /* On smaller screens, hide the desktop gallery, show the mobile swiper */
    .desktop-gallery {
        display: none;
    }
    .mobile-swiper {
        display: block;
    }
}
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.thumbnail-images {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    margin-top: 20px;
    max-height: 500px;
    overflow-y: auto;
}
.thumbnail-image {
    cursor: pointer;
    margin-bottom: 10px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 0.8rem;
    border: 0.5px solid #F0F8FF;
    transition: border-color 0.3s;
}
.thumbnail-image:hover {
    border: 1px solid #CCCCFF;
}
.main-image-container {
    width: 400px;
    height: 400px;
    margin-top: 20px;
    border-radius: 0.8rem;
    border: 0.5px solid #F0F8FF;
    overflow: hidden;
}
.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    border-radius: 0.8rem;
}
@media (max-width: 992px) {
  .main-image-container {
    width: 100%;
    height: auto;
  }
}
.product-details {
    margin-top: 20px;
}
.product-name {
    font-size: 2rem;
    font-weight: bold;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e68900;
    margin-top: 10px;
    margin-bottom: 0.5rem;
}
.quantity-available {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 15px;
}
.add-to-cart-btn {
    background-color: #ff9900; 
    color: white;
    border: none;
    margin-top: 20px;
    width: 100%;
    font-size: 1.2rem;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}
.add-to-cart-btn:hover {
    background-color: #e68900;
    color: white;
    transform: scale(1.05);
}
.add-to-cart-btn i {
    margin-right: 10px;
}
.product-description {
    margin-top: 40px;
}
.product-description h3 {
    margin-bottom: 20px;
}
/* The overall container for the inspiration videos section */
.inspiration-videos {
  margin-top: 40px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 
   A wrapper that handles the layout of video cards, 
   similar to your product-grid approach 
*/
.video-grid-wrapper {
  display: flex;       /* Flex layout for large screens */
  flex-wrap: wrap;     /* Wrap to multiple rows if needed on desktop */
  gap: 15px;           /* Space between video cards */
  margin: 0;           /* No extra margin by default */
  padding: 0;          /* No extra padding */
  max-width: 100%;     
  box-sizing: border-box;
  /* On large screens, we might let them wrap in multiple rows */
}

/* Each video card that mimics .card's style */
.video-card {

  width: 200px;  /* fixed card width (like your product cards) */
  margin-top: 20px;
  border: none;
  height: 170px;
  border-radius: 0.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle shadow */
}

.video-container{
  position:relative;
  width:100%;
  aspect-ratio:16/9;   /* keeps the 16 : 9 box */
  background:#000;
  border-radius:.8rem;
  overflow:hidden;
}

.video-container > video{
  position:absolute;
  inset:0;             /* top:0; right:0; bottom:0; left:0 */
  width:100%;
  height:100%;
  object-fit:contain;    /* little letter-boxing */
}

.plyr--paused .plyr__controls button[data-plyr="play"] {
    display: none !important;
}

/* Hide the placeholder container until an ad is injected */
#floating-ad-area:empty { display:none; }


/* =============== SMALL SCREENS: horizontal swipe =============== */
@media (max-width: 992px) {
  .video-grid-wrapper {
    flex-wrap: nowrap;      /* No wrapping => horizontal row */
    overflow-x: auto;       /* Enable horizontal scroll */ /* smooth iOS inertia scroll */
  }

  .video-card {
    flex: 0 0 auto;         /* So they don't shrink, each card is 200px wide */
    margin-right: 10px;     /* spacing between cards horizontally */
  }

  /* If you want to hide the scrollbar on mobile, you can do: */
  .video-grid-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge hide scrollbar */
  }
  .video-grid-wrapper {
    -ms-overflow-style: none;  /* IE/Edge */
}
  .mobile-slide-img,
  .video-slide video {
    object-fit: contain;   /* instead of contain */
  }
  .swiper-slide-active .play-badge {           /* current front slide */
      display: none !important;
  }
  .plyr--paused .plyr__controls button[data-plyr="play"] {
    display: none !important;
  }

}

.product-grid-wrapper{position:relative;width:100%;}
.product-grid{display:flex;flex-wrap:wrap;gap:15px;justify-content:flex-start;margin:0;padding:0;}
@media (max-width:768px){.product-grid{justify-content:center;}}
.product-item{flex:0 0 calc(16.66% - 15px);}
@media (max-width:1400px){.product-item{flex:0 0 calc(20% - 15px);}}
@media (max-width:1100px){.product-item{flex:0 0 calc(25% - 15px);}}
@media (max-width:900px){ .product-item{flex:0 0 calc(33.33% - 15px);}}
@media (max-width:600px){ .product-item{flex:0 0 calc(50% - 15px);}}

/* ----- CARD LOOK & FEEL ----- */
.card{border:none;border-radius:0.8rem;overflow:hidden;display:flex;flex-direction:column;}
.product-image{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;background:#f8f9fa url('/static/images/placeholder.webp') center/contain no-repeat;border-top-left-radius:0.8rem;border-top-right-radius:0.8rem;}
.card-body{flex:1 1 auto;display:flex;flex-direction:column;padding:0;}
.card-body a,
.card-body a:visited,
.card-body a:hover{ text-decoration:none; }
.card-title,.price-text{text-align:left;}
.card-title{width:100%;font-size:1rem;font-weight:500;margin:.5rem 0 .3rem;color:#000;line-height:1.15;overflow:hidden;word-wrap:break-word;hyphens:auto;text-overflow:ellipsis;max-width:200px;}
.price-text{font-size:1.1rem;font-weight:700;color:#FF6600;margin:0 0 .5rem;}
.card:hover{box-shadow:0 2px 4px rgba(0,0,0,.2);transform:translateY(-5px);transition:.3s;}

.weee-cart-capsule {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #FF6600;
  box-shadow: 0 2px 10px rgba(255,110,10,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.3rem;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid #FF6600;
  transition: width 0.25s cubic-bezier(.7,.3,.2,1), border-radius 0.22s, background 0.22s, color 0.2s;
  z-index: 6;
}
.weee-cart-capsule .weee-add-label {
  opacity: 0;
  width: 0;
  margin-left: 0;
  overflow: hidden;
  color: #FF6600;
  font-size: 1.03rem;
  font-weight: 500;
  transition: opacity .17s, width .19s, margin-left .18s;
  white-space: nowrap;
}
.weee-cart-capsule .weee-cart-plus {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #FF6600;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  line-height: 28px;
  transition: background 0.17s, color 0.16s;
}

.weee-cart-capsule:hover,
.weee-cart-capsule:focus {
  width: 140px;
  border-radius: 28px;
  background: #FF6600;
  color: #fff;
  outline: none;
}
.weee-cart-capsule:hover .weee-cart-plus,
.weee-cart-capsule:focus .weee-cart-plus {
  background: #fff;
  color: #FF6600;
}
.weee-cart-capsule:hover .weee-add-label,
.weee-cart-capsule:focus .weee-add-label {
  opacity: 1;
  width: 85px;
  margin-left: 8px;
  color: #fff;
}

.weee-cart-capsule.in-cart {
  width: 115px;
  border-radius: 26px;
  background: #FF6600;
  color: #fff;
  box-shadow: 0 2px 12px rgba(255,110,10,0.11);
  padding-left: 0; padding-right: 0;
}
.weee-cart-capsule.in-cart .weee-qty-controls {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.weee-cart-capsule.in-cart .weee-qty-btn {
  background: #fff;
  color: #FF6600;
  border: none;
  font-size: 1.2rem;
  border-radius: 50%;
  width: 28px; height: 28px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(255,110,10,0.08);
  transition: background .16s, color .13s;
}
.weee-cart-capsule.in-cart .weee-qty-btn:hover {
  background: #ffe3cc;
}
.weee-cart-capsule.in-cart .weee-qty-num {
  min-width: 22px; text-align: center; font-size: 1.07rem; font-weight: bold; color: #fff;
}


/* ==========================
   Mobile Swiper Styles
   ========================== */

/* Container that holds the track + dots */
.swiper-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* or 100% to fill the entire column */
    margin: 0 auto;
    overflow: hidden; /* hide scrollbars */
}

/* The track of slides that will move left/right */
.swiper-track {
    display: flex;
    transition: transform 0.3s ease;
    touch-action: pan-y; /* enable vertical scroll if user swipes up/down */
}

/* Each slide is full container width (so only 1 is shown at a time) */
.swiper-slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* The image inside each slide */
.mobile-slide-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.8rem;
}

/* Pagination dots container */
.swiper-dots {
    position: absolute;
    bottom: 10px; /* or some space above the bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

/* Each dot */
.swiper-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Active dot styling */
.swiper-dot.active {
    background-color: #28a745; /* your desired “green” color */
}

/* 1️⃣ Positioning for the wrappers you just added */
.thumb-wrapper,
.swiper-slide.video-slide {
    position: relative;  /* let the badge absolutely position inside */
}

/* 2️⃣ The little white badge */
.play-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;           /* don’t block clicks */
}

.play-badge i {
    color: #000;
    font-size: 14px;
}
.tab-pane table {
    width: 100%; border-collapse: collapse; margin-bottom: 1rem;
}
.tab-pane th, .tab-pane td {
    border: 1px solid #f0f0f0;
    padding: .5rem;
}
.tab-pane th { background: #28a745; color:#fff; font-weight:600; } /* green */
/* 1️⃣ Hide Alibaba’s spacer cells */
td.magic-4,
div.magic-5, div.magic-9, div.magic-10, div.magic-11 {
    display: none !important;
}

/* 2️⃣ Remove inner div padding so cell text lines up nicely */
table.hight-light-first-column td > div {
    padding: 0 !important;
    margin : 0 !important;
}

/* 3️⃣ Generic look (can override earlier colours) */
table.hight-light-first-column,
table.hight-light-first-column td,
table.hight-light-first-column th {
    border: 1px solid #e6e6e6;
}

table.hight-light-first-column th,
table.hight-light-first-column td:first-child {
    background: #f7f7f7;          /* light grey for first column */
    font-weight: 600;
}


/* 1️⃣ Force Plyr’s big play button to be white everywhere */
.plyr--video .plyr__play-large,
.plyr--video .plyr__control--overlaid {
    background: rgba(255,255,255,0.85) !important;  /* white circle  */
    color: #000 !important;                         /* black triangle */
    border: none;
}

/* 2️⃣ When a slide is the main/active item, hide our tiny badge */
#mainDisplayBox .play-badge,            /* desktop main image box   */
.swiper-slide-active .play-badge {      /* current slide on mobile  */
    display: none;
}

.accordion-button {
  background-color:#ff9900;       /* dark */
  color:#fff;
}
.accordion-button:not(.collapsed){
  background-color:#ff9900;       /* even darker when open */
  color:#fff;
}

 /* PHONE LANDSCAPE — product-detail gets full-width, no sidebar */
@media (orientation: landscape) and (max-height: 500px) {
  /* 1️⃣ Hide the sidebar menu */
  body.product-detail-page #sidebarMenu {
    display: none !important;
  }

   body.product-detail-page .site-nav desktop-nav {
    display: none   !important;
  }

  /* 2️⃣ Let the detail content fill the screen */
  body.product-detail-page .detail-main-container {
    padding-left: 15px !important;          /* kill the 100-px indent */
    max-width: 100% !important;             /* ignore the “-210px” calc */
  }
  
}
.vendor-line{ display:flex; align-items:center; gap:.5rem; margin:.25rem 0 0; }

.verified-chip{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:2px 8px; border-radius:9999px;
  background:#ecfdf5; border:1px solid #a7f3d0;
  color:#065f46; font-weight:600; font-size:.85rem; line-height:1;
}
.verified-chip .v-icon{ width:14px; height:14px; flex:0 0 14px; }
@media (max-width:600px){
  .verified-chip{ font-size:.82rem; padding:2px 6px; }
  .verified-chip .v-icon{ width:13px; height:13px; }
}

.moq-chip{ font-size:.85rem; color:#555; background:#f2f2f2; border-radius:12px; padding:2px 8px; display:inline-inline; }

/* ── Timeline ───────────────────────────────────── */
.order-timeline{ margin-top:18px; }
.timeline-title{ font-weight:600; margin-bottom:.35rem; }
.timeline{
  list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(7,1fr); gap:6px;
}
.timeline li{
  position:relative; text-align:center; font-size:.78rem; color:#888;
}
.timeline li::before{
  content:""; display:block; width:10px; height:10px; margin:0 auto 6px;
  border-radius:50%; background:#d9d9d9;
}
.timeline li.is-done{ color:#222; }
.timeline li.is-done::before{ background:#28a745; }
.timeline li.is-current{ color:#111; font-weight:600; }
.timeline li.is-current::before{ background:#ff9900; }
.timeline-rail{
  grid-column:1/-1; height:3px; background:linear-gradient(90deg,#28a745 0,#28a745 var(--done,0%), #e6e6e6 var(--done,0%));
  border-radius:2px; margin:8px 0 2px;
}
.eta-note{ font-size:.85rem; color:#555; margin-top:.25rem; }

/* ---- Mobile thumbnail strip (below main image) ---- */
@media (max-width: 992px){
  .thumb-strip{
    display:flex; gap:8px; margin-top:10px;
    overflow-x:auto; padding:6px 2px;
  }
  .thumb{
    position:relative; flex:0 0 auto;
    width:64px; height:64px; border-radius:8px;
    border:1px solid #e6e6e6; background:#fff;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
  }
  .thumb img{
    max-width:100%; max-height:100%;
    object-fit:cover; border-radius:8px;
  }
  .thumb .play-badge{        /* tiny play badge for video thumbs */
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:22px; height:22px; border-radius:50%;
    background:rgba(255,255,255,.9);
    display:flex; align-items:center; justify-content:center;
    pointer-events:none;
  }
  .thumb .play-badge i{ font-size:10px; color:#000; }
  .thumb.active{
    border-color:#0DFD71;
    box-shadow:0 0 0 2px rgba(13,253,113,.25);
  }
}

    /* Make the desktop player fill the 400×400 main box */
    #mainDisplayBox { position: relative; }
    #mainDisplayBox .plyr,
    #mainDisplayBox .plyr__video-wrapper,
    #mainDisplayBox video {
    width: 100%;
    height: 100%;
    }

    /* Fill the box (crop if needed) and use white instead of black */
    #mainDisplayBox video { object-fit: cover; background:#fff; }
    .plyr--video { background:#fff; }

    /* --- MOBILE SLIDES: back to “image-like” height with rounded corners --- */
    @media (max-width: 992px){
    /* Stop forcing square */
    .mobile-swiper .swiper-slide { aspect-ratio: auto; }

    /* Same rounded feel as images, not overly tall */
    .mobile-swiper .swiper-slide img,
    .mobile-swiper .swiper-slide video {
        width: 100%;
        height: auto;             /* back to natural height */
        max-height: 420px;        /* cap so it never feels too tall */
        object-fit: contain;      /* no cropping (keep white letterbox) */
        border-radius: .8rem;
        background: #fff;
    }

    /* Make sure Plyr’s wrapper inherits the rounding too */
    .mobile-swiper .plyr,
    .mobile-swiper .plyr__video-wrapper {
        border-radius: .8rem;
        overflow: hidden;
    }
    }


    /* Only change the ON_DEMAND badge (the one that had bg-info).
   Leave green "In stock • Kampala" alone. */
    .badge-market.bg-info {
    background: transparent !important;   /* no blue pill */
    color: #111 !important;               /* solid black text */
    padding: 0 !important;                /* remove badge padding */
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 550;
    }

    /* Optional: make it look like normal inline text */
    .badge-market.bg-info.badge {
    display: inline;
    }

    /* Buttons */
    .classified-actions { display:grid; gap:10px; }
    @media (min-width: 768px){
    .classified-actions { grid-template-columns: repeat(4, 1fr); }
    }
    .so-btn{
    display:block; width:100%;
    border-radius:16px; padding:12px 14px; font-weight:600;
    border:2px solid transparent; transition:.18s;
    }
    .so-primary{ background:#FF9900; color:#fff; border-color:#FF9900; }
    .so-primary:hover{ background:#E68900; border-color:#E68900; color:#fff; }
    .so-outline{ background:#fff; color:#28A745; border-color:#28A745; }
    .so-outline:hover{ background:#28A745; color:#fff; }
    .so-dark{ background:#111; color:#fff; border-color:#111; }
    .so-ghost{ background:transparent; color:#111; border-color:#e6e6e6; }
    .so-ghost:hover{ background:#f5f5f5; }

    /* Stars (large summary) */
    .stars-lg .fa { font-size:1.15rem; }

    /* Star input (write review) */
    .stars-input{
    display:flex; flex-direction: row-reverse; justify-content:flex-end;
    }
    .stars-input input{ display:none; }
    .stars-input label{
    font-size:2rem; line-height:1; cursor:pointer; color:#ccc; margin-left:2px;
    }
    .stars-input input:checked ~ label,
    .stars-input label:hover,
    .stars-input label:hover ~ label { color:#FF9900; }

    /* Review list (server returns markup); keep it clean */
    .reviews-section .review-item{
    border:1px solid #eee; border-radius:10px; padding:10px; margin-bottom:10px;
    }

    /* Quick replies */
    .chip{
    border:1px solid #e6e6e6; background:#fff; border-radius:999px;
    padding:6px 10px; font-size:.9rem;
    }
    .chip:hover{ background:#f7f7f7; }

/* ============== Clean CTA + Modal theming ============== */
.chat-cta{
  display:inline-flex; align-items:center; gap:.5rem;
  background:#FF9900; color:#fff; border:2px solid #FF9900;
  padding:12px 16px; border-radius:16px; font-weight:700;
  transition:.18s; box-shadow:0 2px 10px rgba(255,153,0,.08);
}
.chat-cta:hover{ background:#E68900; border-color:#E68900; color:#fff; transform:translateY(-1px); }
.chat-cta .fa{ font-size:1.1rem; }

@media (max-width: 992px){
  .chat-cta{ width:100%; justify-content:center; }
}

/* Modal shell */
.suuq-modal .modal-content{
  border-radius:18px; border:1px solid #FFE3CC;
  box-shadow:0 20px 45px rgba(17,17,17,.12);
}
/* Lighter, lively orange header with gradient */
.suuq-modal .modal-header{
  background: linear-gradient(135deg,#FFC36B 0%, #FFB347 45%, #FF9900 100%);
  color:#fff; border:0;
  border-top-left-radius:18px; border-top-right-radius:18px;
  padding-top:10px; padding-bottom:12px;
}

.suuq-modal .modal-body{ padding-top:10px; }

.suuq-modal .btn-close{ filter:invert(1); opacity:.9; }

/* Vendor avatar + title */
.suuq-modal .vendor-head{ display:flex; align-items:center; gap:10px; }
.suuq-modal .vendor-avatar{
  width:36px; height:36px; border-radius:50%;
  object-fit:cover; border:2px solid rgba(255,255,255,.9);
  box-shadow:0 0 0 2px rgba(255,255,255,.25);
}

.suuq-modal .chat-title{ font-weight:800; line-height:1.1; }
.suuq-modal .chat-sub{ font-size:.82rem; opacity:.95; }
/* Modal chips & send */

.suuq-modal .quick-replies.qr-scroll{
  display:flex;
  flex-wrap:nowrap;           /* keep on ONE line */
  gap:8px;
  overflow-x:auto;            /* swipe/scroll */
  padding:6px 4px;
  margin:4px 0 10px;
  white-space:nowrap;
  position:relative;
  /* subtle edge fade to hint more chips */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 26px, black calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 26px, black calc(100% - 26px), transparent 100%);
}

/* hide scrollbar (keeps scroll working) */
.suuq-modal .quick-replies.qr-scroll::-webkit-scrollbar{ display:none; }
.suuq-modal .quick-replies.qr-scroll{ }

.suuq-modal .quick-replies .chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:999px;
  border:1.8px solid #28A745; color:#28A745; background:#fff;
  font-weight:600; line-height:1; white-space:nowrap;
  box-shadow:0 1px 4px rgba(40,167,69,.06);
}
.suuq-modal .quick-replies .chip:active{ transform:scale(.98); }
.suuq-modal .btn-send{
  background:#28A745; border-color:#28A745; color:#fff;
}
.suuq-modal .btn-send:hover{
  background:#23913c; border-color:#23913c; color:#fff;
}

/* Animated safety note */
.suuq-modal .safety-note{
  position:relative;
  background:#FFF9E6; color:#6b4d1e;
  border:1px solid #FFE08A;
  border-radius:10px;
  padding:8px 12px 8px 40px;
  font-size:.9rem; margin-top:.3rem;
}
.suuq-modal .safety-note .ping{
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:10px; height:10px; background:#FF9900; border-radius:50%;
  box-shadow:0 0 0 rgba(255,153,0,.6);
  animation:suqpulse 1.6s infinite;
}
@keyframes suqpulse{
  0% { box-shadow:0 0 0 0 rgba(255,153,0,.55); }
  70%{ box-shadow:0 0 0 12px rgba(255,153,0,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,153,0,0); }
}

/* Make the main CTA match the modal theme if you want a lighter look on hover */
.chat-cta{ box-shadow:0 2px 10px rgba(255,153,0,.10); }
.chat-cta:hover{ transform:translateY(-1px); }

/* Reviews block header */
.reviews-title{
  font-weight:800; letter-spacing:.2px;
  display:flex; align-items:center; gap:.5rem;
}
.reviews-title .dot{
  width:10px; height:10px; border-radius:50%;
  background:#28A745; display:inline-block;
}
/* keep modal above everything; keep backdrop just under it */
.modal{ z-index:1080; }
.modal-backdrop{ z-index:1070; }

.sponsored-header{
  font-weight:700; margin:8px 0; display:flex; align-items:center; gap:.4rem;
}
.sponsored-header .dot{
  width:8px; height:8px; border-radius:50%; background:#111; display:inline-block;
}
.product-grid-scroll{
  display:flex; gap:12px; overflow-x:auto; padding-bottom:4px;
}
.product-grid-scroll .product-item{ flex:0 0 auto; }


/* inline plan chip beside vendor name */
.plan-badge{
  display:inline-flex; align-items:center; gap:.35rem;
  background:#111; color:#fff; padding:2px 8px; border-radius:999px;
  font-size:.8rem; font-weight:700; line-height:1;
}

/* contact buttons in one row */
.contact-row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.contact-btn{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:10px 14px; border-radius:14px; font-weight:700;
  border:2px solid transparent; text-decoration:none;
}
.contact-btn .fa{ font-size:1rem; }

/* brand colours */
.contact-btn.wa { background:#25D366; border-color:#25D366; color:#fff; }
.contact-btn.wa:hover { filter:brightness(.95); color:#fff; }

.contact-btn.call { background:#fff; border-color:#28A745; color:#28A745; }
.contact-btn.call:hover { background:#28A745; color:#fff; }

.contact-btn { display:inline-flex; align-items:center; gap:.45rem; line-height:1; }
.contact-btn.wa { color:#fff; }             /* makes the icon white via currentColor */
.wa-icon{
  width:20px; height:20px; flex:0 0 20px;
  display:block;
  transform: translateY(.5px);              /* optical nudge for visual center */
}

/* Ensure icon + text align nicely in the pill */
.chat-cta{
  display:inline-flex;                 /* keeps existing look */
  align-items:center;
  gap:.6rem;
  line-height:1;
}
.chat-cta { text-decoration: none; }
.chat-cta:hover { text-decoration: none; }
.chat-icon { width:20px; height:20px; display:block; color:#fff; } 
/* --- Vendor row: tighter, wraps cleanly on mobile --- */
.vendor-line{
  display:flex; align-items:center;
  flex-wrap:wrap; gap:6px 10px;    /* row-gap / col-gap */
  margin:.25rem 0 0;
  min-width:0;                     /* allow long names to wrap */
}
.vendor-line > *{ flex:0 0 auto; } /* chips don’t squish */
.vendor-name{ font-weight:600; line-height:1.1; }

/* plan chip a touch smaller on narrow screens */
@media (max-width:600px){
  .plan-badge{ font-size:.74rem; padding:2px 6px; }
  .vendor-name{ font-size:.95rem; }
}

/* compact rating pill that can move to the next line on wrap */
.rating-pill{
  display:inline-flex; align-items:center; gap:.3rem;
  padding:2px 8px; border-radius:9999px;
  background:#FFF7E6; border:1px solid #FFE0A3;
  color:#9a6b00; font-weight:700; font-size:.82rem; line-height:1;
}
.rating-pill .fa{ font-size:.9rem; color:#FF9900; }

/* CTA row spacing on phones */
@media (max-width:600px){
  .contact-row{ gap:8px; }
  .chat-cta{ width:100%; margin-top:.5rem; }
}

:root{
  --s-green:#0dbf5a;
  --s-green-ink:#0a7f3e;
  --s-border:#e9f3ee;
  --s-name:#0a7f3e;
  --s-val:#0e1b15;
  --s-row:#f8fffb;
}
.spec-wrap { max-width: 100%; }
.spec-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid var(--s-border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.spec-table th, .spec-table td{
    padding: 12px 14px;                /* a bit more vertical space */
    line-height: 1.35;                 /* prevents text from touching */
    vertical-align: middle;
}
.spec-table tr:nth-child(odd){ background:var(--s-row); }
.spec-table tr:last-child th,
.spec-table tr:last-child td{ border-bottom:none; }
.spec-table th:last-child,
.spec-table td:last-child{ border-right:none; }

.spec-name{
  width:22%;
  font-weight:600;
  color:var(--s-name);
  white-space:nowrap;
}
.spec-val{
  color:var(--s-val);
}

.spec-name, .spec-val{ word-break: break-word; }

/* Mobile: fall back to single label/value per row */
@media (max-width: 767.98px){
  .spec-name{ width:38%; }
}

/* Make the toggle button look like a link in our brand color */
.spec-toggle{
  color:var(--s-green-ink);
  font-weight:600;
  text-decoration:none;
}
.spec-toggle:hover{ color:var(--s-green); text-decoration:underline; }

/* Make the toggle look like a clean text link in our brand color */
.spec-toggle{
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--s-green-ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.spec-toggle:hover{ color: var(--s-green); text-decoration: underline; }
/* Kill the blue-ish pressed/focus glow on all devices */
.spec-toggle:focus,
.spec-toggle:active,
.spec-toggle:focus-visible{
  outline: none;
  box-shadow: none;
  color: var(--s-green-ink);
  background: transparent;
  text-decoration: underline;
}
.spec-table th, .spec-table td{
    padding: 12px 14px;                /* a bit more vertical space */
    line-height: 1.35;                 /* prevents text from touching */
    vertical-align: middle;
  }
  .spec-name{ width:22%; font-weight:600; color:var(--s-name); white-space:nowrap; }
  .spec-val{ color:var(--s-val); }
  .spec-name, .spec-val{ word-break: break-word; }  /* long values won’t collide */
/* ---------- Mobile layout: two tidy columns + gaps ---------- */
@media (max-width: 767.98px){
  /* Render each table row as a small grid so it becomes:
      [name | value]
      [name | value] */
  .spec-table tr{
    display: grid;
    grid-template-columns: 44% 56%;  /* a little more room for values */
    column-gap: 12px;                /* <-- space between name & value */
    row-gap: 6px;                    /* space between the two pairs */
  }
  .spec-table th, .spec-table td{
    border-right: none;              /* cleaner look in grid mode */
    padding: 10px 12px;              /* slightly tighter on phones */
  }
  /* If a row only has one spec, hide the empty placeholders */
  .spec-table .spec-name--empty,
  .spec-table .spec-val--empty{ display: none; }
}

  /* “Show more/less” link — keep brand color, kill blue press/focus */
  .spec-toggle{
    appearance:none;background:transparent;border:0;padding:0;
    color:var(--s-green-ink);font-weight:600;text-decoration:none;cursor:pointer;
  }
  .spec-toggle:hover{ color:var(--s-green); text-decoration:underline; }
  .spec-toggle:focus,.spec-toggle:active,.spec-toggle:focus-visible{
    outline:none; box-shadow:none; background:transparent; color:var(--s-green-ink);
  }
  .reviews-section .so-ghost{
    width:auto !important;
    padding:10px 16px;
    border-radius:12px;
  }

.rv-avatar{
  width:34px; height:34px; border-radius:50%;
  background:#f3f4f6; display:flex; align-items:center; justify-content:center;
  font-weight:700; color:#374151; flex:0 0 36px; overflow:hidden;
}
.rv-avatar img{width:100%; height:100%; object-fit:cover; border-radius:50%}
.rv-avatar.rv-owner{ box-shadow:0 0 0 2px #fff, 0 0 0 4px #16a34a }

/* Thread layout: small, capped indent with subtle guide */
.rv-item{ position:relative; margin-left: calc(min(var(--depth, 0), 3) * 12px); }
.rv-replies{
  margin-left: 12px;               /* small nudge only */
  border-left: 1.5px solid #eee;   /* subtle vertical guide */
  padding-left: 10px;
}

/* Tiny vertical hairlines for deeper levels (visual separation, low width impact) */
.rv-replies .rv-replies{ border-left-color:#f2f2f2; }
.rv-replies .rv-replies .rv-replies{ border-left-color:#f6f6f6; }

/* Comment images scale nicely */
.rv-item img.rounded{ max-width:100%; height:auto }

/* Reviews layout: narrow left + ad rail on desktop */
@media (min-width: 992px){
  .reviews-left  { max-width: 720px; }   /* keeps the list visually narrow */
}

/* Compact review cards */
#reviews .card-body{ padding-top:.75rem; padding-bottom:.75rem; }

/* Avatars: crisp & small */
.rv-avatar{ width:36px; height:34px; flex:0 0 34px; }
@media (max-width:576px){ .rv-avatar{ width:30px; height:30px; flex-basis:30px; } }

/* Minimal nesting: cap visual depth at 2 and shrink indent */
:root{ --rv-indent: 10px; --rv-indent-mobile: 6px; }
.rv-item{ margin-left: calc(min(var(--depth, 0), 2) * var(--rv-indent)); }
.rv-replies{
  margin-left: var(--rv-indent);
  border-left: 1px solid #eee;
  padding-left: 10px;
}
.rv-replies .rv-replies{ border-left-color:#f2f2f2; }
@media (max-width:576px){
  .rv-item{ margin-left: calc(min(var(--depth, 0), 2) * var(--rv-indent-mobile)); }
  .rv-replies{ margin-left: var(--rv-indent-mobile); padding-left:8px; }
}

/* Smaller meta text, tidy buttons */
.rv-item .small{ font-size:.88rem; }
.rv-item .btn.btn-sm{ padding:.15rem .45rem; }

/* Make the ad rail cards feel native */
.reviews-right .card{ border:1px solid #eee; border-radius:12px; }
/* Keep sticky rail below main top nav */
.reviews-right .sticky-top{
  z-index: 90;   /* lower than nav bar */
}

/* —— Flatten the thread: no incline, no left spine —— */
.rv-item{ margin-left:0 !important; }
.rv-replies{ margin-left:0 !important; padding-left:0 !important; border-left:0 !important; }

/* Compact spacing between stacked replies */
.rv-replies > .rv-item{ margin-top:.35rem; }

/* —— Avatars: always round —— */
.rv-avatar{ width:34px; height:34px; flex:0 0 34px; border-radius:50%; overflow:hidden; }
.rv-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }

/* When you render initials instead of an image */
.rv-initial{
  width:100%; height:100%; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:#f2f2f2; font-weight:700;
}

/* —— “Ad/Owner” (vendor) avatar ring —— */
.rv-avatar-owner img, .rv-avatar-owner .rv-initial{
  box-shadow:0 0 0 2px #22c55e;  /* green ring */
  border-radius:50%;
}

/* Tidy meta/controls */
.rv-item .small{ font-size:.88rem; }
.rv-item .btn.btn-sm{ padding:.15rem .45rem; }


/* Desktop/tablet: keep the thread flat and clean */
@media (min-width: 577px){
  .rv-item{ margin-left:0 !important; }
  .rv-replies{ margin-left:0 !important; padding-left:0 !important; border-left:0 !important; }
}

/* Phones: keep a professional, subtle slant; reduce more for deeper replies */
@media (max-width: 576.98px){
  .rv-replies{ margin-left:8px; padding-left:8px; border-left:1px solid #eee; }
  .rv-item[data-depth="0"]{ margin-left:0; }
  .rv-item[data-depth="1"]{ margin-left:8px; }      /* first reply */
  .rv-item[data-depth="2"],
  .rv-item[data-depth="3"],
  .rv-item[data-depth="4"]{ margin-left:12px; }     /* second+ reply — reduced */
}


/* Phones: flatten every depth (no margins, no left spine, no Bootstrap ps/border-start) */
@media (max-width: 576.98px){
  /* Our recursive thread */
  #reviews .rv-comments .rv-item{
    margin-left:0 !important;
  }
  #reviews .rv-comments .rv-replies{
    margin-left:0 !important;
    padding-left:0 !important;
    border-left:0 !important;
  }
  /* Any nested rv-replies (grandchildren+) */
  #reviews .rv-comments .rv-replies .rv-replies{
    margin-left:0 !important;
    padding-left:0 !important;
    border-left:0 !important;
  }

  /* Legacy partials that used Bootstrap padding/border-left */
  #reviews .rv-comments .ps-1,
  #reviews .rv-comments .ps-2,
  #reviews .rv-comments .ps-3,
  #reviews .rv-comments .border-start{
    padding-left:0 !important;
    border-left:0 !important;
  }
}


#reviews .rv-children,
#reviews .rv-children .rv-children{
  margin-left:0 !important; padding-left:0 !important; border-left:0 !important;
}
#reviews .rv-comments .border-start,
#reviews .rv-comments [class*="ps-"]{
  border-left:0 !important; padding-left:0 !important;
}


/* Left breathing space for each comment row (no cumulative indent) */
#reviews .rv-item > .d-flex { padding-inline-start: 12px; }

/* A touch more room on phones */
@media (max-width: 576.98px){
  #reviews .rv-item > .d-flex { padding-inline-start: 14px; }
}

/* Keep threads flat (guard) */
#reviews .rv-children,
#reviews .rv-children .rv-children{
  margin-left:0 !important; padding-left:0 !important; border-left:0 !important;
}


.rating-inline{ display:flex; align-items:center; gap:.5rem; }
.stars-5{
  position:relative; line-height:1; font-size:18px;
  display:inline-block; width:auto;
}
.stars-5 .base i{ color:#e5e7eb; }           /* light gray outline stars */
.stars-5 .fill{
  position:absolute; inset:0 auto 0 0;       /* top:0 right:auto bottom:0 left:0 */
  white-space:nowrap; overflow:hidden;
}
.stars-5 .fill i{ color:#f59e0b; }           /* star color (use .text-warning if you prefer) */

@media (max-width:576.98px){
  .stars-5{ font-size:16px; }
}



/* Compact, Alibaba-style inline stars (works without Font Awesome) */
.rating-inline { display:flex; align-items:center; gap:.5rem; }
.starbar {
  position:relative; display:inline-block; line-height:1; font-size:18px;
  letter-spacing:.08em; /* star spacing so the overlay lines up */
}
.starbar .base  { color:#e5e7eb; }   /* light gray background stars */
.starbar .fill  { 
  position:absolute; top:0; left:0; white-space:nowrap; overflow:hidden;
  color:#f59e0b;    /* star color */
}
@media (max-width:576.98px){ .starbar{ font-size:16px; } }


/* Bigger, professional rating line (desktop + mobile) */
#reviews .rating-inline { 
  gap: .65rem; 
  align-items: baseline;
}

/* Stars: scalable with clamp (min, fluid, max) */
#reviews .starbar{
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: .06em;         /* tighter star spacing */
  line-height: 1;
  transform: translateY(-1px);   /* optical baseline alignment with numbers */
}

/* The numeric average (e.g., 2.7) */
#reviews .rating-inline strong{
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1;
}

/* The muted “· 3 reviews” text—scaled but subtler */
#reviews .rating-inline .text-muted{
  font-size: clamp(14px, 1.2vw, 16px);
}

/* ===== Specs – base ===== */
.spec-wrap{ max-width:100%; }
.spec-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid var(--s-border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.spec-table th,.spec-table td{
  padding:12px 14px;
  line-height:1.35;
  vertical-align:middle;
  /* allow wrapping everywhere */
  word-break:break-word;
  overflow-wrap:anywhere;
}
.spec-table tr:nth-child(odd){ background:var(--s-row); }

/* names + values */
.spec-name{
  width:22%;
  font-weight:600;
  color:var(--s-name);
  white-space:nowrap;          /* keep single line on desktop only */
}
.spec-val{ color:var(--s-val); }

/* ===== Mobile tweaks ===== */
@media (max-width: 767.98px){
  /* turn each <tr> into a tidy 2-column grid:
     [name | value]
     [name | value]  (if the row has two specs) */
  .spec-table tr{
    display:grid;
    grid-template-columns: 40% 60%; /* more room for the value */
    column-gap:14px;                /* space between name & value */
    row-gap:8px;                    /* space between the two pairs */
  }
  .spec-table th,.spec-table td{
    padding:10px 12px;
  }
  .spec-name{
    width:auto;
    white-space:normal;             /* let long names wrap on phones */
  }
  /* rows with a single spec shouldn't render empty cells */
  .spec-name--empty,.spec-val--empty{ display:none; }
}

/* Extra narrow phones: stack name above value for max clarity */
@media (max-width: 360px){
  .spec-table tr{
    grid-template-columns: 1fr;     /* one column */
    row-gap:2px;
  }
  .spec-table th{ padding-bottom:2px; }
  .spec-table td{ padding-top:0; }
  .spec-table th::after{
    content: ":";                   /* subtle separator */
    margin-left:.25rem;
    color:#8aa08a;                  /* soft, not loud */
  }
}

/* Toggle (Show more / Show less) looks like a link */
.spec-toggle{
  appearance:none;background:transparent;border:0;padding:0;
  color:var(--s-green-ink);font-weight:600;text-decoration:none;cursor:pointer;
}
.spec-toggle:hover{ color:var(--s-green); text-decoration:underline; }
.spec-toggle:focus,.spec-toggle:active,.spec-toggle:focus-visible{
  outline:none; box-shadow:none; background:transparent; color:var(--s-green-ink);
}
/* ===== Promoted rail — compact sizing, subtle look ===== */

.promo-rail{
  /* keep your gradient theme */
  --rail-pad: 14px;
  --gap: 14px;
  --card-w-min: 170px;      /* smaller default */
  --card-w-max: 210px;
  --title-size: .95rem;
  --price-size: 1.0rem;
  border-radius: 18px;
  padding: 10px var(--rail-pad) 14px;
  background: linear-gradient(180deg,#3a206a 0%, #2b1752 100%);
  color:#fff;
  overflow:hidden;
}

/* Small top bar (only visible on tablet/phone) */
.promo-bar{
  display:none;
  align-items:center;
  gap:10px;
  padding:4px 2px 8px;
  font-weight:700;
}
.promo-bar .dot{ width:8px;height:8px;border-radius:50%;background:#32d74b;display:inline-block; }
.promo-bar .label{ font-size:1rem; }
.promo-bar .view-more{
  margin-left:auto;
  font-weight:700;
  color:#cfe4ff;
  text-decoration:none;
  display:inline-flex; align-items:center; gap:6px;
}

/* Two-column layout: small info panel + scroll rail */
.promo-inner{
  display:grid;
  grid-template-columns: 260px 1fr;   /* narrower panel to free width */
  gap:18px;
}

.promo-info{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  padding:12px 14px;
}
.promo-info .pi-eyebrow{ display:flex; align-items:center; gap:8px; font-weight:700; margin-bottom:6px; }
.promo-info .pi-eyebrow .dot{ width:8px;height:8px;border-radius:50%; background:#32d74b; }
.promo-info .pi-title{ font-size:1.05rem; margin:4px 0 8px; }
.promo-info .pi-points{ list-style:none; padding:0; margin:0; display:grid; gap:6px; }
.promo-info .pi-points i{ color:#8ff0a4; margin-right:6px; }

/* Track — horizontal, small cards */
.promo-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: clamp(var(--card-w-min), 21vw, var(--card-w-max));
  gap: var(--gap);
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  padding-bottom:4px;
}
.promo-track::-webkit-scrollbar{ height:0; }
.promo-track{ }

/* Cards — reduced size & weight */
.promo-card{
  scroll-snap-align:start;
  display:flex; flex-direction:column; gap:8px;
  background:#fff; color:#111;
  border-radius:14px;
  text-decoration:none;
  box-shadow:0 1px 8px rgba(0,0,0,.10); /* lighter */
  padding:8px;
  transition:transform .12s ease, box-shadow .12s ease;
}
.promo-card:hover{ transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.14); }

.promo-card .img-wrap{
  position:relative; width:100%;
  aspect-ratio: 4 / 3;                 /* shorter thumb than square */
  border-radius:10px; overflow:hidden;
  background:#f4f6f8;
}
.promo-card img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }

.tier-badge{
  position:absolute; top:6px; left:6px;
  background:rgba(0,0,0,.75); color:#fff;
  font-size:.7rem; padding:3px 7px; border-radius:999px; line-height:1;
}

:root{
  --price-font: "Inter", system-ui, -apple-system, "Segoe UI",
                "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

.promo-card .card-meta{ display:grid; gap:3px; font-family: var(--price-font);}
.promo-card .title{ font-weight:600; font-size:var(--title-size); line-height:1.25;
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.promo-card .price{ font-weight:800; font-size:var(--price-size); color:#ff7a00; }

/* Edge fades */
.promo-rail::before,.promo-rail::after{
  content:""; position:absolute; top:0; bottom:0; width:32px; pointer-events:none;
}
.promo-rail::before{ left:0;  background:linear-gradient(90deg,rgba(43,23,82,1) 0%,rgba(43,23,82,0) 100%); }
.promo-rail::after { right:0; background:linear-gradient(270deg,rgba(43,23,82,1) 0%,rgba(43,23,82,0) 100%); }

/* ---------- Responsive tuning: make it even lighter on mobile ---------- */

/* Hide the left panel earlier; free more space for the detail page */
@media (max-width: 1100px){
  .promo-inner{ grid-template-columns: 1fr; }
  .promo-info{ display:none; }
}

/* Tablet: smaller cards */
@media (max-width: 992px){
  .promo-rail{ --rail-pad: 10px; --gap: 10px; }
  .promo-track{ grid-auto-columns: clamp(150px, 48vw, 180px); }
  .promo-card{ padding:7px; border-radius:12px; }
  .promo-card .img-wrap{ border-radius:9px; }
  .promo-card .title{ font-size:.9rem; }
  .promo-card .price{ font-size:.95rem; }
  .promo-bar{ display:flex; }            /* show the tiny top bar */
}

/* Phones: very compact, easy swipe; keep user focus on product detail */
@media (max-width: 576px){
  .promo-rail{ width:98%; --rail-pad: 8px; --gap: 8px; }
  .promo-track{ grid-auto-columns: 58vw; }   /* noticeably smaller than before */
  .promo-card{ padding:6px; }
  .promo-card .img-wrap{ aspect-ratio: 4/3; }
  .promo-card .title{ font-size:.85rem; }
  .promo-card .price{ font-size:.92rem; }
}
/* --- Fix purple edge bars + simplify on small screens --- */
.promo-rail{
  position: relative !important;              /* contain ::before/::after */
}

.promo-rail::before,
.promo-rail::after{
  top: 0; bottom: 0;                          /* ensure they only span the rail */
  width: 28px;                                /* a touch slimmer fade */
  pointer-events: none;
}

/* Hide the fades on tablet/phone so nothing bleeds to page edges */
@media (max-width: 992px){
  .promo-rail::before,
  .promo-rail::after{ display: none !important; }
}

/* ---- Compact + consistent width ---- */
.promo-rail{ width:100%; }                     /* reach right edge at all breakpoints */
.promo-track{ padding-bottom:4px; }

/* Tablet */
@media (max-width: 992px){
  .promo-rail{ --rail-pad:10px; --gap:10px; }
  .promo-track{ grid-auto-columns: clamp(150px, 32vw, 190px); }
  .promo-card{ padding:7px; border-radius:12px; }
  .promo-card .img-wrap{ border-radius:9px; }
  
}

/* Phones: show ~2.5 cards without feeling heavy */
@media (max-width: 576px){
  .promo-rail{ --rail-pad:8px; --gap:8px; }
  /* 40vw ≈ 2.5 cards across (100/40 = 2.5) with sane guards */
  .promo-track{ grid-auto-columns: clamp(132px, 40vw, 168px); }
  .promo-card{ padding:6px; }
  .promo-card .img-wrap{ aspect-ratio: 4/3; }
 
}

/* Fades only inside the rail; hide them on small screens */
.promo-rail{ position:relative !important; }
@media (max-width: 992px){
  .promo-rail::before, .promo-rail::after{ display:none !important; }
}

/* --- Tidy text + lighter weights for promo cards --- */

/* two-line title with ellipsis; lighter weight */
.promo-card .title{
  font-weight: 400;                 /* was heavier; now lighter */
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;            /* exactly two lines */
  line-clamp:2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;           /* handle super long tokens */
  hyphens: auto;
  min-height: calc(1.25em * 2);     /* keeps grid height steady even if 1 line */
}

/* single-line price with ellipsis; slightly lighter weight */
.promo-card .price{
  font-weight: 700;                 /* down from 800 */
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;  /* steadier digit width */
  letter-spacing: 0.1px;               /* tiny breathing room */
}

/* Optional: tighten on phones a touch more (keeps it elegant) */
@media (max-width: 576px){
  .promo-card .title{ font-weight: 400; }
  .promo-card .price{ font-weight: 700; }
}


/* ===== Action CTAs ===== */
.action-ctas { margin-top: 1rem; }

/* Make the big chat CTA span the full rail width */
.action-ctas .chat-cta{
  width:100%;
  display:flex;               /* override .d-inline-flex */
  justify-content:center;
  align-items:center;
  gap:.5rem;
  min-height:48px;
  border-radius:12px;
  font-weight:700;
}

/* Equal-width row for 2 or 3 small buttons */
.contact-row{
  display:grid;
  gap:10px;
}
.contact-row.has-2{ grid-template-columns: repeat(2, 1fr); }
.contact-row.has-3{ grid-template-columns: repeat(3, 1fr); }

/* Button base */
.contact-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:44px;            /* consistent touch target */
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  border:1.5px solid transparent;
  line-height:1;
}

/* Keep your colors */
.contact-btn.wa{  background:#25D366; color:#fff; }
.contact-btn.call{
  background:#fff; color:#22C55E; border-color:#22C55E;
}
.contact-btn.shop{
  background:#f1f5f9; color:#0f172a; /* neutral */
}

/* Icon sizing */
.contact-btn .fa,
.chat-cta .chat-icon,
.contact-btn .wa-icon{
  width:1.1em; height:1.1em;
}

@media (min-width: 992px){
  .contact-btn{ min-height:48px; }
}

/* ---- Chat-like shell ---- */
  .suuq-modal .modal-content{ border-radius:16px; border:0; box-shadow:0 12px 48px rgba(0,0,0,.18); }
  .suuq-modal .modal-header{
    border:0; border-top-left-radius:14px; border-top-right-radius:14px;
    background:linear-gradient(90deg,#ffb347,#ff7a00);
    color:#fff; padding:14px 16px;
  }
  .suuq-modal .btn-close{ filter: invert(1) grayscale(1) brightness(200%); }
  .suuq-modal .vendor-head{ display:flex; align-items:center; gap:12px; }
  .suuq-modal .vendor-avatar{ width:46px; height:46px; border-radius:50%; object-fit:cover; background:#fff; }
  .suuq-modal .chat-title{ font-weight:700; }
  .suuq-modal .chat-sub{ font-size:.9rem; opacity:.9; margin-top:2px; }

  .suuq-modal .btn-send{ background:#22c55e; color:#fff; border:none; }
  .suuq-modal .btn-send:hover{ background:#19a753; color:#fff; }

  /* ---- Star rating (grey → hover preview → orange when selected) ---- */
  .rv-stars{
    --size: 28px;
    --c-empty:#d9d9d9;
    --c-hover:#ffc173;
    --c-active:#ff8c1a;
    display:inline-flex; flex-direction:row-reverse; gap:8px; align-items:center;
  }
  .rv-stars > input{ position:absolute; opacity:0; pointer-events:none; }
  .rv-stars > label{
    width:var(--size); height:var(--size); cursor:pointer; border-radius:4px;
    /* text star (no external asset needed) */
    display:inline-flex; align-items:center; justify-content:center;
    color: var(--c-empty); font-size: calc(var(--size) - 2px); line-height:1;
  }
  .rv-stars > label::before{ content:"★"; }

  /* Hover preview */
  .rv-stars:not(:checked) > label:hover,
  .rv-stars:not(:checked) > label:hover ~ label{
    color: var(--c-hover);
  }
  /* Selected */
  .rv-stars > input:checked ~ label{ color: var(--c-active); }

  /* Keyboard focus */
  .rv-stars > input:focus + label{
    outline: 3px solid rgba(255,140,26,.35);
    outline-offset: 2px;
  }

  /* Robust multi-line clamp for product titles */
.title-wrap{
  /* visual */
  margin:.5rem 0 .35rem;
  font-size:1rem; font-weight:500; color:#000;

  /* default: 3 lines; override with inline --lines if needed */
  --lines:3;
  line-height:1.22;
  overflow:hidden;

  /* universal height clamp */
  max-height:calc(var(--lines) * 1.22em);
  display:block;

  /* wrapping that never collapses to just "…" */
  word-break:break-word;
  overflow-wrap:anywhere;
  hyphens:auto;
}

/* WebKit multi-line clamp (Chrome/Safari) */
@supports (-webkit-line-clamp:1){
  .title-wrap{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:var(--lines);
    line-clamp:var(--lines);
    max-height:none; /* WebKit handles the clamping */
  }
}

/* make sure the title area can shrink in flex layout */
.product-list-page .product-grid .card-body,
.product-list-page .product-grid .product-link,
.product-list-page .product-grid .title-wrap{ min-width:0 !important; }

/* if some old rule added an artificial ellipsis, kill it */
.card-title::after, .title-wrap::after{ content:none !important; }


/* ---- Price typography (grid + anywhere .price-text) ---- */
:root{
  --price-font: "Inter", system-ui, -apple-system, "Segoe UI",
                "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

.price-text{
  font-family: var(--price-font);
  font-weight: 600;                 /* bold digits */
  font-size: 1.1rem;                /* keep your current size */
  color: #FF6600;
  margin: 0 0 .5rem;

  /* beautiful, aligned digits */
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;

  letter-spacing: -0.2px;           /* subtle tightening */
}

/* Optional: if you split currency + amount (see HTML option below) */
.price-text .cur{
  font-weight: 500;

  letter-spacing: .2px;
  margin-right: .25rem;
}
.price-text .amt{
  font-weight: 800;
}

/* Slightly larger on mobile if you want */
@media (max-width: 600px){
  .price-text{ font-size: 1.15rem; }
}

/* ------------ About this item ------------- */
/* ------------ About this item ------------- */
.about-box{
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fcfdfd;
  padding:10px 14px 12px;
  font-size:.97rem;
  line-height:1.6;
  color:#111827;
}

.about-text{
  max-height:7.5em;                /* ~5–6 lines */
  overflow:hidden;
  position:relative;
  word-break:break-word;
  white-space: pre-line;
  margin:0;
}

/* soft fade at bottom when clamped */
.about-text::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1.6em;                     /* was 2.2 – fade was too tall */
  background:linear-gradient(to bottom,
                              rgba(252,253,253,0),
                              #fcfdfd);
  pointer-events:none;
  opacity:.97;
}

/* expanded state */
.about-text.expanded{
  max-height:none;
}

/* when expanded OR when we decide “no fade”, hide overlay */
.about-text.expanded::after,
.about-text.no-fade::after{
  display:none;
}

.about-text p{
  margin: 0 0 .75rem;
}
.about-text p:first-child{ margin-top: 0; }
.about-text p:last-child{  margin-bottom: 0; }

.about-toggle{
  border: 0;
  background: none;
  padding: 4px 0 0;
  margin-top: 0px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--s-green-ink);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.about-toggle:hover{
  text-decoration: underline;
  color: var(--s-green);
}
.about-toggle:focus,
.about-toggle:active,
.about-toggle:focus-visible{
  outline: none;
  box-shadow: none;
  color: var(--s-green-ink);
}

@media (max-width:576px){
  .about-box{
    padding:10px 12px;
    font-size:.95rem;
  }
}


/* Make reel thumbs feel clickable */
.thumbnail-image[data-type="video"],
.swiper-slide.video-slide{
  cursor: pointer;
}

/* If you still have a rule hiding play-badge on active slide, override it */
@media (max-width: 992px){
  .swiper-slide.video-slide .play-badge{
    display:flex !important;
  }
}

/* ===== Reels strip (re-uses your thumb design, just bigger) ===== */
.reels-panel { margin-top: 14px; }
.reels-panel .reels-strip{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding-bottom:4px;
}
.reels-panel .reels-strip::-webkit-scrollbar{ display:none; }
.reels-panel .reels-strip{ }

.reels-panel .thumb-wrapper{
  flex:0 0 110px;
  height:155px;
  border-radius:.8rem;
  overflow:hidden;
  border:0.5px solid #F0F8FF;
  background:#fff;
}

/* override ONLY inside reels strip (your normal thumbs remain 70x70) */
.reels-panel .thumb-wrapper .thumbnail-image{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  margin:0 !important;
  border:0 !important;
  border-radius:.8rem !important;
}
.reels-panel .thumb-wrapper:hover{
  border:1px solid #CCCCFF;
}
/* Shop address location icon – SUUQ orange */
.shop-location-icon{
  color:#FF6600;
}

.location-text{
  font-size: .9rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 .3rem;
}

.location-text i{
  font-size: .9rem;
  color: #6b7280;
}


.vendor-line{
  margin:.25rem 0 .55rem;
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:nowrap;
  min-width:0;
}

/* Green Verified chip */
.verified-chip{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  padding:2px 8px 2px 4px;   /* a touch more vertical padding */
  border-radius:999px;
  background:#ecfdf3;
  border:1px solid #16a34a;
  color:#15803d;
  font-size:.7rem;
  font-weight:600;
  white-space:nowrap;
  line-height:1;
  /* 🔸 no fixed height – let padding control it */
}

.verified-chip .v-icon{
  width:14px;
  height:14px;
  flex-shrink:0;
}

/* === Alibaba-style deal slot (right side) === */
.deal-flags{
  margin-left:auto;              /* push to the right of Verified */
  display:flex;
  align-items:center;
}

.deal-flags-inner{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  /* keep the slot size stable */
  overflow:hidden;               /* hide sliding pills outside the slot */
  min-width:100px;
  min-height:26px;               /* about pill height */
}

/* Base orange pill – HIDDEN by default.
   JS will mark one as .is-entering to show it. */
.deal-flag{
  position:absolute;
  top:0;
  left:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(248,250,252,.96);
  border:1px solid rgba(249,115,22,.7);
  color:#f97316;
  font-size:.7rem;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(249,115,22,.18);

  opacity:0;
  transform:translateY(100%);    /* wait just below the slot */
}

/* Enter / leave animations */
.deal-flag.is-entering{
  animation: dealIn .22s ease forwards;
}
.deal-flag.is-leaving{
  animation: dealOut .22s ease forwards;
}

@keyframes dealIn{
  from{ transform:translateY(100%);  opacity:0; }
  to  { transform:translateY(0);     opacity:1; }
}
@keyframes dealOut{
  from{ transform:translateY(0);     opacity:1; }
  to  { transform:translateY(-100%); opacity:0; }
}

/* Slight lift on hover (only for the visible one) */
.product-item:hover .deal-flag.is-entering,
.product-item:focus-within .deal-flag.is-entering{
  box-shadow:0 8px 20px rgba(249,115,22,.26);
}

/* keep tidy on very small screens */
@media (max-width: 600px){
  .verified-chip{ font-size:.82rem; padding:2px 6px; }
  .verified-chip .v-icon{ width:13px; height:13px; }
  .deal-flag{ font-size:.73rem; }
}
/* === Recommended products grid on product detail page === */
/* Use CSS grid instead of flex, and keep card heights equal */
.product-detail-page .product-grid-wrapper{
  width:100%;
}

.product-detail-page .product-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:15px;
  margin:0;
  padding:0;
}

/* 2 columns on small phones, like the main product list */
@media (max-width:600px){
  .product-detail-page .product-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* reset flex settings on items inside this grid */
.product-detail-page .product-grid .product-item{
  flex:initial;
  width:auto;
}


/* === Product click feedback inside product detail page === */
.suuq-page-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.58);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}

.suuq-page-loader.is-visible{
  display:flex;
}

.suuq-loader-card{
  min-width:190px;
  padding:14px 18px;
  border-radius:18px;
  background:#111827;
  color:#fff;
  box-shadow:0 16px 45px rgba(15,23,42,.25);
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:600;
  font-size:.95rem;
}

.suuq-loader-spin{
  width:18px;
  height:18px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,.35);
  border-top-color:#ff6600;
  animation:suuq-spin .65s linear infinite;
}

.product-item.is-opening,
.product-card.is-opening,
.absec-product.is-opening,
.promo-card.is-opening{
  transform:scale(.985);
  opacity:.72;
  transition:transform .08s ease, opacity .08s ease;
}

@keyframes suuq-spin{
  to{ transform:rotate(360deg); }
}

.badge--sponsored{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 7px;
  border-radius:10px;

  background:linear-gradient(135deg,#fff7ed 0%, #ffedd5 100%);
  border:1px solid rgba(255,102,0,.38);
  color:#ff6600;

  box-shadow:0 4px 12px rgba(255,102,0,.18);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);

  font-weight:700;
  font-size:.95rem;
  line-height:1;
  z-index:3;
}

/* ===== Premium reviews area on product detail ===== */
.reviews-section{
  --rv-card:#ffffff;
  --rv-line:#eee5dc;
  --rv-line-soft:#f5ede4;
  --rv-text:#162033;
  --rv-muted:#6b7280;
  --rv-orange:#ff6600;
  --rv-orange-soft:#fff4ea;
  --rv-shadow:0 14px 34px rgba(15, 23, 42, 0.08);
  --rv-shadow-soft:0 8px 22px rgba(15, 23, 42, 0.05);
}

.reviews-section .rv-pd-shell{
  max-width: 760px;
}

.reviews-section .rv-pd-kicker{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8b5e34;
  margin-bottom:6px;
}

.reviews-section .rv-pd-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.reviews-section .rv-pd-title{
  font-size:1.7rem;
  font-weight:800;
  color:var(--rv-text);
  letter-spacing:-0.02em;
  line-height:1.1;
}

.reviews-section .rv-pd-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.reviews-section .rv-pd-stat-card,
.reviews-section .rv-pd-breakdown-card,
.reviews-section .rv-pd-list-card,
.reviews-section .reviews-right .card{
  background:var(--rv-card);
  border:1px solid var(--rv-line);
  border-radius:24px;
  box-shadow:var(--rv-shadow-soft);
}

.reviews-section .rv-pd-stat-card,
.reviews-section .rv-pd-breakdown-card{
  padding:20px 20px;
  height:100%;
}

.reviews-section .rv-pd-score{
  font-size:3rem;
  line-height:.95;
  font-weight:800;
  letter-spacing:-0.04em;
  color:var(--rv-orange);
}

.reviews-section .rv-pd-outof{
  color:var(--rv-muted);
  font-size:1rem;
  font-weight:600;
}

.reviews-section .rv-pd-meta{
  color:var(--rv-muted);
  font-size:.95rem;
}

.reviews-section .rv-pd-break-row{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 28px;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}

.reviews-section .rv-pd-break-row:last-child{
  margin-bottom:0;
}

.reviews-section .rv-pd-break-label,
.reviews-section .rv-pd-break-count{
  font-size:.92rem;
  font-weight:700;
  color:var(--rv-text);
}

.reviews-section .rv-pd-break-count{
  text-align:right;
  color:var(--rv-muted);
}

.reviews-section .rv-pd-bar{
  height:10px;
  background:#f6eee6;
  border-radius:999px;
  overflow:hidden;
}

.reviews-section .rv-pd-bar-fill{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, #ff6600 0%, #ff8b3d 100%);
}

.reviews-section .rv-pd-list-card{
  overflow:hidden;
  box-shadow:var(--rv-shadow);
}

.reviews-section .rv-pd-list-head{
  padding:16px 18px;
  border-bottom:1px solid var(--rv-line-soft);
  background:linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

.reviews-section .rv-pd-list-title{
  font-weight:800;
  color:var(--rv-text);
  font-size:1.05rem;
}

.reviews-section .rv-pd-list-sub{
  color:var(--rv-muted);
  font-size:.88rem;
}

.reviews-section #reviews-wrap{
  background:linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  min-height:80px;
}

.reviews-section #reviews-wrap .rv-chunk{
  border:1px solid var(--rv-line-soft) !important;
  border-radius:22px !important;
  overflow:hidden !important;
  box-shadow:0 12px 24px rgba(15, 23, 42, 0.04) !important;
  margin-bottom:14px !important;
  background:#fff !important;
}

.reviews-section #reviews-wrap .card-body{
  padding:16px !important;
}

.reviews-section #reviews-wrap .text-warning{
  color:#f2aa00 !important;
}

.reviews-section #reviews-wrap .btn-light{
  background:#fff7ee !important;
  border:1px solid #ffe1c6 !important;
  color:#8a4b11 !important;
  border-radius:12px !important;
  font-weight:700;
  padding:.42rem .72rem !important;
  box-shadow:none !important;
}

.reviews-section #reviews-wrap .btn-success{
  border-radius:12px !important;
  font-weight:700;
  padding:.42rem .72rem !important;
}

.reviews-section #reviews-wrap .btn-link{
  color:var(--rv-orange) !important;
  font-weight:700;
  text-decoration:none !important;
}

.reviews-section #reviews-wrap .rv-photos{
  margin-top:10px !important;
  margin-bottom:12px !important;
}

.reviews-section #reviews-wrap .rv-photos img,
.reviews-section #reviews-wrap .rv-comments img{
  width:120px;
  height:120px;
  object-fit:cover;
  border-radius:16px !important;
  border:1px solid var(--rv-line-soft);
  background:#fff;
}

.reviews-section #reviews-wrap [id^="rv-"][id$="-comments"]{
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid var(--rv-line-soft) !important;
}

.reviews-section #reviews-wrap .rv-comments{
  background:#fcfaf8;
  border:1px solid var(--rv-line-soft);
  border-radius:18px;
  padding:14px;
}

.reviews-section #reviews-wrap .badge.text-bg-secondary{
  background:#fff3e6 !important;
  color:#a55200 !important;
  border:1px solid #ffd9b8 !important;
}

.reviews-section #reviews-wrap .input-group > .form-control{
  border-radius:12px !important;
  border-color:#eadfd4;
  min-height:44px;
  box-shadow:none;
}

.reviews-section #reviews-wrap .btn-dark{
  background:var(--rv-orange) !important;
  border-color:var(--rv-orange) !important;
}

.reviews-section #reviews-wrap #rv-loadmore .btn-outline-secondary,
.reviews-section #rv-loadmore .btn-outline-secondary{
  border-radius:14px !important;
  border:1px solid #ffd5b1 !important;
  color:var(--rv-orange) !important;
  background:#fff8f2 !important;
  font-weight:800;
}

.reviews-section .reviews-right .card{
  overflow:hidden;
}

.reviews-section .reviews-right .card-body{
  padding:18px !important;
}

.reviews-section .btn-outline-dark.btn-sm{
  border-radius:12px;
  padding:.55rem .9rem;
  font-weight:700;
  color:#FF6600;
  background:#fff;
  border-color:#FF6600;
  box-shadow:none;
  transition:background-color .16s ease, color .16s ease, border-color .16s ease;
}

.reviews-section .btn-outline-dark.btn-sm:hover,
.reviews-section .btn-outline-dark.btn-sm:focus,
.reviews-section .btn-outline-dark.btn-sm:focus-visible{
  color:#fff;
  background:#FF6600;
  border-color:#FF6600;
  box-shadow:0 6px 16px rgba(255,102,0,.16);
  outline:none;
}

.reviews-section .btn-outline-dark.btn-sm:active{
  color:#fff;
  background:#e65c00;
  border-color:#e65c00;
}

.reviews-section .btn-link.btn-sm{
  color:var(--rv-orange) !important;
  font-weight:700;
}

@media (max-width: 991.98px){
  .reviews-section .rv-pd-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .reviews-section .rv-pd-title{
    font-size:1.35rem;
  }

  .reviews-section .rv-pd-score{
    font-size:2.5rem;
  }

  .reviews-section #reviews-wrap .card-body{
    padding:14px !important;
  }

  .reviews-section #reviews-wrap .rv-photos img,
  .reviews-section #reviews-wrap .rv-comments img{
    width:108px;
    height:108px;
  }
}

/* === Related-product details: compact, aligned and mobile-safe === */
.product-grid .product-item .price-text{
  display:flex;
  align-items:baseline;
  flex-wrap:nowrap;
  gap:.22rem;
  min-width:0;
  margin:0 0 .18rem;
  font-size:1rem;
  line-height:1.12;
  white-space:nowrap;
}

.product-grid .product-item .price-text .cur{
  flex:0 0 auto;
  margin-right:0;
  font-size:.74em;
  font-weight:650;
  letter-spacing:.01em;
}

.product-grid .product-item .price-text .amt{
  min-width:0;
  font-size:.96em;
  font-weight:780;
  letter-spacing:-.02em;
}

.product-grid .product-item .location-text{
  display:grid;
  grid-template-columns:14px minmax(0,1fr);
  align-items:start;
  column-gap:3px;
  margin:0 0 .22rem;
  font-size:.84rem;
  line-height:1.18;
}

.product-grid .product-item .location-text i{
  width:14px;
  margin:.1em 0 0 !important;
  color:#f97316;
  font-size:.8rem;
  line-height:1;
  text-align:center;
}

.product-grid .product-item .location-text i::before{
  content:"\f54e" !important;
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome";
  font-weight:900;
}

.product-grid .product-item .vendor-line{
  width:100%;
  min-width:0;
  min-height:22px;
  gap:.3rem;
  margin:.05rem 0 .35rem;
  overflow:hidden;
}

.product-grid .product-item .verified-chip{
  flex:0 0 auto;
}

.product-grid .product-item .deal-flags{
  flex:1 1 0;
  min-width:0;
  justify-content:flex-end;
  overflow:hidden;
}

.product-grid .product-item .deal-flags-inner{
  width:100%;
  min-width:0;
  min-height:22px;
}

.product-grid .product-item .deal-flag{
  right:0;
  left:auto;
  max-width:100%;
  padding:2px 7px;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (max-width:600px){
  .product-grid .product-item .title-wrap{
    --lines:2 !important;
    min-height:2.4em;
    max-height:2.4em;
    margin:.42rem 0 .25rem;
    line-height:1.2;
  }

  .product-grid .product-item .price-text{
    gap:.18rem;
    margin-bottom:.16rem;
    font-size:.94rem;
  }

  .product-grid .product-item .price-text .cur{
    font-size:.7em;
  }

  .product-grid .product-item .price-text .amt{
    font-size:.96em;
    letter-spacing:-.025em;
  }

  .product-grid .product-item .location-text{
    grid-template-columns:12px minmax(0,1fr);
    column-gap:2px;
    min-height:2.3em;
    max-height:2.3em;
    margin-bottom:.16rem;
    overflow:hidden;
    font-size:.78rem;
    line-height:1.15;
  }

  .product-grid .product-item .location-text i{
    width:12px;
    margin:.12em 0 0 !important;
    font-size:.7rem;
  }

  .product-grid .product-item .vendor-line{
    min-height:20px;
    gap:2px;
    margin:.04rem 0 .28rem;
  }

  .product-grid .product-item .verified-chip{
    gap:2px;
    padding:2px 5px 2px 2px;
    font-size:.64rem;
  }

  .product-grid .product-item .verified-chip .v-icon{
    width:11px;
    height:11px;
    flex-basis:11px;
  }

  .product-grid .product-item .deal-flags-inner{
    min-height:20px;
  }

  .product-grid .product-item .deal-flag{
    padding:2px 5px;
    font-size:.62rem;
    box-shadow:none;
  }
}

/* === Product hero: final mobile alignment override ===
   Keep this after the earlier component rules so long seller names and the
   three contact actions can never make the details column overflow. */

/* Keep seller identity in a clear reading order: name, verification, package. */
.product-details .vendor-line > .vendor-name{ order:1; }
.product-details .vendor-line > .verified-chip{ order:2; }
.product-details .vendor-line > .plan-badge{ order:3; }

@media (max-width:600px){
  .product-detail-container,
  .product-detail-container > .row,
  .product-detail-container > .row > [class*="col-"]{
    min-width:0;
  }

  .product-details{
    min-width:0;
    margin-top:16px;
  }

  .product-name{
    margin-bottom:.2rem;
    font-size:1.72rem;
    line-height:1.16;
    overflow-wrap:anywhere;
  }

  .product-price{
    margin-top:6px;
    font-size:1.28rem;
    line-height:1.2;
  }

  /* Mobile hierarchy: seller name, verification and package. */
  .product-details .vendor-line{
    width:100%;
    min-width:0;
    margin:.45rem 0 .65rem;
    display:flex;
    align-items:center;
    flex-wrap:wrap !important;
    gap:5px 4px;
    overflow:visible;
  }

  .product-details .vendor-line > *{
    flex:0 0 auto;
    max-width:100%;
  }

  .product-details .vendor-line > .verified-chip{
    order:2;
    margin:0;
    padding:2px 5px 2px 2px;
    font-size:.62rem;
  }

  .product-details .vendor-line > .vendor-name{
    order:1;
    flex:0 1 auto !important;
    min-width:0;
    max-width:100%;
    font-size:.84rem;
    line-height:1.2;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  /* Keep the plan immediately after the verified badge. */
  .product-details .vendor-line::after{
    display:none;
  }

  .product-details .vendor-line > .plan-badge{
    order:3;
    margin-top:0;
    padding:2px 7px;
    font-size:.68rem;
    line-height:1.1;
  }

  .action-ctas{
    width:100%;
    min-width:0;
    margin-top:.75rem;
  }

  .action-ctas .chat-cta{
    min-width:0;
    min-height:46px;
    margin-top:0;
    padding:10px 12px;
    font-size:.94rem;
    border-radius:12px;
  }

  .action-ctas .contact-row{
    width:100%;
    min-width:0;
    gap:8px;
  }

  .action-ctas .contact-row.has-2{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .action-ctas .contact-row.has-3{
    grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.8fr);
  }

  .action-ctas .contact-btn{
    width:100%;
    min-width:0;
    min-height:42px;
    padding:0 6px !important;
    gap:5px;
    font-size:.86rem;
    white-space:nowrap;
    overflow:hidden;
    border-radius:11px;
  }

  .action-ctas .contact-btn .wa-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
  }

  .action-ctas .contact-btn .fa{
    flex:0 0 auto;
    font-size:.96rem;
  }

  .seller-trust-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:2px 4px;
    font-size:.84rem !important;
    line-height:1.35;
  }
}

@media (max-width:350px){
  .action-ctas .contact-row{
    gap:6px;
  }

  .action-ctas .contact-btn{
    padding:0 4px !important;
    gap:4px;
    font-size:.8rem;
  }

  .action-ctas .contact-btn .wa-icon{
    width:15px;
    height:15px;
    flex-basis:15px;
  }
}

/* =========================================================
   SUUQ PRODUCT DETAIL — FINAL MARKETPLACE POLISH
   Keeps the established gallery arrangement while aligning
   recommendations and actions with the approved listing cards.
   ========================================================= */
.product-detail-page{
  --suuq-green:#12C25B;
  --suuq-green-ink:#087a3d;
  --suuq-orange:#FF6600;
  --suuq-ink:#14231e;
  --suuq-white:#fff;
}

/* Show the whole main product without changing the thumbnail/gallery order. */
.product-detail-page .main-image-container{
  width:min(100%,460px);
  height:auto;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  background:var(--suuq-white);
  border:1px solid rgba(18,194,91,.16);
  border-radius:14px;
}

.product-detail-page .main-image{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
  background:var(--suuq-white);
  border-radius:13px;
}

/* Main product price beside the gallery: SUUQ brand orange. */
.product-detail-page .product-details .product-price{
  color:var(--suuq-orange);
}

.product-detail-page .thumbnail-image,
.product-detail-page .thumb img{
  object-fit:contain;
  object-position:center;
  background:var(--suuq-white);
}

@media (max-width:992px){
  .product-detail-page .mobile-swiper .swiper-container{
    width:min(100%,460px);
    max-width:460px;
    margin-inline:auto;
  }

  .product-detail-page .mobile-swiper .swiper-track{
    width:100%;
    align-items:stretch;
  }

  .product-detail-page .mobile-swiper .swiper-slide{
    flex:0 0 100%;
    min-width:100%;
    width:100%;
    aspect-ratio:1/1;
    box-sizing:border-box;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:var(--suuq-white);
    border:1px solid rgba(18,194,91,.14);
    border-radius:14px;
  }

  .product-detail-page .mobile-swiper .swiper-slide img,
  .product-detail-page .mobile-swiper .swiper-slide video{
    width:100% !important;
    height:100% !important;
    max-height:none !important;
    display:block;
    object-fit:contain !important;
    object-position:center;
    background:var(--suuq-white);
    border-radius:13px;
  }
}

/* Seller package: proper line icon and text, without a black pill. */
.product-detail-page .product-details .plan-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0;
  color:var(--suuq-green-ink);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-size:.78rem;
  font-weight:720;
  line-height:1.2;
}

.product-detail-page .product-details .plan-badge--master{
  color:var(--suuq-orange);
}

.product-detail-page .product-details .plan-badge svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
}

/* Premium action panel: clear rectangles, not oversized pills. */
.product-detail-page .action-ctas{
  margin-top:1rem;
  padding:11px;
  background:var(--suuq-white);
  border:1px solid rgba(18,194,91,.2);
  border-radius:14px;
  box-shadow:0 7px 20px rgba(18,194,91,.07);
}

.product-detail-page .action-ctas .primary-shop-cta{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:11px 14px;
  color:var(--suuq-orange);
  background:var(--suuq-white);
  border:1px solid rgba(255,102,0,.7);
  border-radius:9px;
  box-shadow:none;
  font-size:.96rem;
  font-weight:760;
  line-height:1;
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .12s ease;
}

.product-detail-page .action-ctas .primary-shop-cta:hover,
.product-detail-page .action-ctas .primary-shop-cta:focus-visible{
  color:var(--suuq-white);
  background:var(--suuq-orange);
  border-color:var(--suuq-orange);
  box-shadow:0 7px 16px rgba(255,102,0,.18);
  transform:translateY(-1px);
  text-decoration:none;
  outline:none;
}

.product-detail-page .action-ctas .primary-shop-cta:active{
  transform:scale(.985);
}

.product-detail-page .action-ctas .primary-shop-cta .chat-icon{
  display:none;
}

.product-detail-page .action-ctas .primary-shop-cta::before{
  content:"\f54e";
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome";
  font-weight:900;
  font-size:1rem;
}

.product-detail-page .action-ctas .contact-row{
  margin-top:8px !important;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr)) !important;
  gap:8px;
}

.product-detail-page .action-ctas .contact-btn{
  min-width:0;
  min-height:43px;
  padding:9px 8px !important;
  gap:6px;
  border-radius:9px;
  box-shadow:none;
  font-size:.86rem;
  font-weight:720;
  white-space:nowrap;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease;
}

.product-detail-page .action-ctas .contact-btn.chat{
  color:var(--suuq-orange);
  background:var(--suuq-white);
  border-color:rgba(255,102,0,.7);
}

.product-detail-page .action-ctas .contact-btn.chat:hover,
.product-detail-page .action-ctas .contact-btn.chat:focus-visible{
  color:var(--suuq-white);
  background:var(--suuq-orange);
  border-color:var(--suuq-orange);
  box-shadow:0 7px 16px rgba(255,102,0,.18);
  transform:translateY(-1px);
  outline:none;
}

.product-detail-page .action-ctas .primary-shop-cta:focus-visible,
.product-detail-page .action-ctas .contact-btn.chat:focus-visible{
  outline:3px solid rgba(255,102,0,.2);
  outline-offset:2px;
}

.product-detail-page .action-ctas .primary-shop-cta:focus-visible{
  outline-color:rgba(255,102,0,.2);
}

.product-detail-page .action-ctas .contact-btn.chat:active{
  transform:scale(.985);
}

.product-detail-page .action-ctas .contact-btn.call{
  color:var(--suuq-green-ink);
  background:var(--suuq-white);
  border-color:rgba(18,194,91,.6);
}

/* Related listings: same disciplined card system as product_list. */
.product-detail-page .related-products-section{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid rgba(18,194,91,.16);
}

.product-detail-page .related-products-head{
  margin:0 0 14px;
}

.product-detail-page .related-products-kicker{
  display:block;
  margin-bottom:3px;
  color:var(--suuq-green-ink);
  font-size:.7rem;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.product-detail-page .related-products-title{
  margin:0;
  color:var(--suuq-ink);
  font-size:1.22rem;
  font-weight:790;
  line-height:1.2;
  letter-spacing:-.015em;
}

.product-detail-page .product-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

.product-detail-page .product-grid .product-item{
  width:auto;
  max-width:none;
  min-width:0;
  padding:6px 8px 9px;
  overflow:hidden;
  background:var(--suuq-white);
  border:1px solid rgba(18,194,91,.14);
  border-radius:15px;
  box-shadow:0 5px 15px rgba(18,194,91,.055);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.product-detail-page .product-grid .product-item:hover,
.product-detail-page .product-grid .product-item:focus-within{
  transform:translateY(-2px);
  border-color:rgba(18,194,91,.38);
  box-shadow:0 10px 24px rgba(18,194,91,.11);
}

.product-detail-page .product-grid .product-item .card{
  overflow:visible;
  border-radius:11px;
  box-shadow:none;
  transform:none;
}

.product-detail-page .product-grid .product-item .card:hover{
  box-shadow:none;
  transform:none;
}

.product-detail-page .product-grid .product-item .product-image{
  width:100%;
  max-height:none;
  aspect-ratio:1/1;
  display:block;
  object-fit:cover;
  object-position:center;
  background:var(--suuq-white);
  border-radius:11px;
}

.product-detail-page .product-grid .product-item .title-wrap{
  margin:.62rem 1px .32rem;
  color:var(--suuq-ink);
  font-size:.91rem;
  font-weight:590;
  line-height:1.28;
}

.product-detail-page .product-grid .product-item .price-text{
  margin-inline:1px;
  color:var(--suuq-orange);
}

.product-detail-page .product-grid .product-item .location-text{
  margin-inline:1px;
  color:#435148;
}

.product-detail-page .product-grid .product-item .location-text i{
  color:var(--suuq-orange);
}

.product-detail-page .product-grid .product-item .verified-chip{
  gap:4px;
  padding:0;
  color:var(--suuq-green-ink);
  background:transparent;
  border:0;
  border-radius:0;
  font-weight:700;
}

.product-detail-page .product-grid .product-item .deal-flag{
  padding:0;
  color:var(--suuq-orange);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.product-detail-page .plan-mark{
  position:absolute;
  top:8px;
  left:8px;
  z-index:5;
  width:31px;
  height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--suuq-green-ink);
  background:rgba(255,255,255,.96);
  border:1px solid rgba(18,194,91,.42);
  border-radius:9px;
  box-shadow:0 4px 12px rgba(16,25,20,.12);
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
}

.product-detail-page .plan-mark--master{
  color:var(--suuq-orange);
  border-color:rgba(255,102,0,.5);
}

.product-detail-page .plan-mark svg{
  width:17px;
  height:17px;
}

.product-detail-page .promotion-label{
  position:absolute;
  top:8px;
  right:8px;
  z-index:5;
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 7px;
  color:#28342d;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(18,194,91,.28);
  border-radius:7px;
  box-shadow:0 3px 10px rgba(16,25,20,.09);
  font-size:.62rem;
  font-weight:750;
  line-height:1;
}

@media (max-width:1200px){
  .product-detail-page .product-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width:900px){
  .product-detail-page .product-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:600px){
  .product-detail-page .related-products-section{
    margin-top:30px;
    padding-top:18px;
  }

  .product-detail-page .related-products-title{
    font-size:1.08rem;
  }

  .product-detail-page .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .product-detail-page .product-grid .product-item{
    padding:5px 6px 8px;
    border-radius:12px;
  }

  .product-detail-page .product-grid .product-item .card,
  .product-detail-page .product-grid .product-item .product-image{
    border-radius:9px;
  }

  .product-detail-page .product-grid .product-item .title-wrap{
    margin:.48rem 1px .24rem;
    font-size:.84rem;
  }

  .product-detail-page .plan-mark{
    top:7px;
    left:7px;
    width:28px;
    height:28px;
    border-radius:8px;
  }

  .product-detail-page .plan-mark svg{
    width:15px;
    height:15px;
  }

  .product-detail-page .promotion-label{
    top:7px;
    right:7px;
    min-height:22px;
    padding:3px 5px;
    font-size:.56rem;
  }

  /* Pair the main buyer actions, then keep WhatsApp and Call together below. */
  .product-detail-page .action-ctas{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .product-detail-page .action-ctas .primary-shop-cta{
    order:1;
    min-width:0;
    min-height:48px;
  }

  .product-detail-page .action-ctas .contact-row{
    display:contents !important;
  }

  .product-detail-page .action-ctas .contact-btn.chat{
    order:2;
    min-height:48px;
    font-size:.96rem;
  }

  .product-detail-page .action-ctas .contact-btn.wa{ order:3; }
  .product-detail-page .action-ctas .contact-btn.call{ order:4; }
}

/* Keep Specifications as a simple marketplace table: neutral, clear and compact. */
.product-detail-page .spec-table{
  width:100%;
  border-collapse:collapse;
  border-spacing:0;
  border:1px solid #d9d9d9;
  border-radius:0;
  background:#fff;
}

.product-detail-page .spec-table tr,
.product-detail-page .spec-table tr:nth-child(odd){
  background:#fff;
}

.product-detail-page .spec-table th,
.product-detail-page .spec-table td{
  padding:14px 18px;
  border-right:1px solid #dedede;
  border-bottom:1px solid #dedede;
  color:#111;
  line-height:1.35;
  vertical-align:middle;
}

.product-detail-page .spec-table th:last-child,
.product-detail-page .spec-table td:last-child{
  border-right:0;
}

.product-detail-page .spec-table tr:last-child th,
.product-detail-page .spec-table tr:last-child td{
  border-bottom:0;
}

.product-detail-page .spec-table .spec-name{
  width:20%;
  color:#111;
  background:#f7f7f7;
  font-weight:500;
}

.product-detail-page .spec-table .spec-val{
  width:30%;
  color:#111;
  background:#fff;
  font-weight:700;
}

/* Match the typography already used by Reviews & Ratings. */
.product-detail-page .detail-section-title{
  margin-bottom:16px;
  color:#162033;
  font-size:1.7rem;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.1;
}

/* The existing global report form is moved into this slot below Shop address. */
.product-detail-page #product-report-slot:empty{
  display:none;
}

.product-detail-page #product-report-slot .suuq-safety-report-wrap{
  display:block;
  width:100%;
  max-width:none;
  margin:0;
}

.product-detail-page #product-report-slot .suuq-safety-report{
  width:100%;
  max-width:none;
  box-sizing:border-box;
}

@media (max-width:767.98px){
  .product-detail-page .spec-table tr{
    column-gap:0;
    row-gap:0;
  }

  .product-detail-page .spec-table th,
  .product-detail-page .spec-table td{
    padding:11px 12px;
  }

  .product-detail-page .spec-table .spec-name{
    width:auto;
  }

  .product-detail-page .spec-table .spec-val{
    width:auto;
    border-right:0;
  }

  .product-detail-page .detail-section-title{
    font-size:1.35rem;
  }
}

/* Product-detail typography aligned with the SUUQ upload experience. */
.product-detail-page button,
.product-detail-page input,
.product-detail-page select,
.product-detail-page textarea,
.product-detail-page .product-price,
.product-detail-page .vendor-name,
.product-detail-page .title,
.product-detail-page .title-wrap {
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.product-detail-page h1,
.product-detail-page h2,
.product-detail-page h3,
.product-detail-page h4,
.product-detail-page h5,
.product-detail-page h6,
.product-detail-page .pi-title,
.product-detail-page .detail-section-title,
.product-detail-page .related-products-title,
.product-detail-page .chat-title,
.product-detail-page .rv-pd-list-title,
.product-detail-page .accordion-button {
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}


/* =========================================================
   MOBILE SAFE BOTTOM SPACE
   Prevent the fixed SUUQ bottom navigation from covering the
   final Product Detail content/recommendation cards.
   ========================================================= */
@media (max-width: 768px){
  body.product-detail-page .detail-main-container{
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}
