/* ============================================================
   PUNJABI LIBAS — HOMEPAGE TEMPLATE STYLES
   homepage-styles.css  (enqueued only on homepage template)
   ============================================================ */

/* ── Reset conflicts with Astra ──────────────────────────── */
.pl-hero,
.pl-categories-section,
.pl-products-section,
.pl-story-section,
.pl-why-section,
.pl-newsletter-section {
  width: 100%;
  max-width: 100% !important;
}

/* ── Container ───────────────────────────────────────────── */
.pl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section base ────────────────────────────────────────── */
.pl-section { padding: 80px 0; }

.pl-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.pl-section-title {
  font-family: var(--pl-font-display) !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 300 !important;
  color: var(--pl-maroon-dark) !important;
  line-height: 1.2 !important;
  margin: 0 0 12px !important;
}

.pl-section-title em {
  font-style: italic;
  color: var(--pl-gold) !important;
}

.pl-section-desc {
  font-size: 14px;
  color: var(--pl-taupe);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────────────── */
.pl-btn-primary {
  display: inline-block;
  background: var(--pl-maroon);
  color: white !important;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .25s, color .25s;
  font-family: var(--pl-font-body);
  border: none;
  cursor: pointer;
}

.pl-btn-primary:hover {
  background: var(--pl-gold) !important;
  color: var(--pl-charcoal) !important;
}

.pl-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--pl-maroon) !important;
  padding: 13px 32px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1.5px solid var(--pl-maroon);
  text-decoration: none !important;
  transition: all .25s;
  font-family: var(--pl-font-body);
  cursor: pointer;
}

.pl-btn-ghost:hover {
  background: var(--pl-maroon) !important;
  color: white !important;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.pl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  overflow: hidden;
}

.pl-hero-content {
  background: var(--pl-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
  animation: plFadeUp .8s ease both;
}

.pl-hero-content::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pl-maroon), var(--pl-gold), var(--pl-maroon));
}

.pl-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pl-eyebrow-line {
  width: 32px; height: 1px;
  background: var(--pl-gold);
  display: inline-block;
}

.pl-hero-title {
  font-family: var(--pl-font-display) !important;
  font-size: clamp(40px, 5vw, 68px) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
  color: var(--pl-maroon-dark) !important;
  margin: 0 0 8px !important;
}

.pl-hero-title em {
  font-style: italic;
  color: var(--pl-gold) !important;
}

.pl-hero-gurmukhi {
  font-family: var(--pl-font-punjabi);
  font-size: 17px;
  color: var(--pl-taupe);
  margin-bottom: 20px;
}

.pl-hero-desc {
  font-size: 15px;
  color: var(--pl-taupe);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 36px;
}

.pl-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.pl-hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--pl-border);
}

.pl-stat { display: flex; flex-direction: column; gap: 3px; }

.pl-stat-num {
  font-family: var(--pl-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--pl-maroon);
  line-height: 1;
}

.pl-stat-label {
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--pl-taupe);
}

.pl-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--pl-maroon-dark);
  min-height: 500px;
}

.pl-hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,253,248,.4);
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
  padding: 40px;
}

.pl-hero-badge {
  position: absolute;
  bottom: 32px; left: 32px;
  background: rgba(255,253,248,.96);
  padding: 14px 18px;
  border-left: 3px solid var(--pl-gold);
}

.pl-hero-badge-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pl-taupe);
  display: block;
}

.pl-hero-badge-text {
  font-family: var(--pl-font-display);
  font-size: 18px;
  color: var(--pl-maroon);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════════════════ */
.pl-trust-bar {
  background: var(--pl-charcoal);
  padding: 16px 0;
}

.pl-trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pl-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 24px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,253,248,.85);
  border-right: 1px solid rgba(255,255,255,.1);
  font-family: var(--pl-font-body);
}

.pl-trust-item:last-child { border-right: none; }

/* ══════════════════════════════════════════════════════════
   CATEGORY GRID
   ══════════════════════════════════════════════════════════ */
.pl-categories-section { background: var(--pl-warm-white); }

