/* ── MAIN LAYOUT ── */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ── FORCE TEXT CONTRAST (ghi đè theme) ── */
.product-page h1,
.product-page h2,
.product-page h3,
.product-page p,
.product-page span:not(.img-badge):not(.discount-tag):not(.stock-text),
.product-page div:not(.img-badge):not(.zoom-hint),
.product-page strong,
.product-page label {
    color: inherit;
}

.product-page {
    color: #fff;
}

.product-page .product-name {
    color: #fff !important;
}

.product-page .category {
    color: var(--color-3) !important;
}

.product-page .price-sale {
    color: var(--color-3) !important;
}

.product-page .price-original {
    color: rgba(255, 255, 255, .45) !important;
}

.product-page .stock-text {
    color: var(--color-3) !important;
}

.product-page .stock-qty {
    color: rgba(255, 255, 255, .45) !important;
}

.product-page .section-label {
    color: rgba(255, 255, 255, .5) !important;
}

.product-page .spec-item {
    color: rgba(255, 255, 255, .55) !important;
}

.product-page .spec-item strong {
    color: rgba(255, 255, 255, .85) !important;
}

.product-page .specs summary {
    color: #fff !important;
}

.product-page .qty-val {
    color: #fff !important;
}

.product-page .rating-val {
    color: #fff !important;
}

/* ── GALLERY LAYOUT ── */
.gallery-layout {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    position: relative;
    width: 100%;
}

.gallery-main-wrapper {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main {
    width: 100%;
    margin-bottom: 0;
}

.main-slide-item {
    outline: none;
}

.main-slide-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 4px;
}

.main-slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Vertical Thumbnails Wrapper */
.gallery-thumbs-wrapper {
    width: 345px;
    flex-shrink: 0;
    position: relative;
}

.gallery-thumbs {
    width: 100%;
}

.gallery-thumbs .slick-list {
    margin: -6px 0;
}

.gallery-thumbs .slick-slide {
    padding: 6px 0;
    outline: none;
}

.thumb-slide-item {
    cursor: pointer;
}

.thumb-img-wrap {
    width: 100%;
    /* aspect-ratio: 4 / 3; */
    background: #f5f6f8;
    border: 2px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.thumb-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    height: 162px;
}

.gallery-thumbs .slick-slide.slick-current .thumb-img-wrap {
    border-color: #0065c9;
    background-color: #ffffff;
}

/* Vertical Arrows (Top & Bottom Buttons) */
.gallery-thumb-arrow {
    width: 100%;
    height: 50px;
    background: #f4f5f7 !important;
    color: #444444 !important;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    margin: 0;
    opacity: 1;
    position: relative;
    transform: unset;
}

.gallery-thumb-arrow svg {
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.gallery-thumb-arrow:hover {
    background: #0065c9 !important;
    color: #fff !important;
}

.gallery-thumb-arrow.slick-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.thumb-prev-btn {
    margin-bottom: 20px;
}

.thumb-next-btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .gallery-layout {
        flex-direction: column;
        gap: 12px;
        display: block;
    }

    .gallery-thumbs-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    .gallery-thumbs {
        flex: 1;
        min-width: 0;
    }

    .gallery-thumbs .slick-list {
        height: auto !important;
        margin: 0 -4px;
    }

    .gallery-thumbs .slick-track {
        height: auto !important;
        display: flex !important;
    }

    .gallery-thumbs .slick-slide {
        padding: 0 4px;
    }

    .thumb-img-wrap {
        height: 60px;
        padding: 4px;
    }

    .thumb-img-wrap img {
        height: 100% !important;
        max-height: 50px;
        object-fit: contain;
    }

    .gallery-thumb-arrow {
        width: 28px;
        height: 60px;
        min-height: unset;
        flex-shrink: 0;
        margin: 0 !important;
    }

    .thumb-prev-btn svg {
        transform: rotate(-90deg);
    }

    .thumb-next-btn svg {
        transform: rotate(270deg);
    }
}

/* ── PRODUCT INFO ── */
.product-info {
    padding-top: 4px;
}

.category {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-3);
    margin-bottom: 10px;
    cursor: pointer;
}

.category:hover {
    color: #f0c860;
}

