
:root {
    --veroc-bg: #121315;
    --veroc-surface: #1a1c20;
    --veroc-surface-2: #20242a;
    --veroc-text: #f5f5f2;
    --veroc-text-soft: #d6d2c9;
    --veroc-muted: #bdb6a7;
    --veroc-gold: #d8b45a;
    --veroc-gold-soft: rgba(216,180,90,0.10);
    --veroc-border: rgba(216,180,90,0.42);
    --veroc-border-soft: rgba(255,255,255,0.10);
    --veroc-shadow: 0 18px 42px rgba(0,0,0,0.22);
    --veroc-radius: 22px;
    --veroc-input-bg: rgba(255,255,255,0.04);
}

body.veroc-shippo-ui,
body.veroc-shippo-ui .entry-content,
body.veroc-shippo-ui .site-main,
body.veroc-shippo-ui .woocommerce,
body.veroc-shippo-ui .wc-block-checkout,
body.veroc-shippo-ui .wc-block-cart,
body.veroc-shippo-ui .wc-block-components-sidebar,
body.veroc-shippo-ui .wp-block-woocommerce-checkout,
body.veroc-shippo-ui .wp-block-woocommerce-cart {
    color: var(--veroc-text);
}

body.veroc-shippo-ui.veroc-shippo-ui-cart .wc-block-cart,
body.veroc-shippo-ui.veroc-shippo-ui-checkout .wc-block-checkout,
body.veroc-shippo-ui .woocommerce-checkout,
body.veroc-shippo-ui .woocommerce-cart {
    position: relative;
}

body.veroc-shippo-ui.veroc-shippo-ui-cart .wc-block-cart::before,
body.veroc-shippo-ui.veroc-shippo-ui-checkout .wc-block-checkout::before,
body.veroc-shippo-ui .woocommerce-checkout::before,
body.veroc-shippo-ui .woocommerce-cart::before {
    content: '';
    display: block;
    width: min(720px, 100%);
    height: 1px;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, transparent, rgba(216,180,90,0.35), transparent);
}

body.veroc-shippo-ui .woocommerce-cart-form,
body.veroc-shippo-ui .cart_totals,
body.veroc-shippo-ui form.checkout,
body.veroc-shippo-ui #order_review,
body.veroc-shippo-ui #payment,
body.veroc-shippo-ui .wc-block-checkout__main,
body.veroc-shippo-ui .wc-block-checkout__sidebar,
body.veroc-shippo-ui .wc-block-components-sidebar,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-sidebar,
body.veroc-shippo-ui .wc-block-cart-items,
body.veroc-shippo-ui .wc-block-components-totals-wrapper,
body.veroc-shippo-ui .wc-block-checkout__form {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid var(--veroc-border);
    border-radius: var(--veroc-radius);
    box-shadow: var(--veroc-shadow);
}

body.veroc-shippo-ui .woocommerce-cart-form,
body.veroc-shippo-ui .wc-block-cart-items,
body.veroc-shippo-ui form.checkout,
body.veroc-shippo-ui .wc-block-checkout__main,
body.veroc-shippo-ui .wc-block-checkout__sidebar,
body.veroc-shippo-ui .cart_totals,
body.veroc-shippo-ui #order_review,
body.veroc-shippo-ui #payment,
body.veroc-shippo-ui .wc-block-components-sidebar {
    padding: 24px;
}

body.veroc-shippo-ui h2,
body.veroc-shippo-ui h3,
body.veroc-shippo-ui h4,
body.veroc-shippo-ui .wc-block-components-title,
body.veroc-shippo-ui .wc-block-components-checkout-step__title,
body.veroc-shippo-ui .wc-block-components-totals-item__label,
body.veroc-shippo-ui .wc-block-checkout__sidebar h2,
body.veroc-shippo-ui .wc-block-cart__submit-container h2,
body.veroc-shippo-ui .wc-block-components-checkout-step__heading,
body.veroc-shippo-ui .wc-block-components-address-card__edit,
body.veroc-shippo-ui label,
body.veroc-shippo-ui .components-form-token-field__label {
    color: var(--veroc-text) !important;
}

