.wcc-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.wcc-checkout-errors {
    background: #fde8e8;
    color: #c62828;
    padding: 12px 16px;
    border-radius: var(--wcc-radius);
    margin-bottom: 16px;
    font-size: 16px;
}

.wcc-checkout-errors p {
    margin: 0 0 4px;
}

.wcc-checkout-errors p:last-child {
    margin-bottom: 0;
}

.wcc-checkout-errors[hidden] {
    display: none;
}

.wcc-section { margin-bottom: 20px; }
.wcc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wcc-section h2 { font-size: 20px !important; margin: 0; }

.wcc-city-link { font-size: 14px; color: var(--wcc-muted); }
.wcc-city-link a { color: #0066cc; text-decoration: none; }

.wcc-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.wcc-field {
    min-width: 0;
}

.wcc-field-input-wrap {
    position: relative;
}

.wcc-field-input-wrap input {
    width: 100%;
    padding: 14px 44px 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
    transition: border-color 0.2s;
}

.wcc-field-input-wrap input.is-invalid {
    border-color: #e31e24;
}

body.wcc-store-page button.wcc-field-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px !important;
    justify-content: center !important;
    align-items: center;
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    color: #999 !important;
    font-size: 22px;
    font-weight: normal !important;
    line-height: 1 !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0;
    display: flex;
    box-shadow: none !important;
    text-transform: none;
    border-radius: 0 !important;
}

.wcc-field-clear[hidden] {
    display: none;
}

.wcc-field-error {
    margin: 6px 0 0 18px;
    font-size: 13px;
    color: #e31e24;
    line-height: 1.3;
}

.wcc-field-error[hidden] {
    display: none;
}

.wcc-recipient-other-fields .wcc-field-input-wrap input {
    padding: 14px 44px 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
}

.wcc-field input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
}

body.wcc-store-page .wcc-page .wcc-section-header .wcc-link-btn,
body.wcc-store-page .wcc-page button.wcc-link-btn {
    font-family: var(--wcc-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
}

.wcc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
}

body.wcc-store-page .wcc-page label.wcc-toggle {
    font-family: var(--wcc-font) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    color: var(--wcc-text) !important;
}

.wcc-toggle input { display: none; }

.wcc-toggle-slider {
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    transition: background 0.2s;
}

.wcc-toggle-slider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.wcc-toggle input:checked + .wcc-toggle-slider {
    background: var(--wcc-primary);
}

.wcc-toggle input:checked + .wcc-toggle-slider::after {
    transform: translateX(20px);
}

.wcc-recipient-other-fields {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.wcc-recipient-other-fields.is-visible {
    display: grid;
}

.wcc-recipient-other-fields .wcc-field {
    min-width: 0;
}

.wcc-recipient-other-fields input:not(.wcc-field-input-wrap input) {
    padding: 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
}

#wcc-delivery-section .wcc-checkout-delivery-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

#wcc-delivery-section button.wcc-delivery-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    padding: 14px 16px !important;
    min-height: 68px;
    height: auto !important;
    border: 2px solid transparent !important;
    border-radius: var(--wcc-radius) !important;
    background-color: #f2f4f7 !important;
    background-image: none !important;
    color: var(--wcc-text) !important;
    font-family: var(--wcc-font);
    font-size: inherit;
    font-weight: normal;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left;
    text-transform: none;
    transition: background 0.2s, border-color 0.2s;
}

#wcc-delivery-section .wcc-delivery-tab strong {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--wcc-text);
}

#wcc-delivery-section .wcc-delivery-tab span {
    font-size: 13px;
    color: var(--wcc-muted);
    line-height: 1.35;
}

#wcc-delivery-section .wcc-delivery-tab.active {
    background-color: #fff !important;
    background-image: none !important;
    border-color: #1a1a1a !important;
}

.wcc-delivery-content {
    margin-top: 4px;
}

.wcc-delivery-content--loading .wcc-delivery-empty,
.wcc-delivery-content--loading .wcc-delivery-selected-card,
.wcc-delivery-content--loading .wcc-delivery-rates {
    display: none !important;
}

.wcc-delivery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    padding: 40px 24px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    background: #fff;
    color: var(--wcc-muted);
    font-size: 14px;
    line-height: 1.4;
}

.wcc-delivery-loading[hidden] {
    display: none !important;
}

.wcc-delivery-content > [hidden] {
    display: none !important;
}

.wcc-delivery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 40px 24px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    background: #fff;
}

.wcc-delivery-empty-inner {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.wcc-delivery-empty-title {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--wcc-text) !important;
}

.wcc-delivery-empty-text {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--wcc-text);
}

body.wcc-store-page .wcc-delivery-empty-action {
    min-width: 240px;
    min-height: 48px;
    padding: 14px 28px !important;
}

.wcc-delivery-selected-card {
    padding-top: 4px;
}

.wcc-delivery-selected-layout {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
    align-items: start;
}

.wcc-delivery-selected-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wcc-delivery-selected-head strong {
    font-size: 16px;
    font-weight: 700;
}

body.wcc-store-page button.wcc-delivery-change {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    background-image: none !important;
    color: #0066cc !important;
    font-size: 15px;
    font-weight: inherit !important;
    box-shadow: none !important;
    cursor: pointer;
    text-transform: none;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: unset !important;
}

.wcc-delivery-change:hover {
    text-decoration: underline;
}

.wcc-delivery-selected-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--wcc-text);
}

.wcc-delivery-selected-address::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--wcc-pickup-marker-color, #0066cc);
}

.wcc-delivery-selected-meta {
    margin: 0;
    font-size: 14px;
    color: var(--wcc-muted);
    line-height: 1.45;
}

.wcc-delivery-selected-address--plain::before {
    display: none;
}

.wcc-delivery-transport-card {
    border: 1px solid #e8e8e8;
    border-radius: var(--wcc-radius);
    padding: 14px 16px;
    background: #fff;
}

.wcc-delivery-transport-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.wcc-delivery-transport-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wcc-delivery-transport-card-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.wcc-delivery-transport-card-text > span {
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.35;
}

.wcc-delivery-transport-card-desc {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #8c8c8c;
}

.wcc-delivery-transport-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 14px;
}

