.product-detail {
    color: #243447;
}

.product-breadcrumb {
    display: flex;
    gap: 10px;
    color: #718096;
    font-size: 14px;
}

    .product-breadcrumb a {
        color: #2767a8;
        text-decoration: none;
    }

.product-main-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e1e8ef;
}

    .product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid #e1e8ef;
    background: #fff;
}

    .thumbnail.active,
    .thumbnail:hover {
        border-color: #176ab3;
    }

    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.purchase-panel h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}

.product-category {
    color: #2770ad;
    font-size: 14px;
    font-weight: 600;
}

.product-summary {
    margin: 12px 0 0;
    color: #64748b;
    line-height: 1.7;
}

.price-panel {
    padding: 20px 24px;
    background: #f0f6fc;
    border-left: 3px solid #176ab3;
}

.price-label,
.price-note {
    display: block;
    color: #64748b;
    font-size: 13px;
}

.product-price {
    min-height: 48px;
    margin: 5px 0;
    color: #1469ae;
    font-size: 32px;
    font-weight: 700;
}

    .product-price.unselected {
        display: flex;
        align-items: center;
        color: #64748b;
        font-size: 19px;
        font-weight: 500;
    }

.product-meta {
    display: grid;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5ebf0;
    font-size: 14px;
}

    .product-meta div {
        display: flex;
        gap: 20px;
    }

    .product-meta span {
        width: 48px;
        color: #718096;
    }

    .product-meta strong {
        font-weight: 500;
    }

.sku-group {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
    margin: 18px 0;
}

.sku-label {
    padding-top: 9px;
    color: #526477;
    font-size: 14px;
}

.sku-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sku-option {
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid #d5dfe8;
    background: #fff;
    color: #334155;
    font-size: 14px;
}

    .sku-option:hover:not(:disabled),
    .sku-option.selected {
        border-color: #176ab3;
        color: #176ab3;
        background: #f0f7fd;
    }

    .sku-option.selected {
        box-shadow: inset 0 0 0 1px #176ab3;
    }

    .sku-option:disabled {
        border-color: #e5e9ed;
        background: #f4f5f6;
        color: #a3adb7;
        cursor: not-allowed;
    }

.quantity-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
}

    .quantity-row label {
        width: 72px;
        color: #526477;
    }

.quantity-control {
    display: flex;
    height: 38px;
    border: 1px solid #d5dfe8;
}

    .quantity-control button {
        width: 38px;
        border: 0;
        background: #f5f8fb;
        color: #34536f;
        font-size: 19px;
    }

        .quantity-control button:disabled {
            color: #a3adb7;
        }

    .quantity-control input {
        width: 58px;
        border: 0;
        border-right: 1px solid #d5dfe8;
        border-left: 1px solid #d5dfe8;
        text-align: center;
        outline: 0;
        appearance: textfield;
    }

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

.quantity-hint {
    color: #c04444;
    font-size: 13px;
}

.purchase-actions {
    display: flex;
    gap: 12px;
}

    .purchase-actions .btn {
        min-width: 150px;
        padding: 11px 20px;
        border-radius: 4px;
        font-weight: 600;
    }

    .purchase-actions .btn-primary {
        background: #176ab3;
        border-color: #176ab3;
    }

    .purchase-actions .btn-outline-primary {
        color: #176ab3;
        border-color: #176ab3;
    }

    .purchase-actions .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.purchase-feedback {
    min-height: 22px;
    color: #176ab3;
    font-size: 14px;
}

@media (max-width: 575px) {
    .purchase-panel h1 {
        font-size: 23px;
    }

    .price-panel {
        padding: 16px;
    }

    .sku-group {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .sku-label {
        padding-top: 0;
    }

    .purchase-actions .btn {
        flex: 1;
        min-width: 0;
    }
}
