/* =========================================================
   DYTNO INTERNATIONAL - SINGLE PRODUCT
   Black / white / DYTNO green
========================================================= */

.dytno-single-product-page {
    width: 100%;
    background: #fff;
    color: #242424;
}

.dytno-product-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 20px 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
}

.dytno-product-gallery-wrap {
    min-width: 0;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.dytno-product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.dytno-product-thumb {
    width: 82px;
    height: 112px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: .52;
    transition: opacity .2s ease, transform .2s ease;
}

.dytno-product-thumb:hover,
.dytno-product-thumb.is-active {
    opacity: 1;
}

.dytno-product-thumb.is-active {
    transform: translateX(2px);
}

.dytno-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dytno-product-main-image {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dytno-product-main-image > img {
    width: 100%;
    height: 540px;
    object-fit: contain;
    display: block;
}

.dytno-product-zoom {
    position: absolute;
    left: 5px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #555;
    box-shadow: 0 3px 18px rgba(0,0,0,.08);
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
}

.dytno-product-info {
    min-width: 0;
    padding-top: 4px;
}

.dytno-product-breadcrumb {
    margin-bottom: 21px;
    color: #8b8b8b;
    font-size: 13px;
    line-height: 1.5;
}

.dytno-product-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    color: #8b8b8b;
}

.dytno-product-breadcrumb a {
    color: #8b8b8b;
    text-decoration: none;
}

.dytno-product-breadcrumb a:hover {
    color: #087208;
}

.dytno-breadcrumb-sep {
    padding: 0 8px;
    color: #b0b0b0;
}

.dytno-product-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dytno-product-title {
    margin: 0 0 30px;
    color: #162232;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.4px;
}

.dytno-product-arrows {
    display: flex;
    gap: 12px;
    color: #334355;
    font-size: 19px;
    white-space: nowrap;
    padding-top: 2px;
}

.dytno-product-arrows span {
    display: inline-flex;
    width: 18px;
    justify-content: center;
}

.dytno-enquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0 15px;
    background: #087208;
    color: #fff !important;
    border: 1px solid #087208;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: .1px;
    transition: background .2s ease, border-color .2s ease;
}

.dytno-enquiry-button:hover {
    background: #055b05;
    border-color: #055b05;
}

.dytno-product-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 43px 0 19px;
}

.dytno-action-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: #343434;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dytno-action-btn span {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: -1px;
}

.dytno-action-btn:hover,
.dytno-action-btn.is-active {
    color: #087208;
}

.dytno-product-meta-block {
    border-top: 1px solid #e6e6e6;
    padding-top: 17px;
}

.dytno-meta-line,
.dytno-share-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin: 12px 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

.dytno-meta-line strong,
.dytno-share-line strong {
    color: #202020;
    font-weight: 700;
}

.dytno-meta-line a {
    color: #7a7a7a;
    text-decoration: none;
}

.dytno-meta-line a:hover {
    color: #087208;
}

.dytno-share-line {
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.dytno-share-line a {
    color: #59616a;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.dytno-share-line a:hover {
    color: #087208;
}

/* Details */
.dytno-product-details {
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.dytno-product-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    min-height: 62px;
}

.dytno-product-tab {
    position: relative;
    border: 0;
    background: transparent;
    padding: 0 0 1px;
    color: #707070;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dytno-product-tab.is-active {
    color: #333;
}

.dytno-product-tab.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #087208;
}

.dytno-product-tab-panel {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 20px 38px;
}

.dytno-product-tab-panel.is-active {
    display: block;
}

.dytno-description-content,
.dytno-shipping-content {
    color: #77818c;
    font-size: 13px;
    line-height: 1.9;
}

.dytno-description-content p,
.dytno-shipping-content p {
    margin: 0 0 14px;
}

.dytno-description-label {
    margin-bottom: 1px;
}

.dytno-description-content h1,
.dytno-description-content h2,
.dytno-description-content h3,
.dytno-description-content h4 {
    color: #333;
}

.dytno-shipping-content h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
}

/* Related products */
.dytno-related-section {
    background: #fff;
}

.dytno-related-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 37px 20px 58px;
}