.wcc-delivery-transport-card-meta strong {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.wcc-delivery-transport-card-meta span {
    color: #8c8c8c;
}

.wcc-delivery-transport-card-logo {
    display: block;
    width: auto !important;
    height: 24px !important;
    max-width: 52px !important;
    max-height: 24px !important;
    object-fit: contain !important;
    flex-shrink: 0;
}

.wcc-delivery-transport-card-logo--dellin {
    height: 28px !important;
    max-width: 36px !important;
    max-height: 28px !important;
}

.wcc-delivery-transport-card-logo--pec {
    height: 20px !important;
    max-width: 48px !important;
    max-height: 20px !important;
}

.wcc-delivery-selected-map {
    width: 100%;
    height: 140px;
    border-radius: var(--wcc-radius);
    overflow: hidden;
    background: #e8e8e8;
}

.wcc-delivery-selected-map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcc-delivery-storage-note {
    margin: 28px 0 0;
    font-size: 15px;
    color: var(--wcc-text);
}

.wcc-courier-comment-wrap {
    margin-top: 16px;
}

.wcc-courier-comment-wrap[hidden] {
    display: none;
}

.wcc-courier-comment-input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-family: var(--wcc-font);
    font-size: 15px;
    line-height: normal;
    color: var(--wcc-text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.wcc-courier-comment-input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.wcc-courier-comment-input::placeholder {
    color: var(--wcc-muted);
    opacity: 1;
}

body.wcc-store-page .wcc-page .wcc-courier-comment-wrap .wcc-courier-comment-input,
body.wcc-store-page .wcc-page #wcc-courier-comment {
    display: block !important;
    align-items: unset !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    padding: 14px 18px !important;
    border: 1px solid var(--wcc-border) !important;
    border-radius: var(--wcc-radius-field) !important;
    font-family: var(--wcc-font) !important;
    font-size: 15px !important;
    font-weight: inherit !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    color: var(--wcc-text) !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.wcc-store-page .wcc-page #wcc-courier-comment:focus {
    outline: none !important;
    border-color: #1a1a1a !important;
}

body.wcc-store-page .wcc-page #wcc-courier-comment::placeholder {
    color: var(--wcc-muted) !important;
    opacity: 1 !important;
}

.wcc-delivery-rates {
    margin-bottom: 16px;
}

.wcc-delivery-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
}

.wcc-delivery-rate.active {
    border-color: #1a1a1a;
}

.wcc-delivery-rate-cost {
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}

#wcc-payment-section h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Beat WooCommerce `#payment ul.payment_methods` rules (ID specificity). */
body.wcc-store-page.woocommerce-checkout #payment,
body.wcc-store-page #payment.woocommerce-checkout-payment {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid.wc_payment_methods,
body.wcc-store-page #payment ul.wcc-payment-grid,
body.wcc-store-page ul.wcc-payment-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    align-items: stretch;
    text-align: left !important;
}

