/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--gold2);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }

/* ── DETAIL PAGE WRAPPER ── */
.detail-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 150px;
}

/* ── LAYOUT ── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── IMAGE SIDE ── */
.detail-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* image poori fit hogi */
  display: block;
}
.detail-img-fallback {
  font-size: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-discount-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── INFO SIDE ── */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-brand {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 600;
}

.detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
}

.detail-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}
.star.full  { color: var(--gold); font-size: 1rem; }
.star.half  { color: var(--gold); font-size: 1rem; opacity: 0.6; }
.star.empty { color: #ddd; font-size: 1rem; }
.detail-rating-num { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.detail-reviews    { font-size: 0.82rem; color: var(--muted); }

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.detail-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
}
.detail-orig {
  font-size: 1rem;
  color: #bbb;
  text-decoration: line-through;
}

.detail-stock {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
}
.detail-stock.in  { background: #e8f5e9; color: #2e7d32; }
.detail-stock.low { background: #fff8e1; color: #f57f17; }
.detail-stock.out { background: #fce4ec; color: #c62828; }

/* ── SPECS TABLE ── */
.detail-specs {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--muted); font-weight: 500; }
.spec-row span:last-child  { color: var(--dark);  font-weight: 600; }

/* ── ACTION BUTTONS ── */
.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-add-btn {
  width: 100%;
  padding: 16px;
  background: #2c3d19;
  color: var(--gold3);
  border: 1px solid var(--dark4);
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.detail-add-btn:hover   { background: var(--gold); color: #2c3d19; border-color: var(--gold); }
.detail-add-btn.sold-out { background: #eee; color: #bbb; cursor: not-allowed; border-color: #ddd; }

.detail-whatsapp-btn {
  width: 100%;
  padding: 15px;
  background: #C9A84C;
  color: #2c3d19;
  border: none;
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}



.detail-whatsapp-btn:hover { background: #2c3d19; transform: translateY(-2px); color: var(--gold); }


/* ── TRUST BADGES ── */
.detail-badges {
  display: flex;
  gap: 10px;
  /* flex-wrap: wrap; */
}
.badge-item {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--cream2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── ERROR STATE ── */
.detail-error {
  text-align: center;
  padding: 100px 20px;
}
.detail-error h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.back-link {
  color: var(--gold2);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.back-link:hover { color: var(--gold); }

/* ── SKELETON ── */
.detail-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.skel-img-big {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(90deg, #ede5d5 25%, #f5f0e8 50%, #ede5d5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skel-info { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.skel-line {
  border-radius: 4px;
  background: linear-gradient(90deg, #ede5d5 25%, #f5f0e8 50%, #ede5d5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  height: 14px;
  width: 100%;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .breadcrumb { padding: 12px 16px; }
  .detail-page { padding: 10px 16px 60px; }
  .detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail-skeleton { grid-template-columns: 1fr; gap: 30px; }
  .detail-name { font-size: 1.7rem; }
  .detail-price { font-size: 1.6rem; }
  .detail-badges { flex-direction: column; }
  .badge-item { text-align: center; }
}

    /* ===== Related Products Section ===== */
    .related-section {
      max-width: 1200px;
      margin: 60px auto 80px;
      padding: 0 24px;
    }
    .related-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 28px;
      font-weight: 600;
      letter-spacing: 0.5px;
      color: #1a1a1a;
      margin-bottom: 4px;
      position: relative;
      padding-bottom: 12px;
    }
    .related-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 2px;
      background: #b08d57;
    }
    .related-subtitle {
      font-family: 'Jost', sans-serif;
      font-size: 13px;
      color: #888;
      margin-bottom: 28px;
      letter-spacing: 0.3px;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }
    @media (max-width: 992px) {
      .related-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 700px) {
      .related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
      .related-title { font-size: 22px; }
    }

    .related-card {
      background: #fff;
      border: 1px solid #ececec;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      display: flex;
      flex-direction: column;
    }
    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.1);
      border-color: #d8c39a;
    }
    .related-img-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(135deg,#111,#222);
    }
    .related-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    .related-card:hover .related-img-wrap img {
      transform: scale(1.06);
    }
    .related-img-fallback {
      font-size: 38px;
      color: rgba(255,255,255,0.5);
    }
    .related-discount-pill {
      position: absolute;
      top: 8px;
      left: 8px;
      background: #b08d57;
      color: #fff;
      font-size: 11px;
      font-family: 'Jost', sans-serif;
      font-weight: 500;
      padding: 3px 8px;
      border-radius: 3px;
    }
    .related-body {
      padding: 12px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1;
    }
    .related-cat {
      font-family: 'Jost', sans-serif;
      font-size: 10px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #b08d57;
    }
    .related-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 17px;
      font-weight: 600;
      color: #1a1a1a;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 44px;
    }
    .related-stars {
      font-size: 11px;
      color: #ccc;
    }
    .related-stars .star.full { color: #d4af37; }
    .related-stars .star.half { color: #d4af37; }
    .related-price-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-top: 2px;
    }
    .related-price {
      font-family: 'Jost', sans-serif;
      font-weight: 600;
      font-size: 15px;
      color: #1a1a1a;
    }
    .related-orig {
      font-family: 'Jost', sans-serif;
      font-size: 12px;
      color: #aaa;
      text-decoration: line-through;
    }
    .related-skel-card {
      background: #fff;
      border: 1px solid #ececec;
      border-radius: 6px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .related-skel-img {
      width: 100%;
      aspect-ratio: 1 / 1;
    }
    .related-skel-body {
      padding: 12px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .related-skel-line {
      border-radius: 4px;
      height: 10px;
    }
    .related-skel-img,
    .related-skel-line {
      background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%);
      background-size: 400% 100%;
      animation: relShimmer 1.6s ease-in-out infinite;
    }
    @keyframes relShimmer {
      0% { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }
  /* ye fulldes */

 .detail-description {
  margin-top: 30px;
  
}

@media (max-width: 768px) {
  .detail-description {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .detail-description {
    margin-top: -10px;
  }
}

.detail-desc-title {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 10px;
}

.detail-desc-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(7, 7, 7, 0.8);
  font-weight: 300;
  text-align: left;
}
.skeleton-title,
.skeleton-line {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e5e5e5 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-title {
  width: 180px;
  height: 20px;
  margin-bottom: 15px;
}

.skeleton-line {
  width: 100%;
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line.short {
  width: 70%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
    /* ── Left Column Wrapper ── */
    .detail-left {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    /* ── Thumbnail Gallery ── */
    .thumb-strip {
      display: flex;
      gap: 8px;
      justify-content: left;
      padding: 10px 8px 6px;
      flex-wrap: wrap;
    }

    .thumb-item {
      width: 62px;
      height: 62px;
      border-radius: 6px;
      overflow: hidden;
      border: 2px solid transparent;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.08);
      transition: border-color 0.2s, transform 0.15s;
      flex-shrink: 0;
    }

    .thumb-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .thumb-item.active,
    .thumb-item:hover {
      border-color: #c9a96e;
      transform: scale(1.05);
    }

    @media (max-width: 600px) {
      .thumb-item {
        width: 52px;
        height: 52px;
      }
    }
 