.rp-hero {
    padding: 3rem 0;
    font-family: var(--font-aeonik);
}

.rp-hero__outer-container {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 50px;
    align-items: start;
}

.rp-hero__gallery-slot {
    display: flex;
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 2rem;
    align-self: start;
}

.rp-hero__gallery-slot[data-gallery-slot="mobile"] {
    display: none;
}

@media (max-width: 768px) {
    .rp-hero__gallery-slot[data-gallery-slot="mobile"] {
        display: flex;
    }
}

.rp-hero__gallery-container {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.rp-hero__main-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fafafa;
}

.rp-hero__main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rp-hero__thumbnails {
    position: relative;
    height: 110px;
    width: 100%;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
}

.rp-hero__thumbnails-swiper {
    overflow: hidden;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.rp-hero__thumbnails .swiper-wrapper {
    height: 100%;
}

.rp-hero__thumbnails .swiper-slide {
    width: auto;
    height: 100%;
}

.rp-hero__thumbnail {
    display: block;
    aspect-ratio: 2/1.3;
    height: 100%;
    padding: 0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    filter: brightness(0.7);
    border: 0px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.rp-hero__thumbnail:hover {
    filter: brightness(1);
}

.rp-hero__thumbnail.is-active {
    filter: brightness(1);
}

.rp-hero__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rp-hero__nav-container {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.rp-hero__nav {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    z-index: 10;
}

.rp-hero__nav:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.rp-hero__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rp-hero__nav--prev {
    left: 0;
}

.rp-hero__nav--next {
    right: 0;
}

.rp-hero__nav svg {
    width: 18px;
    height: 18px;
}

.rp-hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    justify-content: flex-start;
    padding-top: 54px;
}

.rp-hero__product-category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.rp-hero__product-category-icon {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #d9d9d9;
}

.rp-hero__product-category-name {
    color: rgba(13, 9, 10, 0.7);
    font-family: var(--font-inter);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.rp-hero__content-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rp-hero__title {
    color: #27272c;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 56px;
    text-wrap: balance;
    max-width: 15ch;
}

.rp-hero__description {
    color: #686873;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}

.rp-hero__buttons {
    display: flex;
    gap: 10px;
}

.rp-hero__buttons .btn,
.rp-hero__buttons .btn:hover,
.rp-hero__buttons .btn:focus,
.rp-hero__buttons .btn:active {
    padding: 8px 1.5rem;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-inter);
    text-decoration: none;
}

.rp-hero__buttons .btn-primary {
    background-color: #212126;
    color: #fbf9fa;
    box-shadow: 0 0 1px 0 #000 inset, 0 0 1px 0 #000, 0 0 0 0 #000;
    border: 1px solid transparent;
}

.rp-hero__buttons .btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.rp-hero__buttons .btn-secondary {
    background-color: #fff;
    color: #0d090a;
    border: 1px solid #e8e4e5;
}

.rp-hero__buttons .btn-secondary:hover {
    background-color: #1a1a1a;
    color: white;
}

.rp-hero__buttons .btn-full-width {
    width: 100%;
}

/* Quick Info Accordions */
.rp-hero__quick-info {
    display: flex;
    flex-direction: column;
}

.rp-hero__accordion {
    border-bottom: 1px solid #e8e4e5;
}

.rp-hero__accordion:last-of-type {
    border-bottom: 1px solid transparent;
}

.rp-hero__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.rp-hero__accordion-title {
    font-family: var(--font-inter);
    color: rgba(13, 9, 10, 0.7);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.36px;
}

.rp-hero__accordion-icon {
    color: rgba(13, 9, 10, 0.7);
    transition: transform 0.2s ease;
}

.rp-hero__accordion-header[aria-expanded="true"] .rp-hero__accordion-icon {
    transform: rotate(180deg);
}

.rp-hero__accordion-content {
    overflow: hidden;
}

.rp-hero__accordion-content-inner {
    padding-bottom: 16px;
}

.rp-hero__accordion-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    gap: 16px;
}

.rp-hero__accordion-row.multi-row {
    flex-direction: column;
    gap: 6px;
}

.rp-hero__accordion-label {
    color: rgba(13, 9, 10, 1);
    font-family: var(--font-inter);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.28px;
}

.rp-hero__accordion-value {
    font-family: var(--font-inter);
    color: rgba(13, 9, 10, 0.7);
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 160%;
    letter-spacing: -0.28px;
}

.rp-hero__resource-link,
.rp-hero__resource-link:hover,
.rp-hero__resource-link:focus,
.rp-hero__resource-link:active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    color: #27272c;
    text-decoration: none;
}

.rp-hero__resource-link-text {
    display: inline;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.rp-hero__resource-link svg {
    color: #686873;
    flex-shrink: 0;
}

.rp-hero__resource-link--video {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

/* Video Popup */
.rp-hero__video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}

.rp-hero__video-popup.is-open {
    pointer-events: auto;
    visibility: visible;
}

.rp-hero__video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
}

.rp-hero__video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    opacity: 0;
    transform: translateY(20px);
}

.rp-hero__video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.rp-hero__video-popup-close:hover {
    opacity: 1;
}

.rp-hero__video-popup-player {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.rp-hero__video-popup-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .container {
        max-width: unset;
        padding: 0 16px;
    }

    .rp-hero__outer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 32px;
    }

    .rp-hero__gallery-slot[data-gallery-slot="desktop"] {
        display: none;
    }

    .rp-hero__gallery-slot {
        position: static;
        top: auto;
    }

    .rp-hero__content {
        padding-top: 0;
        width: 100%;
        min-width: 0;
    }

    .rp-hero__gallery-container {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}
