/* WooCommerce-specific overrides so Woo's cart/checkout/account pages sit inside the Helio design. */
.cart-drawer{position:fixed;inset:0 0 0 auto;z-index:1001;width:min(92vw,420px);transform:translateX(100%);transition:transform .35s cubic-bezier(.2,.7,.2,1);visibility:hidden}
.cart-drawer.is-open{transform:none;visibility:visible}
.cart-drawer .drawer__inner{height:100%;display:grid;grid-template-rows:auto auto 1fr auto;overflow:hidden}
.cart-drawer .drawer__contents{overflow-y:auto}
.cart-drawer__overlay{position:fixed;inset:0;z-index:1000}
.cart-drawer__overlay[hidden]{display:none}
.cart-drawer .drawer__header{display:flex;justify-content:space-between}
.cart-drawer__warnings{padding:40px 22px;text-align:center}
.cart-drawer__warnings .button{display:inline-block;margin-top:16px;background:var(--ink);color:var(--bg);padding:14px 22px;border-radius:12px;font-weight:800;text-decoration:none}
.cd-item-img{object-fit:contain}
body.cd-open{overflow:hidden}
.pagination-wrap ul{list-style:none;display:flex;gap:8px;justify-content:center;padding:0}
.pagination-wrap a,.pagination-wrap span{display:inline-block;padding:8px 14px;border:1px solid var(--line);border-radius:10px;color:var(--ink);text-decoration:none}
.pagination-wrap .current{background:var(--ink);color:var(--bg)}
/* Woo pages (cart, checkout, account) */
.helio-woo-page{max-width:1120px;padding-bottom:10vh;font-size:15px}
.helio-woo-page table{width:100%;border-collapse:collapse}
.helio-woo-page th,.helio-woo-page td{padding:14px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.helio-woo-page img{max-width:72px;height:auto;border-radius:10px}
.helio-woo-page .button,.helio-woo-page button[type=submit],.helio-woo-page .wc-proceed-to-checkout a{display:inline-block;background:var(--ink);color:var(--bg);border:0;border-radius:12px;padding:14px 22px;font-weight:800;cursor:pointer;text-decoration:none;font-size:15px}
.helio-woo-page .button:hover,.helio-woo-page button[type=submit]:hover{background:var(--accent);color:var(--ink)}
.helio-woo-page input[type=text],.helio-woo-page input[type=email],.helio-woo-page input[type=tel],.helio-woo-page input[type=password],.helio-woo-page select,.helio-woo-page textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}
.helio-woo-page .form-row{margin-bottom:14px}
.helio-woo-page .form-row label{display:block;font-size:13px;color:var(--sub);margin-bottom:6px}
.helio-woo-page .coupon{display:flex;gap:8px;align-items:center}
.helio-woo-page .coupon input{width:auto}
.helio-woo-page .cart_totals,.helio-woo-page #order_review{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:20px}
.helio-woo-page .woocommerce-notices-wrapper .woocommerce-message,.helio-woo-page .woocommerce-error,.helio-woo-page .woocommerce-info{list-style:none;padding:14px 16px;border-radius:12px;background:var(--card);border:1px solid var(--line);margin:0 0 16px}
.helio-woo-page .woocommerce-error{border-color:#c0392b;color:#c0392b}
.helio-woo-page .product-remove a{color:var(--sub);text-decoration:none;font-size:20px}
.helio-woo-page .quantity input{width:70px}
.helio-woo-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:32px}
@media(max-width:760px){.helio-woo-page .col2-set{grid-template-columns:1fr}.helio-woo-page th:nth-child(1),.helio-woo-page td:nth-child(1){display:none}}
.helio-woo-page .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.helio-woo-page .woocommerce-MyAccount-navigation a{display:inline-block;padding:8px 14px;border:1px solid var(--line);border-radius:100px;text-decoration:none;color:var(--ink);font-size:13px}
.helio-woo-page .woocommerce-MyAccount-content{margin-top:24px}
.helio-woo-page #payment ul{list-style:none;padding:0}
.helio-woo-page #payment li{padding:10px 0;border-bottom:1px solid var(--line)}
.helio-woo-page .woocommerce-privacy-policy-text,.helio-woo-page .woocommerce-terms-and-conditions-wrapper{font-size:12.5px;color:var(--sub)}
.helio-woo-page .shop_table.order_details tfoot th{text-align:right}
.woocommerce-store-notice{display:none}
.pd-thumbs{display:flex;gap:8px;margin-top:10px}
.pd-thumb{width:64px;height:64px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:4px;cursor:pointer}
.pd-thumb.is-active{border-color:var(--ink)}
.pd-thumb img{width:100%;height:100%;object-fit:contain}
/* classic cart/checkout: neutralise Dawn's quantity + overlay styles */
.helio-woo-page .quantity{display:inline-flex;width:auto;min-height:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.helio-woo-page .quantity::before,.helio-woo-page .quantity::after{display:none}
.helio-woo-page .quantity input{width:64px;border:0;padding:10px;text-align:center;font:inherit;background:transparent}
.helio-woo-page .quantity .quantity__button{display:none}
.helio-woo-page .blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}
.helio-woo-page .shop_table td.product-thumbnail img{max-width:60px}
.helio-woo-page #customer_details,.helio-woo-page #order_review_heading{margin-top:24px}
.helio-woo-page .woocommerce-checkout-review-order-table th,.helio-woo-page .woocommerce-checkout-review-order-table td{padding:12px 8px}
.helio-woo-page .place-order .button{width:100%;text-align:center;margin-top:10px}
body.woocommerce-cart .legal-hero,body.woocommerce-checkout .legal-hero,body.woocommerce-account .legal-hero{padding-top:6vh;padding-bottom:3vh}
.helio-woo-page .woocommerce-form-coupon-toggle .woocommerce-info,.helio-woo-page .woocommerce-form-login-toggle .woocommerce-info{margin-bottom:10px}

