.productPage__content {
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-areas:
        "gallery side"
        "main side";
    column-gap: 60px;
    row-gap: 0;
    align-items: start;
}

.productPage__gallery {
    grid-area: gallery;
}

.productPage__main {
    grid-area: main;
}

.productPage__side {
    grid-area: side;
    position: sticky;
    top: 100px;
    align-self: start;
}

.productSlider {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
}

.productSlider__thumbnails {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.productSlider__thumb {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    padding: 12px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: #f2f3f5;
    border: 1px solid transparent;
}

.productSlider__thumb_active {
    border-color: var(--brand-color);
}

.productSlider__main {
    position: relative;
    width: 100%;
    height: 442px;
    border-radius: 16px;
    background-color: #f2f3f5;
}

.productSlider__slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.productSlider__likeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.productSlider__likeButton path {
    transition: stroke .25s, fill .25s;
}

.productCard__likeButton_liked path,
.productSlider__likeButton.productCard__likeButton_liked path {
    fill: var(--brand-color);
    stroke: var(--brand-color);
}

.blockWithTitle {
    margin-top: 48px;
}

.blockWithTitle__title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 20px;
}

.productDescription {
    line-height: 1.6;
    color: var(--text-secondary);
}

.labelWithValue {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 16px;
}

.labelWithValue__label {
    font-size: 14px;
    color: var(--text-muted);
}

.labelWithValue__value {
    font-size: 16px;
    color: var(--text-secondary);
}

.bundleComposition {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bundleComponent {
    display: grid;
    grid-template-columns: 72px 1fr 90px 120px;
    gap: 20px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.bundleComponent__imageHolder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-color: #f2f3f5;
    overflow: hidden;
}

.bundleComponent__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

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

.bundleComponent__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 130%;
    color: var(--text-secondary);
    transition: color .2s;
}

.bundleComponent__name:hover {
    color: var(--brand-color);
}

.bundleComponent__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.bundleComponent__quantity {
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
}

.bundleComponent__price {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.bundleComposition__note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 150%;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .bundleComponent {
        grid-template-columns: 72px 1fr;
        gap: 12px 16px;
    }

    .bundleComponent__quantity,
    .bundleComponent__price {
        grid-column: 2;
        text-align: left;
    }
}

.productTabs__list {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
}

.productTabs__item {
    padding: 16px 0;
    cursor: pointer;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 700;
    background: none;
    border: none;
}

.productTabs__item_active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--brand-color);
}

.textBlock {
    padding-top: 24px;
}

.textBlock[hidden] {
    display: none;
}

.textBlock__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.textBlock__content {
    color: var(--text-muted);
}

.productInfo {
    position: relative;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.productInfo__name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.productInfo__note {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f2f3f5;
    font-size: 13px;
    line-height: 140%;
    color: var(--text-muted);
}

.packaging {
    margin-bottom: 16px;
}

.packaging__label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.packaging__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.packagingOption {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color .2s, background-color .2s;
}

a.packagingOption:hover {
    border-color: var(--brand-color);
}

.packagingOption_active {
    border-color: var(--brand-color);
    background-color: #fbeaee;
}

.packagingOption_disabled {
    background-color: #f5f5f5;
    color: #b5b5b5;
    text-decoration: line-through;
    cursor: not-allowed;
}

.productInfo__body {
    margin-top: 20px;
    margin-bottom: 20px;
}

.productInfo__body .labelWithValue {
    grid-template-columns: 140px 1fr;
    gap: 16px;
}

.productInfo__priceLabel {
    color: var(--text-muted);
    font-size: 14px;
}

.productInfo__priceRow {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.productInfo__price {
    font-size: 24px;
    font-weight: 700;
}

.productInfo__oldPrice {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.productInfo__discount {
    padding: 3px 7px;
    border-radius: 3px;
    background-color: var(--brand-color);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.productRelated {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px 24px;
}

@media (max-width: 1100px) {
    .productRelated {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .productRelated {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 40px 16px;
    }
}

.productInfo__submit {
    width: 100%;
    height: 44px;
    border-radius: 8px;
}

.orderSteps__title {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
}

.orderSteps__list {
    display: flex;
    flex-direction: column;
}

.orderStep {
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-template-rows: 20px 1fr;
    grid-gap: 6px 20px;
}

.orderStep__indicator {
    grid-row: 1 / 3;
    position: relative;
}

.orderStep__checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--brand-color);
    border-radius: 50%;
    background-color: var(--brand-color);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="9" viewBox="0 0 12 9" fill="none"><path d="M1 4.5L4.5 8L11 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.orderStep__line {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 6px);
    background-color: var(--brand-color);
}

.orderStep__title {
    grid-column: 2;
    grid-row: 1;
    font-weight: 700;
    font-size: 15px;
    line-height: 120%;
    color: var(--text-secondary);
}

.orderStep__description {
    grid-column: 2;
    grid-row: 2;
    font-weight: 400;
    font-size: 13px;
    line-height: 144%;
    color: var(--text-muted);
    margin-bottom: 18px;
}

@media (max-width: 960px) {
    .productPage__content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "side"
            "main";
        column-gap: 0;
        row-gap: 24px;
    }

    .productPage__side {
        position: static;
    }

    .productPage__main > .blockWithTitle:first-child {
        margin-top: 0;
    }

    .productSlider {
        grid-template-columns: 1fr;
    }

    .productSlider__thumbnails {
        flex-direction: row;
        order: 2;
    }

    .productSlider__main {
        height: 320px;
    }

    .labelWithValue {
        grid-template-columns: 140px 1fr;
        gap: 16px;
    }
}
