/* Woo SMS Smart — WoodMart / WooCommerce storefront skin */
.wss-auth-card {
    --wss-theme-primary: var(--btn-accented-bgcolor, var(--wd-primary-color, #83b735));
    --wss-theme-primary-hover: var(--btn-accented-bgcolor-hover, var(--wd-primary-color-hover, var(--wd-primary-color, #6f9f2f)));
    --wss-primary: var(--wss-custom-primary, var(--wss-theme-primary));
    --wss-primary-hover: var(--wss-custom-primary, var(--wss-theme-primary-hover));
    --wss-primary-text: var(--btn-accented-color, #fff);
    --wss-title: var(--wd-title-color, var(--wd-entities-title-color, #242424));
    --wss-text: var(--wd-text-color, #777);
    --wss-muted: var(--wd-text-color, #8a8a8a);
    --wss-bg: var(--wd-form-bg, #fff);
    --wss-border: var(--wd-form-brd-color, rgba(0, 0, 0, .105));
    --wss-border-focus: var(--wd-form-brd-color-focus, var(--wss-primary));

    position: relative;
    direction: rtl;
    width: 100%;
    max-width: var(--wss-form-max-width, 520px);
    margin: 25px auto;
    padding: var(--wss-form-padding, 26px);
    color: var(--wss-text);
    background: var(--wss-bg);
    border: 1px solid var(--wss-border);
    border-radius: var(--wss-card-radius, max(10px, var(--wd-brd-radius, 0px)));
    box-shadow: 0 1px 8px rgba(0, 0, 0, .045);
    box-sizing: border-box;
}

.wss-auth-card,
.wss-auth-card * {
    box-sizing: border-box;
}

.wss-auth-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wss-border);
}

.wss-auth-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--wss-primary-text);
    background: var(--wss-primary);
    border-radius: var(--wss-button-radius, max(8px, var(--wd-brd-radius, 0px)));
}

.wss-no-icon .wss-auth-icon {
    display: none;
}

.wss-auth-icon::before {
    content: "";
    width: 19px;
    height: 24px;
    display: block;
    border: 2px solid currentColor;
    border-radius: 5px;
    background:
        radial-gradient(circle, currentColor 0 2px, transparent 2.5px) center calc(100% - 4px) / 100% 5px no-repeat;
}

.wss-auth-head h3 {
    margin: 0 0 5px;
    color: var(--wss-title);
    font-size: var(--wss-title-size, 21px);
    line-height: 1.4;
    font-weight: 700;
}

.wss-auth-head p {
    margin: 0;
    color: var(--wss-text);
    font-size: var(--wss-subtitle-size, 14px);
    line-height: 1.9;
}

/* Explicit login / registration switch. Registration-only fields stay out of the login flow. */
.wss-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 0 0 18px;
    padding: 4px;
    background: #f7f8fa;
    border: 1px solid var(--wss-border);
    border-radius: calc(var(--wss-input-radius, 8px) + 4px);
}

.wss-auth-mode-btn {
    min-height: 42px;
    margin: 0;
    padding: 8px 14px;
    color: var(--wss-title);
    background: transparent;
    border: 0;
    border-radius: var(--wss-input-radius, 8px);
    box-shadow: none;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
}

.wss-auth-mode-btn.is-active {
    color: var(--wss-primary);
    background: #fff;
    box-shadow: 0 1px 5px rgba(15, 23, 42, .08);
}

.wss-register-fields[hidden] {
    display: none !important;
}

.wss-register-fields {
    margin-top: 16px;
}

.wss-name-field {
    display: block;
    margin: 0;
}

.wss-name-field > span {
    display: block;
    margin-bottom: 7px;
    color: var(--wss-title);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.wss-register-privacy {
    margin-top: 11px !important;
}

.wss-auth-message {
    display: none;
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: var(--wss-input-radius, max(8px, var(--wd-brd-radius, 0px)));
    font-size: 14px;
    line-height: 1.8;
    font-weight: 600;
}

.wss-auth-message.is-success {
    display: block;
    color: #0f6848;
    background: #edf9f1;
    border: 1px solid #cdebd8;
}

.wss-auth-message.is-error {
    display: block;
    color: #b42318;
    background: #fff2f0;
    border: 1px solid #ffd3cf;
}

.wss-auth-step {
    display: none;
}

.wss-auth-step.is-active {
    display: block;
}

.wss-input-label {
    display: block;
    margin: 0 0 8px;
    color: var(--wss-title);
    font-size: 14px;
    font-weight: 600;
}

.wss-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.wss-auth-step[data-step="mobile"] > .wss-send-btn {
    width: 100%;
    margin-top: 14px;
}

.wss-auth-card .wss-mobile-input,
.wss-auth-card .wss-first-name,
.wss-auth-card .wss-last-name,
.wss-auth-card .wss-otp-digit {
    width: 100%;
    min-height: 46px;
    margin: 0;
    color: var(--wss-title);
    background: var(--wss-bg);
    border: 1px solid var(--wss-border);
    border-radius: var(--wss-input-radius, max(6px, var(--wd-brd-radius, 0px)));
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wss-auth-card .wss-mobile-input,
.wss-auth-card .wss-first-name,
.wss-auth-card .wss-last-name {
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 46px;
    text-align: right;
}

.wss-auth-card .wss-mobile-input {
    direction: ltr;
    text-align: left;
}

.wss-auth-card .wss-mobile-input::placeholder,
.wss-auth-card .wss-first-name::placeholder,
.wss-auth-card .wss-last-name::placeholder {
    color: #aaa;
}

.wss-auth-card .wss-mobile-input:focus,
.wss-auth-card .wss-first-name:focus,
.wss-auth-card .wss-last-name:focus,
.wss-auth-card .wss-otp-digit:focus {
    outline: none;
    border-color: var(--wss-border-focus);
    box-shadow: 0 0 0 2px rgba(131, 183, 53, .16);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wss-primary) 18%, transparent);
}

.wss-btn {
    min-height: 46px;
    margin: 0;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: var(--wss-button-radius, max(6px, var(--wd-brd-radius, 0px)));
    color: var(--wss-primary-text);
    background: var(--wss-primary);
    box-shadow: none;
    font-size: var(--wss-button-size, 14px);
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
}

.wss-btn:hover,
.wss-btn:focus {
    color: var(--wss-primary-text);
    background: var(--wss-primary-hover);
    transform: translateY(-1px);
}

.wss-btn:disabled,
.wss-link-btn:disabled {
    opacity: .58;
    cursor: not-allowed;
    transform: none;
}

.wss-btn.is-busy::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: 50%;
    animation: wss-spin .75s linear infinite;
}

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

.wss-optional-fields {
    margin: 14px 0 0;
}

.wss-optional-fields summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wss-muted);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.wss-optional-fields summary::-webkit-details-marker {
    display: none;
}

.wss-optional-fields summary::before {
    content: "+";
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: var(--wss-primary);
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
}

.wss-optional-fields[open] summary::before {
    content: "−";
}

.wss-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0;
}

.wss-auth-card small {
    display: block;
    margin-top: 13px;
    color: var(--wss-muted);
    font-size: 12px;
    line-height: 1.9;
}

.wss-back-btn,
.wss-link-btn {
    padding: 0;
    color: var(--wss-primary);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    cursor: pointer;
}

.wss-back-btn {
    margin: 0 0 12px;
}

.wss-back-btn:hover,
.wss-link-btn:hover {
    color: var(--wss-primary-hover);
    background: transparent;
}

.wss-otp-hint {
    margin: 0 0 14px;
    color: var(--wss-text);
    font-size: 14px;
    line-height: 1.9;
}

.wss-otp-hint strong {
    color: var(--wss-title);
    direction: ltr;
    unicode-bidi: embed;
}

.wss-otp-boxes {
    direction: ltr;
    unicode-bidi: isolate;
    display: grid;
    grid-template-columns: repeat(4, minmax(48px, 1fr));
    gap: 9px;
    margin: 10px 0 14px;
}

.wss-otp-boxes[data-length="5"] {
    grid-template-columns: repeat(5, minmax(42px, 1fr));
}

.wss-otp-boxes[data-length="6"] {
    grid-template-columns: repeat(6, minmax(38px, 1fr));
}

.wss-auth-card .wss-otp-digit {
    height: 56px;
    padding: 0;
    text-align: center;
    direction: ltr !important;
    unicode-bidi: isolate;
    font-size: 24px;
    line-height: 56px;
    font-weight: 700;
}

.wss-verify-btn {
    width: 100%;
    margin-top: 2px;
}

.wss-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    color: var(--wss-muted);
    font-size: 13px;
    line-height: 1.8;
}

.wss-timer {
    color: var(--wss-muted);
}

.wss-alert {
    max-width: 680px;
    margin: 20px auto;
    padding: 13px 16px;
    border-radius: var(--wss-card-radius, max(8px, var(--wd-brd-radius, 0px)));
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
}

.wss-alert-success {
    color: #0f6848;
    background: #edf9f1;
    border: 1px solid #cdebd8;
}

.wss-alert-error {
    color: #b42318;
    background: #fff2f0;
    border: 1px solid #ffd3cf;
}

/* Page-specific integration */
.woocommerce-account .wss-auth-card {
    margin-top: 0;
}

.woocommerce-checkout .wss-auth-card {
    width: min(100%, var(--wss-context-max-width, 560px));
    max-width: var(--wss-context-max-width, 560px);
    margin: 0 0 25px auto;
}

.woocommerce-checkout .wss-context-checkout {
    padding: var(--wss-form-padding, 24px);
}

/* WoodMart cart fix: the auth form must occupy a full row and must not become a third cart column. */
body.woocommerce-cart.wss-guest .cart-content-wrapper,
body.woocommerce-cart.wss-guest .wd-cart-wrapper,
body.woocommerce-cart.wss-guest .woocommerce-cart-content-wrapper,
body.woocommerce-cart.wss-guest .woocommerce {
    flex-wrap: wrap;
}

.woocommerce-cart .wss-cart-auth-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    clear: both;
    order: -100;
    margin: 0 0 22px;
}

.woocommerce-cart .wss-cart-auth-wrap .wss-auth-card,
.woocommerce-cart .wss-context-cart {
    width: min(100%, var(--wss-context-max-width, 560px));
    max-width: var(--wss-context-max-width, 560px);
    margin: 0 0 0 auto;
}

.woocommerce-cart .wss-context-cart {
    padding: var(--wss-form-padding, 24px);
}

.woocommerce-cart .wss-context-cart .wss-auth-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.woocommerce-cart .wss-context-cart .wss-mobile-row,
.woocommerce-checkout .wss-context-checkout .wss-mobile-row {
    max-width: 100%;
}

.woocommerce-cart .wss-scroll-login.checkout-button {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .woocommerce-cart .wss-context-cart .wss-auth-step[data-step="mobile"].is-active {
        display: block;
    }

    .woocommerce-cart .wss-context-cart small {
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .wss-auth-card,
    .woocommerce-checkout .wss-auth-card,
    .woocommerce-cart .wss-auth-card {
        width: 100%;
        max-width: 100%;
        padding: calc(var(--wss-form-padding, 26px) * .78);
        margin: 18px 0;
        border-radius: var(--wss-card-radius, max(10px, var(--wd-brd-radius, 0px)));
    }

    .wss-auth-head {
        align-items: flex-start;
        margin-bottom: 18px;
        padding-bottom: 15px;
    }

    .wss-auth-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .wss-auth-head h3 {
        font-size: calc(var(--wss-title-size, 21px) - 2px);
    }

    .wss-mobile-row {
        grid-template-columns: 1fr;
    }

    .wss-btn {
        width: 100%;
    }

    .wss-name-grid {
        grid-template-columns: 1fr;
    }

    .wss-otp-boxes,
    .wss-otp-boxes[data-length="5"],
    .wss-otp-boxes[data-length="6"] {
        gap: 7px;
        grid-template-columns: repeat(4, minmax(42px, 1fr));
    }

    .wss-otp-boxes[data-length="5"],
    .wss-otp-boxes[data-length="6"] {
        grid-template-columns: repeat(3, minmax(42px, 1fr));
    }

    .wss-auth-card .wss-otp-digit {
        height: 52px;
        font-size: 22px;
        line-height: 52px;
    }

    .wss-resend-row {
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
    }
}

/* Modal entry mode: compact WoodMart-friendly login/register prompt */
.wss-auth-entry,
.wss-modal {
    --wss-theme-primary: var(--btn-accented-bgcolor, var(--wd-primary-color, #83b735));
    --wss-theme-primary-hover: var(--btn-accented-bgcolor-hover, var(--wd-primary-color-hover, var(--wd-primary-color, #6f9f2f)));
    --wss-primary: var(--wss-custom-primary, var(--wss-theme-primary));
    --wss-primary-hover: var(--wss-custom-primary, var(--wss-theme-primary-hover));
    --wss-primary-text: var(--btn-accented-color, #fff);
    --wss-title: var(--wd-title-color, var(--wd-entities-title-color, #242424));
    --wss-text: var(--wd-text-color, #777);
    --wss-muted: var(--wd-text-color, #8a8a8a);
    --wss-bg: var(--wd-form-bg, #fff);
    --wss-border: var(--wd-form-brd-color, rgba(0, 0, 0, .105));
}

.wss-auth-entry {
    width: min(100%, var(--wss-context-max-width, 560px));
    max-width: var(--wss-context-max-width, 560px);
    margin: 0 auto 24px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    text-align: right;
    color: var(--wss-text);
    background: var(--wss-bg);
    border: 1px solid var(--wss-border);
    border-radius: var(--wss-card-radius, max(12px, var(--wd-brd-radius, 0px)));
    box-shadow: 0 1px 8px rgba(0, 0, 0, .045);
    box-sizing: border-box;
}

.wss-auth-entry,
.wss-auth-entry * {
    box-sizing: border-box;
}

.wss-entry-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.wss-entry-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--wss-primary);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.wss-entry-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.wss-auth-entry h3 {
    margin: 0 0 7px;
    color: var(--wss-title);
    font-size: calc(var(--wss-title-size, 21px) - 2px);
    line-height: 1.55;
    font-weight: 700;
}

.wss-auth-entry p {
    margin: 0;
    color: var(--wss-text);
    font-size: var(--wss-subtitle-size, 14px);
    line-height: 1.9;
}

.wss-auth-entry small {
    display: block;
    margin-top: 7px;
    color: var(--wss-muted);
    font-size: 12px;
    line-height: 1.8;
}

.wss-entry-btn {
    flex: 0 0 auto;
    min-width: 168px;
}

.woocommerce-account .wss-auth-entry {
    margin-top: 0;
}

.woocommerce-cart .wss-cart-auth-wrap .wss-auth-entry,
.woocommerce-checkout .wss-context-checkout-entry {
    margin-right: auto;
    margin-left: auto;
}

.wss-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    direction: rtl;
}

.wss-modal.is-open {
    display: flex;
}

body.wss-modal-open {
    overflow: hidden;
}

.wss-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    backdrop-filter: blur(3px);
}

.wss-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, var(--wss-modal-max-width, 520px));
    max-width: var(--wss-modal-max-width, 520px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: var(--wss-bg);
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px)));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
    transform: translateY(10px) scale(.98);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
}

.wss-modal.is-open .wss-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.wss-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--wss-title);
    background: #f5f5f5;
    border: 1px solid var(--wss-border);
    border-radius: 50%;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.wss-modal-close:hover,
.wss-modal-close:focus {
    color: var(--wss-primary-text);
    background: var(--wss-primary);
}

.wss-modal .wss-auth-card,
.woocommerce-checkout .wss-modal .wss-auth-card,
.woocommerce-cart .wss-modal .wss-auth-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px)));
    box-shadow: none;
}

.wss-modal .wss-auth-head {
    padding-left: 44px;
}

@media (max-width: 640px) {
    .wss-auth-entry {
        width: 100%;
        max-width: 100%;
        margin: 0 0 18px;
        padding: 18px 16px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        text-align: center;
    }

    .wss-entry-badge {
        justify-content: center;
    }

    .wss-entry-btn {
        width: 100%;
        min-width: 0;
    }

    .wss-modal {
        padding: 12px;
        align-items: center;
    }

    .wss-modal-panel {
        width: min(100%, 430px);
        max-width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: var(--wss-card-radius, 14px);
    }

    .wss-modal .wss-auth-card,
    .woocommerce-checkout .wss-modal .wss-auth-card,
    .woocommerce-cart .wss-modal .wss-auth-card {
        margin: 0;
        padding: calc(var(--wss-form-padding, 26px) * .78);
    }

    .wss-modal .wss-auth-head {
        padding-left: 40px;
    }
}


/* v1.0.5 — Minimal WoodMart trigger + hardened centered modal */
.wss-auth-entry.wss-auth-entry-minimal {
    width: auto !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    direction: rtl !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.woocommerce-cart .wss-cart-auth-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    clear: both !important;
    order: -100 !important;
    margin: 0 0 22px !important;
}

.wss-auth-text-trigger {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
    color: var(--wss-custom-primary, var(--wd-primary-color, var(--btn-accented-bgcolor, #ff6b5f))) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: var(--wss-button-size, 14px) !important;
    line-height: 1.9 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.wss-auth-text-trigger:hover,
.wss-auth-text-trigger:focus {
    color: var(--wss-custom-primary, var(--wd-primary-color, var(--btn-accented-bgcolor, #ff6b5f))) !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    transform: none !important;
}

.wss-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 20px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: rgba(0, 0, 0, .52) !important;
    direction: rtl !important;
    transition: opacity .2s ease, visibility .2s ease !important;
}

.wss-modal.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.wss-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    background: rgba(0, 0, 0, .52) !important;
    backdrop-filter: blur(3px) !important;
}

.wss-modal-panel {
    position: relative !important;
    z-index: 1 !important;
    width: min(100%, var(--wss-modal-max-width, 520px)) !important;
    max-width: var(--wss-modal-max-width, 520px) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    margin: auto !important;
    background: var(--wd-form-bg, #fff) !important;
    border: 1px solid var(--wd-form-brd-color, rgba(0, 0, 0, .105)) !important;
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px))) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28) !important;
    transform: translateY(10px) scale(.98) !important;
    opacity: 0 !important;
    transition: transform .2s ease, opacity .2s ease !important;
}

.wss-modal.is-open .wss-modal-panel {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

.wss-modal .wss-auth-card,
.woocommerce-checkout .wss-modal .wss-auth-card,
.woocommerce-cart .wss-modal .wss-auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px))) !important;
    box-shadow: none !important;
}

