/* ===========================================================================
   No1 Princess — Single Product (PDP)
   Layered on home.css (tokens + .np-container + footer + reveal). Brand look
   (cream/dark, display type, decorative marks) in the reference PDP structure:
   Hero → What's inside → Allergens → Per-serving facts → More bagels.
   =========================================================================== */

.np-pdp-page { background: var(--c-cream); color: var(--c-dark); }

/* ---- HERO --------------------------------------------------------------- */
.np-pdp-hero {
  background: var(--c-cream);
  padding-top: clamp(80px, 14vh, 80px);
  padding-bottom: clamp(40px, 6vw, 90px);
}
.np-pdp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:80px;
  align-items: center;
  justify-content: center;
  
}

/* media */
.np-pdp-hero__media { position: relative; }
.np-pdp-hero__frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--c-beige);
  aspect-ratio: 1/1;

}
.np-pdp-hero__img { width: 600px; height:auto; object-fit: cover; display: block;   border-radius: 2rem; }

.np-pdp-deco { position: absolute; color: var(--c-dark); opacity: 0.5; pointer-events: none; z-index: 2; }
.np-pdp-deco svg { display: block; width: 100%; height: auto; }
.np-pdp-deco--tl { top: -6%; left: -4%; width: clamp(70px, 9vw, 120px); }
.np-pdp-deco--br { bottom: 3%; right: -3%; width: clamp(34px, 4vw, 54px); }

.np-pdp-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-dark); color: var(--c-cream);
  padding: 8px 14px; border-radius: 999px;
}
.np-pdp-badge svg { width: 20px; height: 14px; }
.np-pdp-badge span { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; }

/* info */
.np-pdp-hero__info { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; justify-content: center;}
.np-pdp-back {
  margin-top:-3px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-dark);
  opacity: 0.65; text-decoration: none; transition: opacity 0.2s ease;
}
.np-pdp-back svg { width: 17px; height: 17px; }
.np-pdp-back:hover { opacity: 1; }

.np-pdp-eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #a4884f; padding: 20px; 
}
.np-pdp-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.02em;
  text-transform: uppercase; margin: 0; margin-top: -10%;
}
.np-pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.np-pdp-chip {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 13px;
  border-radius: 999px; border: 1px solid rgba(29, 29, 27, 0.2); color: var(--c-dark);
}
.np-pdp-chip--diet { background: #e7efe2; border-color: transparent; }
.np-pdp-chip--new { background: var(--c-dark); color: var(--c-cream); border-color: transparent; }

.np-pdp-desc {
  font-family: var(--font-body); font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7; color: #3a3a37; max-width: 46ch; padding: 10px;
}
.np-pdp-price {
  font-family: var(--font-display); font-weight: 400;
  margin-top: -48px;
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1; color: var(--c-dark);
}
.np-pdp-price del { opacity: 0.4; font-size: 0.62em; margin-right: 0.35em; }
.np-pdp-price ins { text-decoration: none; }

/* buy row */
.np-pdp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 46px; }
.np-pdp-qty {
  display: inline-flex; align-items: center; height: 56px;
  border: 1.5px solid rgba(29, 29, 27, 0.25); border-radius: 999px; overflow: hidden;
}
.np-pdp-qty__btn {
  width: 46px; height: 100%; border: 0; background: transparent;
  font-size: 22px; line-height: 1; color: var(--c-dark); cursor: pointer;
}
.np-pdp-qty__btn:hover { background: rgba(29, 29, 27, 0.06); }
.np-pdp-qty__input {
  width: 40px; text-align: center; border: 0; background: transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--c-dark);
}
.np-pdp-qty__input:focus { outline: none; }