/* WC clearfix ::before/::after become grid items and leave an empty first cell. */
body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid::before,
body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid::after,
body.wcc-store-page #payment ul.wcc-payment-grid::before,
body.wcc-store-page #payment ul.wcc-payment-grid::after,
body.wcc-store-page ul.wcc-payment-grid::before,
body.wcc-store-page ul.wcc-payment-grid::after {
    content: none !important;
    display: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid > li.wc_payment_method,
body.wcc-store-page #payment ul.wcc-payment-grid > li.wcc-payment-card,
body.wcc-store-page ul.wcc-payment-grid > li.wc_payment_method {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 18px 20px !important;
    border: 2px solid transparent !important;
    border-radius: var(--wcc-radius) !important;
    cursor: pointer;
    background-color: #f2f4f7 !important;
    background-image: none !important;
    color: var(--wcc-text, #1a1a1a) !important;
    font-family: var(--wcc-font);
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: background 0.2s, border-color 0.2s;
    height: auto !important;
    min-height: 96px !important;
    width: auto !important;
    max-width: none !important;
    position: relative !important;
    list-style: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid > li.wc_payment_method:hover,
body.wcc-store-page ul.wcc-payment-grid > li.wcc-payment-card:hover {
    border-color: transparent !important;
    box-shadow: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid > li.wc_payment_method.active,
body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid > li.wc_payment_method.is-active,
body.wcc-store-page ul.wcc-payment-grid > li.wcc-payment-card.active,
body.wcc-store-page ul.wcc-payment-grid > li.wcc-payment-card.is-active {
    background-color: #fff !important;
    background-image: none !important;
    border-color: #1a1a1a !important;
    box-shadow: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid li input.input-radio,
body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid li input[type="radio"],
body.wcc-store-page ul.wcc-payment-grid .input-radio {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    float: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid li label,
body.wcc-store-page ul.wcc-payment-grid label {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    flex: 1 1 auto;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.wcc-payment-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.wcc-payment-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.wcc-payment-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.wcc-payment-badge {
    display: inline-flex;
    align-items: center;
    background: var(--wcc-accent, #00a046);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.wcc-payment-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 56px;
    line-height: 0;
}

.wcc-payment-card-icon img,
.wcc-payment-card-icon svg {
    display: block;
    max-height: 28px;
    max-width: 56px;
    width: auto;
    height: auto;
}

.wcc-payment-card-desc {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
    line-height: 1.45;
    font-weight: 400;
}

.wcc-payment-card-desc p {
    margin: 0;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid .payment_box,
body.wcc-store-page ul.wcc-payment-grid .payment_box {
    margin-top: 12px !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #8a8a8a !important;
    font-weight: 400 !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid .payment_box p,
body.wcc-store-page ul.wcc-payment-grid .payment_box p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #8a8a8a !important;
    font-weight: 400 !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid .payment_box::before,
body.wcc-store-page ul.wcc-payment-grid .payment_box::before {
    display: none !important;
    content: none !important;
}

body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid .payment_box[style*="display: none"],
body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid .payment_box[style*="display:none"],
body.wcc-store-page ul.wcc-payment-grid .payment_box[style*="display: none"],
body.wcc-store-page ul.wcc-payment-grid .payment_box[style*="display:none"] {
    border-top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wcc-payment-fields-wrap {
    margin-top: 0;
}

.wcc-gateway-place-order {
    margin: 16px 0 0;
    position: relative;
}

/* Hidden classic WC place-order — we use #wcc-place-order in the sidebar. */
#wcc-payment-checkout-form #place_order {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

#yandex-pay-and-split-button-container:empty {
    display: none;
}

#yandex-pay-and-split-button-container:not(:empty) {
    margin: 12px 0;
}

.wcc-checkout-sync-fields {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.wcc-payment-grid.is-invalid > li.wc_payment_method {
    border-color: #e31e24 !important;
}

/* WC checkout.js leaves a stuck blockUI overlay on #payment when we drop
   the payment fragment — kill it so tiles stay clickable. */
body.wcc-store-page #payment > .blockUI,
body.wcc-store-page .woocommerce-checkout-payment > .blockUI,
body.wcc-store-page #wcc-payment-checkout-form > .blockUI {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

.wcc-payment-fields-wrap {
    margin-top: 16px;
}

.wcc-payment-fields-wrap[hidden] {
    display: none !important;
}

.wcc-payment-fields {
    padding: 16px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    background: #fff;
}

.wcc-payment-fields .woocommerce-info,
.wcc-payment-fields .woocommerce-error,
.wcc-payment-fields .woocommerce-message {
    margin: 0 0 12px;
}

.wcc-payment-fields .form-row {
    margin: 0 0 12px;
}

.wcc-payment-fields .form-row:last-child {
    margin-bottom: 0;
}

.wcc-payment-fields iframe {
    max-width: 100%;
}

.wcc-empty-message {
    color: var(--wcc-muted);
    font-size: 14px;
    padding: 12px 0;
}

.wcc-api-error {
    color: #c0392b;
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #fdecea;
    border-radius: var(--wcc-radius);
    line-height: 1.4;
}

.wcc-info-box {
    background: #f5f5f5;
    padding: 12px 16px;
    border-radius: var(--wcc-radius);
    font-size: 13px;
    color: var(--wcc-muted);
    margin-top: 16px;
}

.wcc-back-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--wcc-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.wcc-back-to-cart:hover {
    color: var(--wcc-primary);
}

.wcc-back-to-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.wcc-checkout-sidebar .wcc-btn-block { margin-top: 16px; }

.wcc-checkout-summary {
    display: flex;
    flex-direction: column;
}

.wcc-checkout-summary-inner .wcc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--wcc-text);
}

.wcc-checkout-summary-inner .wcc-summary-meta {
    color: var(--wcc-muted);
}

.wcc-checkout-summary-inner .wcc-summary-savings {
    font-size: 14px;
    color: var(--wcc-muted);
}

.wcc-checkout-summary-inner .wcc-summary-chevron {
    display: inline-block;
    font-size: 11px;
    margin-left: 2px;
    opacity: 0.55;
    vertical-align: middle;
}

.wcc-checkout-summary-inner .wcc-summary-savings-amount {
    color: var(--wcc-accent);
    font-weight: 600;
}

.wcc-checkout-summary-inner .wcc-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
    border: none;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.wcc-info-notice,
.wcc-summary-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f5f5f5;
    border-radius: var(--wcc-radius);
    padding: 12px 14px;
    font-size: 13px;
    color: var(--wcc-muted);
    line-height: 1.45;
}

.wcc-summary-notice {
    margin: 20px 0 16px;
}

.wcc-info-notice-icon,
.wcc-summary-notice-icon {
    flex-shrink: 0;
    line-height: 1.45;
}

.wcc-info-notice p,
.wcc-summary-notice p {
    margin: 0;
}

.wcc-estimate-notice {
    margin: 14px 0 0;
}

.wcc-consent-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.wcc-consent-group .wcc-consent {
    margin: 0;
}

.wcc-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.45;
    color: var(--wcc-muted);
}

.wcc-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    cursor: pointer;
}

body.wcc-store-page .wcc-page label.wcc-consent {
    font-family: var(--wcc-font) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    color: var(--wcc-muted) !important;
}

body.wcc-store-page .wcc-page .wcc-consent-text {
    font-family: var(--wcc-font) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    color: inherit !important;
}

body.wcc-store-page .wcc-page .wcc-consent-text a {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: #0066cc !important;
    text-decoration: underline;
}

.wcc-consent-text a {
    color: #0066cc;
    text-decoration: underline;
}

.wcc-consent.is-invalid .wcc-consent-text {
    color: #c62828;
}

.wcc-consent-error {
    margin: -8px 0 12px;
    font-size: 13px;
    color: #c62828;
}

.wcc-consent-error[hidden] {
    display: none;
}

.wcc-checkout-summary #wcc-place-order {
    margin-top: 0;
}

body.wcc-store-page #wcc-place-order {
    gap: 10px;
    min-height: 52px;
    border-radius: var(--wcc-radius-button) !important;
}

body.wcc-store-page #wcc-place-order:hover,
body.wcc-store-page #wcc-place-order:focus,
body.wcc-store-page #wcc-place-order:active {
    border-radius: var(--wcc-radius-button) !important;
    box-shadow: none !important;
}

#wcc-place-order .wcc-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wcc-spin 0.7s linear infinite;
    flex-shrink: 0;
}

#wcc-place-order.wcc-loading {
    opacity: 0.92;
    pointer-events: none;
}

#wcc-place-order.wcc-loading .wcc-spinner {
    display: block;
}

@keyframes wcc-spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.wcc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.wcc-modal[hidden] { display: none; }

.wcc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wcc-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

body.wcc-store-page button.wcc-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 3;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff !important;
    background-image: none !important;
    border: none !important;
    cursor: pointer;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    color: var(--wcc-muted) !important;
    padding: 0 !important;
    line-height: 0 !important;
}

body.wcc-store-page button.wcc-modal-close .wcc-modal-close-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.wcc-modal-layout {
    display: grid;
    grid-template-columns: minmax(320px, 400px) 1fr;
    height: 100%;
    min-height: 0;
}

.wcc-modal-sidebar {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    overflow-y: auto;
    border-right: 1px solid var(--wcc-border);
    min-height: 0;
}

