/* ==========================================================================
   DOUBLE TRISHUL FOODS — EDITORIAL PRODUCT DETAIL PAGE (product-detail.php)
   Aligned with Double Trishul Design System:
   Royal Crimson #C51F2B | Antique Gold #C69A32 | Alabaster #FCFAF7
   Warm Ivory #F7F2E8 | Dark Espresso #382A22 | Dashed Gold Heritage Borders
   ========================================================================== */

.dt-pd-main {
  background-color: #FCFAF7;
}

.dt-pd-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   1. PRODUCT HERO (Two-Column Heritage Overview)
   -------------------------------------------------------------------------- */
.dt-pd-hero {
  padding: 112px 0 3.5rem;
  background-color: #FCFAF7;
}

.dt-pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 2.25rem;
  align-items: start;
}

/* Left Column: Gallery with Edge-to-Edge 1:1 Cover Fit */
.dt-pd-gallery-col {
  position: sticky;
  top: 100px;
}

.dt-pd-gallery-wrap {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.dt-pd-gallery-wrap.is-single {
  grid-template-columns: 1fr;
}

.dt-pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dt-pd-thumb-btn {
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 12px;
  background-color: #F7F2E8;
  border: 1.5px dashed rgba(198, 154, 50, 0.45);
  cursor: pointer;
  overflow: hidden;
  display: block;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.dt-pd-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.dt-pd-thumb-btn:hover {
  border-color: #C69A32;
  transform: translateY(-2px);
}

.dt-pd-thumb-btn.is-active {
  border: 2px solid #C51F2B;
  box-shadow: 0 4px 14px rgba(197, 31, 43, 0.16);
}

.dt-pd-gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F7F2E8;
  border: 1.5px dashed rgba(198, 154, 50, 0.42);
  border-radius: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(56, 42, 34, 0.06);
}

.dt-pd-range-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.95);
  color: #382A22;
  border: 1px solid rgba(198, 154, 50, 0.5);
  box-shadow: 0 4px 12px rgba(56, 42, 34, 0.1);
}

.dt-pd-range-badge.is-premium {
  background-color: #C51F2B;
  color: #FFFFFF;
  border-color: #C51F2B;
}

.dt-pd-range-badge.is-premium i {
  color: #F6D277;
}

.dt-pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.dt-pd-gallery-stage:hover .dt-pd-main-img {
  transform: scale(1.04);
}

.dt-pd-stage-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #C69A32;
  text-align: center;
  padding: 2rem;
}

.dt-pd-stage-fallback i {
  font-size: 3.5rem;
}

.dt-pd-stage-fallback span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #382A22;
}

/* Right Column: Heritage Card Matching Double Trishul System */
.dt-pd-info-card {
  background: var(--dt-card-gradient-ivory);
  border: 1.5px dashed rgba(198, 154, 50, 0.52);
  border-radius: 18px;
  padding: 1.9rem 2rem;
  box-shadow: 0 10px 28px rgba(56, 42, 34, 0.05);
}

.dt-pd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: #967222;
  margin-bottom: 0.6rem;
}

.dt-pd-breadcrumb a {
  color: #7B6B5F;
  text-decoration: none;
  transition: color 180ms ease;
}

.dt-pd-breadcrumb a:hover {
  color: #C51F2B;
}

.dt-pd-breadcrumb-sep {
  color: #C69A32;
  font-size: 0.85rem;
}

.dt-pd-breadcrumb-curr {
  color: #C51F2B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.dt-pd-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #382A22;
  line-height: 1.18;
  margin: 0 0 0.42rem;
}

.dt-pd-hindi {
  font-family: var(--font-hindi);
  font-size: 1.02rem;
  font-weight: 600;
  color: #C51F2B;
  margin-bottom: 0.8rem;
}

.dt-pd-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.68;
  color: #5C4D43;
  margin: 0 0 1.25rem;
}

.dt-pd-block {
  padding-top: 1.1rem;
  margin-top: 1.1rem;
  border-top: 1px solid rgba(198, 154, 50, 0.22);
}

.dt-pd-block-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #967222;
  margin-bottom: 0.65rem;
}

.dt-pd-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.dt-pd-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #382A22;
}

