.page-content {
    width: 100%;
}

.product-page {
    background: white;
    padding: calc(var(--header-offset) + var(--header-height) + 4.35rem) 0 0;
}

.product-page__inner {
    width: min(100% - 1rem, var(--max-width-container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(29rem, 0.93fr) minmax(32rem, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.product-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
}

.product-sidebar__card {
    min-height: min(49.5rem, calc(100svh - 2rem));
    padding: 4.55rem 0 0.95rem;
    display: flex;
    flex-direction: column;
}

.product-sidebar__title {
    margin: 0;
    color: #b9b8ae;
    font-family: var(--font-family-display);
    font-size: 5.05rem;
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0;
    text-align: center;
}

.product-sidebar__title em,
.product-feature-block h2 em,
.product-section h2 em,
.product-similar__header h2 em {
    font-style: italic;
}

.product-sidebar__presentation {
    margin: 1.85rem 0 0;
    padding: 0;
    border: 0;
    text-align: center;
}

.product-sidebar__presentation-label {
    margin: 0 0 0.75rem;
    color: #111111;
    font-size: 0.86rem;
    font-weight: 500;
}

.product-sidebar__meta {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(0, auto));
    align-items: start;
    justify-content: center;
    column-gap: 0.72rem;
    row-gap: 0.55rem;
}

.product-chip,
.product-meta {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
}

.product-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-chip__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.15rem;
    min-height: 2.05rem;
    padding: 0 1.05rem;
    border-radius: 999px;
    background: #f1eee8;
    color: #b7b2a7;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-chip input:checked + .product-chip__pill {
    background: #f6d66f;
    color: #a77918;
}

.product-chip__note {
    min-height: 0.95rem;
    color: #1d1d1d;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.product-chip:not(.product-chip--recommended) .product-chip__note {
    visibility: hidden;
}

.product-chip:hover .product-chip__pill {
    transform: translateY(-1px);
}

.product-sidebar__excerpt {
    margin: auto 0 0;
    max-width: 46rem;
    color: #b7b3a8;
    font-size: 1.06rem;
    line-height: 1.22;
}

.product-sidebar__buy-row {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: 10.25rem minmax(0, 1fr);
    gap: 0.35rem;
}

.quantity-picker {
    display: inline-grid;
    grid-template-columns: 3.05rem 1fr 3.05rem;
    align-items: center;
    min-height: 2.75rem;
    border-radius: 0.38rem;
    overflow: hidden;
    background: #bdb9aa;
}

.quantity-picker button,
.quantity-picker input {
    border: 0;
    background: transparent;
    height: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.quantity-picker input {
    width: 100%;
    -moz-appearance: textfield;
    font-size: 1.12rem;
}

.quantity-picker input::-webkit-outer-spin-button,
.quantity-picker input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-sidebar__add {
    width: 100%;
    min-height: 2.75rem;
    padding: 0 0.95rem 0 1.05rem;
    border-radius: 0.38rem;
    background: #000000;
    color: #fbe090;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.product-sidebar__add span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
}

.product-sidebar__add span::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("../../img/svg/icon-cart.svg") center / contain no-repeat;
    mask: url("../../img/svg/icon-cart.svg") center / contain no-repeat;
}

.product-sidebar__add strong {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.product-sidebar__unit-price {
    margin: 0.58rem 0 0;
    color: #b5b0a5;
    font-size: 0.76rem;
    text-align: center;
}

.product-sidebar__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2.55rem;
}

.product-benefit {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    text-align: center;
    min-width: 0;
}

.product-benefit img,
.product-benefit::before {
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.45rem;
}

.product-benefit--sun::before {
    content: "";
    display: block;
    background:
        radial-gradient(circle, #c4beb2 0 0.32rem, transparent 0.34rem),
        repeating-conic-gradient(from 0deg, #c4beb2 0deg 8deg, transparent 8deg 30deg);
    border-radius: 50%;
    opacity: 0.95;
}

.product-benefit strong {
    color: #b0aa9d;
    font-family: var(--font-family-display);
    font-size: 1.38rem;
    font-weight: 400;
    line-height: 1.02;
}

.product-benefit span {
    color: #c5beb2;
    font-size: 0.78rem;
    line-height: 1.2;
}

.product-content {
    padding-bottom: 5rem;
    min-width: 0;
}

.product-gallery {
    position: relative;
}

.product-gallery__frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.75rem;
    gap: 0.75rem;
    align-items: stretch;
}

.product-gallery--single .product-gallery__frame {
    grid-template-columns: minmax(0, 1fr);
}

.product-gallery__hero {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 1rem;
    background: #d9d6d3;
}

.product-gallery__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.product-gallery__hero-image {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.product-gallery__hero-image.is-active {
    opacity: 1;
}

.product-gallery__thumbnails {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    max-height: none;
    overflow: hidden;
    padding-right: 0;
}

.product-gallery__thumbnails[hidden] {
    display: none;
}

.product-gallery__thumbnail {
    width: 100%;
    height: 100%;
    min-height: 7.5rem;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #d9d6d3;
    cursor: pointer;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-gallery__thumbnail:not(:first-child) {
    display: none;
}

.product-gallery__thumbnail:hover,
.product-gallery__thumbnail:focus-visible,
.product-gallery__thumbnail.is-active {
    opacity: 1;
    transform: translateY(-1px);
    outline: none;
}

.product-gallery__thumbnail-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.product-gallery__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.42rem;
    min-height: 1rem;
    margin-top: 0.75rem;
    padding-right: 4.5rem;
}

.product-gallery--single .product-gallery__pagination {
    padding-right: 0;
}

.product-gallery__pagination[hidden] {
    display: none;
}

.product-gallery__dot {
    position: relative;
    overflow: hidden;
    width: 0.42rem;
    height: 0.42rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d5d2c8;
    cursor: pointer;
    transition: background-color 0.2s ease, width 0.2s ease;
}

.product-gallery__dot:hover,
.product-gallery__dot:focus-visible {
    background: #b99031;
    outline: none;
}

.product-gallery__dot.is-active {
    width: 1.65rem;
    background: rgba(189, 141, 37, 0.28);
}

.product-gallery__dot.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #bd8d25;
    transform: scaleX(0);
    transform-origin: left;
    animation: gallery-dot-fill var(--gallery-duration, 4.2s) linear forwards;
    animation-play-state: paused;
}

.product-gallery.is-playing .product-gallery__dot.is-active::after {
    animation-play-state: running;
}

@keyframes gallery-dot-fill {
    to { transform: scaleX(1); }
}

.product-section {
    margin-top: 4rem;
}

.product-section h2,
.product-info-card h2,
.product-similar__header h2 {
    margin: 0 0 1.2rem;
    color: #c3c0b2;
    font-family: var(--font-family-display);
    font-size: clamp(3rem, 3vw, 3.4rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.product-section p,
.product-list span,
.product-info-card span {
    color: #bcb7ac;
    font-size: 1.02rem;
    line-height: 1.42;
}

.product-feature-block {
    max-width: 100%;
    padding: 0 0 1.55rem;
    border-bottom: 1px solid #ebe8e0;
}

.product-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-list--feature {
    display: grid;
    gap: 1.4rem;
}

.product-list--feature li {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}

.product-list__icon {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: #bcb7aa;
    margin-top: 0.15rem;
    font-size: 1.1rem;
}

.product-list strong {
    display: block;
    color: #252525;
    font-family: var(--font-family-display);
    font-size: clamp(2.1rem, 2vw, 1.9rem);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.product-feature-block h2 {
    font-weight: 400;
    font-style: normal;
}

.product-feature-block h2 em {
    font-weight: 400;
    font-style: italic;
}

.product-section > p {
    max-width: 56rem;
    margin: 0 0 1.2rem;
    font-size: 1.04rem;
    line-height: 1.48;
}

.product-reviews__rating {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.product-reviews__rating span {
    color: #f1d06d;
    font-size: 1rem;
    letter-spacing: 0.18em;
}

.product-reviews__rating small {
    color: #bcb7ac;
    font-size: 0.85rem;
}

.product-reviews__summary {
    display: grid;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.15rem 0;
    border-top: 1px solid #ebe8e0;
    border-bottom: 1px solid #ebe8e0;
}

.product-reviews__score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-reviews__score > strong {
    color: #252525;
    font-family: var(--font-family-display);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 0.9;
}

.product-reviews__score span {
    display: block;
    color: #f1d06d;
    font-size: 1rem;
    letter-spacing: 0.16em;
    line-height: 1;
}

.product-reviews__score small {
    display: block;
    margin-top: 0.25rem;
    color: #bcb7ac;
    font-size: 0.85rem;
    line-height: 1.25;
}

.product-reviews__distribution {
    display: grid;
    gap: 0.42rem;
}

.product-reviews__bar {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr) 2rem;
    gap: 0.65rem;
    align-items: center;
}

.product-reviews__bar span,
.product-reviews__bar small {
    color: #9c9488;
    font-size: 0.78rem;
    line-height: 1;
}

.product-reviews__bar > div {
    height: 0.38rem;
    overflow: hidden;
    border-radius: 999px;
    background: #eeeae2;
}

.product-reviews__bar > div span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f1d06d;
}

.product-reviews {
    display: grid;
    gap: 0.6rem;
}

.product-reviews__message {
    margin: 0;
    padding: 1rem 0;
    color: #bcb7ac;
    font-size: 1rem;
    line-height: 1.35;
}

.product-reviews__message.is-error {
    color: #9f352e;
}

.product-review {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.8rem;
    align-items: center;
    padding: 1.4rem 1.55rem;
    border-radius: 1.2rem;
    background: #f2efea;
}

.product-review__author {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    text-align: center;
}

.product-review__avatar {
    width: 4.9rem;
    height: 4.9rem;
    border-radius: 50%;
    overflow: hidden;
}

.product-review__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-review__avatar--initials {
    display: grid;
    place-items: center;
    background: #d8d1c6;
    color: #4d463d;
    font-family: var(--font-family-display);
    font-size: 1.35rem;
    font-weight: 500;
}

.product-review__meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}

.product-review__stars {
    color: #f1d06d;
    font-size: 0.9rem;
    letter-spacing: 0.13em;
    line-height: 1;
}

.product-review__meta small {
    color: #9c9488;
    font-size: 0.8rem;
    line-height: 1;
}

.product-review__copy p {
    margin: 0;
    color: #2b2b2b;
    font-family: var(--font-family-display);
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1;
}

.product-review__author strong {
    color: #4d463d;
    font-size: 0.95rem;
    line-height: 1;
    text-transform: uppercase;
}

.product-review-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.15rem;
    padding: 1.4rem 1.55rem;
    border: 1px solid #ebe8e0;
    border-radius: 0.5rem;
    background: #ffffff;
}

.product-review-form__header {
    display: grid;
    gap: 0.25rem;
}

.product-review-form__header h3 {
    margin: 0;
    color: #252525;
    font-family: var(--font-family-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.product-review-form__header p {
    margin: 0;
    color: #bcb7ac;
    font-size: 0.95rem;
    line-height: 1.35;
}

.product-review-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
    gap: 1rem;
    align-items: end;
}

.product-review-form__field {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.product-review-form__field label,
.product-review-form__field legend {
    margin: 0;
    color: #7a746d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-review-form__field input,
.product-review-form__field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(161, 152, 140, 0.35);
    border-radius: 0.4rem;
    background: #ffffff;
    color: #1a120d;
    font-size: 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-review-form__field textarea {
    min-height: 8rem;
    resize: none;
}

.product-review-form__field input:focus,
.product-review-form__field textarea:focus {
    outline: none;
    border-color: rgba(195, 151, 51, 0.6);
    box-shadow: 0 0 0 0.18rem rgba(195, 151, 51, 0.12);
}

.product-review-form__field input::placeholder,
.product-review-form__field textarea::placeholder {
    color: #c2bbb0;
}

.product-review-form__rating {
    margin: 0;
    padding: 0;
    border: 0;
}

.product-review-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 3rem;
}

.product-review-stars__item {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: #ded8cc;
    cursor: pointer;
}

.product-review-stars__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-review-stars__item span[aria-hidden="true"] {
    font-size: 1.65rem;
    line-height: 1;
    transition: color 0.16s ease, transform 0.16s ease;
}

.product-review-stars__item:hover span[aria-hidden="true"],
.product-review-stars__item:focus-within span[aria-hidden="true"],
.product-review-stars__item.is-active span[aria-hidden="true"] {
    color: #f1d06d;
}

.product-review-stars__item:hover span[aria-hidden="true"],
.product-review-stars__item:focus-within span[aria-hidden="true"] {
    transform: translateY(-1px);
}

.product-review-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-review-form__actions button {
    min-height: 3.2rem;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 0.4rem;
    background: #111111;
    color: #f5cf61;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-review-form__actions button:hover,
.product-review-form__actions button:focus-visible {
    opacity: 0.88;
}

.product-review-form__actions button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.product-review-form__status {
    margin: 0;
    color: #7a746d;
    font-size: 0.92rem;
    line-height: 1.35;
}

.product-review-form__status.is-success {
    color: #7a611a;
}

.product-review-form__status.is-error {
    color: #9f352e;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-faq {
    border-top: 1px solid #ebe8e0;
}

.product-faq__item {
    border-bottom: 1px solid #ebe8e0;
}

.product-faq__question {
    width: 100%;
    min-height: 4.7rem;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #c3beb2;
    font-size: 1.08rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.product-faq__question span:last-child {
    color: #b8b2a6;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.product-faq__answer {
    display: none;
    padding: 0 0 1rem;
}

.product-faq__item.is-open .product-faq__answer {
    display: block;
}

.product-faq__item.is-open .product-faq__question span:last-child {
    transform: rotate(180deg);
}

.product-info-card {
    padding: 2.3rem 2.4rem 2.6rem;
    border-radius: 1.1rem;
    background: #f2efea;
}

.product-info-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.7rem 2.8rem;
}

.product-info-card__grid div {
    display: grid;
    gap: 0.35rem;
}

.product-info-card strong {
    color: #242424;
    font-family: var(--font-family-display);
    font-size: 2.05rem;
    font-weight: 500;
    line-height: 1;
}

.product-similar__header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    position: relative;
    margin-bottom: 1rem;
}

.product-similar__header a {
    position: absolute;
    right: 0;
    color: #111111;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-similar__header a::after {
    content: " \2192";
}

.product-similar__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-card--similar {
    min-height: 22rem;
    padding: 1.15rem 1.15rem 1rem;
    border-radius: 1.15rem;
}

.product-card--similar .product-card__weight {
    top: 1rem;
    right: 1rem;
    min-width: 2.35rem;
    min-height: 1.2rem;
    padding: 0 0.42rem;
    font-size: 0.72rem;
}

.product-card--similar .product-card__name {
    font-size: clamp(1.9rem, 3vw, 1.5rem);
}

.product-card--similar:hover .product-card__name,
.product-card--similar:focus-within .product-card__name,
.product-card--similar:hover .product-card__price,
.product-card--similar:focus-within .product-card__price {
    color: #000000;
}

.product-card--similar .product-card__footer {
    gap: 0.8rem;
}

.product-card--similar .product-card__price {
    font-size: clamp(2.7rem, 3.6vw, 3.5rem);
}

@media (max-width: 1080px) {
    .product-page__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-sidebar {
        position: static;
    }

    .product-sidebar__card {
        min-height: 0;
        padding-top: 1rem;
    }

    .product-sidebar__excerpt {
        margin-top: 2.4rem;
    }

    .product-sidebar__benefits {
        margin-top: 2.4rem;
    }

    .product-gallery__hero {
        min-height: 0;
    }

    .product-gallery__thumbnails {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .product-page {
        padding-top: calc(var(--header-offset) + var(--header-height) + 4rem);
    }

    .product-page__inner {
        width: min(100% - 1rem, var(--max-width-container));
        gap: 1.5rem;
    }

    .product-sidebar__title,
    .product-section h2,
    .product-info-card h2,
    .product-similar__header h2 {
        font-size: 3.15rem;
    }

    .product-sidebar__buy-row,
    .product-sidebar__benefits,
    .product-info-card__grid,
    .product-similar__grid {
        grid-template-columns: 1fr;
    }

    .product-sidebar__meta {
        grid-template-columns: repeat(2, minmax(0, auto));
        row-gap: 0.9rem;
    }

    .product-gallery__frame {
        grid-template-columns: 1fr;
    }

    .product-gallery__hero {
        min-height: 0;
    }

    .product-gallery__thumbnails {
        display: flex;
        gap: 0.55rem;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 0.25rem;
    }

    .product-gallery__thumbnail {
        flex: 0 0 4.75rem;
        width: 4.75rem;
        height: 4.75rem;
        min-height: 0;
        border-radius: 0.75rem;
    }

    .product-gallery__pagination {
        padding-right: 0;
    }

    .product-list--feature li {
        grid-template-columns: 1fr;
    }

    .product-reviews__summary {
        grid-template-columns: 1fr;
    }

    .product-review {
        grid-template-columns: 1fr;
    }

    .product-review__copy p {
        font-size: 1.6rem;
    }

    .product-review-form__grid {
        grid-template-columns: 1fr;
    }

    .product-review-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-similar__header {
        justify-content: flex-start;
        padding-right: 4.5rem;
    }

    .product-card--similar {
        min-height: 24rem;
    }
}
