/* ==========================================================================
   product-detail.css — Vanilla Co Indonesia
   Marketplace-style single product detail page
   ========================================================================== */

/* ------------------------------------------------------------------
   BASE
   ------------------------------------------------------------------ */
.sidebar-link:hover { background-color: rgba(255,255,255,0.07); }

/* ------------------------------------------------------------------
   PRODUCT LAYOUT — Image Left | Info Right
   ------------------------------------------------------------------ */
.pd-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 1100px) { .pd-layout { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 768px)  { .pd-layout { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ------------------------------------------------------------------
   GALLERY — Left Column
   ------------------------------------------------------------------ */
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 80px;
}
@media (max-width: 768px) { .pd-gallery { position: static; } }

.pd-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #E8E0D5;
  border: 1px solid #EBE4D8;
  box-shadow: 0 4px 28px rgba(43,27,18,0.09);
}
.pd-main-img img,
.pd-main-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumbnail strip */
.pd-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.pd-thumb {
  position: relative;
  width: 78px; height: 78px;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #E8E0D5;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.pd-thumb img,
.pd-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: #C28B38; transform: scale(1.05); }
.pd-thumb.active {
  border-color: #A66A18;
  box-shadow: 0 0 0 3px rgba(166,106,24,0.22);
}
.pd-thumb-video { position: relative; }
.pd-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,13,5,0.48);
  color: #E8C488;
}

/* ------------------------------------------------------------------
   PRODUCT INFO — Right Column
   ------------------------------------------------------------------ */
.pd-info { display: flex; flex-direction: column; }

.pd-hs-badge {
  display: inline-block;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  background: #F4EEE4; color: #7A5230; border: 1px solid #E5D7C3;
  border-radius: 4px; padding: 0.25rem 0.75rem;
}
.pd-cert-badge {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0;
  border-radius: 4px; padding: 0.25rem 0.65rem;
}

.pd-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem; font-weight: 800;
  color: #2b1b12; line-height: 1.15;
  margin-top: 0.6rem; margin-bottom: 0.35rem;
}
@media (max-width: 640px) { .pd-title { font-size: 1.5rem; } }

.pd-subtitle {
  font-family: 'Lora', serif;
  font-style: italic; font-size: 0.9rem;
  color: #9D8873;
}

.pd-divider {
  width: 100%; height: 1px;
  background: #EBE4D8;
  margin: 1.15rem 0;
}

/* ------------------------------------------------------------------
   GRADE SELECTOR
   ------------------------------------------------------------------ */
