
body{max-width:65rem;margin:auto;padding:2rem;background:#f4f6fb;color:#182638;font:18px "Source Sans 3",system-ui,sans-serif}
nav{display:flex;flex-wrap:wrap;gap:1.25rem}
li{padding:.55rem}




/* SF1_STOREFRONT_STYLES */

body:has([data-sf-layout]) {
    margin:0;
    background:#fff;
    color:#182535;
    font-family:"Source Sans 3",Arial,sans-serif;
    line-height:1.5;
}

body:has([data-sf-layout]) header:has(.sf-topline) {
    display:block;
    padding:0;
    margin:0;
    width:100%;
    max-width:none;
    background:#194c82;
}

.sf-topline {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:180px minmax(0,1fr) 175px;
    align-items:center;
    gap:24px;
    padding:20px clamp(16px,4vw,64px);
    background:#194c82;
    color:#fff;
}

.sf-brand,
.sf-account {
    color:#fff!important;
    text-decoration:none!important;
}

.sf-brand strong {
    display:block;
    font-size:29px;
    font-weight:700;
    letter-spacing:-.7px;
}

.sf-brand small {
    display:block;
    font-size:11px;
    opacity:.85;
}

.sf-search {
    display:flex;
    min-width:0;
    margin:0;
    background:#fff;
    border:1px solid #d7e1ec;
    border-radius:6px;
    overflow:hidden;
}

.sf-search input[type="search"] {
    box-sizing:border-box;
    flex:1;
    min-width:0;
    width:100%;
    padding:15px 18px;
    border:0;
    margin:0;
    background:#fff;
    color:#182535;
    font:inherit;
    font-size:16px;
}

.sf-search button {
    display:grid;
    place-items:center;
    width:56px;
    padding:10px;
    margin:0;
    border:0;
    background:#e7eff8;
    color:#194c82;
    cursor:pointer;
}

.sf-account {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
}

.sf-account small,
.sf-account strong {
    display:block;
}

.sf-account small {
    font-size:12px;
}

.sf-account strong {
    font-size:15px;
}

[data-sf-navigation] {
    display:flex!important;
    flex-wrap:wrap;
    align-items:center;
    gap:24px;
    box-sizing:border-box;
    margin:0!important;
    padding:12px clamp(16px,4vw,64px)!important;
    background:#edf3fa;
    border-bottom:1px solid #d9e3ef;
}

[data-sf-navigation] a {
    font-size:14px;
    font-weight:600;
    color:#194c82!important;
    text-decoration:none;
}

.sf-departments {
    position:relative;
    z-index:20;
    color:#194c82;
}

.sf-departments summary {
    cursor:pointer;
    font-weight:600;
}

.sf-menu {
    position:absolute;
    top:calc(100% + 15px);
    left:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    min-width:440px;
    padding:24px;
    border:1px solid #d8e1ec;
    border-radius:6px;
    background:#fff;
    color:#182535;
    box-shadow:0 12px 32px #18344b1c;
}

.sf-menu a {
    display:block;
    padding:9px 0;
}

.sf-merchandising,
.sf-channel-strip {
    box-sizing:border-box;
    width:100%;
    max-width:1560px;
    margin:0 auto;
    padding:24px clamp(16px,3vw,48px);
}

.sf-hero-grid {
    display:grid;
    grid-template-columns:1fr 1.3fr 1fr;
    gap:16px;
}

.sf-hero {
    box-sizing:border-box;
    min-height:270px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:28px;
    border-radius:7px;
    overflow:hidden;
}

.sf-hero-retail {
    background:#e5edf7;
}

.sf-hero-business {
    background:#194c82;
    color:#fff;
}

.sf-hero-account {
    background:#eaf0f5;
}

.sf-hero > div {
    flex:1;
    min-width:0;
}

.sf-hero svg {
    flex-shrink:0;
    width:31%;
    max-width:130px;
}

.sf-eyebrow {
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
}

.sf-hero h2 {
    font-size:clamp(23px,2.1vw,35px);
    line-height:1.12;
    margin:12px 0;
    color:inherit;
}

.sf-hero p {
    font-size:14px;
    margin:0 0 20px;
}

.sf-hero a {
    display:inline-block;
    padding:10px 17px;
    color:#194c82;
    background:#fff;
    border:1px solid #c5d2df;
    border-radius:5px;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
}

.sf-channel-strip {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding-top:0;
}

.sf-channel-strip a {
    display:block;
    padding:18px;
    border:1px solid #dce4ed;
    border-radius:6px;
    color:#194c82;
    text-decoration:none;
}

.sf-channel-strip a[aria-current="page"] {
    background:#f0f5fb;
    border-color:#194c82;
}

.sf-channel-strip strong,
.sf-channel-strip span {
    display:block;
}

.sf-channel-strip strong {
    font-size:18px;
}

.sf-channel-strip span {
    font-size:13px;
    color:#58697a;
}

body:has([data-sf-layout]) main {
    box-sizing:border-box;
    width:100%;
    max-width:1560px;
    margin:0 auto;
    padding:20px clamp(16px,3vw,48px) 48px;
}

.sf-catalog-tools {
    grid-column:1/-1;
    padding:14px 0;
    margin-bottom:12px;
    border-bottom:1px solid #dce4ec;
}

.sf-catalog-tools strong {
    font-size:18px;
}

.sf-result-count {
    margin-left:12px;
    color:#64748b;
    font-size:13px;
}

.sf-category-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:16px 0;
}

.sf-category-links a {
    padding:8px 14px;
    border:1px solid #d3dce6;
    border-radius:4px;
    color:#194c82;
    background:#fff;
    font-size:13px;
    text-decoration:none;
}

.sf-category-links a[aria-current="page"] {
    background:#194c82;
    color:#fff;
}

div:has(> [data-sf-product]),
section:has(> [data-sf-product]),
ul:has(> [data-sf-product]) {
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(220px,1fr));
    gap:16px;
    align-items:stretch;
    padding:0;
}

:is(article,div,li)[data-sf-product] {
    min-width:0;
    padding:18px;
    background:#fff;
    border:1px solid #dce4ec;
    border-radius:6px;
    list-style:none;
}

