/* Uogų Vazonėlis – WooCommerce krepšelio ir apmokėjimo puslapių stilius */

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content,
.woocommerce-cart main,
.woocommerce-checkout main,
.woocommerce-account main {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    margin: 42px 0 28px;
    color: #111111;
}

.woocommerce table.shop_table,
.woocommerce-cart-form,
.woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details,
.woocommerce .cart_totals,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-content {
    border: 1px solid rgba(201, 162, 39, 0.26) !important;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.05);
    overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: rgba(201, 162, 39, 0.18) !important;
    padding: 18px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    padding: 28px;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 26px;
    color: #111111;
    margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    min-height: 48px;
    border: 1px solid rgba(17, 17, 17, 0.18) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    background: #ffffff !important;
}

.woocommerce form .form-row label {
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border: 0 !important;
    padding: 15px 30px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: #C9A227 !important;
    color: #111111 !important;
    transform: translateY(-1px);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: #C9A227 !important;
    background: #F8F5EF !important;
    color: #111111 !important;
    border-radius: 14px;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #C9A227 !important;
}

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    padding: 28px;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 34px;
}

.woocommerce-checkout #payment {
    background: #F8F5EF !important;
    border-radius: 18px !important;
}

@media (max-width: 800px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .entry-content,
    .woocommerce-checkout .entry-content,
    .woocommerce-account .entry-content,
    .woocommerce-cart main,
    .woocommerce-checkout main,
    .woocommerce-account main {
        padding-left: 16px;
        padding-right: 16px;
    }
}
