/* Product detail — visual layer for the rebuilt site */
.product-detail-shell {
    padding-top: 18px !important;
    padding-bottom: 84px !important;
}

.product-detail-layout {
    align-items: flex-start;
}

@media (min-width: 992px) {
    .product-detail-sidebar-col {
        flex: 0 0 250px !important;
        max-width: 250px !important;
    }

    .product-detail-main-col {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        margin-left: 24px !important;
    }
}

.product-detail-shell .sidebar {
    position: sticky;
    top: calc(var(--header-height, 100px) + 22px);
    padding: 24px 20px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e3eadd;
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(28, 45, 22, .07);
}

.product-detail-shell .sidebar__title {
    margin: 0 0 20px;
    color: #111a2c;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.15;
}

.product-detail-shell .sidebar__item__btn,
.product-detail-shell .sidebar-link {
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.product-detail-shell .sidebar-link:hover,
.product-detail-shell .sidebar-link.active {
    color: #2ca900;
    transform: translateX(3px);
}

.product-detail-shell .product {
    padding-bottom: 0;
}

.product-detail-shell .product__block.product-detail-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    align-items: start;
    gap: clamp(28px, 3.2vw, 54px);
    margin: 0 0 56px !important;
    padding: clamp(22px, 2.4vw, 38px);
    background: #fff;
    border: 1px solid #e3eadd;
    border-radius: 28px;
    box-shadow: 0 20px 56px rgba(28, 45, 22, .08);
}

.product-detail-shell .product-left,
.product-detail-shell .product-right {
    width: auto !important;
    min-width: 0;
}

.product-detail-shell .product__img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 16px !important;
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(145deg, #f8faf6 0%, #eef3eb 100%);
    border: 1px solid #dfe8d9;
    border-radius: 22px;
}

.product-detail-shell .product__img .tab-content,
.product-detail-shell .product__img .tab-pane,
.product-detail-shell .product__img .tab-pane > a {
    width: 100%;
    height: 100%;
}

.product-detail-shell .product__img .tab-pane:not(.active) {
    display: none;
}

.product-detail-shell .product__img .tab-pane > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-radius: inherit;
}

.product-detail-shell .product__img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.product-detail-shell .product__img a::before {
    z-index: 2;
    border-radius: inherit;
    background-color: rgba(22, 39, 18, .10);
    opacity: 0;
    transition: opacity .25s ease;
}

.product-detail-shell .product__img a:hover::before {
    opacity: 1;
}

.product-detail-shell .product__dots {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 2px 38px !important;
}

.product-detail-shell .product__dots .owl-stage {
    display: flex;
    align-items: stretch;
}

.product-detail-shell .product__dots .owl-item {
    height: 94px;
}

.product-detail-shell .product__dots .nav-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 94px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe4d6 !important;
    border-radius: 14px !important;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.product-detail-shell .product__dots .nav-link::before {
    display: none !important;
}

.product-detail-shell .product__dots .nav-link img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.product-detail-shell .product__dots .nav-link:hover {
    border-color: rgba(45, 171, 0, .55) !important;
    background: #f8fcf6;
    transform: translateY(-2px);
}

.product-detail-shell .product__dots .nav-link.active {
    border-color: #2eae00 !important;
    background: #f6fcf3;
    box-shadow: 0 0 0 2px rgba(46, 174, 0, .18);
}

.product-detail-shell .product__dots .owl-nav button.owl-prev,
.product-detail-shell .product__dots .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #dce6d8 !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 16px rgba(25, 48, 18, .10);
    transform: translateY(-50%);
    transition: border-color .2s ease, background-color .2s ease;
}

.product-detail-shell .product__dots .owl-nav button.owl-prev {
    left: 0 !important;
}

.product-detail-shell .product__dots .owl-nav button.owl-next {
    right: 0 !important;
}

.product-detail-shell .product__dots .owl-nav button::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #2fa900;
    border-right: 2px solid #2fa900;
}

.product-detail-shell .product__dots .owl-nav button.owl-prev::before {
    left: 12px;
    transform: translateY(-50%) rotate(-135deg);
}

.product-detail-shell .product__dots .owl-nav button.owl-next::before {
    right: 12px;
    transform: translateY(-50%) rotate(45deg);
}

.product-detail-shell .product__dots .owl-nav button:hover {
    background: #f5fbf2 !important;
    border-color: #2fa900 !important;
}