[data-sf-product] img {
    max-width:100%;
    object-fit:contain;
}

.sf-footer {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:28px;
    padding:40px clamp(16px,4vw,64px);
    background:#edf2f7;
    border-top:1px solid #dce4ec;
    color:#243447;
}

.sf-footer h3 {
    font-size:16px;
    margin:0 0 12px;
}

.sf-footer a {
    display:block;
    color:#194c82;
    text-decoration:none;
    font-size:14px;
    margin:8px 0;
}

.sf-topline :is(a,input,button):focus-visible,
.sf-hero a:focus-visible,
[data-sf-navigation] a:focus-visible {
    outline:3px solid #7da8d6;
    outline-offset:3px;
}

@media(max-width:1050px) {

    .sf-topline {
        grid-template-columns:
            140px minmax(0,1fr) 130px;
        gap:12px;
    }

    .sf-hero-grid {
        grid-template-columns:1fr 1fr;
    }

    .sf-hero-business {
        grid-row:span 2;
    }

}

@media(max-width:680px) {

    .sf-topline {
        grid-template-columns:1fr 1fr;
        padding:16px;
    }

    .sf-brand strong {
        font-size:25px;
    }

    .sf-search {
        grid-column:1/-1;
        grid-row:2;
    }

    .sf-account {
        grid-column:2;
        grid-row:1;
    }

    .sf-hero-grid {
        grid-template-columns:1fr;
    }

    .sf-hero-business {
        grid-row:auto;
    }

    .sf-hero {
        min-height:205px;
        padding:22px;
    }

    .sf-hero h2 {
        font-size:29px;
    }

    .sf-menu {
        min-width:0;
        width:min(310px,80vw);
        grid-template-columns:1fr;
    }

    .sf-channel-strip,
    .sf-footer {
        grid-template-columns:1fr;
    }

    div:has(> [data-sf-product]),
    section:has(> [data-sf-product]),
    ul:has(> [data-sf-product]) {
        grid-template-columns:
            repeat(auto-fill,minmax(145px,1fr));
    }

}



/* SF1_R3_FULL_WIDTH */

html:has(.sf-topline),
body:has(.sf-topline) {
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:100vh;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box;
    background:#fff;
}

/* Release native OFBiz ancestor containers. */

body:has(.sf-topline)
:is(div,main,section,article,header):has(.sf-topline) {
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    box-sizing:border-box!important;
}

/* Restore the storefront's internal grid. */

body .sf-topline {
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:
        210px minmax(0,1fr) 190px;
    align-items:center;
    gap:28px;
    padding:20px max(
        24px,calc((100% - 1600px)/2)
    )!important;
}

.sf-brand strong {
    font-size:30px;
}

body .sf-search {
    width:100%!important;
    max-width:none!important;
}

body .sf-search input {
    font-size:16px;
    min-height:48px;
}

body [data-sf-navigation] {
    width:100%!important;
    max-width:none!important;
    padding:13px max(
        24px,calc((100% - 1600px)/2)
    )!important;
    gap:30px;
}

/* Main merchandising area. */

body .sf-merchandising,
body .sf-channel-strip {
    width:100%!important;
    max-width:1600px!important;
    margin-inline:auto!important;
    box-sizing:border-box;
    padding-inline:24px!important;
}

body .sf-hero-grid {
    display:grid!important;
    grid-template-columns:
        1fr 1.2fr 1fr;
    gap:18px;
}

body .sf-hero {
    min-height:300px;
    padding:30px;
    align-items:center;
    box-sizing:border-box;
}

body .sf-hero h2 {
    font-size:clamp(25px,2.4vw,38px);
    line-height:1.12;
    overflow-wrap:normal;
}

body .sf-hero p {
    font-size:16px;
    line-height:1.5;
}

body .sf-hero a {
    white-space:nowrap;
}

body .sf-hero svg {
    width:28%;
    max-width:140px;
}

/* Preserve catalogue alignment. */

body:has(.sf-topline)
main:not(:has(.sf-topline)) {
    width:100%!important;
    max-width:1600px!important;
    margin-inline:auto!important;
    padding:24px 24px 56px!important;
    box-sizing:border-box;
}

body .sf-channel-strip {
    grid-template-columns:1fr 1fr;
}

body .sf-channel-strip a {
    padding:20px 24px;
}

body .sf-footer {
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    box-sizing:border-box;
    padding:40px max(
        24px,calc((100% - 1600px)/2)
    )!important;
}

/* Tablet layout. */

@media(max-width:1050px) {

    body .sf-topline {
        grid-template-columns:
            145px minmax(0,1fr) 135px;
        gap:16px;
    }

    body .sf-hero-grid {
        grid-template-columns:1fr 1fr;
    }

    body .sf-hero-business {
        grid-row:span 2;
    }

    body .sf-hero {
        min-height:240px;
        padding:24px;
    }

}

/* Mobile layout. */

@media(max-width:680px) {

    body .sf-topline {
        grid-template-columns:1fr 1fr;
        gap:12px;
        padding:16px!important;
    }

    body .sf-search {
        grid-column:1/-1;
        grid-row:2;
    }

    body .sf-account {
        grid-column:2;
        grid-row:1;
    }

    body .sf-merchandising,
    body .sf-channel-strip {
        padding-inline:16px!important;
    }

    body .sf-hero-grid,
    body .sf-channel-strip,
    body .sf-footer {
        grid-template-columns:1fr;
    }

    body .sf-hero-business {
        grid-row:auto;
    }

    body .sf-hero {
        min-height:205px;
        padding:24px;
    }

    body .sf-hero h2 {
        font-size:30px;
    }

    body [data-sf-navigation] {
        gap:14px;
        padding:12px 16px!important;
    }

    body .sf-footer {
        padding:28px 16px!important;
    }

}




/* SF2_R1_CATALOGUE */

#sf-catalog {
    display:block;
    height:1px;
    scroll-margin-top:24px;
}

body:has(.sf-topline)
#sf-catalog ~ :is(h1,h2,h3,p,section,article,div,ul,table) {
    box-sizing:border-box;
    max-width:1600px;
    width:100%;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:24px;
    padding-right:24px;
}

