.cn-store .cn-price-history-slot{display:inline-block;vertical-align:middle;position:relative;margin-left:6px}
.cn-store .cn-price-history-slot:empty{display:none}
.cn-store .cn-price-history{display:inline-block}
.cn-store .cn-price-info{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:transparent;padding:6px;cursor:pointer;color:var(--ink,#213b32);vertical-align:middle}
.cn-store .cn-price-info span{display:grid;place-items:center;border:1.5px solid currentColor;width:20px;height:20px;border-radius:50%;font:600 13px/1 Georgia,serif}
.cn-store .cn-price-info:hover,.cn-store .cn-price-info[aria-expanded=true]{background:var(--tint,#edf3f0);border-radius:50%}
.cn-store .cn-price-info:focus-visible,.cn-store .cn-price-close:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.cn-store .cn-price-popover{position:absolute;top:calc(100% + 8px);left:0;right:auto;z-index:50;display:grid;gap:10px;width:310px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:22px 38px 22px 20px;background:#fff;color:var(--ink,#213b32);border:1px solid var(--line,#d6e1dd);border-radius:14px;box-shadow:0 12px 38px #17372a26;font-size:14px;line-height:1.5;font-weight:400}
.cn-store .cn-price-popover[hidden]{display:none}
.cn-store .cn-price-popover strong{font-size:15px;line-height:1.4}
.cn-store .cn-price-popover small{font-size:12px;color:var(--muted,#596e65)}
.cn-store .cn-price-close{position:absolute;right:6px;top:6px;background:transparent;border:0;cursor:pointer;width:32px;height:32px;padding:0;font-size:22px;color:inherit}
.cn-store .cn-before-price{font-size:.72em;font-weight:400;color:var(--muted,#596e65);display:block;margin-bottom:4px}
@media(max-width:767px){.cn-store .cn-price-info{width:44px;height:44px}.cn-store .cn-price-popover{position:fixed;top:auto;bottom:calc(96px + env(safe-area-inset-bottom,0px));left:20px;right:20px;width:auto;max-width:none;max-height:calc(100dvh - 136px - env(safe-area-inset-bottom,0px));z-index:300}.cn-store .cn-price-close{width:44px;height:44px}}

.cn-offer-price{display:inline-flex;flex-direction:column;gap:3px}.cn-offer-price .cn-before-price{font-size:.78em;font-weight:400}.cn-offer-price ins{text-decoration:none;font-weight:700}.cn-saving{display:block;font-size:.8em;font-weight:600}

/* Uses each storefront's existing palette and typography. */
.cn-offer-price{max-width:100%;line-height:1.35;vertical-align:middle;color:var(--cn-ink,inherit)}
.cn-offer-price .cn-before-price{color:var(--cn-muted,#647067);overflow-wrap:anywhere}
.cn-offer-price .cn-saving{color:var(--cn-brand,#173b2e);font-size:.75em}
.cn-offer-price del{white-space:normal}.cn-offer-price ins{color:inherit;white-space:normal}
.woocommerce div.product .summary .cn-offer-price{gap:7px;margin:5px 0 9px}
.cn-card .cn-offer-price,.product-card .cn-offer-price{gap:2px;font-size:1em}
.cn-card .cn-price-history,.product-card .cn-price-history{display:inline-flex;vertical-align:middle}
@media(max-width:600px){.cn-offer-price .cn-before-price{font-size:.7em}.cn-offer-price .cn-saving{font-size:.72em}.cn-bundle-total{min-width:0;overflow-wrap:anywhere}}

.cn-store .cn-price-history{position:relative}.cn-store .product-card .cn-price-info{color:var(--cn-brand)}.cn-store .product-card .cn-price-popover{border-color:var(--cn-line);color:inherit}.cn-store .product-card .cn-price-popover small{color:var(--cn-muted)}

/* Shared saving highlight, sized for both product cards and product details. */
.cn-offer-price .cn-saving{display:inline-block;align-self:flex-start;max-width:100%;margin-top:4px;padding:4px 8px;border:1px solid #f3d254;border-radius:4px;background:#ffe77b;color:#241f0f;font-size:clamp(12px,.75em,16px);font-weight:700;line-height:1.35;white-space:normal;overflow-wrap:anywhere}

/* Current amount and its disclosure share one line; savings stay below. */
.cn-store .cn-current-price{display:inline-flex;align-items:center;gap:2px;min-height:36px;max-width:100%;vertical-align:middle;line-height:1.2}
.cn-store .cn-current-price>ins,.cn-store .cn-current-price>.woocommerce-Price-amount{white-space:nowrap}
.cn-store .cn-current-price>.cn-price-history,.cn-store [data-bundle-history]{display:inline-flex;flex:0 0 auto;align-items:center}
.cn-store [data-bundle-history]:empty,.cn-store [data-bundle-saving]:empty,.cn-store [data-bundle-ordinary]:empty,.cn-store .cn-price-history-slot[hidden]{display:none!important}
.cn-store .cn-bundle-total [data-bundle-saving]{align-self:flex-start;max-width:100%;padding:4px 8px;border:1px solid #f3d254;border-radius:4px;background:#ffe77b;color:#241f0f;font-size:clamp(12px,.75em,16px);font-weight:700;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:420px){.cn-store .product-card .cn-current-price{font-size:clamp(13px,4vw,16px)}}

@media(max-width:767px){.cn-store .cn-current-price{min-height:44px}}
