.bibliopolis-contact-button{border:1px solid #166534!important;border-radius:8px!important;background:#f0fdf4!important;color:#166534!important;padding:9px 14px!important;font-weight:700!important;cursor:pointer}
.bpos-contact-dialog{box-sizing:border-box;width:min(580px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;border:0;border-radius:18px;padding:0;color:#17241d;background:#fff;box-shadow:0 24px 90px #06291655;overflow:auto}
.bpos-contact-dialog::backdrop{background:#08261cc0;backdrop-filter:blur(4px)}
.bpos-contact-form{margin:0!important;padding:24px;font-family:inherit}
.bpos-contact-form header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.bpos-contact-form h2{font-size:23px!important;line-height:1.2!important;margin:0!important}
.bpos-contact-eyebrow{font-size:10px;font-weight:800;letter-spacing:.1em;color:#166534;margin:0 0 8px!important}
.bpos-contact-close{width:36px;height:36px;flex-shrink:0;border:0;background:#f1f5f2;color:#17241d;border-radius:50%;font-size:26px;padding:0;cursor:pointer}
.bpos-contact-context{display:flex;flex-direction:column;gap:5px;border-left:3px solid #eab308;background:#f7faf7;padding:12px;margin-bottom:18px;border-radius:6px;font-size:13px}.bpos-contact-product{color:#59695e}
.bpos-contact-form label{display:block;font-weight:700;font-size:13px;margin:0 0 14px!important;color:#263b2c}.bpos-contact-form label small{font-weight:400;color:#66756a}
.bpos-contact-form input:not([type=hidden]),.bpos-contact-form textarea{box-sizing:border-box;width:100%;background:#fff!important;color:#17241d!important;border:1px solid #cbd8ce!important;border-radius:8px!important;padding:10px 12px!important;margin:6px 0 0!important;font:inherit!important;font-weight:400!important;min-height:44px}.bpos-contact-form textarea{resize:vertical}
.bpos-contact-form input:focus,.bpos-contact-form textarea:focus{outline:2px solid #15803d;outline-offset:2px}
.bpos-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bpos-contact-privacy{font-size:11px;color:#657267;line-height:1.5;margin:0 0 12px!important}
.bpos-contact-form footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.bpos-contact-form footer button{border-radius:8px;padding:11px 16px;font-weight:700;border:1px solid #cbd8ce;min-height:44px;cursor:pointer}.bpos-contact-cancel{background:#fff;color:#334b3b}.bpos-contact-send{background:#166534!important;color:#fff!important;border-color:#166534!important}.bpos-contact-send:disabled{opacity:.65;cursor:wait}
.bpos-contact-status{font-size:13px;line-height:1.5;margin:0!important}.bpos-contact-status.is-error{color:#b91c1c;background:#fef2f2;padding:10px;border-radius:8px}.bpos-contact-status.is-success{color:#166534;background:#f0fdf4;padding:10px;border-radius:8px}.bpos-contact-honey{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
@media(max-width:520px){.bpos-contact-form{padding:18px}.bpos-contact-fields{grid-template-columns:1fr;gap:0}.bpos-contact-form h2{font-size:20px!important}.bpos-contact-form footer button{flex:1;font-size:12px}}
/* Canonical books: seller offers belong to the main content, never the price sidebar. */
.bpos-book-details{font-size:12px!important;color:#657267;line-height:1.6;margin:12px 0!important}.bpos-book-details strong{color:#334b3b}
.bpos-main-offers{width:100%;margin:22px 0 16px;text-align:left;box-sizing:border-box}.bpos-offers-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.bpos-offers-heading h2{font-size:20px!important;line-height:1.3!important;margin:0!important;color:#203929}.bpos-offers-heading h2 span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;background:#eef4e9;border-radius:6px;font-size:12px;color:#42672a;vertical-align:middle}.bpos-offers-heading p{font-size:11px!important;color:#70806f;margin:0!important}
.bpos-offers-list{border:1px solid #dae4d7;border-radius:12px;overflow:hidden}.bpos-main-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 16px;border-bottom:1px solid #e5ebe2;box-sizing:border-box}.bpos-main-offer:last-child{border-bottom:0}.bpos-main-offer.is-best{background:#f8fbf5}.bpos-offer-seller{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.bpos-offer-seller>strong{font-size:14px;line-height:1.4;color:#243c2b}.bpos-offer-condition{display:inline-block;border-radius:5px;padding:4px 7px;font-size:11px;line-height:1.4;font-weight:700;background:#e8effc;color:#284c87}.bpos-offer-condition.is-new{background:#e5f5dd;color:#376325}.bpos-offer-contact{background:none!important;border:0!important;padding:0!important;margin:0!important;color:#537a38!important;font-size:11px!important;text-decoration:underline;cursor:pointer;line-height:1.5!important}
.bpos-main-price{font-size:21px!important;line-height:1.4;font-weight:800;color:#2c4e26;white-space:nowrap}.bpos-main-price small{display:block;font-size:10px!important;line-height:1.5;font-weight:400;color:#63775d}.bpos-main-price>small:first-child:not(:last-child){color:#527e34;font-weight:700}
.bpos-offer-buy{grid-column:1/-1;display:flex!important;align-items:center;justify-content:flex-end;gap:8px;margin:0!important;float:none!important}.bpos-offer-buy .quantity{width:54px!important;flex:0 0 54px;margin:0!important}.bpos-offer-buy input.qty{box-sizing:border-box;width:54px!important;min-width:0!important;height:40px!important;padding:6px!important;border:1px solid #d3decf!important;border-radius:6px!important;background:#fff!important;color:#243c2b!important;font-size:13px!important;text-align:center!important}.bpos-offer-add{border:0!important;border-radius:7px!important;background:#6da632!important;color:#fff!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;min-height:40px;padding:10px 12px!important;cursor:pointer;white-space:nowrap}.bpos-offer-add:hover{background:#578b25!important}.bpos-offer-add:focus-visible,.bpos-offer-contact:focus-visible{outline:2px solid #365f28;outline-offset:3px}.bpos-offer-unavailable{grid-column:1/-1;font-size:11px;color:#7e877b;text-align:right}.bpos-main-offer.is-unavailable{background:#fafafa;color:#777}
.bpos-shipping-note{padding:10px 0 0;margin:0!important;font-size:11px!important;line-height:1.6!important;color:#71806c;font-weight:400}.bpos-shipping-note strong{font-weight:600}.bpos-shipping-note details{margin-top:2px;font-size:11px}.bpos-shipping-note summary{cursor:pointer;font-size:11px;color:#63765a;width:fit-content}.bpos-shipping-note p{font-size:11px!important;line-height:1.6!important;margin:4px 0 0!important;color:inherit}.bpos-card-offer-count{display:block!important;font-size:11px!important;line-height:1.6!important;font-weight:600!important;color:#587e37!important;margin-top:3px}.bpos-price-from{font-size:11px!important;font-weight:400!important}
@media(max-width:1100px){.bpos-main-offer{grid-template-columns:minmax(0,1fr) auto}.bpos-offer-buy,.bpos-offer-unavailable{grid-column:1/-1}.bpos-offer-buy{justify-content:flex-start}}
@media(max-width:600px){.bpos-offers-heading{align-items:flex-start;flex-direction:column;gap:4px}.bpos-main-offer{padding:14px 12px;gap:10px}.bpos-main-price{font-size:20px!important}.bpos-offer-buy{justify-content:stretch}.bpos-offer-add{flex:1;min-height:44px}.bpos-offer-buy input.qty{height:44px!important}.bpos-offer-contact{min-height:30px}.bpos-shipping-note{font-size:11px!important}}

/* One seller: immediate purchase in the theme's original price column. */
.bpos-direct-purchase{margin:10px 0 16px;padding:14px 0;border-top:1px solid #e1e8da;border-bottom:1px solid #e1e8da}.bpos-direct-label{font-size:12px!important;line-height:1.6!important;margin:0 0 12px!important;color:#68765f}.bpos-direct-purchase .bpos-offer-buy{justify-content:stretch!important}.bpos-direct-purchase .bpos-offer-add{flex:1;min-height:44px}.bpos-direct-purchase>small{display:block;margin-top:10px;font-size:11px;color:#68765f}.bpos-seller-link{color:#355b28!important;text-decoration:none!important;font-weight:700}.bpos-seller-link:hover{text-decoration:underline!important}.bpos-seller-link:focus-visible{outline:2px solid #365f28;outline-offset:3px}.bpos-choose-offer{display:block;text-align:center;padding:13px 10px;border-radius:7px;color:#fff!important;background:#6da632;font-size:13px;font-weight:700;margin:10px 0}.bpos-single-seller{margin:20px 0 0;padding:14px 0;border-top:1px solid #e1e8da}.bpos-visit-store{display:inline-block;color:#537a38!important;font-size:12px;margin-top:10px;text-decoration:underline}
/* The vendor's bookshop uses Bibliopolis colours and the native catalogue grid. */
.bpos-store-hero{box-sizing:border-box;display:flex;align-items:center;gap:20px;padding:25px 24px;margin:0 0 20px;background:#f5f9ed;border:1px solid #dee8cf;border-radius:12px;color:#243b23}.bpos-store-mark{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;background:#e9dd55;border-radius:18px 18px 18px 5px;font-size:32px;font-weight:800;color:#3f652a}.bpos-store-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:.12em;margin:0 0 5px!important;color:#69864c}.bpos-store-hero h2{font-size:26px!important;line-height:1.2!important;margin:0 0 8px!important}.bpos-store-hero p:not(.bpos-store-eyebrow){font-size:13px!important;line-height:1.6!important;margin:0 0 8px!important;color:#61715b}.bpos-store-delivery{font-size:11px;color:#68765f}.bpos-store-back{margin-left:auto;flex-shrink:0;padding:10px 14px;border:1px solid #cedbbf;border-radius:7px;background:#fff;color:#456634!important;font-size:12px;font-weight:700}.bpos-store-search{margin:0 0 22px!important}.bpos-store-search label{display:block;font-size:12px;font-weight:700;color:#456634;margin:0 0 6px}.bpos-store-search>div{display:flex;gap:8px}.bpos-store-search input[type=search]{box-sizing:border-box;flex:1;min-width:0;height:44px;border:1px solid #d3decf!important;border-radius:7px!important;background:#fff!important;padding:10px 14px!important}.bpos-store-search button{border:0;border-radius:7px;background:#6da632;color:#fff;font-size:12px;font-weight:700;padding:10px 18px;min-height:44px;cursor:pointer}.bpos-store-card-state{display:block;font-size:10px!important;line-height:1.5;color:#52733a!important;font-weight:500;margin-top:2px}
@media(max-width:600px){.bpos-store-hero{flex-wrap:wrap;gap:14px;padding:18px 16px}.bpos-store-hero>div:nth-child(2){flex:1;min-width:0}.bpos-store-mark{width:46px;height:46px;flex-basis:46px;font-size:25px}.bpos-store-hero h2{font-size:21px!important}.bpos-store-back{margin:0;width:100%;text-align:center;box-sizing:border-box}.bpos-store-search button{padding:10px 12px}}
