.fc-checkout-restriction{box-sizing:border-box;display:flex;gap:18px;width:100%;margin:0 0 22px;padding:24px;background:#fffaf0;border:1px solid #deb65d;border-radius:9px;color:#173a36;font:16px/1.55 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif);scroll-margin-top:110px}
.fc-checkout-restriction .fc-restriction__icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;margin-top:3px;border:2px solid #a87519;border-radius:50%;color:#93600b;font-size:20px;font-weight:700}
.fc-checkout-restriction .fc-restriction__copy{flex:1;min-width:0}
.fc-checkout-restriction h2,.fc-restriction-policy h2{margin:0 0 10px;color:#00483f;font:700 23px/1.3 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif)}
.fc-checkout-restriction p,.fc-restriction-policy p{margin:0 0 20px;color:#173a36;font:400 16px/1.55 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif)}
.fc-restriction__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.fc-checkout-restriction .fc-restriction__primary,.fc-restriction-policy .fc-restriction__primary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;background:#00483f;border:1px solid #00483f;border-radius:6px;color:#fff;text-decoration:none;font:700 16px/1.4 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif);cursor:pointer}
.fc-checkout-restriction .fc-restriction__link{padding:6px 0;background:transparent;border:0;color:#00483f;text-decoration:underline;text-underline-offset:4px;font:400 16px/1.4 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif);cursor:pointer}
.fc-restriction-policy{box-sizing:border-box;position:fixed;inset:0;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 40px);margin:auto;padding:36px;background:#fff;color:#173a36;border:0;border-radius:7px;box-shadow:0 18px 65px #0005;overflow:auto;font:16px/1.55 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif)}
.fc-restriction-policy::backdrop{background:#15282588}
.fc-restriction-policy .fc-restriction-policy__x{position:absolute;top:8px;right:10px;display:grid;place-items:center;width:34px;height:34px;padding:0;background:transparent;border:0;color:#173a36;font:400 29px/1 Arial,sans-serif;cursor:pointer}
.fc-restriction-policy .fc-restriction__secondary{padding:12px 22px;background:#fff;border:1px solid #c6d1cd;border-radius:6px;color:#00483f;font:700 16px/1.4 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif);cursor:pointer}
.fc-checkout-restriction a:focus-visible,.fc-checkout-restriction button:focus-visible,.fc-restriction-policy a:focus-visible,.fc-restriction-policy button:focus-visible{outline:3px solid #a87519;outline-offset:3px}
@media(max-width:600px){.fc-checkout-restriction{gap:12px;padding:18px;margin-bottom:18px}.fc-checkout-restriction h2,.fc-restriction-policy h2{font-size:20px}.fc-restriction__actions{gap:12px}.fc-restriction-policy{padding:32px 22px}.fc-restriction-policy .fc-restriction__actions{align-items:stretch;flex-direction:column}.fc-restriction-policy .fc-restriction__secondary{width:100%}}

.fct_place_order_btn_wrap > .fc-checkout-restriction{width:100%;max-width:100%;margin:0 0 18px;flex-basis:100%;grid-column:1 / -1}

/* Center actions across the notice and match the 44px Stay connected controls. */
.fc-checkout-restriction{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:18px;row-gap:0}
.fc-checkout-restriction .fc-restriction__copy{display:contents}
.fc-checkout-restriction .fc-restriction__icon{grid-column:1;grid-row:1}
.fc-checkout-restriction .fc-restriction__copy > h2,.fc-checkout-restriction .fc-restriction__copy > p{grid-column:2}
.fc-checkout-restriction .fc-restriction__actions{grid-column:1 / -1;justify-content:center;text-align:center}
.fc-checkout-restriction .fc-restriction__primary,.fc-restriction-policy .fc-restriction__primary,.fc-restriction-policy .fc-restriction__secondary{height:44px;min-height:44px;box-sizing:border-box;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;font:700 14px/1 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif)}
.fc-checkout-restriction a.fc-restriction__link{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:0;height:44px;min-height:44px;padding:0!important;margin:0;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#00483f!important;text-decoration:underline!important;text-underline-offset:4px;font:400 14px/1.4 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif)}
.fc-checkout-restriction a.fc-restriction__link::before,.fc-checkout-restriction a.fc-restriction__link::after{content:none!important}
.fc-restriction-policy .fc-restriction__actions{justify-content:center}
@media(max-width:600px){.fc-checkout-restriction{column-gap:12px}}

.fc-checkout-restriction{grid-template-columns:var(--fc-notice-icon-size,30px) minmax(0,1fr)}
.fc-checkout-restriction .fc-restriction__icon--custom{width:var(--fc-notice-icon-size,30px);height:var(--fc-notice-icon-size,30px);border:0;border-radius:0;flex-basis:var(--fc-notice-icon-size,30px)}
.fc-checkout-restriction .fc-restriction__icon--custom .dashicons{width:100%;height:100%;font-size:var(--fc-notice-icon-size,30px);line-height:1;color:inherit}
.fc-checkout-restriction .fc-restriction__icon--custom img{display:block;width:100%;height:100%;object-fit:contain}

/* Copied native policy-reader close control: only popup selectors adapted. */
.fc-restriction-policy .fc-restriction-policy__x {
    position: absolute;
    top: 3px;
    right: 3px;
    box-sizing: border-box !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    appearance: none;
    border: 1px solid rgba(11, 107, 87, .32) !important;
    border-radius: 2px !important;
    background: rgba(255,255,255,.55) !important;
    color: var(--fc-checkout-app-border, #0B6B57) !important;
    box-shadow: none !important;
    cursor: pointer;
    overflow: hidden !important;
    transform: none !important;
}

.fc-restriction-policy .fc-restriction-policy__x::before,
.fc-restriction-policy .fc-restriction-policy__x::after {
    content: none !important;
    display: none !important;
}

.fc-restriction-policy .fc-checkout-app-terms__close-glyph {
    position: relative !important;
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    background: transparent !important;
    transform: rotate(0deg) !important;
    transform-origin: 50% 50% !important;
    transition: transform .24s ease !important;
    animation: none !important;
    pointer-events: none !important;
    overflow: visible !important;
    will-change: transform !important;
}

.fc-restriction-policy .fc-checkout-app-terms__close-glyph::before,
.fc-restriction-policy .fc-checkout-app-terms__close-glyph::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transform-origin: 50% 50% !important;
}

.fc-restriction-policy .fc-checkout-app-terms__close-glyph::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.fc-restriction-policy .fc-checkout-app-terms__close-glyph::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.fc-restriction-policy .fc-restriction-policy__x.is-pressed > .fc-checkout-app-terms__close-glyph {
    transform: rotate(180deg) !important;
}

/* 7.0.9 — CHECKOUT LEGAL CLOSE CONTRACT.
 * Source of truth: FCACR Welcome Back Terms reader. Keep the button/border fixed;
 * rotate only the inner glyph with the same 240ms ease + 180deg pressed state, ending as an X.
 * Do not replace with a separate keyframe/Web Animation path. */
.fc-restriction-policy .fc-checkout-app-terms__close-glyph {
    transform: rotate(0deg) !important;
    transform-origin: 50% 50% !important;
    transition: transform .24s ease !important;
    animation: none !important;
}

.fc-restriction-policy .fc-restriction-policy__x.is-pressed > .fc-checkout-app-terms__close-glyph {
    transform: rotate(180deg) !important;
    animation: none !important;
}

.fc-restriction-policy .fc-restriction-policy__x.is-pressed {
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .fc-restriction-policy .fc-checkout-app-terms__close-glyph {
        transition: none !important;
    }
}



/* Notice settings: isolated from the policy popup and payment controls. */
#fc-checkout-restriction{background:var(--fc-notice-background,#fffaf0);border-color:var(--fc-notice-border-color,#deb65d);padding:var(--fc-notice-padding,14px);column-gap:var(--fc-notice-gap,8px);row-gap:var(--fc-notice-gap,8px)}
#fc-checkout-restriction h2{color:var(--fc-notice-title-color,#00483f);font-size:var(--fc-notice-title-size,16px);font-weight:var(--fc-notice-title-weight,600);line-height:var(--fc-notice-line-height,1.4);margin:0 0 var(--fc-notice-gap,8px)}
#fc-checkout-restriction p{color:var(--fc-notice-text-color,#173a36);font-size:var(--fc-notice-body-size,15px);font-weight:var(--fc-notice-body-weight,400);line-height:var(--fc-notice-line-height,1.4);margin:0 0 var(--fc-notice-gap,8px)}

#fc-checkout-restriction .fc-restriction__actions{flex-direction:column;gap:4px;align-items:center;justify-content:center}
#fc-checkout-restriction a.fc-restriction__link{height:auto;min-height:28px}
.fc-restriction-policy .fc-restriction__actions{justify-content:center}
.fc-restriction-policy__details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:16px 0;font:400 14px/1.4 var(--fc-checkout-font,"Roboto","FCC Roboto Fallback",Arial,sans-serif);text-align:left}
.fc-restriction-policy__details dt{font-weight:600}.fc-restriction-policy__details dd{margin:0;overflow-wrap:anywhere}

/* Align the icon with the heading text, excluding heading margins. */
#fc-checkout-restriction .fc-restriction__icon{align-self:center;justify-self:center;margin:0}
#fc-checkout-restriction h2{align-self:center;margin:0}

.fc-restriction-policy{padding-bottom:var(--fc-notice-padding,14px)}
.fc-restriction-policy .fc-restriction__actions{margin-bottom:0}

.fc-restriction-policy h2{font-size:16px;font-weight:600;line-height:1.4}

.fc-restriction-policy__header{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.fc-restriction-policy .fc-restriction-policy__header h2{margin:0;min-width:0}
.fc-restriction-policy__icon{display:grid;place-items:center;width:var(--fc-notice-icon-size,30px);height:var(--fc-notice-icon-size,30px);flex:0 0 var(--fc-notice-icon-size,30px)}
.fc-restriction-policy__icon .dashicons{width:100%;height:100%;font-size:var(--fc-notice-icon-size,30px);line-height:1}
.fc-restriction-policy__icon img{display:block;width:100%;height:100%;object-fit:contain}
.fc-restriction-policy > p{font-size:15px;font-weight:400;line-height:1.4;margin:0 0 14px}

/* Keep text beneath the heading, with room for the icon column. */
.fc-restriction-policy{width:min(calc(540px + var(--fc-notice-icon-size,30px) + 8px),calc(100vw - 32px))}
.fc-restriction-policy > p,.fc-restriction-policy > .fc-restriction-policy__details{margin-left:calc(var(--fc-notice-icon-size,30px) + 8px)}

/* Match the reference card's top and bottom insets. */
#fc-checkout-restriction{padding-bottom:18px!important;}
.fc-restriction-policy{padding-top:18px!important;padding-bottom:18px!important;}
.fc-restriction-policy .fc-restriction__actions{margin-bottom:0!important;}

#fc-checkout-restriction{padding-top:18px!important;}
.fc-restriction-policy__header{margin-bottom:12px!important;}

/* 7.0.509: same outer-card gap at every viewport. */
#fc-checkout-restriction.fc-checkout-restriction{margin-top:0!important;margin-bottom:16px!important;}

/* Keep the icon and heading in the same centered grid row. */
#fc-checkout-restriction .fc-restriction__icon{grid-row:1!important;align-self:center!important;margin:0!important;transform:none!important;}
#fc-checkout-restriction .fc-restriction__copy > h2{grid-row:1!important;align-self:center!important;margin:0!important;padding:0!important;}
#fc-checkout-restriction .fc-restriction__copy > p{grid-row:2!important;margin-top:var(--fc-notice-gap,8px)!important;}
