/* ================================================
   PRODUCT DETAIL PAGE — Zephh Style Minimal
   ================================================ */

.pd-section {
    padding: 130px 0 100px;
    background: var(--bg);
    position: relative;
}

/* ============ BREADCRUMB ============ */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.pd-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb .bc-sep { color: var(--line); }
.pd-breadcrumb .bc-current { color: var(--ink); }


/* ================================================
   MAIN GRID — Gallery + Info
   ================================================ */
.pd-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
}


/* ============ LEFT: GALLERY ============ */
.pd-gallery { position: sticky; top: 130px; align-self: start; }

.pd-main-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5efe6;
    margin-bottom: 14px;
    border-radius: 4px;
}
.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s var(--ease);
}

.pd-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    background: var(--ink);
    z-index: 3;
    border-radius: 2px;
}
.pd-badge.badge-new  { background: var(--accent); }
.pd-badge.badge-sale { background: #b84a3f; }
.pd-badge.badge-best { background: var(--ink); }

/* Prev / Next arrows */
.pd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(26,22,18,0.1);
    transition: all 0.3s var(--ease);
    z-index: 3;
}
.pd-arrow:hover { background: var(--ink); color: var(--white); }
.pd-arrow-prev { left: 18px; }
.pd-arrow-next { right: 18px; }

/* Thumbnails — horizontal row */
.pd-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 90px;
    height: 90px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
    border-radius: 3px;
}
.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pd-thumb:hover { border-color: rgba(26,22,18,0.3); }
.pd-thumb.active { border-color: var(--ink); }


/* ================================================
   RIGHT: INFO PANEL
   ================================================ */
.pd-info { padding-top: 0; }

.pd-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

/* Request for Quote button — WhatsApp style */
.pd-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    margin-bottom: 36px;
    border: none;
    cursor: pointer;
}
.pd-quote-btn i {
    font-size: 18px;
    color: var(--white);
}
.pd-quote-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184,147,90,0.3);
}


/* ================================================
   TRUST ICONS ROW
   ================================================ */
.pd-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.pd-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.pd-trust-item i {
    font-size: 20px;
    color: var(--ink);
}
.pd-trust-item span {
    font-size: 12.5px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.01em;
}


/* ================================================
   ACCORDION SECTIONS
   ================================================ */
.pd-accordion {
    margin-top: 0;
}

.pd-acc-item {
    border-bottom: 1px solid var(--line);
}
.pd-acc-item:last-child {
    border-bottom: 1px solid var(--line);
}

.pd-acc-head {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    transition: color 0.3s var(--ease);
}
.pd-acc-head:hover { color: var(--accent); }
.pd-acc-head span {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pd-acc-head span i {
    font-size: 16px;
    color: var(--ink);
}
.pd-acc-icon {
    font-size: 12px;
    color: var(--ink);
    transition: transform 0.3s var(--ease);
}

.pd-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    padding: 0;
}
.pd-acc-item.open .pd-acc-body {
    max-height: 800px;
    padding: 0 0 24px;
}

.pd-acc-body ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}
.pd-acc-body ul li {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft, #4a4239);
    margin-bottom: 10px;
}
.pd-acc-body ul li:last-child { margin-bottom: 0; }
.pd-acc-body p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft, #4a4239);
    margin: 0;
}

/* Spec list inside accordion */
.pd-spec-list {
    list-style: none !important;
    padding-left: 0 !important;
}
.pd-spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(184,147,90,0.12);
    margin-bottom: 0 !important;
}
.pd-spec-list li:last-child { border-bottom: none; }
.pd-spec-list .spec-label {
    color: var(--muted);
    font-size: 13.5px;
}
.pd-spec-list .spec-value {
    color: var(--ink);
    font-weight: 500;
    font-size: 13.5px;
}


/* ================================================
   RELATED PRODUCTS
   ================================================ */
.pd-related-head {
    text-align: center;
    margin-bottom: 50px;
}
.pd-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
}
.pd-related-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.pd-rel-card {
    background: var(--white);
    transition: all 0.4s var(--ease);
    box-shadow: 0 2px 10px rgba(26,22,18,0.04);
}
.pd-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26,22,18,0.1);
}

.pd-rel-img {
    display: block;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-alt);
}
.pd-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.pd-rel-card:hover .pd-rel-img img { transform: scale(1.06); }

.pd-rel-badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 12px;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--white);
    background: var(--ink);
}

.pd-rel-info {
    padding: 18px 16px 22px;
    text-align: center;
}
.pd-rel-info h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}
.pd-rel-info h3 a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.pd-rel-info h3 a:hover { color: var(--accent); }


/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1100px) {
    .pd-grid { gap: 45px; }
    .pd-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .pd-section { padding: 110px 0 80px; }
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }
    .pd-gallery { position: static; }
    .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pd-section { padding: 100px 0 70px; }
    .pd-breadcrumb { margin-bottom: 24px; font-size: 12px; }

    .pd-name { font-size: 1.6rem; margin-bottom: 24px; }

    .pd-quote-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
    }

    .pd-trust-row {
        gap: 8px;
        padding: 18px 0;
    }
    .pd-trust-item i { font-size: 18px; }
    .pd-trust-item span { font-size: 11.5px; }

    .pd-thumb { width: 72px; height: 72px; }

    .pd-arrow { width: 38px; height: 38px; font-size: 11px; }
    .pd-arrow-prev { left: 10px; }
    .pd-arrow-next { right: 10px; }

    .pd-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .pd-rel-info h3 { font-size: 14px; }
}

@media (max-width: 480px) {
    .pd-thumbs { gap: 8px; }
    .pd-thumb { width: 60px; height: 60px; }

    .pd-trust-row { grid-template-columns: repeat(3, 1fr); }

    .pd-related-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}