body.veroc-shippo-ui .wc-block-components-checkout-step,
body.veroc-shippo-ui .wc-block-components-sidebar .wc-block-components-panel,
body.veroc-shippo-ui .shop_table tr,
body.veroc-shippo-ui .cart_item,
body.veroc-shippo-ui .wc_payment_method,
body.veroc-shippo-ui .payment_box,
body.veroc-shippo-ui .wc-block-components-checkout-step__container,
body.veroc-shippo-ui .wc-block-components-address-card,
body.veroc-shippo-ui .wc-block-components-totals-item,
body.veroc-shippo-ui .wc-block-components-order-summary-item,
body.veroc-shippo-ui .wc-block-components-panel,
body.veroc-shippo-ui .wc-block-components-radio-control__option,
body.veroc-shippo-ui .wc-block-components-product-metadata,
body.veroc-shippo-ui .wc-block-components-checkbox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.veroc-shippo-ui .wc-block-components-order-summary,
body.veroc-shippo-ui .wc-block-components-checkout-step__description,
body.veroc-shippo-ui .wc-block-components-totals-coupon,
body.veroc-shippo-ui .wc-block-components-shipping-rates-control__package,
body.veroc-shippo-ui .payment_box,
body.veroc-shippo-ui .wc-block-components-radio-control__option-layout,
body.veroc-shippo-ui .wc-block-components-address-card,
body.veroc-shippo-ui .wc-block-components-checkbox__input,
body.veroc-shippo-ui .wc-block-components-checkbox label,
body.veroc-shippo-ui .wc-block-components-checkout-return-to-cart-button,
body.veroc-shippo-ui .wc-block-components-order-summary-item__quantity,
body.veroc-shippo-ui .wc-block-components-formatted-money-amount,
body.veroc-shippo-ui .wc-block-components-order-summary-item__description,
body.veroc-shippo-ui .wc-block-components-order-summary-item__total-price,
body.veroc-shippo-ui .wc-block-components-order-summary-item__individual-prices,
body.veroc-shippo-ui .wc-block-components-product-name,
body.veroc-shippo-ui .wc-block-components-product-metadata *,
body.veroc-shippo-ui .wc-block-components-address-form__address_2-toggle,
body.veroc-shippo-ui .wc-block-components-checkout-step__heading-content,
body.veroc-shippo-ui .wc-block-components-validation-error,
body.veroc-shippo-ui .wc-block-components-text-input label,
body.veroc-shippo-ui .wc-block-components-address-form label,
body.veroc-shippo-ui .wc-block-components-combobox-control label {
    color: var(--veroc-text) !important;
}

body.veroc-shippo-ui .wc-block-components-text-input,
body.veroc-shippo-ui .wc-block-components-combobox-control,
body.veroc-shippo-ui .wc-block-components-address-form__city,
body.veroc-shippo-ui .wc-block-components-address-form__state,
body.veroc-shippo-ui .wc-block-components-address-form__postcode,
body.veroc-shippo-ui .wc-block-components-address-form__phone,
body.veroc-shippo-ui .wc-block-components-address-form__company,
body.veroc-shippo-ui .wc-block-components-address-form__first_name,
body.veroc-shippo-ui .wc-block-components-address-form__last_name,
body.veroc-shippo-ui .wc-block-components-address-form__country,
body.veroc-shippo-ui .wc-block-components-address-form__address_1,
body.veroc-shippo-ui .wc-block-components-address-form__address_2,
body.veroc-shippo-ui .wc-block-components-checkout-step__content {
    background: transparent !important;
}

