
/* ═══════════════════════════════════════════
   SLM 520 - VL  Product Detail Page Styles
   ═══════════════════════════════════════════ */

/* ── Hero / Gallery ── */
.pdp-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 64px;
    align-items: start;
}
.pdp-gallery        { display: flex; flex-direction: column; gap: 14px; }
.pdp-img-outer      { position: relative; }
.pdp-thumb-wrap     { }
.pdp-info           { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ── Main image zoom ── */
#main-img-wrap      { aspect-ratio: 1 / 1; }
#main-img           { transform-origin: center center; }

/* ── Arrows ── */
.pdp-arrow {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1.5px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    background: #fff;
    padding: 0;
}
.pdp-arrow-right    { right: 12px; left: auto; }

/* ── Thumbnails ── */
.thumb-btn {
    width: 68px;
    height: 68px;
    scroll-snap-align: start;
    border: 2px solid #e8e8e8;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color 0.2s, transform 0.15s;
}

/* ── Lightbox ── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
#lightbox-img       { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── At A Glance ── */
.pdp-glance-caption {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    text-transform: capitalize;
    color: #6C6C6C;
    margin: 32px 0 0;
}
.pdp-glance-caption a   { color: #FF500B; text-decoration: none; }

/* ── Feature Highlights ── */
.pdp-highlights         { gap: 31px; }
.pdp-hl-item            { display: flex; flex-direction: column; gap: 23px; }
.pdp-hl-img-wrap        { border-radius: 12px; overflow: hidden; height: 352px; flex-shrink: 0; }
.pdp-hl-img             { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pdp-hl-img:hover       { transform: scale(1.04); }
.pdp-hl-text            { display: flex; flex-direction: column; gap: 16px; }
.pdp-hl-title {
    font-family: 'Radio Canada', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000;
    margin: 0;
}
.pdp-hl-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    margin: 0;
}

/* ── User Guide ── */
.pdp-guide              { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.pdp-guide-img-wrap     { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp-guide-img          { width: 100%; max-width: 480px; height: auto; aspect-ratio: 1 / 1; display: block; object-fit: contain; }
.pdp-guide-text         { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; min-width: 0; box-sizing: border-box; }
.pdp-guide-inner        { display: flex; flex-direction: column; gap: 12px; }
.pdp-guide-title {
    font-family: 'Radio Canada', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: #000;
    margin: 0;
    text-align: left;
}
.pdp-guide-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6C6C6C;
    margin: 0;
    text-align: left;
}

/* ── Flyball Guarantee ── */
.pdp-guarantee          { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.pdp-guarantee-text     { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.pdp-guarantee-title {
    font-family: 'Radio Canada', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 48px;
    color: #000;
    margin: 0;
}
.pdp-guarantee-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #000;
    margin: 0;
}
.pdp-guarantee-img-wrap { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp-guarantee-badge    { width: 100%; max-width: 480px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 20px; }


/* ── Related Products ── */
.pdp-related-info       { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 0; }
.pdp-related-name {
    font-family: 'Radio Canada', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #000;
    margin: 0;
}
.pdp-related-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.75);
    margin: 0;
}


/* ── FAQ ── */
.pdp-faq-list           { display: flex; flex-direction: column; gap: 0; }
.pdp-faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    outline: none;
    text-align: left;
    gap: 16px;
}
.pdp-faq-q {
    font-family: 'Radio Canada', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}
.faq-chev               { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.25s ease; }
.pdp-faq-body           { display: none; padding: 16px 0 20px; }
.pdp-faq-a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #6C6C6C;
    margin: 0;
}

/* ═══════════════════════════════════════════
   Mobile  (≤ 767px)
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Gallery arrows */
    .pdp-img-outer      { margin: 0; }
    .pdp-thumb-wrap     { margin: 0; }
    .pdp-arrow          { width: 32px; height: 32px; left: 8px; border-radius: 50%; border-width: 1px; padding: 0; }
    .pdp-arrow-right    { right: 8px; left: auto; }
    .pdp-arrow svg      { width: 14px; height: 14px; }
    .thumb-btn          { width: 50px; height: 50px; }

    /* Long range banner */
    .pdp-longrange      { min-height: 160px; }
    .pdp-longrange h2   { font-size: 32px; line-height: 1.2; }

    /* Section padding */
    .pdp-sub-section    { padding-top: 36px; padding-bottom: 36px; }

    /* Section headings */
    .pdp-section-title  { font-size: 20px; line-height: 26px; margin-bottom: 20px; }

    /* Brand statement */
    .pdp-brand-section  { min-height: auto; }
    .pdp-brand-inner    { padding: 40px 16px; }
    .pdp-brand-text     { font-size: 13px; line-height: 20px; margin-bottom: 28px; }
    .pdp-narrator       { grid-template-columns: 1fr 1fr; gap: 8px; }

    /* Feature highlights */
    .pdp-highlights     { grid-template-columns: 1fr; gap: 28px; }
    .pdp-hl-title       { font-size: 18px; line-height: 24px; }
    .pdp-hl-desc        { font-size: 13px; line-height: 20px; }

    /* User guide */
    .pdp-guide          { grid-template-columns: 1fr; gap: 0; }
    .pdp-guide-img      { max-width: 280px; margin: 0 auto; }
    .pdp-guide-text     { align-items: flex-start; padding: 20px 0; }
    .pdp-guide-title    { font-size: 22px; line-height: 28px; }
    .pdp-guide-desc     { font-size: 13px; line-height: 20px; max-width: 100%; }

    /* Flyball guarantee */
    .pdp-guarantee      { grid-template-columns: 1fr; gap: 24px; }
    .pdp-guarantee-title { font-size: 22px; line-height: 28px; }
    .pdp-guarantee-desc  { font-size: 13px; line-height: 20px; }
    .pdp-guarantee-badge { max-width: 200px; }

    /* Pro reviews */
    .pdp-reviews        { grid-template-columns: 1fr; gap: 12px; }

    /* Related products */
    .pdp-related        { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pdp-related-name   { font-size: 13px; line-height: 18px; }
    .pdp-related-desc   { font-size: 11px; line-height: 17px; }

    /* FAQ */
    .pdp-faq-btn        { padding: 14px 16px; }
    .pdp-faq-q          { font-size: 13px; line-height: 20px; }
    .pdp-faq-a          { font-size: 13px; line-height: 20px; }
}
