/* ==========================================================
   Johnwin – Product Detail (English / LTR)
   ========================================================== */
.dv-ce-page {
    padding-top: 106px;
    direction: ltr;
}

/* Breadcrumb */
.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 0 20px;
    font-size: 13px;
    color: rgba(60,47,33,.7);
}

    .pd-breadcrumb a {
        color: rgba(60,47,33,.7);
    }

        .pd-breadcrumb a:hover {
            color: #690810;
        }

.pd-bc-sep {
    color: rgba(60,47,33,.4);
}

.pd-bc-current {
    color: #3C2F21;
}

/* Top grid */
.pd-top {
    padding-bottom: 40px;
}

.pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
}

/* Gallery */
.pd-gallery-card {
}

.pd-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4px 14px;
}

.pd-timer-label {
    color: #690810;
    font-weight: 700;
    font-size: 14px;
}

.pd-timer-boxes {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .pd-timer-boxes i {
        font-style: normal;
        color: #3C2F21;
        font-weight: 700;
    }

.pd-tb {
    min-width: 30px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: #3C2F21;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pd-tb-hot {
    background: #690810;
    box-shadow: 0 2px 8px rgba(105,8,16,.45);
}

.pd-main-img {
    border-radius: 1000px 1000px 0 0;
    overflow: hidden;
    background: #E8DCD2;
    aspect-ratio: 1 / 1;
}

    .pd-main-img a, .pd-main-img img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .pd-main-img img {
        object-fit: cover;
        transition: opacity .3s ease;
    }

/* Gallery layout: thumbnails on the left, main image on the right */
.pd-grid > * {
    min-width: 0;
}

.pd-gallery {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
}

.pd-gallery-card {
    flex: 1 1 auto;
    min-width: 0;
}

/* Thumbnails column (vertical slider) */
.pd-thumbs-wrap {
    flex: 0 0 88px;
    width: 88px;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.pd-thumbs {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
    /* Layout is set here so it doesn't depend on the Swiper version's CSS */
    .pd-thumbs .swiper-wrapper {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .pd-thumbs .swiper-slide.pd-thumb {
        flex: 0 0 auto;
        display: block;
        width: 88px !important;
        height: 88px !important;
        padding: 0 !important;
        aspect-ratio: auto;
    }

.pd-thumb {
    padding: 0;
    border: 1.5px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.00);
    cursor: pointer;
    transition: border-color .25s, opacity .25s;
}

.pd-thumbs-nav {
    flex: none;
    position: static;
    transform: none;
    width: 32px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(60,47,33,.08);
    color: #3C2F21;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, color .25s, opacity .25s;
}

    .pd-thumbs-nav svg {
        width: 18px;
        height: 18px;
        transition: transform .2s;
    }

    .pd-thumbs-nav:hover {
        background: #690810;
        color: #fff;
    }

.pd-thumbs-next svg {
    transform: rotate(180deg);
}

.pd-thumbs-nav.swiper-button-disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.pd-thumbs-nav.swiper-button-lock {
    visibility: hidden;
}

/* Fallback when Swiper is not available: native scrolling */
.pd-thumbs.is-native {
    overflow: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

    .pd-thumbs.is-native::-webkit-scrollbar {
        display: none;
    }

    .pd-thumbs.is-native .swiper-wrapper {
        gap: 12px;
        height: auto;
    }

.pd-thumb img {
    width: 100%;
    height: 100%;
    display: block;
}

.pd-thumb:hover {
    border-color: rgba(105, 8, 16, 0.00);
}

.pd-thumb.is-active {
    border-color: rgba(105, 8, 16, 0.00);
}

/* Info */
.pd-info {
    padding-top: 8px;
}

.pd-cat {
    color: rgba(60,47,33,.6);
    font-size: 14px;
    margin-bottom: 8px;
}

    .pd-cat span {
        margin: 0 4px;
    }

.pd-title {
    font-family: 'DoranClassicDots-Bold', 'Modam-Regular', serif;
    color: #690810;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.pd-sub {
    color: #3C2F21;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.pd-desc {
    color: rgba(60,47,33,.85);
    font-size: 15px;
    line-height: 1.9;
    max-width: 620px;
}

.pd-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 32px 0;
    padding: 0;
}

    .pd-features li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

.pd-f-icon {
    width: 44px;
    height: 44px;
    color: #3C2F21;
}

    .pd-f-icon svg {
        width: 100%;
        height: 100%;
    }

.pd-f-text {
    font-size: 13px;
    font-weight: 600;
    color: #3C2F21;
}

.pd-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgb(232 220 210);
    border-radius: 14px;
    padding: 20px 24px;
    margin-top: 57px;
}

.pd-meta-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-meta-label {
    color: #690810;
    font-weight: 700;
    font-size: 14px;
}

.pd-meta-val {
    color: rgba(60,47,33,.75);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    flex: none;
    background: linear-gradient(90deg, #ce1126 0 30%, transparent 30%), linear-gradient(180deg, #00732f 0 33.3%, #fff 33.3% 66.6%, #000 66.6%);
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

/* Tabs */
.pd-tabs-section {
    padding-bottom: 40px;
}

.pd-tabs-card {
    background: rgb(232 220 210);
    border-radius: 18px;
    padding: 8px 32px 32px
}

.pd-tabs {
    display: flex;
    border-bottom: 1px solid rgba(60,47,33,.12);
    margin-bottom: 28px;
}

.pd-tab {
    flex: 1;
    max-width: 220px;
    background: none;
    border: 0;
    padding: 16px 8px;
    font-size: 15px;
    color: rgba(60,47,33,.65);
    cursor: pointer;
    position: relative;
    font-family: inherit;
}

    .pd-tab::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 2px;
        background: #690810;
        transform: scaleX(0);
        transition: transform .3s;
    }

    .pd-tab:hover {
        color: #3C2F21;
    }

    .pd-tab.is-active {
        color: #690810;
        font-weight: 700;
    }

        .pd-tab.is-active::after {
            transform: scaleX(1);
        }

.pd-pane {
    display: none;
}

    .pd-pane.is-active {
        display: block;
        animation: pdFade .35s ease;
    }

@keyframes pdFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.pd-desc-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
    align-items: start;
}

.pd-h3 {
    color: #690810;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pd-h4 {
    color: #3C2F21;
    font-size: 15px;
    font-weight: 700;
    margin: 26px 0 12px;
}

.pd-desc-text p {
    color: rgba(60,47,33,.85);
    font-size: 14px;
    line-height: 2;
    text-align: justify;
}

.pd-list {
    padding: 0;
    margin: 0;
}

    .pd-list li {
        position: relative;
        padding: 4px 0 4px 18px;
        font-size: 14px;
        color: rgba(60,47,33,.85);
    }

        .pd-list li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 13px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #3C2F21;
        }

.pd-desc-img {
    border-radius: 6px;
    overflow: hidden;
    background: #E8DCD2;
}

    .pd-desc-img img {
        width: 100%;
        display: block;
        aspect-ratio: 5 / 7;
        object-fit: cover;
    }

.pd-spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

    .pd-spec-table th, .pd-spec-table td {
        padding: 12px 18px;
        font-size: 14px;
        text-align: left;
        background: rgba(255,255,255,.55);
    }

    .pd-spec-table th {
        width: 30%;
        color: #3C2F21;
        font-weight: 700;
        border-radius: 8px 0 0 8px;
    }

    .pd-spec-table td {
        color: rgba(60,47,33,.85);
        border-radius: 0 8px 8px 0;
    }

.pd-review-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}

    .pd-review-form input, .pd-review-form textarea {
        width: 100%;
        border: 1px solid rgba(60,47,33,.2);
        background: rgba(255,255,255,.6);
        border-radius: 8px;
        padding: 12px 14px;
        font-family: inherit;
        font-size: 14px;
        color: #3C2F21;
        outline: none;
    }

        .pd-review-form input:focus, .pd-review-form textarea:focus {
            border-color: #690810;
        }