body:has(.sf-topline)
main:has(#sf-catalog) > :is(h1,h2,h3,p,section,ul,table)
:not(.sf-merchandising) {
    box-sizing:border-box;
    max-width:1600px;
    margin-inline:auto!important;
}

.sf-catalog-tools {
    box-sizing:border-box;
    width:100%;
    max-width:1600px;
    margin-inline:auto!important;
    padding:24px!important;
}

.sf-catalog-tools strong {
    font-size:22px;
    font-weight:600;
}

.sf-category-links {
    gap:10px;
    padding:8px 0;
}

.sf-category-links a {
    padding:10px 18px;
    border-radius:5px;
    font-size:14px;
}

:is(article,li,div)[data-sf-product] {
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:260px;
    padding:20px;
    gap:10px;
    border:1px solid #dce4ec;
    border-radius:6px;
}

[data-sf-product] img {
    width:100%;
    height:210px;
    object-fit:contain;
    background:#fff;
}

.sf-product-view {
    display:block;
    margin-top:auto;
    padding:10px 16px;
    border:1px solid #194c82;
    border-radius:5px;
    background:#194c82;
    color:#fff!important;
    font-size:14px;
    font-weight:600;
    text-align:center;
    text-decoration:none!important;
}

.sf-product-view:hover {
    background:#123d6d;
}

.sf-detail-heading {
    box-sizing:border-box;
    width:100%;
    max-width:1600px;
    margin:0 auto;
    padding:18px 24px;
    color:#194c82;
}

.sf-detail-heading a {
    color:#194c82;
    text-decoration:none;
}

body:has(.sf-detail-heading)
:is(div,section,ul):has(> [data-sf-product]) {
    grid-template-columns:minmax(0,700px);
}

body:has(.sf-detail-heading)
[data-sf-product] img {
    height:320px;
}

@media(max-width:680px) {

    body:has(.sf-topline)
    #sf-catalog ~ :is(h1,h2,h3,p,section,article,div,ul,table) {
        padding-inline:16px;
    }

    .sf-catalog-tools {
        padding:16px!important;
    }

    :is(article,li,div)[data-sf-product] {
        padding:12px;
        min-height:220px;
    }

    [data-sf-product] img {
        height:150px;
    }

    body:has(.sf-detail-heading)
    [data-sf-product] img {
        height:240px;
    }
}




/* SF2_R2_PRODUCT_CARDS */

ul:has(> .sf2-card),
div:has(> .sf2-card),
section:has(> .sf2-card) {
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(230px,1fr));
    gap:18px;
    padding:0;
}

.sf2-card {
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:18px;
    border:1px solid #dce4ed;
    border-radius:6px;
    background:white;
    list-style:none;
}

.sf2-card h3 {
    margin:0;
    font-size:18px;
    font-weight:600;
}

.sf2-card small {
    color:#64748b;
}

.sf2-product-placeholder {
    display:grid;
    place-items:center;
    min-height:180px;
    background:#f5f7fa;
    border-radius:5px;
}

.sf2-price {
    color:#182535;
    font-size:24px;
}

@media(max-width:680px) {

    ul:has(> .sf2-card),
    div:has(> .sf2-card),
    section:has(> .sf2-card) {
        grid-template-columns:
            repeat(auto-fill,minmax(145px,1fr));
    }

    .sf2-card {
        padding:12px;
    }

}



/* SF3_PRODUCT_EXPERIENCE */

.sf3-thumbnail {
    display:block;
    width:100%;
    height:230px;
    object-fit:contain;
    background:#fff;
    border-radius:5px;
}

.sf3-stock {
    color:#17633a;
    font-size:14px;
    font-weight:600;
}

.sf3-stock-unavailable {
    color:#64748b;
    font-size:14px;
}

.sf3-details {
    display:grid;
    gap:20px;
    border-top:1px solid #dce4ed;
    padding-top:18px;
}

.sf3-details section {
    min-width:0;
}

.sf3-details h2 {
    font-size:21px;
    color:#194c82;
}

.sf3-gallery details {
    border:1px solid #dce4ed;
    border-radius:5px;
    margin:12px 0;
    padding:12px;
}

.sf3-gallery summary {
    cursor:pointer;
    font-weight:600;
}

.sf3-gallery img {
    display:block;
    width:100%;
    max-height:650px;
    object-fit:contain;
    background:#fff;
}

.sf3-copy {
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    font-size:16px;
}

.sf3-disclaimer {
    font-size:13px;
    color:#64748b;
}

:is(ul,div,section):has(
    > .sf2-card:only-child .sf3-details
) {
    grid-template-columns:minmax(0,1000px);
}

.sf2-card:has(.sf3-details) {
    padding:28px;
}

.sf2-card:has(.sf3-details) h3 {
    font-size:30px;
}

.sf2-card:has(.sf3-details) .sf3-thumbnail {
    height:340px;
}

@media(max-width:680px) {

    .sf3-thumbnail {
        height:160px;
    }

    .sf2-card:has(.sf3-details) {
        padding:16px;
    }

    .sf2-card:has(.sf3-details) h3 {
        font-size:25px;
    }

    .sf2-card:has(.sf3-details) .sf3-thumbnail {
        height:240px;
    }

}



/* SF4_DETAIL_LAYOUT */

.sf4-list-card {
    text-align:left!important;
    align-items:stretch!important;
    width:auto!important;
    max-width:none!important;
}

.sf4-card-photo {
    display:block;
    width:100%;
    height:220px;
}

.sf4-card-photo img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.sf4-no-photo {
    min-height:220px;
    width:100%;
    display:grid;
    place-items:center;
    background:#f5f7fa;
    color:#64748b;
    border-radius:6px;
}

:is(ul,ol,section,div):has(> .sf4-list-card) {
    display:grid!important;
    grid-template-columns:
        repeat(auto-fill,minmax(220px,1fr))!important;
    gap:18px!important;
    width:100%!important;
    max-width:1600px!important;
    box-sizing:border-box!important;
    margin:24px auto!important;
    padding:0 24px!important;
}