body.veroc-shippo-ui input[type="text"],
body.veroc-shippo-ui input[type="email"],
body.veroc-shippo-ui input[type="tel"],
body.veroc-shippo-ui input[type="number"],
body.veroc-shippo-ui input[type="password"],
body.veroc-shippo-ui select,
body.veroc-shippo-ui textarea,
body.veroc-shippo-ui .wc-block-components-text-input input,
body.veroc-shippo-ui .wc-block-components-combobox-control input,
body.veroc-shippo-ui .wc-block-components-address-form input,
body.veroc-shippo-ui .wc-block-components-address-form select,
body.veroc-shippo-ui .wc-block-components-text-input.is-active input,
body.veroc-shippo-ui .wc-block-components-combobox-control.is-active input {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: var(--veroc-input-bg) !important;
    color: var(--veroc-text) !important;
    min-height: 48px;
    box-shadow: none !important;
}

body.veroc-shippo-ui .wc-block-components-text-input,
body.veroc-shippo-ui .wc-block-components-combobox-control,
body.veroc-shippo-ui .wc-block-components-address-form select,
body.veroc-shippo-ui .wc-block-components-address-form input {
    border-radius: 12px !important;
}

body.veroc-shippo-ui input::placeholder,
body.veroc-shippo-ui textarea::placeholder,
body.veroc-shippo-ui .wc-block-components-text-input input::placeholder {
    color: var(--veroc-muted) !important;
    opacity: 1;
}

body.veroc-shippo-ui input:focus,
body.veroc-shippo-ui select:focus,
body.veroc-shippo-ui textarea:focus,
body.veroc-shippo-ui .wc-block-components-text-input input:focus,
body.veroc-shippo-ui .wc-block-components-combobox-control input:focus {
    border-color: var(--veroc-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(216,180,90,0.14) !important;
}

body.veroc-shippo-ui .button,
body.veroc-shippo-ui button,
body.veroc-shippo-ui .wc-block-components-button,
body.veroc-shippo-ui .checkout-button,
body.veroc-shippo-ui #place_order {
    border-radius: 14px !important;
    border: 1px solid var(--veroc-gold) !important;
    background: transparent !important;
    color: var(--veroc-text) !important;
    min-height: 52px;
    padding: 0 20px !important;
    box-shadow: none !important;
}

body.veroc-shippo-ui .button:hover,
body.veroc-shippo-ui button:hover,
body.veroc-shippo-ui .wc-block-components-button:hover,
body.veroc-shippo-ui .checkout-button:hover,
body.veroc-shippo-ui #place_order:hover {
    background: rgba(216,180,90,0.08) !important;
}

body.veroc-shippo-ui .wc-block-components-checkout-return-to-cart-button,
body.veroc-shippo-ui .wc-block-components-totals-coupon__button,
body.veroc-shippo-ui .showcoupon,
body.veroc-shippo-ui .showlogin,
body.veroc-shippo-ui a {
    color: var(--veroc-gold) !important;
}

body.veroc-shippo-ui .wc-block-cart__submit-container,
body.veroc-shippo-ui .cart_totals,
body.veroc-shippo-ui .wc-block-checkout__sidebar,
body.veroc-shippo-ui #order_review {
    position: sticky;
    top: 28px;
}

body.veroc-shippo-ui .wc-block-components-totals-wrapper,
body.veroc-shippo-ui .order-total,
body.veroc-shippo-ui .wc-block-components-totals-footer-item,
body.veroc-shippo-ui .wc-block-components-formatted-money-amount,
body.veroc-shippo-ui .wc-block-components-totals-item__value,
body.veroc-shippo-ui .wc-block-components-product-price,
body.veroc-shippo-ui .amount,
body.veroc-shippo-ui .woocommerce-Price-amount,
body.veroc-shippo-ui .wc-block-components-order-summary-item__total-price,
body.veroc-shippo-ui .wc-block-components-checkout-step__description,
body.veroc-shippo-ui .wc-block-components-address-card__address-section,
body.veroc-shippo-ui .wc-block-components-address-card__edit,
body.veroc-shippo-ui .wc-block-components-checkbox label,
body.veroc-shippo-ui .wc-block-components-checkbox__label,
body.veroc-shippo-ui .wc-block-components-order-summary__button-text,
body.veroc-shippo-ui .wc-block-components-panel__button,
body.veroc-shippo-ui .wc-block-components-panel__button span,
body.veroc-shippo-ui .wc-block-components-radio-control__label,
body.veroc-shippo-ui .wc-block-components-radio-control-accordion-option__content,
body.veroc-shippo-ui .wc-block-components-text-input label,
body.veroc-shippo-ui .wc-block-components-combobox-control label,
body.veroc-shippo-ui .wc-block-components-address-form label,
body.veroc-shippo-ui .wc-block-components-order-summary-item__description,
body.veroc-shippo-ui .wc-block-components-product-name,
body.veroc-shippo-ui .wc-block-components-validation-error p,
body.veroc-shippo-ui .wc-block-components-totals-shipping__change-address__link,
body.veroc-shippo-ui .wc-block-components-shipping-address,
body.veroc-shippo-ui .wc-block-components-breadcrumb,
body.veroc-shippo-ui .wc-block-components-checkbox svg {
    color: var(--veroc-text) !important;
}