.pl-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pl-cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
  aspect-ratio: 3/4;
}

.pl-cat-bg {
  width: 100%; height: 100%;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  display: flex; align-items: center; justify-content: center;
}

.pl-cat-card:hover .pl-cat-bg { transform: scale(1.06); }

.pl-cat-emoji { font-size: 60px; opacity: .3; }

.pl-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,33,24,.85) 0%, transparent 55%);
}

.pl-cat-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--pl-maroon);
  color: white;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-family: var(--pl-font-body);
}

.pl-cat-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  color: white;
}

.pl-cat-name {
  font-family: var(--pl-font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: white !important;
}

.pl-cat-punjabi {
  font-family: var(--pl-font-punjabi);
  font-size: 12px;
  color: var(--pl-gold-light);
  margin-top: 3px;
}

.pl-cat-count {
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

.pl-cat-cta {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pl-gold-light);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: all .3s;
  font-family: var(--pl-font-body);
}

.pl-cat-card:hover .pl-cat-cta { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   PRODUCT GRID
   ══════════════════════════════════════════════════════════ */
.pl-products-section { background: white; }

.pl-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pl-product-card {
  background: white;
  transition: transform .3s, box-shadow .3s;
}

.pl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow);
}

.pl-product-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--pl-cream);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.pl-product-img-el {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s;
}

.pl-product-card:hover .pl-product-img-el { transform: scale(1.04); }

.pl-product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; opacity: .3;
}

.pl-p-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  font-weight: 500;
  font-family: var(--pl-font-body);
}

.pl-badge-new  { background: var(--pl-sage); color: white; }
.pl-badge-hot  { background: var(--pl-maroon); color: white; }
.pl-badge-sale { background: var(--pl-gold); color: var(--pl-charcoal); }
.pl-badge-low  { background: #8A3A1A; color: white; }

.pl-quick-view {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(42,33,24,.88);
  color: white !important;
  text-align: center;
  padding: 11px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none !important;
  transform: translateY(100%);
  transition: transform .3s;
  font-family: var(--pl-font-body);
}

.pl-product-card:hover .pl-quick-view { transform: translateY(0); }

.pl-product-info { padding: 14px 16px 16px; }

.pl-product-cat {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pl-gold);
  margin-bottom: 4px;
  font-family: var(--pl-font-body);
}

.pl-product-name {
  font-family: var(--pl-font-display) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--pl-charcoal) !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
}

.pl-product-name a {
  color: var(--pl-charcoal) !important;
  text-decoration: none !important;
}

.pl-product-name a:hover { color: var(--pl-maroon) !important; }

.pl-product-price { margin-bottom: 12px; }

/* Override WC price styles within our grid */
.pl-product-price .woocommerce-Price-amount {
  font-family: var(--pl-font-display) !important;
  font-size: 20px !important;
  color: var(--pl-maroon) !important;
  font-weight: 600 !important;
}

.pl-product-price del .woocommerce-Price-amount {
  font-size: 13px !important;
  color: var(--pl-taupe) !important;
  font-weight: 400 !important;
}

.pl-product-actions .button,
.pl-product-actions .add_to_cart_button {
  width: 100% !important;
  text-align: center !important;
  border-radius: 0 !important;
  background: var(--pl-charcoal) !important;
  color: white !important;
  font-size: 11px !important;
  letter-spacing: .1em !important;
  padding: 11px !important;
  transition: background .2s !important;
}

.pl-product-actions .button:hover,
.pl-product-actions .add_to_cart_button:hover {
  background: var(--pl-maroon) !important;
  color: white !important;
}

/* ══════════════════════════════════════════════════════════
   FOUNDER STORY
   ══════════════════════════════════════════════════════════ */
.pl-story-section { background: var(--pl-warm-white); }

.pl-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pl-story-img-wrap { position: relative; }

.pl-story-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.pl-story-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, #7A1E2E 0%, #4A0E1A 60%, #C9973A 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
  padding: 40px;
}

.pl-story-deco {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border: 2px solid var(--pl-gold);
  opacity: .35;
  pointer-events: none;
}