body.wss-modal-open {
    overflow: hidden !important;
}

@supports (height: 100dvh) {
    .wss-modal {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
    .wss-modal-panel {
        max-height: calc(100dvh - 40px) !important;
    }
}

@media (max-width: 640px) {
    .wss-auth-entry.wss-auth-entry-minimal {
        margin: 0 auto 16px !important;
    }

    .wss-auth-text-trigger {
        font-size: max(14px, var(--wss-button-size, 14px)) !important;
        line-height: 2 !important;
    }

    .wss-modal {
        padding: 12px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .wss-modal-panel {
        width: 100% !important;
        max-width: 430px !important;
        max-height: calc(100vh - 24px) !important;
        border-radius: var(--wss-card-radius, 14px) !important;
    }

    .wss-modal .wss-auth-card,
    .woocommerce-checkout .wss-modal .wss-auth-card,
    .woocommerce-cart .wss-modal .wss-auth-card {
        margin: 0 !important;
        padding: calc(var(--wss-form-padding, 26px) * .78) !important;
    }

    .wss-modal .wss-auth-head {
        padding-left: 40px !important;
    }

    @supports (height: 100dvh) {
        .wss-modal-panel {
            max-height: calc(100dvh - 24px) !important;
        }
    }
}


/* v1.0.6 — WoodMart checkout/cart compact trigger + clear modal */
body.wss-enabled {
    --wss-entry-bg: var(--wss-entry-bg, #f7f3ec);
}

.wss-auth-entry.wss-auth-entry-minimal,
.woocommerce-account .wss-auth-entry.wss-auth-entry-minimal,
.woocommerce-checkout .wss-auth-entry.wss-auth-entry-minimal,
.woocommerce-cart .wss-auth-entry.wss-auth-entry-minimal {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    display: block !important;
    direction: rtl !important;
    text-align: right !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.woocommerce-cart .wss-cart-auth-wrap,
.woocommerce-checkout .wss-context-checkout-entry {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    direction: rtl !important;
    text-align: right !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.woocommerce-cart .wss-cart-auth-wrap {
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    clear: both !important;
    order: -100 !important;
}

.wss-auth-text-trigger,
button.wss-auth-text-trigger,
a.wss-auth-text-trigger {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: rtl !important;
    color: var(--wd-title-color, #242424) !important;
    background: var(--wss-entry-bg, #f7f3ec) !important;
    border: 1px solid rgba(0, 0, 0, .07) !important;
    border-radius: var(--wss-button-radius, max(8px, var(--wd-brd-radius, 0px))) !important;
    box-shadow: none !important;
    font-size: var(--wss-button-size, 14px) !important;
    line-height: 1.7 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transform: none !important;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.wss-auth-text-trigger::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: var(--wss-custom-primary, var(--wd-primary-color, var(--btn-accented-bgcolor, #ff6b5f)));
}

.wss-auth-text-trigger:hover,
.wss-auth-text-trigger:focus {
    color: var(--wd-title-color, #242424) !important;
    background: #fff !important;
    border-color: var(--wss-custom-primary, var(--wd-primary-color, var(--btn-accented-bgcolor, #ff6b5f))) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06) !important;
    outline: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.wss-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 20px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background: transparent !important;
    direction: rtl !important;
    isolation: isolate !important;
    transition: opacity .2s ease, visibility .2s ease !important;
}

.wss-modal.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.wss-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: rgba(0, 0, 0, .56) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

.wss-modal-panel {
    position: relative !important;
    z-index: 2 !important;
    width: min(100%, var(--wss-modal-max-width, 520px)) !important;
    max-width: var(--wss-modal-max-width, 520px) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    margin: auto !important;
    color: var(--wd-text-color, #777) !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px))) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .30) !important;
    filter: none !important;
    transform: translateY(10px) scale(.98) !important;
    opacity: 0 !important;
    transition: transform .2s ease, opacity .2s ease !important;
}

.wss-modal.is-open .wss-modal-panel {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

.wss-modal-close,
button.wss-modal-close {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    z-index: 5 !important;
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: #222 !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, .10) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

.wss-modal-close:hover,
button.wss-modal-close:hover,
.wss-modal-close:focus,
button.wss-modal-close:focus {
    color: #fff !important;
    background: var(--wss-custom-primary, var(--wd-primary-color, var(--btn-accented-bgcolor, #ff6b5f))) !important;
    outline: none !important;
}

.wss-modal .wss-auth-card,
.woocommerce-checkout .wss-modal .wss-auth-card,
.woocommerce-cart .wss-modal .wss-auth-card,
.woocommerce-account .wss-modal .wss-auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: var(--wss-card-radius, max(14px, var(--wd-brd-radius, 0px))) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.wss-modal .wss-auth-head,
.wss-modal .wss-auth-step,
.wss-modal .wss-auth-message {
    opacity: 1 !important;
    filter: none !important;
}

body.wss-modal-open {
    overflow: hidden !important;
}

@supports (height: 100dvh) {
    .wss-modal {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
    .wss-modal-panel {
        max-height: calc(100dvh - 40px) !important;
    }
}

@media (max-width: 640px) {
    .wss-auth-entry.wss-auth-entry-minimal,
    .woocommerce-account .wss-auth-entry.wss-auth-entry-minimal,
    .woocommerce-checkout .wss-auth-entry.wss-auth-entry-minimal,
    .woocommerce-cart .wss-auth-entry.wss-auth-entry-minimal,
    .woocommerce-cart .wss-cart-auth-wrap,
    .woocommerce-checkout .wss-context-checkout-entry {
        margin: 0 0 14px !important;
        text-align: right !important;
    }

    .wss-auth-text-trigger,
    button.wss-auth-text-trigger {
        padding: 8px 12px !important;
        font-size: max(13px, var(--wss-button-size, 14px)) !important;
        line-height: 1.7 !important;
    }

    .wss-modal {
        padding: 12px !important;
    }

    .wss-modal-panel {
        width: 100% !important;
        max-width: 430px !important;
        max-height: calc(100vh - 24px) !important;
        border-radius: var(--wss-card-radius, 14px) !important;
    }

    .wss-modal .wss-auth-card,
    .woocommerce-checkout .wss-modal .wss-auth-card,
    .woocommerce-cart .wss-modal .wss-auth-card,
    .woocommerce-account .wss-modal .wss-auth-card {
        padding: calc(var(--wss-form-padding, 26px) * .78) !important;
    }

    .wss-modal .wss-auth-head {
        padding-left: 40px !important;
    }

    .wss-mobile-row,
    .woocommerce-cart .wss-context-cart .wss-mobile-row,
    .woocommerce-checkout .wss-context-checkout .wss-mobile-row {
        grid-template-columns: 1fr !important;
    }

    .wss-send-btn {
        width: 100% !important;
    }

    @supports (height: 100dvh) {
        .wss-modal-panel {
            max-height: calc(100dvh - 24px) !important;
        }
    }
}

/* v1.0.8 — WoodMart header account integration */
body.wss-woodmart-header-enabled .wd-header-my-account .wd-dropdown,
body.wss-woodmart-header-enabled .wd-header-my-account .wd-dropdown-menu,
body.wss-woodmart-header-enabled .wd-header-my-account .wd-dropdown-register,
body.wss-woodmart-header-enabled .wd-header-my-account .login-dropdown-inner,
body.wss-woodmart-header-enabled .woodmart-header-links .wd-dropdown,
body.wss-woodmart-header-enabled .woodmart-header-links .wd-dropdown-menu,
body.wss-woodmart-header-enabled .woodmart-header-links .login-dropdown-inner,
body.wss-woodmart-header-enabled .wd-tools-element.wd-account .wd-dropdown,
body.wss-woodmart-header-enabled .wd-tools-element.wd-header-account .wd-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: none !important;
}

body.wss-woodmart-header-enabled .wd-header-my-account,
body.wss-woodmart-header-enabled .woodmart-header-links,
body.wss-woodmart-header-enabled .wd-tools-element.wd-account,
body.wss-woodmart-header-enabled .wd-tools-element.wd-header-account {
    cursor: pointer !important;
}

body.wss-woodmart-header-enabled .wd-header-my-account > a,
body.wss-woodmart-header-enabled .woodmart-header-links > a,
body.wss-woodmart-header-enabled .wd-tools-element.wd-account > a,
body.wss-woodmart-header-enabled .wd-tools-element.wd-header-account > a {
    cursor: pointer !important;
}

body.wss-woodmart-header-enabled .wss-woodmart-ready .wd-tools-text,
body.wss-woodmart-header-enabled .wss-woodmart-ready .woodmart-header-links-text,
body.wss-woodmart-header-enabled .wss-woodmart-ready .wd-tools-element-title {
    white-space: nowrap !important;
}

body.wss-woodmart-header-enabled .wss-modal-context-woodmart-header .wss-auth-card {
    direction: rtl !important;
    text-align: right !important;
}

@media (max-width: 768px) {
    body.wss-woodmart-header-enabled .wss-woodmart-ready .wd-tools-text,
    body.wss-woodmart-header-enabled .wss-woodmart-ready .woodmart-header-links-text,
    body.wss-woodmart-header-enabled .wss-woodmart-ready .wd-tools-element-title {
        font-size: inherit !important;
    }
}

/* v1.3.1 — purchase-flow UX gate */
/* Keep checkout/cart focused: the duplicated header account action is hidden only for logged-out buyers. */
body.wss-purchase-flow-guest.woocommerce-cart .wd-header-my-account,
body.wss-purchase-flow-guest.woocommerce-cart .wd-tools-element.wd-account,
body.wss-purchase-flow-guest.woocommerce-cart .wd-tools-element.wd-header-account,
body.wss-purchase-flow-guest.woocommerce-cart .woodmart-header-links,
body.wss-purchase-flow-guest.woocommerce-checkout .wd-header-my-account,
body.wss-purchase-flow-guest.woocommerce-checkout .wd-tools-element.wd-account,
body.wss-purchase-flow-guest.woocommerce-checkout .wd-tools-element.wd-header-account,
body.wss-purchase-flow-guest.woocommerce-checkout .woodmart-header-links {
    display: none !important;
}

/* The WooCommerce checkout form stays in the DOM for compatibility, but is unavailable until OTP login. */
body.wss-checkout-locked.woocommerce-checkout form.checkout,
body.wss-checkout-locked.woocommerce-checkout .woocommerce-form-login-toggle,
body.wss-checkout-locked.woocommerce-checkout .woocommerce-form-coupon-toggle {
    display: none !important;
}

.wss-checkout-gate {
    width: calc(100vw - 48px);
    max-width: none;
    margin-top: 24px;
    margin-bottom: 42px;
    margin-right: calc(50% - 50vw + 24px);
    margin-left: calc(50% - 50vw + 24px);
    direction: rtl;
}

.wss-checkout-gate-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    grid-template-areas: "media auth";
    min-height: clamp(560px, 72vh, 780px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
    direction: ltr;
}

.wss-checkout-gate-media {
    grid-area: media;
    position: relative;
    min-width: 0;
    min-height: clamp(560px, 72vh, 780px);
    overflow: hidden;
    background: #f5f1e9;
}

.wss-checkout-gate-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(560px, 72vh, 780px);
    object-fit: cover;
    object-position: center;
}

.wss-checkout-gate-placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.95) 0 7%, transparent 7.5%),
        radial-gradient(circle at 78% 70%, rgba(255,255,255,.7) 0 13%, transparent 13.5%),
        linear-gradient(145deg, #f9f5ee 0%, #eee5d9 50%, #f6eee4 100%);
}

.wss-checkout-gate-placeholder::before,
.wss-checkout-gate-placeholder::after,
.wss-checkout-gate-placeholder span {
    content: "";
    position: absolute;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
}

.wss-checkout-gate-placeholder::before {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -90px;
}

.wss-checkout-gate-placeholder::after {
    width: 260px;
    height: 260px;
    right: -70px;
    top: -45px;
}

.wss-checkout-gate-placeholder span:nth-child(1) {
    width: 160px;
    height: 160px;
    left: 34%;
    top: 22%;
}

.wss-checkout-gate-placeholder span:nth-child(2) {
    width: 76px;
    height: 76px;
    left: 45%;
    top: 58%;
}

.wss-checkout-gate-placeholder span:nth-child(3) {
    width: 34px;
    height: 34px;
    left: 26%;
    top: 50%;
}

.wss-checkout-gate-auth {
    grid-area: auth;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4vw, 58px);
    direction: rtl;
    text-align: right;
    background: #fff;
}

.wss-checkout-gate-copy {
    max-width: 560px;
}


.wss-checkout-gate-copy h2 {
    margin: 0 0 11px;
    color: var(--wd-title-color, #111827);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.55;
    font-weight: 800;
}

.wss-checkout-gate-copy p {
    max-width: 550px;
    margin: 0;
    color: var(--wd-text-color, #667085);
    font-size: 14px;
    line-height: 2;
}

/* Inline OTP card: no nested-card look inside the dedicated checkout pane. */
body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-card {
    width: 100% !important;
    max-width: none !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-head {
    display: none !important;
}

body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-tabs {
    margin-bottom: 20px;
}



/* Preserve the native WooCommerce CTA sizing while the guest click is intercepted by the OTP modal. */
.woocommerce-cart .wss-cart-checkout-trigger {
    cursor: pointer;
}

@media (max-width: 900px) {
    .wss-checkout-gate {
        width: min(720px, calc(100% - 28px));
        margin: 20px auto 36px;
    }

    .wss-checkout-gate-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "auth"
            "media";
        min-height: 0;
    }

    .wss-checkout-gate-auth {
        padding: 34px;
    }

    .wss-checkout-gate-media,
    .wss-checkout-gate-media img {
        min-height: 250px;
        height: 250px;
    }
}

@media (max-width: 600px) {
    .wss-checkout-gate {
        width: calc(100% - 20px);
        margin: 14px auto 30px;
    }

    .wss-checkout-gate-shell {
        border-radius: 17px;
        box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
    }

    .wss-checkout-gate-auth {
        padding: 22px 18px 24px;
    }

    .wss-checkout-gate-copy h2 {
        font-size: 23px;
    }

    body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-card {
        margin-top: 19px !important;
    }

    .wss-checkout-gate-media,
    .wss-checkout-gate-media img {
        min-height: 180px;
        height: 180px;
    }
}


/* v1.3.2 — clearer mobile checkout copy and verified-registration state */
.wss-auth-card .wss-mobile-input[readonly] {
    background: #f8fafc;
    color: var(--wss-title);
    opacity: 1;
    cursor: default;
}

@media (max-width: 600px) {
    .wss-checkout-gate-auth {
        padding: 20px 16px 22px;
    }

    .wss-checkout-gate-copy {
        width: 100%;
        max-width: none;
    }

    .wss-checkout-gate-copy h2 {
        margin: 0 0 7px;
        font-size: clamp(20px, 6vw, 23px);
        line-height: 1.5;
        letter-spacing: -.2px;
        text-wrap: balance;
    }

    .wss-checkout-gate-copy p {
        max-width: 34em;
        margin: 0;
        font-size: 13px;
        line-height: 1.85;
        text-wrap: pretty;
    }

    body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-card {
        margin-top: 16px !important;
    }

    body.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-tabs {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .wss-name-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .wss-checkout-gate-copy h2 {
        font-size: 20px;
        line-height: 1.55;
    }

    .wss-checkout-gate-copy p {
        font-size: 12.5px;
        line-height: 1.8;
    }
}


/* v1.3.4 — Tara theme compatibility + checkout gate hardening */
body.tara-theme.wss-enabled {
    --wss-custom-primary: var(--tara-primary, #215baa);
    --wss-entry-bg: #eef4fb;
}

body.tara-theme .wss-auth-card {
    --wss-theme-primary: var(--tara-primary, #215baa);
    --wss-theme-primary-hover: #174b8e;
    --wss-primary-text: #fff;
    --wss-title: var(--tara-text, #363853);
    --wss-text: #687386;
    --wss-muted: #8791a0;
    --wss-bg: #fff;
    --wss-border: #dfe6ee;
    --wss-border-focus: var(--tara-primary, #215baa);
    font-family: var(--tara-font, inherit);
}

body.tara-theme .wss-auth-tabs { background:#f5f8fc; border-color:#e1e8f0; }
body.tara-theme .wss-auth-mode-btn.is-active { color:var(--tara-primary,#215baa); box-shadow:0 3px 12px rgba(33,91,170,.08); }
body.tara-theme .wss-btn { background:var(--tara-primary,#215baa)!important; border-color:var(--tara-primary,#215baa)!important; color:#fff!important; }
body.tara-theme .wss-btn:hover { background:#174b8e!important; border-color:#174b8e!important; }
body.tara-theme .wss-auth-card .wss-mobile-input:focus,
body.tara-theme .wss-auth-card .wss-first-name:focus,
body.tara-theme .wss-auth-card .wss-last-name:focus,
body.tara-theme .wss-auth-card .wss-otp-digit:focus { border-color:#9eb8da!important; box-shadow:0 0 0 3px rgba(33,91,170,.08)!important; }

body.tara-theme .wss-checkout-gate {
    width:min(1080px,calc(100% - 32px));
    max-width:1080px;
    margin:28px auto 48px;
}
body.tara-theme .wss-checkout-gate-shell {
    min-height:0;
    border:1px solid #e2e8ef;
    border-radius:20px;
    box-shadow:0 18px 50px rgba(54,56,83,.08);
    background:#fff;
}
body.tara-theme .wss-checkout-gate-shell.no-media {
    display:block;
    width:min(100%,680px);
    margin-inline:auto;
}
body.tara-theme .wss-checkout-gate-shell.no-media .wss-checkout-gate-auth {
    padding:clamp(28px,5vw,48px);
}
body.tara-theme .wss-checkout-gate-shell.has-media {
    grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);
    grid-template-areas:"media auth";
}
body.tara-theme .wss-checkout-gate-media,
body.tara-theme .wss-checkout-gate-media img {
    min-height:520px;
    height:100%;
}
body.tara-theme .wss-checkout-gate-auth { padding:clamp(28px,4vw,48px); }
body.tara-theme .wss-checkout-gate-copy h2 {
    color:var(--tara-text,#363853);
    font-size:clamp(22px,2.1vw,30px);
    font-weight:900;
}
body.tara-theme .wss-checkout-gate-copy p { color:#707b8c; }
body.tara-theme.wss-checkout-locked.woocommerce-checkout .wss-checkout-gate .wss-auth-tabs { border-radius:12px; }

@media(max-width:900px){
    body.tara-theme .wss-checkout-gate{width:min(720px,calc(100% - 24px));margin:18px auto 36px}
    body.tara-theme .wss-checkout-gate-shell.has-media{grid-template-columns:1fr;grid-template-areas:"auth" "media"}
    body.tara-theme .wss-checkout-gate-media,body.tara-theme .wss-checkout-gate-media img{min-height:230px;height:230px}
}
@media(max-width:600px){
    body.tara-theme .wss-checkout-gate{width:calc(100% - 20px);margin:12px auto 28px}
    body.tara-theme .wss-checkout-gate-shell{border-radius:16px}
    body.tara-theme .wss-checkout-gate-shell.no-media .wss-checkout-gate-auth,
    body.tara-theme .wss-checkout-gate-auth{padding:21px 16px 23px}
    body.tara-theme .wss-checkout-gate-media,body.tara-theme .wss-checkout-gate-media img{min-height:170px;height:170px}
}
