/* Product page styles */

/* Buy button styles */
.buy-style-button {
    background-color: transparent;
    border: none;
    background-image: linear-gradient(135deg, #7B2CFF, #580BE4);
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(88, 11, 228, 0.4);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.buy-style-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 11, 228, 0.5);
    color: white;
    background-image: linear-gradient(135deg, #7B2CFF, #580BE4);
    border: none;
}

.buy-style-button:active,
.buy-style-button:focus {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(88, 11, 228, 0.3);
    background-image: linear-gradient(135deg, #6A3BFF, #4D0AC2);
    color: white;
    border: none;
    outline: none;
}

.buy-style-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background-image: linear-gradient(135deg, #a0a0a0, #888888) !important;
    box-shadow: none;
    transform: none;
}

/* Payment button styles */
.payment-button-optimal {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.25rem;
    max-width: 320px;
    width: 100%;
    display: inline-block;
}

/* Form controls */
.form-control {
    padding: 0.8rem 1.25rem;
    border: 1px solid #A093FF;
    border-radius: 0.5rem;
    background-color: #fff;
    color: #212529;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #7B2CFF;
    box-shadow: 0 0 0 0.25rem rgba(123, 44, 255, 0.2);
    background-color: #fff;
    color: #212529;
    outline: 0;
}

.form-control::placeholder {
    color: #A093FF;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: #A093FF;
}

.form-control::-moz-placeholder {
    color: #A093FF;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #A093FF;
}

.form-control::-ms-input-placeholder {
    color: #A093FF;
}

/* Form validation styles */
.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.08);
    box-shadow: none;
}

.was-validated .form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    background-color: rgba(220, 53, 69, 0.08);
}

/* Form check styles */
.form-check-input {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border: 1px solid #adb5bd;
}

.form-check-input:checked {
    background-color: #7B2CFF;
    border-color: #7B2CFF;
}

.form-check-input:focus {
    border-color: #9d6aff;
    box-shadow: 0 0 0 0.25rem rgba(123, 44, 255, 0.25);
}

.form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.was-validated .form-check-input:invalid {
    border-color: #dc3545 !important;
    background-color: #fff;
}

.was-validated .form-check-input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Confirmation data styles */
.confirmation-data p {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.confirmation-data .data-label {
    color: #6c757d;
    font-size: 0.9em;
    display: inline-block;
    min-width: 80px;
    margin-right: 1em;
}

.confirmation-data .data-value {
    font-weight: 500;
    color: #343a40;
}

/* Product thumbnail styles */
.product-thumbnail {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 2px solid transparent;
}

.product-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #7B2CFF;
}

/* CDEK map styles */
#cdek-map {
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #eee;
    border-radius: 0.5rem;
}

.pvz-instruction {
    color: #6c757d;
    font-size: 0.95em;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Payment summary styles */
.payment-summary {
    text-align: center;
}

.payment-summary .lead-title {
    display: inline-block;
    text-align: left;
    margin-bottom: 0;
}

.payment-summary .note {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 0.1rem;
    text-align: center;
}