.product-name {
    font-size: 30px;
    line-height: 1.22;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.3px;
    color: #fff;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.stars {
    color: var(--color-3);
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-val {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}

.review-count {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.review-count a {
    color: var(--color-3);
    text-decoration: underline;
    cursor: pointer;
}

.divider {
    height: 1px;
    background: rgba(223, 172, 64, .25);
    margin: 17px 0;
}

/* Price block */
.price-block {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-size: 18px;
}

.price-sale {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-3);
    line-height: 1;
}

.price-original {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, .4);
    text-decoration: line-through;
    line-height: 1;
}

.discount-tag {
    background: var(--color-3);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
}

/* Stock */
.stock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-3);
    box-shadow: 0 0 6px rgba(223, 172, 64, .6);
}

.stock-text {
    font-size: 13px;
    color: var(--color-3);
    font-weight: 500;
}

.stock-qty {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

/* Variants */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 10px;
}

.color-opts {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}

.color-btn:hover {
    transform: scale(1.15);
}

.color-btn.active {
    border-color: var(--color-3);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .8), 0 0 0 4px var(--color-3);
}

.color-btn span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.size-opts {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.size-btn {
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
    color: rgba(255, 255, 255, .8);
}

.size-btn:hover {
    border-color: var(--color-3);
    color: var(--color-3);
}

.size-btn.active {
    border-color: var(--color-3);
    background: var(--color-3);
    color: #fff;
}

.size-btn.unavailable {
    opacity: .3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity */
.qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.qty-ctrl {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
}

.qty-btn {
    width: 40px;
    height: 44px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, .6);
    transition: background .22s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(223, 172, 64, .15);
    color: var(--color-3);
}

.qty-val {
    width: 48px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-left: 1.5px solid rgba(255, 255, 255, .12);
    border-right: 1.5px solid rgba(255, 255, 255, .12);
    height: 44px;
    line-height: 44px;
    color: #fff;
}

/* New CTAs */
.cta-actions {
    margin-bottom: 24px;
}

.btn-register {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, var(--color-3), #f0c860);
    color: #111;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 4px 20px rgba(223, 172, 64, .4);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(223, 172, 64, .6);
}

.cta-row-2 {
    display: flex;
    gap: 12px;
}

.cta-row-2 a {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .22s, opacity .22s;
    border: 1px solid rgba(223, 172, 64, .35);
    text-transform: uppercase;

}

/* .btn-call {
    background: #a72828;
    color: #fff !important;
}

.btn-zalo {
    background: #0068ff;
    color: #fff !important;
} */

.cta-row-2 a:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* CTAs */
.cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.btn-cart {
    flex: 1;
    height: 52px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .22s, border-color .22s, transform .22s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cart:hover {
    background: rgba(255, 255, 255, .14);
    border-color: var(--color-3);
    transform: translateY(-1px);
}

.btn-buy {
    flex: 1;
    height: 52px;
    background: var(--color-3);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .22s, transform .22s;
    box-shadow: 0 4px 20px rgba(223, 172, 64, .4);
}

.btn-buy:hover {
    background: #c9973a;
    transform: translateY(-1px);
}

.btn-wish {
    width: 52px;
    height: 52px;
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
    color: rgba(255, 255, 255, .5);
}

.btn-wish:hover {
    border-color: var(--color-3);
    color: var(--color-3);
}

.btn-wish.liked {
    border-color: var(--color-3);
    color: var(--color-3);
}

.btn-wish svg {
    fill: none;
    transition: fill .2s ease;
}

.btn-wish.liked svg {
    fill: currentColor;
}

/* Perks */
.perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(223, 172, 64, .2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
}

.perk-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.perk strong {
    display: block;
    font-weight: 600;
    font-size: 12.5px;
    color: #fff;
}

.perk span {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

/* Specs */
.specs {
    margin-top: 24px;
}

.specs summary {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid rgba(223, 172, 64, .2);
    user-select: none;
    color: #fff;
}

.specs summary::after {
    content: '+';
    font-size: 18px;
    color: var(--color-3);
}

details[open] summary::after {
    content: '−';
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    padding-bottom: 16px;
}

.spec-item {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.spec-item strong {
    color: rgba(255, 255, 255, .85);
    display: block;
    font-weight: 500;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(12, 10, 9, .92);
    backdrop-filter: blur(8px);
    animation: fadeIn .25s ease;
}

.lightbox-overlay.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .18);
    animation: zoomIn .28s cubic-bezier(.34, 1.56, .64, 1);
    border: 2px solid var(--color-3);
}

@keyframes zoomIn {
    from {
        transform: scale(.88);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-img-wrap img {
    display: block;
    max-width: 72vw;
    max-height: 82vh;
    object-fit: contain;
}

.lb-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(223, 172, 64, .2);
    border: 1px solid rgba(223, 172, 64, .5);
    color: var(--color-3);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .22s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
}

.lb-nav:hover {
    background: rgba(223, 172, 64, .4);
}

.lb-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(223, 172, 64, .2);
    border: 1px solid rgba(223, 172, 64, .4);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .22s cubic-bezier(.4, 0, .2, 1);
}

.lb-close:hover {
    background: rgba(223, 172, 64, .5);
}

.lb-counter {
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}

.lb-thumbnails {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.lb-thumb {
    width: 54px;
    height: 54px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .22s cubic-bezier(.4, 0, .2, 1);
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-thumb.active {
    border-color: var(--color-3);
}

@media (max-width: 860px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 0 0px;
    }

    .divider {
        margin: 12px 0;
    }

    .product-content-section {
        margin-top: 20px;
    }

    .product-name {
        font-size: 26px;
    }

    .price-sale {
        font-size: 28px;
    }

    .gallery {
        position: static;
    }
}

/* ── MIGRATED INLINE STYLES ── */

/* Price block in contact mode */
.price-block.contact-price {
    align-items: center;
}

.price-block.contact-price .contact-label {
    font-size: 18px;
    color: rgba(255, 255, 255, .6);
}

.price-block.contact-price .price-sale {
    font-size: 32px;
}

/* Short description */
.short-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
    margin-top: 10px;
    margin-bottom: 24px;
}

/* Common product content */
.product-common-content-section {
    margin-bottom: 30px;
    background: #272727;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .05);
}

.product-common-content-body img {
    max-width: 100%;
    height: auto !important;
}

.product-common-content-body {
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    font-size: 15px;
}

/* Detailed product description */
.product-content-section {
    margin-top: 40px;
}

.product-content-section .section-title {
    color: var(--color-3);
    font-size: 22px;
    /* margin-bottom: 20px; */
    font-weight: 700;
    text-transform: uppercase;
}

#productContentBody img {
    max-width: 100%;
    height: auto !important;
}

#productContentBody {
    transition: max-height 0.4s ease;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    font-size: 15px;
    overflow: hidden;
    position: relative;
}

