/* No gap between navbar and hero */
.home #content, .home .site-content { padding-top: 0 !important; margin-top: 0 !important; }
.home #primary, .home .content-area { margin: 0 !important; padding: 0 !important; }
.home .site-main, .home .entry-content, .home .ast-article-single,
.home .entry-content > .pj-hero { margin-top: 0 !important; padding-top: 0 !important; }
.home .ast-separate-container .ast-article-single { padding: 0; margin: 0; }
/* Full-bleed homepage canvas + overflow safety */
.home .site-content .ast-container { max-width: 100%; padding: 0; }
.home .site-main { margin: 0; }
.home .ast-article-single { padding: 0 !important; margin: 0 !important; background: transparent; border-radius: 0; }
body.home { overflow-x: clip; }

/* ============================================================
   Pijama.lk — Homepage experience
   ============================================================ */

.page-id-home .site-content, .home .site-content { padding: 0 !important; }
.home .entry-content { margin: 0; }
.home .entry-content > * { max-width: none; }

/* ---------- Hero ---------- */
.pj-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f7effb 0%, #fde8f3 55%, #fff9fc 100%);
  border-radius: 0 0 48px 48px;
}
#pj-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.pj-hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 140px;
  max-width: 760px;
}
.pj-hero-kicker {
  display: inline-block;
  font-family: var(--pj-font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pj-orchid-ink);
  background: rgba(255, 255, 255, .75);
  border-radius: 99px;
  padding: 10px 26px;
  box-shadow: 0 6px 20px rgba(139, 63, 174, .12);
  margin-bottom: 26px;
}
.pj-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.12;
  color: var(--pj-plum);
  margin: 0 0 20px;
  font-weight: 800;
}
.pj-hero h1 .pj-hl {
  color: var(--pj-orchid-deep);
  position: relative;
  white-space: nowrap;
}
.pj-hero p.pj-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #6d5580;
  max-width: 540px;
  margin: 0 auto 38px;
  line-height: 1.7;
}
.pj-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.pj-btn {
  display: inline-block;
  font-family: var(--pj-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 99px;
  padding: 16px 40px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease;
}
.pj-btn-primary {
  background: var(--pj-orchid);
  color: var(--pj-plum);
  box-shadow: 0 10px 26px rgba(226, 170, 239, .55);
}
.pj-btn-primary:hover {
  background: var(--pj-orchid-deep);
  color: #fff;
  transform: translateY(-4px) scale(1.04);
}
.pj-btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--pj-orchid-ink);
  box-shadow: 0 8px 22px rgba(139, 63, 174, .12);
}
.pj-btn-ghost:hover {
  background: #fff;
  color: var(--pj-orchid-deep);
  transform: translateY(-4px);
}
.pj-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 34px;
  height: 56px;
  border: 3px solid rgba(139, 63, 174, .35);
  border-radius: 99px;
}
.pj-scroll-cue::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--pj-orchid-deep);
  animation: pj-cue 1.6s ease-in-out infinite;
}
@keyframes pj-cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(18px); opacity: .2; }
}

/* ---------- Marquee ---------- */
.pj-marquee {
  overflow: hidden;
  background: var(--pj-plum);
  padding: 18px 0;
  margin: 0;
}
.pj-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: pj-marquee 26s linear infinite;
}
.pj-marquee span {
  font-family: var(--pj-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pj-blush);
  white-space: nowrap;
}
@keyframes pj-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.pj-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 24px 30px;
}
.pj-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 54px;
}
.pj-section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--pj-plum);
  margin: 14px 0 12px;
  font-weight: 800;
}
.pj-section-head p { color: #6d5580; font-size: 1.1rem; line-height: 1.7; }

/* ---------- Category cards ---------- */
.pj-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.pj-cat-card {
  display: block;
  border-radius: var(--pj-radius);
  overflow: hidden;
  box-shadow: var(--pj-shadow);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
  text-decoration: none;
  background: #fff;
}
.pj-cat-card img { width: 100%; height: auto; display: block; }
.pj-cat-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--pj-shadow-hover); }

/* ---------- Featured products ---------- */
.pj-featured { background: var(--pj-lavender); border-radius: 48px; margin: 60px auto 0; max-width: 1300px; padding-bottom: 70px; }