body.wcc-store-page button.wcc-modal-back {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
    width: auto;
    height: auto !important;
    min-height: unset !important;
    margin-bottom: 20px;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    background-image: none !important;
    color: var(--wcc-muted) !important;
    font-family: var(--wcc-font) !important;
    font-size: 15px;
    font-weight: inherit;
    line-height: normal;
    box-shadow: none !important;
    cursor: pointer;
    text-transform: none;
    text-align: left;
}

body.wcc-store-page button.wcc-modal-back:hover,
body.wcc-store-page button.wcc-modal-back:focus,
body.wcc-store-page button.wcc-modal-back:active {
    color: var(--wcc-text) !important;
    background: none !important;
    background-image: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
}

.wcc-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.2;
}

.wcc-modal-panel-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.wcc-hint {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--wcc-muted);
    line-height: 1.4;
}

.wcc-modal-tabs.wcc-delivery-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    background: #f3f3f3;
    padding: 4px;
    border-radius: var(--wcc-radius);
    margin-bottom: 24px;
}

.wcc-modal-tabs button.wcc-delivery-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    text-align: center;
    border: 2px solid transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--wcc-text) !important;
    font-family: var(--wcc-font);
    font-size: inherit;
    font-weight: normal;
    box-shadow: none !important;
    text-transform: none;
    border-radius: 10px !important;
    padding: 10px 8px !important;
    min-height: 72px;
    height: auto !important;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.wcc-modal-tabs .wcc-delivery-tab strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    color: var(--wcc-text);
}

.wcc-modal-tabs .wcc-delivery-tab span {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: var(--wcc-muted);
}

.wcc-modal-tabs .wcc-delivery-tab.active {
    background-color: #fff !important;
    background-image: none !important;
    border-color: #1a1a1a !important;
}

.wcc-modal-panel {
    min-height: 0;
}

.wcc-modal-panel .wcc-pickup-list {
    max-height: 240px;
    overflow-y: auto;
    margin-top: 4px;
}

.wcc-search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.wcc-search-wrap .wcc-search-input {
    width: 100%;
    padding: 14px 44px 14px 18px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
    margin-bottom: 0;
}

.wcc-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.45;
    pointer-events: none;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}

.wcc-address-details input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius-field);
    font-size: 15px;
}

.wcc-modal-confirm {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    min-height: 52px;
    padding: 14px 24px;
    line-height: 1.25;
}

.wcc-modal-confirm .wcc-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wcc-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.wcc-modal-confirm.wcc-loading {
    opacity: 0.92;
    pointer-events: none;
}

.wcc-modal-confirm.wcc-loading .wcc-spinner {
    display: block;
}

.wcc-modal-confirm.wcc-loading .wcc-modal-confirm-label {
    opacity: 0.85;
}

.wcc-modal-map {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #e8e8e8;
}

.wcc-modal-map .wcc-static-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wcc-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: var(--wcc-muted);
    font-size: 15px;
    line-height: 1.5;
}

.wcc-yandex-cluster {
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    border-radius: 50%;
    background: #ff5226;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    box-sizing: border-box;
}

.wcc-yandex-cluster__count {
    display: inline-block;
    min-width: 1ch;
}

.wcc-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    margin-bottom: 12px;
    font-size: 15px;
}

.wcc-pickup-list {
    max-height: none;
    overflow-y: auto;
    flex: 1;
}

.wcc-pickup-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--wcc-border);
    cursor: pointer;
}

.wcc-pickup-item:hover,
.wcc-pickup-item.selected { background: transparent; }