.content-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, #111);
    display: none;
}

.product-content-toggle-wrap {
    text-align: center;
    margin-top: 20px;
}

#btnToggleContent {
    display: none;
    background: transparent;
    border: 1px solid var(--color-3);
    color: var(--color-3);
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s;
    text-transform: uppercase;
    font-size: 14px;
}

#btnToggleContent:hover {
    background: var(--color-3);
    color: #111;
}

/* Related products */
.related-products-section {
    margin-top: 30px;
    margin-bottom: 15px;
}

.related-products-section h2 {
    color: #000;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: capitalize;
}

.related-slider .slick-slide {
    margin: 0 8px;
}

.related-slider .slick-list {
    margin: 0 -8px;
}

/* Consult modal dialog specific styling */
#consultModal .lightbox-inner {
    background: #111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(223, 172, 64, .3);
    max-width: 500px;
    width: 90vw;
    flex-direction: column;
    cursor: default;
    align-items: center;
    justify-content: center;
}

#consultModal .lb-close {
    top: 10px;
    right: 10px;
}

#consultModal h3 {
    color: var(--color-3);
    font-size: 22px;
    font-weight: 700;
    /* margin-bottom: 10px; */
    text-transform: uppercase;
    text-align: center;
}

#consultModal p {
    /* color: rgba(255, 255, 255, .7); */
    font-size: 16px;
    margin-bottom: 14px;
    text-align: center;
    /* max-width: 300px; */
}

#consultForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

#consultForm input[type="text"],
#consultForm input[type="tel"],
#consultForm input[type="email"],
#consultForm textarea {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    color: #000;
    padding: 0 16px;
    font-size: 14px;
    outline: none;
}

#consultForm input[type="text"],
#consultForm input[type="tel"],
#consultForm input[type="email"] {
    height: 48px;
}

#consultForm textarea {
    padding: 12px 16px;
    resize: vertical;
    font-family: inherit;
}

#consultForm .btn-register {
    margin-top: 10px;
    margin-bottom: 0;
    width: 100%;
}

/* Consultation form submit button state */
.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}