/* ---------- Comfort promises ---------- */
.pj-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.pj-promise {
  background: #fff;
  border-radius: var(--pj-radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--pj-shadow);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.pj-promise:hover { transform: translateY(-8px); }
.pj-promise .pj-emoji {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  font-size: 2rem;
  border-radius: 50%;
  margin-bottom: 16px;
}
.pj-promise h3 { font-size: 1.25rem; color: var(--pj-plum); margin: 0 0 8px; }
.pj-promise p { color: #6d5580; font-size: .98rem; line-height: 1.65; margin: 0; }

/* ---------- Testimonials ---------- */
.pj-testis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pj-testi {
  background: linear-gradient(160deg, #fff 65%, var(--pj-lavender));
  border-radius: var(--pj-radius);
  padding: 32px 28px;
  box-shadow: var(--pj-shadow);
}
.pj-testi .pj-stars { color: #f5b642; font-size: 1.1rem; letter-spacing: 3px; }
.pj-testi p { color: var(--pj-text); font-size: 1.02rem; line-height: 1.7; margin: 14px 0 18px; }
.pj-testi .pj-who {
  font-family: var(--pj-font-display);
  font-weight: 700;
  color: var(--pj-orchid-ink);
}

/* ---------- CTA band ---------- */
.pj-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pj-orchid) 0%, var(--pj-blush) 100%);
  border-radius: 48px;
  max-width: 1240px;
  margin: 90px auto;
  padding: 80px 40px;
  text-align: center;
}
.pj-cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--pj-plum);
  margin: 0 0 14px;
  font-weight: 800;
}
.pj-cta-band p { color: #5e3d70; font-size: 1.15rem; margin: 0 auto 32px; max-width: 520px; }
.pj-cta-band .pj-btn-primary { background: var(--pj-plum); color: #fff; box-shadow: 0 12px 30px rgba(59,36,71,.35); }
.pj-cta-band .pj-btn-primary:hover { background: #2c1a36; transform: translateY(-4px) scale(1.04); }
.pj-cta-float {
  position: absolute;
  font-size: 2.2rem;
  opacity: .55;
  user-select: none;
  pointer-events: none;
}

/* ---------- FAQ ---------- */
.pj-faq { max-width: 800px; margin: 0 auto; padding-bottom: 90px; }
.pj-faq details {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--pj-shadow);
  margin-bottom: 14px;
  padding: 6px 26px;
  border: 2px solid transparent;
  transition: border-color .25s ease;
}
.pj-faq details[open] { border-color: var(--pj-orchid); }
.pj-faq summary {
  font-family: var(--pj-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--pj-plum);
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.pj-faq summary::-webkit-details-marker { display: none; }
.pj-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--pj-lavender);
  color: var(--pj-orchid-ink);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform .25s ease, background .25s ease;
}
.pj-faq details[open] summary::after {
  content: '−';
  background: var(--pj-orchid);
  color: #fff;
}
.pj-faq details p { color: #6d5580; line-height: 1.7; padding-bottom: 18px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pj-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pj-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-testis { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pj-hero { min-height: 100vh; min-height: 100svh; border-radius: 0 0 32px 32px; }
  .pj-hero-kicker {
    font-size: .78rem;
    letter-spacing: .8px;
    padding: 8px 18px;
    white-space: normal;
    max-width: 88vw;
  }
  .pj-hero-inner { padding: 90px 18px 110px; }
  .pj-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pj-promises { grid-template-columns: 1fr; }
  .pj-section { padding: 64px 18px 20px; }
  .pj-cta-band { margin: 60px 14px; padding: 60px 24px; }
  .pj-featured { border-radius: 32px; }
}

/* ---------- Editorial hero (collection slider) ---------- */
.pj-hero-editorial { align-items: stretch; text-align: left; }
.pj-ed-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 24px 34px;
  display: flex;
  flex-direction: column;
}
.pj-ed-kicker {
  font-family: var(--pj-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--pj-orchid-ink);
  margin-bottom: 22px;
}
.pj-ed-kicker i { color: #eeb545; margin-right: 6px; }
.pj-ed-stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
}
.pj-ed-main img {
  width: 100%;
  height: min(64vh, 580px);
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(139, 63, 174, .22);
  display: block;
}
.pj-ed-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}
.pj-ed-copy { position: relative; z-index: 3; margin-left: -110px; }
.pj-ed-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--pj-plum);
  margin: 0 0 24px;
  text-shadow: 0 2px 24px rgba(255, 249, 252, .8);
}
.pj-ed-side { align-self: flex-end; margin-right: 6%; }
.pj-ed-side img {
  width: clamp(150px, 15vw, 210px);
  height: clamp(200px, 24vh, 280px);
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(139, 63, 174, .18);
  display: block;
}
.pj-ed-num {
  position: absolute;
  left: 38%;
  bottom: -4%;
  font-family: var(--pj-font-display);
  font-weight: 800;
  font-size: clamp(7rem, 14vw, 13rem);
  line-height: 1;
  color: rgba(201, 127, 224, .28);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.pj-ed-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  align-self: flex-end;
}
.pj-ed-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .9) !important;
  color: var(--pj-orchid-ink) !important;
  border: none !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(139, 63, 174, .16);
  transition: background .2s ease, transform .2s ease;
}
.pj-ed-controls button:hover { background: var(--pj-orchid) !important; transform: scale(1.08); }
#pj-ed-ind {
  font-family: var(--pj-font-display);
  font-weight: 700;
  color: var(--pj-orchid-ink);
  letter-spacing: 2px;
  font-size: .9rem;
}
.pj-ed-social {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}
.pj-ed-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--pj-orchid-ink) !important;
  box-shadow: 0 4px 14px rgba(139, 63, 174, .14);
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}
.pj-ed-social a:hover { background: var(--pj-orchid); transform: scale(1.1); }
@media (max-width: 980px) {
  .pj-ed-wrap { padding-top: 28px; }
  .pj-ed-stage { grid-template-columns: 1fr; gap: 18px; }
  .pj-ed-copy { margin-left: 0; order: -1; }
  .pj-ed-copy h1 { margin-bottom: 16px; }
  .pj-ed-main img { height: 46vh; }
  .pj-ed-side { display: none; }
  .pj-ed-num { left: auto; right: 4%; bottom: 8%; font-size: 6rem; }
  .pj-ed-social { display: none; }
  .pj-ed-controls { align-self: center; }
}