body:has(.sf4-detail) .sf-merchandising,
body:has(.sf4-detail) .sf-channel-strip,
body:has(.sf4-detail) .sf-catalog-tools {
    display:none!important;
}

body:has(.sf4-detail) #sf-catalog ~ h2 {
    display:none!important;
}

body:has(.sf4-detail)
:is(ul,ol,section,div):has(> .sf4-detail) {

    display:block!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    max-width:1600px!important;

    box-sizing:border-box!important;

    margin:0 auto!important;
    padding:24px!important;

    list-style:none!important;
    text-align:left!important;
}

body:has(.sf4-detail) .sf4-detail {

    display:block!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    box-sizing:border-box!important;

    margin:0!important;
    padding:0!important;

    border:0!important;
    background:#fff!important;

    list-style:none!important;
    text-align:left!important;

    float:none!important;
}

.sf4-breadcrumb {

    display:flex!important;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start!important;

    gap:10px;

    margin:0 0 26px!important;
    padding:0!important;

    background:transparent!important;
    border:0!important;

    font-size:14px;
    color:#64748b;
}

.sf4-breadcrumb a {
    color:#194c82!important;
    text-decoration:none;
}

.sf4-product-grid {

    display:grid!important;

    grid-template-columns:
        minmax(0,1.1fr)
        minmax(0,1fr);

    gap:clamp(32px,5vw,80px);

    align-items:start;

    width:100%;
    box-sizing:border-box;
}

.sf4-visual,
.sf4-summary {

    width:100%!important;
    max-width:none!important;
    min-width:0!important;

    text-align:left!important;

    box-sizing:border-box;
}

.sf4-main-photo {

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;

    min-height:360px;

    border:1px solid #dce4ed;
    border-radius:7px;

    background:white;

    overflow:hidden;
}

.sf4-main-photo img {

    display:block;

    width:100%!important;
    height:auto!important;

    max-height:580px!important;

    object-fit:contain;

    padding:24px;
    box-sizing:border-box;
}

.sf4-media-hint {

    color:#64748b;
    font-size:13px;
    margin:12px 0;
}

.sf4-gallery {

    display:flex;
    justify-content:flex-start;
    flex-wrap:wrap;

    gap:12px;
}

.sf4-gallery a {

    display:block;

    width:86px;
    height:86px;

    border:1px solid #cbd5e1;
    border-radius:5px;

    padding:5px;
    box-sizing:border-box;
}

.sf4-gallery a:hover {
    border-color:#194c82;
}

.sf4-gallery img {

    width:100%!important;
    height:100%!important;

    object-fit:contain;
}

.sf4-brand {

    font-size:15px;
    font-weight:600;
    color:#194c82;
}

.sf4-summary h1 {

    font-size:clamp(26px,3vw,40px)!important;

    line-height:1.2!important;

    margin:10px 0 14px!important;

    color:#182535;

    font-weight:600;
    text-align:left!important;
}

.sf4-sku {
    color:#64748b;
    font-size:14px;
}

.sf4-price {

    font-size:36px;
    font-weight:700;
    line-height:1.2;

    margin-top:26px;

    color:#182535;
}

.sf4-tax-note {
    font-size:13px;
    color:#64748b;
}

.sf4-availability {

    border-bottom:1px solid #dce4ed;

    padding:16px 0 22px;
}

.sf4-information {

    margin-top:26px;
    font-size:16px;

    text-align:left;
}

.sf4-information h2 {

    color:#194c82;
    font-size:22px;
    font-weight:600;

    margin-top:24px;
}

.sf4-copy {

    white-space:pre-wrap;
    overflow-wrap:anywhere;

    line-height:1.65;
}

.sf4-order-note {

    background:#f2f6fb;

    padding:18px;
    margin:24px 0;

    border-radius:6px;

    font-size:14px;
}

.sf4-return {

    display:inline-block;

    padding:12px 24px;

    background:#194c82;
    color:white!important;

    border-radius:5px;

    text-decoration:none!important;
}

@media(max-width:760px) {

    .sf4-product-grid {

        grid-template-columns:minmax(0,1fr);

        gap:24px;
    }

    body:has(.sf4-detail)
    :is(ul,ol,section,div):has(> .sf4-detail) {

        padding:16px!important;
    }

    .sf4-main-photo {

        min-height:260px;
    }

    .sf4-main-photo img {

        max-height:360px!important;
        padding:12px;
    }

    .sf4-summary h1 {

        font-size:27px!important;
    }

    .sf4-price {

        font-size:30px;
    }

    :is(ul,ol,section,div):has(> .sf4-list-card) {

        grid-template-columns:
            repeat(auto-fill,minmax(145px,1fr))!important;

        padding:0 16px!important;
    }

    .sf4-card-photo {
        height:160px;
    }

}



/* SF2_R4_MERCHANDISING */

.sf4-department-menu {
    grid-column:1/-1;
    border-bottom:1px solid #dce4ed;
    padding-bottom:14px;
}

.sf4-department-menu a {
    display:block;
    padding:9px 0;
}

.sf-menu {
    max-height:70vh;
    overflow:auto;
}

.sf4-department-strip,
.sf4-featured {
    box-sizing:border-box;
    max-width:1600px;
    width:100%;
    margin:0 auto;
    padding:24px;
}

.sf4-department-strip h2,
.sf4-featured h2 {
    font-size:25px;
    font-weight:600;
    color:#182535;
    margin:0 0 18px;
}

.sf4-department-chips {
    display:flex!important;
    justify-content:flex-start!important;
    flex-wrap:wrap;
    gap:12px;
}

.sf4-department-chips a {
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 18px;
    border:1px solid #d6e1ed;
    border-radius:6px;
    background:#fff;
    color:#194c82!important;
    font-weight:600;
    text-decoration:none!important;
}

.sf4-department-chips a[aria-current="page"] {
    background:#194c82;
    color:white!important;
}

.sf4-department-chips small {
    opacity:.75;
    font-weight:400;
}

.sf4-dynamic-banners {
    display:grid!important;
    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));
    gap:18px;
}