.pd-btn {
    align-self: flex-start;
    background: #690810;
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 12px 28px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

    .pd-btn:hover {
        background: #58060d;
    }

/* Responsive */
@media (max-width: 1190px) {
    .pd-grid {
        gap: 32px;
    }

    .pd-title {
        font-size: 32px;
    }

    .pd-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .dv-ce-page {
        padding-top: 80px;
    }

    .pd-breadcrumb, .pd-top .dv-container, .pd-tabs-section .dv-container {
        padding: 0 16px;
    }

    .pd-grid {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    /* Thumbnails go under the main image as a horizontal slider */
    .pd-top {
        overflow-x: hidden;
    }

    .pd-gallery {
        flex-direction: column;
        gap: 14px;
    }

    .pd-gallery-card {
        order: 1;
        width: 100%;
    }

    .pd-thumbs-wrap {
        order: 2;
        flex: none;
        width: 100%;
        height: auto;
        flex-direction: row;
        gap: 8px;
    }

    .pd-thumbs {
        height: auto !important;
    }

        .pd-thumbs .swiper-wrapper {
            flex-direction: row;
            height: auto;
        }

        .pd-thumbs .swiper-slide.pd-thumb {
            width: 72px !important;
            height: 72px !important;
        }

    .pd-thumbs-nav {
        width: 28px;
        height: 32px;
    }

    .pd-thumbs-prev svg {
        transform: rotate(-90deg);
    }

    .pd-thumbs-next svg {
        transform: rotate(90deg);
    }

    .pd-desc-grid {
        grid-template-columns: 1fr;
    }

    .pd-desc-img {
        max-width: 420px;
    }
}

@media (max-width: 760px) {
    .pd-f-icon {
        width: 34px;
        height: 33px;
        color: #3C2F21;
    }
    .pd-info {
        padding-top: 0px;
    }

    .dv-ce-page {
        padding-top: 0;
    }

    .pd-title {
        font-size: 24px;
    }

    .pd-sub {
        font-size: 16px;
    }

    .pd-desc {
        font-size: 14px;
    }

    .pd-features {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .pd-meta {
        padding: 16px;
    }

    .pd-tabs-card {
        padding: 4px 16px 24px;
        border-radius: 12px;
    }

    .pd-tab {
        font-size: 13px;
        padding: 14px 4px;
    }

    .pd-spec-table th {
        width: 42%;
    }

    .pd-spec-table th, .pd-spec-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.pd-info .swiper-slide {
    padding: 0 0 !important;
}
.similar-dev {
    margin-bottom:20px;
}