.pd-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: #9D8873;
}
.pd-grade-tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pd-grade-tab {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  color: #57534E; background: #FFFFFF;
  border: 1.5px solid #D6CFC7; border-radius: 999px;
  padding: 0.4rem 0.95rem;
  cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap;
}
.pd-grade-tab:hover { border-color: #A66A18; color: #2b1b12; }
.pd-grade-tab.active {
  background: #2b1b12; color: #E8C488;
  border-color: #2b1b12;
  box-shadow: 0 2px 8px rgba(43,27,18,0.18);
}
.pd-grade-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.petite-dot   { background: #F59E0B; }
.standard-dot { background: #22C55E; }
.super-dot    { background: #8B5CF6; }
.c-dot        { background: #9CA3AF; }

/* ------------------------------------------------------------------
   SPEC PANEL — quick-view snapshot
   ------------------------------------------------------------------ */
.pd-spec-panel {
  background: #FFFFFF;
  border: 1px solid #EBE4D8;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-top: 0.85rem;
  margin-bottom: 1.35rem;
}
.pd-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.75rem;
}
@media (max-width: 480px) { .pd-spec-row { grid-template-columns: 1fr; gap: 0.85rem; } }
.pd-spec-item { display: flex; flex-direction: column; gap: 0.2rem; }
.pd-spec-label {
  font-size: 0.59rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: #9D8873;
}
.pd-spec-val { font-size: 0.92rem; font-weight: 600; color: #2b1b12; }

/* ------------------------------------------------------------------
   ATTRIBUTE GRID
   ------------------------------------------------------------------ */
.pd-attr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
@media (max-width: 480px) { .pd-attr-grid { grid-template-columns: 1fr; } }
.pd-attr {
  display: flex; align-items: flex-start; gap: 0.85rem;
  background: #FAF7F2; border: 1px solid #EBE4D8;
  border-radius: 0.65rem; padding: 0.9rem 1rem;
  transition: border-color 0.2s ease;
}
.pd-attr:hover { border-color: #C28B38; }
.pd-attr-icon { color: #A66A18; font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.pd-attr-label {
  font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #9D8873;
  margin-bottom: 0.25rem;
}
.pd-attr-val { font-size: 0.85rem; font-weight: 600; color: #2b1b12; }

/* ------------------------------------------------------------------
   CTA BUTTONS
   ------------------------------------------------------------------ */
.pd-cta-group { display: flex; width: 100%; margin-bottom: 1.15rem; }

.pd-btn-primary {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: #25D366; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.95rem 1.6rem; border-radius: 0.65rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  transition: all 0.25s; text-decoration: none;
}
.pd-btn-primary:hover {
  background: #1fba5a; transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.42);
}
.pd-btn-secondary {
  display: none;
}

/* ------------------------------------------------------------------
   TRUST BADGES
   ------------------------------------------------------------------ */
.pd-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  padding-top: 1rem; border-top: 1px solid #EBE4D8;
}
.pd-trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; color: #57534E;
}

/* ------------------------------------------------------------------
   DETAIL TABS (5 tabs)
   ------------------------------------------------------------------ */
.pd-tabs-section {
  background: #fff;
  border: 1px solid #EBE4D8;
  border-radius: 1rem;
  /* NO overflow:hidden — it blocks table horizontal scroll */
}
.pd-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #EBE4D8;
  background: #FAF7F2;
  overflow-x: auto;
  scrollbar-width: none;
}
.pd-tab-nav::-webkit-scrollbar { display: none; }

.pd-tab-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #9D8873; background: transparent;
  border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; cursor: pointer; white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pd-tab-btn i { font-size: 0.78rem; }
.pd-tab-btn:hover { color: #2b1b12; background: rgba(255,255,255,0.6); }
.pd-tab-btn.active { color: #2b1b12; border-bottom-color: #A66A18; background: #fff; }
@media (max-width: 640px) {
  .pd-tab-btn { padding: 0.85rem 0.9rem; font-size: 0.65rem; gap: 0.35rem; }
  .pd-tab-btn i { display: none; }
}

.pd-tab-content { display: none; padding: 2.5rem 2.5rem; overflow-x: auto; }
.pd-tab-content.active { display: block; }
@media (max-width: 768px) { .pd-tab-content { padding: 1.5rem 1rem; } }

/* ------------------------------------------------------------------
   TAB 1: SPECIFICATIONS
   ------------------------------------------------------------------ */
.pd-full-spec-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .pd-full-spec-grid { grid-template-columns: 1fr; } }

.pd-section-title {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem; font-weight: 700;
  color: #2b1b12; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 0.85rem;
}

.pd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.6rem;
  border: 1px solid #EBE4D8;
}
.pd-full-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 560px; /* forces horizontal scroll on mobile */
}
.pd-full-table thead tr { background: #2b1b12; color: #E8C488; }
.pd-full-table thead th {
  padding: 0.75rem 1rem; text-align: left;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.pd-full-table tbody tr { border-bottom: 1px solid #F0EAE2; transition: background 0.18s; }
.pd-full-table tbody tr:last-child { border-bottom: none; }
.pd-full-table tbody tr:hover { background: #FAF7F2; }
.pd-full-table tbody td { padding: 0.75rem 1rem; vertical-align: middle; color: #2b1b12; }

.pd-gbadge {
  display: inline-block; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px; padding: 0.25rem 0.8rem; white-space: nowrap;
}
.petite-badge   { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.standard-badge { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.super-badge    { background: #EDE9FE; color: #4C1D95; border: 1px solid #DDD6FE; }
.gradec-badge   { background: #F3F4F6; color: #374151; border: 1px solid #D1D5DB; }

.pd-attr-list { list-style: none; padding: 0; border: 1px solid #EBE4D8; border-radius: 0.6rem; overflow: hidden; }
.pd-attr-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 1rem; border-bottom: 1px solid #F0EAE2;
  font-size: 0.82rem;
}
.pd-attr-list li:last-child { border-bottom: none; }
.pd-attr-list li span { color: #9D8873; font-weight: 500; }
.pd-attr-list li b { color: #2b1b12; font-weight: 600; text-align: right; max-width: 58%; }

/* ------------------------------------------------------------------
   TAB 2: CERTIFICATION
   ------------------------------------------------------------------ */
.pd-cert-banner {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: linear-gradient(135deg, #2b1b12, #4a2c1e);
  border: 1px solid #C28B38; border-radius: 0.85rem;
  padding: 1.75rem; position: relative; overflow: hidden;
}
.pd-cert-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #A66A18, #E2B669, #A66A18);
}
.pd-cert-icon {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  background: rgba(194,139,56,0.2); border: 1px solid rgba(194,139,56,0.4);
  border-radius: 0.75rem; display: flex; align-items: center; justify-content: center;
  color: #E8C488; font-size: 1.4rem;
}
.pd-cert-tag {
  display: inline-block; font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(194,139,56,0.22); color: #E8C488;
  border: 1px solid rgba(194,139,56,0.4); border-radius: 999px;
  padding: 0.18rem 0.65rem; margin-bottom: 0.45rem;
}
.pd-cert-name {
  font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700;
  color: #fff; margin-bottom: 0.5rem;
}
.pd-cert-text { font-size: 0.82rem; line-height: 1.75; color: #D1C4B5; }

.pd-doc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
}
@media (max-width: 768px) { .pd-doc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .pd-doc-grid { grid-template-columns: 1fr; } }

.pd-doc-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 500; color: #2b1b12;
  background: #FAF7F2; border: 1px solid #EBE4D8;
  border-radius: 0.5rem; padding: 0.6rem 0.85rem;
}

.pd-legal-badges {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.pd-legal-item {
  display: flex; align-items: center; gap: 0.6rem;
  background: #FAF7F2; border: 1px solid #EBE4D8;
  border-radius: 0.5rem; padding: 0.65rem 1rem;
  font-size: 0.8rem; font-weight: 600; color: #2b1b12;
}

/* ------------------------------------------------------------------
   TAB 3: SHIPPING
   ------------------------------------------------------------------ */
.pd-ship-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
}
@media (max-width: 900px) { .pd-ship-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .pd-ship-grid { grid-template-columns: 1fr; } }

.pd-ship-card {
  background: #2b1b12; border: 1px solid rgba(194,139,56,0.2);
  border-radius: 0.75rem; padding: 1.5rem 1.25rem; text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.pd-ship-card:hover { border-color: rgba(194,139,56,0.6); transform: translateY(-3px); }
.pd-ship-card.featured {
  background: linear-gradient(135deg,rgba(194,139,56,0.25),rgba(166,106,24,0.12));
  border-color: rgba(194,139,56,0.5);
}
.pd-ship-icon { font-size: 1.3rem; color: #E8C488; margin-bottom: 0.7rem; display: block; }
.pd-ship-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #A66A18; margin-bottom: 0.3rem; }
.pd-ship-val { font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 700; color: #fff; }
.pd-ship-val.dhl { color: #FFCD00; }
.pd-ship-note { font-size: 0.7rem; color: #9D8873; margin-top: 0.25rem; }

/* ------------------------------------------------------------------
   TAB 4: HOW TO ORDER — Professional Interactive Accordion
   ------------------------------------------------------------------ */

.pd-order-header {
  padding-bottom: 0.5rem;
}

.pd-step-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pd-step-acc-item {
  background: #FFFFFF;
  border: 1px solid #EBE4D8;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.pd-step-acc-item:hover {
  border-color: #D6C2A5;
}

.pd-step-acc-item.active {
  border-color: #C28B38;
  border-left: 4px solid #A66A18;
  box-shadow: 0 4px 20px rgba(166, 106, 24, 0.08);
}

/* Header Trigger Button */
.pd-step-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.pd-step-acc-item.active .pd-step-acc-trigger {
  background-color: #FAF6F0;
}

.pd-step-acc-trigger:hover {
  background-color: #FAF8F5;
}

.pd-step-acc-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

/* Step Number Badge */
.pd-step-acc-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1.5px solid #D4B886;
  color: #A66A18;
  background: #FFFFFF;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.pd-step-acc-item.active .pd-step-acc-num {
  background: #A66A18;
  border-color: #A66A18;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(166, 106, 24, 0.25);
}

/* Step Icon Box */
.pd-step-acc-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5EFE6;
  color: #A66A18;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.pd-step-acc-item.active .pd-step-acc-icon {
  background: #EFE4D3;
  color: #8A5410;
}

/* Step Title & Subtitle */
.pd-step-acc-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pd-step-acc-title {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2b1b12;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.pd-step-acc-item.active .pd-step-acc-title {
  color: #A66A18;
}

.pd-step-acc-preview {
  font-size: 0.76rem;
  color: #7D7065;
  line-height: 1.4;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Status / Action */
.pd-step-acc-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.pd-step-acc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8C7E72;
  background: #F3ECE2;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.pd-step-acc-item.active .pd-step-acc-badge {
  background: #EFE0CB;
  color: #7B4B0A;
}

.pd-step-acc-chevron {
  font-size: 0.78rem;
  color: #A66A18;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-step-acc-item.active .pd-step-acc-chevron {
  transform: rotate(180deg);
}

/* Accordion Smooth Expand Body using Grid */
.pd-step-acc-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pd-step-acc-item.active .pd-step-acc-content {
  grid-template-rows: 1fr;
}

.pd-step-acc-inner {
  overflow: hidden;
}

.pd-step-desc-wrap {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid #EFE6D8;
  background: #FFFFFF;
}

.pd-step-desc-text {
  font-size: 0.84rem;
  line-height: 1.8;
  color: #4F453D;
  margin-bottom: 1.15rem;
}

/* 3-Column Highlights in expanded step */
.pd-step-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pd-step-hl-card {
  background: #FAF7F2;
  border: 1px solid #EFE6D8;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.pd-step-hl-card div {
  min-width: 0;
}

.pd-step-hl-card i {
  color: #A66A18;
  font-size: 0.95rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.pd-step-hl-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9E8C7D;
}

.pd-step-hl-val {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2b1b12;
  margin-top: 0.1rem;
  word-break: break-word;
}

/* Action buttons inside step */
.pd-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #EBE4D8;
}

.pd-step-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 0.45rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pd-step-cta-wa:hover {
  background: #1eb956;
  transform: translateY(-1px);
}

.pd-step-next-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #A66A18;
  background: #FAF5ED;
  border: 1px solid #E6D8C3;
  padding: 0.55rem 1.1rem;
  border-radius: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-step-next-link:hover {
  background: #A66A18;
  color: #FFFFFF;
  border-color: #A66A18;
}

.pd-step-prev-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #7D7065;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.55rem 0.5rem;
  transition: color 0.2s ease;
}

.pd-step-prev-link:hover {
  color: #2b1b12;
}

/* Bottom Helper Box */
.pd-order-footer-box {
  background: #FAF7F2;
  border: 1px solid #EBE4D8;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .pd-step-acc-trigger {
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }

  .pd-step-acc-left {
    gap: 0.75rem;
  }

  .pd-step-acc-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.7rem;
  }

  .pd-step-acc-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
  }

  .pd-step-acc-title {
    font-size: 0.82rem;
  }

  .pd-step-acc-preview {
    display: none; /* Keep mobile accordion trigger single-line, clean and uncluttered */
  }

  .pd-step-acc-badge {
    display: none; /* Keep cleaner on mobile */
  }

  .pd-step-desc-wrap {
    padding: 1rem 1rem 1.25rem 1rem;
  }

  .pd-step-highlights {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .pd-step-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pd-step-actions .pd-step-cta-wa,
  .pd-step-actions .pd-step-next-link {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .pd-step-actions .pd-step-prev-link {
    justify-content: center;
    order: 2;
  }
}

/* ------------------------------------------------------------------
   TAB 5: PAYMENT
   ------------------------------------------------------------------ */
.pd-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .pd-pay-grid { grid-template-columns: 1fr; } }

.pd-pay-card {
  background: #FFFFFF; border: 1.5px solid #EBE4D8;
  border-radius: 0.85rem; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pd-pay-card:hover { border-color: #C28B38; box-shadow: 0 8px 24px rgba(43,27,18,0.09); transform: translateY(-3px); }
.pd-pay-card.recommended { border-color: #A66A18; box-shadow: 0 4px 16px rgba(166,106,24,0.12); }

.pd-pay-card-header { display: flex; align-items: center; gap: 1rem; }
.pd-pay-logo-box {
  width: 3.25rem; height: 3.25rem; border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-pay-card-name { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: #2b1b12; margin-bottom: 0.3rem; }

.pd-pay-badge {
  display: inline-flex; align-items: center;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px; padding: 0.2rem 0.65rem;
}
.recommended-badge { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.fee-badge         { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.global-badge      { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

.pd-pay-card-desc { font-size: 0.8rem; line-height: 1.7; color: #6E635A; }

.pd-pay-card-feature {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 500; color: #2b1b12;
}

.pd-pay-note {
  background: #FFF8F0; border: 1px solid #F5D9B0;
  border-radius: 0.6rem; padding: 0.9rem 1.1rem;
  font-size: 0.8rem; color: #7A5230; line-height: 1.65;
}

/* ------------------------------------------------------------------
   PHYSICAL EVIDENCE
   ------------------------------------------------------------------ */
.pd-evidence-section {
  border-top: 1px solid #EBE4D8;
  padding-top: 2rem;
}
.pd-evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) { .pd-evidence-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pd-evidence-grid { grid-template-columns: 1fr 1fr; } }

.pd-ev-item {
  position: relative; border-radius: 0.75rem;
  overflow: hidden; aspect-ratio: 1/1; background: #1a0d05;
}
.pd-ev-item img,
.pd-ev-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.pd-ev-item:hover img,
.pd-ev-item:hover video { transform: scale(1.05); }
.pd-ev-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(to top, rgba(26,13,5,0.85), transparent);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #E8C488;
  opacity: 0; transition: opacity 0.3s;
}
.pd-ev-item:hover .pd-ev-label { opacity: 1; }

/* ------------------------------------------------------------------
   RELATED PRODUCTS — full-width clean section
   ------------------------------------------------------------------ */
.pd-related-section {
  background: #F4EEE4;
  border-top: 1px solid #EBE4D8;
  padding: 4rem 0 5rem;
}
.pd-related-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.pd-related-title {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem; font-weight: 800;
  color: #2b1b12; text-transform: uppercase; letter-spacing: 0.12em;
}
.pd-related-viewall {
  font-size: 0.72rem; font-weight: 700;
  color: #A66A18; text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
.pd-related-viewall:hover { color: #2b1b12; border-bottom-color: #2b1b12; }

/* Grid — card takes 1/4 width max */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .rp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rp-grid { grid-template-columns: 1fr; } }

.rp-card {
  background: #FFFFFF;
  border: 1px solid #EBE4D8;
  border-radius: 0.85rem;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.rp-card:hover {
  box-shadow: 0 12px 36px rgba(43,27,18,0.13);
  transform: translateY(-5px);
  border-color: #C28B38;
}

.rp-img-link {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #E8E0D5;
  text-decoration: none;
}
.rp-img-link img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.rp-card:hover .rp-img-link img { transform: scale(1.06); }
.rp-view-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43,27,18,0.52);
  color: #E8C488;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s;
}
.rp-card:hover .rp-view-overlay { opacity: 1; }

.rp-body { padding: 1.1rem 1.25rem 1.4rem; }
.rp-hs {
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #A66A18; margin-bottom: 0.35rem;
}
.rp-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem; font-weight: 700;
  color: #2b1b12; line-height: 1.3; margin-bottom: 0.2rem;
}
.rp-sub {
  font-size: 0.75rem; color: #9D8873;
  font-style: italic; margin-bottom: 0.6rem;
}
/* Clean spec line — no colored badges */
.rp-spec-line {
  font-size: 0.72rem; font-weight: 500;
  color: #57534E; line-height: 1.6;
  padding: 0.5rem 0.75rem;
  background: #FAF7F2; border-radius: 0.4rem;
  border-left: 2px solid #C28B38;
  margin-bottom: 1rem;
}

.rp-actions { display: flex; gap: 0.6rem; align-items: center; }
.rp-btn-detail {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: #2b1b12; color: #E8C488;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.65rem 1rem; border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.rp-btn-detail:hover { background: #A66A18; transform: translateY(-1px); }
/* Full width when WA button removed */
.rp-btn-full { width: 100%; justify-content: center; }