.sf4-banner {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    min-width:0;
    min-height:270px;
    gap:24px;
    padding:28px;
    box-sizing:border-box;
    border-radius:7px;
    background:#e5edf7;
    overflow:hidden;
    text-align:left!important;
}

.sf4-banner:nth-child(2) {
    background:#194c82;
    color:white;
}

.sf4-banner:nth-child(3) {
    background:#eaf0f5;
}

.sf4-banner > div {
    flex:1;
    min-width:0;
}

.sf4-banner h2 {
    font-size:clamp(25px,2.4vw,36px);
    line-height:1.15;
    margin:12px 0;
    color:inherit;
    overflow-wrap:anywhere;
}

.sf4-banner p {
    font-size:15px;
    line-height:1.5;
}

.sf4-banner small {
    font-size:11px;
    letter-spacing:1px;
    font-weight:600;
}

.sf4-banner img {
    width:36%;
    max-height:220px;
    object-fit:contain;
    border-radius:5px;
}

.sf4-banner a {
    display:inline-block;
    border-radius:5px;
    background:white;
    color:#194c82!important;
    border:1px solid #c5d2df;
    padding:11px 18px;
    font-weight:600;
    text-decoration:none!important;
}

.sf4-section-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.sf4-section-heading a {
    color:#194c82;
    font-size:14px;
}

.sf4-featured-grid {
    display:grid!important;
    grid-template-columns:
        repeat(auto-fill,minmax(210px,1fr));
    gap:18px;
}

.sf4-featured-card {
    display:flex!important;
    flex-direction:column;
    min-width:0;
    gap:12px;
    padding:18px;
    border:1px solid #dce4ed;
    border-radius:6px;
    background:#fff;
    color:#182535!important;
    text-decoration:none!important;
    text-align:left!important;
}

.sf4-featured-card img {
    width:100%;
    height:190px;
    object-fit:contain;
}

.sf4-featured-card strong {
    font-size:16px;
    line-height:1.4;
}

.sf4-featured-card span {
    margin-top:auto;
    color:#194c82;
    font-size:14px;
}

body:has(.sf4-detail) .sf4-department-strip,
body:has(.sf4-detail) .sf4-featured {
    display:none!important;
}

@media(max-width:760px) {

    .sf4-department-strip,
    .sf4-featured {
        padding:18px 16px;
    }

    .sf4-dynamic-banners {
        grid-template-columns:1fr;
    }

    .sf4-banner {
        min-height:220px;
        padding:20px;
    }

    .sf4-featured-grid {
        grid-template-columns:
            repeat(auto-fill,minmax(145px,1fr));
        gap:12px;
    }

    .sf4-featured-card {
        padding:12px;
    }

    .sf4-featured-card img {
        height:145px;
    }

}



/* SF5_CART_INTERFACE */

.sf5-account-tools {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:20px;
}

.sf5-header-cart {
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:600;
    white-space:nowrap;
}

body .sf-topline {
    grid-template-columns:210px minmax(0,1fr) 270px;
}

.sf5-add-cart {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin:14px 0;
}

.sf5-add-cart label {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
}

.sf5-add-cart input,
.sf5-cart-line input {
    width:64px;
    padding:9px;
    border:1px solid #cbd5e1;
    border-radius:5px;
    font:inherit;
}

.sf5-add-cart button,
.sf5-primary {
    display:inline-block;
    padding:12px 22px;
    background:#194c82;
    color:white!important;
    border:0;
    border-radius:5px;
    font:inherit;
    font-weight:600;
    cursor:pointer;
    text-decoration:none!important;
}

.sf5-basket-page {
    margin:0;
    background:#f5f7fa;
    color:#182535;
    font-family:"Source Sans 3",Arial,sans-serif;
}

.sf5-basket-header {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:28px;
    padding:20px 5%;
    background:#194c82;
}

.sf5-basket-header a {
    color:white;
    text-decoration:none;
}

.sf5-basket-header a:first-child {
    font-size:28px;
    font-weight:700;
    margin-right:auto;
}

.sf5-basket-main {
    max-width:1500px;
    margin:0 auto;
    padding:32px 24px;
    box-sizing:border-box;
}

.sf5-basket-grid {
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(270px,1fr);
    gap:24px;
    align-items:start;
}

.sf5-panel,
.sf5-cart-line {
    background:#fff;
    border:1px solid #dce4ed;
    border-radius:7px;
    padding:24px;
}

.sf5-cart-line {
    display:grid;
    grid-template-columns:110px minmax(0,1fr) auto;
    gap:20px;
    margin-bottom:14px;
}

.sf5-cart-line img {
    width:110px;
    height:110px;
    object-fit:contain;
}

.sf5-cart-line h2 {
    font-size:19px;
    line-height:1.35;
    margin:0 0 10px;
}

.sf5-cart-line form {
    margin-top:12px;
}

.sf5-cart-line button,
.sf5-remove {
    font:inherit;
    background:#fff;
    color:#194c82;
    border:1px solid #cbd5e1;
    border-radius:5px;
    padding:9px 13px;
    cursor:pointer;
}

.sf5-remove {
    color:#6b3740;
}

.sf5-line-total {
    font-size:19px;
    font-weight:700;
    white-space:nowrap;
}

.sf5-summary-row {
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:18px 0;
    border-bottom:1px solid #dce4ed;
}

.sf5-notice {
    padding:14px 18px;
    background:#e5edf7;
    border-radius:5px;
}

@media(max-width:760px) {

    body .sf-topline {
        grid-template-columns:1fr 1fr;
    }

    .sf5-account-tools {
        grid-column:2;
        grid-row:1;
        gap:10px;
    }

    .sf5-account-tools .sf-account small {
        display:none;
    }

    .sf5-basket-main {
        padding:20px 16px;
    }

    .sf5-basket-grid {
        grid-template-columns:1fr;
    }

    .sf5-cart-line {
        grid-template-columns:75px minmax(0,1fr);
        padding:14px;
    }

    .sf5-cart-line img {
        width:75px;
        height:90px;
    }

    .sf5-line-total {
        grid-column:2;
    }

}



/* SF5_NATIVE_STOCK_SYNC */

