﻿/* ============================================
   PRODUCT DETAIL NEW - Airbnb-style layout
   ============================================ */

.pdn-page {
  padding-bottom: 80px;
}

/* ── Photo Grid ── */
.pdn-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 290px 290px;
  gap: 8px;
  height: 582px;
  margin-bottom: 24px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.pdn-photo-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e5e5e5;
}

.pdn-photo-side {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e5e5e5;
}

.pdn-photo-main img,
.pdn-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pdn-photo-main:hover img,
.pdn-photo-side:hover img {
  transform: scale(1.03);
}

.pdn-view-photos-btn {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 0 16px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.pdn-view-photos-btn:hover {
  background: #f7f7f7;
}

.pdn-view-photos-btn i {
  font-size: 16px;
}

/* ── Main Shell ── */
.pdn-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1100px) {
  .pdn-shell {
    padding: 0 24px;
  }
}



/* ── Content + Sidebar Layout ── */
.pdn-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  padding-top: 32px;
  align-items: start;
}

/* ── Left: Header ── */
.pdn-title {
  font-size: 36px;
  font-weight: 700;
  color: #111111;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.pdn-specs-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #222222;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pdn-specs-row .spec-sep {
  color: #b0b0b0;
  margin: 0 2px;
}

.pdn-specs-row i {
  color: #e8a50f;
  font-size: 17px;
  margin-right: 3px;
}

.pdn-divider {
  border: 0;
  border-top: 1px solid #dddddd;
  margin: 28px 0;
}

/* ── Tabs ── */
.pdn-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 0;
}

.pdn-tabs-nav button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 16px 0;
  margin-right: 32px;
  font-size: 15px;
  font-weight: 500;
  color: #717171;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s, border-color 0.15s;
}

.pdn-tabs-nav button.active {
  color: #111111;
  border-bottom-color: #111111;
  font-weight: 600;
}

.pdn-tabs-nav button:hover {
  color: #111111;
}

.pdn-tab-panel {
  padding-top: 32px;
}

.pdn-tab-panel[hidden] {
  display: none;
}

/* ── Description tab ── */
.pdn-promo-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #111111;
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.pdn-promo-banner .promo-icon {
  width: 48px;
  height: 48px;
  background: #e8a50f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.pdn-promo-banner .promo-text {
  flex: 1;
  min-width: 0;
}

.pdn-promo-banner .promo-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pdn-promo-banner .promo-text span {
  font-size: 13px;
  color: #bbbbbb;
}

.pdn-promo-banner a {
  color: #e8a50f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.pdn-promo-banner a:hover {
  text-decoration: underline;
}

.pdn-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 18px;
  letter-spacing: -0.2px;
}

.pdn-richtext {
  color: #444444;
  font-size: 15.5px;
  line-height: 1.85;
}

.pdn-richtext p:last-child {
  margin-bottom: 0;
}

/* ── Key Features (specs grid) ── */
.pdn-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.pdn-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  background: #ffffff;
}

.pdn-feature-item .feat-icon {
  width: 40px;
  height: 40px;
  background: #fff8e6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 19px;
  color: #e8a50f;
}

.pdn-feature-item .feat-text {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
}

/* ── Plans tab ── */
.pdn-plan-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.pdn-plan-tabs button {
  padding: 0 20px;
  height: 40px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  transition: all 0.15s;
}

.pdn-plan-tabs button.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  font-weight: 600;
}

.pdn-plan-panel[hidden] {
  display: none;
}

.pdn-plan-img-wrap {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  cursor: pointer;
  display: block;
  max-width: 540px;
}

.pdn-plan-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.pdn-plan-label {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  text-align: center;
  border-top: 1px solid #ebebeb;
}


/* ── Responsibility tab ── */
.pdn-resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pdn-resp-card {
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 24px;
}

.pdn-resp-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 18px;
}

.pdn-resp-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.pdn-resp-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
}

.pdn-resp-card li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8a50f;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── Sidebar ── */
.pdn-sidebar {
  position: sticky;
  top: 100px;
}

