/* =========================================================
   Pickikt Store — Complete Premium UI  v4.4
   All classes in one file, zero conflicts, zero duplicates
   ========================================================= */

/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --s-ink:       #0f172a;     /* slate-900 */
  --s-accent:    #2563eb;     /* blue-600  — matches frontend */
  --s-accent2:   #1d4ed8;     /* blue-700  — hover           */
  --s-accent3:   #3b82f6;     /* blue-500  — lighter         */
  --s-ok:        #059669;
  --s-err:       #dc2626;
  --s-border:    #e2e8f0;     /* slate-200 */
  --s-bg:        #f8fafc;     /* slate-50  */
  --s-white:     #ffffff;
  --s-muted:     #64748b;     /* slate-500 */
  --s-r:         12px;
  --s-r-lg:      16px;
  --s-shadow:    0 1px 3px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.05);
  --s-shadow-md: 0 4px 8px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.05);
  --s-shadow-lg: 0 12px 24px rgba(15,23,42,.10), 0 4px 6px rgba(15,23,42,.05);
}

/* ─── Shared buttons ──────────────────────────────────────── */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; border: none; border-radius: var(--s-r);
  padding: 12px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; box-sizing: border-box;
  transition: all .18s; white-space: nowrap; line-height: 1.2;
}
.s-btn-primary   { background:var(--s-accent); color:#fff; }
.s-btn-primary:hover  { background: var(--s-accent2); color: #fff; }
.s-btn-outline   { background: var(--s-white); color: var(--s-ink); border: 1.5px solid var(--s-border); }
.s-btn-outline:hover  { border-color: var(--s-ink); background: var(--s-bg); }
.s-btn-danger    { background: #fef2f2; color: var(--s-err); border: 1.5px solid #fecaca; }
.s-btn-danger:hover   { background: #fee2e2; }
.s-btn-sm        { padding: 8px 14px; font-size: 12.5px; border-radius: 8px; }
.s-btn-lg        { padding: 14px 24px; font-size: 15px; border-radius: var(--s-r-lg); }
.s-btn-xl        { padding: 17px 28px; font-size: 16px; border-radius: var(--s-r-lg); }
.s-btn-full      { width: 100%; }
.s-btn:disabled  { opacity: .5; cursor: not-allowed; }

/* ─── Cards ──────────────────────────────────────────────── */
.s-card {
  background: var(--s-white); border-radius: var(--s-r-lg);
  border: 1px solid var(--s-border); padding: 22px;
  box-shadow: var(--s-shadow);
}

/* ─── Inputs ─────────────────────────────────────────────── */
.s-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--s-border);
  border-radius: var(--s-r); font-size: 14px; color: var(--s-ink);
  background: var(--s-white); box-sizing: border-box;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.s-input:focus { border-color: var(--s-accent); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.s-input.error { border-color: var(--s-err); }
select.s-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}

/* ─── Shop page ──────────────────────────────────────────── */
.ph-store-shop { padding: 20px var(--ph-gutter,16px) 24px; }
/* Featured products grid on homepage */
.ph-featured-section { padding: 0 0 20px; }
.ph-featured-title { font-size: 20px; font-weight: 800; color: var(--s-ink); margin: 0 0 14px; }
.ph-featured-grid { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media(min-width:600px){ .ph-featured-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media(min-width:960px){ .ph-featured-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; } }
.ph-store-search-wrap { position: relative; margin-bottom: 20px; max-width: 540px; }
.ph-store-search-form {
  display: flex; align-items: center; background: var(--s-white);
  border: 1.5px solid var(--s-border); border-radius: var(--s-r-lg);
  overflow: hidden; box-shadow: var(--s-shadow);
}
.ph-store-search-form input[type=search] {
  flex: 1; border: none; background: transparent;
  padding: 13px 16px; font-size: 14px; outline: none; color: var(--s-ink);
}
.ph-store-search-form button {
  background: var(--s-accent); border: none; color: #fff;
  width: 48px; height: 48px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex: 0 0 48px;
}
.ph-store-search-form button:hover { background: var(--s-accent2); }
.ph-store-search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--s-white); border: 1.5px solid var(--s-border);
  border-radius: var(--s-r-lg); box-shadow: var(--s-shadow-lg);
  z-index: 200; max-height: 360px; overflow-y: auto; display: none;
}
.ph-store-search-results.open { display: block; }
.ph-store-search-result-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  text-decoration: none; color: var(--s-ink); border-bottom: 1px solid var(--s-border);
}
.ph-store-search-result-item:last-child { border-bottom: none; }
.ph-store-search-result-item:hover { background: var(--s-bg); }
.ph-store-search-result-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--s-bg); flex: 0 0 44px; }
.ph-store-search-result-info strong { display: block; font-size: 13.5px; font-weight: 700; }
.ph-store-search-result-info span { color: var(--s-accent); font-weight: 700; font-size: 13px; }
.ph-store-search-result-info del { color: var(--s-muted); font-size: 11px; margin-left: 4px; }
.ph-store-search-no-results { padding: 18px; text-align: center; color: var(--s-muted); font-size: 13.5px; }

/* Category pills */
.ph-store-cats { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; scrollbar-width: none; }
.ph-store-cats::-webkit-scrollbar { display: none; }
.ph-store-cat-pill {
  border: 1.5px solid var(--s-border); background: var(--s-white);
  padding: 8px 18px; border-radius: 24px; font-size: 13px;
  font-weight: 600; color: var(--s-ink); text-decoration: none;
  white-space: nowrap; transition: all .15s; flex: 0 0 auto;
}
.ph-store-cat-pill:hover { border-color: var(--s-accent); color: var(--s-accent); }
.ph-store-cat-pill.active { background: var(--s-accent); color: #fff; border-color: var(--s-accent); }

/* Product grid */
.ph-store-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .ph-store-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 600px) { .ph-store-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } }
/* Mobile default: 2 cols if <style> tag from PHP doesn't load */
@media(max-width:600px){ .ph-store-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; } }
.ph-store-product-card {
  background: #fff;
  border-radius: 16px;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  transition: box-shadow .22s, transform .22s;
  min-width: 0;
  height: 100%;
  position: relative;
  cursor: pointer;
}
.ph-store-product-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06);
  transform: translateY(-3px);
}

/* ── Image — fills full card width, no padding ── */
.ph-store-product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a2e;
}
.ph-store-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.ph-store-product-card:hover .ph-store-product-img img {
  transform: scale(1.03);
}

/* Quick view */
.ph-card-qv-hint {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.55) 0%,transparent 100%);
  color: #fff; font-size: 11px; font-weight: 600;
  text-align: center; padding: 20px 8px 7px;
  opacity: 0; transition: opacity .18s;
}
.ph-store-product-card:hover .ph-card-qv-hint { opacity: 1; }

/* ── Badges — top LEFT ── */
.ph-card-top-banner {
  position: absolute; top: 0; left: 0; z-index: 3;
  background: #f59e0b;
  color: #1a1a00;
  font-size: 10px; font-weight: 900;
  padding: 4px 10px 4px 10px;
  border-radius: 0 0 10px 0;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.ph-banner-star { display: none; }
.ph-card-badges {
  position: absolute; top: 26px; left: 0;
  display: flex; flex-direction: column; gap: 0; z-index: 2;
}
/* If no top banner, show at top */
.ph-store-product-card:not(:has(.ph-card-top-banner)) .ph-card-badges {
  top: 0;
}
.ph-badge-off {
  background: #f59e0b;
  color: #1a1a00;
  font-size: 10px; font-weight: 900;
  padding: 4px 10px;
  border-radius: 0 0 10px 0;
  display: block;
}
.ph-badge-custom {
  background: #ef4444;
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 9px;
  margin-top: 4px;
  border-radius: 0 8px 8px 0;
  display: block;
}

/* ── Body ── */
.ph-store-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 12px 0;
}

/* Store tag */
.ph-card-store { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.ph-card-store-logo { height: 14px; width: auto; object-fit: contain; }
.ph-card-store-name {
  font-size: 10px; font-weight: 700;
  color: #64748b; text-transform: uppercase; letter-spacing: .4px;
}

/* Title */
.ph-store-product-title-link { text-decoration: none; color: inherit; display: block; }
.ph-store-product-title, .ph-store-product-card h4 {
  font-size: 13px; font-weight: 600; color: #111827;
  line-height: 1.4; margin: 0 0 7px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Price ── */
.ph-store-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}
.ph-price-current {
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -.2px;
}
.ph-price-mrp {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
}
.ph-price-mrp del { text-decoration: line-through; }

/* Discount pill */
.ph-card-coupon {
  display: none; /* hidden on card, shown on product page */
}

/* Engagement pills */
.ph-card-engagement {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px;
}
.ph-eng-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}
.ph-eng-view { background: #fff1f2; color: #e11d48; }
.ph-eng-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.ph-eng-dot-view { background: #e11d48; }
.ph-eng-bought { background: #fff7ed; color: #c2410c; }

/* ── ATC Button — gold/amber like screenshot ── */
.ph-card-actions { margin-top: auto; padding: 8px 12px 12px; }
.ph-card-atc-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 10px rgba(37,99,235,.3) !important;
  transition: all .18s !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}
.ph-card-atc-btn:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 5px 16px rgba(37,99,235,.45) !important;
  transform: translateY(-1px) !important;
  color: #fff !important;
}
.ph-card-share-btn { display: none !important; }

/* ── Grid ── */
.ph-store-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:960px){ .ph-store-grid{ grid-template-columns:repeat(3,1fr); gap:14px; } }
@media(max-width:600px){ .ph-store-grid{ grid-template-columns:repeat(2,1fr) !important; gap:10px !important; } }

/* Mobile */
@media(max-width:600px) {
  .ph-store-product-card { border-radius: 13px; }
  .ph-store-product-body { padding: 8px 10px 0; }
  .ph-store-product-title, .ph-store-product-card h4 { font-size: 12px; margin-bottom: 5px; }
  .ph-price-current { font-size: 15px; }
  .ph-price-mrp { font-size: 11px; }
  .ph-card-actions { padding: 6px 10px 10px; }
  .ph-card-atc-btn { font-size: 12px !important; padding: 10px !important; border-radius: 9px !important; }
}
@media(max-width:400px) {
  .ph-price-current { font-size: 13px; }
  .ph-card-atc-btn { font-size: 11px !important; gap: 4px !important; }
}


/* ═══════════════════════════════════════════════════════════
   Policy Pages & About Us  (php-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.php-page { width: 100%; }

/* ── Hero ── */
.php-hero {
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.php-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,.8) 0%, transparent 70%);
  pointer-events: none;
}
.php-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 24px;
  font-size: 13px; font-weight: 700; letter-spacing: .3px;
  margin-bottom: 18px;
}
.php-hero-title {
  font-size: 34px; font-weight: 900;
  color: #111827; margin: 0 0 12px;
  letter-spacing: -.6px; line-height: 1.15;
}
.php-hero-meta {
  font-size: 13px; color: #9ca3af; margin: 0;
}

/* ── Body ── */
.php-body {
  max-width: var(--ph-max-width, 1280px); margin: 0 auto;
  padding: 36px 20px 80px;
}

