.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.product-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: var(--accent-sport);
}

.product-breadcrumb span:last-child {
    color: var(--text-main);
}

.turbo-gallery--product {
    border: none;
    background: none;
    overflow: visible;
    margin-bottom: 0;
}

.turbo-gallery--product .carousel {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.turbo-gallery--product.product-gallery-placeholder .product-gallery-placeholder__inner {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card-nested);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    aspect-ratio: 4 / 3;
    min-height: 280px;
    padding: 1.5rem;
    text-align: center;
}

.turbo-gallery--product.product-gallery-placeholder .product-gallery-placeholder__icon {
    font-size: 2rem;
    color: var(--text-muted);
    opacity: 0.65;
}

.turbo-gallery--product.product-gallery-placeholder .product-gallery-placeholder__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-gallery-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.turbo-gallery--product .carousel-item {
    aspect-ratio: 4 / 3;
}

.turbo-gallery--product.turbo-gallery--catalog .carousel-item {
    transition: none;
}

.turbo-gallery--product .turbo-gallery-photo__img {
    cursor: zoom-in;
}

.turbo-gallery--product.turbo-gallery--catalog.is-hover-scrubbing .carousel {
    cursor: ew-resize;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 2px;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.product-gallery-thumbs__item {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-card-nested);
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.product-gallery-thumbs__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.product-gallery-thumbs__item:hover {
    opacity: 1;
    border-color: var(--border-strong);
}

.product-gallery-thumbs__item.is-active {
    opacity: 1;
    border-color: var(--accent-sport);
}

.turbo-gallery--product.has-gallery-thumbs .carousel-indicators,
.turbo-gallery--product.has-gallery-thumbs .carousel-control-prev,
.turbo-gallery--product.has-gallery-thumbs .carousel-control-next {
    display: none;
}

@media (min-width: 768px) {
    .product-gallery-thumbs__item {
        width: 84px;
        height: 63px;
    }
}

.turbo-gallery--compact .carousel-item {
    aspect-ratio: 16 / 10;
}

.product-info-card {
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
}

.product-info-card__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-sport);
    margin-bottom: 12px;
}

.product-info-card__platform {
    margin-bottom: 14px;
}

.product-info-card__title {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-stock-badge-wrap {
    margin-bottom: 8px;
}

.product-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.product-stock-badge--available {
    color: #8dffb0;
    background: rgba(46, 160, 87, 0.14);
    border-color: rgba(46, 160, 87, 0.35);
}

.product-stock-badge--unavailable {
    color: #ffb4b4;
    background: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.28);
}

body[data-theme="light"] .product-stock-badge--available {
    color: #1f7a43;
    background: rgba(46, 160, 87, 0.12);
}

body[data-theme="light"] .product-stock-badge--unavailable {
    color: #b42323;
    background: rgba(238, 17, 17, 0.08);
}

.product-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-purchase-options {
    margin-bottom: 20px;
}

.product-purchase-options__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-purchase-option {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card-nested);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-purchase-option--primary {
    border-color: rgba(255, 51, 51, 0.28);
    background: rgba(255, 51, 51, 0.06);
}

body[data-theme="light"] .product-purchase-option--primary {
    background: rgba(255, 51, 51, 0.05);
}

.product-purchase-option__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-purchase-option__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-sport);
    font-size: 1rem;
}

.product-purchase-option__meta {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.product-purchase-option__label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

.product-purchase-option__hint {
    display: block;
    margin-top: 3px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.product-purchase-option__price {
    flex-shrink: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .product-purchase-option__head {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        row-gap: 8px;
        align-items: start;
    }

    .product-purchase-option__icon {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .product-purchase-option__meta {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .product-purchase-option__price {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        padding-left: 0;
        font-size: 1.15rem;
    }
}

.product-potential-block {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card-nested);
    margin-bottom: 22px;
}

.product-potential-block__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-potential-block__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.product-description {
    margin-bottom: 22px;
}

.product-description__text {
    line-height: 1.65;
}

.product-highlights {
    margin-bottom: 24px;
}

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

.product-highlights__list li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    line-height: 1.5;
}

.product-highlights__list li:last-child {
    border-bottom: none;
}

.product-highlights__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-sport);
    transform: translateY(-50%);
}

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

.product-reviews__empty {
    text-align: center;
    padding: 28px 24px;
}

.product-reviews__item {
    height: 100%;
}

.product-reviews__actions {
    flex-shrink: 0;
}

.product-reviews__footer {
    margin-top: 1rem;
}

@media (max-width: 991.98px) {
    .product-info-card {
        top: auto;
    }
}

.product-description--under-gallery {
    margin-bottom: 0;
}

.product-order {
    margin-top: 8px;
}

.product-order__toggle {
    font-weight: 600;
}

/* Modal overlay */
.product-order-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-order-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-order-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 7, 0.72);
    backdrop-filter: blur(4px);
}

body[data-theme="light"] .product-order-modal__overlay {
    background: rgba(10, 11, 13, 0.45);
}

.product-order-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: min(92vh, 860px);
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.28s ease;
    overflow: hidden;
}

.product-order-modal.is-open .product-order-modal__dialog {
    transform: translateY(0) scale(1);
}

.product-order-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card-nested);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.product-order-modal__close:hover {
    color: var(--text-main);
    border-color: var(--accent-sport);
    background: rgba(255, 51, 51, 0.08);
}