.product-detail-shell .product-detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 16px;
    padding: 8px 13px;
    color: #258d07;
    background: #eef8ea;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-detail-shell .product-detail-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #5ad532;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(90, 213, 50, .14);
}

.product-detail-shell .product__title {
    margin: 0 0 22px;
    color: #10192b;
    font-size: clamp(34px, 3.1vw, 52px);
    font-weight: 850;
    line-height: 1.03;
    letter-spacing: -.025em;
}

.product-detail-shell .product-right > p {
    margin-bottom: 14px;
    color: #5f6c7c;
    font-size: 16px;
    line-height: 1.68;
}

.product-detail-shell .product__props {
    display: grid;
    gap: 9px;
    margin: 25px 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.product-detail-shell .product__props li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-height: 45px;
    margin: 0 !important;
    padding: 12px 14px;
    background: #f6f8f4;
    border: 1px solid #e7ece3;
    border-radius: 11px;
}

.product-detail-shell .product__props li span:first-child {
    color: #2d3542;
    font-weight: 700;
}

.product-detail-shell .product__props li span {
    background: transparent;
    font-size: 14px;
    white-space: normal;
}

.product-detail-shell .product__props li span:first-child::after {
    border-color: #cbd4c7;
}

.product-detail-shell .product__props li span:last-child {
    color: #121c2c;
    font-weight: 800;
    white-space: nowrap;
}

.product-detail-shell .product-select-group {
    padding: 10px 0;
}

.product-detail-shell .product-select-group h5 {
    color: #1c2737;
    font-weight: 750;
}

.product-detail-shell .product__price {
    margin-top: 18px;
    padding: 17px 18px;
    background: #f2f8ef;
    border: 1px solid #dcebd5;
    border-radius: 14px;
}

.product-detail-shell .product__price span {
    background: transparent;
}

.product-detail-shell .product__actions {
    gap: 12px;
    margin-top: 16px;
}

.product-detail-shell .checkout-btn {
    min-height: 52px;
    padding: 0 24px;
    color: #fff;
    background: linear-gradient(180deg, #67ca42 0%, #28a900 100%);
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(46, 169, 8, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-detail-shell .checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(46, 169, 8, .28);
}

@media (max-width: 1199px) {
    .product-detail-shell .product__block.product-detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
        gap: 28px;
    }

    .product-detail-shell .product__title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .product-detail-shell {
        padding-top: 12px !important;
    }

    .product-detail-main-col {
        margin-top: 20px;
    }

    .product-detail-shell .sidebar {
        position: static;
        padding: 17px 18px;
        border-radius: 18px;
    }

    .product-detail-shell .sidebar__title {
        margin: 0;
    }

    .product-detail-shell .product__block.product-detail-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        border-radius: 24px;
    }

    .product-detail-shell .product-left {
        width: 100% !important;
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .product-detail-shell {
        padding-bottom: 54px !important;
    }

    .product-detail-shell .product__block.product-detail-hero {
        gap: 25px;
        padding: 14px;
        border-radius: 19px;
        box-shadow: 0 14px 36px rgba(28, 45, 22, .07);
    }

    .product-detail-shell .product__img {
        padding: 0 !important;
        border-radius: 16px;
    }

    .product-detail-shell .product__dots {
        padding: 2px 31px !important;
    }

    .product-detail-shell .product__dots .owl-item,
    .product-detail-shell .product__dots .nav-link {
        height: 72px !important;
    }

    .product-detail-shell .product__dots .nav-link {
        padding: 0 !important;
        border-radius: 11px !important;
    }

    .product-detail-shell .product__dots .nav-link img {
        border-radius: 9px;
    }

    .product-detail-shell .product__dots .owl-nav button.owl-prev,
    .product-detail-shell .product__dots .owl-nav button.owl-next {
        width: 27px !important;
        height: 27px !important;
    }

    .product-detail-shell .product__dots .owl-nav button.owl-prev::before {
        left: 10px;
    }

    .product-detail-shell .product__dots .owl-nav button.owl-next::before {
        right: 10px;
    }

    .product-detail-shell .product-detail-kicker {
        margin-bottom: 13px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .product-detail-shell .product__title {
        margin-bottom: 17px;
        font-size: 30px;
    }

    .product-detail-shell .product-right > p {
        font-size: 15px;
    }

    .product-detail-shell .product__props li {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .product-detail-shell .product__props li span:first-child::after {
        display: none;
    }

    .product-detail-shell .product__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-detail-shell .product__count,
    .product-detail-shell .checkout-btn {
        width: 100%;
    }
}