.sf3-stock {
    color:#17633a;
    font-weight:600;
}

.sf3-stock-unavailable {
    color:#64748b;
    font-weight:600;
}

.sf5-stock-disabled {
    display:block;
    width:100%;
    box-sizing:border-box;
    margin:12px 0;
    padding:12px 18px;
    border:1px solid #d6dde5;
    border-radius:5px;
    background:#e9edf2;
    color:#64748b;
    font:inherit;
    cursor:not-allowed;
}

.sf5-cart-stock-note {
    width:100%;
    color:#64748b;
    font-size:13px;
    line-height:1.4;
    margin:4px 0;
}

.sf5-cart-line button:disabled {
    opacity:.5;
    cursor:not-allowed;
}



/* SF5_CONFIGURABLE_PURCHASE_LIMIT */

.sf5-limit-warning {
    color:#9a3412;
    font-size:14px;
    font-weight:600;
    margin:10px 0;
}



/* SF6_CUSTOMER_ACCOUNT */

.sf6-account-page {
    margin:0;
    background:#f5f7fa;
    color:#182535;
    font-family:"Source Sans 3",Arial,sans-serif;
}

.sf6-account-main {
    max-width:1400px;
    margin:0 auto;
    padding:30px 24px;
    box-sizing:border-box;
}

.sf6-account-main h1 {
    font-size:34px;
}

.sf6-account-main .sf5-panel {
    margin:22px 0;
}

.sf6-account-tiles {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin:28px 0;
}

.sf6-account-tiles a {
    display:flex;
    align-items:center;
    min-height:90px;
    padding:22px;
    background:#194c82;
    color:white;
    border-radius:6px;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    box-sizing:border-box;
}

.sf6-fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin:20px 0;
}

.sf6-fields label {
    display:block;
    font-size:15px;
    font-weight:600;
}

.sf6-fields input,
.sf6-fields select {
    display:block;
    width:100%;
    padding:12px;
    margin-top:7px;
    border:1px solid #cbd5e1;
    border-radius:5px;
    background:white;
    color:#182535;
    font:inherit;
    font-weight:400;
    box-sizing:border-box;
}

.sf6-saved-address {
    border:1px solid #dce4ed;
    border-radius:6px;
    padding:16px;
    margin:12px 0;
    line-height:1.6;
}

.sf6-address-editor {
    margin-top:20px;
}

.sf6-address-editor summary {
    color:#194c82;
    font-weight:600;
    cursor:pointer;
}

.sf6-table-wrap {
    overflow-x:auto;
}

.sf6-table-wrap table {
    width:100%;
    border-collapse:collapse;
}

.sf6-table-wrap th,
.sf6-table-wrap td {
    padding:14px;
    text-align:left;
    border-bottom:1px solid #dce4ed;
}

.sf6-table-wrap th {
    background:#edf3fa;
}