/* ── Content ── */
.php-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 40px 44px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 24px rgba(0,0,0,.04);
  margin-bottom: 32px;
}
.php-content h2 {
  font-size: 17px; font-weight: 800; color: #111827;
  margin: 32px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.php-content h2:first-child { margin-top: 0; }
.php-content h2::before {
  content: ''; display: inline-block;
  width: 4px; height: 18px; border-radius: 2px;
  background: currentColor; opacity: .4; flex: 0 0 4px;
}
.php-content h3 { font-size: 15px; font-weight: 700; color: #374151; margin: 20px 0 8px; }
.php-content p  { margin: 0 0 14px; line-height: 1.82; color: #4b5563; font-size: 15px; }
.php-content p:last-child { margin-bottom: 0; }
.php-content ul, .php-content ol { margin: 0 0 16px; padding: 0; list-style: none; }
.php-content ul li, .php-content ol li {
  padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px solid #f3f4f6; font-size: 15px;
  line-height: 1.7; color: #374151;
}
.php-content ul li:last-child, .php-content ol li:last-child { border-bottom: none; }
.php-content ul li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  font-size: 13px; font-weight: 800; color: #4f46e5;
}
.php-content ol { counter-reset: ol-cnt; }
.php-content ol li::before {
  content: counter(ol-cnt); counter-increment: ol-cnt;
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #4f46e5; color: #fff;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.php-content a  { color: #4f46e5; font-weight: 600; }
.php-content a:hover { color: #7c3aed; }
.php-content strong { color: #111827; }

/* ── Related policies ── */
.php-related { margin-top: 8px; }
.php-related-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: #9ca3af; margin: 0 0 12px;
}
.php-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.php-related-card {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid;
  border-radius: 12px; padding: 13px 16px;
  text-decoration: none; color: #374151;
  font-size: 13.5px; font-weight: 600;
  transition: all .2s;
}
.php-related-card:hover { background: var(--php-card-color, #4f46e5); color: #fff; border-color: var(--php-card-color, #4f46e5); }
.php-related-card:hover .php-related-icon { filter: none; }
.php-related-icon { font-size: 20px; flex: 0 0 28px; text-align: center; }
.php-related-card span:nth-child(2) { flex: 1; }
.php-related-arrow { width: 14px; height: 14px; flex: 0 0 14px; opacity: .4; }
.php-related-card:hover .php-related-arrow { opacity: 1; stroke: #fff; }

/* ── About Us ── */
.php-about-hero {
  background: linear-gradient(135deg, #312e81, #4f46e5);
  border-radius: 20px; padding: 52px 44px; margin-bottom: 24px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.php-about-hero::before{
  content:''; position:absolute; top:-80px; right:-60px;
  width:240px; height:240px; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
  pointer-events:none;
}
.php-about-eyebrow {
  display: inline-flex; align-items:center; gap:6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .4px; text-transform:uppercase; color: #fff;
  background: rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25); padding: 6px 16px;
  border-radius: 20px; margin-bottom: 18px; position:relative; z-index:1;
}
.php-about-headline {
  font-size: 27px; font-weight: 900; margin: 0 0 16px;
  color: #fff; letter-spacing: -.4px; line-height: 1.32;
  position:relative; z-index:1;
}
.php-about-sub {
  font-size: 15px; color: rgba(255,255,255,.82);
  line-height: 1.75; margin: 0; max-width: 560px;
  margin-left: auto; margin-right: auto;
  position:relative; z-index:1;
}
.php-about-body {
  margin: 0 0 28px;
  background: #f9fafb; border: 1px solid #eef0f3; border-radius: 14px;
  padding: 22px;
}
.php-about-body-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; color: #4f46e5;
  text-transform: uppercase; letter-spacing: .4px;
  margin: 0 0 14px;
}
.php-about-body-label span { font-size: 16px; }
.php-about-stores {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.php-store-pill {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 20px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: #374151;
}
.php-store-pill-more {
  background: transparent; border-style: dashed; color: #9ca3af; font-weight: 600;
}
.php-about-body-text {
  font-size: 14px; color: #6b7280; line-height: 1.75; margin: 0;
}
.php-about-share { margin-bottom: 28px; }
.php-about-share-title {
  font-size: 17px; font-weight: 800; color: #111827;
  margin: 0 0 16px;
}
.php-about-share-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.php-share-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 14px 16px; font-size: 13.5px; font-weight: 700; color: #374151;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.php-share-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(79,70,229,.12);border-color:#e0ddf7;}
.php-share-item span {
  font-size: 18px; flex-shrink: 0; width:38px; height:38px; border-radius:11px;
  background: linear-gradient(135deg,#eef0ff,#f5f0ff); display:flex; align-items:center; justify-content:center;
}
.php-about-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3);
  color: #fff; padding: 12px 28px; border-radius: 12px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: all .2s;
  position:relative; z-index:1;
}
.php-about-cta:hover { background: #fff; color: #4f46e5; border-color: #fff; }
.php-about-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-bottom: 24px;
}
.php-feat-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 14px; padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.php-feat-card:hover { box-shadow: 0 6px 20px rgba(79,70,229,.12); transform: translateY(-2px); }
.php-feat-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.php-feat-card h3 { font-size: 15px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.php-feat-card p { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin: 0; }
.php-about-contact {
  text-align: center; padding: 20px;
  background: #f9fafb; border-radius: 12px;
  font-size: 14px; color: #6b7280; font-weight: 700;
}
.php-about-contact a { color: #4f46e5; font-weight: 700; }

/* ── About page entrance animations ── */
@keyframes phAboutFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phAboutPop {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes phAboutGlow {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.12); opacity: .9; }
}
.php-about .php-about-hero,
.php-about .php-about-body,
.php-about .php-about-share,
.php-about .php-about-features,
.php-about .php-about-contact {
  animation: phAboutFadeUp .6s cubic-bezier(.2,.7,.3,1) both;
}
.php-about .php-about-hero    { animation-delay: 0s; }
.php-about .php-about-body    { animation-delay: .1s; }
.php-about .php-about-share   { animation-delay: .18s; }
.php-about .php-about-features{ animation-delay: .26s; }
.php-about .php-about-contact { animation-delay: .34s; }

.php-about .php-share-item,
.php-about .php-feat-card,
.php-about .php-store-pill {
  animation: phAboutPop .5s cubic-bezier(.2,.7,.3,1) both;
}
.php-about .php-about-stores .php-store-pill:nth-child(1) { animation-delay: .14s; }
.php-about .php-about-stores .php-store-pill:nth-child(2) { animation-delay: .17s; }
.php-about .php-about-stores .php-store-pill:nth-child(3) { animation-delay: .20s; }
.php-about .php-about-stores .php-store-pill:nth-child(4) { animation-delay: .23s; }
.php-about .php-about-stores .php-store-pill:nth-child(5) { animation-delay: .26s; }
.php-about .php-about-stores .php-store-pill:nth-child(6) { animation-delay: .29s; }
.php-about .php-about-stores .php-store-pill:nth-child(7) { animation-delay: .32s; }
.php-about .php-about-stores .php-store-pill:nth-child(8) { animation-delay: .35s; }
.php-about .php-about-stores .php-store-pill:nth-child(9) { animation-delay: .38s; }
.php-about .php-about-share-grid .php-share-item:nth-child(1) { animation-delay: .22s; }
.php-about .php-about-share-grid .php-share-item:nth-child(2) { animation-delay: .27s; }
.php-about .php-about-share-grid .php-share-item:nth-child(3) { animation-delay: .32s; }
.php-about .php-about-share-grid .php-share-item:nth-child(4) { animation-delay: .37s; }
.php-about .php-about-share-grid .php-share-item:nth-child(5) { animation-delay: .42s; }
.php-about .php-about-share-grid .php-share-item:nth-child(6) { animation-delay: .47s; }
.php-about .php-about-share-grid .php-share-item:nth-child(7) { animation-delay: .52s; }
.php-about .php-about-features .php-feat-card:nth-child(1) { animation-delay: .3s; }
.php-about .php-about-features .php-feat-card:nth-child(2) { animation-delay: .38s; }

.php-about .php-about-hero::before { animation: phAboutGlow 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .php-about .php-about-hero,
  .php-about .php-about-body,
  .php-about .php-about-share,
  .php-about .php-about-features,
  .php-about .php-about-contact,
  .php-about .php-share-item,
  .php-about .php-feat-card,
  .php-about .php-store-pill,
  .php-about .php-about-hero::before {
    animation: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .php-hero { padding: 36px 16px 30px; }
  .php-hero-title { font-size: 26px; }
  .php-body { padding: 20px 12px 60px; }
  .php-content { padding: 22px 18px; border-radius: 14px; }
  .php-related-grid { grid-template-columns: 1fr; }
  .php-about-hero { padding: 30px 20px; border-radius: 14px; }
  .php-about-headline { font-size: 21px; }
  .php-about-features { grid-template-columns: 1fr; }
  .php-about-share-grid { grid-template-columns: 1fr; }
}

/* ── Contact Us page ───────────────────────────────────────── */
.php-contact-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.php-contact-info  { display: flex; flex-direction: column; gap: 14px; }
.php-contact-card  {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 20px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.php-contact-card:hover { box-shadow: 0 6px 18px rgba(217,119,6,.1); transform: translateY(-2px); }
.php-contact-card-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.php-contact-card h3 { font-size: 14px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.php-contact-card p  { font-size: 13.5px; color: #4b5563; margin: 0 0 6px; line-height: 1.6; }
.php-contact-card a  { color: #d97706; font-weight: 700; text-decoration: none; }
.php-contact-note { font-size: 11.5px; color: #9ca3af; font-style: italic; }

/* Form */
.php-contact-form-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 32px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.php-cform-title { font-size: 18px; font-weight: 800; color: #111827; margin: 0 0 22px; }
.php-cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.php-cfield { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.php-cfield-label { font-size: 11.5px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: .3px; }
.php-cfield-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e5e7eb;
  border-radius: 10px; font-size: 14px; color: #111827;
  background: #fff; box-sizing: border-box; outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.php-cfield-input:focus { border-color: #d97706; box-shadow: 0 0 0 3px rgba(217,119,6,.1); }
.php-cfield-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.php-cfield-textarea { resize: vertical; min-height: 120px; }
.php-cform-err { font-size: 13px; color: #dc2626; background: #fef2f2; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.php-cform-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px; background: #d97706; color: #fff;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .18s;
}
.php-cform-btn:hover { background: #b45309; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(217,119,6,.35); }
.php-cform-btn:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.php-contact-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px;
}
.php-contact-success span { font-size: 56px; display: block; margin-bottom: 16px; }
.php-contact-success h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.php-contact-success p { color: #6b7280; font-size: 14px; margin: 0; }

/* Responsive */
@media (max-width: 860px) { .php-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .php-cform-row { grid-template-columns: 1fr; } .php-contact-form-wrap { padding: 20px 16px; } }

/* ═══════════════════════════════════════════════════════════
   Login / Auth  (li-*)  — Premium design with fixed icon layout
   ═══════════════════════════════════════════════════════════ */
.li-wrap { width: 100%; padding: 20px 16px 80px; }
.li-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.1); border: 1px solid #e5e7eb; }
.li-brand { background: linear-gradient(145deg,#312e81,#4f46e5,#7c3aed); padding: 48px 40px; display: flex; align-items: center; justify-content: center; }
.li-brand-inner { color: #fff; max-width: 340px; }
.li-brand-logo { height: 44px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 32px; display: block; }
.li-brand-logo-text { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 32px; }
.li-brand-title { font-size: 28px; font-weight: 800; margin: 0 0 12px; color: #fff; line-height: 1.2; }
.li-brand-sub { font-size: 14.5px; color: rgba(255,255,255,.75); line-height: 1.7; margin: 0 0 32px; }
.li-brand-features { display: flex; flex-direction: column; gap: 14px; }
.li-brand-feat { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 600; }
.li-feat-icon { font-size: 18px; width: 36px; height: 36px; background: rgba(255,255,255,.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 36px; }
.li-form-panel { padding: 40px 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.li-tabs { display: flex; background: #f0f0f3; border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.li-tab { flex: 1; background: transparent; border: none; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #888; cursor: pointer; transition: all .2s; }
.la-tab-on.li-tab { background: #fff; color: #111827; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.li-title { font-size: 22px; font-weight: 800; margin: 0 0 6px; color: #111827; }
.li-sub { font-size: 13.5px; color: #6b7280; margin: 0 0 24px; }
.li-body-title { font-size: 16px; font-weight: 800; color: #111827; margin: 0 0 4px; }
.li-logo-row { margin-bottom: 20px; }
.li-logo-img { height: 36px; object-fit: contain; }
.li-field { margin-bottom: 16px; }
.li-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.li-label { display: block; font-size: 11.5px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.li-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.li-link-small { font-size: 12px; color: #4f46e5; font-weight: 600; text-decoration: none; }

/* Input with icon — key fix: sufficient padding so text never overlaps icon */
.li-input-wrap { position: relative; display: block; }
.li-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
  pointer-events: none;
  flex-shrink: 0;
  display: block;
}
.li-input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  display: block;
}
.li-input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
/* Icon padding — 14px left edge + 16px icon + 8px gap = 38px minimum; use 46px for safety */
.li-input-icon-pad { padding-left: 46px !important; }
.li-input-otp { font-size: 26px; letter-spacing: 12px; text-align: center; font-weight: 800; }
.li-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px;
  background: #4f46e5; color: #fff;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .18s;
  letter-spacing: .2px;
}
.li-btn:hover { background: #7c3aed; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(79,70,229,.35); }
.li-btn:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.li-btn-ghost {
  width: 100%; padding: 12px; background: transparent;
  color: #6b7280; border: 1.5px solid #e5e7eb;
  border-radius: 12px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.li-btn-ghost:hover { border-color: #4f46e5; color: #4f46e5; background: #eef2ff; }
.li-btn-inline { display: inline-flex; width: auto; padding: 12px 22px; }

/* ── Inline login popup (non-logged-in gate) ── */
.li-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15,23,42,.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: liPopupFade .2s ease both;
}
@keyframes liPopupFade { from{opacity:0} to{opacity:1} }
.li-popup-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(15,23,42,.28);
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  box-sizing: border-box;
  animation: liPopupSlide .25s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes liPopupSlide { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }
.li-popup-sub { font-size: 13px; color: #6b7280; margin: 0 0 20px; }
.li-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.li-popup-close:hover { background: #e5e7eb; }
@media (max-width: 480px) {
  .li-popup-backdrop { padding: 0; align-items: flex-end; }
  .li-popup-box { border-radius: 18px 18px 0 0; max-width: 100%; }
}
.li-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #6b7280; font-size: 13px; }
.li-divider::before, .li-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.li-msg { font-size: 13px; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; font-weight: 600; }
.li-err { background: #fef2f2; color: #dc2626; display: block; }
.li-ok  { background: #f0fdf4; color: #059669; display: block; }
.li-alert { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 20px; font-weight: 600; }
.li-alert-ok  { background: #d1fae5; color: #065f46; }
.li-alert-err { background: #fee2e2; color: #991b1b; }
.li-hint { font-size: 13px; color: #9ca3af; margin: 12px 0 0; text-align: center; }
.li-hint a { color: #4f46e5; font-weight: 700; text-decoration: none; }
.li-links { display: flex; justify-content: space-between; margin-top: 14px; }
.li-links a { font-size: 13px; color: #4f46e5; font-weight: 700; text-decoration: none; }
.li-switch-text { text-align: center; font-size: 13px; color: #9ca3af; margin-top: 20px; }
.li-link { color: #4f46e5; font-weight: 700; text-decoration: none; }
.li-tab-link { color: #4f46e5; font-weight: 700; }

/* la-* auth aliases used in JS */
.la-panel { display: block; }

@media (max-width: 860px) {
  .li-split { grid-template-columns: 1fr; }
  .li-brand { display: none; }
  .li-form-panel { padding: 28px 24px; }
  .li-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .li-form-panel { padding: 22px 18px; }
  .li-wrap { padding: 16px 12px 80px; }
}

/* ═══════════════════════════════════════════════════════════
   Shop Page — Filter, Sort, Grid, Pagination (ph-shop-*)
   ═══════════════════════════════════════════════════════════ */

/* Page wrapper */
.ph-shop-page { width:100%; padding:0; }
.ph-shop-coupon-banner { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; background:#ecfdf5; border:1.5px solid #a7f3d0; border-radius:10px; padding:12px 16px; margin-bottom:16px; font-size:13.5px; color:#065f46; }
.ph-shop-coupon-banner strong { color:#047857; }
.ph-shop-coupon-remove { flex-shrink:0; background:#fff; border:1.5px solid #fecaca; color:#dc2626; border-radius:8px; padding:6px 14px; font-size:12.5px; font-weight:600; cursor:pointer; transition:background .15s; }
.ph-shop-coupon-remove:hover { background:#fef2f2; }
@media (max-width:600px) { .ph-shop-coupon-banner { padding:10px 12px; font-size:12.5px; } }

/* ── Topbar ── */
.ph-shop-topbar { display:flex; align-items:center; gap:12px; padding:16px 20px 0; flex-wrap:wrap; }
.ph-shop-search-form { flex:1; min-width:220px; }
.ph-shop-search-wrap { display:flex; align-items:center; background:#fff; border:1.5px solid #e5e7eb; border-radius:12px; overflow:hidden; }
.ph-shop-search-icon { width:18px;height:18px;color:#9ca3af;margin:0 10px;flex:0 0 18px; }
.ph-shop-search-input { flex:1;border:none;outline:none;font-size:14px;padding:11px 4px;background:transparent;color:#111827; }
.ph-shop-search-btn { background:#4f46e5;color:#fff;border:none;padding:11px 18px;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s; }
.ph-shop-search-btn:hover { background:#7c3aed; }
.ph-shop-topbar-right { display:flex; align-items:center; gap:10px; }
.ph-shop-sort-select { padding:10px 14px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:13.5px;color:#374151;background:#fff;cursor:pointer;outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px; }
.ph-shop-filter-toggle { display:flex;align-items:center;gap:6px;padding:10px 16px;border:1.5px solid #e5e7eb;border-radius:10px;background:#fff;font-size:13.5px;font-weight:600;color:#374151;cursor:pointer;transition:all .15s; }
.ph-shop-filter-toggle:hover { border-color:#4f46e5;color:#4f46e5; }

/* ── Category pills ── */
.ph-shop-cats { display:flex;flex-wrap:wrap;gap:8px;padding:14px 20px 0; }
.ph-shop-cat-pill { padding:7px 16px;border:1.5px solid #e5e7eb;border-radius:24px;font-size:13px;font-weight:600;color:#374151;text-decoration:none;transition:all .15s;background:#fff; }
.ph-shop-cat-pill:hover { border-color:#4f46e5;color:#4f46e5; }
.ph-shop-cat-pill.active { background:#4f46e5;color:#fff;border-color:#4f46e5; }

/* ── Layout ── */
.ph-shop-layout { display:flex;gap:0;align-items:flex-start;padding:16px 20px 60px;position:relative; }

/* ── Sidebar ── */
.ph-shop-sidebar {
  width:240px;flex:0 0 240px;background:#fff;border:1px solid #e5e7eb;
  border-radius:14px;padding:0;margin-right:20px;position:sticky;top:80px;
  max-height:calc(100vh - 100px);overflow-y:auto;
  transition:transform .3s;
}
.ph-shop-sidebar-inner { padding:0 0 16px; }
.ph-shop-sidebar-head { display:flex;align-items:center;justify-content:space-between;padding:16px 18px 14px;border-bottom:1px solid #f3f4f6;font-weight:800;font-size:15px;color:#111827; }
.ph-shop-sidebar-close { display:none;background:none;border:none;font-size:22px;cursor:pointer;color:#6b7280;line-height:1;padding:0 4px; }
.ph-shop-filter-group { padding:16px 18px 0; }
.ph-shop-filter-title { font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:#9ca3af;margin:0 0 10px; }
.ph-shop-filter-options { display:flex;flex-direction:column;gap:8px; }
.ph-shop-filter-opt { display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13.5px;color:#374151; }
.ph-shop-filter-opt input[type="radio"] { accent-color:#4f46e5;width:15px;height:15px;flex:0 0 15px; }
.ph-shop-price-range { display:flex;flex-direction:column;gap:10px; }
.ph-shop-price-labels { display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:#374151; }
.ph-price-slider { width:100%;accent-color:#4f46e5;cursor:pointer; }
.ph-shop-apply-price-btn { background:#4f46e5;color:#fff;border:none;border-radius:8px;padding:9px;font-size:13px;font-weight:700;cursor:pointer;width:100%;margin-top:2px;transition:background .15s; }
.ph-shop-apply-price-btn:hover { background:#7c3aed; }
.ph-shop-clear-btn { display:block;text-align:center;margin:16px 18px 0;padding:9px;border:1.5px solid #fca5a5;border-radius:8px;color:#dc2626;font-size:13px;font-weight:600;text-decoration:none;transition:all .15s; }
.ph-shop-clear-btn:hover { background:#fef2f2; }
.ph-shop-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:9500;cursor:pointer; }

/* ── Main content ── */
.ph-shop-main { flex:1;min-width:0; }
.ph-shop-results-bar { display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:13.5px;color:#6b7280; }
.ph-shop-results-count strong { color:#111827; }
.ph-shop-clear-tag { color:#dc2626;font-weight:600;font-size:13px;text-decoration:none; }
.ph-shop-empty { display:flex;flex-direction:column;align-items:center;padding:60px 20px;gap:12px;color:#9ca3af; }
.ph-shop-empty a { color:#4f46e5;font-weight:600;text-decoration:none; }
.ph-shop-grid { gap:14px; }

/* ── Pagination ── */
.ph-shop-pagination { display:flex;align-items:center;justify-content:center;gap:6px;margin-top:32px;flex-wrap:wrap; }
.ph-shop-page-btn { padding:9px 15px;border:1.5px solid #e5e7eb;border-radius:8px;font-size:13.5px;font-weight:600;color:#374151;text-decoration:none;background:#fff;transition:all .15s; }
.ph-shop-page-btn:hover { border-color:#4f46e5;color:#4f46e5; }
.ph-shop-page-btn.active { background:#4f46e5;color:#fff;border-color:#4f46e5; }
.ph-shop-page-dots { color:#9ca3af;padding:0 4px; }

/* ── Tablet (768–1023px) ── */
@media (max-width:1023px) {
  .ph-shop-sidebar {
    position:fixed;top:0;left:0;height:100dvh;width:280px;
    border-radius:0;z-index:9600;transform:translateX(-100%);
    max-height:100dvh;
    padding-top:env(safe-area-inset-top,0px);
  }
  .ph-shop-sidebar.ph-sidebar-open { transform:translateX(0); }
  .ph-shop-sidebar-close { display:block; }
  .ph-shop-layout { padding:14px 16px 60px; }
  .ph-shop-topbar { padding:14px 16px 0; }
  .ph-shop-cats { padding:12px 16px 0; }
}

/* ── Mobile (< 600px) ── */
@media (max-width:600px) {
  .ph-shop-topbar { flex-direction:column;align-items:stretch;gap:8px; }
  .ph-shop-topbar-right { justify-content:space-between; }
  .ph-shop-sort-select { flex:1; }
  .ph-shop-layout { padding:12px 12px 80px; }
  .ph-shop-cats { padding:10px 12px 0;gap:6px; }
  .ph-shop-cat-pill { font-size:12px;padding:5px 12px; }
  .ph-shop-results-bar { flex-direction:column;align-items:flex-start;gap:4px; }
  .ph-shop-pagination { gap:4px; }
  .ph-shop-page-btn { padding:8px 11px;font-size:12.5px; }
}

/* ─── Featured Products Section (ph-featured-*) ─────────────── */
.ph-featured-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:16px; }
.ph-featured-star { font-size:18px; }
.ph-featured-view-all { font-size:13px;font-weight:700;color:#4f46e5;text-decoration:none; }
.ph-featured-view-all:hover { color:#7c3aed; }

/* Carousel style */
.ph-featured-carousel { position:relative;display:flex;align-items:center;gap:8px; }
.ph-featured-track { display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;flex:1;padding-bottom:4px; }
.ph-featured-track::-webkit-scrollbar { display:none; }
.ph-featured-track .ph-store-card { flex:0 0 220px;scroll-snap-align:start; }
.ph-feat-scroll-btn { background:#fff;border:1.5px solid #e5e7eb;width:36px;height:36px;border-radius:50%;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 36px;transition:all .15s;color:#374151; }
.ph-feat-scroll-btn:hover { border-color:#4f46e5;color:#4f46e5; }

/* Featured badge on product card */
.ph-store-card.is-featured::before { content:"⭐ Featured";position:absolute;top:8px;left:8px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-size:10px;font-weight:800;padding:3px 8px;border-radius:20px;z-index:2;letter-spacing:.3px; }
.ph-store-card.is-featured { border-color:#fcd34d; }

/* Shop section divider */
.ph-shop-section-divider { border:none;border-top:1px solid #f3f4f6;margin:0 0 24px; }

/* ── Deal Card Enhancements ─────────────────────────────────── */
.ph-card-badges { position:absolute; top:8px; left:8px; display:flex; flex-direction:column; gap:4px; z-index:2; }


/* ── Product card action buttons ── */
.ph-card-actions { padding: 10px 12px 14px; }
.ph-card-atc-btn {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 6px; background: linear-gradient(135deg,#2563eb,#1d4ed8) !important;
  color: #fff !important; font-size: 13px; font-weight: 700; padding: 11px 10px;
  border-radius: 10px; border: none !important; cursor: pointer;
  white-space: nowrap !important; text-decoration: none;
  box-shadow: 0 3px 10px rgba(37,99,235,.25);
  transition: opacity .15s, transform .12s; }
.ph-card-atc-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.ph-card-atc-btn svg { flex-shrink: 0; }
.ph-badge-off { background:#e11d48; color:#fff; font-size:11px; font-weight:800; padding:3px 8px; border-radius:20px; letter-spacing:.3px; }
.ph-badge-custom { color:#fff; font-size:11px; font-weight:800; padding:3px 8px; border-radius:20px; }
.ph-badge-lg { font-size:13px; padding:5px 12px; }

.ph-card-store { display:flex; align-items:center; gap:5px; margin-bottom:4px; }
.ph-card-store-logo { width:18px; height:18px; object-fit:contain; border-radius:3px; }
.ph-card-store-name { font-size:11px; font-weight:800; letter-spacing:.5px; color:#7c3aed; text-transform:uppercase; }

.ph-store-product-title-link { text-decoration:none; color:inherit; }
.ph-store-product-title { font-size:13.5px; font-weight:600; color:#111827; margin:0 0 6px; line-height:1.4;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ph-price-current { font-size:20px; font-weight:900; color:#111827; }

.ph-card-engagement { display:flex; flex-wrap:wrap; gap:5px; margin:6px 0 4px; }
.ph-eng-pill { display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:700; padding:3px 9px; border-radius:20px; transition:background .3s; }
.ph-eng-view  { background:#fdf2f8; color:#be185d; }
.ph-eng-bought{ background:#fff7ed; color:#c2410c; }
.ph-eng-dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.ph-eng-dot-view { background:#be185d; animation:ph-pulse-dot 2s ease-in-out infinite; }
@keyframes ph-pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.65)} }
@keyframes ph-num-flash { 0%{color:inherit} 35%{color:#fff;background:rgba(0,0,0,.13);border-radius:3px;padding:0 3px;margin:0 -3px} 100%{color:inherit} }
.ph-eng-num.ph-ticking { animation:ph-num-flash .55s ease forwards; }
.ph-single-engagement { margin:12px 0; }

/* card-actions + card-visit-btn replaced below */
.ph-card-share-btn { background:#f3f4f6; border:none; border-radius:10px; width:38px; height:38px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:#6b7280; transition:all .15s; flex-shrink:0; }

/* ── Single Product Detail Enhancements ─────────────────────── */
.ph-single-store { display:flex; align-items:center; gap:6px; margin-bottom:8px; }
.ph-single-store-logo { width:24px; height:24px; object-fit:contain; border-radius:4px; }
.ph-single-store-name { font-size:13px; font-weight:800; letter-spacing:.5px; color:#7c3aed; text-transform:uppercase; }
.ph-single-badges { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.ph-single-title { font-size:22px; font-weight:800; color:#111827; margin:0 0 12px; line-height:1.3; }
.ph-single-price-row { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
.ph-single-mrp { font-size:14px; color:#9ca3af; }
.ph-single-mrp del { color:#9ca3af; }
.ph-single-price { font-size:30px; font-weight:900; color:#111827; }
.ph-single-savings { display:inline-flex; background:#d1fae5; color:#065f46; font-size:13px; font-weight:700;
  padding:5px 14px; border-radius:20px; margin-bottom:10px; }
.ph-single-expiry { background:#fef9c3; color:#92400e; font-size:13px; padding:7px 14px;
  border-radius:8px; margin-bottom:10px; display:inline-block; }
.ph-single-actions { display:flex; gap:10px; align-items:center; margin:16px 0; }
.ph-single-visit-btn { flex:1; background:linear-gradient(135deg,#4f46e5,#a855f7); color:#fff; text-align:center;
  padding:14px; border-radius:12px; font-size:15px; font-weight:800; text-decoration:none;
  display:block; transition:opacity .15s; }
.ph-single-visit-btn:hover { opacity:.9; color:#fff; }
.ph-single-share-btn { width:48px; height:48px; border-radius:12px; }

/* ── Product Quickview Modal ─────────────────────────────────── */
.ph-qv-trigger { position:relative; overflow:hidden; }
.ph-card-qv-hint {
  position:absolute; bottom:0; left:0; right:0;
  background:rgba(0,0,0,.55); color:#fff; text-align:center;
  font-size:12px; font-weight:700; padding:7px;
  transform:translateY(100%); transition:transform .2s;
}
.ph-qv-trigger:hover .ph-card-qv-hint { transform:translateY(0); }

/* Modal box */
.ph-qv-box {
  background:#fff; border-radius:18px; width:100%;
  max-width:880px; max-height:90dvh; overflow:hidden;
  display:flex; flex-direction:column; position:relative;
  box-shadow:0 24px 64px rgba(0,0,0,.3);
  animation:ph-qv-in .22s cubic-bezier(.34,1.3,.64,1);
}
@keyframes ph-qv-in {
  from { opacity:0; transform:scale(.93); }
  to   { opacity:1; transform:scale(1); }
}
.ph-qv-close {
  position:absolute; top:12px; right:14px; z-index:10;
  width:34px; height:34px; border-radius:50%;
  background:rgba(0,0,0,.08); border:none; font-size:20px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  color:#374151; transition:background .15s;
}
.ph-qv-close:hover { background:rgba(0,0,0,.15); }

/* Two-column layout */
.ph-qv-layout {
  display:grid; grid-template-columns:45% 55%;
  overflow-y:auto; max-height:90dvh;
}
.ph-qv-img-col {
  background:#f8f9fb; display:flex; align-items:center;
  justify-content:center; padding:24px; min-height:320px;
}
.ph-qv-img-wrap img {
  max-width:100%; max-height:440px; object-fit:contain;
  border-radius:10px;
}
.ph-qv-detail-col {
  padding:28px 24px 24px; overflow-y:auto;
  display:flex; flex-direction:column; gap:10px;
}

/* Store */
.ph-qv-store { display:flex; align-items:center; gap:6px; }
.ph-qv-store-logo { width:22px; height:22px; object-fit:contain; border-radius:3px; }
.ph-qv-store-name { font-size:12px; font-weight:800; letter-spacing:.6px; color:#7c3aed; text-transform:uppercase; }

/* Badges */
.ph-qv-badges { display:flex; flex-wrap:wrap; gap:6px; }

/* Title */
.ph-qv-title { font-size:19px; font-weight:800; color:#111827; line-height:1.35; margin:0; }

/* Price */
.ph-qv-price-row { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.ph-qv-mrp { font-size:13px; color:#9ca3af; }
.ph-qv-mrp del { color:#9ca3af; }
.ph-qv-price { font-size:28px; font-weight:900; color:#111827; }
.ph-qv-savings { display:inline-flex; background:#d1fae5; color:#065f46; font-size:13px; font-weight:700; padding:5px 14px; border-radius:20px; }
.ph-qv-expiry { background:#fef9c3; color:#92400e; font-size:12.5px; padding:6px 14px; border-radius:8px; }
.ph-qv-desc { font-size:13.5px; color:#6b7280; line-height:1.6; }

/* Actions */
.ph-qv-actions { display:flex; gap:10px; margin-top:auto; padding-top:12px; }
.ph-qv-visit-btn {
  flex:1; background:linear-gradient(135deg,#4f46e5,#a855f7); color:#fff;
  text-align:center; padding:14px; border-radius:12px;
  font-size:15px; font-weight:800; text-decoration:none;
  display:block; transition:opacity .15s;
}
.ph-qv-visit-btn:hover { opacity:.9; color:#fff; }

/* Mobile: stack vertically */
@media(max-width:640px) {
  .ph-qv-box { border-radius:18px 18px 0 0; max-height:95dvh; border-radius:16px; }
  .ph-qv-layout { grid-template-columns:1fr; }
  .ph-qv-img-col { min-height:200px; padding:16px; }
  .ph-qv-img-wrap img { max-height:220px; }
  .ph-qv-detail-col { padding:16px; }
  .ph-qv-title { font-size:16px; }
  .ph-qv-price { font-size:22px; }
}
/* Tablet */
@media(min-width:641px) and (max-width:900px) {
  .ph-qv-layout { grid-template-columns:40% 60%; }
}

/* ── Wishlist button ── */
.ph-wishlist-btn { position:absolute;top:8px;right:8px;background:rgba(255,255,255,.9);border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;z-index:2;transition:transform .15s; }

/* ── Live Search ── */
.ph-live-search-wrap { position:relative; }
.ph-live-search-input { width:100%;padding:10px 40px 10px 14px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:14px;outline:none; }
.ph-live-search-input:focus { border-color:#4f46e5; }
.ph-search-icon { position:absolute;right:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#9ca3af; }
.ph-live-search-results { position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:500;display:none;max-height:360px;overflow-y:auto; }
.ph-search-result-list { list-style:none;margin:0;padding:6px; }
.ph-search-result-item { display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;text-decoration:none;color:#111;transition:background .12s; }
.ph-search-result-item:hover { background:#f3f4f6; }
.ph-search-result-item img { width:40px;height:40px;object-fit:cover;border-radius:6px;flex-shrink:0; }
.ph-sr-info { display:flex;flex-direction:column; }
.ph-sr-title { font-size:13.5px;font-weight:600; }
.ph-sr-price { font-size:12px;color:#059669;font-weight:700; }

/* ── Recently Viewed ── */
.ph-recently-viewed { padding:24px 0; }
.ph-rv-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-top:12px; }
.ph-rv-card { display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:transform .15s; }
.ph-rv-info { padding:6px 8px; }
.ph-rv-title { font-size:12px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.ph-rv-price { font-size:12px;color:#059669;font-weight:700;margin-top:2px;display:block; }

/* ── Skeleton loaders ── */
.ph-skeleton { background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb 50%,#f3f4f6 75%);background-size:200% 100%;animation:ph-shimmer 1.4s infinite;border-radius:6px; }
@keyframes ph-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Breadcrumbs ── */
.ph-breadcrumbs { padding:10px 0;margin-bottom:8px; }
.ph-breadcrumb-list { list-style:none;display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:0;font-size:12.5px; }
.ph-breadcrumb-item { display:flex;align-items:center;color:#9ca3af; }
.ph-breadcrumb-item a { color:#6b7280;text-decoration:none; }
.ph-breadcrumb-item a:hover { color:#4f46e5; }
.ph-breadcrumb-sep { margin-left:4px;color:#d1d5db; }
.ph-breadcrumb-item span { color:#374151;font-weight:600; }

/* ── Reviews ── */
.ph-reviews { padding:24px 0;border-top:1px solid #f3f4f6;margin-top:24px; }
.ph-reviews-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap;gap:8px; }
.ph-reviews-title { font-size:18px;font-weight:800;margin:0; }
.ph-reviews-avg { display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600; }
.ph-stars { color:#f59e0b;font-size:16px; }
.ph-stars-lg { font-size:20px; }
.ph-reviews-empty { color:#9ca3af;font-style:italic; }
.ph-review-card { background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:14px;margin-bottom:10px; }
.ph-review-top { display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap; }
.ph-review-date { font-size:12px;color:#9ca3af;margin-left:auto; }
.ph-review-title { font-weight:700;margin:4px 0; }
.ph-review-body { font-size:13.5px;color:#374151;margin:0; }
.ph-review-form-wrap { border-top:1px solid #f3f4f6;margin-top:20px;padding-top:16px; }
.ph-review-form { display:flex;flex-direction:column;gap:10px;margin-top:10px; }
.ph-review-input { padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:8px;font-size:13.5px;outline:none;font-family:inherit; }
.ph-review-input:focus { border-color:#4f46e5; }
.ph-star-picker { display:flex;gap:4px;font-size:24px;cursor:pointer;color:#f59e0b; }
.ph-star-picker span:hover ~ span { color:#d1d5db; }
.ph-review-stars-pick { display:flex;align-items:center;gap:10px; }
.ph-review-submit-btn { background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:none;padding:12px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer; }
.ph-review-msg { font-size:13px;font-weight:600; }

/* ── Variants ── */
.ph-variants { margin:12px 0; }
.ph-variant-group { margin-bottom:12px; }
.ph-variant-group-label { font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#6b7280;display:block;margin-bottom:6px; }
.ph-variant-options { display:flex;flex-wrap:wrap;gap:6px; }
.ph-variant-btn { padding:6px 14px;border:1.5px solid #e5e7eb;border-radius:8px;font-size:13px;cursor:pointer;background:#fff;transition:all .15s; }
.ph-variant-btn.selected { border-color:#4f46e5;background:#4f46e5;color:#fff; }
.ph-variant-btn:disabled { opacity:.4;cursor:not-allowed; }
.ph-variant-stock { font-size:12.5px;font-weight:600;color:#059669;margin-top:4px; }
.ph-variant-stock.out { color:#dc2626; }

/* ── Order tracking ── */
.ph-tracking-page { max-width:600px;margin:0 auto;padding:32px 16px; }
.ph-tracking-title { font-size:22px;font-weight:900;margin-bottom:20px; }
.ph-tracking-form { display:flex;flex-direction:column;gap:12px; }
.ph-tracking-fields { display:flex;flex-direction:column;gap:10px; }
.ph-tracking-input { padding:12px 14px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:14px;outline:none; }
.ph-tracking-input:focus { border-color:#4f46e5; }
.ph-tracking-btn { background:#4f46e5;color:#fff;border:none;padding:13px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer; }
.ph-tracking-error { background:#fef2f2;color:#dc2626;padding:10px;border-radius:8px;font-size:13.5px; }
.ph-tracking-card { border:1.5px solid #e5e7eb;border-radius:14px;padding:20px;margin-top:16px; }
.ph-tracking-header { display:flex;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:6px;font-size:13.5px; }
.ph-tracking-steps { display:flex;align-items:center;margin-bottom:16px; }
.ph-tracking-step { display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 auto; }
.ph-tracking-step-icon { font-size:20px; }
.ph-tracking-step-label { font-size:11px;font-weight:600;color:#9ca3af;text-align:center; }
.ph-tracking-step.done .ph-tracking-step-label { color:#059669; }
.ph-tracking-line { flex:1;height:2px;background:#e5e7eb;margin:0 4px;min-width:24px; }
.ph-tracking-meta { display:flex;gap:16px;font-size:13px;color:#6b7280;margin-bottom:10px; }
.ph-tracking-notes { background:#f9fafb;border-radius:8px;padding:10px;font-size:13px;color:#374151; }
.ph-tracking-back { display:inline-block;margin-top:14px;color:#4f46e5;font-size:13px;text-decoration:none; }

/* ── Wallet panel ── */
.ph-wallet-panel { padding:8px 0; }
.ph-wallet-cards { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px; }
.ph-wallet-card { border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:4px; }
.ph-wallet-credits { background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff; }
.ph-wallet-points { background:linear-gradient(135deg,#d97706,#f59e0b);color:#fff; }
.ph-wallet-icon { font-size:24px; }
.ph-wallet-label { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;opacity:.8; }
.ph-wallet-amount { font-size:22px;font-weight:900; }
.ph-wallet-sub { font-size:11px;opacity:.75; }
.ph-wallet-hist-title { font-size:14px;font-weight:800;margin:0 0 10px; }
.ph-wallet-history { display:flex;flex-direction:column;gap:0; }
.ph-wallet-txn { display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f3f4f6;font-size:13px; }
.ph-wallet-txn-desc { flex:1;color:#374151; }
.ph-wallet-txn-date { font-size:11px;color:#9ca3af; }
.ph-wallet-txn-amt { font-weight:700; }
.ph-wallet-pos { color:#059669; }
.ph-wallet-neg { color:#dc2626; }

/* ── Address book ── */
.ph-address-book { display:grid;grid-template-columns:1fr;gap:16px; }
.ph-addr-list { display:flex;flex-direction:column;gap:10px; }
.ph-addr-card { border:1.5px solid #e5e7eb;border-radius:12px;padding:14px;font-size:13.5px; }
.ph-addr-default { border-color:#4f46e5;background:#f5f3ff; }
.ph-addr-label { font-weight:800;font-size:13px;margin-bottom:6px;display:flex;align-items:center;gap:6px; }
.ph-addr-badge { background:#4f46e5;color:#fff;font-size:10px;padding:2px 7px;border-radius:12px; }
.ph-addr-actions { display:flex;gap:8px;margin-top:8px; }
.ph-addr-actions a,.ph-addr-actions button { font-size:12px;color:#4f46e5;background:none;border:none;cursor:pointer;text-decoration:underline; }

/* ── Import panel ── */
.ph-import-panel { background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;margin:16px 0; }
.ph-bulk-price-form { display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px; }
.ph-bulk-price-form select,.ph-bulk-price-form input { padding:7px 10px;border:1px solid #ddd;border-radius:6px;font-size:13px; }

/* ── Cart Page Coupon ── */
.pkkt-coupon-section { margin:16px 0 0; border-top:1.5px dashed var(--s-border); padding-top:14px; }
.pkkt-coupon-row { display:flex; gap:8px; align-items:stretch; }
.pkkt-coupon-inp {
  flex:1; padding:10px 13px; border:1.5px solid var(--s-border);
  border-radius:10px; font-size:13.5px; outline:none;
  transition:border-color .15s;
}
.pkkt-coupon-inp:focus { border-color:var(--s-primary); box-shadow:0 0 0 3px rgba(79,70,229,.1); }
.pkkt-coupon-inp::placeholder { color:#bbb; }
.pkkt-coupon-apply-btn {
  padding:10px 18px; background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#fff; border:none; border-radius:10px; font-size:13px;
  font-weight:700; cursor:pointer; white-space:nowrap;
  transition:opacity .15s; letter-spacing:.3px;
}
.pkkt-coupon-apply-btn:hover { opacity:.88; }
.pkkt-coupon-apply-btn:disabled { opacity:.5; cursor:not-allowed; }
.pkkt-coupon-msg { font-size:12.5px; font-weight:600; margin-top:7px; min-height:20px; line-height:1.4; }
.pkkt-coupon-msg.success { color:#059669; background:#f0fdf4; padding:5px 10px; border-radius:6px; }
.pkkt-coupon-msg.error   { color:#dc2626; background:#fef2f2; padding:5px 10px; border-radius:6px; }

/* ── Side Cart Coupon ── */
.ph-sc-coupon { padding:12px 14px 0; border-top:1.5px dashed var(--s-border); }
.ph-sc-coupon-row { display:flex; gap:6px; }
.ph-sc-coupon-inp {
  flex:1; padding:8px 11px; border:1.5px solid var(--s-border);
  border-radius:8px; font-size:13px; outline:none; transition:border-color .15s;
}
.ph-sc-coupon-inp:focus { border-color:var(--s-primary); }
.ph-sc-coupon-inp::placeholder { color:#bbb; }
.ph-sc-coupon-apply {
  padding:8px 13px; background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#fff; border:none; border-radius:8px; font-size:12.5px;
  font-weight:700; cursor:pointer; white-space:nowrap;
}
.ph-sc-coupon-apply:hover { opacity:.88; }
.ph-sc-coupon-apply:disabled { opacity:.5; cursor:not-allowed; }
#ph-sc-coupon-msg { font-size:12px; font-weight:600; margin-top:6px; }
#ph-sc-coupon-msg.success { color:#059669; }
#ph-sc-coupon-msg.error   { color:#dc2626; }

/* ════════════════════════════════════════════════════════════════
   Single Product Page  (.ph-sp-*)
   ════════════════════════════════════════════════════════════════ */
.ph-sp { padding: 20px 16px 24px; }

/* breadcrumb nav */
.ph-sp-nav { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:20px; font-size:13px; }
.ph-sp-back { display:inline-flex; align-items:center; gap:4px; color:var(--s-accent); font-weight:600; text-decoration:none; padding:6px 14px; border:1.5px solid #bfdbfe; border-radius:8px; background:#eff6ff; transition:background .15s,color .15s; }
.ph-sp-back:hover { background:var(--s-accent); color:#fff; }
.ph-sp-nav-sep { color:#ccc; }
.ph-sp-nav-cat { color:var(--s-muted); }
.ph-sp-nav-title { color:var(--s-ink); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:160px; }

/* grid */
.ph-sp-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }

/* image */
.ph-sp-media {}
.ph-sp-img-wrap { position:relative; border-radius:16px; overflow:hidden; aspect-ratio:1/1; background:var(--s-bg); border:1px solid var(--s-border); display:flex; align-items:center; justify-content:center; }
.ph-sp-main-img { width:100%; height:100%; object-fit:contain; display:block; transition:transform .3s; padding:8px; box-sizing:border-box; }
.ph-sp-img-wrap:hover .ph-sp-main-img { transform:scale(1.04); }
.ph-sp-img-badge { position:absolute; top:14px; left:14px; background:#e11d48; color:#fff; font-size:13px; font-weight:800; padding:5px 12px; border-radius:20px; }
.ph-sp-digital-badge { position:absolute; top:14px; right:14px; background:#7c3aed; color:#fff; font-size:12px; font-weight:700; padding:4px 10px; border-radius:8px; z-index:2; }
.ph-sp-thumbs { display:flex; gap:8px; margin-top:12px; overflow-x:auto; padding-bottom:4px; }
.ph-sp-thumb { width:68px; height:68px; flex:0 0 auto; object-fit:cover; border-radius:10px; cursor:pointer; border:2.5px solid transparent; opacity:.6; transition:all .15s; }
.ph-sp-thumb:hover { opacity:.85; }
.ph-sp-thumb.active { opacity:1; border-color:var(--s-accent); }

/* info panel */
.ph-sp-info { display:flex; flex-direction:column; gap:14px; }
.ph-sp-brand { display:flex; align-items:center; gap:8px; }
.ph-sp-brand-logo { width:28px; height:28px; object-fit:contain; border-radius:6px; border:1px solid var(--s-border); }
.ph-sp-brand-name { font-size:12px; font-weight:700; letter-spacing:.8px; color:#2563eb; text-transform:uppercase; }
.ph-sp-badges { display:flex; flex-wrap:wrap; gap:6px; }
.ph-sp-badge { font-size:12px; font-weight:700; padding:4px 12px; border-radius:20px; }
.ph-sp-badge-sale { background:#fef2f2; color:#dc2626; }
.ph-sp-title { font-size:22px; font-weight:800; color:var(--s-ink); margin:0; line-height:1.3; }

/* price card */
.ph-sp-price-card { background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%); border:1.5px solid #bfdbfe; border-radius:14px; padding:16px 20px; }
.ph-sp-price-row { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:4px; }
.ph-sp-price { font-size:34px; font-weight:900; color:var(--s-ink); line-height:1; }
.ph-sp-mrp { font-size:15px; color:#94a3b8; }
.ph-sp-mrp del { color:#94a3b8; }
.ph-sp-savings { display:inline-flex; align-items:center; gap:4px; background:#dcfce7; color:#166534; font-size:13px; font-weight:700; padding:5px 12px; border-radius:20px; margin-top:6px; }
.ph-sp-tax-note { font-size:12px; color:#64748b; margin:4px 0 0; }

/* expiry */
.ph-sp-expiry { display:flex; align-items:center; gap:6px; background:#fef9c3; color:#92400e; font-size:13px; padding:9px 14px; border-radius:10px; border:1px solid #fde68a; }

/* ★ Short description highlight card */
.ph-sp-short-desc { background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%); border:1.5px solid #bae6fd; border-radius:14px; padding:16px 20px; position:relative; }
.ph-sp-short-desc-label { display:flex; align-items:center; gap:6px; font-size:11px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:#2563eb; margin-bottom:8px; }
.ph-sp-short-desc p { margin:0; font-size:14px; line-height:1.75; color:#1e3a5f; font-weight:500; }

/* action buttons */
.ph-sp-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.ph-sp-cta { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex:1; min-width:160px; padding:14px 24px; border-radius:12px; font-size:15px; font-weight:800; border:none; cursor:pointer; transition:transform .15s,opacity .15s; text-decoration:none; }
.ph-sp-cta-primary { background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%); color:#fff; box-shadow:0 4px 16px rgba(37,99,235,.3); }
.ph-sp-cta-primary:hover { transform:translateY(-2px); opacity:.93; color:#fff; }
.ph-sp-cta-oos { background:#e5e7eb; color:#9ca3af; }
.ph-sp-qty-row { 
  display: inline-flex; align-items: center; gap: 0;
  border: 1.5px solid var(--s-border); border-radius: 10px;
  overflow: hidden; width: auto; max-width: 160px;
}
.ph-sp-share-btn { width:48px; height:48px; flex:0 0 48px; border-radius:12px; border:1.5px solid var(--s-border); background:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.ph-sp-share-btn:hover { background:var(--s-bg); }
.ph-sp-sku { font-size:12px; color:#94a3b8; margin:0; }

/* trust badges */
.ph-sp-trust { display:flex; flex-direction:row; gap:0; background:#f0f9ff; border:1.5px solid #bfdbfe; border-radius:14px; overflow:hidden; }
.ph-sp-trust-item { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:12px 8px; position:relative; }
.ph-sp-trust-item + .ph-sp-trust-item::before { content:''; position:absolute; left:0; top:20%; bottom:20%; width:1px; background:#bfdbfe; }
.ph-sp-trust-icon { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ph-sp-trust-label { font-size:11px; font-weight:700; color:#374151; text-align:center; white-space:nowrap; line-height:1.2; }

/* ── Product Description (no tabs) ── */
.ph-sp-desc-section { margin-top:36px; }
.ph-sp-desc-header { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:700; color:var(--s-ink); padding:14px 20px; background:linear-gradient(135deg,#f0f9ff 0%,#dbeafe 100%); border:1.5px solid #bfdbfe; border-radius:14px 14px 0 0; }
.ph-sp-desc-header svg { color:#4f46e5; flex-shrink:0; }
.ph-sp-desc-body { background:#fff; border:1.5px solid #bfdbfe; border-top:none; border-radius:0 0 14px 14px; padding:24px 24px 28px; font-size:15px; line-height:1.9; color:#374151; }
/* Headings inside description */
.ph-sp-desc-body h1,.ph-sp-desc-body h2 { font-size:18px; font-weight:800; color:var(--s-ink); margin:24px 0 10px; padding-bottom:8px; border-bottom:2px solid #dbeafe; }
.ph-sp-desc-body h3,.ph-sp-desc-body h4 { font-size:15px; font-weight:700; color:#2563eb; margin:18px 0 8px; }
.ph-sp-desc-body h2:first-child,.ph-sp-desc-body h1:first-child { margin-top:0; }
/* Paragraphs */
.ph-sp-desc-body p { margin:0 0 16px; }
.ph-sp-desc-body p:last-child { margin-bottom:0; }
/* Lists */
.ph-sp-desc-body ul { list-style:none; padding:0; margin:0 0 16px; }
.ph-sp-desc-body ul li { position:relative; padding:8px 12px 8px 36px; margin-bottom:6px; background:#eff6ff; border-radius:8px; border-left:3px solid #2563eb; font-size:14px; }
.ph-sp-desc-body ul li::before { content:"✓"; position:absolute; left:10px; top:8px; color:#2563eb; font-weight:800; font-size:13px; }
.ph-sp-desc-body ol { padding-left:22px; margin:0 0 16px; }
.ph-sp-desc-body ol li { margin-bottom:8px; padding-left:4px; font-size:14px; }
.ph-sp-desc-body ol li::marker { color:#2563eb; font-weight:700; }
/* Images */
.ph-sp-desc-body img { max-width:100%; border-radius:12px; box-shadow:0 2px 12px rgba(0,0,0,.08); margin:8px 0; display:block; }
/* Tables */
.ph-sp-desc-body table { width:100%; border-collapse:collapse; font-size:14px; margin:16px 0; border-radius:10px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.06); }
.ph-sp-desc-body table th { background:linear-gradient(135deg,#1e40af,#2563eb); color:#fff; font-weight:700; padding:10px 14px; text-align:left; font-size:13px; }
.ph-sp-desc-body table td { padding:10px 14px; border-bottom:1px solid var(--s-border); }
.ph-sp-desc-body table tr:nth-child(even) td { background:#f8faff; }
.ph-sp-desc-body table tr:last-child td { border-bottom:none; }
/* Blockquote */
.ph-sp-desc-body blockquote { border-left:4px solid #2563eb; background:#eff6ff; border-radius:0 10px 10px 0; padding:12px 18px; margin:16px 0; color:#1e3a5f; font-style:italic; }
/* Strong / em */
.ph-sp-desc-body strong { color:var(--s-ink); font-weight:700; }
.ph-sp-desc-body em { color:#2563eb; }
/* Mobile */
@media(max-width:600px) {
  .ph-sp-desc-body { padding:16px 14px 20px; font-size:14px; }
  .ph-sp-desc-body h1,.ph-sp-desc-body h2 { font-size:16px; }
}

/* responsive */
@media(max-width:768px) {
  .ph-sp-grid { grid-template-columns:1fr; gap:20px; }
  .ph-sp-price { font-size:28px; }
  .ph-sp-title { font-size:18px; }
  .ph-sp-cta { padding:13px 18px; font-size:14px; }
  .ph-sp-tabs { overflow-x:auto; }
  .ph-sp-tab { white-space:nowrap; padding:10px 16px; font-size:13px; }
  .ph-sp-nav-title { max-width:140px; }
}

/* ════════════════════════════════════════════════════════════════
   NEW FEATURES CSS
   ════════════════════════════════════════════════════════════════ */

/* stars CSS removed */

/* reviews CSS removed */

/* ── Stock Bar ── */
.ph-sp-stock-bar { background:#fef2f2; border:1.5px solid #fecaca; border-radius:10px; padding:10px 16px; }
.ph-sp-stock-text { font-size:13px; font-weight:700; color:#dc2626; margin-bottom:6px; }
.ph-sp-stock-track { height:6px; background:#fee2e2; border-radius:10px; overflow:hidden; }
.ph-sp-stock-fill { height:100%; background:linear-gradient(90deg,#dc2626,#f59e0b); border-radius:10px; transition:width .3s; }

/* ── Price Alert ── */
.ph-sp-price-alert { background:linear-gradient(135deg,#f0fdf4,#dcfce7); border:1.5px solid #bbf7d0; border-radius:12px; padding:14px 18px; }
.ph-sp-price-alert-label { font-size:13px; font-weight:700; color:#166534; margin-bottom:10px; }
.ph-price-alert-form { display:flex; gap:8px; flex-wrap:wrap; }
.ph-price-alert-form input { flex:1; min-width:180px; border:1.5px solid #86efac; border-radius:8px; padding:9px 12px; font-size:13px; }
.ph-price-alert-form button { background:#16a34a; color:#fff; border:none; border-radius:8px; padding:9px 18px; font-size:13px; font-weight:700; cursor:pointer; }
.ph-price-alert-msg { font-size:13px; font-weight:600; color:#166534; margin-top:6px; }

/* ── Wishlist button ── */

/* ── Compare button ── */
.ph-compare-btn { font-size:11px; font-weight:700; color:var(--s-accent); border:1.5px solid var(--s-accent); background:#fff; border-radius:6px; padding:3px 10px; cursor:pointer; margin-left:4px; }
.ph-compare-btn.active { background:var(--s-accent); color:#fff; }
.ph-compare-bar { position:fixed; bottom:0; left:0; right:0; background:#1e293b; color:#fff; padding:14px 20px; z-index:9999; }
.ph-compare-bar-inner { display:flex; align-items:center; gap:12px; max-width:1200px; margin:0 auto; }
.ph-compare-bar-label { font-size:13px; font-weight:700; }
.ph-compare-bar-names { font-size:13px; flex:1; }
.ph-compare-bar-btn { background:var(--s-accent); color:#fff; padding:7px 16px; border-radius:8px; font-size:13px; font-weight:700; text-decoration:none; }
.ph-compare-bar-clear { background:transparent; color:#94a3b8; border:none; cursor:pointer; font-size:13px; margin-left:auto; }
.ph-compare-modal-inner { background:#fff; border-radius:16px; padding:28px; max-width:900px; width:95%; max-height:85vh; overflow-y:auto; position:relative; }
.ph-compare-table-wrap table { width:100%; border-collapse:collapse; font-size:13px; }
.ph-compare-table-wrap td,.ph-compare-table-wrap th { border:1px solid var(--s-border); padding:10px 14px; vertical-align:top; }
.ph-compare-table-wrap th { background:var(--s-bg); font-weight:700; width:130px; }
.ph-compare-table-wrap img { max-width:100px; height:80px; object-fit:contain; border-radius:8px; }

/* ── Deal of the Day ── */
.ph-dotd { margin-bottom:32px; }
.ph-dotd-inner { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; background:linear-gradient(135deg,#0f172a 0%,#1e1b4b 100%); border-radius:16px; padding:32px; }
.ph-dotd-img img { width:100%; border-radius:12px; object-fit:contain; max-height:300px; background:#fff; padding:16px; box-sizing:border-box; }
.ph-dotd-info { color:#fff; }
.ph-dotd-title { font-size:22px; font-weight:800; margin:10px 0; line-height:1.3; }
.ph-dotd-title a { color:#fff; text-decoration:none; }
.ph-dotd-price-row { display:flex; align-items:baseline; gap:12px; margin-bottom:14px; }
.ph-dotd-price { font-size:36px; font-weight:900; color:#60a5fa; }
.ph-dotd-mrp del { color:rgba(255,255,255,.5); font-size:16px; }
.ph-dotd-countdown { margin-bottom:20px; }
.ph-dotd-cd-label { font-size:12px; color:rgba(255,255,255,.6); margin-bottom:8px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.ph-dotd-cd-blocks { display:flex; align-items:center; gap:8px; }
.ph-cd-block { text-align:center; background:rgba(255,255,255,.12); border-radius:8px; padding:10px 16px; min-width:54px; }
.ph-cd-num { display:block; font-size:28px; font-weight:900; color:#fff; line-height:1; }
.ph-cd-unit { display:block; font-size:10px; color:rgba(255,255,255,.6); text-transform:uppercase; margin-top:4px; }
.ph-cd-sep { font-size:24px; font-weight:900; color:rgba(255,255,255,.4); }
.ph-dotd-btn { max-width:200px; }

/* ── Related products ── */
.ph-sp-related { margin-top:36px; }
.ph-sp-related-title { font-size:18px; font-weight:800; margin-bottom:16px; color:var(--s-ink); }
.ph-sp-related-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.ph-sp-rel-card { border:1.5px solid var(--s-border); border-radius:12px; overflow:hidden; text-decoration:none; color:var(--s-ink); transition:box-shadow .15s,transform .15s; display:block; }
.ph-sp-rel-card:hover { box-shadow:0 4px 16px rgba(37,99,235,.12); transform:translateY(-2px); }
.ph-sp-rel-card img { width:100%; aspect-ratio:1; object-fit:contain; background:var(--s-bg); padding:8px; box-sizing:border-box; }
.ph-sp-rel-body { padding:10px 12px; }
.ph-sp-rel-title { font-size:13px; font-weight:600; margin-bottom:4px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ph-sp-rel-price { font-size:15px; font-weight:800; color:var(--s-accent); }

/* ── Recently Viewed ── */

/* ── Dark mode ── */
/* dark mode styles removed */

/* ── Skeleton loaders (store product cards) ── */
@keyframes ph-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Buy Now button ── */
.ph-sp-cta-buy-now { background:linear-gradient(135deg,#0891b2,#0369a1); color:#fff; box-shadow:0 4px 16px rgba(8,145,178,.3); }
.ph-sp-cta-buy-now:hover { transform:translateY(-2px); opacity:.93; color:#fff; }
/* ph-card-buy-now replaced by ph-card-buy-now-btn */

/* dark mode toggle removed */

@media(max-width:768px) {
  .ph-dotd-inner { grid-template-columns:1fr; }
  .ph-sp-related-grid { grid-template-columns:repeat(2,1fr); }
  .ph-review-guest-fields { flex-direction:column; }
  .ph-compare-bar-inner { flex-wrap:wrap; }
}
@media(max-width:480px) {
}

/* ── Bottom padding for mobile nav bar ─────────────────────────── */
/* Only add extra bottom space when mobile nav bar is active         */
/* Store page bottom clearance for mobile nav bar */
body.mnbp-has-navbar .ph-store-shop,
body.mnbp-has-navbar .ph-sp,
body.mnbp-has-navbar .la-page,
body.mnbp-has-navbar .acc-page,
body.mnbp-has-navbar .pkkt-cart,
body.mnbp-has-navbar .pkkt-checkout {
  padding-bottom: 80px;
}
@media (min-width: 769px) {
  body.mnbp-has-navbar .ph-store-shop,
  body.mnbp-has-navbar .ph-sp,
  body.mnbp-has-navbar .la-page,
  body.mnbp-has-navbar .acc-page,
  body.mnbp-has-navbar .pkkt-cart,
  body.mnbp-has-navbar .pkkt-checkout {
    padding-bottom: 0;
  }
}

/* ══════════════════════════════════════════
   MISSING + RESPONSIVE STYLES — All pages
   ══════════════════════════════════════════ */

/* ── Cart page layout ── */
.pkkt-cart-left { display:flex; flex-direction:column; gap:10px; }
.pkkt-cart-right { display:flex; flex-direction:column; gap:14px; }
.pkkt-cart-count-num { display:inline-flex; align-items:center; justify-content:center; background:var(--s-accent); color:#fff; border-radius:50%; width:22px; height:22px; font-size:12px; font-weight:800; }
.pkkt-empty-inline { text-align:center; padding:40px 20px; color:var(--s-muted); font-size:14px; }

/* ── Cart totals ── */
.ph-store-cart-subtotal,.ph-store-cart-shipping,.ph-store-cart-tax,.ph-store-cart-total { display:flex; justify-content:space-between; align-items:center; padding:8px 0; font-size:14px; color:var(--s-ink); border-bottom:1px solid var(--s-border); }
.ph-store-cart-total { font-weight:800; font-size:16px; border-bottom:none; padding-top:12px; }
.ph-store-cart-total span:last-child { color:var(--s-accent); }
.ph-sc-subtotal,.ph-sc-shipping,.ph-sc-tax,.ph-sc-discount,.ph-sc-total { display:flex; justify-content:space-between; padding:6px 0; font-size:14px; }
.ph-sc-total { font-weight:800; font-size:16px; border-top:2px solid var(--s-border); padding-top:10px; margin-top:4px; }
.ph-sc-discount { color:var(--s-ok); }
.ph-sc-discount-row { display:flex; justify-content:space-between; padding:6px 0; font-size:14px; color:var(--s-ok); }

/* ── Cart actions ── */
.ph-store-cart-qty { display:flex; align-items:center; gap:6px; }
.ph-store-cart-remove { background:none; border:none; cursor:pointer; color:var(--s-muted); font-size:18px; line-height:1; padding:0; transition:color .15s; }
.ph-store-cart-remove:hover { color:var(--s-err); }
.ph-store-add-cart { cursor:pointer; }
.ph-store-cart-shipping { color:var(--s-ok); font-weight:600; }

/* ── Shop page ── */
.ph-shop-page-btn { display:inline-flex; align-items:center; gap:6px; padding:7px 16px; border-radius:8px; font-size:13px; font-weight:600; text-decoration:none; border:1.5px solid var(--s-border); color:var(--s-muted); transition:color .15s,border-color .15s; }
.ph-shop-page-btn:hover { color:var(--s-accent); border-color:var(--s-accent); }

/* ── Product page ── */
.ph-buy-now-btn { display:inline-flex; align-items:center; gap:6px; padding:12px 20px; background:linear-gradient(135deg,#0891b2,#0369a1); color:#fff; border-radius:12px; font-size:14px; font-weight:700; text-decoration:none; transition:opacity .15s; }
.ph-buy-now-btn:hover { opacity:.88; color:#fff; }

/* ══ RESPONSIVE ══ */

/* Desktop: cart 2-col, checkout 2-col */
@media (min-width:961px) {
  .pkkt-cart-wrap { grid-template-columns:1fr 340px; }
  .pkkt-checkout-layout { grid-template-columns:1fr 340px; }
  .la-page { margin:0 auto; }
  .acc-page { max-width:860px; margin:0 auto; }
}

/* Tablet */
@media (min-width:601px) and (max-width:960px) {
  .pkkt-cart-wrap { grid-template-columns:1fr; }
  .pkkt-checkout-layout { grid-template-columns:1fr; }
  .pkkt-checkout-summary { position:static; }
  .la-page { max-width:480px; margin:0 auto; }
  .acc-page { max-width:100%; }
  .ph-store-single-grid { grid-template-columns:1fr 1fr; gap:24px; }
}

/* Mobile */
@media (max-width:600px) {
  /* Shop */
  .ph-store-shop { padding:14px 12px 100px; }
  /* Single product */
  .ph-store-single-grid { grid-template-columns:1fr !important; gap:16px; }
  .ph-sp { padding:12px 12px 100px; }
  /* Cart */
  .pkkt-cart { padding:14px 12px 120px; }
  .pkkt-cart-wrap { grid-template-columns:1fr !important; gap:16px; }
  .pkkt-cart-row { flex-wrap:wrap; gap:10px; }
  /* Checkout */
  .pkkt-checkout { padding:14px 12px 120px; }
  .pkkt-checkout-layout { grid-template-columns:1fr !important; gap:16px; }
  .pkkt-checkout-summary { position:static !important; }
  .pkkt-checkout-title { font-size:18px; }
  /* Login / Register */
  .la-page { padding:16px 14px 100px; max-width:100%; }
  /* Account */
  .acc-page { padding:14px 12px 100px; }
  /* Orders grid */
  .ph-orders-grid { grid-template-columns:1fr !important; }
  /* Tracking */
  .ph-tracking-page { padding:16px 12px 100px; }
}

/* Small mobile */
@media (max-width:400px) {
  .pkkt-cart-row-img { flex:0 0 60px; }
  .pkkt-cart-row-img img { width:60px; height:60px; }
  .ph-sp-price { font-size:28px; }
}

/* Qty stepper */
.ph-store-qty-btn {
  width: 40px; height: 44px; flex: 0 0 40px;
  border: none; background: #f8fafc; cursor: pointer;
  font-size: 18px; font-weight: 700; color: #374151;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.ph-store-qty-btn:hover { background: #e2e8f0; }
.ph-store-qty-input {
  width: 56px; height: 44px; border: none;
  border-left: 1px solid var(--s-border);
  border-right: 1px solid var(--s-border);
  text-align: center; font-size: 15px; font-weight: 700;
  color: #111827; background: #fff;
  -moz-appearance: textfield;
}
.ph-store-qty-input::-webkit-outer-spin-button,
.ph-store-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ══════════════════════════════════════════════════
   SIDE CART DRAWER
   ══════════════════════════════════════════════════ */

/* Overlay */
.ph-side-cart-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.ph-side-cart-overlay.open {
  opacity: 1; pointer-events: auto;
}

/* Drawer */
.ph-side-cart {
  position: fixed; top: 50%; left: 50%;
  width: min(420px, 92vw);
  max-height: 85vh;
  background: #fff; z-index: 9999;
  display: flex; flex-direction: column;
  border-radius: 18px;
  transform: translate(-50%,-50%) scale(.94);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .28s;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  overflow: hidden;
}
.ph-side-cart.open {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.ph-side-cart-head {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--s-border);
  flex-shrink: 0;
}
.ph-side-cart-head h2 {
  font-size: 17px; font-weight: 800; color: var(--s-ink);
  margin: 0; display: flex; align-items: center; gap: 8px;
}
.ph-side-cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--s-accent); color: #fff;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 800;
}
.ph-side-cart-close {
  background: none; border: none; cursor: pointer;
  color: var(--s-muted); padding: 4px;
  display: flex; align-items: center;
  border-radius: 8px; transition: background .15s;
}
.ph-side-cart-close:hover { background: var(--s-bg); color: var(--s-ink); }
.ph-side-cart-keep-shopping {
  background: none; border: none; color: var(--s-accent);
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  padding: 10px 0 0; width: 100%; text-align: center;
}
.ph-side-cart-keep-shopping:hover { text-decoration: underline; }

/* Body — scrollable items */
.ph-side-cart-body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 12px 16px;
  -webkit-overflow-scrolling: touch;
}

/* Empty state */
.ph-side-cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; gap: 12px;
  color: var(--s-muted); font-size: 14px; text-align: center;
  padding: 40px 20px;
}

/* Cart item */
.ph-side-cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--s-border);
}
.ph-side-cart-item:last-child { border-bottom: none; }
.ph-side-cart-item-img {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--s-border);
  background: var(--s-bg); flex-shrink: 0; padding: 4px;
}
.ph-side-cart-item-no-img {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--s-bg); border-radius: 8px;
  border: 1px solid var(--s-border);
}
.ph-side-cart-item-info {
  flex: 1; min-width: 0;
}
.ph-side-cart-item-info p {
  font-size: 13px; font-weight: 600; color: var(--s-ink);
  margin: 0 0 4px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ph-side-cart-item-price {
  font-size: 14px; font-weight: 800; color: var(--s-ink);
  display: block; margin-bottom: 8px;
}
.ph-side-cart-item-controls {
  display: flex; align-items: center; gap: 6px;
}
.ph-side-cart-qty-btn {
  width: 28px; height: 28px; border-radius: 6px;
  border: 1.5px solid var(--s-border);
  background: #fff; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--s-ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.ph-side-cart-qty-btn:hover { background: var(--s-bg); }
.ph-side-cart-qty-val {
  font-size: 13px; font-weight: 700; color: var(--s-ink);
  min-width: 20px; text-align: center;
}
.ph-side-cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: #9ca3af; font-size: 20px; line-height: 1;
  padding: 0 4px; margin-left: auto;
  transition: color .15s;
}
.ph-side-cart-item-remove:hover { color: #ef4444; }

/* Footer */
.ph-side-cart-footer {
  border-top: 1px solid var(--s-border);
  padding: 0 0 12px; flex-shrink: 0;
}

/* Totals */
.ph-side-cart-totals {
  padding: 14px 20px 10px;
}
.ph-side-cart-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 4px 0;
  font-size: 13px; color: var(--s-muted);
}
.ph-side-cart-row strong { color: var(--s-ink); font-weight: 700; }
.ph-side-cart-row.total {
  font-size: 16px; font-weight: 800;
  color: var(--s-ink); border-top: 1.5px solid var(--s-border);
  margin-top: 8px; padding-top: 10px;
}
.ph-side-cart-row.total strong { color: var(--s-accent); font-size: 17px; }

/* Actions */
.ph-side-cart-actions {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 16px 8px;
}
.ph-side-cart-actions .ph-store-btn-accent {
  background: linear-gradient(135deg,var(--s-accent),#1d4ed8);
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 13px; border-radius: 12px; text-align: center;
  text-decoration: none; display: block;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
  transition: opacity .15s;
}
.ph-side-cart-actions .ph-store-btn-accent:hover { opacity: .9; }
.ph-side-cart-actions .ph-store-btn-outline {
  background: #fff; color: var(--s-ink);
  border: 1.5px solid var(--s-border);
  font-weight: 600; font-size: 13px;
  padding: 10px; border-radius: 10px; text-align: center;
  text-decoration: none; display: block; transition: background .15s;
}
.ph-side-cart-actions .ph-store-btn-outline:hover { background: var(--s-bg); }

/* Mobile nav bar clearance handled via the popup's own centering — no
   extra offset needed now that it's not a full-height edge panel. */

/* ══════════════════════════════════════
   CHECKOUT PAGE — Complete styles
   ══════════════════════════════════════ */

.pkkt-checkout { padding: 20px 16px 120px; }

/* Layout */
.pkkt-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.pkkt-checkout-title {
  font-size: 22px; font-weight: 900; color: var(--s-ink);
  margin: 0 0 20px;
}

/* Form cards */
.pkkt-form-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--s-border);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.pkkt-form-card-title {
  font-size: 18px; font-weight: 800; color: var(--s-ink);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.pkkt-step-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--s-accent); color: #fff;
  font-size: 13px; font-weight: 900; flex-shrink: 0;
}

/* Fields */
.pkkt-fields { display: flex; flex-direction: column; gap: 14px; }
.pkkt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pkkt-field { display: flex; flex-direction: column; gap: 5px; }
.pkkt-field label {
  font-size: 12.5px; font-weight: 700; color: #374151;
}
.pkkt-input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--s-border);
  border-radius: 10px;
  font-size: 14px; color: var(--s-ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
  outline: none;
}
.pkkt-input:focus {
  border-color: var(--s-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.pkkt-input::placeholder { color: #9ca3af; }
.pkkt-select { cursor: pointer; appearance: auto; }

/* Payment options */
.pkkt-payment-list { display: flex; flex-direction: column; gap: 10px; }
.pkkt-pay-opt { position: relative; }
.pkkt-pay-opt input[type=radio] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.pkkt-pay-opt-body {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--s-border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  background: #fff;
}
.pkkt-pay-opt-body:hover { border-color: var(--s-accent); background: #f8faff; }
.pkkt-pay-opt-icon { font-size: 22px; flex-shrink: 0; }
.pkkt-pay-opt-info { flex: 1; min-width: 0; }
.pkkt-pay-opt-info strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--s-ink); margin-bottom: 2px;
}
.pkkt-pay-opt-info span {
  font-size: 12px; color: var(--s-muted);
}
.pkkt-pay-radio {
  width: 20px; height: 20px; min-width: 20px; min-height: 20px;
  border-radius: 50%; border: 2px solid #d1d5db;
  flex: 0 0 20px; position: relative;
  transition: all .15s; align-self: center;
  box-sizing: border-box; background: #fff;
}

/* Place Order button */
.pkkt-btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 15px 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; font-size: 16px; font-weight: 800;
  border: none; border-radius: 14px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  transition: all .18s; text-align: center;
  letter-spacing: .2px;
}
.pkkt-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 22px rgba(37,99,235,.45);
  transform: translateY(-1px);
}
#ph-store-place-order { margin-top: 16px; }

.pkkt-secure-note {
  text-align: center; font-size: 12px; color: var(--s-muted);
  margin: 10px 0 0;
}

/* Order summary card */
.pkkt-checkout-summary {
  position: sticky; top: 80px;
}
.pkkt-summary-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--s-border); padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.pkkt-summary-title {
  font-size: 16px; font-weight: 800; color: var(--s-ink);
  margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--s-border);
}
.pkkt-summary-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f3f4f6;
}
.pkkt-summary-item:last-of-type { border-bottom: none; }
.pkkt-summary-item img {
  width: 56px; height: 56px; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--s-border);
  background: var(--s-bg); flex-shrink: 0;
}
.pkkt-summary-item-info { flex: 1; min-width: 0; }
.pkkt-summary-item-info p {
  font-size: 13px; font-weight: 600; color: var(--s-ink);
  margin: 0 0 4px; line-height: 1.4;
}
.pkkt-summary-item-price {
  font-size: 14px; font-weight: 800; color: var(--s-ink);
}
.pkkt-summary-totals { margin-top: 14px; }
.pkkt-summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--s-muted); padding: 5px 0;
}
.pkkt-summary-row.total {
  font-size: 16px; font-weight: 900; color: var(--s-ink);
  border-top: 1.5px solid var(--s-border);
  margin-top: 8px; padding-top: 12px;
}
.pkkt-summary-row.total span:last-child { color: var(--s-accent); }

/* Trust badges */
.ph-sp-trust {
  display: flex; justify-content: space-around;
  padding: 14px 10px; border-top: 1px solid var(--s-border);
  margin-top: 12px;
}
.ph-sp-trust-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; font-size: 11px; font-weight: 600; color: var(--s-muted);
}
.ph-sp-trust-item svg { flex-shrink: 0; }

/* Mobile */
@media(max-width:600px) {
  .pkkt-checkout-layout { grid-template-columns: 1fr !important; }
  .pkkt-field-row { grid-template-columns: 1fr !important; }
  .pkkt-form-card { padding: 16px; }
  .pkkt-form-card-title { font-size: 16px; }
  .pkkt-btn-primary { font-size: 15px; padding: 14px; }
  .pkkt-checkout-summary { position: static; }
}
@media(min-width:601px) and (max-width:960px) {
  .pkkt-checkout-layout { grid-template-columns: 1fr; }
  .pkkt-checkout-summary { position: static; }
}

/* ── Quick View button on card ── */
.ph-card-qv-btn {
  position: absolute; bottom: 8px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(0,0,0,.72); color: #fff;
  border: none; border-radius: 20px;
  font-size: 11.5px; font-weight: 700;
  padding: 5px 14px; cursor: pointer;
  opacity: 0; transition: opacity .2s, transform .2s;
  white-space: nowrap; pointer-events: none; z-index: 3;
}
.ph-store-product-card:hover .ph-card-qv-btn {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ph-store-product-img a {
  display: block; height: 100%;
}
.ph-store-product-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important;
  padding: 0 !important;
}

/* Quick View Modal */
.ph-modal-product {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 99999;
  align-items: center; justify-content: center;
  padding: 16px; box-sizing: border-box;
  transition: opacity .25s;
  opacity: 0;
}
.ph-modal-product.ph-modal-open { opacity: 1; }
.ph-qv-box {
  background: #fff; border-radius: 20px;
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  transform: scale(.95); transition: transform .25s;
}
.ph-modal-product.ph-modal-open .ph-qv-box { transform: scale(1); }
.ph-qv-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--s-border);
  position: sticky; top: 0; background: #fff; z-index: 1;
  border-radius: 20px 20px 0 0;
}
.ph-qv-head h3 { font-size: 15px; font-weight: 700; margin: 0; }
.ph-qv-close {
  background: #f3f4f6; border: none; border-radius: 8px;
  width: 30px; height: 30px; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.ph-qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ph-qv-img { aspect-ratio: 1/1; background: #f3f4f8; }
.ph-qv-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 0 0 20px; }
.ph-qv-info { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ph-qv-price { font-size: 22px; font-weight: 900; color: var(--s-ink); }
.ph-qv-mrp { font-size: 13px; color: #9ca3af; }
.ph-qv-mrp del { text-decoration: line-through; }
@media(max-width:500px){
  .ph-qv-body { grid-template-columns: 1fr; }
  .ph-qv-img { border-radius: 0; }
}

/* ── Product page coupon strip ── */
.ph-sp-coupons {
  background: #fff;
  border: 1.5px solid #e0f2fe;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.ph-sp-coupons-title {
  font-size: 12px; font-weight: 800;
  color: #0284c7; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 10px;
}
.ph-sp-coupon-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed #e0f2fe;
}
.ph-sp-coupon-item:last-child { border-bottom: none; padding-bottom: 0; }
.ph-sp-coupon-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ph-sp-coupon-badge {
  background: #0284c7; color: #fff;
  font-size: 10.5px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
}
.ph-sp-coupon-details { min-width: 0; }
.ph-sp-coupon-desc { display: block; font-size: 12.5px; font-weight: 600; color: #1e293b; }
.ph-sp-coupon-min { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }
.ph-sp-coupon-copy {
  display: flex; flex-direction: column; align-items: center;
  background: #eff6ff; border: 1.5px dashed #2563eb;
  border-radius: 8px; padding: 6px 12px; cursor: pointer;
  flex-shrink: 0; transition: background .15s;
  font-size: 12px;
}
.ph-sp-coupon-copy:hover { background: #dbeafe; }
.ph-sp-coupon-copy strong { font-size: 13px; color: #1d4ed8; letter-spacing: .5px; }
.ph-sp-coupon-tap { font-size: 10px; color: #6b7280; margin-top: 2px; }

/* ══════════════════════════════════════
   CHECKOUT — ORDER SUMMARY CARD
   ══════════════════════════════════════ */

.pkkt-checkout-summary { }
.pkkt-summary-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--s-border);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  position: sticky;
  top: 80px;
}
.pkkt-summary-heading {
  font-size: 16px; font-weight: 800; color: var(--s-ink);
  margin: 0; padding: 16px 18px;
  border-bottom: 1px solid var(--s-border);
  background: #f8fafc;
}

/* Item list */
.pkkt-oi-list { padding: 0 0 4px; }
.pkkt-oi-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f3f4f6;
}
.pkkt-oi-row:last-child { border-bottom: none; }

/* Image + qty badge */
.pkkt-oi-img-wrap {
  position: relative; flex-shrink: 0;
  width: 56px; height: 56px;
}
.pkkt-oi-img-wrap img {
  width: 56px; height: 56px;
  object-fit: cover; border-radius: 8px;
  border: 1px solid var(--s-border);
  display: block;
}
.pkkt-no-img-sm {
  width: 56px; height: 56px; display: block;
  background: var(--s-bg); border-radius: 8px;
  border: 1px solid var(--s-border);
}
.pkkt-oi-qty {
  position: absolute; top: -6px; right: -6px;
  background: var(--s-accent); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

/* Name + price */
.pkkt-oi-name {
  flex: 1; font-size: 13px; font-weight: 600;
  color: var(--s-ink); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  min-width: 0;
}
.pkkt-oi-price {
  font-size: 14px; font-weight: 800;
  color: var(--s-ink); flex-shrink: 0;
  white-space: nowrap;
}

/* Totals */
.pkkt-summary-lines {
  padding: 10px 18px 4px;
  border-top: 1px solid var(--s-border);
}
.pkkt-summary-line {
  display: flex; justify-content: space-between;
  align-items: center; padding: 6px 0;
  font-size: 13px; color: var(--s-muted);
  border-bottom: 1px solid #f8fafc;
}
.pkkt-summary-line:last-child { border-bottom: none; }
.pkkt-summary-line b { font-weight: 700; color: var(--s-ink); }
.pkkt-free { color: #059669; font-weight: 800; }

/* Total row */
.pkkt-summary-total {
  display: flex; justify-content: space-between;
  align-items: center; padding: 14px 18px;
  background: #f8fafc;
  border-top: 2px solid var(--s-border);
  margin-top: 2px;
}
.pkkt-summary-total span {
  font-size: 15px; font-weight: 800; color: var(--s-ink);
}
.pkkt-summary-total b {
  font-size: 18px; font-weight: 900; color: var(--s-accent);
}

/* ── AJAX Shop Search ── */
.ph-shop-search-wrap { display:flex;align-items:center;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;overflow:visible;position:relative;flex:1;min-width:220px; }
.ph-shop-search-input { flex:1;border:none;outline:none;font-size:14px;padding:11px 4px;background:transparent;color:#111827; }
.ph-shop-search-clear { background:none;border:none;color:#9ca3af;cursor:pointer;padding:0 12px;font-size:16px;line-height:1;flex-shrink:0; }
.ph-shop-search-clear:hover { color:#ef4444; }
.ph-shop-search-spinner { width:18px;height:18px;border:2px solid #e5e7eb;border-top-color:#4f46e5;border-radius:50%;animation:ph-spin .6s linear infinite;flex-shrink:0;margin-right:10px; }
@keyframes ph-spin { to { transform:rotate(360deg); } }
#ph-shop-grid { transition:opacity .2s; }
