/* Native store markup: bridge the original CE layout without Bootstrap/jQuery Steps. */
.cewp-commerce{box-sizing:border-box;min-width:0;--cewp-store-accent:#666;--cewp-store-ink:#333}
.cewp-commerce *{box-sizing:border-box}
.cewp-commerce [hidden]{display:none!important}
.cewp-commerce button:disabled{opacity:.5;cursor:default}
.cewp-commerce :is(button,summary,input,select,a):focus-visible{outline:2px solid #847b59;outline-offset:3px}
.cewp-paypal-handoff-page{margin:0;padding:clamp(1rem,6vw,4rem);background:#f5f6f8;color:#252f3d;font:1rem/1.5 system-ui,sans-serif}
.cewp-payment-review.cewp-paypal-handoff{max-width:34rem;margin:0 auto;padding:clamp(1.25rem,5vw,2.5rem);border:1px solid #d9dde3;border-radius:12px;background:#fff;text-align:center}
.cewp-paypal-brand{margin-bottom:1.5rem;font-weight:700}
.cewp-paypal-brand img{display:block;width:auto;max-width:100%;height:auto;max-height:4rem;margin:auto;object-fit:contain}
.cewp-paypal-handoff h1{margin:0;font-size:clamp(1.5rem,5vw,2rem);line-height:1.2}
.cewp-paypal-handoff button{min-height:44px;padding:.65rem 1.25rem;border:0;border-radius:6px;background:#17365c;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.cewp-paypal-handoff a{color:#17365c}
.cewp-commerce .cewp-store-filter.search-sort{display:flex;align-items:end;gap:12px;flex-wrap:wrap;width:100%;margin:0 0 1.25em}
.cewp-commerce .cewp-store-filter.search-sort>label{display:grid;gap:6px;flex:1 1 200px;min-width:0;font-size:.875em}
.cewp-commerce .cewp-store-filter.search-sort>label>:is(input,select){float:none;display:block;width:100%;margin:0;min-height:42px;padding:.5em;font:inherit;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333}
.cewp-commerce .cewp-store-filter.search-sort>button{min-height:42px;padding:.5em 1em;margin:0;border:1px solid #666;border-radius:3px;background:#666;color:#fff;font:inherit}
.cewp-commerce.cewp-defaults>.cewp-grid.list{display:grid;grid-template-columns:minmax(0,1fr);gap:1em}
.cewp-commerce.cewp-defaults .cewp-grid.list>.product{float:none;width:100%;margin:0;display:flow-root}
.cewp-commerce .cewp-purchase-details.purchase-details{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;float:none;clear:both;width:auto;margin:.75em;padding:0}
.cewp-commerce.cewp-defaults .cewp-grid .cewp-purchase-details{clear:none}
.cewp-commerce .cewp-purchase-details>.item_price{float:none;width:auto;margin:0;padding:0;font-size:16px;font-weight:700;color:#4c5354}
.cewp-commerce .cewp-purchase-details>[data-product]{display:flex;align-items:center;gap:0;float:none;width:auto!important;padding:0;margin:0;flex-wrap:nowrap}
.cewp-commerce .cewp-purchase-details [data-product]>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cewp-commerce .cewp-purchase-details [data-quantity]{float:none;width:64px!important;min-width:64px;height:40px;min-height:36px;margin:0;padding:4px 6px!important;border:1px solid #666!important;border-radius:3px 0 0 3px!important;font:inherit;background:#fff!important;color:#333}
.cewp-commerce .cewp-purchase-details [data-add-product]{float:none;width:auto;min-width:100px;height:auto;min-height:36px;margin:0;padding:5px 12px;border:1px solid #666;border-radius:0 3px 3px 0;font:inherit;font-size: 0.9rem !important;line-height:24px;background:#666;color:#fff}
.cewp-commerce[data-commerce=store_product]{display:flow-root}
.cewp-commerce.cewp-defaults[data-commerce=store_product]>.cewp-product-hero{width:50%;height:auto;float:right;margin:0 0 1em 1.5em}
.cewp-commerce.cewp-defaults[data-commerce=store_product]>.cewp-product-gallery{display:flex;flex-wrap:wrap;gap:12px;clear:both}
.cewp-commerce .cewp-product-gallery:empty{display:none}
.cewp-commerce .cewp-product-gallery img{max-width:160px;height:auto;object-fit:contain}
.cewp-commerce[data-commerce=store_shopping_cart]{display:flow-root;position:relative;margin:0 0 1em;width:100%;overflow:visible}
.cewp-commerce .cewp-cart-dropdown{position:relative;float:right;max-width:100%}
.cewp-commerce .cewp-cart-dropdown>[data-cart-count]{position:static;display:list-item;float:none;margin:0;padding:10px 20px;min-height:42px;border:1px solid #666;border-radius:4px;background:#666;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.cewp-commerce .cewp-cart-dropdown>.cewp-cart-panel.dropdown-menu{position:absolute;inset:calc(100% + 6px) 0 auto auto;float:none;width:min(640px,calc(100vw - 48px));max-width:calc(100vw - 48px);margin:0;padding:18px;background:#fff;color:#333;border:1px solid #ccc;border-radius:4px;box-shadow:0 6px 20px #0002;z-index:1000;max-height:70vh;overflow:auto}
.cewp-commerce .cewp-cart-dropdown:not([open])>.cewp-cart-panel{display:none}
.cewp-commerce .cewp-cart-dropdown[open]>.cewp-cart-panel{display:block}
.cewp-commerce .cewp-cart-panel h3{margin:0 0 1em;font-size:1.25em}
.cewp-commerce .cewp-cart-panel button{float:none;width:auto;height:auto;padding:6px 10px;line-height:1.4}
.cewp-commerce .cewp-cart-scroll{width:100%;overflow:auto;margin:0 0 1em}
.cewp-commerce .cewp-cart-table{display:table;table-layout:auto;width:100%;border-collapse:collapse;font-size:.9em;margin:0}
.cewp-commerce .cewp-cart-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cewp-commerce .cewp-cart-table :is(th,td){display:table-cell;float:none!important;width:auto!important;min-width:0;margin:0;padding:12px 8px;border:0;border-bottom:1px solid #ddd;text-align:left;vertical-align:middle;font-size:inherit}
.cewp-commerce .cewp-cart-table th.item-name{min-width:140px;font-weight:600}
.cewp-commerce .cewp-cart-table :is(.item-price,.item-total){white-space:nowrap}
.cewp-commerce .cewp-cart-table td>input{width:64px!important;min-width:60px;max-width:80px;min-height:36px;padding:4px;font:inherit;border:1px solid #aaa;border-radius:3px}
.cewp-commerce .cewp-cart-table td>button{float:none;width:auto;padding:5px 8px;min-height:36px;height:auto;line-height:1.4;font:inherit;border:1px solid #aaa;border-radius:3px;background:#fff;color:#333}
.cewp-commerce .cewp-checkout-wizard .cewp-cart-table button.item-remove{float:none;width:auto;min-width:70px;text-align:center}
.cewp-commerce .cewp-cart-totals{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;max-width:450px;margin:1em 0 1em auto;padding:12px 0;border-top:1px solid #ccc}
.cewp-commerce .cewp-cart-totals :is(dt,dd){margin:0;font-size:.95em}
.cewp-commerce .cewp-cart-totals dd{text-align:right;font-weight:700;white-space:nowrap}
.cewp-commerce .cewp-checkout-wizard.wizard{max-width:100%!important;margin:0 0 1em!important}
.cewp-commerce .cewp-checkout-wizard>.cewp-checkout-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0;margin:0;border:0}
.cewp-commerce .cewp-checkout-tabs>[role=tab]{float:none;display:block;min-width:0;width:100%;margin:0;padding:16px 8px;border:0;border-radius:3px 3px 0 0;background:#eee;color:#444;font:inherit;font-size:.95em;line-height:1.4;font-weight:600;text-align:center;cursor:pointer;overflow-wrap:anywhere}
.cewp-commerce .cewp-checkout-tabs>[aria-selected=true]{background:#4c5354;color:#fff;box-shadow:inset 0 -4px #a19263}
.cewp-commerce .cewp-step-progress{font-size:.85em;color:#555;padding:10px 0;margin:0}
.cewp-commerce .cewp-checkout-wizard>[data-checkout-panel]{float:none;display:inline-block;width:100%;max-width:100%;margin:0;padding:24px;border:1px solid #ddd;background:#fff;color:#333;min-height:160px}
.cewp-commerce .cewp-checkout-wizard :is(h3,legend){font-size:1.25em;font-weight:600;margin:0 0 1em;padding:0;color:#333}
.cewp-commerce .cewp-checkout-wizard [data-address]{float:none!important;width:100%!important;max-width:none;margin:0!important;border:0;padding:0}
.cewp-commerce .cewp-checkout-wizard [data-address=billing]>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cewp-commerce .cewp-checkout-wizard [data-commerce-survey]{display:flow-root;clear:both;width:100%;margin:1em 0}
.cewp-commerce .cewp-checkout-wizard [data-commerce-survey] fieldset{float:none;width:100%;margin:0 0 1em}
.cewp-commerce .cewp-checkout-review>.cewp-consent{clear:both}
.cewp-commerce .cewp-checkout-wizard .cewp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.cewp-commerce .cewp-checkout-wizard .cewp-field.form-item{float:none;width:auto!important;padding:0!important;margin:0!important;min-width:0}
.cewp-commerce .cewp-checkout-wizard .cewp-field>label{display:block;margin:0 0 5px;font-size:.8em;color:#666;line-height:1.4;text-transform:uppercase}
.cewp-commerce .cewp-checkout-wizard .cewp-field>:is(input,select){float:none;width:100%;height:auto;min-height:42px;padding:8px;border:1px solid #aaa;border-radius:3px;background-color:#fff;color:#333;font:inherit;line-height:1.4}
.cewp-commerce .cewp-checkout-wizard .cewp-consent{float:none;display:block;width:auto;margin:0 0 1em;line-height:1.5}
.cewp-commerce .cewp-checkout-wizard .cewp-consent label{font:inherit;font-size:.9em;line-height:1.5;text-transform:none}
.cewp-commerce .cewp-checkout-wizard input[type=checkbox]{float:none;width:16px;height:16px;margin:0 8px 0 0;vertical-align:middle;accent-color:#666}
.cewp-commerce .cewp-checkout-wizard .cewp-step-navigation{display:flex;justify-content:flex-end;gap:12px;padding:16px 0}
.cewp-commerce .cewp-checkout-wizard :is(.cewp-step-navigation button,[data-checkout-mode], [data-empty-cart]){display:inline-block;float:right;width:auto;height:auto;min-height:42px;margin:0;padding:10px 20px;border:1px solid #666;border-radius:3px;font:inherit;line-height:1.4;background:#666;color:#fff;cursor:pointer}
.cewp-commerce .cewp-checkout-wizard [data-empty-cart]{background:#fff;color:#555}
.cewp-commerce .cewp-checkout-wizard [data-checkout-mode]{margin:8px 8px 0 0}
.cewp-commerce [data-commerce-status][role=alert]{color:#a01818}
/* Contact-form presentation, scoped against the site's generic label/phone rules. */
.cewp-commerce.ce-store-checkout .cewp-checkout-wizard [data-address] .cewp-field{display:block!important}
.cewp-commerce.ce-store-checkout .cewp-checkout-wizard [data-address] .cewp-field>label{display:block!important;position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.cewp-commerce.ce-store-checkout .cewp-checkout-wizard [data-address] .cewp-field>:is(input,select){width:100%!important;min-height:48px!important;padding:12px 20px!important;border:1px solid var(--e-global-color-7f69791,#ECE9E0)!important;border-radius:24px!important;background-color:var(--e-global-color-7f69791,#ECE9E0)!important;color:#333!important;font:inherit;line-height:1.5}
.cewp-commerce.ce-store-checkout [data-address] input::placeholder{color:#737373!important;opacity:1}
.cewp-commerce.ce-store-checkout .cewp-checkout-wizard .cewp-consent>label{display:block!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;white-space:normal!important;font-size:.95em;color:#4c5354!important;opacity:1!important}
.cewp-commerce.ce-store-checkout .same-as-shipping>label{font-weight:600!important;cursor:pointer}
.cewp-commerce.ce-store-checkout .cewp-checkout-wizard .cewp-consent input[type=checkbox]{display:inline-block!important;position:static!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0 10px 0 0!important;border:1px solid #777!important;border-radius:2px!important;vertical-align:middle;appearance:auto!important}
.cewp-commerce .cewp-billing-help{font-size:.9em;color:#555;margin:0 0 1.25em}
.cewp-commerce .cewp-address-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}
.cewp-commerce .cewp-address-review>.cewp-address-card{float:none;width:100%;padding:16px;border:1px solid #ddd;border-radius:12px;background:#faf9f6;overflow-wrap:anywhere}
.cewp-commerce .cewp-address-card h4{font:inherit;font-weight:700;margin:0 0 10px}
.cewp-commerce .cewp-address-card p{font-size:.9em;margin:0 0 3px;line-height:1.5}
.cewp-commerce .cewp-address-card button{font:inherit;font-size:.9em;padding:6px 12px;margin:12px 0 0;background:#fff;color:#4c5354;border:1px solid #aaa;border-radius:20px;cursor:pointer}
.cewp-commerce .cewp-cart-feedback{display:flex;clear:both;align-items:center;flex-wrap:wrap;gap:12px;margin:12px;padding:12px 16px;border:1px solid #b4c7ad;background:#f4f8f1;border-radius:8px;font-size:.9em}
.cewp-commerce .cewp-checkout-link{display:inline-block;padding:10px 18px;border-radius:24px;background:var(--e-global-color-secondary,#A19263);color:#fff;text-decoration:none;font-weight:600;float:right;}
.cewp-commerce .cewp-checkout-link:hover{background:#4c5354;color:#fff}
.cewp-commerce .cewp-cart-feedback>a:not(.cewp-checkout-link){color:#4c5354}
@media(max-width:600px){
 .cewp-commerce .cewp-checkout-wizard>.cewp-checkout-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cewp-commerce .cewp-checkout-wizard>[data-checkout-panel]{padding:16px}
 .cewp-commerce .cewp-checkout-wizard .cewp-fields{grid-template-columns:minmax(0,1fr)}
 .cewp-commerce .cewp-address-review{grid-template-columns:minmax(0,1fr)}
 .cewp-commerce.cewp-defaults[data-commerce=store_product]>.cewp-product-hero{float:none;width:100%;margin:0 0 1em}
 .cewp-commerce .cewp-purchase-details.purchase-details{clear:both}
 .cewp-commerce .cewp-cart-panel .cewp-cart-totals{font-size:.9em;gap:8px}
}