.dytno-related-inner > h2 {
    margin: 0 0 20px;
    color: #272727;
    font-size: 20px;
    font-weight: 700;
}

.dytno-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dytno-related-card {
    min-width: 0;
    border: 1px solid #e9e9e9;
    background: #fff;
    overflow: hidden;
}

.dytno-related-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #fff;
    overflow: hidden;
}

.dytno-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .25s ease;
}

.dytno-related-card:hover .dytno-related-image img {
    transform: scale(1.025);
}

.dytno-related-content {
    padding: 13px 14px 15px;
}

.dytno-related-content h3 {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.dytno-related-content h3 a {
    color: #333;
    text-decoration: none;
}

.dytno-related-content h3 a:hover {
    color: #087208;
}

.dytno-related-categories {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.dytno-related-categories a {
    color: #999;
    text-decoration: none;
}

.dytno-related-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.dytno-related-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #bcbcbc;
    display: block;
}

.dytno-related-dots span.is-active {
    background: #333;
    border-color: #333;
}

/* Lightbox */
body.dytno-lightbox-open {
    overflow: hidden;
}

.dytno-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,.9);
}

.dytno-lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dytno-lightbox-close {
    position: absolute;
    top: 15px;
    right: 24px;
    width: 45px;
    height: 45px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 39px;
    line-height: 1;
    cursor: pointer;
}

.dytno-product-error {
    max-width: 1200px;
    margin: 60px auto;
    padding: 25px;
    color: #333;
    background: #f7f7f7;
}

/* Responsive */
@media (max-width: 980px) {
    .dytno-product-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dytno-product-main-image {
        min-height: 460px;
    }

    .dytno-product-main-image > img {
        height: 480px;
    }

    .dytno-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dytno-product-hero {
        padding: 18px 14px 32px;
    }

    .dytno-product-gallery-wrap {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
    }

    .dytno-product-thumb {
        width: 58px;
        height: 76px;
    }

    .dytno-product-main-image {
        min-height: 350px;
    }

    .dytno-product-main-image > img {
        height: 350px;
    }

    .dytno-product-title {
        font-size: 29px;
        margin-bottom: 22px;
    }

    .dytno-product-arrows {
        display: none;
    }

    .dytno-product-actions {
        gap: 18px;
        margin-top: 30px;
    }

    .dytno-product-tabs-nav {
        gap: 20px;
        padding: 0 12px;
    }

    .dytno-product-tab {
        font-size: 11px;
    }

    .dytno-product-tab-panel {
        padding: 26px 14px 30px;
    }

    .dytno-related-inner {
        padding: 30px 14px 45px;
    }

    .dytno-related-grid {
        grid-template-columns: 1fr;
    }

    .dytno-related-image {
        height: 310px;
    }
}


/* DYTNO product customization v3 */
.dytno-enquiry-button,
.dytno-product-actions {
    display: none !important;
}

.dytno-product-thumb {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.dytno-product-thumb img {
    pointer-events: none;
}

.dytno-product-main-image > img {
    transition: opacity .15s ease;
}


/* Product information readability: +2px */
.dytno-meta-line,
.dytno-share-line {
    font-size: 15px;
}

.dytno-product-tab {
    font-size: 15px;
}

.dytno-description-content,
.dytno-shipping-content {
    font-size: 15px;
}

.dytno-description-content p,
.dytno-shipping-content p {
    font-size: 15px;
}

@media (max-width: 640px) {
    .dytno-product-tab {
        font-size: 13px;
    }

    .dytno-meta-line,
    .dytno-share-line,
    .dytno-description-content,
    .dytno-shipping-content,
    .dytno-description-content p,
    .dytno-shipping-content p {
        font-size: 15px;
    }
}


.dytno-product-main-link {
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

.dytno-product-main-image > .dytno-product-main-link > img {
    transition: transform .35s ease, transform-origin .1s ease;
    will-change: transform;
}

.dytno-product-main-image > .dytno-product-main-link > img.dytno-hover-zoom {
    transform: scale(1.75);
}

.dytno-product-zoom {
    z-index: 5;
}
