/* Mobisite 2.5: retain its layout and palette, style the newer buyer toggle. */
.order-page__checkout .wa-toggle{display:flex;flex-wrap:wrap;gap:0;border:1px solid #2d9cdb;border-radius:4px;overflow:hidden}
.order-page__checkout .wa-toggle>span{flex:1;min-width:0;padding:10px 6px;text-align:center;cursor:pointer;color:#2d9cdb;background:#fff;font-size:13px;line-height:1.4}
.order-page__checkout .wa-toggle>span.selected{color:#fff;background:#2d9cdb}
.order-page__checkout [data-variant-id][aria-checked=true]{border-color:#2d9cdb!important;background:#edf7fd!important}
.order-page__checkout [data-variant-id][aria-checked=true]::before{border-color:#2d9cdb}
#wa-step-auth-section .wa-contact-name + .wa-logout-link{display:inline-block;margin-inline-start:16px}
#wa-step-auth-section .wa-login-link{color:#247db1!important;font-weight:700;text-decoration:none!important;cursor:pointer}
#wa-step-auth-section .wa-login-link::after,#wa-step-auth-section .wa-login-link .wa-tooltip-text{font-weight:400}
#wa-step-auth-section .wa-login-link:hover{color:#165b86!important}
#wa-step-auth-section .wa-login-link:focus-visible{outline:2px solid #3498db;outline-offset:4px;border-radius:2px}
.wa-field-wrapper[hidden]{display:none!important}
.cardcheckout-pvz-hint[hidden]{display:none!important}
.cardcheckout-shipping-preview{margin:24px 0}
.cardcheckout-shipping-preview .wa-header{margin:0 0 14px}
#js-order-form .cardcheckout-preview-choice{display:flex;align-items:center;justify-content:flex-start!important;gap:10px;width:100%;box-sizing:border-box;text-align:left;background:#fff;color:#247db1;border:1px solid #d7dce0;border-radius:6px;margin:8px 0;padding:12px;font:inherit;cursor:pointer}
#js-order-form .cardcheckout-preview-choice::before{content:'';flex:0 0 16px;width:16px;height:16px;border:1px solid #8c969f;border-radius:50%;box-sizing:border-box}
#js-order-form .cardcheckout-preview-choice[aria-checked=true]{border-color:#3498db;background:#edf7fd}
#js-order-form .cardcheckout-preview-choice[aria-checked=true]::before{border:5px solid #3498db}
#js-order-form .cardcheckout-preview-choice:focus-visible{outline:2px solid #3498db;outline-offset:2px}
.cardcheckout-preview-note{font-size:12px;color:#666;line-height:1.5;margin:10px 0 0}
/* The preliminary and calculated delivery lists share the same row geometry. */
#js-order-form .cardcheckout-preview-choice,#js-order-form #js-delivery-short-variants-section .wa-dropdown-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:12px!important;margin:8px 0!important;min-height:46px;box-sizing:border-box;text-align:left!important;font-family:inherit;font-size:14px!important;font-weight:400!important;line-height:20px!important;border:1px solid #d7dce0!important;border-radius:6px!important;background:#fff;color:#247db1}
#js-order-form .cardcheckout-preview-choice .wa-delivery-variant,#js-order-form #js-delivery-short-variants-section .wa-delivery-variant{display:block;flex:1;min-width:0;text-align:left}
#js-order-form .cardcheckout-preview-choice .wa-name,#js-order-form #js-delivery-short-variants-section .wa-delivery-variant .wa-name{display:block;margin:0;font-size:14px;line-height:20px;font-weight:400;color:#247db1}
#js-order-form .cardcheckout-preview-choice .wa-service,#js-order-form #js-delivery-short-variants-section .wa-delivery-variant .wa-service{display:block;margin:0;font-size:12px;line-height:18px;font-weight:400;color:#aaa;opacity:1!important;filter:none!important}
#js-order-form .cardcheckout-preview-choice[aria-checked=true],#js-order-form #js-delivery-short-variants-section .wa-dropdown-item[aria-checked=true]{border-color:#3498db!important;background:#edf7fd!important}
.cardcheckout-cdek .wa-confirm-section .wa-shipping-price {display:none!important}
.cdekbridge-picker{max-width:100%}
.cdekbridge-dialog{box-sizing:border-box}

[data-variant-id^="68."] .wa-price,[data-variant-id^="69."] .wa-price{display:none!important}

.wa-step-region-section [hidden]{display:none!important}
.cardcheckout-buyer-type{margin-bottom:24px!important}
.cdekbridge-city { margin: 0 0 1.2rem; max-width: min(42rem, calc(100vw - 32px)); }
.cdekbridge-city label { display: block; font-weight: 600; }
.cdekbridge-city input[type=text] { display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 2.6rem; margin-top: .4rem; font: inherit; font-weight: normal; }
.cdekbridge-city [hidden] { display: none !important; }
.cdekbridge-city select { display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 2.6rem; font: inherit; font-weight: normal; }
.cdekbridge-city { position: relative; }
.cdekbridge-city-options { position: absolute; top: 4.5rem; left: 0; right: 0; max-height: 280px; overflow-y: auto; z-index: 1000; background: white; border: 1px solid #b9c4bd; border-radius: 6px; box-shadow: 0 6px 18px #0002; }
.cdekbridge-city .cdekbridge-city-options button { display: block; width: 100%; text-align: left; background: #fff; color: #20252b; border: 0; border-bottom: 1px solid #e5eae7; border-radius: 0; padding: 10px 12px; margin: 0; cursor: pointer; white-space: normal; }
.cdekbridge-city-options strong, .cdekbridge-city-options span { display: block; }
.cdekbridge-city-options span { font-size: 13px; color: #626d77; }
.cdekbridge-city .cdekbridge-city-options button:hover, .cdekbridge-city .cdekbridge-city-options button[aria-selected=true] { background: #eef8f1; }
.cdekbridge-city [data-role=city-message] { font-size: 13px; color: #626d77; margin: 6px 0; }
.cdekbridge-city [data-role=city-message]:empty { display: none; }
.cdekbridge-city-options{top:100%;max-height:280px}

/* Keep native delivery handlers, show their choices as a permanent list. */
#js-delivery-short-variants-section .wa-dropdown-toggle{display:none!important}
#js-delivery-short-variants-section .wa-dropdown-area{display:block!important;position:static!important;width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;padding:0!important;opacity:1!important;visibility:visible!important}
#js-delivery-short-variants-section .wa-dropdown-item{display:flex!important;align-items:center;gap:10px;white-space:normal!important;box-sizing:border-box;border:1px solid #d7dce0!important;border-radius:6px;margin:8px 0;padding:12px!important;cursor:pointer}
#js-delivery-short-variants-section .wa-dropdown-item::before{content:'';flex:0 0 16px;width:16px;height:16px;border:1px solid #8c969f;border-radius:50%;box-sizing:border-box}
#js-delivery-short-variants-section .wa-dropdown-item[aria-checked=true]{border-color:#a72ee3!important;background:#f9f1fd!important}
#js-delivery-short-variants-section .wa-dropdown-item[aria-checked=true]::before{border:5px solid #a72ee3}
#js-delivery-short-variants-section .wa-dropdown-item:focus-visible{outline:2px solid #a72ee3;outline-offset:2px}
#js-delivery-short-variants-section .wa-price,#js-order-form .wa-item-shipping,#js-order-form .cardcheckout-shipping-cost{display:none!important}
#js-order-form .wa-comment-section .wa-hidden{display:block!important}
#js-order-form .wa-comment-section .js-open-section{pointer-events:none;cursor:default;color:inherit;text-decoration:none}
#js-order-form .wa-comment-section .js-open-section .wa-icon{display:none!important}
/* Visual ordering keeps native forms and their controls together. */
#js-order-form .cardcheckout-inline-delivery{display:flex;flex-direction:column}
#js-order-form .cardcheckout-inline-delivery .wa-step-shipping-section,
#js-order-form .cardcheckout-inline-delivery .wa-step-shipping-section .wa-section-body,
#js-order-form .cardcheckout-inline-delivery .wa-step-shipping-section form,
#js-order-form .cardcheckout-inline-delivery .wa-delivery-variants-section,
#js-order-form .cardcheckout-inline-delivery .js-variants-select,
#js-order-form .cardcheckout-inline-delivery .wa-dropdown-area{display:contents!important}
#js-order-form .cardcheckout-inline-delivery [data-variant-id="2.1"]{order:10}
#js-order-form .cardcheckout-inline-delivery [data-variant-id^="68."]{order:20}
#js-order-form .cardcheckout-inline-delivery .wa-step-details-section{order:21;margin:4px 0 14px;padding:0 12px}
#js-order-form .cardcheckout-inline-delivery [data-variant-id^="69."]{order:30}
#js-order-form .cardcheckout-inline-delivery [data-variant-id^="14."]{order:40}
#js-order-form .cardcheckout-address-title{font-weight:600;margin:0 0 12px}
#js-order-form .cardcheckout-inline-delivery.cardcheckout-inline-pvz .wa-step-details-section{order:31}

/* CARDPROM store shell. Scoped to the standalone checkout layout. */
html:has(.wa-order-layout){color-scheme:light;--accent-color:#3498db;--accent-color-hover:#217dbb;--link-color:#247db1;--link-hover-color:#165b86;--text-color:#353535;--text-color-additional:#666;--header-menu-pages-link-color:#353535;--bg-color:#f5f7f9;--bg-color-accent:#fff;--input-bg-color:#fff;--input-border-color:#bbc7d0;--element-border-radius:4px;--white-auto:#fff}
.wa-order-layout,.wa-order-layout input,.wa-order-layout button,.wa-order-layout select,.wa-order-layout textarea{font-family:Verdana,Arial,sans-serif}
body:has(.wa-order-layout){margin:0;padding:0;background:#fff;color:#353535;font-size:14px}
.wa-order-layout{min-height:100vh;display:flex;flex-direction:column;font-size:14px;line-height:1.5}
.wa-order-layout > .wa-order-header{display:none}
.wa-order-layout > .wa-order-body{flex:1;background:#f5f7f9!important;padding:28px 0 48px}
.wa-order-layout > .wa-order-body > .container{width:100%;max-width:1140px;min-width:0;margin:auto;padding:0 24px;box-sizing:border-box}
.wa-order-layout .s-order-page{padding:0}
.wa-order-layout .s-order-page .s-order-section > .s-section-header{margin-bottom:18px}
.wa-order-layout .s-order-page .s-order-section > .s-section-header > .s-header{font-size:24px;line-height:1.35;font-weight:500;color:#353535}
.wa-order-layout .s-order-page .s-order-section > .s-section-body{border:1px solid #dce3e8;border-radius:4px;box-shadow:none;background:#fff;padding:22px}
.wa-order-layout #js-order-form .wa-header{font-size:19px;color:#353535}
.wa-order-layout #js-order-form .wa-label{color:#353535;font-size:13px}
.wa-order-layout #js-order-form input.wa-input:not([type=hidden]),.wa-order-layout #js-order-form textarea.wa-textarea,.wa-order-layout #cardcheckout-delivery-city{border:1px solid #bbc7d0!important;border-radius:4px;background:#fff!important;color:#353535!important;padding:10px 12px!important;box-sizing:border-box;font-size:14px;min-height:42px;line-height:1.4;max-width:100%}
.wa-order-layout #js-order-form input.wa-input:focus,.wa-order-layout #js-order-form textarea:focus,.wa-order-layout #cardcheckout-delivery-city:focus{border-color:#3498db!important;outline:2px solid #3498db33;outline-offset:1px}
.wa-order-layout #js-order-form input.wa-input.wa-error{border-color:#d33!important}
.wa-order-layout #js-order-form .wa-toggle{display:flex;flex-wrap:wrap;width:100%;box-sizing:border-box;border:1px solid #3498db!important;border-radius:4px;overflow:hidden;box-shadow:none}
.wa-order-layout #js-order-form .wa-toggle > span{flex:1;text-align:center;padding:11px 12px!important;background:#fff!important;color:#247db1!important;cursor:pointer;white-space:normal;box-shadow:none!important;border:0!important;font-size:13px;line-height:1.4}
.wa-order-layout #js-order-form .wa-toggle > span.selected{background:#3498db!important;color:#fff!important}
.wa-order-layout #js-order-form .cardcheckout-buyer-type > .wa-field-wrapper{width:100%;max-width:none}
.wa-order-layout #js-order-form .cardcheckout-inline-delivery:not(.cardcheckout-inline-pvz) .wa-step-details-section{padding-left:0;padding-right:0}
.wa-order-layout #js-order-form .wa-field-wrapper:has([name="details[shipping_address][street]"]){width:100%!important;max-width:none!important;margin-right:0;box-sizing:border-box}
.wa-order-layout #js-order-form [name="details[shipping_address][street]"]{width:100%!important;max-width:100%!important;box-sizing:border-box}
.wa-order-layout #js-order-form .wa-button{background:#3498db!important;color:#fff!important;border:1px solid #3498db!important;border-radius:4px!important;text-shadow:none;box-shadow:none;font-size:15px;line-height:1.4;padding:12px 22px;min-height:44px;cursor:pointer}
.wa-order-layout #js-order-form .wa-button:hover{background:#217dbb!important;border-color:#217dbb!important}
.wa-order-layout #js-order-form .wa-button:disabled{opacity:.55;cursor:wait}
.wa-order-layout #js-delivery-short-variants-section .wa-dropdown-item[aria-checked=true]{border-color:#3498db!important;background:#edf7fd!important}
.wa-order-layout #js-delivery-short-variants-section .wa-dropdown-item[aria-checked=true]::before{border-color:#3498db}
.wa-order-layout #js-delivery-short-variants-section .wa-dropdown-item:focus-visible{outline-color:#3498db}
.wa-order-layout .wa-order-cart-wrapper a,.wa-order-layout .s-back-link a{color:#247db1!important}
.cardcheckout-site-header{background:#fff;color:#353535}
.cardcheckout-site-container{width:100%;max-width:1140px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.cardcheckout-topbar{background:#3498db;color:#fff;font-size:12px}
.cardcheckout-topbar > div{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:38px}
.cardcheckout-topbar a{color:#fff!important;text-decoration:underline}
.cardcheckout-masthead{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:18px;padding-bottom:18px}
.cardcheckout-logo{flex-shrink:0;line-height:0}
.cardcheckout-logo img{display:block;width:200px;height:95px;max-width:100%;object-fit:contain}
.cardcheckout-site-search{display:flex;flex:1;max-width:440px;border:2px solid #3498db;border-radius:4px;overflow:hidden;margin:0}
.cardcheckout-site-search input{width:100%;min-width:0;border:0!important;outline-offset:-3px;background:#fff;color:#353535;font-size:13px;padding:10px 12px;box-sizing:border-box}
.cardcheckout-site-search button{border:0;background:#3498db;color:#fff;font-size:13px;padding:10px 20px;cursor:pointer}
.cardcheckout-site-search button:hover{background:#217dbb}
.cardcheckout-header-contact{display:flex;flex-direction:column;text-align:right;white-space:nowrap}
.cardcheckout-header-contact > a{color:#555!important;text-decoration:none;font-size:22px;line-height:1.4}
.cardcheckout-header-contact > span{font-size:13px;color:#666}
.cardcheckout-site-nav{display:flex;justify-content:space-between;gap:8px;border-top:3px double #b5b5b5;border-bottom:3px double #b5b5b5;padding-top:8px;padding-bottom:8px}
.cardcheckout-site-nav a{display:block;padding:6px 12px;border-radius:3px;color:#353535!important;text-decoration:none;font-size:14px}
.cardcheckout-site-nav a:hover,.cardcheckout-site-nav a:focus-visible{background:#edf7fd;color:#165b86!important}
.wa-order-layout > .wa-order-footer{background:#3498db!important;padding:0;margin:0;color:#fff}
/* Match the live BuySimply footer, with a fluid mobile layout. */
.cardcheckout-site-footer{background:#3498db;color:#fff;padding:30px 0 38px;min-height:140px;box-sizing:border-box;font:12px/12px Verdana,sans-serif}
.cardcheckout-footer-grid{display:grid;grid-template-columns:28% 44% 28%;gap:0;max-width:1028px}
.cardcheckout-footer-brand{padding-top:0;white-space:nowrap}
.cardcheckout-footer-links{display:flex;flex-direction:column;gap:10px;text-align:center;line-height:12px}
.cardcheckout-footer-menu{display:flex;justify-content:center;align-items:center;gap:10px}
.cardcheckout-footer-menu > span{color:#353535}
.cardcheckout-footer-contact{display:flex;flex-direction:column;gap:5px;line-height:16px;font-style:normal;margin:0;justify-self:end}
.cardcheckout-footer-contact > span,.cardcheckout-footer-contact > a{display:flex;align-items:center;gap:10px}
.cardcheckout-footer-contact svg{width:16px;height:16px;flex-shrink:0;fill:currentColor}
.cardcheckout-site-footer a{color:#fff!important;text-decoration:none}
.cardcheckout-site-footer a:hover,.cardcheckout-site-footer a:focus-visible{color:#ffde00!important;text-decoration:none}
.cardcheckout-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.cardcheckout-masthead{gap:20px;flex-wrap:wrap}.cardcheckout-site-search{order:3;flex-basis:100%;max-width:none}.cardcheckout-site-nav{flex-wrap:wrap;justify-content:center}}
@media(max-width:760px){.wa-order-layout > .wa-order-body{padding:22px 0 30px}.wa-order-layout > .wa-order-body > .container{padding:0 14px}.cardcheckout-site-container{padding-left:16px;padding-right:16px}.cardcheckout-topbar > div{flex-wrap:wrap;justify-content:center;gap:4px 14px;padding-top:8px;padding-bottom:8px}.cardcheckout-logo img{width:160px;height:76px}.cardcheckout-header-contact > a{font-size:16px}.cardcheckout-header-contact > span{font-size:11px}.cardcheckout-masthead{gap:14px;padding-top:14px;padding-bottom:14px}.cardcheckout-site-nav{gap:2px}.cardcheckout-site-nav a{font-size:12px;padding:6px 8px}.wa-order-layout .s-order-page .s-order-section > .s-section-body{padding:16px}.wa-order-layout .s-order-page .s-order-section > .s-section-header > .s-header{font-size:22px}.cardcheckout-footer-grid{grid-template-columns:1fr;gap:24px;text-align:center}.cardcheckout-footer-brand{white-space:normal}.cardcheckout-footer-links{line-height:1.5}.cardcheckout-footer-contact{justify-self:center;text-align:left}.cardcheckout-site-footer{padding:26px 0;min-height:0}}
@media(max-width:370px){.cardcheckout-masthead{justify-content:center}.cardcheckout-header-contact{text-align:center}.wa-order-layout #js-order-form .wa-toggle > span{font-size:12px}}

/* Reorder whole sections visually; every control stays in its native form. */
#js-order-form .cardcheckout-reordered-delivery{display:flex;flex-direction:column;margin-top:32px}
#js-order-form .cardcheckout-reordered-delivery .wa-step-region-section,
#js-order-form .cardcheckout-reordered-delivery .wa-step-shipping-section,
#js-order-form .cardcheckout-reordered-delivery .wa-step-shipping-section .wa-section-body,
#js-order-form .cardcheckout-reordered-delivery .wa-step-shipping-section form,
#js-order-form .cardcheckout-reordered-delivery .wa-delivery-variants-section,
#js-order-form .cardcheckout-reordered-delivery .js-variants-select,
#js-order-form .cardcheckout-reordered-delivery .wa-dropdown-area,
#js-order-form .cardcheckout-reordered-delivery .cardcheckout-shipping-preview,
#js-order-form .cardcheckout-reordered-delivery .cardcheckout-shipping-preview [role=radiogroup]{display:contents!important}
#js-order-form .cardcheckout-reordered-delivery .wa-step-region-section > .wa-section-header{order:0;margin-bottom:8px}
#js-order-form .cardcheckout-reordered-delivery [data-variant-id="2.1"],
#js-order-form .cardcheckout-reordered-delivery [data-preview-variant="2.1"]{order:10}
#js-order-form .cardcheckout-reordered-delivery .wa-delivery-variants-section > .wa-header,
#js-order-form .cardcheckout-reordered-delivery .cardcheckout-shipping-preview > .wa-header{order:20;margin:24px 0 14px}
#js-order-form .cardcheckout-reordered-delivery .wa-step-region-section > .wa-section-body{order:30;margin-bottom:14px}
#js-order-form .cardcheckout-reordered-delivery [data-variant-id^="68."],
#js-order-form .cardcheckout-reordered-delivery [data-preview-variant^="68."]{order:40}
#js-order-form .cardcheckout-reordered-delivery [data-variant-id^="69."],
#js-order-form .cardcheckout-reordered-delivery [data-preview-variant^="69."]{order:50}
#js-order-form .cardcheckout-reordered-delivery [data-variant-id^="14."],
#js-order-form .cardcheckout-reordered-delivery [data-preview-variant^="14."]{order:60}
#js-order-form .cardcheckout-reordered-delivery.cardcheckout-inline-delivery .wa-step-details-section{order:41}
#js-order-form .cardcheckout-reordered-delivery.cardcheckout-inline-delivery.cardcheckout-inline-pvz .wa-step-details-section{order:51}
#js-order-form .cardcheckout-reordered-delivery:not(.cardcheckout-inline-delivery) .wa-step-details-section{order:70}
#js-order-form .cardcheckout-reordered-delivery .cardcheckout-preview-note{order:80}

#js-order-form .cardcheckout-reordered-delivery:has(.cardcheckout-shipping-preview) .wa-step-shipping-section{display:none!important}

/* Match the three mobile section headings to the desktop checkout. */
.order-page__checkout #wa-step-auth-section .wa-section-header > .wa-header,
.order-page__checkout #wa-step-region-section .wa-section-header > .wa-header,
.order-page__checkout #js-delivery-short-variants-section > .wa-header,
.order-page__checkout .cardcheckout-shipping-preview > .wa-header{font-family:Verdana,Arial,sans-serif!important;font-size:19px!important;font-weight:700!important;line-height:1.4!important;color:#353535!important}
