.boost-commerce-co {
max-width: 1100px;
margin: 0 auto;
padding: 40px 20px 60px;
font-family: inherit;
color: var(--boost-ui-text);
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
}
.boost-commerce-co.alignwide{width:auto;max-width:1100px;margin-left:auto;margin-right:auto}
#boost-commerce-checkout input[type="text"],
#boost-commerce-checkout input[type="email"],
#boost-commerce-checkout input[type="tel"],
#boost-commerce-checkout input[type="number"],
#boost-commerce-checkout select {
width: 100%;
padding: 12px 14px;
border: 1px solid var(--boost-ui-border);
border-radius: 6px;
font-size: 15px;
box-sizing: border-box;
background: var(--boost-ui-surface);
font-family: inherit;
color: inherit;
}
.boost-commerce-co__layout {
display: grid;
grid-template-columns: 1fr 380px;
gap: 0;
}
.boost-commerce-co__main {
padding: 0 40px 0 0;
border-right: 1px solid var(--boost-ui-border);
}
.boost-commerce-co__aside {
padding: 0 0 0 40px;
position: relative;
}
.boost-commerce-co__errors:not(:empty) {
background: var(--boost-ui-bg-alt);
border: 1px solid var(--boost-ui-error);
color: var(--boost-ui-error);
padding: 12px 16px;
border-radius: 6px;
margin-bottom: 20px;
font-size: 14px;
line-height: 1.5;
}
.boost-commerce-co__express {
margin-bottom: 0;
}
.boost-commerce-co__express-label {
text-align: center;
font-size: 13px;
color: var(--boost-ui-text-muted);
text-transform: uppercase;
letter-spacing: .05em;
margin-bottom: 12px;
}
.boost-commerce-co__divider {
display: flex;
align-items: center;
gap: 16px;
margin: 24px 0;
color: var(--boost-ui-text-muted);
font-size: 13px;
}
.boost-commerce-co__divider::before,
.boost-commerce-co__divider::after {
content: '';
flex: 1;
height: 1px;
background: var(--boost-ui-border);
}
.boost-commerce-co__section {
margin-bottom: 28px;
}
.boost-commerce-co__heading {
font-size: 16px;
font-weight: 600;
color: var(--boost-ui-text);
margin: 0 0 14px;
letter-spacing: -.01em;
}
.boost-commerce-co__field {
margin-bottom: 10px;
}
.boost-commerce-co__privacy-optin {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 10px 0 0;
font-size: 13px;
line-height: 1.4;
color: var(--boost-ui-text-muted);
}
.boost-commerce-co__privacy-optin input {
margin-top: 2px;
flex-shrink: 0;
}
.boost-commerce-co__privacy-optin--geo {
margin-top: -4px;
margin-bottom: 16px;
}
.boost-commerce-co__field input,
.boost-commerce-co__field select {
display: block;
width: 100%;
min-height: 54px;
padding: 13px 14px;
font-size: 15px;
line-height: 1.35;
border: 1px solid var(--boost-ui-border);
border-radius: calc(6px + 2px);
background: var(--boost-ui-surface);
color: var(--boost-ui-text);
outline: none;
transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
box-sizing: border-box;
}
.boost-commerce-co__field input::placeholder {
color: var(--boost-ui-text-muted);
}
.boost-commerce-co__field input:focus,
.boost-commerce-co__field select:focus {
border-color: var(--boost-ui-primary);
box-shadow: 0 0 0 3px var(--boost-ui-primary);
}
.boost-commerce-co__field input.boost-commerce-co__field--error {
border-color: var(--boost-ui-error);
box-shadow: 0 0 0 3px var(--boost-ui-error);
}
.boost-commerce-co__field--error input,
.boost-commerce-co__field--error select {
border-color: var(--boost-ui-error);
box-shadow: 0 0 0 3px var(--boost-ui-error);
}
.boost-commerce-co__field-error {
font-size: 12px;
line-height: 1.4;
color: var(--boost-ui-error);
margin-top: 5px;
min-height: 0;
}
.boost-commerce-co__field-error:empty {
display: none;
}
.boost-commerce-co__field--float {
position: relative;
}
.boost-commerce-co__field--float > input,
.boost-commerce-co__field--float > select {
padding: 22px 14px 7px;
}
.boost-commerce-co__field--float > select {
padding-right: 38px;
}
.boost-commerce-co__field--float > label {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
font-size: 15px;
color: var(--boost-ui-text-muted);
pointer-events: none;
transition: top .16s ease, transform .16s ease, color .16s ease, font-size .16s ease;
transform-origin: left top;
line-height: 1;
}
.boost-commerce-co__field--float > input:focus + label,
.boost-commerce-co__field--float > select:focus + label {
top: 8px;
transform: translateY(0);
font-size: 11px;
font-weight: 650;
color: var(--boost-ui-primary);
}
.boost-commerce-co__field--float > input:not(:placeholder-shown) + label {
top: 8px;
transform: translateY(0);
font-size: 11px;
font-weight: 650;
color: var(--boost-ui-text-muted);
}
.boost-commerce-co__field--float > input:focus:not(:placeholder-shown) + label {
color: var(--boost-ui-primary);
}
.boost-commerce-co__field--float.boost-commerce-co__field--filled > label {
top: 8px;
transform: translateY(0);
font-size: 11px;
font-weight: 650;
color: var(--boost-ui-text-muted);
}
.boost-commerce-co__field--float > select:focus + label,
.boost-commerce-co__field--float.boost-commerce-co__field--filled > select:focus + label {
color: var(--boost-ui-primary);
}
.boost-commerce-co__field--float > input::placeholder {
color: transparent;
}
.boost-commerce-co__field--float.boost-commerce-co__field--error > label {
top: 8px;
transform: translateY(0);
font-size: 11px;
font-weight: 650;
color: var(--boost-ui-error);
}
.boost-commerce-co__row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.boost-commerce-co__row--3 {
grid-template-columns: 1fr 1fr 1fr;
}
.boost-commerce-co__field select {
width: 100%;
padding: 12px 14px;
border: 1px solid var(--boost-ui-border);
border-radius: 6px;
background: var(--boost-ui-bg);
font-size: 15px;
color: var(--boost-ui-text);
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 14px center;
cursor: pointer;
}
.boost-commerce-co__gateway:focus-within,
.boost-commerce-co__shipping-option:focus-within {
border-color: var(--boost-ui-primary);
box-shadow: 0 0 0 3px var(--boost-ui-primary);
outline: none;
}
.boost-commerce-co__gateway-header input[type="radio"]:focus-visible,
.boost-commerce-co__shipping-option input[type="radio"]:focus-visible,
.boost-commerce-co__terms input[type="checkbox"]:focus-visible,
.boost-commerce-co__diff-shipping input[type="checkbox"]:focus-visible,
.boost-commerce-co__privacy-optin input[type="checkbox"]:focus-visible {
outline: 2px solid var(--boost-ui-primary);
outline-offset: 2px;
}
.boost-commerce-co__sticky-bar {
display: none;
}
@media (max-width: 768px) {
.boost-commerce-co__sticky-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 12px 16px max(12px, env(safe-area-inset-bottom));
background: var(--boost-ui-surface);
border-top: 1px solid var(--boost-ui-border);
box-shadow: 0 -8px 24px color-mix(in srgb,CanvasText 10%,transparent);
}
.boost-commerce-co__sticky-total {
display: flex;
flex-direction: column;
min-width: 0;
}
.boost-commerce-co__sticky-label {
font-size: 11px;
color: var(--boost-ui-text-muted);
text-transform: uppercase;
letter-spacing: .04em;
}
.boost-commerce-co__sticky-price {
font-size: 17px;
font-weight: 700;
color: var(--boost-ui-text);
white-space: nowrap;
}
.boost-commerce-co__sticky-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 48px;
padding: 12px 18px;
border: 1px solid transparent;
border-radius: 6px;
background: var(--boost-ui-primary);
color: var(--boost-ui-primary-contrast);
font-size: 15px;
font-weight: 650;
line-height: 1.2;
cursor: pointer;
transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}
.boost-commerce-co__sticky-btn:active:not(:disabled) {
transform: scale(.98);
}
}
@media (prefers-reduced-motion: reduce) {
.boost-commerce-co,
.boost-commerce-co * {
scroll-behavior: auto;
animation-duration: .01ms;
animation-iteration-count: 1;
transition-duration: .01ms;
}
}
.boost-commerce-co--empty {
max-width: 480px;
margin: 0 auto;
padding: 80px 20px;
text-align: center;
}
.boost-commerce-co__empty-message {
color: var(--boost-ui-text-muted);
margin: 16px 0 28px;
}
.boost-commerce-co__invoice-request {
align-items: center;
cursor: pointer;
display: flex;
font-size: 14px;
gap: 8px;
padding: 8px 0;
}
.boost-commerce-co__honeypot {
left: -9999px;
position: absolute;
top: -9999px;
}
