/* Product detail page only. */
.product-config-panel {
    border: 1px solid rgba(0, 0, 0, 0.035);
}

.product-main-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    background: #fff;
}

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

.product-config-details {
    min-width: 0;
}

.product-config-heading h2 {
    color: #373f50;
}

.product-config-panel .form-group > label {
    display: block;
    margin-bottom: 0.5rem;
    color: #373f50;
    font-size: 0.8125rem;
}

.product-config-panel .form-control,
.product-config-panel .custom-select,
.product-config-panel .custom-file-label {
    border-color: #e3e9ef;
}

.product-config-panel .form-control:focus,
.product-config-panel .custom-select:focus {
    border-color: rgba(254, 105, 106, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(254, 105, 106, 0.12);
}

.product-config-panel .custom-control-label img:not(.product-kit-image) {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    vertical-align: middle;
}

.product-kit-option {
    margin-right: 0.5rem !important;
}

.product-kit-label {
    display: inline-flex;
    align-items: center;
    min-height: 76px;
    padding: 0.4rem 0.55rem 0.4rem 1.5rem;
    color: #373f50;
    font-size: 0.8125rem;
    line-height: 1.25;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 0.65rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.product-kit-label::before,
.product-kit-label::after {
    top: 50%;
    transform: translateY(-50%);
}

.product-kit-image {
    display: block;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    object-fit: contain;
}

.product-kit-image--none {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
}

.product-kit-option {
    flex: 0 0 auto;
}

.product-kit-option .custom-control-input:checked ~ .product-kit-label {
    color: #373f50;
    background: #fff8f8;
    border-color: rgba(254, 105, 106, 0.65);
    box-shadow: 0 0 0 2px rgba(254, 105, 106, 0.08);
}

.product-kit-option .custom-control-input:focus ~ .product-kit-label {
    box-shadow: 0 0 0 0.2rem rgba(254, 105, 106, 0.15);
}

.product-price-card {
    border: 1px solid rgba(0, 0, 0, 0.035);
}

.product-price-card #priceDisplayTtc {
    font-size: 2rem;
}

.related-product-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.related-product-frame {
    background: #f8f9fa;
}

.cart-product-flight {
    position: fixed;
    z-index: 1100;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 0.75rem 2rem rgba(23, 45, 28, 0.34);
    pointer-events: none;
    will-change: transform, opacity;
}

.navbar-tool.is-receiving .navbar-tool-icon-box {
    animation: cart-arrival 0.68s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cart-arrival {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    38% {
        transform: translateY(-4px) scale(1.12);
    }

    68% {
        transform: translateY(1px) scale(0.98);
    }
}

@media (max-width: 767.98px) {
    .product-main-image-frame {
        height: 280px;
    }

    .product-price-card {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-kit-label {
        transition: none;
    }

    .navbar-tool.is-receiving .navbar-tool-icon-box {
        animation: none;
    }
}

.product-image-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

#productMainImage {
    transition: transform 0.5s ease;
}

.product-image-container:hover #productMainImage {
    transform: scale(1.5);
}

.product-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