.pdn-offers-card {
  border: 1px solid #dddddd;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pdn-offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  background: #fff8e6;
  border-bottom: 1px solid #dddddd;
  user-select: none;
}

.pdn-offers-head i {
  color: #e8a50f;
  font-size: 18px;
  margin-right: 8px;
}

.pdn-offers-head .chevron {
  font-size: 14px;
  transition: transform 0.2s;
}

.pdn-offers-body {
  padding: 16px 20px;
  font-size: 13.5px;
  color: #333333;
  line-height: 1.6;
}

.pdn-offers-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #111111;
}

.pdn-offers-body .offer-expires {
  font-size: 12px;
  color: #888888;
  margin-top: 4px;
}

.pdn-price-card {
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.pdn-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.pdn-price-main {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
}

.pdn-price-unit {
  font-size: 14px;
  color: #717171;
}

.pdn-price-old {
  font-size: 14px;
  color: #888888;
  text-decoration: line-through;
  margin-bottom: 16px;
}

.pdn-quote-note {
  font-size: 13px;
  color: #717171;
  margin-bottom: 18px;
}

.pdn-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  background: #e8a50f;
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.pdn-cta-btn:hover {
  background: #cf9108;
  color: #ffffff;
}

.pdn-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  background: transparent;
  color: #111111;
  border: 1.5px solid #dddddd;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  transition: border-color 0.15s, background 0.15s;
}

.pdn-cta-secondary:hover {
  border-color: #111111;
  background: #f7f7f7;
  color: #111111;
}

.pdn-sidebar-trust {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.pdn-sidebar-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #555555;
}

.pdn-sidebar-trust i {
  color: #e8a50f;
  font-size: 15px;
}

.pdn-contact-card {
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 22px;
  margin-top: 20px;
}

.pdn-contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pdn-contact-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

.pdn-contact-head p {
  font-size: 13px;
  color: #717171;
  margin: 4px 0 0;
}

.pdn-contact-btns {
  display: grid;
  gap: 8px;
}

.pdn-contact-call,
.pdn-contact-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.pdn-contact-call {
  border: 1.5px solid #dddddd;
  color: #111111;
  background: #ffffff;
}

.pdn-contact-call:hover {
  border-color: #111111;
  color: #111111;
}

.pdn-contact-chat {
  background: #111111;
  color: #ffffff;
}

.pdn-contact-chat:hover {
  background: #333333;
  color: #ffffff;
}

.pdn-hold-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: 12px;
}

.pdn-hold-link:hover {
  color: #e8a50f;
}

/* ── Related Products ── */
.pdn-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #dddddd;
}

.pdn-related-title {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}


/* ── Lightbox ── */
.pdn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.pdn-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.pdn-lightbox img {
  max-width: min(100%, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.pdn-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pdn-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pdn-lightbox-nav.prev { left: 18px; }
.pdn-lightbox-nav.next { right: 18px; }

body.pdn-lightbox-open { overflow: hidden; }

/* ── Not found ── */
.pdn-empty {
  max-width: 600px;
  padding: 80px 0;
}

.pdn-empty h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 14px;
}

.pdn-empty p {
  color: #555555;
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pdn-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pdn-sidebar {
    position: static;
  }

  .pdn-photo-grid {
    height: 420px;
    grid-template-rows: 210px 210px;
  }
}

@media (max-width: 767px) {
  .pdn-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .pdn-photo-main {
    grid-row: auto;
    aspect-ratio: 16/10;
    height: auto;
  }

  .pdn-photo-side {
    display: none;
  }

  .pdn-title {
    font-size: 28px;
  }

  .pdn-features-grid {
    grid-template-columns: 1fr;
  }

  .pdn-resp-grid {
    grid-template-columns: 1fr;
  }

  .pdn-layout {
    padding-top: 20px;
  }

  .pdn-tabs-nav button {
    font-size: 14px;
    margin-right: 18px;
  }
}

@media (max-width: 575px) {
  .pdn-shell {
    padding: 0 16px;
  }

  .pdn-price-card {
    padding: 18px;
  }
}