.wcc-pickup-item > div:first-child {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.wcc-pickup-item .availability {
    font-size: 13px;
    color: var(--wcc-accent);
    font-weight: 500;
}

.wcc-address-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.wcc-transport-rate {
    padding: 12px;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    margin-bottom: 8px;
    cursor: pointer;
}

.wcc-transport-rate.selected { border-color: #1a1a1a; }

.wcc-disclaimer { font-size: 12px; color: var(--wcc-muted); margin-top: 12px; }

/* Success */
.wcc-success-card { text-align: center; max-width: 560px; margin: 48px auto; padding: 48px 32px; }
.wcc-success-icon {
    width: 64px;
    height: 64px;
    background: var(--wcc-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}
.wcc-success-number { font-size: 18px; margin: 16px 0; }
.wcc-success-summary { margin: 24px 0; text-align: left; }

@media (max-width: 768px) {
    .wcc-desktop-only {
        display: none !important;
    }

    .wcc-mobile-checkout {
        display: block;
        margin-bottom: 12px;
    }

    .wcc-back-to-cart {
        margin-bottom: 12px;
        font-size: 14px;
    }

    #wcc-recipient-section.wcc-section {
        margin-bottom: 12px;
    }

    #wcc-recipient-section .wcc-section-header {
        margin-bottom: 14px;
    }

    #wcc-recipient-section h2 {
        font-size: 18px !important;
    }

    #wcc-recipient-section .wcc-fields {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }

    .wcc-mobile-checkout-card {
        padding: 0;
        overflow: hidden;
    }

    body.wcc-store-page button.wcc-mobile-step {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 64px;
        padding: 14px 16px !important;
        border: none !important;
        border-bottom: 1px solid var(--wcc-border) !important;
        border-radius: 0 !important;
        background: #fff !important;
        background-image: none !important;
        color: var(--wcc-text) !important;
        font-family: var(--wcc-font) !important;
        font-size: inherit !important;
        font-weight: normal !important;
        text-align: left;
        text-transform: none;
        box-shadow: none !important;
        cursor: pointer;
    }

    body.wcc-store-page button.wcc-mobile-step:last-child {
        border-bottom: none !important;
    }

    body.wcc-store-page button.wcc-mobile-step:hover,
    body.wcc-store-page button.wcc-mobile-step:focus-visible {
        background-color: #fafafa !important;
    }

    .wcc-mobile-step--static {
        padding: 14px 16px;
        border-bottom: 1px solid var(--wcc-border);
    }

    .wcc-mobile-step-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .wcc-mobile-step-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--wcc-text);
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wcc-mobile-step-value {
        display: block;
        width: 100%;
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
        color: var(--wcc-muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wcc-mobile-step-value--missing {
        color: #e31e24;
    }

    .wcc-mobile-step-chevron {
        flex-shrink: 0;
        font-size: 22px;
        line-height: 1;
        color: #b0b0b0;
        font-weight: 300;
    }

    .wcc-mobile-items-head {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 10px;
    }

    .wcc-mobile-items-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--wcc-text);
    }

    .wcc-mobile-items-meta {
        font-size: 14px;
        color: var(--wcc-muted);
    }

    .wcc-mobile-items-dot {
        margin: 0 2px;
    }

    .wcc-mobile-items-thumbs {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .wcc-mobile-items-thumb {
        display: block;
        width: 48px;
        height: 48px;
        border-radius: 10px;
        overflow: hidden;
        background: #f5f5f5;
        flex-shrink: 0;
    }

    .wcc-mobile-items-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .wcc-mobile-items-more {
        font-size: 13px;
        color: var(--wcc-muted);
        padding-left: 2px;
    }

    .wcc-checkout-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        min-width: 0;
    }

    .wcc-checkout-main {
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .wcc-mobile-checkout,
    .wcc-mobile-checkout-card {
        max-width: 100%;
        min-width: 0;
    }

    .wcc-checkout-sidebar {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .wcc-checkout-summary-inner .wcc-summary-row {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .wcc-checkout-summary-inner .wcc-summary-savings-accordion {
        margin-bottom: 8px;
    }

    .wcc-checkout-summary-inner .wcc-summary-total {
        margin: 0 0 10px;
        font-size: 20px;
    }

    .wcc-checkout-summary .wcc-summary-notice {
        display: none;
    }

    .wcc-checkout-summary .wcc-consent-group,
    .wcc-checkout-summary .wcc-consent,
    .wcc-checkout-summary .wcc-consent-error {
        display: flex;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .wcc-checkout-summary .wcc-consent-error {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .wcc-checkout-summary #wcc-place-order {
        margin-top: 0;
        min-height: 48px;
    }

    #wcc-delivery-section .wcc-checkout-delivery-tabs { grid-template-columns: 1fr; }
    .wcc-modal-tabs.wcc-delivery-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
    }
    .wcc-modal-tabs button.wcc-delivery-tab {
        padding: 8px 4px !important;
        min-height: 64px;
    }
    .wcc-modal-tabs .wcc-delivery-tab strong {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .wcc-modal-tabs .wcc-delivery-tab span {
        font-size: 10px;
        line-height: 1.25;
    }
    .wcc-delivery-selected-layout { grid-template-columns: 1fr; }
    .wcc-delivery-selected-map { height: 160px; }
    body.wcc-store-page.woocommerce-checkout #payment ul.wcc-payment-grid,
    body.wcc-store-page ul.wcc-payment-grid {
        grid-template-columns: 1fr !important;
    }
    .wcc-recipient-other-fields { grid-template-columns: 1fr; }

    /* Delivery modal — bottom sheet on mobile */
    .wcc-modal [hidden] {
        display: none !important;
    }

    .wcc-modal {
        align-items: flex-end;
        justify-content: center;
    }

    .wcc-modal-content {
        height: auto;
        max-height: 96vh;
        border-radius: var(--wcc-radius) var(--wcc-radius) 0 0;
        padding-top: 8px;
    }

    .wcc-modal-content::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        margin: 0 auto 8px;
        border-radius: var(--wcc-radius-field);
        background: #d8d8d8;
        flex-shrink: 0;
    }

    body.wcc-store-page button.wcc-modal-close {
        top: 14px;
        right: 12px;
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        box-shadow: none;
        background-color: transparent !important;
    }

    body.wcc-store-page button.wcc-modal-close .wcc-modal-close-icon {
        width: 18px;
        height: 18px;
    }

    body.wcc-store-page button.wcc-modal-back {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .wcc-modal-title {
        font-size: 18px !important;
        margin-bottom: 16px !important;
        padding-right: 36px;
    }

    .wcc-modal-layout {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(42vh, 1fr) minmax(0, 52vh);
        height: calc(96vh - 52px);
        min-height: 0;
    }

    .wcc-modal-map {
        display: block;
        order: -1;
        height: 100%;
        min-height: 42vh;
    }

    .wcc-modal-sidebar {
        max-height: none;
        border-right: none;
        border-top: 1px solid var(--wcc-border);
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wcc-modal-panel:not([hidden]) {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    #wcc-pickup-selected-panel:not([hidden]),
    #wcc-courier-selected-panel:not([hidden]),
    #wcc-transport-pvz-selected-panel:not([hidden]),
    #wcc-transport-courier-selected-panel:not([hidden]) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        flex: 1;
    }

    .wcc-modal-confirm {
        position: sticky;
        bottom: 0;
        margin-top: 16px;
        z-index: 2;
        box-shadow: 0 -8px 16px rgba(255, 255, 255, 0.9);
    }

    .wcc-transport-points-list {
        max-height: none;
    }

    .wcc-transport-tariff-item {
        padding: 12px 14px !important;
    }

    /* Bottom sheets */
    .wcc-sheet {
        position: fixed;
        inset: 0;
        z-index: 100001;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .wcc-sheet[hidden] {
        display: none !important;
    }

    .wcc-sheet-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
    }

    .wcc-sheet-panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-height: 92vh;
        background: #fff;
        border-radius: var(--wcc-radius) var(--wcc-radius) 0 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        animation: wcc-sheet-slide-up 0.28s ease-out;
    }

    @keyframes wcc-sheet-slide-up {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .wcc-sheet-handle {
        width: 36px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: var(--wcc-radius-field);
        background: #d8d8d8;
        flex-shrink: 0;
    }

    body.wcc-store-page button.wcc-sheet-close {
        position: absolute;
        top: 10px;
        right: 12px;
        z-index: 2;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: var(--wcc-muted) !important;
        font-size: 18px;
        cursor: pointer;
        box-shadow: none !important;
    }

    .wcc-sheet-title {
        margin: 8px 48px 16px 20px !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: var(--wcc-text) !important;
    }

    .wcc-sheet-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px 8px;
    }

    .wcc-sheet-footer {
        flex-shrink: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--wcc-border);
        background: #fff;
    }

    .wcc-sheet-radio-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .wcc-sheet-radio {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 52px;
        padding: 12px 4px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
    }

    .wcc-sheet-radio:last-child {
        border-bottom: none;
    }

    .wcc-sheet-radio input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    .wcc-sheet-radio-mark {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        border: 2px solid #c8c8c8;
        border-radius: 50%;
        position: relative;
        transition: border-color 0.15s;
    }

    .wcc-sheet-radio input:checked + .wcc-sheet-radio-mark {
        border-color: var(--wcc-primary);
    }

    .wcc-sheet-radio input:checked + .wcc-sheet-radio-mark::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 12px;
        margin: -6px 0 0 -6px;
        border-radius: 50%;
        background: var(--wcc-primary);
    }

    .wcc-sheet-radio-label {
        font-size: 16px;
        line-height: 1.35;
        color: var(--wcc-text);
    }

    .wcc-payment-sheet-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .wcc-payment-sheet-grid button.wcc-payment-card {
        width: 100%;
        max-width: none;
    }

    #wcc-payment-sheet .wcc-payment-fields-wrap {
        margin-top: 4px;
        margin-bottom: 12px;
    }

    .wcc-payment-sheet-notice {
        margin-top: 16px;
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .wcc-mobile-checkout {
        display: none !important;
    }
}

.wcc-suggest-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    border: 1px solid var(--wcc-border);
    border-radius: var(--wcc-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
}

body.wcc-store-page button.wcc-suggest-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 2px;
    width: 100%;
    height: auto !important;
    min-height: unset !important;
    padding: 10px 14px !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    text-align: left;
    cursor: pointer;
    font-family: var(--wcc-font) !important;
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: normal !important;
    color: var(--wcc-text) !important;
    box-shadow: none !important;
}

