/* Fantatuscia Referral & Registration - frontend */
:root {
    --fantatuscia-main: #05101f;
    --fantatuscia-panel: #0d1522;
    --fantatuscia-panel-2: #101c31;
    --fantatuscia-line: #9dc5f2;
    --fantatuscia-line-soft: rgba(157, 197, 242, 0.28);
    --fantatuscia-yellow: #ffe036;
    --fantatuscia-green: #a1f763;
    --fantatuscia-text: #ffffff;
    --fantatuscia-muted: #b8c6d5;
    --fantatuscia-blue-muted: #9dc5f2;
}

/* Cart and notice hardening: keeps theme and Woo Blocks overrides from breaking the flow. */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.single-product.woocommerce .woocommerce-notices-wrapper {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto 22px !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper:empty,
body.single-product.woocommerce .woocommerce-notices-wrapper:empty {
    display: none !important;
    margin: 0 !important;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.single-product.woocommerce .woocommerce-error,
body.single-product.woocommerce .woocommerce-info,
body.single-product.woocommerce .woocommerce-message {
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-cart .woocommerce-error .button,
body.woocommerce-cart .woocommerce-error .wc-forward,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-info .wc-forward,
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-message .wc-forward,
body.single-product.woocommerce .woocommerce-error .button,
body.single-product.woocommerce .woocommerce-error .wc-forward {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 38px !important;
    margin: 12px 0 0 !important;
    padding: 9px 14px !important;
    white-space: normal !important;
    text-align: center !important;
}

body.woocommerce-cart .wc-block-components-notice-banner,
body.single-product.woocommerce .wc-block-components-notice-banner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px 58px 16px 16px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-components-notice-banner__content,
body.single-product.woocommerce .wc-block-components-notice-banner__content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-cart .wc-block-components-notice-banner button,
body.woocommerce-cart .wc-block-components-notice-banner__dismiss,
body.single-product.woocommerce .wc-block-components-notice-banner button,
body.single-product.woocommerce .wc-block-components-notice-banner__dismiss {
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 999px !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table,
body.woocommerce-cart .cart-collaterals .cart_totals {
    min-height: 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-sidebar {
    align-self: start !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-block-cart__submit-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
}

@media (max-width: 980px) {
    body.woocommerce-cart .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
        width: 100% !important;
        max-width: 680px !important;
        margin: 0 auto !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar,
    body.woocommerce-cart .wc-block-cart__sidebar {
        position: static !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .site-main {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.woocommerce-cart .woocommerce,
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-cart .wc-block-cart,
    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar,
    body.woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wc-block-cart__sidebar,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table,
    body.woocommerce-cart .cart-collaterals .cart_totals {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        min-width: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        width: 72px !important;
        max-width: 72px !important;
    }

    body.woocommerce-cart .wc-block-components-product-name,
    body.woocommerce-cart .wc-block-components-product-details,
    body.woocommerce-cart .wc-block-components-product-metadata {
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-cart table.shop_table_responsive,
    body.woocommerce-cart table.shop_table_responsive tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart table.shop_table_responsive thead {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 76px minmax(0, 1fr) !important;
        gap: 8px 14px !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid var(--fantatuscia-line-soft) !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td {
        grid-column: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 3px 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail {
        grid-column: 1 !important;
        grid-row: 1 / span 5 !important;
        display: block !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail img {
        width: 76px !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 0 !important;
        z-index: 2 !important;
        display: block !important;
        width: 34px !important;
        padding: 0 !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name {
        padding-right: 42px !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail::before,
    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name::before,
    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove::before {
        content: none !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr td.actions {
        display: block !important;
        padding: 16px 0 0 !important;
    }

    body.woocommerce-cart .woocommerce-error,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-message,
    body.single-product.woocommerce .woocommerce-error,
    body.single-product.woocommerce .woocommerce-info,
    body.single-product.woocommerce .woocommerce-message {
        padding: 16px 16px 16px 48px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    body.woocommerce-cart .woocommerce-error::before,
    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-message::before,
    body.single-product.woocommerce .woocommerce-error::before,
    body.single-product.woocommerce .woocommerce-info::before,
    body.single-product.woocommerce .woocommerce-message::before {
        left: 15px !important;
    }

    body.woocommerce-cart .woocommerce-error .button,
    body.woocommerce-cart .woocommerce-error .wc-forward,
    body.single-product.woocommerce .woocommerce-error .button,
    body.single-product.woocommerce .woocommerce-error .wc-forward {
        width: 100% !important;
    }
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.single-product.woocommerce {
    background: linear-gradient(180deg, #05101f 0%, #14263f 52%, #08182a 100%);
    color: var(--fantatuscia-text);
}

.fantatuscia-pre-signup {
    max-width: 860px;
    margin: clamp(28px, 5vw, 70px) auto;
    padding: 0 16px;
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
}

.fantatuscia-pre-signup__panel {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 4vw, 42px);
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.fantatuscia-pre-signup,
.fantatuscia-pre-signup * {
    box-sizing: border-box;
}

.fantatuscia-pre-signup__logo {
    display: block;
    width: min(150px, 44vw);
    height: auto;
}

.fantatuscia-pre-signup__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.fantatuscia-pre-signup__deal {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    background: var(--fantatuscia-yellow);
    border-radius: 12px;
    color: #05101f;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: center;
}

.fantatuscia-pre-signup__kicker {
    color: var(--fantatuscia-blue-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-pre-signup__title {
    margin: 0;
    color: var(--fantatuscia-yellow);
    font-family: "Syne", Sans-serif;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.fantatuscia-pre-signup__copy,
.fantatuscia-pre-signup__note {
    margin: 0;
    color: var(--fantatuscia-text);
    font-size: 15px;
    line-height: 1.55;
}

.fantatuscia-pre-signup__copy {
    text-align: center;
}

.fantatuscia-pre-signup__countdown {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 18px;
    background: rgba(5, 16, 31, 0.58);
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 18px;
    text-align: center;
}

.fantatuscia-pre-signup__countdown-title {
    margin: 0;
    color: var(--fantatuscia-blue-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-pre-signup__countdown-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.fantatuscia-pre-signup__countdown-unit {
    display: grid;
    gap: 4px;
    padding: 11px 6px;
    background: var(--fantatuscia-panel-2);
    border-radius: 12px;
}

.fantatuscia-pre-signup__countdown-value {
    color: var(--fantatuscia-yellow);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    line-height: 1;
}

.fantatuscia-pre-signup__countdown-label {
    color: var(--fantatuscia-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-pre-signup__note {
    color: var(--fantatuscia-muted);
    font-size: 13px;
}

.fantatuscia-pre-signup__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.fantatuscia-pre-signup__form .form-row {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.fantatuscia-pre-signup__form .form-row-wide,
.fantatuscia-pre-signup__actions,
.fantatuscia-pre-signup__form .woocommerce-error {
    grid-column: 1 / -1;
}

.fantatuscia-pre-signup__form label {
    display: block;
    margin: 0 0 7px;
    color: var(--fantatuscia-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.fantatuscia-pre-signup__form input:not([type="checkbox"]) {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    background: rgba(5, 16, 31, 0.86);
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 15px;
    color: var(--fantatuscia-text);
    font: inherit;
    padding: 14px 16px;
}

.fantatuscia-pre-signup__form .checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
}

.fantatuscia-pre-signup__form .checkbox input {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 1px;
}

.fantatuscia-pre-signup__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.fantatuscia-pre-signup__actions .button {
    min-width: 220px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fantatuscia-yellow) !important;
    border: 2px solid var(--fantatuscia-yellow) !important;
    border-radius: 12px !important;
    color: #05101f !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    padding: 14px 26px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.fantatuscia-pre-signup__actions .button:hover,
.fantatuscia-pre-signup__actions .button:focus {
    background: #fff06b !important;
    border-color: #fff06b !important;
    color: #05101f !important;
}

.fantatuscia-pre-signup__success {
    margin: 0;
    padding: 20px;
    background: rgba(161, 247, 99, 0.1);
    border: 1px solid var(--fantatuscia-green);
    border-left: 4px solid var(--fantatuscia-green);
    border-radius: 18px;
    color: var(--fantatuscia-text);
    font-weight: 800;
    line-height: 1.45;
}

.fantatuscia-regulation,
.fantatuscia-regulation * {
    box-sizing: border-box;
}

.fantatuscia-regulation {
    --fantatuscia-regulation-height: clamp(460px, 72vh, 740px);
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.55fr);
    gap: clamp(18px, 2.8vw, 30px);
    width: min(1120px, calc(100vw - 32px));
    margin: clamp(28px, 5vw, 64px) auto;
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
}

.fantatuscia-regulation__nav,
.fantatuscia-regulation__content {
    height: var(--fantatuscia-regulation-height);
    min-height: 0;
    background: rgba(5, 16, 31, 0.92);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 12px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.fantatuscia-regulation__nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: clamp(18px, 3.2vw, 34px);
    overflow-y: auto;
}

.fantatuscia-regulation__nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 8px 10px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--fantatuscia-text);
    font: inherit;
    font-size: clamp(12px, 1.08vw, 14px);
    font-weight: 800;
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.fantatuscia-regulation__nav-item:hover,
.fantatuscia-regulation__nav-item:focus-visible,
.fantatuscia-regulation__nav-item.is-active {
    background: rgba(157, 197, 242, 0.15);
    color: var(--fantatuscia-yellow);
    outline: none;
}

.fantatuscia-regulation__nav-item:active {
    transform: translateY(1px);
}

.fantatuscia-regulation__content {
    padding: clamp(22px, 3vw, 36px);
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-color: var(--fantatuscia-line) rgba(157, 197, 242, 0.12);
}

.fantatuscia-regulation__section {
    scroll-margin-top: 24px;
    padding-bottom: clamp(30px, 5vw, 58px);
}

.fantatuscia-regulation__section:last-child {
    min-height: calc(var(--fantatuscia-regulation-height) - 72px);
    padding-bottom: 0;
}

.fantatuscia-regulation__content h1,
.fantatuscia-regulation__content h2,
.fantatuscia-regulation__content h3,
.fantatuscia-regulation__content h4 {
    margin: 0 0 18px;
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
    font-weight: 700;
    line-height: 1.12;
    text-transform: none;
    letter-spacing: 0;
}

.fantatuscia-regulation__content h1 {
    font-size: clamp(30px, 3.3vw, 40px);
}

.fantatuscia-regulation__content h2 {
    margin-top: 24px;
    font-size: clamp(24px, 2.7vw, 32px);
}

.fantatuscia-regulation__content h3 {
    margin-top: 22px;
    font-size: clamp(19px, 2vw, 24px);
}

.fantatuscia-regulation__content h4 {
    margin-top: 18px;
    font-size: 17px;
}

.fantatuscia-regulation__content p,
.fantatuscia-regulation__content li {
    color: var(--fantatuscia-text);
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 500;
    line-height: 1.55;
}

.fantatuscia-regulation__content p {
    margin: 0 0 16px;
}

.fantatuscia-regulation__content ul,
.fantatuscia-regulation__content ol {
    margin: 0 0 18px 24px;
    padding: 0;
}

.fantatuscia-regulation__content a {
    color: var(--fantatuscia-yellow);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 780px) {
    .fantatuscia-regulation {
        --fantatuscia-regulation-height: min(62vh, 620px);
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        width: min(100%, calc(100vw - 20px));
        margin: 18px auto 36px;
    }

    .fantatuscia-regulation__nav {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        height: auto;
        min-height: 74px;
        padding: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 10px;
        scroll-snap-type: x proximity;
    }

    .fantatuscia-regulation__nav-item {
        flex: 0 0 clamp(138px, 48vw, 210px);
        width: clamp(138px, 48vw, 210px);
        min-width: 138px;
        max-width: 210px;
        min-height: 44px;
        padding: 8px 10px;
        scroll-snap-align: start;
        font-size: 12px;
        line-height: 1.14;
    }

    .fantatuscia-regulation__content {
        height: var(--fantatuscia-regulation-height);
        padding: 20px 16px;
        border-radius: 10px;
    }

    .fantatuscia-regulation__content h1 {
        font-size: clamp(25px, 7vw, 32px);
    }

    .fantatuscia-regulation__content h2 {
        font-size: clamp(21px, 6vw, 27px);
    }

    .fantatuscia-regulation__content p,
    .fantatuscia-regulation__content li {
        font-size: 16px;
    }
}

@media (max-width: 720px) {
    .fantatuscia-pre-signup {
        margin: 18px auto 36px;
        padding: 0 10px;
    }

    .fantatuscia-pre-signup__panel {
        gap: 18px;
        padding: 24px 16px;
        border-radius: 22px;
    }

    .fantatuscia-pre-signup__head {
        gap: 12px;
    }

    .fantatuscia-pre-signup__logo {
        width: min(140px, 42vw);
    }

    .fantatuscia-pre-signup__deal {
        width: 100%;
        justify-content: center;
        font-size: 11px;
        padding: 8px 10px;
    }

    .fantatuscia-pre-signup__form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fantatuscia-pre-signup__title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(18px, 5.6vw, 23px) !important;
        line-height: 1.08;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .fantatuscia-pre-signup__copy {
        font-size: 14px;
    }

    .fantatuscia-pre-signup__countdown {
        gap: 10px;
        padding: 14px 12px;
    }

    .fantatuscia-pre-signup__countdown-units {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .fantatuscia-pre-signup__countdown-unit {
        min-width: 0;
        padding: 10px 6px;
    }

    .fantatuscia-pre-signup__countdown-label {
        font-size: 9px;
    }

    .fantatuscia-pre-signup__actions,
    .fantatuscia-pre-signup__actions .button {
        width: 100%;
    }

    .fantatuscia-pre-signup__actions .button {
        min-width: 0;
    }
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.single-product.woocommerce .site-main {
    background: transparent;
    min-height: 72vh;
    padding: clamp(26px, 4vw, 58px) 16px clamp(54px, 7vw, 96px);
}

body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content,
body.woocommerce-account .page-content,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content,
body.single-product.woocommerce .page-content,
body.single-product.woocommerce .entry-content {
    max-width: 1140px;
    margin: 0 auto;
}

body.woocommerce-cart .page-content,
body.woocommerce-cart .entry-content {
    max-width: 1320px;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-account h1,
body.single-product.woocommerce h1,
body.single-product.woocommerce .product_title {
    font-family: "Syne", Sans-serif;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 800;
    line-height: 0.95;
    color: var(--fantatuscia-yellow);
    text-transform: uppercase;
    text-shadow: 0 0 70px rgba(0, 0, 0, 0.35);
    margin: 0 0 30px;
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart h1 {
    text-align: center;
    margin-bottom: clamp(28px, 3.5vw, 42px);
}

body.woocommerce-cart h2,
body.woocommerce-checkout h2,
body.woocommerce-account h2,
body.woocommerce-cart h3,
body.woocommerce-checkout h3,
body.woocommerce-account h3,
body.single-product.woocommerce h2,
body.single-product.woocommerce h3 {
    font-family: "Syne", Sans-serif;
    font-weight: 800;
    color: var(--fantatuscia-text);
    text-transform: uppercase;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce,
body.single-product.woocommerce .woocommerce {
    font-family: "Syne", Sans-serif;
    color: var(--fantatuscia-text);
}

body.single-product.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1fr);
    gap: clamp(30px, 5vw, 62px);
    align-items: start;
    max-width: 1060px;
    margin: 0 auto;
}

body.single-product.woocommerce div.product div.images,
body.single-product.woocommerce div.product .summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 30px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
    box-sizing: border-box;
}

body.single-product.woocommerce div.product div.images {
    padding: clamp(18px, 3vw, 30px);
}

body.single-product.woocommerce div.product .summary {
    padding: clamp(24px, 4vw, 42px);
}

.fantatuscia-product-regulation {
    display: grid;
    gap: clamp(22px, 4vw, 40px);
    grid-column: 1 / -1;
    width: 100%;
    margin-top: clamp(4px, 2vw, 18px);
}

.fantatuscia-product-regulation .fantatuscia-regulation {
    margin-top: 0;
    margin-bottom: 0;
}

body.single-product.woocommerce div.product .product_title {
    color: var(--fantatuscia-yellow);
    max-width: 100%;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.08;
    margin: 0 0 18px;
    text-align: left;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

body.single-product.woocommerce div.product p.price,
body.single-product.woocommerce div.product span.price {
    color: var(--fantatuscia-yellow);
    font-family: "Syne", Sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
}

body.single-product.woocommerce div.product .woocommerce-product-details__short-description,
body.single-product.woocommerce div.product .woocommerce-product-details__short-description p,
body.single-product.woocommerce div.product .summary p {
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

body.single-product.woocommerce div.product form.cart {
    display: grid;
    gap: 16px;
    margin: clamp(20px, 3vw, 32px) 0 0;
}

body.single-product.woocommerce div.product form.cart .quantity {
    display: none !important;
}

.fantatuscia-product-fields {
    display: grid;
    gap: 16px;
    margin: 8px 0 4px;
}

.fantatuscia-product-fields .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.fantatuscia-product-fields label {
    display: block;
    margin: 0 0 8px;
    color: var(--fantatuscia-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.fantatuscia-product-fields input:not([type="checkbox"]) {
    width: 100%;
    min-height: 52px;
    background: rgba(5, 16, 31, 0.86);
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 15px;
    color: var(--fantatuscia-text);
    font: inherit;
    padding: 14px 16px;
}

.fantatuscia-product-fields .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fantatuscia-product-fields .checkbox input {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin-top: 1px;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 56px;
    background: var(--fantatuscia-yellow) !important;
    border-color: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-main) !important;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: transparent !important;
    color: var(--fantatuscia-yellow) !important;
}

body.single-product.woocommerce div.product .product_meta,
body.single-product.woocommerce div.product .woocommerce-tabs,
body.single-product.woocommerce .woocommerce-breadcrumb,
body.single-product.woocommerce nav.woocommerce-breadcrumb,
body.single-product.woocommerce .related,
body.single-product.woocommerce .related.products,
body.single-product.woocommerce .upsells,
body.single-product.woocommerce .upsells.products {
    display: none;
}

body.single-product.woocommerce .woocommerce-notices-wrapper {
    max-width: 1060px;
    margin: 0 auto 24px;
}

body.single-product.woocommerce .woocommerce-message .button,
body.single-product.woocommerce .woocommerce-message .wc-forward {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    margin: 0 0 0 auto !important;
    padding: 10px 18px !important;
    background: var(--fantatuscia-yellow) !important;
    border: 1px solid var(--fantatuscia-yellow) !important;
    border-radius: 10px !important;
    color: var(--fantatuscia-main) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap;
}

body.single-product.woocommerce .woocommerce-message .button:hover,
body.single-product.woocommerce .woocommerce-message .wc-forward:hover {
    background: var(--fantatuscia-text) !important;
    border-color: var(--fantatuscia-text) !important;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce .woocommerce-order,
.wc-block-cart,
.wc-block-checkout,
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar,
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block {
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 30px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.woocommerce table.shop_table,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce .woocommerce-order,
.wc-block-cart,
.wc-block-checkout {
    padding: clamp(18px, 3vw, 30px);
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar,
.wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-block {
    padding: clamp(18px, 2.5vw, 28px);
}

.fantatuscia-order-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0 0;
}

.fantatuscia-order-actions .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.fantatuscia-store-credit-box {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 18px;
    background: rgba(13, 21, 34, 0.96);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
}

.fantatuscia-store-credit-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
}

.fantatuscia-store-credit-head strong {
    color: var(--fantatuscia-blue-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-store-credit-balance {
    color: var(--fantatuscia-yellow);
    font-size: 22px;
    font-weight: 800;
}

.fantatuscia-store-credit-fields {
    display: grid;
    grid-template-columns: auto minmax(130px, 180px) auto;
    gap: 12px;
    align-items: center;
}

.fantatuscia-store-credit-fields label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--fantatuscia-text);
    font-size: 14px;
    font-weight: 800;
}

.fantatuscia-store-credit-fields input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
}

.fantatuscia-store-credit-amount {
    min-height: 44px !important;
    background: rgba(5, 16, 31, 0.82) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 14px !important;
    color: var(--fantatuscia-text) !important;
    padding: 10px 12px !important;
}

.fantatuscia-store-credit-apply {
    min-height: 44px !important;
    padding: 10px 16px !important;
    white-space: nowrap;
}

.fantatuscia-store-credit-status {
    min-height: 18px;
    color: var(--fantatuscia-muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .fantatuscia-store-credit-head,
    .fantatuscia-store-credit-fields {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .fantatuscia-store-credit-head {
        display: grid;
    }
}

.woocommerce table.shop_table {
    border-collapse: separate;
    overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    border-color: var(--fantatuscia-line-soft);
    color: var(--fantatuscia-text);
}

.woocommerce table.shop_table th,
.wc-block-cart-items__header,
.wc-block-components-totals-wrapper {
    color: var(--fantatuscia-blue-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.woocommerce table.shop_table .product-name a,
.woocommerce a,
.wc-block-components-product-name {
    color: var(--fantatuscia-text);
    font-weight: 800;
    text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover,
.woocommerce a:hover {
    color: var(--fantatuscia-yellow);
}

.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(28px, 3vw, 44px);
    align-items: start;
    justify-content: stretch;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto !important;
}

.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .woocommerce-message,
.woocommerce-cart .woocommerce > .woocommerce-info,
.woocommerce-cart .woocommerce > .woocommerce-error {
    grid-column: 1 / -1;
}

.woocommerce-cart .woocommerce-cart-form {
    min-width: 0;
    width: 100% !important;
}

.woocommerce-cart .cart-collaterals {
    width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    min-height: 100%;
}

.woocommerce-cart .wc-block-cart .wc-block-components-main,
.woocommerce-cart .wc-block-cart .wc-block-cart__main {
    min-width: 0 !important;
}

.woocommerce-cart .wc-block-cart {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
    gap: clamp(28px, 3vw, 44px) !important;
    align-items: start;
    justify-content: stretch !important;
    width: 100% !important;
}

.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout .wc-block-components-main,
.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar,
.woocommerce-cart .wc-block-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.woocommerce-cart .wc-block-cart .wc-block-components-main,
.woocommerce-cart .wc-block-cart .wc-block-components-sidebar,
.woocommerce-cart .wc-block-cart .wc-block-cart__main,
.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%) !important;
    border: 2px solid var(--fantatuscia-line) !important;
    border-radius: 30px !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26) !important;
    box-sizing: border-box;
    padding: clamp(22px, 3vw, 34px) !important;
}

body.woocommerce-cart .wp-block-post-content,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .page-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
    width: min(100%, 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
    display: block !important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
    gap: clamp(36px, 4vw, 64px) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart .wc-block-cart__main {
    min-height: 310px !important;
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items table,
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-cart .wc-block-components-product-name {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.woocommerce-cart .wc-block-components-order-summary,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
    box-sizing: border-box !important;
}

.woocommerce .quantity .qty,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-textarea,
.wc-block-components-form input[type="email"],
.wc-block-components-form input[type="tel"],
.wc-block-components-form input[type="text"],
.wc-block-components-form select,
.wc-block-components-form textarea {
    min-height: 48px;
    background: rgba(5, 16, 31, 0.82) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px !important;
    box-shadow: none !important;
}

.woocommerce input.input-text::placeholder,
.woocommerce textarea::placeholder,
.wc-block-components-form input::placeholder,
.wc-block-components-form textarea::placeholder {
    color: rgba(184, 198, 213, 0.78) !important;
    opacity: 1;
}

.woocommerce .password-input {
    display: block;
    position: relative;
}

.woocommerce .password-input input.input-text {
    padding-right: 54px;
}

.woocommerce .fantatuscia-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 999px;
    color: var(--fantatuscia-yellow);
    font-size: 15px;
    line-height: 1;
}

.woocommerce .fantatuscia-password-toggle:hover,
.woocommerce .fantatuscia-password-toggle:focus {
    background: var(--fantatuscia-yellow);
    color: var(--fantatuscia-main);
    outline: none;
}

.woocommerce textarea,
.woocommerce form .form-row textarea {
    min-height: 110px;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus,
.wc-block-components-address-form select:focus,
.wc-block-components-form textarea:focus {
    border-color: var(--fantatuscia-yellow) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 224, 54, 0.13) !important;
}

.woocommerce input.input-text:-webkit-autofill,
.woocommerce input.input-text:-webkit-autofill:hover,
.woocommerce input.input-text:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--fantatuscia-text);
    box-shadow: 0 0 0 1000px #061120 inset, 0 0 0 3px rgba(255, 224, 54, 0.13);
    transition: background-color 9999s ease-in-out 0s;
}

.woocommerce form .form-row label,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-address-form label,
.wc-block-components-checkbox label,
.wc-block-components-radio-control__label,
.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: var(--fantatuscia-muted);
    font-family: "Syne", Sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.woocommerce-checkout .wc-block-checkout {
    padding: clamp(24px, 4vw, 44px) !important;
}

.woocommerce-checkout .wc-block-components-sidebar-layout {
    gap: clamp(28px, 4vw, 48px) !important;
    align-items: start;
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
.woocommerce-checkout .wc-block-components-sidebar {
    box-sizing: border-box;
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
    padding: clamp(24px, 3vw, 38px) !important;
}

.woocommerce-checkout .wc-block-components-sidebar {
    padding: clamp(22px, 2.5vw, 32px) !important;
}

.woocommerce-checkout .wc-block-components-checkout-step {
    padding: 0 0 clamp(22px, 3vw, 34px) !important;
    margin: 0 0 clamp(22px, 3vw, 34px) !important;
    border-bottom: 1px solid var(--fantatuscia-line-soft);
}

.woocommerce-checkout .wc-block-components-checkout-step:last-child {
    border-bottom: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-components-title,
.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-sidebar h2 {
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
    margin-bottom: 16px !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox label {
    color: var(--fantatuscia-muted) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

.woocommerce-checkout .wc-block-components-button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout button[type="submit"] {
    width: 100% !important;
    justify-content: center !important;
    min-height: 56px !important;
}

.woocommerce-checkout .wc-block-components-order-summary,
.woocommerce-checkout .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-totals-wrapper {
    border-color: var(--fantatuscia-line-soft) !important;
}

body.woocommerce-checkout .woocommerce input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
body.woocommerce-checkout .woocommerce textarea,
body.woocommerce-checkout .woocommerce select,
body.woocommerce-checkout .wc-block-checkout input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
body.woocommerce-checkout .wc-block-checkout textarea,
body.woocommerce-checkout .wc-block-checkout select {
    background-color: rgba(5, 16, 31, 0.86) !important;
    background-image: none !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-text) !important;
}

body.woocommerce-checkout .woocommerce input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"])::placeholder,
body.woocommerce-checkout .woocommerce textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"])::placeholder,
body.woocommerce-checkout .wc-block-checkout textarea::placeholder {
    color: rgba(184, 198, 213, 0.82) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form label,
body.woocommerce-checkout .woocommerce form .form-row label {
    color: var(--fantatuscia-muted) !important;
    display: block !important;
    opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout .woocommerce button[type="submit"] {
    background-color: var(--fantatuscia-yellow) !important;
    border: 2px solid var(--fantatuscia-yellow) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-main) !important;
    font-family: "Syne", Sans-serif !important;
    font-weight: 800 !important;
    min-height: 56px !important;
    text-transform: uppercase !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout .woocommerce #payment #place_order:hover,
body.woocommerce-checkout .woocommerce button[type="submit"]:hover {
    background-color: transparent !important;
    border-color: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-yellow) !important;
}

.woocommerce form .form-row label,
.woocommerce-account .woocommerce-MyAccount-navigation a {
    text-transform: uppercase;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.wc-block-components-button,
.wp-block-button__link {
    background: var(--fantatuscia-yellow);
    border: 2px solid var(--fantatuscia-yellow);
    border-radius: 15px;
    color: var(--fantatuscia-main);
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    min-height: 46px;
    padding: 13px 22px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.wc-block-components-button:hover,
.wp-block-button__link:hover {
    background: transparent;
    border-color: var(--fantatuscia-yellow);
    color: var(--fantatuscia-yellow);
    transform: translateY(-1px);
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce #payment #place_order,
.wc-block-components-checkout-place-order-button {
    background: var(--fantatuscia-yellow);
    border-color: var(--fantatuscia-yellow);
    color: var(--fantatuscia-main);
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #payment #place_order:hover,
.wc-block-components-checkout-place-order-button:hover {
    background: transparent;
    border-color: var(--fantatuscia-yellow);
    color: var(--fantatuscia-yellow);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-noreviews,
p.no-comments,
.wc-block-components-notice-banner {
    animation: fantatusciaNoticeIn 0.36s ease-out both;
    background: rgba(13, 21, 34, 0.94);
    background-color: rgba(13, 21, 34, 0.94);
    border: 1px solid var(--fantatuscia-line);
    border-left: 4px solid var(--fantatuscia-yellow);
    border-radius: 18px;
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 24px !important;
    min-height: 0;
    padding: 18px 54px 18px 56px !important;
    position: relative;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

@keyframes fantatusciaNoticeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    top: 50% !important;
    left: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    transform: translateY(-50%);
    margin: 0 !important;
    font-size: 13px;
    line-height: 1;
}

.woocommerce-info {
    border-left-color: var(--fantatuscia-yellow);
}

.woocommerce-info::before {
    background: var(--fantatuscia-yellow);
    color: var(--fantatuscia-main);
}

.woocommerce-message {
    border-left-color: var(--fantatuscia-green);
}

.woocommerce-message::before {
    background: var(--fantatuscia-green);
    color: var(--fantatuscia-main);
}

.woocommerce-error {
    background-color: rgba(13, 21, 34, 0.96);
    border-color: #ff4d5f;
    border-left-color: #ff4d5f;
    color: var(--fantatuscia-text);
}

.woocommerce-error::before {
    background: #ff4d5f;
    color: #ffffff;
}

.woocommerce-error,
.woocommerce-error ul,
.woocommerce-error li {
    list-style: none !important;
}

.woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a,
.wc-block-components-notice-banner a,
.woocommerce .lost_password a,
.woocommerce .woocommerce-LostPassword a {
    color: var(--fantatuscia-yellow);
    font-weight: 800;
    text-decoration: underline;
}

.woocommerce-message .button,
.woocommerce-message .wc-forward,
.woocommerce-info .button,
.woocommerce-info .wc-forward,
.woocommerce-error .button,
.woocommerce-error .wc-forward {
    float: right !important;
    margin-top: -6px !important;
    margin-left: 16px !important;
    text-decoration: none !important;
}

.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-warning,
.woocommerce-checkout .wc-block-components-notice-banner,
.woocommerce-cart .wc-block-components-notice-banner {
    animation: fantatusciaNoticeIn 0.36s ease-out both !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    min-height: 0 !important;
    margin: 0 0 24px !important;
    padding: 18px 60px 18px 18px !important;
    background: rgba(13, 21, 34, 0.96) !important;
    border: 1px solid var(--fantatuscia-line) !important;
    border-left: 4px solid var(--fantatuscia-yellow) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22) !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    position: relative !important;
    overflow: hidden !important;
}

.wc-block-components-notice-banner.is-error {
    border-left-color: #ff4d5f !important;
}

.wc-block-components-notice-banner.is-success {
    border-left-color: var(--fantatuscia-green) !important;
}

.wc-block-components-notice-banner svg,
.wc-block-components-notice-banner .wc-block-components-notice-banner__icon {
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 4px !important;
    background: var(--fantatuscia-yellow) !important;
    border-radius: 999px !important;
    fill: currentColor !important;
    color: var(--fantatuscia-main) !important;
}

.wc-block-components-notice-banner.is-error svg,
.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__icon {
    background: #ff4d5f !important;
    color: #ffffff !important;
}

.wc-block-components-notice-banner.is-success svg,
.wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__icon {
    background: var(--fantatuscia-green) !important;
    color: var(--fantatuscia-main) !important;
}

.wc-block-components-notice-banner__content {
    padding: 0 !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.wc-block-components-notice-banner__summary {
    color: var(--fantatuscia-text) !important;
    font-weight: 800 !important;
}

.wc-block-components-notice-banner .wc-block-components-button,
.wc-block-components-notice-banner button,
.wc-block-components-notice-banner button.components-button,
.wc-block-components-notice-banner button[aria-label],
.wc-block-components-notice-banner button[aria-label="Dismiss this notice"],
.wc-block-components-notice-banner button[aria-label="Ignora"],
.wc-block-components-notice-banner button[aria-label="Chiudi"],
.woocommerce-cart .wc-block-components-notice-banner button,
.woocommerce-checkout .wc-block-components-notice-banner button,
.wc-block-components-notice-banner__dismiss {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 100% !important;
    min-width: 44px !important;
    min-height: 100% !important;
    max-width: 44px !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--fantatuscia-yellow) !important;
    border: 1px solid var(--fantatuscia-yellow) !important;
    border-radius: 0 17px 17px 0 !important;
    color: var(--fantatuscia-main) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: hidden !important;
    text-indent: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    flex: 0 0 44px !important;
    appearance: none !important;
}

.wc-block-components-notice-banner.is-error .wc-block-components-button,
.wc-block-components-notice-banner.is-error button,
.wc-block-components-notice-banner.is-error button.components-button,
.wc-block-components-notice-banner.is-error button[aria-label],
.wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__dismiss {
    background: #ff4d5f !important;
    border-color: #ff4d5f !important;
    color: #ffffff !important;
}

.wc-block-components-notice-banner.is-success .wc-block-components-button,
.wc-block-components-notice-banner.is-success button,
.wc-block-components-notice-banner.is-success button.components-button,
.wc-block-components-notice-banner.is-success button[aria-label],
.wc-block-components-notice-banner.is-success .wc-block-components-notice-banner__dismiss {
    background: var(--fantatuscia-green) !important;
    border-color: var(--fantatuscia-green) !important;
    color: var(--fantatuscia-main) !important;
}

.wc-block-components-notice-banner .wc-block-components-button:hover,
.wc-block-components-notice-banner button:hover,
.wc-block-components-notice-banner button.components-button:hover,
.wc-block-components-notice-banner button[aria-label]:hover,
.wc-block-components-notice-banner__dismiss:hover {
    filter: brightness(1.06) !important;
    transform: none !important;
}

.wc-block-components-notice-banner .wc-block-components-button::before,
.wc-block-components-notice-banner .wc-block-components-button::after,
.wc-block-components-notice-banner button::before,
.wc-block-components-notice-banner button::after,
.wc-block-components-notice-banner__dismiss::after {
    content: none !important;
}

.wc-block-components-notice-banner .wc-block-components-button::before,
.wc-block-components-notice-banner button::before,
.wc-block-components-notice-banner__dismiss::before {
    content: "×" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    color: currentColor !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    position: static !important;
    transform: none !important;
}

.wc-block-components-notice-banner button svg,
.wc-block-components-notice-banner__dismiss svg {
    display: none !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    color: currentColor !important;
    fill: currentColor !important;
}

.wc-block-components-notice-banner button span,
.wc-block-components-notice-banner button div,
.wc-block-components-notice-banner button .components-button__text,
.wc-block-components-notice-banner button .wc-block-components-button__text,
.wc-block-components-notice-banner__dismiss span {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    overflow: hidden !important;
}

.woocommerce-checkout #payment,
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment div.payment_box {
    background: transparent;
    color: var(--fantatuscia-text);
}

.woocommerce-checkout #payment ul.payment_methods {
    border-color: var(--fantatuscia-line-soft);
}

.woocommerce-checkout #payment div.payment_box {
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 18px;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--fantatuscia-line-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--fantatuscia-line-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 14px 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: var(--fantatuscia-yellow);
}

.woocommerce-account .u-columns,
.woocommerce-account #customer_login {
    display: grid !important;
    gap: clamp(24px, 4vw, 42px);
    align-items: start;
    clear: both;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
    width: auto !important;
    max-width: none !important;
    float: none !important;
}

.woocommerce-account #customer_login .u-column1 h2,
.woocommerce-account #customer_login .u-column2 h2 {
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 26px;
}

.woocommerce-account #customer_login form.login,
.woocommerce-account #customer_login form.register {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account #customer_login form.login input.input-text,
body.woocommerce-account #customer_login form.register input.input-text,
body.woocommerce-account #customer_login form.login input[type="text"],
body.woocommerce-account #customer_login form.login input[type="email"],
body.woocommerce-account #customer_login form.login input[type="password"],
body.woocommerce-account #customer_login form.register input[type="text"],
body.woocommerce-account #customer_login form.register input[type="email"],
body.woocommerce-account #customer_login form.register input[type="password"] {
    background-color: #061120 !important;
    border-color: var(--fantatuscia-line-soft) !important;
    color: var(--fantatuscia-text) !important;
    -webkit-text-fill-color: var(--fantatuscia-text) !important;
    caret-color: var(--fantatuscia-yellow);
    box-shadow: none !important;
}

body.woocommerce-account #customer_login form.login input.input-text:focus,
body.woocommerce-account #customer_login form.register input.input-text:focus,
body.woocommerce-account #customer_login form.login input[type="text"]:focus,
body.woocommerce-account #customer_login form.login input[type="email"]:focus,
body.woocommerce-account #customer_login form.login input[type="password"]:focus,
body.woocommerce-account #customer_login form.register input[type="text"]:focus,
body.woocommerce-account #customer_login form.register input[type="email"]:focus,
body.woocommerce-account #customer_login form.register input[type="password"]:focus {
    background-color: #061120 !important;
    border-color: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-text) !important;
    -webkit-text-fill-color: var(--fantatuscia-text) !important;
    box-shadow: 0 0 0 3px rgba(255, 224, 54, 0.13) !important;
}

body.woocommerce-account #customer_login form.login input.input-text:-webkit-autofill,
body.woocommerce-account #customer_login form.login input.input-text:-webkit-autofill:hover,
body.woocommerce-account #customer_login form.login input.input-text:-webkit-autofill:focus,
body.woocommerce-account #customer_login form.register input.input-text:-webkit-autofill,
body.woocommerce-account #customer_login form.register input.input-text:-webkit-autofill:hover,
body.woocommerce-account #customer_login form.register input.input-text:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--fantatuscia-text) !important;
    box-shadow: 0 0 0 1000px #061120 inset, 0 0 0 3px rgba(255, 224, 54, 0.13) !important;
    transition: background-color 9999s ease-in-out 0s;
}

.woocommerce-account form.register .form-row-first,
.woocommerce-account form.register .form-row-last {
    width: calc(50% - 12px);
}

.woocommerce-account form.register .form-row-first {
    margin-right: 24px;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
    top: 50% !important;
    right: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    color: var(--fantatuscia-yellow) !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
    color: currentColor !important;
    line-height: 1 !important;
}

.woocommerce .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce .coupon .input-text {
    width: min(260px, 100%) !important;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading {
    color: var(--fantatuscia-yellow);
}

/* Final layout overrides for WooCommerce legacy + Blocks. */
body.woocommerce-account .woocommerce {
    max-width: 1180px;
    margin: 0 auto;
}

body.woocommerce-account #customer_login,
body.woocommerce-account .col2-set#customer_login,
body.woocommerce-account .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(28px, 4vw, 48px) !important;
    align-items: start !important;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after,
body.woocommerce-account .u-columns.col2-set::before,
body.woocommerce-account .u-columns.col2-set::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2,
body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2 {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
}

body.woocommerce-account form.register .woocommerce-form__label-for-checkbox,
body.woocommerce-account form.register label.checkbox {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    line-height: 1.35 !important;
}

body.woocommerce-account form.register input[type="checkbox"],
body.woocommerce-account form.register .woocommerce-form__input-checkbox,
body.woocommerce-account form.register .woocommerce-form__input.checkbox {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    appearance: auto !important;
}

.fantatuscia-auth-tabs {
    display: none;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    color: var(--fantatuscia-text);
    font-family: "Syne", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
    margin: 0 0 18px;
    color: var(--fantatuscia-text);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
    color: var(--fantatuscia-text);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
    color: var(--fantatuscia-yellow);
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-column__title,
body.woocommerce-account .woocommerce-Address-title h2 {
    color: var(--fantatuscia-yellow);
    font-family: "Syne", Sans-serif;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 18px;
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 34px);
}

body.woocommerce-account .woocommerce-Address,
body.woocommerce-account .woocommerce-column--billing-address,
body.woocommerce-account .woocommerce-column--shipping-address {
    float: none !important;
    width: auto !important;
    min-width: 0;
}

body.woocommerce-account .woocommerce-Address-title {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

body.woocommerce-account .woocommerce-Address-title::before,
body.woocommerce-account .woocommerce-Address-title::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .woocommerce-Address-title h2 {
    overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-Address-title .edit {
    justify-self: start;
    color: var(--fantatuscia-yellow) !important;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-account address {
    color: var(--fantatuscia-text);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
}

body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    margin: 0;
}

body.woocommerce-account .woocommerce-orders-table th,
body.woocommerce-account .woocommerce-orders-table td,
body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td {
    vertical-align: middle !important;
    padding: 16px 14px !important;
    font-size: 14px;
    line-height: 1.35;
}

body.woocommerce-account .woocommerce-orders-table .button,
body.woocommerce-account table.shop_table .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 18px !important;
    line-height: 1 !important;
    white-space: nowrap;
    vertical-align: middle !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions,
body.woocommerce-account .woocommerce-orders-table__cell-order-number {
    white-space: nowrap;
}

body.woocommerce-account .woocommerce-table--order-details .woocommerce-table__product-name {
    min-width: 220px;
}

.fantatuscia-account-highlights {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(18px, 3vw, 30px);
    margin: 0 0 clamp(26px, 4vw, 42px);
}

.fantatuscia-account-highlights--single {
    grid-template-columns: minmax(0, 1fr);
}

.fantatuscia-account-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #101c31 0%, #0d1522 100%);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 30px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
    padding: clamp(22px, 3vw, 34px);
}

.fantatuscia-account-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -42% 38%;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 224, 54, 0.18), transparent 64%);
    pointer-events: none;
}

.fantatuscia-account-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--fantatuscia-blue-muted);
    font-family: "Syne", Sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-account-value {
    display: block;
    color: var(--fantatuscia-yellow);
    font-family: "Syne", Sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 0.95;
    text-transform: uppercase;
}

.fantatuscia-account-copy {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    color: var(--fantatuscia-muted);
    font-family: "Syne", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.fantatuscia-referral-code {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 44px;
    margin: 4px 0 16px;
    padding: 9px 14px;
    background: var(--fantatuscia-yellow);
    border-radius: 15px;
    color: var(--fantatuscia-main);
    font-family: "Syne", Sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fantatuscia-referral-link {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.fantatuscia-referral-hint {
    margin: 0;
    color: var(--fantatuscia-muted);
    font-family: "Syne", Sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.fantatuscia-referral-hint strong {
    display: block;
    color: var(--fantatuscia-blue-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.fantatuscia-referral-hint span {
    display: block;
    margin-top: 2px;
}

.fantatuscia-referral-link label {
    color: var(--fantatuscia-blue-muted);
    font-family: "Syne", Sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-referral-link input {
    width: 100%;
    min-height: 48px;
    background: rgba(5, 16, 31, 0.82) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 14px !important;
}

.fantatuscia-referral-share-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, max-content));
    gap: 8px;
    align-items: stretch;
    justify-content: start;
}

.fantatuscia-referral-action {
    min-height: 48px !important;
    padding: 10px 14px !important;
    border: 1px solid var(--fantatuscia-yellow) !important;
    border-radius: 14px !important;
    background: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-main) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.fantatuscia-referral-action:hover,
.fantatuscia-referral-action:focus {
    background: var(--fantatuscia-text) !important;
    border-color: var(--fantatuscia-text) !important;
    color: var(--fantatuscia-main) !important;
    outline: none;
}

.fantatuscia-account-empty-credit .fantatuscia-account-value {
    color: var(--fantatuscia-muted);
}

body.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 100%;
    overflow: hidden;
}

body.woocommerce-account .woocommerce-Addresses {
    align-items: start;
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-column__title {
    max-width: 100%;
    color: var(--fantatuscia-yellow);
    font-size: clamp(17px, 1.55vw, 22px) !important;
    line-height: 1.16 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

body.woocommerce-account .woocommerce-Address-title {
    display: block;
    margin-bottom: 18px;
}

body.woocommerce-account .woocommerce-Address-title .edit {
    display: inline-block;
    margin-top: 8px;
    line-height: 1.25;
}

.fantatuscia-account-highlights {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)) !important;
    align-items: stretch;
    max-width: 100%;
    gap: 18px !important;
}

.fantatuscia-account-card {
    min-width: 0;
    box-sizing: border-box;
    border-radius: 22px;
    padding: 22px !important;
}

.fantatuscia-account-kicker {
    margin-bottom: 8px;
    font-size: 11px !important;
}

.fantatuscia-account-value {
    font-size: clamp(34px, 3.4vw, 46px) !important;
    line-height: 1 !important;
}

.fantatuscia-account-copy {
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.fantatuscia-referral-code {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: clamp(15px, 1.35vw, 18px) !important;
    line-height: 1.05;
    letter-spacing: 0 !important;
}

.fantatuscia-referral-link input {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.woocommerce-checkout .page-content,
body.woocommerce-checkout .entry-content {
    max-width: 1320px !important;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
    padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px) !important;
    gap: clamp(32px, 4vw, 56px) !important;
    max-width: none !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
    width: auto !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar {
    width: auto !important;
    align-self: start !important;
    position: sticky;
    top: 98px;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    padding: 0 0 26px !important;
    margin: 0 0 28px !important;
}

body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-address-form__country,
body.woocommerce-checkout .wc-block-components-address-form__state,
body.woocommerce-checkout [class*="fantatuscia-fiscal-code"],
body.woocommerce-checkout [id*="fantatuscia/fiscal-code"] {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 7px !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form label {
    position: static !important;
    transform: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    color: var(--fantatuscia-muted) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout [class*="fantatuscia-fiscal-code"] label,
body.woocommerce-checkout [id*="fantatuscia/fiscal-code"] label {
    position: static !important;
    transform: none !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--fantatuscia-muted) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body.woocommerce-checkout .fantatuscia-fiscal-code-status {
    display: block !important;
    margin: 2px 0 0 !important;
    color: var(--fantatuscia-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.woocommerce-checkout .fantatuscia-fiscal-code-valid .fantatuscia-fiscal-code-status {
    color: #8ef0a8 !important;
}

body.woocommerce-checkout .fantatuscia-fiscal-code-invalid .fantatuscia-fiscal-code-status {
    color: #ff9f9f !important;
}

body.woocommerce-checkout input.fantatuscia-fiscal-code-valid,
body.woocommerce-checkout .fantatuscia-fiscal-code-valid input {
    border-color: rgba(142, 240, 168, 0.85) !important;
}

body.woocommerce-checkout input.fantatuscia-fiscal-code-invalid,
body.woocommerce-checkout .fantatuscia-fiscal-code-invalid input {
    border-color: rgba(255, 159, 159, 0.95) !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country label,
body.woocommerce-checkout .wc-block-components-address-form__state label,
body.woocommerce-checkout .wc-block-components-combobox-control label,
body.woocommerce-checkout .components-base-control__label {
    background: transparent !important;
    color: var(--fantatuscia-muted) !important;
    position: static !important;
    transform: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-form textarea {
    height: 52px !important;
    min-height: 52px !important;
    padding: 14px 16px !important;
}

body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout select {
    appearance: auto !important;
    background-color: rgba(5, 16, 31, 0.86) !important;
    background-image: none !important;
    color: var(--fantatuscia-text) !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout .wc-block-components-combobox .components-flex,
body.woocommerce-checkout .wc-block-components-combobox-control,
body.woocommerce-checkout .components-combobox-control__suggestions-container,
body.woocommerce-checkout .wc-block-components-address-form__country,
body.woocommerce-checkout .wc-block-components-address-form__state {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-base-control,
body.woocommerce-checkout .wc-block-components-address-form__state .components-base-control,
body.woocommerce-checkout .wc-block-components-address-form__country .components-base-control__field,
body.woocommerce-checkout .wc-block-components-address-form__state .components-base-control__field,
body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control,
body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__container,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__backdrop,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__backdrop {
    background: rgba(5, 16, 31, 0.86) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__label,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__label,
body.woocommerce-checkout .wc-block-components-address-form__country .components-base-control__label,
body.woocommerce-checkout .wc-block-components-address-form__state .components-base-control__label {
    position: static !important;
    display: block !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--fantatuscia-muted) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__input,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__input,
body.woocommerce-checkout .wc-block-components-address-form__country .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form__state .components-combobox-control__input {
    background: transparent !important;
    border: 0 !important;
    color: var(--fantatuscia-text) !important;
    min-height: 52px !important;
    padding: 14px 44px 14px 16px !important;
    position: relative !important;
    z-index: 1 !important;
}

body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout .wc-block-components-address-form__country,
body.woocommerce-checkout .wc-block-components-address-form__state {
    overflow: visible !important;
}

body.woocommerce-checkout #billing_country_field label,
body.woocommerce-checkout #billing_state_field label {
    display: block !important;
    margin: 0 0 7px !important;
    background: transparent !important;
    color: var(--fantatuscia-muted) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout #billing_country,
body.woocommerce-checkout #billing_state,
body.woocommerce-checkout select[name="billing_country"],
body.woocommerce-checkout select[name="billing_state"],
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    background: rgba(5, 16, 31, 0.86) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-text) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    padding: 0 44px 0 16px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 12px !important;
}

body.woocommerce-checkout .select2-container--open,
body.woocommerce-checkout .select2-container--default.select2-container--open {
    z-index: 999999 !important;
}

body.woocommerce-checkout .select2-container--default .select2-dropdown,
body.woocommerce-checkout .select2-dropdown {
    background: #061120 !important;
    border: 1px solid rgba(114, 171, 233, 0.72) !important;
    border-radius: 15px !important;
    color: var(--fantatuscia-text) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46) !important;
    overflow: hidden !important;
    z-index: 999999 !important;
}

body.woocommerce-checkout .select2-container--default .select2-dropdown--above,
body.woocommerce-checkout .select2-dropdown--above {
    margin-top: -8px !important;
    border-bottom-right-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
}

body.woocommerce-checkout .select2-container--default .select2-dropdown--below,
body.woocommerce-checkout .select2-dropdown--below {
    margin-top: 8px !important;
    border-top-right-radius: 15px !important;
    border-top-left-radius: 15px !important;
}

body.woocommerce-checkout .select2-container--default .select2-search--dropdown,
body.woocommerce-checkout .select2-search--dropdown {
    padding: 10px !important;
    background: #061120 !important;
}

body.woocommerce-checkout .select2-container--default .select2-search--dropdown .select2-search__field,
body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    background: rgba(5, 16, 31, 0.92) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 11px !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    outline: none !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-results,
body.woocommerce-checkout .select2-results {
    background: #061120 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results > .select2-results__options,
body.woocommerce-checkout .select2-results > .select2-results__options {
    max-height: 230px !important;
    background: #061120 !important;
    overscroll-behavior: contain;
}

body.woocommerce-checkout .select2-container--default .select2-results__option,
body.woocommerce-checkout .select2-results__option {
    min-height: 42px !important;
    padding: 11px 14px !important;
    background: #061120 !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"],
body.woocommerce-checkout .select2-results__option[aria-selected="true"] {
    background: rgba(255, 224, 54, 0.16) !important;
    color: var(--fantatuscia-yellow) !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-results__option--highlighted[aria-selected] {
    background: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-main) !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__message,
body.woocommerce-checkout .select2-results__message {
    color: var(--fantatuscia-muted) !important;
}

body.fantatuscia-native-selects.woocommerce-checkout #billing_country,
body.fantatuscia-native-selects.woocommerce-checkout #billing_state,
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_country"],
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_state"] {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    clip: auto !important;
    clip-path: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: visible !important;
}

body.fantatuscia-native-selects.woocommerce-checkout #billing_country + .select2,
body.fantatuscia-native-selects.woocommerce-checkout #billing_state + .select2,
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_country"] + .select2,
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_state"] + .select2,
body.fantatuscia-native-selects.woocommerce-checkout #billing_country + .select2-container,
body.fantatuscia-native-selects.woocommerce-checkout #billing_state + .select2-container,
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_country"] + .select2-container,
body.fantatuscia-native-selects.woocommerce-checkout select[name="billing_state"] + .select2-container {
    display: none !important;
    pointer-events: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__container,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__container,
body.woocommerce-checkout .wc-block-components-address-form__country .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form__state .components-combobox-control__input {
    background-color: rgba(5, 16, 31, 0.86) !important;
    background-image: none !important;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-select__container {
    min-height: 52px !important;
    background: rgba(5, 16, 31, 0.86) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-select__select {
    height: 52px !important;
    min-height: 52px !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 44px 14px 16px !important;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__label,
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-select__label {
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--fantatuscia-muted) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    transform: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form__country .components-input-control__label,
body.woocommerce-checkout .wc-block-components-address-form__state .components-input-control__label {
    position: absolute !important;
    top: -22px !important;
    left: 0 !important;
    z-index: 2 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-form textarea {
    height: auto !important;
    min-height: 110px !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form input::placeholder,
body.woocommerce-checkout .wc-block-components-form textarea::placeholder {
    color: rgba(184, 198, 213, 0.7) !important;
}

@media (min-width: 769px) {
    .woocommerce-account #customer_login {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.single-product.woocommerce div.product {
        grid-template-columns: 1fr;
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title,
    body.woocommerce-account .entry-title,
    body.woocommerce-cart h1,
    body.woocommerce-checkout h1,
    body.woocommerce-account h1,
    body.single-product.woocommerce h1,
    body.single-product.woocommerce .product_title {
        max-width: 100%;
        margin-bottom: 22px;
        font-size: clamp(30px, 9.5vw, 40px);
        line-height: 1.02;
        letter-spacing: -0.02em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce-account .site-main,
    body.single-product.woocommerce .site-main {
        padding-top: 24px;
        padding-bottom: 54px;
    }

    body.woocommerce-account #customer_login .u-column1 h2,
    body.woocommerce-account #customer_login .u-column2 h2 {
        margin-bottom: 18px;
        font-size: 25px;
        line-height: 1.08;
    }

    body.woocommerce-account #customer_login,
    body.woocommerce-account .col2-set#customer_login,
    body.woocommerce-account .u-columns.col2-set {
        gap: 20px !important;
    }

    body.woocommerce-account .fantatuscia-auth-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 680px;
        margin: 0 auto 14px;
        padding: 6px;
        background: rgba(13, 21, 34, 0.96);
        border: 1px solid var(--fantatuscia-line-soft);
        border-radius: 18px;
        box-sizing: border-box;
    }

    body.woocommerce-account .fantatuscia-auth-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 46px;
        padding: 11px 12px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: var(--fantatuscia-muted);
        font-family: "Syne", Sans-serif;
        font-size: 14px;
        font-weight: 800;
        line-height: 1;
        text-align: center;
        text-transform: uppercase;
    }

    body.woocommerce-account .fantatuscia-auth-tab.is-active {
        background: var(--fantatuscia-yellow);
        color: var(--fantatuscia-main);
    }

    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs,
    body.woocommerce-account .col2-set#customer_login.has-fantatuscia-auth-tabs,
    body.woocommerce-account .u-columns.col2-set.has-fantatuscia-auth-tabs {
        display: block !important;
    }

    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs .u-column1,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs .u-column2,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs .col-1,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs .col-2 {
        display: none !important;
        margin-top: 0 !important;
    }

    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs.is-login-active .u-column1,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs.is-login-active .col-1,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs.is-register-active .u-column2,
    body.woocommerce-account #customer_login.has-fantatuscia-auth-tabs.is-register-active .col-2 {
        display: block !important;
    }

    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2,
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px !important;
    }

    body.woocommerce-account form.login .form-row,
    body.woocommerce-account form.register .form-row,
    body.woocommerce-checkout form .form-row {
        margin-bottom: 15px;
    }

    body.woocommerce-account form.register .woocommerce-form__label-for-checkbox,
    body.woocommerce-account form.register label.checkbox,
    body.woocommerce-checkout .wc-block-components-checkbox label,
    body.woocommerce-checkout .wc-block-components-radio-control__label {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.woocommerce-account .woocommerce-button,
    body.woocommerce-account button.button,
    body.woocommerce-account form.login .button,
    body.woocommerce-account form.register .button {
        width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step {
        margin-bottom: 20px !important;
        padding-bottom: 20px !important;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step__heading,
    body.woocommerce-checkout .wc-block-components-title,
    body.woocommerce-checkout .wc-block-components-checkout-step__title,
    body.woocommerce-checkout .wc-block-components-sidebar h2,
    body.woocommerce-checkout #order_review_heading {
        margin-bottom: 14px !important;
        font-size: clamp(20px, 6.5vw, 26px) !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere;
    }

    body.woocommerce-checkout .wc-block-components-sidebar,
    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review {
        padding: 18px !important;
    }

    body.woocommerce-checkout .wc-block-components-sidebar {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item,
    body.woocommerce-checkout .wc-block-components-totals-item,
    body.woocommerce-checkout .wc-block-components-payment-method-label,
    body.woocommerce-checkout .wc-block-components-radio-control-accordion-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.woocommerce-checkout .wc-block-components-button,
    body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
    body.woocommerce-checkout button[type="submit"] {
        min-height: 52px !important;
        padding: 12px 16px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    body.single-product.woocommerce div.product .summary,
    body.single-product.woocommerce div.product form.cart,
    body.single-product.woocommerce .fantatuscia-product-registration-fields {
        min-width: 0;
        max-width: 100%;
    }

    body.single-product.woocommerce .fantatuscia-product-registration-fields label,
    body.single-product.woocommerce form.cart label {
        overflow-wrap: anywhere;
    }

    .fantatuscia-account-highlights {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .fantatuscia-referral-share-row {
        grid-template-columns: 1fr;
    }

    .fantatuscia-referral-action {
        width: 100%;
    }

    body.single-product.woocommerce div.product form.cart {
        display: grid;
    }

    body.woocommerce-account #customer_login,
    body.woocommerce-account .col2-set#customer_login,
    body.woocommerce-account .u-columns.col2-set,
    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        display: block !important;
    }

    body.woocommerce-account #customer_login .u-column2,
    body.woocommerce-account #customer_login .col-2,
    body.woocommerce-checkout .wc-block-components-sidebar {
        margin-top: 24px !important;
    }

    body.woocommerce-checkout .wc-block-components-sidebar {
        position: static !important;
    }

    .woocommerce-cart .woocommerce {
        display: block !important;
    }

    .woocommerce-cart .cart-collaterals {
        margin-top: 24px;
    }

    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce-account .site-main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .woocommerce table.shop_table,
    .woocommerce-cart .cart-collaterals .cart_totals,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce form.checkout_coupon,
    .woocommerce form.login,
    .woocommerce form.register,
    .woocommerce-account #customer_login .u-column1,
    .woocommerce-account #customer_login .u-column2,
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content,
    .wc-block-cart,
    .wc-block-checkout {
        border-radius: 22px;
    }

    .woocommerce .coupon {
        display: grid;
    }

    .woocommerce .coupon .input-text,
    .woocommerce .coupon .button {
        width: 100% !important;
    }

    .woocommerce-account form.register .form-row-first,
    .woocommerce-account form.register .form-row-last {
        float: none;
        margin-right: 0;
        width: 100%;
    }
}

/* Keep these after every Woo layout rule: the desktop grid has higher source-order otherwise. */
@media (max-width: 1100px) {
    body.woocommerce-cart .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout,
    body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
        width: 100% !important;
        max-width: 760px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar,
    body.woocommerce-cart .wc-block-cart__sidebar {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/* Order received / order summary page. */
body.woocommerce-order-received .page-content,
body.woocommerce-order-received .entry-content,
body.woocommerce-view-order .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 1040px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .woocommerce-order {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .woocommerce-order {
    margin: 0 auto !important;
    padding: clamp(20px, 4vw, 38px) !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received {
    margin: 0 0 24px !important;
    padding: 18px 20px !important;
    background: var(--fantatuscia-yellow) !important;
    border-radius: 16px !important;
    color: var(--fantatuscia-main) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: clamp(17px, 2.4vw, 22px) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1px !important;
    width: 100% !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
    list-style: none !important;
    background: rgba(5, 16, 31, 0.72) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
    float: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 16px !important;
    background: rgba(5, 16, 31, 0.96) !important;
    border: 0 !important;
    color: var(--fantatuscia-muted) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block !important;
    margin-top: 7px !important;
    color: var(--fantatuscia-text) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-view-order .woocommerce-customer-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-view-order .woocommerce-column__title {
    margin: 0 0 16px !important;
    color: var(--fantatuscia-yellow) !important;
    font-size: clamp(22px, 3vw, 32px) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details,
body.woocommerce-view-order table.woocommerce-table--order-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    table-layout: fixed !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td,
body.woocommerce-view-order table.woocommerce-table--order-details th,
body.woocommerce-view-order table.woocommerce-table--order-details td {
    min-width: 0 !important;
    padding: 15px 16px !important;
    vertical-align: top !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details .woocommerce-table__product-name,
body.woocommerce-view-order table.woocommerce-table--order-details .woocommerce-table__product-name {
    width: 68% !important;
    min-width: 0 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details .woocommerce-table__product-total,
body.woocommerce-view-order table.woocommerce-table--order-details .woocommerce-table__product-total {
    width: 32% !important;
    text-align: right !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.woocommerce-view-order table.woocommerce-table--order-details tfoot th {
    text-align: left !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot td,
body.woocommerce-view-order table.woocommerce-table--order-details tfoot td {
    text-align: right !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details .wc-item-meta,
body.woocommerce-view-order table.woocommerce-table--order-details .wc-item-meta {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    color: var(--fantatuscia-muted) !important;
    font-size: 12px !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
body.woocommerce-view-order .woocommerce-customer-details .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
body.woocommerce-view-order .woocommerce-customer-details .woocommerce-column {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
}

body.woocommerce-order-received .woocommerce-customer-details address,
body.woocommerce-view-order .woocommerce-customer-details address {
    min-height: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(5, 16, 31, 0.72) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 16px !important;
    color: var(--fantatuscia-text) !important;
    font-style: normal !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .fantatuscia-order-actions {
    width: 100% !important;
    margin-top: 28px !important;
}

@media (max-width: 768px) {
    body.woocommerce-order-received .site-main {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.woocommerce-order-received .woocommerce-order {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview li {
        padding: 13px !important;
    }

    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
    body.woocommerce-view-order .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details th,
    body.woocommerce-order-received table.woocommerce-table--order-details td,
    body.woocommerce-view-order table.woocommerce-table--order-details th,
    body.woocommerce-view-order table.woocommerce-table--order-details td {
        padding: 12px 10px !important;
        font-size: 13px !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details tr,
    body.woocommerce-view-order table.woocommerce-table--order-details tr {
        display: table-row !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details th,
    body.woocommerce-order-received table.woocommerce-table--order-details td,
    body.woocommerce-view-order table.woocommerce-table--order-details th,
    body.woocommerce-view-order table.woocommerce-table--order-details td {
        display: table-cell !important;
        text-align: inherit !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details td::before,
    body.woocommerce-view-order table.woocommerce-table--order-details td::before {
        content: none !important;
        display: none !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details .woocommerce-table__product-name,
    body.woocommerce-view-order table.woocommerce-table--order-details .woocommerce-table__product-name {
        width: 62% !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details .woocommerce-table__product-total,
    body.woocommerce-view-order table.woocommerce-table--order-details .woocommerce-table__product-total {
        width: 38% !important;
    }

    body.woocommerce-order-received .fantatuscia-order-actions .button {
        width: 100% !important;
        min-height: 50px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* Checkout Blocks mobile typography: override large heading rules from the active theme. */
@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) {
        overflow-x: hidden !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) main h1,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 24px !important;
        font-size: clamp(28px, 8.5vw, 34px) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.02em !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout h2,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step__title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step__heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-payment-methods__title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__payment-method .wc-block-components-title {
        max-width: 100% !important;
        margin-bottom: 16px !important;
        font-size: clamp(19px, 5.8vw, 23px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.01em !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
}

/* Classic WooCommerce checkout rendered in place of the Checkout Block. */
html:has(body.woocommerce-checkout) {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received),
body.woocommerce-checkout:not(.woocommerce-order-received) #page,
body.woocommerce-checkout:not(.woocommerce-order-received) .site,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-main,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px) !important;
    gap: 12px clamp(28px, 4vw, 52px) !important;
    align-items: start !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details::before,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2:empty {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .select2-container {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .site-main,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-content,
    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        display: block !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 22px !important;
        padding: 16px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading {
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) main h1 {
        font-size: clamp(27px, 8vw, 33px) !important;
        line-height: 1.05 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
        font-size: clamp(20px, 6vw, 24px) !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review th,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review td {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

/* My Account: navigation and dashboard must remain two separate, readable cards. */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left !important;
    width: min(270px, 28%) !important;
    margin: 0 28px 28px 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    float: right !important;
    width: calc(72% - 28px) !important;
    min-width: 0 !important;
    margin: 0 0 28px !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul,
body.woocommerce-account .woocommerce-MyAccount-navigation li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    padding: 14px 8px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 768px) {
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        margin: 0 0 24px !important;
        padding: 14px 18px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        margin: 0 0 28px !important;
        padding: 20px 18px !important;
        overflow: hidden !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 13px 4px !important;
        font-size: 13px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account .woocommerce-MyAccount-content p,
    body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
        font-size: 14px !important;
        line-height: 1.55 !important;
        letter-spacing: 0 !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
        margin-bottom: 16px !important;
    }

    .fantatuscia-account-highlights {
        gap: 16px !important;
        margin: 22px 0 8px !important;
    }

    .fantatuscia-account-card {
        min-height: 0 !important;
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .fantatuscia-account-kicker {
        margin-bottom: 8px !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
    }

    .fantatuscia-account-value {
        font-size: clamp(28px, 10vw, 38px) !important;
    }

    .fantatuscia-account-copy {
        margin-top: 10px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .fantatuscia-account-card .button {
        width: 100% !important;
        min-height: 46px !important;
        margin-top: 14px !important;
        padding: 11px 14px !important;
        font-size: 13px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* Global width hardening for every Fantatuscia commerce page. */
html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.single-product.woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
}

body.woocommerce-cart #page,
body.woocommerce-checkout #page,
body.woocommerce-account #page,
body.single-product.woocommerce #page,
body.woocommerce-cart .site,
body.woocommerce-checkout .site,
body.woocommerce-account .site,
body.single-product.woocommerce .site {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .site-header,
body.woocommerce-checkout .site-header,
body.woocommerce-account .site-header,
body.single-product.woocommerce .site-header,
body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead,
body.woocommerce-account #masthead,
body.single-product.woocommerce #masthead,
body.woocommerce-cart .elementor-location-header,
body.woocommerce-checkout .elementor-location-header,
body.woocommerce-account .elementor-location-header,
body.single-product.woocommerce .elementor-location-header,
body.woocommerce-cart .site-footer,
body.woocommerce-checkout .site-footer,
body.woocommerce-account .site-footer,
body.single-product.woocommerce .site-footer,
body.woocommerce-cart #colophon,
body.woocommerce-checkout #colophon,
body.woocommerce-account #colophon,
body.single-product.woocommerce #colophon,
body.woocommerce-cart .elementor-location-footer,
body.woocommerce-checkout .elementor-location-footer,
body.woocommerce-account .elementor-location-footer,
body.single-product.woocommerce .elementor-location-footer {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.single-product.woocommerce .site-main,
body.woocommerce-cart .page-content,
body.woocommerce-checkout .page-content,
body.woocommerce-account .page-content,
body.single-product.woocommerce .page-content,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content,
body.single-product.woocommerce .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce,
body.single-product.woocommerce .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart img,
body.woocommerce-checkout img,
body.woocommerce-account img,
body.single-product.woocommerce img,
body.woocommerce-cart table,
body.woocommerce-checkout table,
body.woocommerce-account table,
body.single-product.woocommerce table {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout form.checkout,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment li.wc_payment_method,
body.woocommerce-checkout #payment div.payment_box {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout #payment label,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_box p {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
}

@media (max-width: 980px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        display: block !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Final boxed polish: keep the plugin pages elegant instead of edge-to-edge. */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-account .site-main,
body.single-product.woocommerce .site-main {
    padding-right: clamp(14px, 3vw, 32px) !important;
    padding-left: clamp(14px, 3vw, 32px) !important;
}

body.woocommerce-cart .page-content,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout,
body.woocommerce-account .page-content,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce,
body.single-product.woocommerce .page-content,
body.single-product.woocommerce .entry-content,
body.single-product.woocommerce .woocommerce {
    width: 100% !important;
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
}

body.single-product.woocommerce div.product,
body.single-product.woocommerce .woocommerce-notices-wrapper {
    max-width: 1080px !important;
}

body.woocommerce-account .woocommerce {
    max-width: 1080px !important;
}

body.woocommerce-order-received .page-content,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .woocommerce,
body.woocommerce-view-order .woocommerce-MyAccount-content {
    max-width: 980px !important;
}

.fantatuscia-regulation {
    width: 100% !important;
    max-width: 1080px !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-account h1,
body.single-product.woocommerce h1 {
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(36px, 5.4vw, 64px) !important;
    letter-spacing: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
    gap: 14px clamp(24px, 3vw, 38px) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
    border-radius: 24px !important;
    overflow: hidden !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
    color: var(--fantatuscia-yellow) !important;
    font-size: clamp(27px, 2.7vw, 38px) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment li.wc_payment_method,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment div.payment_box fieldset,
body.woocommerce-checkout #payment .payment_method_stripe,
body.woocommerce-checkout #payment .payment_method_klarna_payments,
body.woocommerce-checkout #payment .stripe-card-group,
body.woocommerce-checkout #payment .wc-stripe-elements-field,
body.woocommerce-checkout #payment .wc-stripe-iban-element-field,
body.woocommerce-checkout #payment .StripeElement,
body.woocommerce-checkout #payment iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
}

body.woocommerce-checkout #payment li.wc_payment_method {
    margin: 0 !important;
    padding: 16px !important;
    background: rgba(13, 21, 34, 0.76) !important;
    border-bottom: 1px solid var(--fantatuscia-line-soft) !important;
    overflow: hidden !important;
}

body.woocommerce-checkout #payment li.wc_payment_method:last-child {
    border-bottom: 0 !important;
}

body.woocommerce-checkout #payment div.payment_box {
    margin: 16px 0 0 !important;
    padding: 16px !important;
    background: rgba(5, 16, 31, 0.78) !important;
    overflow: hidden !important;
}

body.woocommerce-checkout #payment div.payment_box fieldset {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout #payment label,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_box p,
body.woocommerce-checkout #payment .payment_method_stripe label,
body.woocommerce-checkout #payment .payment_method_klarna_payments label {
    color: var(--fantatuscia-text) !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.fantatuscia-pre-signup {
    max-width: 780px !important;
}

.fantatuscia-pre-signup__panel {
    gap: clamp(18px, 3vw, 26px) !important;
    border-radius: 22px !important;
}

.fantatuscia-pre-signup__deal {
    border-radius: 999px !important;
}

.fantatuscia-pre-signup__title {
    font-size: clamp(32px, 6vw, 58px) !important;
    line-height: 0.95 !important;
}

.fantatuscia-pre-signup__status {
    display: grid;
    gap: 10px;
    padding: clamp(18px, 3vw, 26px);
    background: rgba(255, 224, 54, 0.08);
    border: 1px solid rgba(255, 224, 54, 0.38);
    border-radius: 18px;
    text-align: center;
}

.fantatuscia-pre-signup__status-title {
    margin: 0;
    color: var(--fantatuscia-yellow);
    font-size: clamp(18px, 2.6vw, 26px);
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
}

.fantatuscia-pre-signup__status .fantatuscia-pre-signup__copy {
    max-width: 620px;
    margin: 0 auto;
}

.fantatuscia-pre-signup__countdown {
    padding: clamp(16px, 3vw, 24px) !important;
    border-radius: 18px !important;
}

.fantatuscia-pre-signup__countdown-unit {
    min-width: 0;
    border: 1px solid var(--fantatuscia-line-soft);
}

@media (max-width: 1180px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
    }
}

@media (max-width: 980px) {
    body.woocommerce-cart .page-content,
    body.woocommerce-cart .entry-content,
    body.woocommerce-cart .woocommerce,
    body.woocommerce-cart .wp-block-woocommerce-cart,
    body.woocommerce-cart .wc-block-cart,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-content,
    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-content,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout,
    body.woocommerce-account .page-content,
    body.woocommerce-account .entry-content,
    body.woocommerce-account .woocommerce,
    body.single-product.woocommerce .page-content,
    body.single-product.woocommerce .entry-content,
    body.single-product.woocommerce .woocommerce {
        max-width: 720px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        display: block !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review_heading {
        margin-top: 24px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
        margin-top: 14px !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .site-main,
    body.woocommerce-checkout .site-main,
    body.woocommerce-account .site-main,
    body.single-product.woocommerce .site-main {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    body.woocommerce-cart .entry-title,
    body.woocommerce-checkout .entry-title,
    body.woocommerce-account .entry-title,
    body.woocommerce-cart h1,
    body.woocommerce-checkout h1,
    body.woocommerce-account h1,
    body.single-product.woocommerce h1 {
        font-size: clamp(30px, 9vw, 40px) !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    body.woocommerce-checkout #payment li.wc_payment_method,
    body.woocommerce-checkout #payment div.payment_box {
        padding: 14px !important;
    }

    .fantatuscia-pre-signup {
        max-width: 520px !important;
    }

    .fantatuscia-pre-signup__title {
        font-size: clamp(28px, 9vw, 40px) !important;
    }
}

/* Product mobile refinements: compact title and regulation navigation in Fantatuscia style. */
.fantatuscia-product-regulation__title {
    margin: 0;
    color: var(--fantatuscia-yellow);
    font-family: "Syne", Sans-serif;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav-item {
    background: rgba(255, 224, 54, 0.08) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    color: var(--fantatuscia-text) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav-item:hover,
body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav-item:focus-visible,
body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav-item.is-active {
    background: var(--fantatuscia-yellow) !important;
    border-color: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-main) !important;
}

@media (max-width: 768px) {
    body.single-product.woocommerce div.product {
        gap: 20px !important;
    }

    body.single-product.woocommerce div.product .summary {
        padding: 22px 20px !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    body.single-product.woocommerce div.product .product_title {
        max-width: 100% !important;
        font-size: clamp(31px, 10.6vw, 48px) !important;
        line-height: 0.98 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    .fantatuscia-product-regulation {
        gap: 14px !important;
        margin-top: 8px !important;
    }

    .fantatuscia-product-regulation__title {
        padding: 0 4px;
        font-size: clamp(28px, 9vw, 40px) !important;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation {
        --fantatuscia-regulation-height: min(58vh, 560px);
        width: 100% !important;
        max-width: 100% !important;
        gap: 10px !important;
        margin: 0 auto !important;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav {
        min-height: 64px !important;
        padding: 10px !important;
        background: rgba(5, 16, 31, 0.92) !important;
        border-color: var(--fantatuscia-line) !important;
        border-radius: 12px !important;
        scrollbar-color: var(--fantatuscia-line) rgba(157, 197, 242, 0.16);
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav::-webkit-scrollbar {
        height: 6px;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav::-webkit-scrollbar-track {
        background: rgba(157, 197, 242, 0.16);
        border-radius: 999px;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav::-webkit-scrollbar-thumb {
        background: var(--fantatuscia-line);
        border-radius: 999px;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__nav-item {
        flex: 0 0 clamp(138px, 48vw, 210px) !important;
        width: clamp(138px, 48vw, 210px) !important;
        min-width: 138px !important;
        max-width: 210px !important;
        min-height: 46px !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.14 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    body.single-product.woocommerce .fantatuscia-product-regulation .fantatuscia-regulation__content {
        border-radius: 12px !important;
    }
}

/* Checkout 1.8.40: keep the classic checkout boxed, readable and non-overflowing. */
body.woocommerce-checkout:not(.woocommerce-order-received) .site-main {
    overflow-x: hidden !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
    width: min(100%, 1140px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    grid-template-columns: minmax(0, 700px) minmax(340px, 380px) !important;
    justify-content: center !important;
    column-gap: clamp(24px, 3vw, 40px) !important;
    overflow: visible !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
    min-width: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
    padding: clamp(18px, 2vw, 24px) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table th,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table td {
    padding: 12px 10px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
    vertical-align: middle !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table .product-name {
    width: 64% !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table .product-total,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table tfoot td {
    width: 36% !important;
    text-align: right !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table .amount {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout #payment {
    margin-top: 24px !important;
    background: rgba(18, 28, 45, 0.92) !important;
    border: 1px solid var(--fantatuscia-line-soft) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    display: grid !important;
    gap: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

body.woocommerce-checkout #payment li.wc_payment_method {
    padding: 16px !important;
    background: rgba(7, 18, 34, 0.48) !important;
}

body.woocommerce-checkout #payment li.wc_payment_method > input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    margin: 3px 12px 0 0 !important;
    accent-color: var(--fantatuscia-yellow);
    vertical-align: top !important;
}

body.woocommerce-checkout #payment li.wc_payment_method > label {
    display: inline-flex !important;
    max-width: calc(100% - 32px) !important;
    min-height: 24px !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--fantatuscia-text) !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body.woocommerce-checkout #payment li.wc_payment_method img {
    max-width: 52px !important;
    max-height: 24px !important;
    object-fit: contain !important;
}

body.woocommerce-checkout #payment div.payment_box {
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 12px !important;
}

body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew,
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: var(--fantatuscia-text) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}

body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 14px !important;
    height: 14px !important;
    margin-top: 2px !important;
    accent-color: var(--fantatuscia-yellow);
}

body.woocommerce-checkout #payment .place-order {
    padding: 18px 16px !important;
    background: rgba(31, 34, 50, 0.88) !important;
}

body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text,
body.woocommerce-checkout #payment .place-order .woocommerce-privacy-policy-text p {
    color: var(--fantatuscia-text) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    min-height: 52px !important;
    padding: 13px 18px !important;
    border-radius: 14px !important;
    font-size: clamp(14px, 1.4vw, 17px) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
}

@media (max-width: 1180px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) !important;
    }
}

@media (max-width: 980px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        display: block !important;
        max-width: min(720px, calc(100vw - 24px)) !important;
    }
}

@media (max-width: 480px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .site-main {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
        max-width: calc(100vw - 16px) !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #customer_details,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout #order_review {
        padding: 14px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table th,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table td {
        padding: 10px 7px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table .product-name {
        width: 60% !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table .product-total,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table tfoot td {
        width: 40% !important;
    }

    body.woocommerce-checkout #payment li.wc_payment_method,
    body.woocommerce-checkout #payment div.payment_box,
    body.woocommerce-checkout #payment .place-order {
        padding: 14px !important;
    }
}

/* Order received 1.8.41: clean BACS confirmation and prevent mobile title overflow. */
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .page-title,
body.woocommerce-order-received main h1 {
    max-width: min(1040px, calc(100vw - 28px)) !important;
    font-size: clamp(30px, 8vw, 58px) !important;
    line-height: 0.98 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received .woocommerce-order p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
}

html.fantatuscia-has-custom-bacs body.woocommerce-order-received .wc-bacs-bank-details-heading,
html.fantatuscia-has-custom-bacs body.woocommerce-order-received .wc-bacs-bank-details-account-name,
html.fantatuscia-has-custom-bacs body.woocommerce-order-received .wc-bacs-bank-details {
    display: none !important;
}

body.woocommerce-order-received .wc-bacs-bank-details-heading {
    margin: 0 0 14px !important;
    color: var(--fantatuscia-yellow) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
}

body.woocommerce-order-received .wc-bacs-bank-details-account-name,
body.woocommerce-order-received .wc-bacs-bank-details {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    padding: clamp(18px, 3vw, 26px) !important;
    background: linear-gradient(180deg, rgba(18, 30, 49, 0.98) 0%, rgba(9, 22, 40, 0.98) 100%) !important;
    border: 1px solid var(--fantatuscia-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24) !important;
    color: var(--fantatuscia-text) !important;
    box-sizing: border-box !important;
}

body.woocommerce-order-received .wc-bacs-bank-details-account-name {
    font-family: "Syne", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body.woocommerce-order-received .wc-bacs-bank-details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 12px !important;
    list-style: none !important;
}

body.woocommerce-order-received .wc-bacs-bank-details li {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    background: rgba(255, 224, 54, 0.1) !important;
    border: 1px solid rgba(255, 224, 54, 0.36) !important;
    border-radius: 14px !important;
    color: var(--fantatuscia-text) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .wc-bacs-bank-details li strong {
    display: block !important;
    margin-bottom: 6px !important;
    color: var(--fantatuscia-yellow) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight {
    display: grid !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    padding: clamp(18px, 3vw, 26px) !important;
    background: linear-gradient(180deg, rgba(18, 30, 49, 0.98) 0%, rgba(9, 22, 40, 0.98) 100%) !important;
    border: 1px solid var(--fantatuscia-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__eyebrow,
body.woocommerce-order-received .fantatuscia-bacs-highlight__title,
body.woocommerce-order-received .fantatuscia-bacs-highlight__owner,
body.woocommerce-order-received .fantatuscia-bacs-highlight__reason,
body.woocommerce-order-received .fantatuscia-bacs-highlight__note {
    margin: 0 !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__eyebrow {
    color: var(--fantatuscia-yellow) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__title {
    color: var(--fantatuscia-text) !important;
    font-family: "Syne", Sans-serif !important;
    max-width: 100% !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__owner {
    display: grid !important;
    gap: 4px !important;
    color: var(--fantatuscia-muted) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__owner strong {
    color: var(--fantatuscia-text) !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__reason {
    min-width: 0 !important;
    padding: 14px !important;
    background: rgba(255, 224, 54, 0.1) !important;
    border: 1px solid rgba(255, 224, 54, 0.42) !important;
    border-radius: 14px !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__reason span {
    display: block !important;
    margin-bottom: 6px !important;
    color: var(--fantatuscia-yellow) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__reason strong {
    display: block !important;
    color: var(--fantatuscia-text) !important;
    font-size: clamp(18px, 3vw, 24px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__iban-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: stretch !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__iban {
    min-width: 0 !important;
    padding: 14px !important;
    background: rgba(255, 224, 54, 0.1) !important;
    border: 1px solid rgba(255, 224, 54, 0.36) !important;
    border-radius: 14px !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__iban span {
    display: block !important;
    margin-bottom: 6px !important;
    color: var(--fantatuscia-yellow) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__iban strong {
    display: block !important;
    color: var(--fantatuscia-text) !important;
    font-size: clamp(15px, 2.4vw, 20px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__copy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 116px !important;
    min-height: 54px !important;
    padding: 12px 16px !important;
    background: var(--fantatuscia-yellow) !important;
    border: 0 !important;
    border-radius: 14px !important;
    color: var(--fantatuscia-main) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

body.woocommerce-order-received .fantatuscia-bacs-highlight__note {
    color: var(--fantatuscia-muted) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

@media (max-width: 768px) {
    body.woocommerce-order-received .woocommerce-order {
        padding: 14px !important;
    }

    body.woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }

    body.woocommerce-order-received .fantatuscia-bacs-highlight__iban-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.woocommerce-order-received .fantatuscia-bacs-highlight__copy {
        width: 100% !important;
    }

    body.woocommerce-order-received .woocommerce-order-details__title,
    body.woocommerce-order-received .woocommerce-column__title,
    body.woocommerce-view-order .woocommerce-order-details__title,
    body.woocommerce-view-order .woocommerce-column__title {
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details th,
    body.woocommerce-order-received table.woocommerce-table--order-details td,
    body.woocommerce-view-order table.woocommerce-table--order-details th,
    body.woocommerce-view-order table.woocommerce-table--order-details td {
        overflow-wrap: anywhere !important;
    }
}

/* Checkout mobile polish 1.8.45: coupon and billing heading. */
@media (max-width: 560px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: calc(100vw - 32px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 16px !important;
        overflow: hidden !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon p,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .form-row,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .form-row-first,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .form-row-last {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .input-text,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon input[name="coupon_code"] {
        width: 100% !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .button,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon button[name="apply_coupon"] {
        width: 100% !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        font-size: clamp(13px, 4.2vw, 16px) !important;
        line-height: 1.08 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: center !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields h3 {
        max-width: 100% !important;
        margin-bottom: 18px !important;
        font-size: clamp(24px, 7.4vw, 34px) !important;
        line-height: 1.04 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

/* Checkout title scale 1.8.46. */
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
body.woocommerce-checkout:not(.woocommerce-order-received) main h1,
body.woocommerce-checkout:not(.woocommerce-order-received) h1 {
    font-size: clamp(34px, 4.6vw, 54px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields h3 {
    font-size: clamp(24px, 2.6vw, 34px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon p,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon a {
    font-size: clamp(15px, 1.8vw, 19px) !important;
    line-height: 1.32 !important;
}

@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) main h1,
    body.woocommerce-checkout:not(.woocommerce-order-received) h1 {
        font-size: clamp(30px, 8.4vw, 42px) !important;
        line-height: 1.02 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields h3 {
        font-size: clamp(22px, 6.2vw, 30px) !important;
        line-height: 1.08 !important;
    }
}

/* Checkout text fine tune 1.8.48. */
body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
body.woocommerce-checkout:not(.woocommerce-order-received) main h1,
body.woocommerce-checkout:not(.woocommerce-order-received) h1 {
    font-size: clamp(31px, 4.2vw, 49px) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields h3,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields h3 {
    font-size: clamp(21px, 2.25vw, 30px) !important;
    line-height: 1.08 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon {
    font-size: 14px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout label,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment label,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form__label,
body.woocommerce-checkout:not(.woocommerce-order-received) .form-row label {
    font-size: 12px !important;
    line-height: 1.22 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon input {
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table th,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table.shop_table td,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box p,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .place-order .woocommerce-privacy-policy-text,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .place-order .woocommerce-privacy-policy-text p {
    font-size: 12px !important;
    line-height: 1.38 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #payment li.wc_payment_method > label {
    font-size: 13px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon p,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon a {
    font-size: clamp(14px, 1.6vw, 17px) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .button,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon button[name="apply_coupon"],
body.woocommerce-checkout:not(.woocommerce-order-received) #payment #place_order {
    font-size: clamp(13px, 1.35vw, 15px) !important;
}

@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .entry-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) .page-title,
    body.woocommerce-checkout:not(.woocommerce-order-received) main h1,
    body.woocommerce-checkout:not(.woocommerce-order-received) h1 {
        font-size: clamp(28px, 7.8vw, 38px) !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields h3,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields h3 {
        font-size: clamp(20px, 5.7vw, 27px) !important;
    }
}

/* Checkout mobile 1.8.54: Android keyboard/input stability. */
@media (max-width: 768px) {
    body.woocommerce-checkout:not(.woocommerce-order-received),
    body.woocommerce-checkout:not(.woocommerce-order-received) #page,
    body.woocommerce-checkout:not(.woocommerce-order-received) .site {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .site-main {
        min-height: var(--fantatuscia-checkout-viewport-height, 100vh) !important;
        min-height: var(--fantatuscia-checkout-viewport-height, 100dvh) !important;
        padding-bottom: max(96px, env(safe-area-inset-bottom, 0px) + 64px) !important;
        overflow-y: visible !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout,
    body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
    body.woocommerce-checkout:not(.woocommerce-order-received) #payment,
    body.woocommerce-checkout:not(.woocommerce-order-received) #payment .place-order {
        overflow: visible !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea {
        touch-action: manipulation;
        -webkit-user-select: text;
        user-select: text;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .select2-selection {
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
    }

body.woocommerce-checkout.fantatuscia-checkout-keyboard-open:not(.woocommerce-order-received) #payment {
        margin-bottom: 36px !important;
    }
}

/* Checkout coupon contrast 1.8.74. */
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon input[name="coupon_code"],
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon input,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon__input input {
    background-color: rgba(5, 16, 31, 0.86) !important;
    color: var(--fantatuscia-text) !important;
    -webkit-text-fill-color: var(--fantatuscia-text) !important;
    caret-color: var(--fantatuscia-yellow) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon input[name="coupon_code"]::placeholder,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon input::placeholder,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon__input input::placeholder {
    color: rgba(184, 198, 213, 0.76) !important;
    -webkit-text-fill-color: rgba(184, 198, 213, 0.76) !important;
    opacity: 1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon input[name="coupon_code"]:-webkit-autofill,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon input:-webkit-autofill,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-coupon__input input:-webkit-autofill {
    -webkit-text-fill-color: var(--fantatuscia-text) !important;
    box-shadow: 0 0 0 1000px #061120 inset !important;
}

.fantatuscia-completion-page {
    width: 100%;
    padding: clamp(32px, 6vw, 72px) 18px;
    background: var(--fantatuscia-main);
    color: var(--fantatuscia-text, #ffffff);
}

.fantatuscia-completion-shell {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 34px);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.fantatuscia-completion-shell h1,
.fantatuscia-completion-shell h2 {
    margin: 0 0 18px;
    color: var(--fantatuscia-yellow, #ffe036);
}

.fantatuscia-completion-shell h2 {
    margin-top: 28px;
    color: #9dc5f2;
    font-size: 20px;
}

.fantatuscia-completion-steps {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
}

.fantatuscia-completion-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--fantatuscia-line);
    border-radius: 999px;
    color: var(--fantatuscia-blue-muted);
    font-weight: 900;
}

.fantatuscia-completion-step.is-active {
    background: var(--fantatuscia-yellow);
    border-color: var(--fantatuscia-yellow);
    color: var(--fantatuscia-main);
}

.fantatuscia-completion-line {
    height: 2px;
    background: var(--fantatuscia-line-soft);
}

.fantatuscia-completion-line.is-active {
    background: var(--fantatuscia-yellow);
}

.fantatuscia-completion-card {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--fantatuscia-line-soft);
    border-radius: 8px;
    background: rgba(5, 16, 31, 0.54);
}

.fantatuscia-completion-card[hidden] {
    display: none !important;
}

.fantatuscia-completion-inline-errors {
    display: grid;
    gap: 6px;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid #ff4d68;
    border-left: 5px solid #ff4d68;
    border-radius: 8px;
    background: rgba(255, 77, 104, 0.12);
    color: var(--fantatuscia-text, #ffffff);
    font-weight: 700;
}

.fantatuscia-completion-inline-errors[hidden] {
    display: none !important;
}

.fantatuscia-completion-inline-errors p {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.fantatuscia-completion-kicker {
    margin: 0 0 8px;
    color: var(--fantatuscia-yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.fantatuscia-completion-copy {
    margin: -6px 0 22px;
    color: var(--fantatuscia-muted);
}

.fantatuscia-completion-form .form-row {
    margin: 0 0 16px;
}

.fantatuscia-completion-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--fantatuscia-text, #ffffff);
    font-weight: 700;
}

.fantatuscia-completion-form .checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.fantatuscia-completion-form .checkbox input {
    margin-top: 5px;
}

.fantatuscia-completion-form .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.fantatuscia-completion-form .woocommerce-password-strength,
.fantatuscia-completion-form .woocommerce-password-hint,
.fantatuscia-completion-form .show-password-input {
    display: none !important;
}

.fantatuscia-completion-form input.input-text {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid rgba(157, 197, 242, 0.48);
    border-radius: 6px;
    background: #061120;
    color: var(--fantatuscia-text, #ffffff);
    box-shadow: none;
}

.fantatuscia-completion-form select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 42px 10px 13px;
    border: 1px solid rgba(157, 197, 242, 0.48);
    border-radius: 6px;
    background-color: #061120;
    color: var(--fantatuscia-text, #ffffff);
    box-shadow: none;
}

.fantatuscia-completion-form input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    accent-color: var(--fantatuscia-yellow, #ffe036);
}

.fantatuscia-completion-form .password-input input.input-text {
    padding-right: 54px;
}

.fantatuscia-completion-form .fantatuscia-password-toggle {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    border: 1px solid rgba(157, 197, 242, 0.46) !important;
    border-radius: 999px !important;
    background: rgba(157, 197, 242, 0.14) !important;
    box-shadow: none !important;
    color: var(--fantatuscia-text, #ffffff) !important;
    font-family: Arial, sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    box-sizing: border-box;
}

.fantatuscia-completion-form .fantatuscia-password-toggle svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.fantatuscia-completion-form .fantatuscia-password-toggle:hover,
.fantatuscia-completion-form .fantatuscia-password-toggle:focus {
    background: var(--fantatuscia-yellow, #ffe036) !important;
    border-color: var(--fantatuscia-yellow, #ffe036) !important;
    color: #05101f !important;
    outline: none !important;
}

.fantatuscia-completion-form input.input-text:focus {
    border-color: var(--fantatuscia-yellow);
    outline: none;
}

.fantatuscia-completion-form .button,
.fantatuscia-completion-message .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--fantatuscia-yellow, #ffe036);
    color: #05101f;
    font-weight: 800;
    text-transform: uppercase;
}

.fantatuscia-completion-form .button:disabled,
.fantatuscia-completion-form .button[disabled] {
    background: var(--fantatuscia-yellow, #ffe036) !important;
    color: #05101f !important;
    opacity: 0.72;
    cursor: wait;
}

@media (max-width: 600px) {
    .fantatuscia-completion-page {
        padding: 20px 12px 36px;
    }

    .fantatuscia-completion-shell {
        width: 100%;
        padding: 16px;
        border-width: 1px;
        border-radius: 10px;
    }

    .fantatuscia-completion-shell h1 {
        margin-bottom: 16px;
        font-size: 26px;
        line-height: 1.15;
    }

    .fantatuscia-completion-shell h2 {
        margin: 0 0 10px;
        font-size: 22px;
        line-height: 1.2;
    }

    .fantatuscia-completion-card {
        padding: 18px 14px;
    }

    .fantatuscia-completion-copy {
        margin: 0 0 20px;
        font-size: 16px;
        line-height: 1.5;
    }

    .fantatuscia-completion-form .form-row,
    .fantatuscia-completion-form .form-row-wide {
        float: none;
        width: 100%;
        padding: 0;
    }

    .fantatuscia-completion-form label {
        font-size: 16px;
        line-height: 1.35;
    }

    .fantatuscia-completion-form input.input-text,
    .fantatuscia-completion-form select {
        width: 100% !important;
        min-height: 52px;
        font-size: 16px !important;
        line-height: 1.25;
        box-sizing: border-box;
    }

    .fantatuscia-completion-form .button,
    .fantatuscia-completion-message .button {
        width: 100%;
        min-height: 52px;
        padding: 0 16px;
        font-size: 16px;
        line-height: 1.2;
        text-align: center;
    }
}

.fantatuscia-account-completion {
    margin: 0 0 24px;
    padding: clamp(18px, 3vw, 28px);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    color: var(--fantatuscia-text, #ffffff);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.fantatuscia-account-completion__head {
    margin: 0 0 18px;
}

.fantatuscia-account-completion h2 {
    margin: 4px 0 0;
    color: var(--fantatuscia-yellow, #ffe036);
    font-size: clamp(22px, 4vw, 30px);
}

.fantatuscia-account-completion__copy {
    margin: 0;
    color: var(--fantatuscia-muted);
}

.fantatuscia-account-completion__actions {
    margin: 18px 0 0;
}

.fantatuscia-account-completion .fantatuscia-completion-card {
    background: rgba(5, 16, 31, 0.42);
}

.fantatuscia-bacs-highlight {
    margin: 20px 0 24px !important;
    padding: clamp(18px, 3vw, 26px) !important;
    border: 2px solid var(--fantatuscia-line) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%) !important;
    color: var(--fantatuscia-text) !important;
}

.fantatuscia-bacs-highlight--checkout {
    display: none;
}

.fantatuscia-bacs-highlight--checkout.is-visible {
    display: block;
}

.fantatuscia-bacs-highlight__eyebrow {
    margin: 0 0 8px !important;
    color: var(--fantatuscia-yellow) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

.fantatuscia-bacs-highlight__title {
    margin: 0 0 16px !important;
    color: var(--fantatuscia-text) !important;
    max-width: 100% !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.fantatuscia-bacs-highlight--checkout .fantatuscia-bacs-highlight__title {
    font-size: 22px !important;
    line-height: 1.08 !important;
}

.fantatuscia-bacs-highlight__detail,
.fantatuscia-bacs-highlight__owner,
.fantatuscia-bacs-highlight__reason,
.fantatuscia-bacs-highlight__note {
    color: var(--fantatuscia-muted) !important;
}

.fantatuscia-bacs-highlight__detail span,
.fantatuscia-bacs-highlight__owner span,
.fantatuscia-bacs-highlight__reason span,
.fantatuscia-bacs-highlight__iban span {
    display: block;
    margin: 0 0 5px;
    color: var(--fantatuscia-yellow) !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.fantatuscia-bacs-highlight__detail strong,
.fantatuscia-bacs-highlight__owner strong,
.fantatuscia-bacs-highlight__reason strong,
.fantatuscia-bacs-highlight__iban strong {
    color: var(--fantatuscia-text) !important;
    overflow-wrap: anywhere;
}

.fantatuscia-bacs-highlight__iban-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
    margin: 16px 0 0;
}

.fantatuscia-bacs-highlight__iban {
    padding: 14px 16px;
    border: 1px solid var(--fantatuscia-yellow);
    border-radius: 8px;
    background: rgba(255, 224, 54, 0.08);
}

.fantatuscia-bacs-highlight__copy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 4px 0 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--fantatuscia-yellow) !important;
    color: var(--fantatuscia-main) !important;
    font-family: "Syne", Sans-serif !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: normal !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.fantatuscia-bacs-highlight__copy:hover,
.fantatuscia-bacs-highlight__copy:focus {
    background: #ffffff !important;
    color: var(--fantatuscia-main) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 224, 54, 0.24) !important;
}

@media (max-width: 640px) {
    .fantatuscia-bacs-highlight__iban-row {
        grid-template-columns: 1fr;
    }
}

.fantatuscia-old-subscriber-gate {
    min-height: 100vh;
    padding: clamp(36px, 7vw, 84px) 18px;
    background: var(--fantatuscia-main);
    color: var(--fantatuscia-text, #ffffff);
}

.fantatuscia-old-subscriber-gate__shell {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(22px, 4vw, 36px);
    border: 2px solid var(--fantatuscia-line);
    border-radius: 8px;
    background: linear-gradient(180deg, var(--fantatuscia-panel-2) 0%, var(--fantatuscia-panel) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.fantatuscia-old-subscriber-gate__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 22px;
}

.fantatuscia-old-subscriber-gate__logo {
    width: min(190px, 48vw);
    height: auto;
}

.fantatuscia-old-subscriber-gate__badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 224, 54, 0.62);
    border-radius: 999px;
    color: var(--fantatuscia-yellow, #ffe036);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.fantatuscia-old-subscriber-gate__kicker {
    margin: 0 0 10px;
    color: var(--fantatuscia-yellow, #ffe036);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.fantatuscia-old-subscriber-gate h1 {
    margin: 0 0 24px;
    color: var(--fantatuscia-text, #ffffff);
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.08;
}

.fantatuscia-old-subscriber-gate__errors {
    margin: 0 0 20px;
    padding: 14px 16px 14px 38px;
    border: 1px solid rgba(255, 92, 122, 0.62);
    border-radius: 8px;
    background: rgba(255, 92, 122, 0.1);
    color: #ffd6de;
}

.fantatuscia-old-subscriber-gate__form .form-row {
    margin: 0 0 18px;
}

.fantatuscia-old-subscriber-gate__form label {
    display: block;
    margin: 0 0 8px;
    color: var(--fantatuscia-text, #ffffff);
    font-weight: 800;
}

.fantatuscia-old-subscriber-gate__form input.input-text {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(157, 197, 242, 0.48);
    border-radius: 6px;
    background: #061120;
    color: var(--fantatuscia-text, #ffffff);
    box-shadow: none;
}

.fantatuscia-old-subscriber-gate__form input.input-text:focus {
    border-color: var(--fantatuscia-yellow, #ffe036);
    outline: none;
}

.fantatuscia-old-subscriber-gate__form .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--fantatuscia-yellow, #ffe036);
    color: #05101f;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 560px) {
    .fantatuscia-old-subscriber-gate__head {
        align-items: flex-start;
        flex-direction: column;
    }
}