@media (max-width: 768px) {
    .product-content-section {
        margin-top: 20px;
    }

    .related-products-section {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .related-slider .slick-slide {
        margin: 0 4px;
    }

    .related-slider .slick-list {
        margin: 0 -4px;
    }
}

.pd-container {
    padding-top: 35px;
}

/* Dedicated Product Breadcrumb */
.pd-breadcrumb-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
}

.pd-breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #4a5568;
}

.pd-breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-breadcrumb-list a {
    color: #4a5568;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.pd-breadcrumb-list a:hover {
    color: #0065c9;
}

.pd-breadcrumb-home {
    color: #4a5568;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.pd-breadcrumb-list a:hover .pd-breadcrumb-home {
    color: #0065c9;
}

.pd-breadcrumb-arrow {
    color: #a0aec0;
    flex-shrink: 0;
}

.pd-breadcrumb-active {
    color: #0065c9;
    font-weight: 500;
}

/* Product Specification Features Bar */
.pd-features-bar-wrap {
    width: 100%;
    margin-top: 35px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.pd-features-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 15px;
    padding: 35px 5px 10px 5px;
    /* overflow-x: auto; */
    /* overflow-y: visible; */
    /* scrollbar-width: thin; */
    /* scrollbar-color: #cbd5e1 transparent; */
}

.pd-features-bar::-webkit-scrollbar {
    height: 4px;
}

.pd-features-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.pd-feature-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* Tooltip Black Badge on Hover */
.pd-feature-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    background: #111111;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

/* Tooltip Little Pointer Triangle */
.pd-feature-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #111111 transparent transparent transparent;
}

.pd-feature-item:hover .pd-feature-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -8px);
}

.pd-feature-icon {
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pd-feature-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.pd-feature-icon svg {
    max-height: 100%;
    max-width: 100%;
    display: block;
}

.pd-feature-name {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    text-transform: uppercase;
    /* letter-spacing: 0.3px; */
    /* white-space: nowrap; */
}

/* ── PRODUCT DETAILS TABS (PARALLELOGRAM NAV DESIGN) ── */
.pd-tabs-wrap {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.pd-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #eaeaea;
    position: sticky;
    top: 75px;
    z-index: 990;
    background-color: #ffffff;
    width: 100%;
    margin-bottom: 25px;
    gap: 20px;
    padding-bottom: 0;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.pd-tabs-nav.is-stuck {
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
}

.pd-tabs-list {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.pd-tab-btn {
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.pd-tab-btn:hover,
.pd-tab-btn.active {
    color: #0065c9;
}

.pd-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0065c9;
    border-radius: 2px 2px 0 0;
}

/* Right Parallelogram Actions */
.pd-tabs-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 4px;
    padding-bottom: 4px;
}

.pd-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0065c9;
    color: #ffffff !important;
    padding: 20px 28px;
    transform: skewX(-20deg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    border-radius: 2px;
}

.pd-action-btn:hover {
    background-color: #0050a5;
    color: #ffffff !important;
}

.pd-action-btn-text {
    display: inline-block;
    transform: skewX(20deg);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff;
}

.pd-tab-pane {
    display: none;
    padding-top: 10px;
}

.pd-tab-pane.active {
    display: block;
}

@media (max-width: 991px) {
    .pd-tabs-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        border-bottom: 1px solid #eaeaea;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pd-tabs-list {
        gap: 18px;
        border-bottom: 1px solid #eaeaea;
        width: 100%;
        padding-bottom: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pd-tabs-list::-webkit-scrollbar {
        display: none;
    }

    .pd-tabs-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 0;
        gap: 10px;
    }

    .pd-action-btn {
        padding: 10px 18px;
        transform: skewX(-15deg);
    }

    .pd-action-btn-text {
        font-size: 12px;
        transform: skewX(15deg);
    }
}

@media (max-width: 768px) {
    .pd-container {
        padding-top: 15px;
    }

    .pd-features-bar {
        /* overflow-x: auto;
        flex-wrap: nowrap; */
        gap: 14px;
        padding: 15px 5px 10px 5px;
        /* -webkit-overflow-scrolling: touch;
        scrollbar-width: none; */
    }

    /* .pd-features-bar::-webkit-scrollbar {
        display: none;
    } */

    .pd-feature-icon {
        height: 48px;
        min-width: 48px;
    }

    .pd-feature-name {
        font-size: 12px;
    }

    .pd-tab-content .title-tab,
    .related-products-section h2,
    .pd-tech-support-title {
        font-size: 22px !important;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .pd-modular-subtitle {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 15px;
    }
}

/* ── MODULAR TAB CONTENT ── */


.pd-modular-main-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.pd-modular-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #0065c9;
    margin-bottom: 20px;
    margin-top: 30px;
}

.pd-modular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pd-modular-card {
    background-color: #def0ff;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pd-modular-img-wrap {
    width: 90px;
    flex-shrink: 0;
}

.pd-modular-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.pd-modular-info {
    flex: 1;
    min-width: 0;
    color: #222222;
}

.pd-modular-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
    line-height: 1.35;
}