.np-pdp-add {
  display: inline-flex; align-items: center; gap: 12px; height: 56px;
  padding: 0 28px; border-radius: 999px; background: var(--c-dark); color: var(--c-cream);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.np-pdp-add svg { width: 22px; height: 22px; }
.np-pdp-add:hover { transform: translateY(-2px); background: #000; }
.np-pdp-add.loading { opacity: 0.6; pointer-events: none; }
.np-pdp-add--out {
  background: transparent; color: #8a8a86; border: 1.5px solid rgba(29, 29, 27, 0.2);
  cursor: default; text-transform: none;
}
/* We use the slide-out drawer, so hide WooCommerce's injected "View cart" link. */
.np-pdp-buy .added_to_cart { display: none; }

.np-pdp-note { font-family: var(--font-body); font-size: 13px; color: #8a857c; margin-top: -4px; }

/* ---- Shared section heading -------------------------------------------- */
.np-pdp-h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0 0 clamp(18px, 2vw, 30px);
}

/* ---- What's inside ------------------------------------------------------ */
.np-pdp-inside { background: var(--c-cream); padding-block: clamp(28px, 5vw, 70px); }
.np-pdp-ingredients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.np-pdp-ingredient {
  font-family: var(--font-body); font-weight: 600; font-size: clamp(14px, 1.1vw, 17px);
  padding: 12px 20px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(29, 29, 27, 0.08); box-shadow: 0 6px 16px rgba(29, 29, 27, 0.05);
}

/* ---- Allergens ---------------------------------------------------------- */
.np-pdp-allergens { background: var(--c-cream); padding: 35px;  }
.np-pdp-allergens__grid {
  display: grid; grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(18px, 4vw, 60px); align-items: start;
}
.np-pdp-allergens__grid .np-pdp-h2 { margin-top: -10%; }
.np-pdp-allergens__text {
  font-family: var(--font-body); font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7; color: #3a3a37; max-width: 70ch; margin: 0;
}
@media (max-width: 800px) { .np-pdp-allergens__grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---- Per-serving facts (dark band) ------------------------------------- */
.np-pdp-facts {
  background: var(--c-dark); color: var(--c-cream);
  padding-block: clamp(34px, 5vw, 70px);
  border-radius: clamp(22px, 3vw, 44px);
  margin: 0 clamp(8px, 2vw, 24px);
}
.np-pdp-facts .np-pdp-h2 { color: var(--c-cream); text-align: center; margin-top: -3.2%; }
.np-pdp-facts__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 30px); }
.np-pdp-fact {
  text-align: center; display: flex; flex-direction: column; gap: 6px;
  padding: clamp(8px, 1.5vw, 18px); border-right: 1px solid rgba(246, 244, 241, 0.14);
}
.np-pdp-fact:last-child { border-right: 0; }
.np-pdp-fact__val { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 52px); line-height: 1; }
.np-pdp-fact__key { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-beige); }
.np-pdp-facts__note { text-align: center; font-family: var(--font-body); font-size: 13px; color: rgba(246, 244, 241, 0.55); margin: clamp(16px, 2vw, 26px) 0 0; }
@media (max-width: 620px) {
  .np-pdp-facts__row { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .np-pdp-fact:nth-child(2) { border-right: 0; }
  .np-pdp-fact { border-bottom: 1px solid rgba(246, 244, 241, 0.14); padding-block: 18px; }
  .np-pdp-fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---- More bagels -------------------------------------------------------- */
.np-pdp-more { background: var(--c-cream); padding-block: clamp(90px, 6vw, 90px); }
.np-pdp-more__title { text-align: center;padding-bottom: 40px; }
.np-pdp-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.np-pdp-more__card { display: flex; flex-direction: column; text-decoration: none; color: var(--c-dark); }
.np-pdp-more__media {
  display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  background: var(--c-beige); margin-bottom: 12px;
}
.np-pdp-more__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.np-pdp-more__card:hover .np-pdp-more__media img { transform: scale(1.06); }
.np-pdp-more__name { font-family: var(--font-display);  background: linear-gradient(to right, #6d6b6b , #000000 , #F5F5DC);  font-weight: 400; font-size: clamp(16px, 1.4vw, 22px); text-transform: uppercase; line-height: 1.1; border-radius: 2rem;
  padding: 10px; color: var(--c-cream);}

.np-pdp-more__price { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: #6a655c;}
@media (max-width: 900px) { .np-pdp-more__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Responsive hero ---------------------------------------------------- */
@media (max-width: 860px) {
  .np-pdp-hero__grid { grid-template-columns: 1fr; gap: clamp(24px, 6vw, 40px); }
  .np-pdp-hero__frame { aspect-ratio: 4 / 3; max-width: 540px; margin-inline: auto; }
  .np-pdp-hero__info { align-items: flex-start; }
}