body.wcc-store-page button.wcc-suggest-item:hover,
body.wcc-store-page button.wcc-suggest-item:focus-visible {
    background-color: #f5f5f5 !important;
    color: var(--wcc-text) !important;
    outline: none;
}

.wcc-suggest-item__title {
    font-size: 14px;
    line-height: 1.35;
}

.wcc-suggest-item__subtitle {
    font-size: 12px;
    line-height: 1.3;
    color: var(--wcc-muted);
}

.wcc-modal-sidebar [class*="suggest"] {
    z-index: 40 !important;
}

.wcc-courier-methods {
    margin: 8px 0 0;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.wcc-transport-tariff-item.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wcc-transport-tariff-desc--error {
    color: #c62828;
}

.wcc-method-days,
.wcc-method-km {
    display: inline-block;
    font-size: 12px;
    color: var(--wcc-muted);
    margin-right: 8px;
}

.wcc-method-reason {
    font-size: 12px;
    color: #c62828;
    margin: 4px 0 0;
}

.wcc-method-desc {
    font-size: 12px;
    color: var(--wcc-muted);
    margin: 6px 0 0;
}

.wcc-provider-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    color: #fff;
}

.wcc-provider-cdek {
    background: #00a046;
}

.wcc-provider-dellin {
    background: #e31e24;
}

.wcc-provider-pec {
    background: #1a3a6b;
}

.wcc-transport-point-detail {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0;
    font-size: 13px;
}

.wcc-point-photos {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.wcc-point-photo {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.wcc-transport-rate {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    border: 1px solid var(--wcc-border, #e5e5e5);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    cursor: pointer;
}

.wcc-transport-rate.selected {
    border-color: var(--wcc-primary, #e31e24);
    background: #fff8f8;
}

.wcc-transport-tariff-groups {
    margin: 8px 0 0;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.wcc-transport-tariffs-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    padding: 24px 16px;
    text-align: center;
    color: var(--wcc-muted);
    font-size: 14px;
    line-height: 1.4;
}

.wcc-transport-tariffs-loading-phrase {
    display: inline-block;
    min-width: 12em;
    transition: opacity 0.18s ease;
}

.wcc-transport-tariffs-loading-phrase.is-fading {
    opacity: 0;
}

.wcc-spinner--inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--wcc-primary);
    border-radius: 50%;
    animation: wcc-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.wcc-courier-methods .wcc-transport-tariffs-loading {
    min-height: 80px;
}

.wcc-pickup-list .wcc-transport-tariffs-loading,
#wcc-transport-points-list .wcc-transport-tariffs-loading {
    min-height: 80px;
}

.wcc-transport-tariff-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 4px 14px 0 !important;
}

.wcc-transport-tariff-item:last-child {
    border-bottom: none;
}

body.wcc-store-page button.wcc-transport-tariff-item {
    height: auto !important;
    min-height: unset !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 4px 14px 0 !important;
    margin: 0;
    background-color: transparent !important;
    background-image: none !important;
    cursor: pointer;
    text-align: left;
    font-family: var(--wcc-font) !important;
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: normal !important;
    color: var(--wcc-text) !important;
    text-transform: none;
    box-shadow: none !important;
    justify-content: flex-start !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

body.wcc-store-page button.wcc-transport-tariff-item:last-child {
    border-bottom: none !important;
}

body.wcc-store-page button.wcc-transport-tariff-item:hover,
body.wcc-store-page button.wcc-transport-tariff-item:focus,
body.wcc-store-page button.wcc-transport-tariff-item:active {
    background-color: #fafafa !important;
    background-image: none !important;
    color: var(--wcc-text) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none;
}

body.wcc-store-page button.wcc-transport-tariff-item.selected,
body.wcc-store-page button.wcc-transport-tariff-item.selected:hover {
    background-color: #f7f7f7 !important;
    color: var(--wcc-text) !important;
}

body.wcc-store-page button.wcc-transport-tariff-item .wcc-transport-tariff-title,
body.wcc-store-page button.wcc-transport-tariff-item .wcc-transport-tariff-price {
    color: #1a1a1a !important;
    font-family: var(--wcc-font) !important;
}

body.wcc-store-page button.wcc-transport-tariff-item .wcc-transport-tariff-desc,
body.wcc-store-page button.wcc-transport-tariff-item .wcc-transport-tariff-period {
    color: #8c8c8c !important;
    font-family: var(--wcc-font) !important;
    font-weight: 400 !important;
}

.wcc-pickup-address-line {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.wcc-pickup-metro-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--wcc-pickup-marker-color, #0066cc);
}

.wcc-pickup-address-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wcc-pickup-metro-line,
.wcc-pickup-street-line {
    display: block;
}

.wcc-transport-tariff-price-line .wcc-transport-tariff-period {
    margin-left: 6px;
}


.wcc-transport-tariff-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5f5f5;
    flex-shrink: 0;
    overflow: hidden;
}

.wcc-transport-tariff-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.wcc-transport-tariff-icon--default {
    color: #1a1a1a;
}

.wcc-transport-tariff-icon--yandex img,
.wcc-transport-pvz-header-icon--yandex img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.wcc-transport-pvz-header-icon--yandex {
    background: transparent;
    width: 40px;
    height: 40px;
}

.wcc-transport-tariff-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.wcc-transport-tariff-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.wcc-transport-tariff-desc {
    font-size: 13px;
    line-height: 1.35;
    color: #8c8c8c;
}

.wcc-transport-tariff-price-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.3;
}

