.boost-commerce-co__gateways {
border: 1px solid var(--boost-ui-border);
border-radius: 6px;
overflow: hidden;
}
.boost-commerce-co__gateway {
display: block;
cursor: pointer;
border-bottom: 1px solid var(--boost-ui-border);
}
.boost-commerce-co__gateway:last-child {
border-bottom: 0;
}
.boost-commerce-co__gateway--active {
background: var(--boost-ui-bg-alt);
}
.boost-commerce-co__gateway-header {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 16px;
}
.boost-commerce-co__gateway-header input[type="radio"] {
accent-color: var(--boost-ui-primary);
width: 18px;
height: 18px;
flex-shrink: 0;
}
.boost-commerce-co__gateway-name {
font-size: 14px;
font-weight: 500;
flex: 1;
}
.boost-commerce-co__gateway-icon {
height: 24px;
width: auto;
}
.boost-commerce-co__gateway-body {
padding: 0 16px 16px 44px;
}
.boost-commerce-co__gateway-body[hidden],
.boost-commerce-co__summary-row[hidden],
.boost-commerce-co__coupon-active[hidden],
.boost-commerce-co__shipping-fields[hidden] {
display: none;
}
.boost-commerce-co__gateway-desc {
font-size: 13px;
color: var(--boost-ui-text-muted);
margin: 0 0 10px;
line-height: 1.5;
}
.boost-commerce-co__stripe-mount {
padding: 12px;
border: 1px solid var(--boost-ui-border);
border-radius: 6px;
background: var(--boost-ui-surface);
min-height: 44px;
}
.boost-commerce-co__terms {
margin: 18px 0;
font-size: 14px;
line-height: 1.5;
}
.boost-commerce-co__terms label {
display: flex;
align-items: flex-start;
gap: 8px;
cursor: pointer;
}
.boost-commerce-co__terms input[type="checkbox"] {
margin-top: 3px;
accent-color: var(--boost-ui-primary);
}
.boost-commerce-co__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 48px;
padding: 14px 28px;
font-size: 15px;
font-weight: 600;
line-height: 1.25;
border: 1px solid transparent;
border-radius: 6px;
cursor: pointer;
text-decoration: none;
text-align: center;
transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}
.boost-commerce-co__btn--primary {
background: var(--boost-ui-primary);
color: var(--boost-ui-primary-contrast);
border-radius: 6px;
}
.boost-commerce-co__btn--primary:hover:not(:disabled) {
background: var(--boost-ui-primary-hover);
box-shadow: 0 4px 12px color-mix(in srgb,CanvasText 14%,transparent);
transform: translateY(-1px);
}
.boost-commerce-co__btn:active:not(:disabled) {
transform: scale(.98);
}
.boost-commerce-co__btn:focus-visible,
.boost-commerce-co__sticky-btn:focus-visible,
.boost-commerce-co__coupon-remove:focus-visible,
.boost-commerce-co__summary-trigger:focus-visible,
.boost-commerce-co__coupon-trigger:focus-visible {
outline: 3px solid var(--boost-ui-primary);
outline-offset: 3px;
}
.boost-commerce-co__btn--submit {
width: 100%;
min-height: 54px;
padding: 15px 20px;
font-size: 16px;
font-weight: 650;
letter-spacing: .01em;
margin-top: 4px;
position: relative;
}
.boost-commerce-co__btn--submit:disabled,
.boost-commerce-co__sticky-btn:disabled {
opacity: .55;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.boost-commerce-co__btn--loading {
cursor: progress;
}
.boost-commerce-co__spinner {
display: inline-block;
width: 18px;
height: 18px;
border: 2px solid color-mix(in srgb, currentColor 42%, transparent);
border-top-color: currentColor;
border-radius: 50%;
animation: boost-commerce-spin .65s linear infinite;
flex: 0 0 auto;
}
@keyframes boost-commerce-spin {
to { transform: rotate(360deg); }
}
.boost-commerce-co__secure {
text-align: center;
font-size: 12px;
color: var(--boost-ui-text-muted);
margin-top: 14px;
}
