/* Pakka24 Single Product UI — Base (shared across devices)
   Load order:
   1) p24-single-base.css
   2) p24-single-mobile.css   (max-width: 767px)
   3) p24-single-tablet.css   (768px–1023px)
   4) p24-single-desktop.css  (1024px+)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800;900&display=swap');

:root{
  --p24-bg:#ffffff;
  --p24-text:#111827;
  --p24-muted:#6b7280;
  --p24-border:#e5e7eb;
  --p24-soft:#f3f4f6;
  --p24-primary:#111827;
  --p24-link:#2563eb;
  --p24-shadow:0 10px 30px rgba(0,0,0,.08);
  --p24-radius:18px;
}
.p24-title{
  font-size:13px !important;
  line-height:1.3;
  font-weight:200;
  color:#111827;
  margin:6px 14px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Layout shell */
.p24-wrap{
  width:100%;
  margin:18px auto;
  padding:0 14px;
  font-family:"Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--p24-text);
}

/* nicer typography */
.p24-title{font-weight:900;}
.p24-price .amount{font-weight:900;}
.about-title,.store-title{font-weight:900;}

.p24-card{
  background:var(--p24-bg);
  border-radius:var(--p24-radius);
  box-shadow:var(--p24-shadow);
  overflow:hidden;
  border:1px solid var(--p24-border);
}

/* ==========================================
   Premium Dots (match Mix Look 4 + Look 6)
   ========================================== */

/* Dots container */
.p24-dots{
  bottom:12px;
  gap:8px;
  padding:6px 10px;
  width:fit-content;
  margin:0 auto;
  border-radius:999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(10px);
}

/* Default dot */
.p24-dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background: rgba(15,23,42,.20);
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

/* Active dot: pill style */
.p24-dot.active{
  width:18px;
  background: rgba(15,23,42,.75);
  transform: translateY(-.5px);
}

/* ==========================================
   Product Image Look — MIX (Look 4 + Look 6)
   ========================================== */

/* Mix Look (apply inside slide, without breaking flex width) */
.p24-slide{
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg,#ffffff,#f6f7f9);
}

.p24-slide img{
  border-radius:15px;
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
  transform: translateY(-2px);
  transition: transform .25s ease, box-shadow .25s ease;

  /* matte print finish */
  filter: saturate(.96) contrast(1.02);
  background:#fff;
}

.p24-slide:hover img{
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}

/* ==========================================
   Premium Dots (final)
   ========================================== */

.p24-image{ position:relative; }  /* MUST */

.p24-image .p24-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  padding:6px 10px;
  width:fit-content;
  border-radius:999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(10px);
  z-index:10;
}

.p24-image .p24-dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background: rgba(15,23,42,.20);
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

.p24-image .p24-dot.active{
  width:18px;
  background: rgba(15,23,42,.75);
  transform: translateY(-.5px);
}