body.veroc-shippo-ui .woocommerce-error,
body.veroc-shippo-ui .woocommerce-info,
body.veroc-shippo-ui .woocommerce-message,
body.veroc-shippo-ui .wc-block-components-notice-banner {
    border-radius: 14px;
    border-color: rgba(216,180,90,0.36) !important;
    background: rgba(216,180,90,0.10) !important;
    color: var(--veroc-text) !important;
}

body.veroc-shippo-ui .veroc-stripe-safe,
body.veroc-shippo-ui .veroc-stripe-safe * {
    max-width: 100%;
}

body.veroc-shippo-ui .payment_box,
body.veroc-shippo-ui .wc-payment-gateway-method,
body.veroc-shippo-ui .wc-block-components-radio-control__option,
body.veroc-shippo-ui .wc-block-components-checkout-step {
    border-radius: 16px;
}

.shippo-wc-rate-label,
.veroc-rate-label {
    display: block;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 16px 18px;
    transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
    background: rgba(255,255,255,0.02);
}

.veroc-rate-item.is-selected .veroc-rate-label,
.shippo-wc-rate-label:hover {
    border-color: var(--veroc-gold);
    transform: translateY(-1px);
    background: rgba(216,180,90,0.08);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.shippo-wc-rate-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.shippo-wc-rate-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shippo-wc-rate-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--veroc-gold);
}

.shippo-wc-rate-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--veroc-text);
}

.shippo-wc-rate-badge,
.shippo-wc-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(216,180,90,0.12);
    color: var(--veroc-text);
    font-size: 11px;
    line-height: 1.4;
}

.shippo-wc-rate-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--veroc-gold);
}

.shippo-wc-rate-arrow {
    color: var(--veroc-muted);
    font-size: 22px;
}

.shippo-wc-rate-extra {
    margin: 10px 0 0 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.shippo-wc-checkout-note {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(216,180,90,0.08);
    border: 1px solid rgba(216,180,90,0.18);
    color: var(--veroc-text);
}

body.veroc-shippo-ui .wc-block-components-product-metadata,
body.veroc-shippo-ui .wc-block-components-product-metadata * {
    color: var(--veroc-text-soft) !important;
}

body.veroc-shippo-ui .wc-block-components-product-badge,
body.veroc-shippo-ui .onsale {
    background: var(--veroc-gold-soft) !important;
    color: var(--veroc-text) !important;
    border-radius: 999px;
    border: 1px solid rgba(216,180,90,0.24);
}

body.veroc-shippo-ui .wc-block-components-quantity-selector,
body.veroc-shippo-ui .quantity {
    border-radius: 999px;
    border: 1px solid var(--veroc-border);
    background: rgba(255,255,255,0.02);
}

body.veroc-shippo-ui .wc-block-components-quantity-selector input,
body.veroc-shippo-ui .quantity input {
    background: transparent !important;
    border: 0 !important;
    min-height: 38px;
}

body.veroc-shippo-ui .veroc-shippo-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
    padding: 18px 22px;
    border: 1px solid var(--veroc-border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
    box-shadow: var(--veroc-shadow);
}

body.veroc-shippo-ui .veroc-shippo-page-header h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

body.veroc-shippo-ui .veroc-shippo-page-header p {
    margin: 0;
    color: var(--veroc-text-soft);
}

body.veroc-shippo-ui .veroc-shippo-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(216,180,90,0.10);
    border: 1px solid rgba(216,180,90,0.24);
    color: var(--veroc-text);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 990px) {
    body.veroc-shippo-ui .wc-block-cart__submit-container,
    body.veroc-shippo-ui .cart_totals,
    body.veroc-shippo-ui .wc-block-checkout__sidebar,
    body.veroc-shippo-ui #order_review {
        position: static;
        top: auto;
    }
}

