/* Preserve all original homepage groups with the new hero first. */
body.in-index main#content{display:flex;flex-direction:column}
body.in-index main#content>.homepage-products-heading-4{order:50;margin-top:32px}
body.in-index main#content>.products-wrapper:has(#products-4){order:51}
body.in-index main#content>.af-home-content{order:60}
/* The existing shop has custom cookie colors and a wide saved banner size. */
html body .siteCookies.siteCookies--bottom{left:16px!important;right:16px!important;bottom:16px!important;width:calc(100% - 32px)!important;max-width:none!important;min-width:0!important;transform:none!important;margin:0!important;padding:20px!important;box-sizing:border-box!important}
html body .siteCookies__form{width:100%!important;min-width:0!important;box-sizing:border-box!important;gap:20px}
html body .siteCookies__content{min-width:0!important;flex:1 1 0!important;width:auto!important}
html body .siteCookies__text{width:auto!important;white-space:normal!important}
@media(max-width:767px){html body .siteCookies__form{display:flex!important;flex-direction:column!important;align-items:stretch!important}html body .siteCookies__buttonWrap{width:100%!important}html body .siteCookies__button{width:100%!important}}

/* Shared design uses the native Disco wrappers; original styles now fully restored. */
html body .product.af-vilgain-card .af-vg-media,
html body .product.af-vilgain-card .af-vg-media .image,
html body.type-category #products>.af-listing-promo,
html body.type-category #products .af-listing-promo__link,
html body.type-category #content .subcategories>li>a,
html body.type-category #content .af-subcategories-more-button,
html body.type-detail .p-image-wrapper .p-image{border-radius:15px!important}

html body.af-vilgain-cards-ready #content .product.af-vilgain-card .af-vg-media,
html body.af-vilgain-cards-ready #content .product.af-vilgain-card .af-vg-media .image,
html body.af-vilgain-cards-ready #content .product.af-vilgain-card .af-vg-media .image::before,
html body.af-vilgain-cards-ready #content .product.af-vilgain-card .af-vg-media .image::after{border-radius:15px!important}