.dt-pd-highlights i {
  color: #C51F2B;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.dt-pd-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dt-pd-size-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1.5px dashed rgba(198, 154, 50, 0.48);
  background-color: #F7F2E8;
  color: #382A22;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.dt-pd-size-pill:hover {
  border-color: #C51F2B;
  color: #C51F2B;
}

.dt-pd-size-pill.is-active {
  background-color: #C51F2B;
  border: 1.5px solid #C51F2B;
  color: #FFFFFF;
}

.dt-pd-attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.dt-pd-attr-item {
  background-color: #F7F2E8;
  border: 1px solid rgba(198, 154, 50, 0.28);
  border-radius: 12px;
  padding: 0.68rem 0.85rem;
}

.dt-pd-attr-key {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #967222;
  margin-bottom: 0.16rem;
}

.dt-pd-attr-val {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #382A22;
  line-height: 1.35;
}

.dt-pd-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  background-color: #EEF7F0;
  color: #1E6B38;
  border: 1px solid rgba(30, 107, 56, 0.18);
}

.dt-pd-availability.is-low {
  background-color: #FFF6E6;
  color: #9A6108;
  border-color: rgba(154, 97, 8, 0.22);
}

.dt-pd-trust-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(198, 154, 50, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #5C4D43;
}

.dt-pd-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.dt-pd-trust-row i {
  color: #C51F2B;
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   SHARED DOUBLE TRISHUL SECTION HEADER STYLES
   -------------------------------------------------------------------------- */
.dt-pd-sec {
  padding: 4rem 0;
}

.dt-pd-sec.is-white {
  background-color: #FFFFFF;
}

.dt-pd-sec.is-ivory {
  background-color: #F7F2E8;
  border-top: 1px solid rgba(198, 154, 50, 0.2);
}

.dt-pd-sec.is-canvas {
  background-color: #FCFAF7;
  border-top: 1px solid rgba(198, 154, 50, 0.2);
}

.dt-pd-sec-head {
  max-width: 720px;
  margin-bottom: 2.35rem;
}

.dt-pd-sec-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dt-pd-sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 700;
  color: #382A22;
  margin: 0.25rem 0 0.4rem;
  line-height: 1.22;
}

.dt-pd-sec-hindi {
  font-family: var(--font-hindi);
  font-size: 0.98rem;
  font-weight: 600;
  color: #C51F2B;
  margin: 0;
}

.dt-pd-sec-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.15rem;
}

.dt-pd-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.08rem;
  border-radius: 999px;
  border: 1.5px dashed rgba(198, 154, 50, 0.55);
  background-color: #FFFFFF;
  color: #382A22;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.dt-pd-sec-link:hover {
  background-color: #C51F2B;
  border-color: #C51F2B;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. FROM GRAIN TO GOODNESS (4 Process Cards Matching Heritage UI)
   -------------------------------------------------------------------------- */
.dt-pd-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dt-pd-process-card {
  background: var(--dt-card-gradient-warm);
  border: 1.5px dashed rgba(198, 154, 50, 0.52);
  border-radius: 16px;
  padding: 1.45rem 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 28px rgba(56, 42, 34, 0.05);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease, background 250ms ease;
}

.dt-pd-process-card:hover {
  transform: translateY(-4px);
  border-color: var(--dt-red);
  box-shadow: 0 16px 34px rgba(184, 29, 36, 0.08);
}

.dt-pd-process-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.05rem;
}

.dt-pd-process-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #C51F2B;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dt-pd-process-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background-color: #F7F2E8;
  border: 1px solid rgba(198, 154, 50, 0.35);
  color: #B4861C;
  font-size: 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 220ms ease, transform 220ms ease;
}

.dt-pd-process-card:hover .dt-pd-process-icon {
  color: #C51F2B;
  transform: scale(1.06);
}

.dt-pd-process-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #382A22;
  margin: 0 0 0.45rem;
}

.dt-pd-process-desc {
  font-family: var(--font-body);
  font-size: 0.855rem;
  line-height: 1.6;
  color: #5C4D43;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. RECIPE INSPIRATION CARDS (Full Cover Images + Dashed Gold Border)
   -------------------------------------------------------------------------- */
.dt-pd-recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dt-pd-recipe-card {
  background: var(--dt-card-gradient-ivory);
  border: 1.5px dashed rgba(198, 154, 50, 0.52);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 28px rgba(56, 42, 34, 0.05);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.dt-pd-recipe-card:hover {
  transform: translateY(-4px);
  border-color: var(--dt-red);
  box-shadow: 0 16px 34px rgba(184, 29, 36, 0.08);
}

.dt-pd-recipe-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #F7F2E8;
  border-bottom: 1px solid rgba(198, 154, 50, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}

.dt-pd-recipe-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 280ms ease;
}

.dt-pd-recipe-card:hover .dt-pd-recipe-media img {
  transform: scale(1.05);
}

.dt-pd-recipe-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background: var(--dt-card-gradient-ivory);
}

