.v2-product-details,
.v2-product-details * {
    box-sizing: border-box;
}

.v2-product-details {
    width: 100%;
    min-width: 0;
    overflow: clip;
    background: #ffffff;
    color: var(--v2-color-text, #202124);
}

.v2-product-details .v2-breadcrumbs {
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.v2-product-details .v2-breadcrumbs__list {
    width: max-content;
    min-width: 100%;
    height: auto;
    overflow: visible;
}

.v2-product-details .v2-breadcrumbs__item--current {
    flex: 0 0 auto;
    overflow: visible;
}

.v2-product-details .v2-breadcrumbs__item--current .v2-breadcrumbs__label {
    overflow: visible;
    text-overflow: clip;
}

.v2-product-hero {
    width: 100%;
    padding: 64px var(--v2-page-padding-desktop, 120px);
    background: var(--v2-color-background, #202124);
    color: var(--v2-color-text-inverse, #ffffff);
}

.v2-product-hero-transition {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: hidden;
    background: var(--v2-color-background, #202124);
}

.v2-product-hero-transition::before {
    position: absolute;
    right: 0;
    left: 0;
    height: 40px;
    border-radius: 32px;
    background: #ffffff;
    content: "";
}

.v2-product-hero-transition--top::before {
    top: -20px;
}

.v2-product-hero-transition--bottom::before {
    bottom: -20px;
}

.v2-product-hero__inner {
    width: 100%;
    max-width: var(--v2-content-max, 1200px);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(48px, 8vw, 116px);
    margin: 0 auto;
}

.v2-product-hero__title,
.v2-product-hero__composition,
.v2-product-overview__title,
.v2-product-overview__description p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.v2-product-hero__title {
    max-width: 820px;
    color: inherit;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}

.v2-product-hero__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.v2-product-hero__composition {
    max-width: 520px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.v2-product-hero__action {
    max-width: 100%;
    align-self: center;
}

.v2-product-overview {
    width: 100%;
    padding: 96px var(--v2-page-padding-desktop, 120px);
    background: #ffffff;
}

.v2-product-overview__inner {
    width: 100%;
    max-width: var(--v2-content-max, 1200px);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 610px);
    align-items: start;
    justify-content: space-between;
    gap: clamp(48px, 8vw, 112px);
    margin: 0 auto;
}

.v2-product-overview__copy {
    min-width: 0;
}

.v2-product-overview__title {
    color: #111827;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
}

.v2-product-overview__badges {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.v2-product-overview__badge {
    max-width: 100%;
    padding: 12px 18px;
    border: 1px solid #d9dde3;
    border-radius: 999px;
    background: #f7f8fa;
    color: #202124;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.v2-product-overview__description {
    max-width: 650px;
    display: grid;
    gap: 16px;
    margin-top: 40px;
    color: #202124;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.v2-product-overview__media {
    width: 100%;
    min-width: 0;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 24px;
    overflow: hidden;
    border-radius: 24px;
    background: #f7f8fa;
}

.v2-product-gallery--multiple {
    height: 600px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 16px;
}

.v2-product-gallery__stage,
.v2-product-gallery__slide {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
}

.v2-product-gallery__stage {
    position: relative;
}

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

.v2-product-overview__media-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
}

.v2-product-overview__media-trigger:focus-visible {
    outline: 3px solid var(--v2-color-primary, #2a568e);
    outline-offset: -3px;
}

.v2-product-gallery__arrow,
.v2-product-viewer__arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(32, 33, 36, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #202124;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(32, 33, 36, 0.16);
    cursor: pointer;
}

.v2-product-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.v2-product-gallery__arrow--previous {
    left: 8px;
}

.v2-product-gallery__arrow--next {
    right: 8px;
}

.v2-product-gallery__arrow:hover,
.v2-product-gallery__thumbnail:hover {
    border-color: var(--v2-color-primary, #2a568e);
}

.v2-product-gallery__arrow:focus-visible,
.v2-product-gallery__thumbnail:focus-visible,
.v2-product-viewer__arrow:focus-visible {
    outline: 3px solid var(--v2-color-primary, #2a568e);
    outline-offset: 2px;
}

.v2-product-gallery__footer {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.v2-product-gallery__thumbnails {
    min-width: 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 3px;
    scrollbar-width: thin;
}

.v2-product-gallery__thumbnail {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    padding: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.v2-product-gallery__thumbnail.is-active {
    border-color: var(--v2-color-primary, #2a568e);
}

.v2-product-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.v2-product-gallery__status {
    color: #5f6368;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.v2-product-overview__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.v2-product-overview__media-hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(32, 33, 36, 0.88);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.v2-product-overview__media-trigger:hover .v2-product-overview__media-hint,
.v2-product-overview__media-trigger:focus-visible .v2-product-overview__media-hint {
    opacity: 1;
    transform: translateY(0);
}

body.v2-product-viewer-open {
    overflow: hidden;
}

.v2-product-viewer {
    position: fixed;
    z-index: 11500;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px;
    background: rgba(14, 15, 17, 0.94);
    backdrop-filter: blur(8px);
}

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

.v2-product-viewer__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.v2-product-viewer__canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-product-viewer__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.v2-product-viewer__arrow {
    position: fixed;
    z-index: 1;
    top: 50%;
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(32, 33, 36, 0.72);
    color: #ffffff;
    transform: translateY(-50%);
}

.v2-product-viewer__arrow--previous {
    left: 20px;
}

.v2-product-viewer__arrow--next {
    right: 20px;
}

.v2-product-viewer__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.v2-product-viewer__status {
    position: fixed;
    z-index: 1;
    bottom: 20px;
    left: 50%;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(32, 33, 36, 0.78);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transform: translateX(-50%);
}

.v2-product-viewer__close {
    position: fixed;
    z-index: 1;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font: inherit;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.v2-product-viewer__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.v2-product-viewer__close:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.v2-product-details .v2-location__map--live {
    min-height: 500px;
    border: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .v2-product-hero,
    .v2-product-overview {
        padding-right: var(--v2-page-padding-tablet, 32px);
        padding-left: var(--v2-page-padding-tablet, 32px);
    }

    .v2-product-hero__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 40px;
    }

    .v2-product-overview__inner {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
        align-items: center;
        justify-content: normal;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .v2-product-details .v2-breadcrumbs {
        display: block;
        padding-right: var(--v2-page-padding-mobile, 16px);
        padding-left: var(--v2-page-padding-mobile, 16px);
    }

    .v2-product-hero {
        padding: 48px var(--v2-page-padding-mobile, 16px);
    }

    .v2-product-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .v2-product-hero__title {
        font-size: clamp(36px, 11.3vw, 44px);
        line-height: 1.08;
    }

    .v2-product-hero__copy {
        gap: 32px;
    }

    .v2-product-hero__action {
        width: 100%;
        align-self: stretch;
    }

    .v2-product-hero__action .v2-button__label {
        white-space: normal;
        text-align: center;
    }

    .v2-product-overview {
        padding: 64px var(--v2-page-padding-mobile, 16px);
    }

    .v2-product-overview__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 48px;
    }

    .v2-product-overview__title {
        font-size: 32px;
    }

    .v2-product-overview__badges {
        gap: 8px;
        margin-top: 24px;
    }

    .v2-product-overview__badge {
        padding: 10px 14px;
        font-size: 14px;
    }

    .v2-product-overview__description {
        margin-top: 32px;
        font-size: 16px;
    }

    .v2-product-overview__media {
        height: min(124vw, 520px);
        min-height: 360px;
        order: 2;
        padding: 16px;
        border-radius: 16px;
    }

    .v2-product-gallery--multiple {
        height: min(148vw, 620px);
        min-height: 460px;
        gap: 12px;
    }

    .v2-product-gallery__arrow {
        width: 42px;
        height: 42px;
    }

    .v2-product-gallery__arrow--previous {
        left: 0;
    }

    .v2-product-gallery__arrow--next {
        right: 0;
    }

    .v2-product-gallery__footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .v2-product-gallery__status {
        text-align: center;
    }

    .v2-product-overview__media-hint {
        right: 12px;
        bottom: 12px;
        opacity: 1;
        transform: none;
    }

    .v2-product-viewer {
        padding: 64px 16px 24px;
    }

    .v2-product-viewer__close {
        top: 12px;
        right: 12px;
    }

    .v2-product-viewer__canvas {
        padding-right: 44px;
        padding-left: 44px;
    }

    .v2-product-viewer__arrow {
        width: 42px;
        height: 42px;
    }

    .v2-product-viewer__arrow--previous {
        left: 8px;
    }

    .v2-product-viewer__arrow--next {
        right: 8px;
    }

    .v2-product-viewer__status {
        bottom: 12px;
    }

    .v2-product-details .v2-location__map--live {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-product-overview__media-hint {
        transition: none;
    }
}

@media (max-width: 389px) {
    .v2-product-hero__title {
        font-size: 34px;
    }
}
