.single-product .entry-content {
    margin: 0 !important;
}

.product-single-banner-section {
    --product-ink: #123b57;
    --product-muted: #557083;
    --product-accent: #2c80a9;
    --product-line: rgba(18, 59, 87, 0.12);
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 88px) clamp(20px, 5vw, 76px);
    /*background:*/
    /*    radial-gradient(ellipse at 79% 39%, rgba(190, 224, 242, 0.58), transparent 34%),*/
    /*    linear-gradient(135deg, #f7fafc 0%, #eef5f8 100%);*/
}

.product-single-banner-wrapper {
    width: min(100%, 1440px);
    margin: 0 auto;
}

.product.banner-section-container {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(36px, 6vw, 96px);
}

.product-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: clamp(32px, 4vw, 56px);
}

.product-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.product-description {
    max-width: 620px;
}

.product-description p {
    margin: 0;
    color: var(--product-muted);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.7;
}


.product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--product-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.product-eyebrow::before {
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
}

.product.banner-section-container h1 {
    max-width: 720px;
    margin: 0;
    color: var(--product-ink);
    font-size: clamp(2.8rem, 5.2vw, 5.8rem) !important;
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.product-single-banner-section .button-container {
    padding: 8px 0 0;
}

.product-single-banner-section .button-container a {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 24px;
    border: 1px solid var(--product-ink);
    border-radius: 999px;
    background: var(--product-ink);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-single-banner-section .button-container a:hover,
.product-single-banner-section .button-container a:focus-visible {
    transform: translateY(-2px);
    background: transparent;
    color: var(--product-ink);
    box-shadow: 0 10px 24px rgba(18, 59, 87, 0.12);
}

.product-btn-arrow {
    font-size: 1.1em;
    transition: transform 180ms ease;
}

.product-single-banner-section .button-container a:hover .product-btn-arrow,
.product-single-banner-section .button-container a:focus-visible .product-btn-arrow {
    transform: translate(2px, -2px);
}

.product-feature-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-feature-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.product-features {
    margin: 0;
    color: var(--product-ink);
    font-size: clamp(1.25rem, 1.8vw, 1.65rem) !important;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.product-feature-hint {
    color: var(--product-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-details-container {
    position: relative;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--product-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.product-details-container:hover,
.product-details-container:focus-within {
    transform: translateY(-4px);
    border-color: rgba(44, 128, 169, 0.36);
    background: #fff;
    box-shadow: 0 18px 36px rgba(18, 59, 87, 0.08);
}

.product-feature-index {
    color: var(--product-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.product-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 12px;
}

.product-type .subtitle-text,
.product-details-container .subtitle-text {
    margin: 0;
    color: var(--product-ink);
    font-size: 0.98rem !important;
    font-weight: 600;
    line-height: 1.3;
}

.product-description .details-text,
.product-details-container .details-text {
    margin: 0;
    color: var(--product-muted);
    font-size: 0.86rem !important;
    font-weight: 400;
    line-height: 1.5;
}

.product-feature-mark {
    position: absolute;
    top: 17px;
    right: 18px;
    color: var(--product-accent);
    font-size: 1.15rem;
    transition: transform 200ms ease;
}

.product-details-container:hover .product-feature-mark {
    transform: rotate(45deg);
}

.banner-slider {
    position: relative;
    min-width: 0;
}

.product .swiper.banner-slider-wrapper {
    position: relative;
    display: flex;
    min-height: clamp(440px, 53vw, 680px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 87, 0.06);
    border-radius: clamp(24px, 3vw, 40px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(226, 239, 246, 0.68));
    box-shadow: 0 30px 80px rgba(25, 66, 91, 0.1);
}

.product .swiper.banner-slider-wrapper::before,
.product .swiper.banner-slider-wrapper::after {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(44, 128, 169, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.product .swiper.banner-slider-wrapper::before {
    width: 74%;
    aspect-ratio: 1;
    transform: translate(8%, -7%);
}

.product .swiper.banner-slider-wrapper::after {
    width: 56%;
    aspect-ratio: 1;
    transform: translate(8%, -7%);
}

.product .banner-slider .slider-background {
    position: absolute;
    z-index: 0;
    width: 48%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(174, 215, 236, 0.42), rgba(174, 215, 236, 0) 72%);
}

.product .swiper-wrapper {
    z-index: 1;
    align-items: center;
}

.product .swiper-slide {
    display: flex;
    width: 100% !important;
    height: auto;
    max-height: 100%;
    align-items: center;
    justify-content: center;
}

.product .banner-slider .image-wrap {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: clamp(440px, 53vw, 680px);
    place-items: center;
}

.product .banner-slider img,
.product .swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: clamp(380px, 47vw, 600px);
    object-fit: contain;
}

.product .banner-slider img {
    padding: clamp(24px, 5vw, 72px);
    transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product .banner-slider-wrapper:hover .swiper-slide-active img {
    transform: scale(1.035);
}

.product .swiper-slide video {
    padding: 42px;
    border-radius: 56px;
}

.product-gallery-controls {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-gallery-controls[hidden] {
    display: none;
}

.product-single-banner-wrapper .product-slider-pagination.swiper-pagination {
    position: relative;
    width: auto;
    text-align: left;
}

.product-slider-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 5px !important;
    background: var(--product-ink);
    opacity: 0.25;
    transition: width 180ms ease, opacity 180ms ease, border-radius 180ms ease;
}

.product-slider-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    opacity: 1;
}

.product-gallery-arrows {
    display: flex;
    gap: 8px;
}

.product-gallery-arrows[hidden] {
    display: none;
}

.product-gallery-arrows button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(18, 59, 87, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    color: var(--product-ink);
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-gallery-arrows button:hover,
.product-gallery-arrows button:focus-visible {
    transform: translateY(-2px);
    background: var(--product-ink);
    color: #fff;
}

.product-gallery-empty {
    z-index: 1;
    padding: 24px;
    color: var(--product-muted);
}

.product-gallery-caption {
    display: block;
    margin: 14px 4px 0;
    color: var(--product-muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
    .product.banner-section-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .product-content {
        order: 1;
    }

    .banner-slider {
        order: 0;
    }

    .product .swiper.banner-slider-wrapper,
    .product .banner-slider .image-wrap {
        min-height: min(72vw, 620px);
    }

    .product .banner-slider img,
    .product .swiper-slide video {
        max-height: min(62vw, 540px);
    }
}

@media screen and (max-width: 600px) {
    .product-single-banner-section {
        padding: 28px 16px 44px;
    }

    .product.banner-section-container {
        gap: 30px;
    }

    .product-content {
        gap: 34px;
    }

    .product-intro {
        gap: 16px;
    }

    .product.banner-section-container h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem) !important;
    }

    .product .swiper.banner-slider-wrapper,
    .product .banner-slider .image-wrap {
        min-height: 108vw;
        max-height: 540px;
    }

    .product .banner-slider img {
        max-height: 100vw;
        padding: 38px 22px 56px;
    }

    .product .swiper-slide video {
        max-height: 100vw;
        padding: 28px;
    }

    .product-gallery-controls {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .product-gallery-arrows button {
        width: 40px;
        height: 40px;
    }

    .product-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .product-details-container {
        min-height: unset;
        gap: 12px;
        padding: 18px;
    }

    .product-feature-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-single-banner-section *,
    .product-single-banner-section *::before,
    .product-single-banner-section *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media screen and (max-width: 1240px) {
    .portfolio-content {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media screen and (max-width: 1024px) {
    .portfolio-content {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .portfolio .banner-section-container {
        flex: 1 1 100%;
        padding: 30px 20px;
    }

    .portfolio .title-text {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 425px) {
    .portfolio-content {
        padding: 50px 30px;
        gap: 25px;
    }
}
