/* Shared brand treatment over the current parent's functional inner pages. */
:root{--forest:#0a1738;--ink:#17233b;--sage:#087bfa;--cream:#f5f7fb}
body{color:#17233b;background:#f5f7fb}
.announcement{background:#0a1738;color:#f4f1eb}
.site-header{background:#f5f7fb;border-color:#dce2eb}
.ezlp-brand{display:inline-block;flex-shrink:0}
.ezlp-brand img{display:block;width:250px;height:auto;max-width:100%}
.rd-product-footer{background:#0a1738;color:#f4f1eb;border:0}
.rd-product-footer a{color:#f4f1eb}
.eyebrow{color:#0866d7}
.rd-product-page,.rdp-store-page{color:#17233b}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#0866d7;color:#fff}
.woocommerce button.button:hover,.woocommerce a.button:hover{background:#0755b1;color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ff7900;outline-offset:3px}
@media(max-width:760px){.header-inner{flex-wrap:wrap;gap:14px}.ezlp-brand img{width:205px}.rd-product-nav{display:flex;flex-wrap:wrap;gap:14px;order:3;width:100%}.rd-product-footer .wrap{flex-wrap:wrap}}
:root{--ink-deep:#0a1738;--muted:#5c687b;--paper:#f5f7fb;--white:#ffffff;--sage:#e4ebf6;--sage-light:#eff3fa;--lime:#dceaff;--line:#dce2eb;--logo-cut:#f5f7fb}

/* 0.1.3: WooCommerce buttons and fields in the prototype's blue; logo in the product-page footer. */
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt,.woocommerce .single_add_to_cart_button,.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:#0866d7 !important;color:#fff !important;border-color:#0866d7 !important;border-radius:4px}
.woocommerce button.button.alt:hover,.woocommerce .single_add_to_cart_button:hover,.wc-block-components-button:not(.is-link):hover,.wc-block-cart__submit-button:hover{background:#0755b1 !important;color:#fff !important}
.woocommerce div.product form.cart .variations select,.rd-product-page select{appearance:auto;min-height:40px;padding:8px 12px;border:1px solid #d6dce5;border-radius:4px;background:#fff;color:#17233b;font:inherit;font-size:14px;min-width:180px}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{padding:6px 12px 6px 0;vertical-align:middle}
.rd-product-footer a.brand{display:inline-block;width:250px;height:61px;font-size:0;color:transparent;background:url(logo-dark.png) left center/contain no-repeat}
@media(max-width:760px){.rd-product-footer a.brand{width:205px;height:50px}}

/* EZ Lab Supply: replace inherited green product surfaces. */
.rd-product-page .rd-specifications{background:#eff3fa;border-color:#dce2eb}
.rd-product-page .rd-detail-nav a:first-child,.rd-product-page .rd-detail-nav a:hover{background:#e4ebf6;color:#17233b}
.rd-product-page .rd-color-links a{background:#fff;border-color:#dce2eb;color:#17233b}
.rd-product-page .rd-color-links a[aria-current],.rd-product-page .rd-color-links a:hover{background:#0866d7;color:#fff;border-color:#0866d7}
.rd-product-page .rd-product-figure>a,.rd-product-page .product-image,.rd-product-page .catalog-photo.product-art{background:#f8f7f3}

/* 0.1.7: remaining parent-theme greens on product, shop and category pages -> prototype palette (ink #17233b, muted #5c687b, lines #dce2eb, photo tile #f0f1ed, blue #0866d7). */
.product-image,.product-image:nth-child(n),.catalog-photo,.product-card:hover .product-image{background:#f0f1ed !important}
.product-add{border-color:#d6dfed;color:#0866d7}.product-add:hover{background:#f5f7fb;border-color:#0866d7}
.rd-rich-content,.rd-rich-content p,.rd-rich-content li,.rd-rich-content ul,.rd-rich-content details,.rd-specifications dt,dt{color:#5c687b;border-color:#dce2eb}
.rd-rich-content h2,.rd-rich-content h3,.rd-rich-content summary,.rd-specifications dd{color:#17233b}
.rd-section-number{color:#0866d7;border-color:#d6dfed}
.rd-product-page div,.rd-product-page section{border-color:#dce2eb}
.woocommerce nav.woocommerce-pagination ul li .page-numbers,.page-numbers{background:#fff;color:#17233b;border-color:#dce2eb}
.woocommerce nav.woocommerce-pagination ul li span.current,.page-numbers.current{background:#0a1738;color:#fff}

/* 2026-10-30: policy links on every page except the homepage (homepage has them in its footer). */
.ezlp-policy-bar{background:#0a1738;color:#c6cee0;border-top:1px solid #28334e;padding:16px 0;font-size:13px;position:relative;z-index:1;box-shadow:0 100vh 0 100vh #0a1738}
.ezlp-policy-bar .wrap{display:flex;flex-wrap:wrap;gap:10px 26px;justify-content:center}
.ezlp-policy-bar a{color:#c6cee0;text-decoration:none}.ezlp-policy-bar a:hover,.ezlp-policy-bar a:focus-visible{color:#fff;text-decoration:underline}

/* 2026-10-30: policy page readability (ported from the old theme's Additional CSS of 2026-10-20). Pages 3, 14, 87, 88, 97. */
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page > *{max-width:72ch}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page p{margin:0 0 1em;line-height:1.65;color:#17233b}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page h2{margin:2.2em 0 .6em;scroll-margin-top:110px;font-size:24px;line-height:1.3;color:#17233b}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page h3{margin:1.6em 0 .4em;font-size:18px;color:#17233b}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page :is(ul,ol){margin:0 0 1.2em;padding-left:1.4em}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page li{margin:.3em 0;line-height:1.6;color:#17233b}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page ul li{list-style:disc}:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page ol li{list-style:decimal}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page :is(p,li) a{color:#0866d7;text-decoration:underline;text-underline-offset:2px}
:is(.page-id-3,.page-id-14,.page-id-87,.page-id-88,.page-id-97) main.rdp-store-page{padding-bottom:64px}

/* 2026-10-30: form fields on cart, checkout, account and product pages: white with the prototype's grey-blue border (parent theme used cream #fffefa with sage #cfd8c5). */
body:not(.home) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea){background-color:#fff !important;border-color:#d6dce5 !important}
body:not(.home) .wc-block-components-quantity-selector{border-color:#d6dce5 !important;background:#fff}
body:not(.home) .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{border:0 !important;border-left:1px solid #e3e8ef !important;border-right:1px solid #e3e8ef !important;border-radius:0 !important}
body:not(.home) :is(input,select,textarea):focus{border-color:#0866d7 !important}

/* 2026-10-30: hover and keyboard-focus states from the parent theme that were still green -> prototype (hover blue #0866d7, light-blue fills #eef3fb, orange focus ring #ff7900). */
.rd-product-nav a:hover,.rd-product-nav a:focus-visible{color:#0866d7}
.rd-header-icon:hover,.rd-detail-nav a:hover,.rd-custom-tablist a:hover{background:#eef3fb;color:#0866d7}
.button-dark:hover{background:#0866d7;color:#fff}
.button-lime:hover{background:#ff8d08;color:#0a1738}
.category-card:hover{background:#f5f7fb;border-color:#0866d7}
.product-image:hover,.product-image:nth-child(n):hover{background:#f0f1ed !important}
:is(button,a,summary,input,select,textarea):focus-visible,.rd-product-page :is(a,summary,button):focus-visible,.rd-header-icon:focus-visible,.rd-sidecart :is(a,button):focus-visible{outline:3px solid #ff7900 !important;outline-offset:3px}

/* 2026-10-30: colour swatches on product cards. */
.ezlp-swatches{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:8px 0 4px}
.ezlp-swatch{display:inline-block;width:18px;height:18px;border-radius:50%;background:var(--sw);border:2px solid #fff;box-shadow:0 0 0 1px #c9d1dd;transition:box-shadow .15s}
.ezlp-swatch:hover,.ezlp-swatch[aria-current="true"]{box-shadow:0 0 0 2px #0866d7}
.ezlp-swatch-count{font-size:11px;color:#5c687b;margin-left:3px}
@media(max-width:760px){.ezlp-swatches{gap:6px;margin:-4px 0 10px}.ezlp-swatch{width:20px;height:20px}.ezlp-swatch-count{font-size:10px}}

/* 2026-10-30: product page - quantity box and Add to cart side by side with a 12px gap; box matches the button height. */
body.single-product form.cart:not(.variations_form),body.single-product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin-top:16px}
body.single-product form.cart .quantity{display:flex;width:auto;margin:0 !important;float:none}
body.single-product form.cart .quantity input.qty{width:72px;height:auto;min-height:48px;padding:0 8px;text-align:center;font-size:15px;border-radius:4px}
body.single-product form.cart .single_add_to_cart_button{float:none;margin:0 !important;min-height:48px;padding:0 26px}

/* 2026-10-30: "Pair it with a case" upsell on product pages. */
.ezlp-upsell{margin:24px 0 28px;padding:18px;border:1px solid #dce2eb;border-radius:6px;background:#fff;max-width:560px}
.ezlp-upsell-title{margin:0 0 12px;font-size:14px;font-weight:700;color:#17233b}
.ezlp-upsell-card{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #eef1f5}
.ezlp-upsell-card:first-of-type{border-top:0;padding-top:0}
.ezlp-upsell-img img{display:block;width:64px;height:64px;object-fit:contain;background:#f0f1ed;border-radius:4px}
.ezlp-upsell-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ezlp-upsell-name{font-size:14px;font-weight:600;color:#17233b;text-decoration:none}
.ezlp-upsell-name:hover{color:#0866d7}
.ezlp-upsell-price{font-size:13px;color:#5c687b}
.ezlp-upsell-view,.ezlp-upsell-add{flex-shrink:0;font-size:12px;font-weight:600;color:#0866d7;border:1px solid #d6dfed;border-radius:4px;padding:9px 12px;text-decoration:none;white-space:nowrap;min-height:40px;display:inline-flex;align-items:center}
.ezlp-upsell-add{background:#0866d7;color:#fff;border-color:#0866d7}
.ezlp-upsell-view:hover{background:#f5f7fb;border-color:#0866d7}.ezlp-upsell-add:hover{background:#0755b1}
@media(max-width:760px){.ezlp-upsell{padding:14px}.ezlp-upsell-card{gap:10px}.ezlp-upsell-img img{width:56px;height:56px}}

/* 2026-10-30: cart "You may be interested in" (cross-sell cases): store-style buttons and photo tiles. */
.wp-block-woocommerce-product-collection :is(.wp-block-button__link,.wc-block-components-product-button__button){background:#fff !important;color:#0866d7 !important;border:1px solid #d6dfed !important;border-radius:4px !important;font-size:13px;font-weight:600;padding:9px 16px;min-height:40px}
.wp-block-woocommerce-product-collection :is(.wp-block-button__link,.wc-block-components-product-button__button):hover{background:#f5f7fb !important;border-color:#0866d7 !important}
.wp-block-woocommerce-product-collection .wc-block-components-product-image img{background:#f0f1ed;border-radius:5px}