.wcc-transport-tariff-price {
    font-weight: 600;
    color: #1a1a1a;
}

.wcc-transport-tariff-period {
    color: #8c8c8c;
    font-weight: 400;
}

.wcc-transport-tariff-chevron {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #c4c4c4;
    border-bottom: 1.5px solid #c4c4c4;
    transform: rotate(-45deg);
    margin-right: 4px;
}

.wcc-tariff-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.wcc-tariff-group-icon--cdek {
    background: #00a046;
}

.wcc-tariff-group-icon--dellin {
    background: #e31e24;
}

.wcc-tariff-group-icon--pec {
    background: #1a3a6b;
}

.wcc-tariff-group-icon--pickup {
    background: #1a1a1a;
}

body.wcc-store-page button.wcc-transport-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 4px;
    width: auto;
    height: auto !important;
    min-height: unset !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    background-image: none !important;
    color: var(--wcc-primary, #e31e24) !important;
    font-family: var(--wcc-font) !important;
    font-size: 13px;
    font-weight: inherit !important;
    line-height: normal !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0 !important;
    margin-bottom: 12px;
}

.wcc-transport-pvz-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.wcc-transport-pvz-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.wcc-transport-points-list {
    max-height: min(48vh, 380px);
    overflow-y: auto;
    margin: 8px 0 12px;
    -webkit-overflow-scrolling: touch;
}

body.wcc-store-page button.wcc-transport-point-item {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: unset !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 12px 4px !important;
    background-color: transparent !important;
    background-image: none !important;
    cursor: pointer;
    text-align: left;
    font-family: var(--wcc-font) !important;
    font-size: inherit !important;
    font-weight: normal !important;
    line-height: normal !important;
    color: var(--wcc-text) !important;
    box-shadow: none !important;
    justify-content: flex-start !important;
}

body.wcc-store-page button.wcc-transport-point-item:hover,
body.wcc-store-page button.wcc-transport-point-item.selected {
    background-color: #fafafa !important;
    color: var(--wcc-text) !important;
}

.wcc-transport-point-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.wcc-transport-point-address {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
}

.wcc-transport-point-days {
    display: inline-block;
    font-size: 14px;
    color: #8c8c8c;
}

.wcc-transport-pvz-header strong {
    display: block;
    font-size: 15px;
}

.wcc-transport-pvz-header span {
    font-size: 13px;
    color: var(--wcc-muted);
}

.wcc-transport-pvz-selected {
    margin: 8px 0 20px;
}

.wcc-transport-pvz-selected-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.wcc-transport-pvz-selected-head strong {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.wcc-transport-pvz-selected-address {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.wcc-transport-pvz-selected-cost {
    margin: 14px 0 0;
    font-size: 15px;
    color: #1a1a1a;
}

.wcc-transport-pvz-selected-cost strong {
    font-weight: 600;
}

.wcc-pickup-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
}

.wcc-pickup-gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f3f3;
    cursor: zoom-in;
}

.wcc-pickup-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcc-pickup-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.84);
    box-sizing: border-box;
}

.wcc-pickup-lightbox[hidden] {
    display: none !important;
}

.wcc-pickup-lightbox-image {
    max-width: min(96vw, 1100px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.wcc-pickup-lightbox-close,
.wcc-pickup-lightbox-prev,
.wcc-pickup-lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    border-radius: var(--wcc-radius-button);
}

.wcc-pickup-lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
}

.wcc-pickup-lightbox-prev,
.wcc-pickup-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 32px;
    line-height: 1;
}

.wcc-pickup-lightbox-prev {
    left: 16px;
}

.wcc-pickup-lightbox-next {
    right: 16px;
}

body.wcc-pickup-lightbox-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .wcc-pickup-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

#wcc-pickup-selected-panel .wcc-btn,
#wcc-transport-pvz-selected-panel .wcc-btn {
    margin-top: auto;
}

#wcc-courier-selected-panel .wcc-btn {
    margin-top: auto;
}

.wcc-transport-pvz-selected-subtitle {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #8c8c8c;
}

.wcc-dellin-map-marker,
.wcc-pec-map-marker {
    position: relative;
    width: 40px;
    height: 44px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.wcc-dellin-map-marker__pin,
.wcc-pec-map-marker__pin {
    width: 40px;
    height: 44px;
}

.wcc-dellin-map-marker__pin img,
.wcc-pec-map-marker__pin img {
    display: block;
    width: 40px;
    height: 44px;
    object-fit: contain;
}

.wcc-transport-tariff-icon--pec img,
.wcc-transport-pvz-header-icon--pec img {
    object-fit: contain;
}

/* OpenLayers / OpenStreetMap (Carto Voyager) */
#wcc-map .ol-viewport,
#wcc-delivery-selected-map .ol-viewport,
#wcc-polygon-map .ol-viewport {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

/* Themes often set canvas { max-width:100% } which crops OL markers and breaks hit-tests. */
#wcc-map .ol-viewport canvas,
#wcc-delivery-selected-map .ol-viewport canvas,
#wcc-polygon-map .ol-viewport canvas {
    max-width: none !important;
    max-height: none !important;
}