@media (max-width: 782px) {
    .shippo-wc-rate-card {
        grid-template-columns: 1fr auto;
    }

    .shippo-wc-rate-arrow {
        display: none;
    }

    body.veroc-shippo-ui .woocommerce-cart-form,
    body.veroc-shippo-ui .wc-block-cart-items,
    body.veroc-shippo-ui form.checkout,
    body.veroc-shippo-ui .wc-block-checkout__main,
    body.veroc-shippo-ui .wc-block-checkout__sidebar,
    body.veroc-shippo-ui .cart_totals,
    body.veroc-shippo-ui #order_review,
    body.veroc-shippo-ui #payment,
    body.veroc-shippo-ui .wc-block-components-sidebar {
        padding: 16px;
    }

    body.veroc-shippo-ui .veroc-shippo-page-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* V4.5.6 frontend spacing + select color + summary cleanup */
body.veroc-shippo-ui .wc-block-components-checkout-step__content,
body.veroc-shippo-ui .wc-block-components-address-card,
body.veroc-shippo-ui .wc-block-components-address-form,
body.veroc-shippo-ui .wc-block-components-shipping-address,
body.veroc-shippo-ui .wc-block-components-billing-address,
body.veroc-shippo-ui .wc-block-components-address-form-wrapper {
    padding-left: 14px;
    padding-right: 14px;
}

body.veroc-shippo-ui .wc-block-components-address-card,
body.veroc-shippo-ui .wc-block-components-checkout-step__container {
    border-radius: 16px;
}

body.veroc-shippo-ui .wc-block-components-combobox-control select,
body.veroc-shippo-ui .wc-block-components-address-form select,
body.veroc-shippo-ui select {
    background-color: rgba(255,255,255,0.08) !important;
    color: #f5f5f2 !important;
    -webkit-text-fill-color: #f5f5f2 !important;
}

body.veroc-shippo-ui .wc-block-components-combobox-control option,
body.veroc-shippo-ui .wc-block-components-address-form option,
body.veroc-shippo-ui select option {
    background: #1a1c20 !important;
    color: #f5f5f2 !important;
}

body.veroc-shippo-ui .wc-block-components-text-input.is-active input,
body.veroc-shippo-ui .wc-block-components-combobox-control.is-active input,
body.veroc-shippo-ui .wc-block-components-address-form input:focus,
body.veroc-shippo-ui .wc-block-components-address-form select:focus {
    background-color: rgba(255,255,255,0.08) !important;
}

body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-coupon,
body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-item,
body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-footer-item,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-coupon,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-item,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-footer-item {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-wrapper {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-item,
body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-footer-item,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-item,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-footer-item {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.veroc-shippo-ui .wc-block-checkout__sidebar .wc-block-components-totals-footer-item:last-child,
body.veroc-shippo-ui .wc-block-cart .wc-block-components-totals-footer-item:last-child {
    border-bottom: 0 !important;
}

@media (max-width: 782px) {
    body.veroc-shippo-ui .wc-block-components-checkout-step__content,
    body.veroc-shippo-ui .wc-block-components-address-card,
    body.veroc-shippo-ui .wc-block-components-address-form,
    body.veroc-shippo-ui .wc-block-components-shipping-address,
    body.veroc-shippo-ui .wc-block-components-billing-address,
    body.veroc-shippo-ui .wc-block-components-address-form-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
}