.product-order-modal__header {
    padding: 22px 52px 14px 22px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.product-order-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px;
    line-height: 1.3;
}

.product-order-modal__subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
}

.product-order-modal__body {
    padding: 18px 22px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.product-order-modal-open {
    overflow: hidden;
}

.product-order__form .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-order__form .form-control {
    background: var(--bg-card-nested);
    border-color: var(--border-color);
    color: var(--text-main);
}

.product-order__form .form-control:focus {
    background: var(--bg-card-nested);
    border-color: var(--accent-sport);
    color: var(--text-main);
    box-shadow: 0 0 0 0.2rem rgba(255, 51, 51, 0.15);
}

.product-order__form .form-check-label a {
    color: var(--accent-sport);
}

.product-order__field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.product-order__text-input,
.product-order__channel-body .product-order__channel-input {
    min-height: 44px;
    height: auto;
    padding: 0.55rem 0.75rem;
    cursor: text;
    user-select: text;
}

.product-order__text-input::placeholder,
.product-order__channel-body .product-order__channel-input::placeholder {
    color: var(--text-muted);
    opacity: 0.55;
}

.product-order__contact-hint {
    margin-top: -4px;
    line-height: 1.45;
}

.product-order__channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-order__channels.is-invalid-group .product-order__channel:not(.is-active) {
    border-color: rgba(220, 53, 69, 0.35);
}

.product-order__channel {
    position: relative;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card-nested);
    cursor: pointer;
    user-select: none;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.15s ease;
    outline: none;
}

.product-order__channel:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

body[data-theme="light"] .product-order__channel:hover {
    border-color: rgba(0, 0, 0, 0.16);
    background: rgba(0, 0, 0, 0.02);
}

.product-order__channel:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.25);
}

.product-order__channel.is-active {
    border-color: var(--accent-sport);
    background: linear-gradient(145deg, rgba(255, 51, 51, 0.1) 0%, rgba(255, 51, 51, 0.03) 100%);
    box-shadow: 0 0 0 1px rgba(255, 51, 51, 0.15), 0 8px 24px rgba(255, 51, 51, 0.08);
}

.product-order__channel.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.2);
}

.product-order__channel-inner {
    padding: 14px;
}

.product-order__channel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
}

.product-order__channel-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    transition: background 0.22s ease, border-color 0.22s ease;
}

.product-order__channel.is-active .product-order__channel-icon {
    background: rgba(255, 51, 51, 0.12);
    border-color: rgba(255, 51, 51, 0.35);
}

.product-order__channel-icon i {
    font-size: 1.05rem;
    color: var(--accent-sport);
}

.product-order__channel-title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.25;
}

.product-order__channel-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: transparent;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        transform 0.2s ease;
}

.product-order__channel.is-active .product-order__channel-mark {
    border-color: var(--accent-sport);
    background: var(--accent-sport);
    color: #fff;
    transform: scale(1.05);
}

.product-order__channel-body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition:
        grid-template-rows 0.28s ease,
        opacity 0.22s ease,
        margin-top 0.28s ease;
    pointer-events: none;
}

.product-order__channel-body > .product-order__channel-expand {
    overflow: hidden;
    min-height: 0;
}

.product-order__channel.is-active .product-order__channel-body {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
    pointer-events: auto;
}

.product-order__channel-body .product-order__field-label {
    cursor: text;
    user-select: none;
}

.product-order__channel-body .product-order__channel-input:focus {
    border-color: var(--accent-sport);
    box-shadow: 0 0 0 0.15rem rgba(255, 51, 51, 0.12);
}

.product-order__channel-body .invalid-feedback {
    margin-top: 6px;
    user-select: text;
}

.product-order__submit-spinner {
    vertical-align: -0.15em;
}

#productOrderAlert {
    margin-bottom: 14px;
}

.product-blog-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-blog-carousel {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    padding: 0.875rem 0.625rem 1.25rem;
}

.product-blog-track {
    --product-blog-visible: 1;
    --product-blog-gap: 1.5rem;
    display: flex;
    gap: var(--product-blog-gap);
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (min-width: 768px) {
    .product-blog-track {
        --product-blog-visible: 2;
    }
}

@media (min-width: 992px) {
    .product-blog-track {
        --product-blog-visible: 3;
    }
}

@media (min-width: 1200px) {
    .product-blog-track {
        --product-blog-visible: 4;
    }
}

.product-blog-track.is-dragging {
    transition: none;
}

.product-blog-slide {
    flex: 0 0 calc((100% - var(--product-blog-gap) * (var(--product-blog-visible) - 1)) / var(--product-blog-visible));
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0.25rem;
}

.product-blog-slide .blog-card {
    height: 100%;
}

.product-blog-slide .blog-card:hover {
    position: relative;
    z-index: 1;
}

.product-blog-carousel__nav {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-main);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.product-blog-carousel-wrap--scrollable .product-blog-carousel__nav {
    display: inline-flex;
}

.product-blog-carousel__nav:hover:not(:disabled):not(.is-disabled) {
    border-color: rgba(192, 192, 192, 0.45);
    color: var(--accent-sport);
}

.product-blog-carousel__nav:disabled,
.product-blog-carousel__nav.is-disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 575.98px) {
    .product-blog-carousel-wrap {
        gap: 0.5rem;
    }

    .product-blog-carousel__nav {
        width: 36px;
        height: 36px;
    }
}
