/* ==========================================================================
   Product detail (Bootstrap refresh)
   ========================================================================== */

.application-wrapper {
    background-color: #fff;
    min-height: 100vh;
}

.product-page {
    color: #1f1f1f;
}

.product-page .product-breadcrumb .breadcrumb {
    --bs-breadcrumb-divider: "";
    background-color: transparent;
    font-size: 0.875rem;
    margin-bottom: 0;
    padding: 0;
}

.product-page .product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0;
    content: none;
}

.product-page .product-breadcrumb .breadcrumb-item a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.product-page .product-breadcrumb .breadcrumb-item a:hover,
.product-page .product-breadcrumb .breadcrumb-item a:focus {
    color: inherit;
    text-decoration: underline;
}

.product-page .breadcrumb-separator {
    color: #6c757d;
    font-size: 1rem;
    margin-left: 0rem;
    margin-right: 0rem;
    vertical-align: middle;
}

.product-page .product-breadcrumb .breadcrumb-item {
    margin-bottom: 0.125rem;
    padding-left: 0;
}

.product-carousel {
    background: #f5f5f7;
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
}

.product-carousel .carousel-inner {
    border-radius: 1rem;
    overflow: hidden;
}

.product-carousel .carousel-item {
    align-items: center;
    justify-content: center;
    min-height: 280px;
    display: none;
    transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

.product-carousel .carousel-item.active,
.product-carousel .carousel-item-next,
.product-carousel .carousel-item-prev {
    display: flex;
}

.product-carousel .carousel-item img {
    max-height: 420px;
    object-fit: contain;
    width: 100%;
}

.product-purchase-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
}

.product-purchase-row .product-quantity-control {
    display: flex;
    align-items: stretch;
    min-height: 2.8rem;
}

.product-purchase-row .product-quantity-control .product-quantity-input {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0;
    text-align: center;
}

.product-purchase-row .product-quantity label {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.product-purchase-row .quantity-buttons {
    display: flex;
    flex-direction: column;
    height: 3rem;
    gap: 0.25rem;
    margin-left: 0.2rem;
}

.product-purchase-row .quantity-buttons .btn {
    border-radius: 0.5rem;
    padding: 0.2rem;
    width: 2.4rem;
    height: calc((100% - 0.25rem) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
    background-color: #ffffff;
    border-color: #c8cdd2;
    color: #333333;
}

.product-purchase-row .quantity-buttons .btn:hover {
    background-color: #ffffff;
    border-color: #7f848b;
    color: #333333;
    box-shadow: none;
    transform: none;
}

.product-purchase-row .quantity-buttons .btn:focus,
.product-purchase-row .quantity-buttons .btn:focus-visible,
.product-purchase-row .quantity-buttons .btn:active {
    background-color: #ffffff;
    border-color: #c8cdd2;
    box-shadow: none;
    color: #333333;
    outline: none;
}

.product-purchase-row .quantity-buttons .btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.product-purchase-row .quantity-buttons .btn.active,
.product-purchase-row .quantity-buttons .btn:focus-visible {
    box-shadow: inset 0 0 0 1px #333;
}

.product-purchase-row .product-cta .btn {
    padding: 0.6rem 1.5rem;
    min-width: 140px;
}

.product-purchase-row .quantity-buttons .btn:not(:disabled):not(.disabled).active,
.product-purchase-row .quantity-buttons .btn:not(:disabled):not(.disabled):active,
.product-purchase-row .quantity-buttons .btn.btn-outline-secondary.dropdown-toggle.show {
    background-color: #ffffff;
    border-color: #c8cdd2;
    color: #333333;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .product-carousel {
        padding: 1rem;
    }

    .product-carousel .carousel-item {
        min-height: 220px;
    }

    .product-page .product-breadcrumb .breadcrumb {
        justify-content: center;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .product-purchase-row .product-cta {
        max-width: 260px;
    }
}

.product-thumbnails .thumbnail-button {
    align-items: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 0.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.product-thumbnails .thumbnail-button.active,
.product-thumbnails .thumbnail-button:focus-visible {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    outline: 0;
}

.product-thumbnails img {
    border-radius: 0.5rem;
    max-height: 80px;
    object-fit: cover;
    width: 100%;
}

.product-hero-copy .lead {
    color: #000000;
}

.product-current-price {
    color: #000000;
}

.product-current-price .pretty-currency {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

.product-variant-picker legend,
.product-quantity-block .form-label {
    color: #7a7a7a;
    font-size: 0.9rem;
    font-weight: 500;
}
.product-options .btn-outline-secondary {
    border: 1px solid #c8cdd2;
    color: #333;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-options .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #333;
    color: #333;
}

.product-options .btn-check:checked + .btn-outline-secondary {
    background-color: transparent;
    border-color: #333;
    box-shadow: inset 0 0 0 1px #333;
    color: #333;
}

.product-options .btn-check:focus + .btn-outline-secondary {
    outline: none;
    box-shadow: inset 0 0 0 1px #333;
    border-color: #333;
    background-color: transparent;
}

.product-options .btn-check:focus-visible + .btn-outline-secondary {
    outline: none;
    box-shadow: inset 0 0 0 1px #333;
    border-color: #333;
    background-color: transparent;
}

.product-quantity-control .product-quantity-input {
    border-radius: 0.75rem;
    font-weight: 600;
}

.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 3rem;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    filter: invert(100%);
    width: 3rem;
    height: 3rem;
}

.product-quantity-input::-webkit-outer-spin-button,
.product-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-quantity-input {
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-cta .add_item {
    border-radius: 999px;
    font-weight: 600;
    background-color: #0071e3;
    border-color: #0071e3;
}

.product-cta .add_item:hover,
.product-cta .add_item:focus,
.product-cta .add_item:active {
    background-color: #0077ed;
    border-color: #0077ed;
}

.product-cashback-info {
    color: #7a7a7a;
    font-size: 0.85rem;
}

.product-cashback-info .material-symbols-outlined {
    font-size: 1rem;
}

.product-feature-list {
    list-style: none;
    margin: 0;
    padding-left: 0.75rem;
}

.product-feature-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.product-feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #0f5132;
}

.product-features-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.product-info-intro {
    color: #000000;
    font-size: 0.95rem;
}

.product-accordion .accordion-button {
    font-weight: 600;
}

.product-accordion .accordion-button:not(.collapsed) {
    color: inherit;
    background-color: rgba(13, 110, 253, 0.08);
}

.product-accordion .accordion-body {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-back-link .btn {
    border-radius: 999px;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.product-back-link .material-symbols-outlined {
    vertical-align: middle;
}