/* ---------- dropdowns: selectWoo/select2 (country, state, organization) + native selects ---------- */
.select2-container--default .select2-selection--single{outline:none;transition:border-color .15s,box-shadow .15s}
.select2-container--default.select2-container--open .select2-selection--single,.select2-container--default.select2-container--focus .select2-selection--single{border-color:#E8923A!important;box-shadow:0 0 0 3px rgba(232,146,58,.22)}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink,#12141a);font-size:15px}
.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#8a8a84}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border:none!important;width:10px;height:10px;margin:-7px 0 0 -8px;border-right:2px solid #6b6b66!important;border-bottom:2px solid #6b6b66!important;transform:rotate(45deg);transition:transform .15s}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{transform:rotate(225deg);margin-top:-2px}
.select2-container--open .select2-dropdown{border:1px solid #DDD9D0;border-radius:14px!important;box-shadow:0 18px 50px rgba(18,20,26,.14),0 2px 8px rgba(18,20,26,.06);background:#fff;overflow:hidden;margin-top:6px;font-family:Inter,Helvetica,Arial,sans-serif}
.select2-container--open .select2-dropdown--above{margin-top:0;margin-bottom:6px}
.select2-container--default .select2-search--dropdown{padding:10px 10px 6px}
.select2-container--default .select2-search--dropdown .select2-search__field{height:42px;padding:0 14px 0 38px;border:1px solid #DDD9D0!important;border-radius:10px;font:inherit;font-size:14px;color:var(--ink,#12141a);background:#FAF9F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a8a84' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5 14 14'/%3E%3C/svg%3E") 13px center no-repeat;outline:none}
.select2-container--default .select2-search--dropdown .select2-search__field:focus{border-color:#E8923A!important;box-shadow:0 0 0 3px rgba(232,146,58,.22);background-color:#fff}
.select2-container--default .select2-results>.select2-results__options{max-height:264px;padding:4px 6px 8px}
.select2-container--default .select2-results__option{padding:10px 12px;border-radius:9px;font-size:14.5px;line-height:1.3;color:var(--ink,#12141a);margin:1px 0}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:#FBF1E6!important;color:var(--ink,#12141a)!important}
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background:#F3F1EC;font-weight:600;position:relative;padding-right:34px}
.select2-container--default .select2-results__option[aria-selected=true]::after,.select2-container--default .select2-results__option[data-selected=true]::after{content:"";position:absolute;right:14px;top:50%;width:6px;height:11px;margin-top:-8px;border-right:2px solid #E8923A;border-bottom:2px solid #E8923A;transform:rotate(45deg)}
.select2-container--default .select2-results__message{color:#8a8a84;font-size:14px}
.ck-card select,.ac-content select,#research-org-type{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b6b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px!important;cursor:pointer}
#research-org-type{border:1px solid #DDD9D0;border-radius:12px;background-color:#fff;font-family:Inter,Helvetica,Arial,sans-serif}
#research-org-type:focus,.ck-card select:focus,.ac-content select:focus{outline:none;border-color:#E8923A;box-shadow:0 0 0 3px rgba(232,146,58,.22)}
