/* Redesign: product detail */
.ls-pdp-page {
    width: 100%;
    color: var(--bs-primary);
    background: #f7f8fa;
}

.ls-pdp-breadcrumb {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 7px;
    padding: 12px clamp(20px, 3.4vw, 48px);
    overflow: hidden;
    color: #718096;
    background: #fff;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .08);
    font-size: .73rem;
    white-space: nowrap;
}

.ls-pdp-breadcrumb a {
    color: #718096;
    text-decoration: none;
    transition: color .18s ease;
}

.ls-pdp-breadcrumb-home {
    display: inline-flex;
    width: 13px;
    height: 16px;
    align-items: center;
    justify-content: center;
    line-height: 16px;
}

.ls-pdp-breadcrumb-home i {
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 16px;
}

.ls-pdp-breadcrumb a:hover,
.ls-pdp-breadcrumb a:focus {
    color: var(--bs-secondary);
}

.ls-pdp-breadcrumb strong {
    overflow: hidden;
    color: var(--bs-primary);
    font-weight: 600;
    text-overflow: ellipsis;
}

.ls-pdp-inner {
    display: grid;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px clamp(24px, 4vw, 56px) 64px;
    align-items: start;
    gap: clamp(42px, 5vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
}

.ls-pdp-gallery {
    display: grid;
    min-width: 0;
    align-items: start;
    gap: 12px;
    grid-template-columns: 68px minmax(0, 1fr);
}

.ls-pdp-thumbs {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.ls-pdp-thumb {
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ls-pdp-thumb:hover,
.ls-pdp-thumb:focus,
.ls-pdp-thumb.is-active {
    border-color: var(--bs-secondary);
    box-shadow: inset 0 0 0 1px var(--bs-secondary);
}

.ls-pdp-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ls-pdp-main-image-wrap {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), .09);
    border-radius: var(--bs-border-radius);
    cursor: zoom-in;
}

.ls-pdp-main-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: clamp(20px, 4vw, 44px);
    object-fit: contain;
    transition: opacity .2s ease, transform .3s ease;
}

.ls-pdp-main-image-wrap:hover .ls-pdp-main-image {
    transform: scale(1.025);
}

.ls-pdp-zoom-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    font-size: .88rem;
}

.ls-pdp-info {
    min-width: 0;
}