/* Image/slider */
.p24-image{ position:relative; background:#f6f6f6; }
.p24-image img{ width:100%; height:auto; display:block; }



/* Read more link */
.p24-readmore{display:inline-block;padding:6px 14px 0;color:var(--p24-link);font-weight:800;text-decoration:none;}
.p24-readmore:hover{text-decoration:underline;}

/* Badges */
.p24-badges{display:flex;gap:10px;padding:14px 14px 0;flex-wrap:wrap;}
.badge{padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700;display:inline-flex;gap:6px;align-items:center;}
.badge.green{background:#eaf7ee;color:#1d7a3a;}
.badge.gray{background:#f2f2f2;color:#333;}

/* Title/Price */
.p24-title{padding:10px 14px 0;font-size:18px;line-height:1.25;margin:0;letter-spacing:-.2px;}
.p24-price{padding:10px 14px;}
.p24-price .amount{font-size:20px;font-weight:900;}
.p24-price .tax{font-size:12px;color:var(--p24-muted);margin-top:4px;}

/* Cart row */
.p24-cartrow{display:flex;gap:10px;align-items:center;padding:0 14px 14px;}
.qty{display:flex;align-items:center;background:var(--p24-soft);border-radius:14px;overflow:hidden;border:1px solid #e7e7e7;}
.qty-btn{width:42px;height:42px;border:0;background:transparent;font-size:18px;cursor:pointer;}
.qty-btn:active{transform:scale(.98);}
.qty-input{width:48px;height:42px;border:0;background:transparent;text-align:center;font-weight:800;outline:none;}
.p24-addform{flex:1;}
.add-btn{width:100%;height:44px;border:0;border-radius:14px;background:var(--p24-primary);color:#fff;font-weight:900;cursor:pointer;padding:0 16px;}
.add-btn:active{transform:scale(.99);}
.add-btn.is-loading{opacity:.85;cursor:progress;}

/* Store card */
.p24-store{margin:0 14px 14px;border:1px solid var(--p24-border);border-radius:16px;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.store-left{display:flex;gap:10px;align-items:flex-start;min-width:0;}
.store-icon{font-size:22px;line-height:1;}
.store-title{font-weight:900;}
.store-name{color:var(--p24-muted);font-size:13px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
.store-meta{color:var(--p24-muted);font-size:12px;margin-top:6px;}
.sep{margin:0 8px;color:#bbb;}
.store-link{color:var(--p24-link);font-weight:800;text-decoration:none;white-space:nowrap;}
.store-link:hover{text-decoration:underline;}

.store-right{display:flex;align-items:center;justify-content:flex-end;}
.store-distance{font-weight:900;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.store-pin{font-size:14px;}

/* About */
.p24-about{padding:0 14px 16px;}
.about-title{font-weight:950;margin-top:6px;}
.about-text{color:#374151;margin-top:8px;line-height:1.55;}

/* Small accessibility improvements */
.qty-btn:focus,.add-btn:focus,.store-link:focus{outline:2px solid rgba(37,99,235,.35);outline-offset:2px;}

/* Read more link */
.p24-readmore{
  display:inline-block;
  padding:6px 14px 0;
  color:var(--p24-link);
  font-weight:800;
  text-decoration:none;
}
.p24-readmore:hover{text-decoration:underline;}

/* Store distance (right side) */
.store-distance{font-weight:900;color:#0f172a;white-space:nowrap;}
.store-pin{margin-right:6px;}

/* Sticky bottom bar (mobile uses it; hidden on desktop/tablet via CSS) */
.p24-stickybar{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:9999;
  display:none;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(15,23,42,.08);
}
.p24-sticky-price{font-weight:950;font-size:24px;}
.p24-sticky-btn{
  border:0;
  height:46px;
  padding:0 18px;
  border-radius:14px;
  background:#facc15;
  color:#111827;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.15);
}
.p24-sticky-btn:active{transform:scale(.99);}

/* Sticky bottom bar (shown on mobile only) */
.p24-stickybar{display:none;}



/* ===== Pakka24 Premium Pills (KEEP ONLY THIS BLOCK) ===== */

/* ================================
   Pakka24 Premium Pills – DARK
   ================================ */

/* Pills container */
.p24-badges{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin:6px 0 16px;
}

/* Base pill */
.p24-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;

  background:#0B0F19;
  color:#F8FAFC;
  border:1px solid rgba(255,255,255,.10);

  box-shadow:none; /* clean premium */
}

/* Stock pill */
.p24-pill-stock{
  background:#071A12;
  color:#D1FAE5;
  border:1px solid rgba(34,197,94,.25);
}

/* Green dot inside stock */
.p24-pill-stock .p24-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22C55E;
  display:inline-block;
}

/* Distance pill */
.p24-pill-distance,
.p24-distance-pill{
  background:#0B0F19;
  color:#E5E7EB;
  border:1px solid rgba(255,255,255,.12);
}

/* Bike icon (high contrast, premium) */
.p24-pill-distance::before,
.p24-distance-pill::before{
  content:"";
  display:inline-block;
  width:18px;
  height:18px;
  margin-right:8px;
  border-radius:999px;

  /* mini badge so icon is always visible */
  background-color: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M5.5 16a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Zm13 0a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7ZM5.5 10.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm13 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM9.5 8h2l2.2 4.4h1.6L13 7h-3l-1 1Z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;

  filter:drop-shadow(0 0 3px rgba(255,255,255,.35));
}

/* Optional: Out of stock */
.p24-pill-out{
  background:#1A0B0B;
  color:#FEE2E2;
  border:1px solid rgba(239,68,68,.25);
}


/* ===== Swipe Gallery (Amazon style) ===== */
/* ===== Swipe Gallery (Amazon style) ===== */
.p24-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.p24-track::-webkit-scrollbar{display:none;}
.p24-slide{flex:0 0 100%;scroll-snap-align:start;} /* KEEP ONLY THIS HERE */

/* dots already exist as .p24-dots/.p24-dot in base */