.pl-story-content { padding-right: 16px; }

.pl-story-quote {
  font-family: var(--pl-font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: var(--pl-maroon-dark);
  line-height: 1.45;
  margin: 0 0 24px !important;
  padding-left: 20px;
  border-left: 3px solid var(--pl-gold);
}

.pl-story-body {
  font-size: 14.5px;
  color: var(--pl-taupe);
  line-height: 1.85;
  margin-bottom: 20px;
}

.pl-story-signature {
  font-family: var(--pl-font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--pl-maroon);
  margin-top: 8px;
}

.pl-story-role {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pl-taupe);
  margin-top: 4px;
  font-family: var(--pl-font-body);
}

.pl-story-milestones {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--pl-border);
  flex-wrap: wrap;
}

.pl-m-year {
  font-family: var(--pl-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--pl-gold);
}

.pl-m-event {
  font-size: 11px;
  color: var(--pl-taupe);
  line-height: 1.55;
  margin-top: 3px;
}

/* ══════════════════════════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════════════════════════ */
.pl-why-section { background: var(--pl-cream); }

.pl-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pl-why-card {
  background: white;
  padding: 40px 32px;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}

.pl-why-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pl-gold);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.pl-why-card:hover { background: var(--pl-warm-white); }
.pl-why-card:hover::after { transform: scaleX(1); }

.pl-why-icon { font-size: 36px; margin-bottom: 18px; display: block; }

.pl-why-title {
  font-family: var(--pl-font-display) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: var(--pl-maroon-dark) !important;
  margin: 0 0 12px !important;
}

.pl-why-body {
  font-size: 13.5px;
  color: var(--pl-taupe);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════ */
.pl-newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--pl-maroon-dark) 0%, var(--pl-maroon) 60%, #A02838 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pl-newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201,151,58,.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(201,151,58,.1) 0%, transparent 50%);
  pointer-events: none;
}

.pl-newsletter-content { position: relative; z-index: 1; }

.pl-newsletter-title {
  font-family: var(--pl-font-display) !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 300 !important;
  color: white !important;
  margin: 8px 0 12px !important;
}

.pl-newsletter-title em { font-style: italic; color: var(--pl-gold-light) !important; }

.pl-newsletter-sub {
  color: rgba(255,253,248,.72);
  font-size: 14px;
  margin-bottom: 28px;
}

.pl-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}

.pl-nl-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid rgba(201,151,58,.4);
  background: rgba(255,255,255,.1);
  color: white;
  font-family: var(--pl-font-body);
  font-size: 14px;
  outline: none;
}

.pl-nl-input::placeholder { color: rgba(255,255,255,.4); }
.pl-nl-input:focus { border-color: var(--pl-gold); }

.pl-nl-btn {
  background: var(--pl-gold);
  color: var(--pl-charcoal);
  border: none;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--pl-font-body);
  transition: background .2s;
  white-space: nowrap;
}

.pl-nl-btn:hover { background: var(--pl-gold-light); }

.pl-nl-note {
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════
   ANIMATION
   ══════════════════════════════════════════════════════════ */
@keyframes plFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pl-cat-grid,
  .pl-product-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-hero { grid-template-columns: 1fr; min-height: auto; }
  .pl-hero-image { min-height: 400px; }
  .pl-hero-content { padding: 60px 40px; }
  .pl-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .pl-story-content { padding-right: 0; }
}

@media (max-width: 767px) {
  .pl-hero-content { padding: 48px 24px; }
  .pl-hero-image { display: none; }
  .pl-hero-title { font-size: 40px !important; }
  .pl-why-grid { grid-template-columns: 1fr; gap: 2px; }
  .pl-trust-bar-inner { justify-content: flex-start; }
  .pl-trust-item { padding: 6px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .pl-trust-item:last-child { border-bottom: none; }
  .pl-newsletter-form { flex-direction: column; }
  .pl-nl-input { border-right: 1.5px solid rgba(201,151,58,.4); }
  .pl-section { padding: 56px 0; }
}
