/* ============================================================
   PUNJABI LIBAS — MERGED STYLES
   Redesign components (plm-*) + existing current theme (pl-*)
   ============================================================ */

/* ── Design tokens (redesign palette) ──────────────────── */
:root {
  --plm-deep:       #1C0A00;
  --plm-maroon:     #6B1E1E;
  --plm-gold:       #C49A3C;
  --plm-gold-light: #E8C97A;
  --plm-cream:      #FAF6F0;
  --plm-warm-white: #FFFDF9;
  --plm-warm-gray:  #F0EBE3;
  --plm-mid-gray:   #9A8E85;
  --plm-text:       #1C0A00;
  --plm-text-muted: #6B5E55;
  --plm-border:     rgba(196,154,60,0.2);
  --plm-r:          6px;
  --plm-r-lg:       12px;
}

/* ── ANNOUNCEMENT BAR (redesign) ────────────────────────── */
.plm-announce {
  background: var(--plm-maroon);
  color: white;
  text-align: center;
  padding: 9px 20px;
  font-size: 12.5px;
  letter-spacing: .03em;
  font-family: var(--pl-font-body);
}
.plm-announce-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
.plm-announce-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.plm-announce-item svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* ── FOUNDER TRUST STRIP (redesign) ─────────────────────── */
.plm-founder-strip {
  background: var(--plm-warm-gray);
  padding: 18px 0;
  border-bottom: 1px solid var(--plm-border);
}
.plm-founder-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.plm-founder-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--plm-maroon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pl-font-display);
  font-size: 18px; color: white; font-weight: 600;
  flex-shrink: 0;
}
.plm-founder-avatar-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--plm-gold);
}
.plm-founder-text { flex: 1; min-width: 200px; }
.plm-founder-text strong {
  font-size: 13.5px; font-weight: 500;
  color: var(--plm-deep); display: block;
  font-family: var(--pl-font-body);
}
.plm-founder-text span {
  font-size: 12px; color: var(--plm-text-muted);
  font-family: var(--pl-font-body);
}
.plm-founder-badges {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.plm-f-badge {
  font-size: 11px; padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--plm-border);
  background: white;
  color: var(--plm-maroon);
  font-weight: 500;
  font-family: var(--pl-font-body);
  white-space: nowrap;
}

/* ── HERO (redesign) ─────────────────────────────────────── */
.plm-hero {
  background: var(--plm-warm-white);
  overflow: hidden;
}
.plm-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  gap: 60px;
}
.plm-hero-text { padding: 60px 0; }
.plm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,154,60,0.1);
  border: 1px solid var(--plm-border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--plm-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: var(--pl-font-body);
}
.plm-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--plm-gold);
  border-radius: 50%;
}
.plm-hero-h1 {
  font-family: var(--pl-font-display) !important;
  font-size: clamp(40px, 5vw, 56px) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: var(--plm-deep) !important;
  margin: 0 0 16px !important;
}
.plm-hero-h1 em {
  font-style: italic;
  color: var(--plm-maroon) !important;
}
.plm-hero-gurmukhi {
  font-family: var(--pl-font-punjabi);
  font-size: 17px;
  color: var(--plm-text-muted);
  margin-bottom: 16px;
}
.plm-hero-desc {
  font-size: 15px;
  color: var(--plm-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
  font-family: var(--pl-font-body);
}
.plm-hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.plm-btn-primary {
  background: var(--plm-maroon);
  color: white !important;
  padding: 14px 28px;
  border-radius: var(--plm-r);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  letter-spacing: .03em;
  transition: background .2s;
  font-family: var(--pl-font-body);
  display: inline-block;
}
.plm-btn-primary:hover { background: #5a1818 !important; }
.plm-btn-secondary {
  color: var(--plm-maroon) !important;
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  font-family: var(--pl-font-body);
  transition: letter-spacing .2s;
}
.plm-btn-secondary:hover { letter-spacing: .04em; }
.plm-hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--plm-border);
  flex-wrap: wrap;
}
.plm-hero-stat { display: flex; flex-direction: column; gap: 3px; }
.plm-stat-num {
  font-family: var(--pl-font-display);
  font-size: 28px; font-weight: 600;
  color: var(--plm-maroon); line-height: 1;
}
.plm-stat-lbl {
  font-size: 12px;
  color: var(--plm-text-muted);
  font-family: var(--pl-font-body);
}