.ls-pdp-brand {
    margin-bottom: 8px;
    color: var(--bs-secondary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ls-pdp-title {
    margin: 0 0 10px;
    color: var(--bs-primary);
    font-family: var(--ls-font-primary);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 400;
    line-height: 1.22;
}

.ls-pdp-code {
    margin-bottom: 16px;
    color: #718096;
    font-size: .75rem;
    letter-spacing: .05em;
}

.ls-pdp-stock {
    display: flex;
    min-height: 24px;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #617087;
    font-size: .8rem;
}

.ls-pdp-stock-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: var(--bs-secondary);
    border-radius: 50%;
}

.ls-pdp-stock-dot.is-available {
    background: var(--bs-success);
}

.ls-pdp-variants-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: -8px 0 20px;
    color: var(--bs-secondary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}

.ls-pdp-pricing {
    display: flex;
    min-height: 78px;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 18px 20px;
    background: #f2efe7;
    border: 1px solid rgba(var(--bs-primary-rgb), .09);
}

.ls-pdp-price-label {
    color: #66758a;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ls-pdp-price {
    flex-shrink: 0;
    color: var(--bs-primary);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.ls-pdp-retail-price {
    margin: -8px 0 22px;
    padding-left: 20px;
    color: var(--bs-secondary);
    font-size: .7rem;
    letter-spacing: .02em;
}

.ls-pdp-retail-price strong {
    font-weight: 600;
}

.ls-pdp-order {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 30px;
}

.ls-pdp-public-cart-control {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: flex-end;
}

.ls-pdp-public-cart-control .ls-pdp-add-button {
    width: 100%;
}

.ls-pdp-quantity {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
}

.ls-pdp-quantity > label {
    color: #66758a;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ls-pdp-stepper {
    display: grid;
    height: 48px;
    overflow: hidden;
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-right: 0;
    grid-template-columns: 44px 48px 44px;
}

.ls-pdp-qty-button,
.ls-pdp-stepper input {
    min-width: 0;
    height: 46px;
    padding: 0;
    color: var(--bs-primary);
    border: 0;
    border-radius: 0;
    text-align: center;
}

.ls-pdp-qty-button {
    color: #4a5e7a;
    background: #f7f8fa;
    font-size: 1.15rem;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}

.ls-pdp-qty-button:hover,
.ls-pdp-qty-button:focus {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
}

.ls-pdp-qty-button:last-child {
    color: #fff;
    background: var(--bs-primary);
}

.ls-pdp-qty-button:last-child:hover,
.ls-pdp-qty-button:last-child:focus {
    color: #fff;
    background: var(--bs-info);
}

.ls-pdp-qty-button:disabled,
.ls-pdp-qty-button:disabled:hover,
.ls-pdp-qty-button:disabled:focus {
    color: #4a5e7a;
    background: #f7f8fa;
    cursor: default;
    opacity: .25;
}

.ls-pdp-stepper input {
    background: #fff;
    border-right: 1px solid rgba(var(--bs-primary-rgb), .1);
    border-left: 1px solid rgba(var(--bs-primary-rgb), .1);
    font-size: .9rem;
    font-weight: 700;
    outline: 0;
}

.ls-pdp-add-button {
    display: inline-flex;
    min-width: 0;
    height: 48px;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 26px;
    color: #fff;
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-border-radius);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.ls-pdp-add-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ls-pdp-add-button:hover,
.ls-pdp-add-button:focus {
    color: var(--bs-dark);
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.ls-pdp-description {
    margin: 0 0 30px;
    padding-top: 24px;
    color: #5e6c80;
    border-top: 1px solid rgba(var(--bs-primary-rgb), .1);
    font-size: .81rem;
    font-weight: 300;
    line-height: 1.75;
}

.ls-pdp-description > :last-child {
    margin-bottom: 0;
}

.ls-pdp-parameters h2,
.ls-pdp-documents h2,
.ls-pdp-variants h2 {
    margin: 0 0 12px;
    color: var(--bs-primary);
    font-family: var(--bs-body-font-family);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ls-pdp-parameters table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: .78rem;
}

.ls-pdp-parameters tr {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .09);
}

.ls-pdp-parameters tr:last-child {
    border-bottom: 0;
}

.ls-pdp-parameters th,
.ls-pdp-parameters td {
    padding: 9px 8px;
    vertical-align: top;
    line-height: 1.45;
    text-align: left;
}

.ls-pdp-parameters th {
    width: 43%;
    color: #68778c;
    font-weight: 600;
}

.ls-pdp-parameters td {
    color: var(--bs-primary);
}

.ls-pdp-documents {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--bs-primary-rgb), .1);
}

.ls-pdp-document-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ls-pdp-document-list a {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    color: var(--bs-primary);
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    font-size: .72rem;
    text-decoration: none;
}

.ls-pdp-document-list img {
    width: 24px;
    height: 28px;
    object-fit: contain;
}

.ls-pdp-document-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-pdp-variants {
    margin: 8px 0 30px;
}

.ls-pdp-variant {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .1);
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.ls-pdp-variant-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.ls-pdp-variant-info a {
    color: var(--bs-secondary);
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

.ls-pdp-variant-info span,
.ls-pdp-variant-info small {
    overflow: hidden;
    color: #68778c;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-pdp-variant-price {
    color: var(--bs-primary);
    font-size: .8rem;
}

.ls-pdp-variant-action .right {
    float: none;
}

.ls-pdp-variant-action .cart-buttons {
    width: 116px;
    flex-wrap: nowrap;
}

.ls-pdp-variant-action .cart-buttons button,
.ls-pdp-variant-action > button {
    min-height: 34px;
    color: #fff;
    background: var(--bs-primary);
    border: 0;
    border-radius: 0;
    font-size: .67rem;
    font-weight: 700;
}

.ls-pdp-variant-action > button {
    padding: 7px 12px;
    text-transform: uppercase;
}

.ls-pdp-variant-action .cart-buttons input {
    min-width: 34px;
    height: 34px;
    background: #fff;
    border-top: 1px solid rgba(var(--bs-primary-rgb), .15);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .15);
}