/* Notifications match the user-supplied red and green designs. */
html body .messages{width:min(640px,calc(100vw - 32px))!important;top:16px!important;right:16px!important;left:auto!important}
html body :is(.msg,.af-notice-sample),html body .af-variant-notice{position:relative!important;box-sizing:border-box!important;width:100%!important;margin:0 0 12px!important;padding:30px!important;border:0!important;border-radius:15px!important;box-shadow:none!important;font-family:Onest,sans-serif!important;font-size:20px!important;font-weight:750!important;line-height:1.35!important;text-align:left!important;pointer-events:auto!important;background:#f70042!important;color:#fff!important}
html body :is(.msg,.af-notice-sample) .container,html body .af-variant-notice .container{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;font:inherit!important;text-align:inherit!important}
html body :is(.msg,.af-notice-sample) :is(a,strong,p,span),html body .af-variant-notice :is(a,strong,p,span){color:inherit!important}
html body :is(.msg-success,.af-notice-success){background:#9dd66e!important;color:#285148!important;text-align:center!important;padding:32px 38px!important}
html body :is(.msg-error,.msg-warning,.msg-danger,.af-variant-notice,.af-notice-error){padding-left:80px!important}
html body :is(.msg-error,.msg-warning,.msg-danger,.af-variant-notice,.af-notice-error)::before{content:'!'!important;position:absolute!important;left:25px!important;top:50%!important;transform:translateY(-50%)!important;width:32px!important;color:#fff!important;font:800 70px/1 Onest,sans-serif!important;text-align:center!important;background:none!important}
html body :is(.msg,.af-notice-sample) :is(.close,.close-message){color:inherit!important;background:transparent!important}
html body .af-variant-notice[hidden]{display:none!important}
html body .af-notices-preview{width:min(840px,calc(100% - 32px));margin:20px auto;padding:0}
html body .af-notices-preview h2{font:700 24px/1.3 Onest,sans-serif;margin:0 0 18px}
html body .af-notices-preview .af-notice-sample{padding-top:42px!important;padding-bottom:42px!important;font-size:26px!important}
@media(max-width:767px){html body .messages{width:calc(100vw - 24px)!important;top:12px!important;right:12px!important}html body :is(.msg,.af-notice-sample),html body .af-variant-notice{padding:22px!important;font-size:16px!important}html body :is(.msg-error,.msg-warning,.msg-danger,.af-variant-notice,.af-notice-error){padding-left:62px!important}html body :is(.msg-error,.msg-warning,.msg-danger,.af-variant-notice,.af-notice-error)::before{left:18px!important;width:25px!important;font-size:54px!important}html body .af-notices-preview .af-notice-sample{font-size:18px!important}}

/* Add-to-cart dialog: Actifit branding and clear next steps. */
html body #colorbox:has(.advanced-order){border-radius:15px!important;overflow:hidden!important}
html body #cboxLoadedContent:has(.advanced-order){max-height:calc(100vh - 64px)!important;overflow:auto!important;border-radius:15px!important}
html body .advanced-order{padding:24px 28px!important;text-align:center!important}
html body .advanced-order>.h1{display:flex;justify-content:center;align-items:center;gap:12px;font-size:32px!important;line-height:1.2!important;margin:4px 0 14px!important;color:#202420!important}
html body .advanced-order>.h1::before{content:'✓';display:grid;place-items:center;flex:none;width:36px;height:36px;background:#9dd66e;color:#285148;border-radius:50%;font-size:22px}
html body .advanced-order>.h2:not(.advanced-order-suggestion){font-size:20px!important;line-height:1.4!important;max-width:820px;margin:0 auto 24px!important;color:#303631!important}
html body .advanced-order .extras-wrap{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important;gap:16px!important;text-align:left!important;align-items:stretch!important;width:100%!important;margin:0!important}
html body .advanced-order .extra{display:block!important;position:relative!important;min-width:0;width:auto!important;padding:20px!important;border-radius:15px!important;background:#f5f5f3!important;font-size:16px!important;line-height:1.5!important;color:#303631!important}
html body .advanced-order .extra::before{display:none!important}
html body .advanced-order .extra.discount{background:#eff6e9!important}
html body .advanced-order .extra>span{display:block!important;padding:0!important}
html body .advanced-order .extra strong{color:#285148;font-weight:800}
html body .advanced-order .price-range{display:block!important;width:100%!important;height:10px!important;margin:14px 0 10px!important;border:0!important;background:#dedfdd!important;border-radius:999px!important;overflow:hidden!important}
html body .advanced-order .price-range>div{height:100%!important;background:#f70061!important;border-radius:999px!important}
html body .advanced-order .af-popup-shipping-note{display:block;font-size:12px;color:#666;line-height:1.5}
html body .advanced-order .extra.discount a{display:inline-block!important;color:#285148!important;font-weight:750!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important;margin-top:10px!important}
html body .advanced-order .advancedOrder__buttons{display:flex!important;justify-content:center!important;align-items:center!important;gap:14px!important;margin:22px 0 24px!important}
html body .advanced-order .advancedOrder__buttons .btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:54px!important;padding:14px 24px!important;font-size:16px!important;font-weight:750!important;border-radius:999px!important;line-height:1.3!important}
html body .advanced-order .advancedOrder__buttons .btn-conversion{background:#f70061!important;border:2px solid #f70061!important;color:#fff!important;min-width:245px!important}
html body .advanced-order .advancedOrder__buttons .btn-conversion:hover{background:#d80055!important;border-color:#d80055!important}
html body .advanced-order .next-step-back{background:#fff!important;border:1px solid #d8dbd7!important;color:#303631!important}
html body .advanced-order .next-step-back:hover{background:#f4f5f3!important}
html body .advanced-order :is(a,button):focus-visible{outline:3px solid #f70061!important;outline-offset:4px!important}
html body .advanced-order .advanced-order-suggestion{font-size:23px!important;line-height:1.3!important;border-top:1px solid #e6e8e3!important;margin:0!important;padding:22px 0 0!important;color:#303631!important}
html body .advanced-order .products-wrapper{margin:18px 0 0!important;padding:0 28px!important}
html body .advanced-order .product .af-vg-media{height:230px!important;aspect-ratio:auto!important}
html body .advanced-order .product .af-vg-media .image img{max-height:175px!important}
@media(max-width:767px){html body .advanced-order{padding:20px 16px!important}html body .advanced-order>.h1{font-size:25px!important}html body .advanced-order>.h2:not(.advanced-order-suggestion){font-size:16px!important;margin-bottom:18px!important}html body .advanced-order .extras-wrap{grid-template-columns:1fr!important;gap:12px!important}html body .advanced-order .extra{padding:16px!important;font-size:14px!important}html body .advanced-order .advancedOrder__buttons{flex-direction:column!important;gap:10px!important}html body .advanced-order .advancedOrder__buttons .btn{width:100%!important}html body .advanced-order .btn-conversion{order:-1}html body .advanced-order .products-wrapper{padding:0!important}html body .advanced-order .advanced-order-suggestion{font-size:20px!important}html body #cboxLoadedContent:has(.advanced-order){max-height:calc(100vh - 40px)!important}}

/* Align only the desktop logo with the first navigation label. */
@media(min-width:992px){html body #header.af-reference-header .site-name{transform:translateX(12px)!important}}

/* Draft homepage: brand underline and the bundle detail link. */
html body.in-index .homepage-products-heading-1{text-decoration:none!important}
html body.in-index.af-vilgain-cards-ready #products-1 .product.af-vilgain-card[data-af-amix-card] .af-vg-detail{display:flex!important;position:static!important;inset:auto!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;align-items:center;justify-content:center;margin:12px 0 0!important;padding:12px 24px!important;min-height:48px!important;border-radius:999px!important;background:#F70061!important}