/* Hero visual */
.plm-hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plm-hero-frame {
  width: 320px; height: 440px;
  background: var(--plm-warm-gray);
  border-radius: 150px 150px 20px 20px;
  overflow: hidden;
  border: 3px solid var(--plm-border);
  position: relative;
}
.plm-hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.plm-hero-frame-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--plm-text-muted);
  text-align: center; padding: 32px;
}
.plm-hero-frame-placeholder svg {
  width: 48px; height: 48px; opacity: .25;
}
.plm-hero-frame-placeholder p {
  font-size: 13px; opacity: .6;
  font-family: var(--pl-font-body);
  line-height: 1.5;
}
.plm-hero-badge {
  position: absolute;
  bottom: 70px; left: -10px;
  background: white;
  border: 1px solid var(--plm-border);
  border-radius: var(--plm-r-lg);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.plm-hb-num {
  font-family: var(--pl-font-display);
  font-size: 22px; font-weight: 600;
  color: var(--plm-maroon);
}
.plm-hb-txt {
  font-size: 11px;
  color: var(--plm-text-muted);
  font-family: var(--pl-font-body);
}
.plm-hero-tag {
  position: absolute;
  top: 80px; right: -8px;
  background: var(--plm-maroon);
  color: white;
  border-radius: var(--plm-r);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--pl-font-punjabi);
  font-size: 13px;
}

/* ── TRUST BAR (redesign) ───────────────────────────────── */
.plm-trust-bar {
  background: var(--plm-deep);
  padding: 28px 0;
}
.plm-trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.plm-trust-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.plm-trust-item:last-child { border-right: none; }
.plm-trust-item svg {
  width: 26px; height: 26px;
  color: var(--plm-gold);
}
.plm-ti-title {
  font-size: 13px; font-weight: 500; color: white;
  font-family: var(--pl-font-body);
}
.plm-ti-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: var(--pl-font-body);
}

/* ── COLLECTIONS SECTION wrapper ────────────────────────── */
.plm-collections-section { background: var(--pl-warm-white); }

/* ── PRODUCT SECTION (redesign) ─────────────────────────── */
.plm-products-section {
  padding: 72px 0;
  background: var(--plm-warm-white);
}
.plm-bestsellers-section { background: var(--plm-cream); }

.plm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.plm-section-label {
  font-size: 11px;
  color: var(--plm-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--pl-font-body);
  display: block;
  margin-bottom: 6px;
}
.plm-section-title {
  font-family: var(--pl-font-display) !important;
  font-size: 34px !important;
  font-weight: 500 !important;
  color: var(--plm-deep) !important;
  line-height: 1.2 !important;
  margin: 0 0 4px !important;
}
.plm-section-sub {
  font-size: 14px;
  color: var(--plm-text-muted);
  font-family: var(--pl-font-body);
}
.plm-view-all {
  font-size: 13px;
  color: var(--plm-maroon) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-family: var(--pl-font-body);
  white-space: nowrap;
  transition: gap .2s;
}
.plm-view-all:hover { letter-spacing: .03em; }