.dt-pd-recipe-time {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #B4861C;
  margin-bottom: 0.35rem;
}

.dt-pd-recipe-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #382A22;
  margin: 0 0 0.42rem;
  line-height: 1.3;
}

.dt-pd-recipe-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.dt-pd-recipe-card:hover .dt-pd-recipe-title a {
  color: #C51F2B;
}

.dt-pd-recipe-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.52;
  color: #5C4D43;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-pd-recipe-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.56rem 1rem;
  border-radius: 10px;
  background-color: #C51F2B;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.dt-pd-recipe-btn:hover {
  background-color: #A11722;
  color: #FFFFFF;
}

/* Section 4 FAQ styling now shared globally via .dt-ufaq-* in components.css */

/* --------------------------------------------------------------------------
   5. EXPLORE MORE FROM OUR RANGE (Related 4 Cards — 1:1 Cover Fit)
   -------------------------------------------------------------------------- */
.dt-pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dt-pd-rel-card {
  background: var(--dt-card-gradient-warm);
  border: 1.5px dashed rgba(198, 154, 50, 0.52);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 28px rgba(56, 42, 34, 0.05);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease, background 250ms ease;
}

.dt-pd-rel-card:hover {
  transform: translateY(-4px);
  border-color: var(--dt-red);
  box-shadow: 0 16px 34px rgba(184, 29, 36, 0.08);
}

.dt-pd-rel-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F7F2E8;
  overflow: hidden;
  border-bottom: 1px solid rgba(198, 154, 50, 0.18);
  flex-shrink: 0;
}

.dt-pd-rel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 260ms ease;
}

.dt-pd-rel-card:hover .dt-pd-rel-media img {
  transform: scale(1.05);
}

.dt-pd-rel-body {
  padding: 0.95rem 1.05rem 1.08rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background: var(--dt-card-gradient-warm);
}

.dt-pd-rel-cat {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B4861C;
  margin-bottom: 0.24rem;
}

.dt-pd-rel-title {
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  color: #382A22;
  margin: 0 0 0.36rem;
  line-height: 1.3;
}

.dt-pd-rel-title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.dt-pd-rel-card:hover .dt-pd-rel-title a {
  color: #C51F2B;
}

.dt-pd-rel-desc {
  font-family: var(--font-body);
  font-size: 0.825rem;
  line-height: 1.48;
  color: #5C4D43;
  margin: 0 0 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.44em;
}

.dt-pd-rel-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.54rem 0.9rem;
  border-radius: 10px;
  background-color: #C51F2B;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.dt-pd-rel-btn:hover {
  background-color: #A11722;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .dt-pd-hero-grid {
    gap: 1.85rem;
  }

  .dt-pd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dt-pd-hero {
    padding: 100px 0 3rem;
  }

  .dt-pd-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .dt-pd-gallery-col {
    position: static;
  }

  .dt-pd-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-pd-recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dt-pd-shell {
    padding: 0 16px;
  }

  .dt-pd-hero {
    padding: 92px 0 2.25rem;
  }

  .dt-pd-sec {
    padding: 2.75rem 0;
  }

  .dt-pd-gallery-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dt-pd-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .dt-pd-thumbs::-webkit-scrollbar {
    display: none;
  }

  .dt-pd-thumb-btn {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .dt-pd-info-card {
    padding: 1.35rem 1.15rem;
  }

  .dt-pd-highlights,
  .dt-pd-attrs,
  .dt-pd-recipes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .dt-pd-process-grid,
  .dt-pd-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-pd-main-img,
  .dt-pd-process-card,
  .dt-pd-process-icon,
  .dt-pd-recipe-card,
  .dt-pd-recipe-media img,
  .dt-pd-rel-card,
  .dt-pd-rel-media img,
  .dt-pd-faq-chevron {
    transition: none;
  }
}