#wcc-map.ol-map,
#wcc-delivery-selected-map.ol-map,
#wcc-polygon-map.ol-map,
#wcc-map,
#wcc-delivery-selected-map {
    position: relative;
}

/* OpenLayers controls: theme global `button` rules often break zoom / attribution UI */
body.wcc-store-page #wcc-map .ol-control,
body.wcc-store-page #wcc-delivery-selected-map .ol-control,
#wcc-delivery-modal .ol-control {
    position: absolute !important;
    background-color: rgba(128, 128, 128, 0.25) !important;
    border: none !important;
    border-radius: 4px !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 1;
}

body.wcc-store-page #wcc-map .ol-control button,
body.wcc-store-page #wcc-delivery-selected-map .ol-control button,
#wcc-delivery-modal .ol-control button {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: block !important;
    box-sizing: content-box !important;
    margin: 1px !important;
    padding: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    width: 1.375em !important;
    height: 1.375em !important;
    line-height: 0.4em !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #666 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    border: none !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    overflow: visible !important;
    vertical-align: baseline !important;
    float: none !important;
}

body.wcc-store-page #wcc-map .ol-control button:hover,
body.wcc-store-page #wcc-map .ol-control button:focus,
body.wcc-store-page #wcc-map .ol-control button:active,
body.wcc-store-page #wcc-delivery-selected-map .ol-control button:hover,
body.wcc-store-page #wcc-delivery-selected-map .ol-control button:focus,
body.wcc-store-page #wcc-delivery-selected-map .ol-control button:active,
#wcc-delivery-modal .ol-control button:hover,
#wcc-delivery-modal .ol-control button:focus,
#wcc-delivery-modal .ol-control button:active {
    color: #333 !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #666 !important;
    outline-offset: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

body.wcc-store-page #wcc-map .ol-zoom .ol-zoom-in,
body.wcc-store-page #wcc-delivery-selected-map .ol-zoom .ol-zoom-in,
#wcc-delivery-modal .ol-zoom .ol-zoom-in {
    border-radius: 2px 2px 0 0 !important;
}

body.wcc-store-page #wcc-map .ol-zoom .ol-zoom-out,
body.wcc-store-page #wcc-delivery-selected-map .ol-zoom .ol-zoom-out,
#wcc-delivery-modal .ol-zoom .ol-zoom-out {
    border-radius: 0 0 2px 2px !important;
}

body.wcc-store-page #wcc-map .ol-attribution button,
body.wcc-store-page #wcc-delivery-selected-map .ol-attribution button,
#wcc-delivery-modal .ol-attribution button {
    flex-shrink: 0 !important;
    line-height: 1.375em !important;
}

body.wcc-store-page #wcc-map .ol-attribution button .ol-attribution-expand,
body.wcc-store-page #wcc-delivery-selected-map .ol-attribution button .ol-attribution-expand,
#wcc-delivery-modal .ol-attribution button .ol-attribution-expand {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    color: inherit !important;
}

body.wcc-store-page #wcc-map .ol-attribution:not(.ol-collapsed),
body.wcc-store-page #wcc-delivery-selected-map .ol-attribution:not(.ol-collapsed),
#wcc-delivery-modal .ol-attribution:not(.ol-collapsed) {
    background: rgba(255, 255, 255, 0.75) !important;
}

.ol-attribution ul {
    font-size: 10px;
}

.ol-attribution a[href*="openlayers"],
.ol-attribution li:has(a[href*="openlayers"]) {
    display: none;
}

.wcc-osm-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00a046;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.wcc-osm-cluster__count {
    line-height: 1;
}

/* Floor lift conditions */
body.wcc-store-page button.wcc-floor-lift-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: var(--wcc-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #3478c6 !important;
    cursor: pointer;
    text-align: left !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    height: auto !important;
    min-height: unset !important;
}

body.wcc-store-page button.wcc-floor-lift-link[hidden] {
    display: none !important;
}

body.wcc-store-page button.wcc-floor-lift-link:hover,
body.wcc-store-page button.wcc-floor-lift-link:focus {
    color: #2a63a8 !important;
    background: transparent !important;
    text-decoration: underline !important;
}

.wcc-floor-lift-link-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #3478c6;
}

.wcc-floor-lift-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.wcc-floor-lift-modal[hidden] {
    display: none !important;
}

.wcc-floor-lift-modal .wcc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wcc-floor-lift-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: min(86vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--wcc-radius, 16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.wcc-floor-lift-modal-title {
    margin: 0;
    padding: 28px 56px 12px 28px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--wcc-text, #1a1a1a);
}

.wcc-floor-lift-modal-body {
    flex: 1 1 auto;
    overflow: auto;
    padding: 8px 28px 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--wcc-text, #1a1a1a);
}

.wcc-floor-lift-modal-body > *:first-child {
    margin-top: 0;
}

.wcc-floor-lift-modal-body > *:last-child {
    margin-bottom: 0;
}

.wcc-floor-lift-modal-body ul,
.wcc-floor-lift-modal-body ol {
    margin: 12px 0;
    padding-left: 1.25em;
}

.wcc-floor-lift-modal-body li {
    margin: 6px 0;
}

.wcc-floor-lift-modal-body li::marker {
    color: var(--wcc-primary, #e31e24);
}

.wcc-floor-lift-modal-footer {
    flex-shrink: 0;
    padding: 8px 28px 28px;
}

.wcc-floor-lift-modal-footer .wcc-btn {
    min-width: 160px;
}

@media (max-width: 640px) {
    .wcc-floor-lift-modal {
        padding: 0;
        align-items: flex-end;
    }

    .wcc-floor-lift-modal-dialog {
        max-width: none;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }

    .wcc-floor-lift-modal-title {
        font-size: 20px;
        padding: 24px 52px 10px 20px;
    }

    .wcc-floor-lift-modal-body {
        padding: 4px 20px 16px;
        font-size: 14px;
    }

    .wcc-floor-lift-modal-footer {
        padding: 4px 20px 20px;
    }

    .wcc-floor-lift-modal-footer .wcc-btn {
        width: 100%;
    }
}