@media(max-width:760px) {

    .sf6-account-main {
        padding:20px 16px;
    }

    .sf6-account-tiles {
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .sf6-account-tiles a {
        padding:16px;
        min-height:80px;
        font-size:16px;
    }

    .sf6-fields {
        grid-template-columns:1fr;
    }

}



/* SF6_PUBLIC_REGISTRATION */

.sf6-registration-page {

    margin:0;
    background:#f5f7fa;
    font-family:"Source Sans 3",Arial,sans-serif;
    color:#182535;

}

.sf6-registration-main {

    max-width:480px;
    box-sizing:border-box;
    padding:32px 16px;
    margin:20px auto;

}

.sf6-registration-main h1 {

    font-size:28px;
    line-height:1.2;
    margin:0 0 18px;

}

.sf6-registration-main h2 {

    font-size:20px;

}

.sf6-registration-fields {

    display:grid;
    gap:18px;
    margin:22px 0;

}

.sf6-registration-fields label {

    display:block;
    font-weight:600;
    font-size:15px;

}

.sf6-registration-fields input {

    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px;
    margin-top:7px;
    border:1px solid #cbd5e1;
    border-radius:5px;
    font:inherit;

}

.sf6-registration-main .sf5-primary {

    width:100%;
    box-sizing:border-box;
    text-align:center;
    margin-top:12px;

}

.sf6-registration-links {

    margin-top:24px;
    padding-top:12px;
    border-top:1px solid #dce4ed;

}

.sf6-registration-links a {

    color:#194c82;

}

.sf6-registration-resend {

    margin-top:24px;

}

.sf6-registration-resend summary {

    cursor:pointer;
    color:#194c82;

}

.sf6-create-account {

    font-size:13px;
    color:white!important;
    text-decoration:underline;
    white-space:nowrap;

}

.sf5-account-tools {

    flex-wrap:wrap;

}



/* ======================================================
   SF7_SHARED_PAGE_LAYOUT

   Permanent storefront layout contract.

   Every standalone storefront page must use:

   body.sf-layout-page
   header.sf-layout-header
   main.sf-layout-main

   Wide workspace:
       sf-layout-wide

   Centered authentication or registration:
       sf-layout-centered

   Do not inherit native application panel alignment.
   ====================================================== */

html:has(body.sf-layout-page) {

    display:block!important;
    position:static!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    margin:0!important;
    padding:0!important;

    box-sizing:border-box!important;

}

html body.sf-layout-page {

    display:block!important;

    position:static!important;
    inset:auto!important;

    float:none!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    min-height:100vh!important;
    min-height:100dvh!important;

    margin:0!important;
    padding:0!important;

    transform:none!important;

    background:#f5f7fa;

    color:#182535;

    font-family:
        "Source Sans 3",Arial,sans-serif;

    box-sizing:border-box!important;

    text-align:left!important;

}

body.sf-layout-page *,
body.sf-layout-page *::before,
body.sf-layout-page *::after {

    box-sizing:border-box;

}

/* Full-width header */

body.sf-layout-page .sf-layout-header {

    display:flex!important;

    flex-direction:row!important;
    flex-wrap:wrap!important;

    align-items:center!important;
    justify-content:flex-start!important;

    position:static!important;

    inset:auto!important;
    float:none!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    margin:0!important;

    padding:
        20px clamp(16px,4vw,64px)!important;

    gap:24px!important;

    background:#194c82;

    color:#ffffff;

    transform:none!important;

}

body.sf-layout-page .sf-layout-header > a {

    color:white!important;

    text-decoration:none!important;

    white-space:normal;

}

body.sf-layout-page .sf-layout-header > a:first-child {

    margin-right:auto!important;

    font-size:28px;

    font-weight:700;

}

/* Shared centered page workspace */

body.sf-layout-page .sf-layout-main {

    display:block!important;

    position:static!important;

    inset:auto!important;

    float:none!important;
    clear:both!important;

    flex:none!important;

    width:100%!important;
    min-width:0!important;

    margin:0 auto!important;

    transform:none!important;

    text-align:left!important;

    align-self:auto!important;

    justify-self:auto!important;

    box-sizing:border-box!important;

}

/* Cart, account, checkout and order history */

body.sf-layout-page .sf-layout-wide {

    max-width:1600px!important;

    padding:
        32px clamp(16px,3vw,48px)!important;

}

/* Registration, login and other narrow forms */

body.sf-layout-page .sf-layout-centered {

    max-width:520px!important;

    padding:36px 20px!important;

    margin:0 auto!important;

}

body.sf-layout-page .sf-layout-centered > section {

    display:block!important;

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    margin:0 auto!important;

    float:none!important;
    position:static!important;

}

body.sf-layout-page .sf-layout-main h1 {

    margin:0 0 24px;

    color:#182535;

    font-size:clamp(26px,3vw,36px);

    font-weight:600;

}

/* Cart grid */

body.sf-layout-page .sf5-basket-grid {

    display:grid!important;

    width:100%!important;
    max-width:none!important;

    grid-template-columns:
        minmax(0,2fr)
        minmax(280px,1fr)!important;

    gap:24px!important;

    align-items:start!important;

    margin:0!important;

}

body.sf-layout-page .sf5-basket-grid > section,
body.sf-layout-page .sf5-basket-grid > aside {

    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    position:static!important;

    float:none!important;

    margin:0!important;

}

body.sf-layout-page .sf5-panel {

    width:100%;

    min-width:0;

    background:#ffffff;

    border:1px solid #dce4ed;

    border-radius:7px;

    padding:24px;

}

/* Registration form alignment */

body.sf-layout-page .sf6-registration-fields {

    display:grid!important;

    grid-template-columns:minmax(0,1fr)!important;

    width:100%!important;

    gap:18px;

}

body.sf-layout-page .sf6-registration-fields input {

    display:block!important;

    width:100%!important;

    min-width:0!important;

    max-width:none!important;

}

/* Customer dashboard */

body.sf-layout-page .sf6-account-tiles {

    display:grid!important;

    grid-template-columns:
        repeat(3,minmax(0,1fr))!important;

    width:100%!important;

    gap:16px!important;

}

/* Mobile and tablet standard */

@media(max-width:760px) {

    body.sf-layout-page .sf-layout-header {

        padding:16px!important;

        gap:14px!important;

    }

    body.sf-layout-page .sf-layout-header
    > a:first-child {

        font-size:24px;

    }

    body.sf-layout-page .sf-layout-wide {

        padding:24px 16px!important;

    }

    body.sf-layout-page .sf-layout-centered {

        padding:24px 16px!important;

    }

    body.sf-layout-page .sf5-basket-grid {

        grid-template-columns:
            minmax(0,1fr)!important;

        gap:16px!important;

    }

    body.sf-layout-page .sf6-account-tiles {

        grid-template-columns:
            repeat(2,minmax(0,1fr))!important;

        gap:12px!important;

    }

    body.sf-layout-page .sf6-fields {

        grid-template-columns:
            minmax(0,1fr)!important;

    }

    body.sf-layout-page .sf5-panel {

        padding:18px;

    }

}

@media(max-width:380px) {

    body.sf-layout-page .sf6-account-tiles {

        grid-template-columns:
            minmax(0,1fr)!important;

    }

}



/* SF7_PRODUCT_AND_FOOTER_ALIGNMENT */

/* Product navigation */

.sf7-detail-toolbar {

    display:flex!important;

    align-items:center!important;

    justify-content:flex-start!important;

    width:100%!important;

    padding:0!important;

    margin:0 0 20px!important;

}

.sf7-back-link {

    display:inline-flex!important;

    align-items:center!important;

    justify-content:flex-start!important;

    gap:9px;

    color:#194c82!important;

    background:transparent!important;

    border:0!important;

    padding:6px 0!important;

    margin:0!important;

    font-size:15px;

    font-weight:600;

    text-decoration:none;

}

.sf7-back-link:hover {

    text-decoration:underline;

}

/* Breadcrumbs stay together on the left */

.sf4-breadcrumb,
.sf4-breadcrumbs {

    display:flex!important;

    flex-wrap:wrap!important;

    justify-content:flex-start!important;

    align-items:center!important;

    gap:10px!important;

    text-align:left!important;

    margin-bottom:18px!important;

}

.sf4-breadcrumb > *,
.sf4-breadcrumbs > * {

    flex:0 1 auto!important;

}

/* Product purchase controls */

.sf4-detail form:has(
    input[name="quantity"]
) {

    display:flex!important;

    flex-direction:row!important;

    justify-content:flex-start!important;

    align-items:center!important;

    flex-wrap:wrap!important;

    gap:12px!important;

    width:100%!important;

    margin:18px 0!important;

}

.sf4-detail input[name="quantity"] {

    width:86px!important;

    min-height:44px;

    padding:10px!important;

    font:inherit;

}

.sf4-detail form:has(
    input[name="quantity"]
) button[type="submit"] {

    flex:1 1 160px!important;

    min-height:44px;

    max-width:320px;

    margin:0!important;

    font-weight:600;

}

/* Footer occupies the full page width */

footer.sf7-footer {

    display:block!important;

    width:100%!important;

    max-width:none!important;

    min-width:0!important;

    background:#eaf0f6;

    margin:32px 0 0!important;

    padding:0!important;

    float:none!important;

    clear:both!important;

    position:static!important;

    border-top:1px solid #dce4ed;

}

.sf7-footer-inner {

    display:grid!important;

    grid-template-columns:
        repeat(3,minmax(0,1fr))!important;

    align-items:start!important;

    justify-items:start!important;

    gap:32px!important;

    width:100%!important;

    max-width:1600px!important;

    margin:0 auto!important;

    padding:36px clamp(20px,4vw,64px)!important;

    box-sizing:border-box;

}

.sf7-footer-column {

    display:flex!important;

    flex-direction:column!important;

    align-items:flex-start!important;

    justify-content:flex-start!important;

    gap:10px!important;

    width:100%!important;

    min-width:0!important;

    margin:0!important;

    padding:0!important;

    text-align:left!important;

}

.sf7-footer-column h3 {

    margin:0 0 6px!important;

    padding:0!important;

    color:#182535;

    font-size:16px;

    font-weight:600;

}

.sf7-footer-column p {

    margin:0!important;

    color:#475569;

    font-size:15px;

    line-height:1.6;

}

.sf7-footer-column a {

    display:block!important;

    color:#194c82!important;

    font-size:14px;

    line-height:1.5;

    text-decoration:none;

    margin:0!important;

    padding:0!important;

}

.sf7-footer-column a:hover {

    text-decoration:underline;

}

.sf7-header-signout {

    color:white!important;

    font-size:13px;

    white-space:nowrap;

    text-decoration:none;

}

/* Responsive storefront footer and purchase layout */

@media(max-width:760px) {

    .sf7-footer-inner {

        grid-template-columns:
            repeat(2,minmax(0,1fr))!important;

        gap:24px!important;

        padding:28px 20px!important;

    }

    .sf7-footer-column:first-child {

        grid-column:1 / -1;

    }

    .sf4-detail form:has(
        input[name="quantity"]
    ) button[type="submit"] {

        max-width:none;

    }

}

@media(max-width:380px) {

    .sf7-footer-inner {

        grid-template-columns:
            minmax(0,1fr)!important;

    }

    .sf4-detail form:has(
        input[name="quantity"]
    ) button[type="submit"] {

        flex:1 1 100%!important;

    }

}



/* SF7_STICKY_FOOTER_STANDARD */

/* Full viewport height without fixed positioning. */

html:has(footer.sf7-footer) {

    min-height:100% !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

}

body:has(footer.sf7-footer) {

    display:flex !important;

    flex-direction:column !important;

    min-height:100vh !important;
    min-height:100dvh !important;

    height:auto !important;

    width:100% !important;

    margin:0 !important;
    padding:0 !important;

    box-sizing:border-box !important;

}

/* Expand intermediate native OFBiz containers
   enclosing the storefront footer. */

body:has(footer.sf7-footer)
:is(div,main,section,article):has(footer.sf7-footer) {

    display:flex !important;

    flex-direction:column !important;

    flex:1 0 auto !important;

    width:100% !important;
    max-width:none !important;

    min-height:0 !important;

    box-sizing:border-box !important;

}

/* Push the footer down when content is short. */

body footer.sf7-footer {

    flex:0 0 auto !important;

    margin-top:auto !important;
    margin-bottom:0 !important;

    position:static !important;

    bottom:auto !important;

    width:100% !important;

}

/* Preserve spacing before the footer. */

body:has(footer.sf7-footer)
.sf4-detail {

    margin-bottom:32px !important;

}



/* SF8_CUSTOMER_CHECKOUT */

body.sf-layout-page.sf8-checkout-page {

    display:flex!important;
    flex-direction:column!important;

    min-height:100vh!important;
    min-height:100dvh!important;

    width:100%!important;

    margin:0!important;
    padding:0!important;

}

.sf8-checkout-page .sf-layout-main {

    flex:1 0 auto!important;

}

.sf8-checkout-steps {

    display:flex!important;

    flex-wrap:wrap;

    justify-content:flex-start!important;

    gap:12px;

    margin:24px 0;

}

.sf8-checkout-steps span {

    background:#e6edf5;

    color:#194c82;

    padding:12px 18px;

    border-radius:4px;

    font-weight:600;

}

.sf8-checkout-grid {

    display:grid!important;

    grid-template-columns:

        minmax(0,2fr)
        minmax(280px,1fr);

    gap:24px;

    align-items:start;

    width:100%;

}

.sf8-checkout-content {

    display:grid!important;

    gap:20px;

    min-width:0;

}

.sf8-checkout-page .sf5-panel {

    margin:0!important;

}

.sf8-checkout-page h2 {

    font-size:21px;

    margin:0 0 18px;

}

.sf8-checkout-actions {

    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:16px;

}

.sf8-checkout-item {

    display:flex!important;

    justify-content:space-between!important;

    align-items:flex-start!important;

    gap:16px;

    padding:16px 0;

    border-bottom:1px solid #dce4ed;

}

.sf8-checkout-item:last-child {

    border-bottom:0;

}

.sf8-summary-line {

    display:flex!important;

    justify-content:space-between!important;

    gap:12px;

    margin:18px 0;

}

.sf8-checkout-summary .sf5-primary {

    display:block;

    width:100%;

    text-align:center;

}

.sf8-checkout-error {

    color:#a12720;

    font-size:14px;

}

.sf8-checkout-ready {

    color:#17633a;

    background:#edf7f0;

    padding:14px;

    border-radius:5px;

}

.sf8-checkout-disabled {

    display:block;

    width:100%;

    padding:14px;

    border:0;

    border-radius:5px;

    background:#e0e6ee;

    color:#64748b;

    cursor:not-allowed;

    font:inherit;

}

.sf8-checkout-page footer.sf7-footer {

    flex:0 0 auto!important;

    margin-top:auto!important;

    margin-bottom:0!important;

    width:100%!important;

    position:static!important;

}

@media(max-width:760px) {

    .sf8-checkout-grid {

        grid-template-columns:

            minmax(0,1fr);

    }

    .sf8-checkout-steps span {

        flex:1 1 calc(50% - 12px);

        font-size:14px;

    }

    .sf8-checkout-item {

        flex-wrap:wrap;

    }

}