/* ── PRODUCT GRID (redesign) ─────────────────────────────── */
.plm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── PRODUCT CARD (redesign) ─────────────────────────────── */
.pcard {
  background: var(--plm-warm-white);
  border-radius: var(--plm-r-lg);
  overflow: hidden;
  border: 1px solid var(--plm-border);
  transition: transform .2s, box-shadow .2s;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(28,10,0,0.1);
}
.pcard-img {
  position: relative;
  height: 280px;
  background: var(--plm-warm-gray);
  overflow: hidden;
}
.pcard-img-el {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s;
}
.pcard:hover .pcard-img-el { transform: scale(1.04); }
.pcard-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--plm-text-muted);
  font-size: 13px; font-family: var(--pl-font-body);
}
.pcard-img-placeholder svg {
  width: 36px; height: 36px; opacity: .2;
}
.pcard-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--plm-maroon);
  color: white;
  font-size: 11px; font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .03em;
  font-family: var(--pl-font-body);
}
.pcard-badge-new { background: var(--plm-deep) !important; }
.pcard-badge-low { background: #8A3A1A !important; }
.pcard-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--plm-border);
  cursor: pointer;
  transition: all .2s;
}
.pcard-wishlist:hover { background: #FFE8F0; border-color: #C9567A; }
.pcard-wishlist svg { width: 15px; height: 15px; color: var(--plm-text-muted); }
.pcard-overlay-link {
  position: absolute; inset: 0;
  z-index: 0;
}
.pcard-body { padding: 16px; }
.pcard-fabric {
  font-size: 11px;
  color: var(--plm-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 500;
  font-family: var(--pl-font-body);
}
.pcard-name {
  font-size: 14px;
  color: var(--plm-deep);
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--pl-font-body);
}
.pcard-name a {
  color: var(--plm-deep) !important;
  text-decoration: none !important;
}
.pcard-name a:hover { color: var(--plm-maroon) !important; }
.pcard-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pcard-price .current {
  font-family: var(--pl-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--plm-maroon);
}
.pcard-price .original {
  font-size: 13px;
  color: var(--plm-text-muted);
  text-decoration: line-through;
}
.pcard-price .saving {
  font-size: 11px;
  background: rgba(107,30,30,0.08);
  color: var(--plm-maroon);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  font-family: var(--pl-font-body);
}
/* Override WC price output inside .current */
.pcard-price .current .woocommerce-Price-amount {
  font-family: var(--pl-font-display) !important;
  font-size: 20px !important;
  color: var(--plm-maroon) !important;
  font-weight: 600 !important;
}

.pcard-footer {
  display: flex;
  gap: 8px;
}
/* Add to cart (WC native) */
.plm-product-grid .pcard .pcard-footer .button,
.plm-product-grid .pcard .pcard-footer .add_to_cart_button,
.pcard-footer .btn-cart {
  flex: 1 !important;
  background: var(--plm-cream) !important;
  border: 1.5px solid var(--plm-border) !important;
  color: var(--plm-maroon) !important;
  padding: 10px 12px !important;
  border-radius: var(--plm-r) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all .2s !important;
  text-align: center !important;
  font-family: var(--pl-font-body) !important;
  text-decoration: none !important;
  display: block !important;
}
.plm-product-grid .pcard .pcard-footer .button:hover,
.plm-product-grid .pcard .pcard-footer .add_to_cart_button:hover {
  background: var(--plm-maroon) !important;
  color: white !important;
  border-color: var(--plm-maroon) !important;
}
.pcard-footer .btn-buy {
  background: var(--plm-maroon) !important;
  color: white !important;
  padding: 10px 16px !important;
  border-radius: var(--plm-r) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  border: none !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  font-family: var(--pl-font-body) !important;
  transition: background .2s !important;
  display: inline-flex !important;
  align-items: center !important;
}
.pcard-footer .btn-buy:hover { background: #5a1818 !important; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .plm-hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .plm-hero-text { padding: 48px 0 0; }
  .plm-hero-visual { height: auto; padding-bottom: 40px; }
  .plm-product-grid { grid-template-columns: repeat(2, 1fr); }
  .plm-trust-inner { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .plm-trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 16px; }
  .plm-trust-item:last-child { border-bottom: none; }
}
@media (max-width: 767px) {
  .plm-hero-inner { padding: 0 20px; gap: 24px; }
  .plm-hero-visual { display: none; }
  .plm-hero-text { padding: 40px 0 0; }
  .plm-hero-h1 { font-size: 36px !important; }
  .plm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .plm-trust-inner { grid-template-columns: repeat(2, 1fr); padding: 0 20px; }
  .plm-announce-inner { gap: 12px; }
  .plm-announce-item { font-size: 11.5px; }
  .plm-founder-inner { gap: 12px; }
  .plm-founder-badges { display: none; }
  .pcard-img { height: 220px; }
  .products-section, .plm-products-section { padding: 48px 0; }
  .plm-section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .plm-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-img { height: 180px; }
  .pcard-body { padding: 10px; }
  .pcard-name { font-size: 13px; }
  .pcard-price .current { font-size: 17px; }
  .pcard-footer .btn-buy { padding: 10px 10px !important; font-size: 12px !important; }
}