.ls-pdp-related {
    width: 100%;
    padding: 54px clamp(20px, 3.4vw, 48px) 42px;
    background: #fff;
    border-top: 1px solid rgba(var(--bs-primary-rgb), .09);
}

.ls-pdp-related-header {
    max-width: 1500px;
    margin: 0 auto 26px;
}

.ls-pdp-related-header > span {
    display: block;
    margin-bottom: 5px;
    color: var(--bs-secondary);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.ls-pdp-related-header h2 {
    margin: 0;
    color: var(--bs-primary);
    font-family: var(--ls-font-primary);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 400;
}

.ls-pdp-related-grid {
    max-width: 1500px;
    margin: 0 auto;
}

.ls-pdp-factory-sheets {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3.4vw, 48px);
}

.ls-pdp-lightbox[hidden] {
    display: none;
}

.ls-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 92px;
}

.ls-pdp-lightbox-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 16, 31, .94);
    border: 0;
}

.ls-pdp-lightbox-image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(82vw, 920px);
    height: min(84vh, 920px);
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 56px);
    background: #fff;
}

.ls-pdp-lightbox-image-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ls-pdp-lightbox-close,
.ls-pdp-lightbox-arrow {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 0;
}

.ls-pdp-lightbox-close {
    top: 20px;
    right: 28px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
}

.ls-pdp-lightbox-arrow {
    top: 50%;
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    font-size: 3rem;
    line-height: 1;
    transform: translateY(-50%);
}

.ls-pdp-lightbox-arrow:hover {
    background: rgba(var(--bs-secondary-rgb), .6);
}

.ls-pdp-lightbox-arrow.is-previous {
    left: 18px;
}

.ls-pdp-lightbox-arrow.is-next {
    right: 18px;
}

body.ls-lightbox-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .ls-pdp-inner {
        padding-top: 36px;
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .ls-pdp-gallery,
    .ls-pdp-info {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .ls-pdp-breadcrumb {
        min-height: 42px;
        padding-top: 9px;
        padding-bottom: 9px;
        font-size: .65rem;
    }

    .ls-pdp-inner {
        padding: 24px 16px 42px;
        gap: 30px;
    }

    .ls-pdp-gallery {
        display: flex;
        flex-direction: column-reverse;
    }

    .ls-pdp-thumbs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .ls-pdp-thumb {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .ls-pdp-main-image-wrap {
        aspect-ratio: 1;
    }

    .ls-pdp-pricing {
        min-height: 70px;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 15px 16px;
    }

    .ls-pdp-retail-price {
        padding-left: 0;
    }

    .ls-pdp-order {
        align-items: stretch;
        flex-direction: column;
    }

    .ls-pdp-public-cart-control,
    .ls-pdp-public-cart-control .ls-pdp-quantity {
        width: 100%;
    }

    .ls-pdp-stepper {
        width: 100%;
        grid-template-columns: 48px 1fr 48px;
    }

    .ls-pdp-add-button {
        width: 100%;
        flex: 0 0 48px;
    }

    .ls-pdp-parameters th {
        width: 40%;
    }

    .ls-pdp-variant {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ls-pdp-variant-action {
        grid-column: 1 / -1;
    }

    .ls-pdp-related {
        padding-top: 40px;
    }

    .ls-pdp-lightbox {
        padding: 64px 12px 22px;
    }

    .ls-pdp-lightbox-image-wrap {
        width: 100%;
        height: auto;
        max-height: 76vh;
        aspect-ratio: 1;
        padding: 18px;
    }

    .ls-pdp-lightbox-arrow {
        width: 42px;
        height: 42px;
        background: rgba(4, 16, 31, .55);
        font-size: 2rem;
    }

    .ls-pdp-lightbox-arrow.is-previous {
        left: 14px;
    }

    .ls-pdp-lightbox-arrow.is-next {
        right: 14px;
    }
}