.pd-modular-card-tag {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    line-height: 1.4;
}

.pd-modular-card-series {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.pd-modular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}

.pd-modular-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
}

.pd-modular-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #333333;
}

.pd-modular-sublist {
    list-style: none;
    padding: 2px 0 2px 14px;
    margin: 0;
}

.pd-modular-sublist li {
    padding-left: 14px;
    margin-bottom: 4px;
}

.pd-modular-sublist li::before {
    content: '▫';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    color: #444444;
}

@media (max-width: 768px) {
    .pd-modular-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pd-modular-card {
        flex-direction: column;
        align-items: center;
        padding: 18px;
    }

    .pd-modular-img-wrap {
        width: 100px;
        margin-bottom: 10px;
    }
}

/* ── DOWNLOAD CENTER TAB CONTENT ── */
.pd-download-wrap {
    padding: 10px 0;
}

.pd-download-main-title {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
}

.pd-download-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    background: url('../images/banner2.png') no-repeat center center / cover;
    border-radius: 6px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.pd-download-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, 0.45);
    z-index: 1;
}

.pd-download-left,
.pd-download-right {
    position: relative;
    z-index: 2;
}

.pd-download-left {
    flex: 1;
    max-width: 580px;
}

.pd-download-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.pd-download-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.pd-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0065c9;
    color: #ffffff !important;
    padding: 20px 28px;
    transform: skewX(-20deg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 2px;
}

.pd-download-btn:hover {
    background-color: #0050a5;
    color: #ffffff !important;
}

.pd-download-btn-text {
    display: inline-block;
    transform: skewX(20deg);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.pd-download-right {
    width: 360px;
    flex-shrink: 0;
}

.pd-resources-card {
    background: #0065c9;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.pd-resources-header {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pd-resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pd-resource-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pd-resource-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #ffffff;
    margin-top: 2px;
}

.pd-resource-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

.pd-resource-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .pd-download-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 30px 20px;
        gap: 30px;
    }

    .pd-download-left {
        max-width: 100%;
    }

    .pd-download-right {
        width: 100%;
    }
}

/* ── TECHNICAL SUPPORT SECTION ── */
.pd-tech-support-section {
    /* margin-top: 45px; */
    margin-bottom: 35px;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 0;
}

.pd-tech-support-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
}

.pd-tech-support-desc {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pd-tech-support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.pd-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pd-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
}

.pd-form-group label span.req {
    color: #0065c9;
}

.pd-form-input,
.pd-form-textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    color: #222222;
    background-color: #ffffff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-form-input:focus,
.pd-form-textarea:focus {
    border-color: #0065c9;
    box-shadow: 0 0 0 2px rgba(0, 101, 201, 0.15);
}

.pd-form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.pd-form-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 5px;
}

.pd-auth-code-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-auth-code-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-auth-code-input {
    width: 120px;
}

.pd-captcha-badge {
    height: 38px;
    padding: 0 12px;
    background: #f4edd8;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 4px;
    color: #8b3a1a;
    font-style: italic;
    user-select: none;
}

.pd-btn-submit-support {
    background-color: #0065c9;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    height: 44px;
}

.pd-btn-submit-support:hover {
    background-color: #004fb3;
}

@media (max-width: 991px) {
    .pd-form-row-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .pd-form-bottom-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .pd-btn-submit-support {
        width: 100%;
    }

    .pd-tab-btn {
        font-size: 13px;
    }
}

/* ── CONTINUOUS SECTIONS FLOW ── */
.pd-tab-pane,
.pd-section-block {
    display: block !important;
    margin-bottom: 50px;
}

.pd-tabs-list a.pd-tab-btn {
    text-decoration: none;
    display: inline-block;
}

.pd-tab-content .title-tab {
    font-size: 32px;
    margin-top: 30px;
    color: #000;
    margin-bottom: 20px;
}

.pd-section-block:not(:first-child) {
    border-top: 1px solid #0064c8;
    margin-top: 30px;
}