/*
Theme Name: Colton Research Theme
Theme URI: https://example.com/
Description: A custom WordPress theme converted from a React research peptide site.
Author: Assistant
Author URI: https://example.com/
Version: 1.8.385
Text Domain: colton-research
*/

/* ============================================
 *    GLOBAL RESETS & MOBILE OVERFLOW PREVENTION
 *    ============================================ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
#wpadminbar { overflow: hidden; }

/* ============================================
   WOOCOMMERCE GLOBAL FIXES
   ============================================ */
/* Shop search — single field + icon button (original layout) */
.colton-shop-product-search,
.woocommerce-product-search {
    position: relative;
    width: 100%;
}
.colton-shop-product-search .search-field,
.woocommerce-product-search input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 3.5rem 1.25rem 3rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    font-size: 15px !important;
    color: #0f172a;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 1rem center !important;
    background-size: 18px 18px !important;
}
.colton-shop-product-search .colton-search-submit,
.woocommerce-product-search button[type="submit"] {
    position: absolute !important;
    right: 0.4rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background: #2A6AD0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center center no-repeat !important;
    background-size: 18px 18px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    overflow: hidden !important;
}
.colton-shop-product-search .colton-search-submit:hover {
    background-color: #2A6AD0 !important;
}
.colton-shop-search-card,
.colton-shop-search-wrap,
.colton-shop-product-search {
    overflow: visible !important;
}
.colton-shop-layout > aside,
.colton-shop-layout > aside .sticky {
    overflow: visible !important;
}
.colton-shop-search-wrap {
    position: relative;
    width: 100%;
    z-index: 1;
}
.colton-shop-product-search .colton-search-submit {
    z-index: 2 !important;
}
.woocommerce-ordering select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
}
.woocommerce span.onsale { display: none !important; }
.woocommerce-sidebar { display: none; }

/* ============================================
   MY ACCOUNT — EDIT ACCOUNT (Save changes button)
   ============================================ */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"][name="save_account_details"],
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: min(100%, 220px);
	padding: 0.875rem 1.75rem !important;
	margin-top: 0.5rem;
	font-family: inherit;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff !important;
	background: #2A6AD0 !important;
	border: 2px solid #2A6AD0 !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 14px rgba(42, 106, 208, 0.25);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"][name="save_account_details"]:hover,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button.button:hover {
	background: #2A6AD0 !important;
	border-color: #2A6AD0 !important;
	box-shadow: 0 6px 20px rgba(42, 106, 208, 0.35);
	transform: translateY(-1px);
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"][name="save_account_details"]:focus-visible,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button.button:focus-visible {
	outline: 2px solid #2A6AD0;
	outline-offset: 3px;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"][name="save_account_details"]:active,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-Button.button:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(42, 106, 208, 0.2);
}

/* ============================================
   QUANTITY SELECTOR FIX
   ============================================ */
/* Override WooCommerce default width:auto that stretches the quantity box */
.woocommerce div.product form.cart .quantity {
    width: fit-content !important;
}

/* Hide native browser number input spinner arrows — keep only the − and + buttons */
.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    height: 0 !important;
    width: 0 !important;
    display: none !important;
}
.quantity input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* ============================================
   HEADER STYLES
   ============================================ */
header.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
}
.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar header.sticky { top: 46px; } }
header .container { max-width: 100%; padding-left: 1rem; padding-right: 1rem; gap: 0.5rem; }

/* Logo sizes — defined in header.php (single source; desktop-only bump) */
.site-header-logo { flex-shrink: 0 !important; min-width: 0 !important; }

/* Hide login text on small screens */
@media (max-width: 1023px) {
    header .text-xs.font-bold.uppercase.tracking-widest { display: none !important; }
}

/* ============================================
   VARIATION SWATCHES (mg / dose pills)
   ============================================ */
.woocommerce div.product table.variations,
.woocommerce div.product table.variations tbody,
.woocommerce div.product table.variations tr,
.woocommerce div.product table.variations td {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce div.product table.variations .label,
.woocommerce div.product table.variations .label label,
.woocommerce div.product table.variations .label label.halo-variation-label {
    display: block !important;
    width: 100% !important;
    padding: 0 0 0.35rem !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.6875rem !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    color: #64748b !important;
}
.woocommerce div.product table.variations .reset_variations {
    display: none !important; /* hide "Clear" — dose buttons already toggle cleanly */
}
.woocommerce div.product .variation-buttons-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin: 0.25rem 0 0.85rem !important;
    width: 100% !important;
}
.variation-btn {
    font-family: 'Outfit', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    line-height: 1.1 !important;
    padding: 0.72rem 0.65rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.variation-btn.active-swatch {
    background-color: #2A6AD0 !important;
    border-color: #2A6AD0 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(42, 106, 208, 0.28);
}
.variation-btn:hover:not(.active-swatch) {
    border-color: #2A6AD0 !important;
    background-color: #f8fafc;
}
@media (max-width: 767px) {
    .woocommerce div.product .variation-buttons-container {
        gap: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    .variation-btn {
        font-size: 0.8125rem !important;
        padding: 0.68rem 0.5rem !important;
        border-radius: 12px !important;
        min-height: 44px !important; /* comfortable tap target */
    }
    .woocommerce div.product table.variations .label,
    .woocommerce div.product table.variations .label label {
        font-size: 0.625rem !important;
        padding-bottom: 0.25rem !important;
        margin: 0 !important;
    }
}

/* ============================================
   PRICE DISPLAY
   ============================================ */
.price del, .woocommerce-Price-amount.regular-price,
.woocommerce table.cart .product-price del { display: none !important; }
.price ins { text-decoration: none !important; }

/* ============================================
   WPLOYALTY — PDP earn-points chip
   Overrides plugin inline styles to match Halo pills.
   ============================================ */
.woocommerce div.product .wlr-product-message,
.wlr-product-message {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	width: fit-content !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.45rem 0.85rem 0.45rem 0.7rem !important;
	line-height: 1.25 !important;
	border-radius: 9999px !important;
	border: 1px solid rgba(42, 106, 208, 0.22) !important;
	background: rgba(42, 106, 208, 0.06) !important;
	color: #2A6AD0 !important;
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	box-shadow: none !important;
}

.woocommerce div.product .wlr-product-message::before,
.wlr-product-message::before {
	content: "" !important;
	display: block !important;
	width: 15px !important;
	height: 15px !important;
	flex-shrink: 0 !important;
	background-color: currentColor !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================
   SINGLE PRODUCT PAGE - MOBILE LAYOUT
   ============================================ */
@media (max-width: 1023px) {
    .woocommerce div.product,
    .woocommerce div.product.grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.25rem !important;
        align-items: start !important;
    }
    .woocommerce div.product .halo-pdp-media-col,
    .woocommerce div.product .woocommerce-product-gallery,
    div.product.grid > div:first-child {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 28rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        min-height: unset !important;
        float: none !important;
        padding: 0 !important;
    }
    .woocommerce div.product .halo-pdp-media-col--stack,
    div.product.grid > div.halo-pdp-media-col--stack:first-child {
        max-width: none !important;
        width: calc(100% + 2rem) !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }
    .woocommerce div.product div.summary,
    div.product.grid > div.summary {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        float: none !important;
        clear: none !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .woocommerce div.product .product_title, h1.product_title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
}
@media (min-width: 1024px) {
    .woocommerce div.product .summary.entry-summary {
        grid-column: span 3 !important;
    }
}

/* Custom PDP gallery column */
.halo-pdp-media-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
@media (min-width: 1024px) {
    .halo-pdp-media-col {
        max-width: none !important;
    }
}
.halo-pdp-media-col .halo-pdp-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Product Gallery (legacy WooCommerce fallback only) */
.woocommerce-product-gallery:not(.halo-pdp-media-col) {
    background: transparent !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
}
@media (min-width: 768px) {
    .woocommerce-product-gallery { padding: 3rem !important; min-height: 600px !important; }
}
.woocommerce-product-gallery img,
.woocommerce-product-gallery__image img,
.wp-post-image {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}
.woocommerce-product-gallery__trigger { display: none !important; }
@media (max-width: 767px) {
    .woocommerce-product-gallery .woocommerce-product-gallery__trigger { display: none !important; }
}

/* Product Title */
.woocommerce div.product .product_title,
h1.product_title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}
@media (min-width: 768px) {
    .woocommerce div.product h1.product_title,
    .woocommerce div.product .product_title,
    h1.product_title.entry-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-break: normal !important;
        hyphens: none !important;
    }
}

/* Product Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2A6AD0 !important;
}

/* Add to Cart Button */
.woocommerce div.product button.button.alt,
.single_add_to_cart_button {
    background-color: #2A6AD0 !important;
    color: #f8fafc !important;
    padding: 1.25rem 2.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border: none !important;
    font-size: 0.875rem !important;
}
.woocommerce div.product button.button.alt:hover,
.single_add_to_cart_button:hover {
    background-color: #1E56B0 !important;
}

/* Short Description */
.woocommerce-product-details__short-description {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: #64748b !important;
    margin-bottom: 2rem !important;
    max-width: 100% !important;
}

/* ============================================
   CART PAGE
   ============================================ */
/* Coupon Apply button */
.woocommerce-cart .checkout_coupon button[name="apply_coupon"] {
    color: #fff !important;
    background-color: #2A6AD0 !important;
}
/* PayPal button - prevent overflow on mobile */
.ppcp-disabled,
[id^="zoid-paypal-buttons"],
[id^="zoid-paypal-message"] {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}
.ppcp-disabled iframe,
[id^="zoid-paypal-buttons"] iframe {
    max-width: 100% !important;
    min-width: unset !important;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
body.woocommerce-checkout .site-main {
    padding-top: 0 !important;
}
#halo-rewards-checkout .halo-rewards-notice.is-error {
    color: #dc2626;
}
#halo-rewards-checkout .halo-rewards-notice.is-success {
    color: #16a34a;
}
/* Tighter rewards banner spacing on Ascend checkout */
#halo-rewards-checkout {
    margin-top: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0.85rem !important;
}
/* Ensure the checkout form takes full width */
body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout .site-main,
.woocommerce-checkout, .wc-block-checkout {
    width: 100% !important;
    max-width: none !important;
}
/* Checkout billing — Ascend name row + half-field grid (always 2-col pairs) */
.halo-checkout-main .woocommerce-billing-fields__field-wrapper,
.halo-checkout-main .halo-billing-fields-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.4rem 0.5rem !important;
    column-gap: 0.5rem !important;
    row-gap: 0.4rem !important;
}
/* First|Last: #halo-billing-name-row outside __field-wrapper — 50/50 at ALL widths */
.halo-checkout-main .woocommerce-billing-fields .halo-billing-name-row,
.halo-checkout-main #halo-billing-name-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 0.4rem !important;
    padding: 0 !important;
}
@media (min-width: 480px) {
    .halo-checkout-main .woocommerce-billing-fields .halo-billing-name-row,
    .halo-checkout-main #halo-billing-name-row {
        gap: 0.55rem !important;
    }
}
.woocommerce form.checkout #halo-billing-name-row > p.form-row,
.woocommerce form.checkout #halo-billing-name-row > p.form-row-first,
.woocommerce form.checkout #halo-billing-name-row > p.form-row-last,
.halo-checkout-main #halo-billing-name-row > p#billing_first_name_field,
.halo-checkout-main #halo-billing-name-row > p#billing_last_name_field {
    float: none !important;
    clear: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}
body.woocommerce-checkout {
    background: #f7f8fa;
}
.halo-checkout-field--hidden {
    display: none !important;
}
/* Fix select dropdowns in checkout */
.woocommerce-checkout select,
.checkout select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px !important;
}
/* Payment method radio improvements */
.wc_payment_methods .wc_payment_method label {
    cursor: pointer;
    user-select: none;
}
/* PayPal button container fix - prevent truncation of "Debit or Credit Card" text */
.ppcp-button-apm,
.ppcp-button-credit-card,
[data-funding-source="card"],
[data-funding-source="credit"] {
    overflow: visible !important;
    white-space: nowrap !important;
    width: 100% !important;
    min-width: 0 !important;
}
/* Ensure payment gateway containers don't overflow */
#payment .payment_methods li,
#payment .payment_methods .payment_box {
    overflow: visible !important;
}
/* Fix PayPal iframes (used by WC PayPal plugin) */
.ppcp-button-container iframe,
[data-ppcp-button] iframe {
    max-width: 100% !important;
    width: 100% !important;
}

/* ============================================
   ADMIN BAR
   ============================================ */
@media (max-width: 782px) {
    .admin-bar header.sticky { top: 46px; }
}

/* ============================================
   RESPONSIVE CONTAINER
   ============================================ */
.container { max-width: 1280px; width: 100%; }

/* ============================================
   LEGACY BLOCK CHECKOUT (kept minimal)
   ============================================ */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
    width: 100% !important;
    max-width: 100% !important;
}


/* ============================================
 *    COA PAGE - 3 COLUMN GRID (DESKTOP ONLY)
 *    ============================================ */
@media (min-width: 1024px) {
	#coa-grid {
		        display: grid !important;
		        grid-template-columns: repeat(3, 1fr);
		        gap: 2rem;
	}
	#coa-grid > * {
		        margin-top: 0 !important;
	}
}
@media (max-width: 767px) {
    .trust-features-section {
        padding: 14px 0 !important;
    }
    .trust-features-section .trust-grid {
        gap: 8px !important;
        padding: 0 3% !important;
    }
    .trust-features-section .trust-item {
        padding: 8px 6px !important;
        gap: 6px !important;
    }
    .trust-features-section .trust-icon-box {
        padding: 7px !important;
        border-radius: 8px !important;
    }
    .trust-features-section .trust-icon-box svg {
        width: 17px !important;
        height: 17px !important;
    }
    .trust-features-section .trust-content h4 {
        font-size: 12px !important;
    }
    .trust-features-section .trust-content p {
        font-size: 10px !important;
    }
}

/* Empty cart "Return to shop" button */
p.return-to-shop {
    margin-top: 1rem;
}

p.return-to-shop .wc-backward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    min-height: 48px;
    border-radius: 999px;
    background: #2A6AD0;
    border: 1px solid #2A6AD0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

p.return-to-shop .wc-backward:hover {
    background: #1E56B0;
    border-color: #1E56B0;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Shop/product listing: 2 cards per row on phones only */
@media (max-width: 767px) {
    .woocommerce ul.products,
    ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
        margin: 0 !important;
    }
    .woocommerce ul.products li.product,
    ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
    }
    .woocommerce ul.products li.product .p-5,
    .woocommerce ul.products li.product .p-6,
    .woocommerce ul.products li.product .md\:p-6,
    .woocommerce ul.products li.product .md\:p-8,
    ul.products li.product .p-5,
    ul.products li.product .p-6,
    ul.products li.product .md\:p-6,
    ul.products li.product .md\:p-8 {
        padding: 1.05rem !important;
    }
    .woocommerce ul.products li.product:not(.halo-shop-card) .halo-product-card__media,
    ul.products li.product:not(.halo-shop-card) .halo-product-card__media {
        height: 10.5rem !important;
    }
    .woocommerce ul.products li.product:not(.halo-shop-card) .halo-product-card__media .product-image-container,
    ul.products li.product:not(.halo-shop-card) .halo-product-card__media .product-image-container {
        padding: 0.2rem 0.2rem 0.1rem !important;
    }
    .woocommerce ul.products li.product:not(.halo-shop-card) .halo-product-card__media .product-image-container img:not(.halo-shop-stack-image),
    .woocommerce ul.products li.product:not(.halo-shop-card) .halo-product-card__media img.halo-shop-vial-image,
    ul.products li.product:not(.halo-shop-card) .halo-product-card__media .product-image-container img:not(.halo-shop-stack-image),
    ul.products li.product:not(.halo-shop-card) .halo-product-card__media img.halo-shop-vial-image {
        max-width: 76% !important;
    }
    .halo-product-card__media--stack .product-image-container {
        padding: 0 !important;
    }
    .halo-product-card__media--stack .product-image-container img.halo-shop-stack-image,
    .halo-product-card__media--stack img.halo-shop-stack-image {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
}

/* Shop catalog: cart remove/undo notices belong in the drawer, not the page. */
.colton-shop-compact .woocommerce-notices-wrapper {
    display: none !important;
}

/* Cart notices (remove/undo + empty cart) */
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .wc-empty-cart-message .cart-empty.woocommerce-info {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #2A6AD0 !important;
    border-radius: 14px !important;
    padding: 0.95rem 1rem !important;
    margin: 0 0 1rem 0 !important;
    color: #0f172a !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce .wc-empty-cart-message .cart-empty.woocommerce-info::before {
    color: #2A6AD0 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message a {
    color: #2A6AD0 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message a:hover {
    color: #2A6AD0 !important;
    text-decoration: underline !important;
}

/* Checkout: guest / login bar */
.woocommerce-form-login-toggle {
    margin: 0 0 0.85rem;
}
.halo-checkout-account-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0.9rem 1.15rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid #d6ecf7;
    border-radius: 0.875rem;
    box-shadow: 0 4px 14px rgba(42, 106, 208, 0.08);
}
.halo-checkout-account-bar__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}
.halo-checkout-account-bar__label {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}
.halo-checkout-account-bar__divider {
    flex: 0 0 1px;
    align-self: stretch;
    margin: 0 1.25rem;
    background: #d6ecf7;
}
.halo-checkout-account-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    letter-spacing: 0.01em;
    border-radius: 0.625rem;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.halo-checkout-account-bar__btn--primary {
    background: #2A6AD0;
    border-color: #2A6AD0;
    color: #ffffff !important;
}
.halo-checkout-account-bar__btn--primary:hover {
    background: #1E56B0;
    border-color: #1E56B0;
}
.halo-checkout-account-bar__btn--outline {
    background: #ffffff;
    border-color: #2A6AD0;
    color: #2A6AD0 !important;
}
.halo-checkout-account-bar__btn--outline:hover {
    background: #2A6AD0;
    color: #ffffff !important;
}
@media (max-width: 640px) {
    .halo-checkout-account-bar {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        padding: 0.85rem 0.9rem;
    }
    .halo-checkout-account-bar__item {
        flex: 1 1 0;
        width: auto;
        gap: 0.45rem;
        align-items: stretch;
    }
    .halo-checkout-account-bar__label {
        font-size: 0.8125rem;
        line-height: 1.25;
    }
    .halo-checkout-account-bar__divider {
        flex: 0 0 1px;
        width: 1px;
        height: auto;
        align-self: stretch;
        margin: 0 0.75rem;
    }
    .halo-checkout-account-bar__btn {
        width: 100%;
        min-height: 2.4rem;
        padding: 0.5rem 0.65rem;
        font-size: 0.8125rem;
    }
}

/* ============================================
   SHOP PAGE — compact layout + Tailwind fallback
   ============================================ */
.halo-shop-catalog-header.woocommerce-products-header {
    padding-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.halo-shop-catalog-header .page-title {
    margin: 0 !important;
    line-height: 1.1 !important;
}
.colton-shop-compact .colton-shop-toolbar--fallback {
    margin-bottom: 1rem !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.colton-shop-compact .colton-shop-search-card {
    padding: 0.85rem 1rem !important;
}
.colton-shop-compact .colton-shop-search-card h3 {
    margin-bottom: 0.5rem !important;
    font-size: 10px !important;
}
.colton-shop-compact .search-field {
    padding: 0.55rem 2.35rem 0.55rem 2rem !important;
    font-size: 14px !important;
}
.colton-shop-compact .colton-search-submit {
    width: 2.1rem !important;
    height: 2.1rem !important;
    right: 0.3rem !important;
}
.colton-shop-compact .colton-shop-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    margin: 0 0 1rem !important;
    padding: 0 0 0.85rem !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.colton-shop-toolbar__count {
    min-width: 0;
    flex: 1 1 auto;
}
.colton-shop-toolbar__sort {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}
.colton-shop-toolbar__sort-label {
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}
@media (min-width: 640px) {
    .colton-shop-toolbar__sort-label {
        display: inline;
    }
}
.colton-shop-compact .woocommerce-result-count,
.colton-shop-compact .woocommerce-ordering,
.colton-shop-compact .colton-search-fallback-count {
    margin: 0 !important;
}
.colton-shop-toolbar .woocommerce-result-count,
.colton-shop-toolbar .colton-search-fallback-count {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}
.colton-search-fallback-count {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}
.colton-shop-toolbar .woocommerce-ordering {
    margin: 0 !important;
    position: relative;
}
.colton-shop-toolbar .woocommerce-ordering select.orderby {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    appearance: none !important;
}
.halo-orderby__ui {
    position: relative;
}
.halo-orderby__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.4rem 0.85rem 0.4rem 0.95rem;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #0f172a;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.halo-orderby__trigger:hover {
    border-color: #c3d0e2;
}
.halo-orderby__trigger:focus-visible,
.halo-orderby.is-open .halo-orderby__trigger {
    outline: none;
    border-color: #2A6AD0;
    box-shadow: 0 0 0 3px rgba(42, 106, 208, 0.12);
}
.halo-orderby__value {
    white-space: nowrap;
}
.halo-orderby__chevron {
    color: #64748b;
    flex: 0 0 auto;
    transition: transform 0.15s ease;
}
.halo-orderby.is-open .halo-orderby__chevron {
    transform: rotate(180deg);
    color: #2A6AD0;
}
.halo-orderby__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 220px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.35);
}
.halo-orderby__menu[hidden] {
    display: none !important;
}
.halo-orderby__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.halo-orderby__option:hover,
.halo-orderby__option.is-active {
    background: #f5f8fc;
    color: #2A6AD0;
}
.halo-orderby__option.is-selected {
    background: rgba(42, 106, 208, 0.08);
    color: #2A6AD0;
    font-weight: 600;
}
.halo-orderby__check {
    flex: 0 0 auto;
    opacity: 0;
    color: #2A6AD0;
}
.halo-orderby__option.is-selected .halo-orderby__check {
    opacity: 1;
}
.colton-shop-compact main ul.products {
    gap: 0.75rem !important;
}
@media (min-width: 1024px) {
    .colton-shop-layout {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 1.25rem !important;
    }
    .colton-shop-layout--full > main {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .colton-shop-layout > aside {
        flex: 0 0 220px;
        width: 220px;
        max-width: 220px;
    }
    .colton-shop-compact .colton-shop-layout {
        gap: 1.25rem !important;
    }
    .colton-shop-layout > main {
        flex: 1 1 0;
        min-width: 0;
    }
}
.woocommerce main ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
}
.woocommerce main ul.products::before,
.woocommerce main ul.products::after {
    display: none !important;
    content: none !important;
}
.woocommerce main ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
@media (min-width: 768px) {
    .woocommerce main ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1.15rem !important;
    }
}
@media (min-width: 1100px) {
    .woocommerce main ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 1.25rem !important;
    }
}

/* ============================================
   SHOP CARDS
   ============================================ */
.woocommerce ul.products li.product.halo-shop-card,
ul.products li.product.halo-shop-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    min-width: 0;
    background: #ffffff !important;
    border: 1px solid rgba(36, 36, 36, 0.08) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    color: #242424 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.woocommerce ul.products li.product.halo-shop-card:hover,
ul.products li.product.halo-shop-card:hover {
    border-color: rgba(42, 106, 208, 0.22) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
    transform: none;
}
.woocommerce ul.products li.product.halo-shop-card.is-size-open,
ul.products li.product.halo-shop-card.is-size-open {
    z-index: 40 !important;
    overflow: visible !important;
}
.halo-shop-card__media-link {
    position: relative;
    display: block;
    text-decoration: none !important;
}
.halo-shop-card__media-wrap {
    position: relative;
}
.halo-shop-card__coa {
    position: absolute;
    left: 0.45rem;
    bottom: 0.45rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    max-width: calc(100% - 0.9rem);
    padding: 0.16rem 0.38rem 0.16rem 0.28rem;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #2A6AD0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    color: #111;
    text-decoration: none !important;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}
.halo-shop-card__coa:hover,
.halo-shop-card__coa:focus {
    color: #111;
    background: #fff;
    border-color: #1e56b0;
    text-decoration: none !important;
}
.halo-shop-card__coa-check {
    display: inline-flex;
    color: #22c55e;
    flex-shrink: 0;
}
.halo-shop-card__coa-check svg {
    display: block;
    width: 10px;
    height: 10px;
}
.halo-shop-card__coa-pct {
    font-family: 'Outfit', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}
.halo-shop-card__coa-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.5625rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 1px;
}
.halo-shop-card__coa-chevron {
    display: inline-flex;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: -0.06rem;
}
.halo-shop-card__coa-chevron svg {
    display: block;
    width: 8px;
    height: 8px;
}
@media (max-width: 479px) {
    .halo-shop-card__coa {
        left: 0.3rem;
        bottom: 0.3rem;
        gap: 0.14rem;
        padding: 0.12rem 0.3rem 0.12rem 0.22rem;
    }
    .halo-shop-card__coa-pct {
        font-size: 0.5625rem;
    }
    .halo-shop-card__coa-label {
        font-size: 0.5rem;
    }
}

/* Amino Club–style shop COA dialog */
html.halo-coa-modal-open,
body.halo-coa-modal-open {
    overflow: hidden;
}
.halo-coa-modal[hidden] {
    display: none !important;
}
.halo-coa-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'Outfit', system-ui, sans-serif;
}
.halo-coa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.halo-coa-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 22.5rem;
    max-height: min(92vh, 42rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.2rem 1.2rem 1rem;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    outline: none;
}
.halo-coa-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.halo-coa-modal__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
    line-height: 1.15;
}
.halo-coa-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.15rem -0.2rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    border-radius: 999px;
}
.halo-coa-modal__close:hover,
.halo-coa-modal__close:focus-visible {
    background: #f3f4f6;
}
.halo-coa-modal__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
}
.halo-coa-modal__sizes[hidden] {
    display: none !important;
}
.halo-coa-modal__size {
    appearance: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #9ca3af;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
}
.halo-coa-modal__size.is-active {
    background: #111;
    border-color: #111;
    color: #fff;
}
.halo-coa-modal__hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    background: #f3f4f6;
    border-radius: 1rem;
    margin-bottom: 0.85rem;
}
.halo-coa-modal__purity {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111;
    line-height: 1;
}
.halo-coa-modal__purity-label {
    margin-top: 0.28rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}
.halo-coa-modal__lot-wrap {
    text-align: right;
}
.halo-coa-modal__lot-wrap[hidden] {
    display: none !important;
}
.halo-coa-modal__lot {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}
.halo-coa-modal__tested {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}
.halo-coa-modal__lab {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.35;
}
.halo-coa-modal__lab[hidden] {
    display: none !important;
}
.halo-coa-modal__lab-icon {
    display: inline-flex;
    color: #22c55e;
    flex-shrink: 0;
}
.halo-coa-modal__lab-icon svg {
    display: block;
}
.halo-coa-modal__rows {
    margin: 0 0 1rem;
}
.halo-coa-modal__row {
    display: grid;
    grid-template-columns: 1fr auto 3.7rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.8125rem;
}
.halo-coa-modal__row:last-child {
    border-bottom: 0;
}
.halo-coa-modal__row-label {
    color: #111;
    font-weight: 500;
}
.halo-coa-modal__row-value {
    color: #111;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
.halo-coa-modal__badge {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.15rem;
    padding: 0.12rem 0.38rem;
    border-radius: 0.35rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}
.halo-coa-modal__badge--pass {
    background: #22c55e;
    color: #fff;
}
.halo-coa-modal__badge--reported {
    background: #e5e7eb;
    color: #4b5563;
}
.halo-coa-modal__full,
.halo-coa-modal__product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
}
.halo-coa-modal__full {
    background: #111;
    color: #fff !important;
    margin-bottom: 0.55rem;
}
.halo-coa-modal__full:hover,
.halo-coa-modal__full:focus {
    background: #000;
    color: #fff !important;
}
.halo-coa-modal__product {
    background: #fff;
    color: #111 !important;
    border: 1.5px solid #111;
    margin-bottom: 0.85rem;
}
.halo-coa-modal__product:hover,
.halo-coa-modal__product:focus {
    background: #f9fafb;
    color: #111 !important;
}
.halo-coa-modal__full[hidden],
.halo-coa-modal__product[hidden] {
    display: none !important;
}
.halo-coa-modal__full svg,
.halo-coa-modal__product svg {
    display: block;
    flex-shrink: 0;
}
.halo-coa-modal__foot {
    margin: 0;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #c0c4cc;
    line-height: 1.4;
}
@media (max-width: 479px) {
    .halo-coa-modal {
        padding: 0.65rem;
        align-items: flex-end;
    }
    .halo-coa-modal__panel {
        max-width: none;
        border-radius: 1.25rem;
        max-height: 92vh;
    }
}
.halo-shop-card .halo-shop-card__media,
.halo-shop-card .halo-product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;
    background:
        radial-gradient(120% 80% at 50% 18%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #e8f2fb 0%, #f2f7fd 48%, #e7eef8 100%) !important;
    border-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
.halo-shop-card__stack-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.halo-shop-card__image {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 0.4rem 0.35rem !important;
    box-sizing: border-box;
}
/* Same media slot for every shop card — square/vial/gear all object-fit inside it. */
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__image img,
.woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img:not(.halo-shop-stack-image),
.woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-vial-image,
.woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-square-image,
.woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-gear-image,
ul.products li.product.halo-shop-card .halo-shop-card__image img,
ul.products li.product.halo-shop-card .halo-product-card__media img:not(.halo-shop-stack-image) {
    width: auto !important;
    max-width: 78% !important;
    height: auto !important;
    max-height: 90% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 18px 28px rgba(24, 72, 120, 0.18));
    transition: transform 0.45s ease;
}
.halo-shop-card:hover .halo-shop-card__image img {
    transform: scale(1.03);
}
/* Halo body: title+tagline | From+price, then ATC */
.halo-shop-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    flex: 1 1 auto;
}
.halo-shop-card__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.625rem;
}
.halo-shop-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.125rem;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 2.85em; /* title (up to 2 lines) + tagline slot */
}
.halo-shop-card__title-link {
    color: inherit !important;
    text-decoration: none !important;
}
.halo-shop-card__title-link:hover .halo-shop-card__title {
    color: #2A6AD0 !important;
}
.halo-shop-card__title {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    min-height: 1.35em;
    max-height: none !important; /* line-clamp already caps at 2 lines; em max-height clips desktop */
    color: #242424 !important;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.halo-shop-card__tagline {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    min-height: 1.25em;
    color: #6b7280 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.halo-shop-card__tagline--desktop {
    display: none;
}
.halo-shop-card__tagline--mobile {
    display: block;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.halo-shop-card__price-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
/* Ascend-style: "From $95.00" on one line */
.halo-shop-card__from {
    display: inline !important;
    margin: 0 0.2em 0 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit;
    color: inherit !important;
}
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__price,
.woocommerce ul.products li.product.halo-shop-card .price.halo-shop-card__price,
ul.products li.product.halo-shop-card .halo-shop-card__price,
.halo-shop-card__price {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #242424 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
}
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__price .woocommerce-Price-amount,
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__price .amount,
.halo-shop-card__price .woocommerce-Price-amount,
.halo-shop-card__price .amount {
    color: #242424 !important;
    font-weight: 600 !important;
}
@media (min-width: 768px) {
    .halo-shop-card__body {
        gap: 0.75rem;
        padding: 1rem;
    }
    .halo-shop-card__title {
        font-size: 1.125rem !important;
        line-height: 1.5 !important; /* room for descenders; 1.35 clipped “Ipamorelin” */
        min-height: 1.5em;
        max-height: none !important;
        padding: 0 0 0.15em !important;
    }
    .woocommerce ul.products li.product.halo-shop-card .halo-shop-card__price,
    ul.products li.product.halo-shop-card .halo-shop-card__price,
    .halo-shop-card__price {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
    }
    .halo-shop-card__copy {
        min-height: calc(3em + 1rem + 0.125rem); /* 2-line title + tagline + gap */
    }
    .halo-shop-card__tagline--desktop {
        display: block;
        font-size: 0.8125rem !important;
        line-height: 1rem !important;
    }
    .halo-shop-card__tagline--mobile {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    .colton-shop-layout--has-reset {
        flex-direction: column !important;
        gap: 1.25rem !important;
    }
    .colton-shop-reset-aside {
        display: none !important;
    }
    .colton-shop-layout--has-reset > main {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .halo-shop-card__copy {
        min-height: 1.5em;
    }
    .halo-shop-card__tagline--desktop {
        display: none !important;
    }
    .halo-shop-card__tagline--mobile {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        overflow: hidden;
        font-size: 0.8125rem !important;
        line-height: 1.25 !important;
    }
}
/* Cart flow opens the cart drawer — hide Woo's inline "View cart" link. */
.halo-shop-card a.added_to_cart,
.halo-shop-card .added_to_cart.wc-forward {
    display: none !important;
}

/* "Select size" — flush above Add to cart */
.halo-shop-card__size-pop {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    /* Sit just above the ATC pill (body pad + h-10 button + gap). */
    bottom: calc(1rem + 40px + 0.75rem);
    z-index: 12;
    display: flex;
    flex-direction: column;
    /* Grow to fit ~5 size rows (10–60 mg); scroll only if a product has many more. */
    max-height: 22rem;
    padding: 0.75rem 0.8rem 0.8rem;
    border-radius: 18px;
    background: #ffffff !important;
    color: #0f172a !important;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08);
    animation: haloShopSizePopIn 0.16s ease;
}
.halo-shop-card__size-pop[hidden] {
    display: none !important;
}
.halo-shop-card.is-size-open .halo-shop-card__atc--needs-size {
    box-shadow: 0 0 0 2px #2A6AD0 !important;
}
@keyframes haloShopSizePopIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.halo-shop-card__size-title {
    flex: 0 0 auto;
    margin: 0 0 0.5rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #64748b !important;
}
.halo-shop-card__size-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    max-height: 100%;
    padding-right: 0.1rem;
    -webkit-overflow-scrolling: touch;
}
.halo-shop-card__size-option {
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto;
    gap: 0.75rem;
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0.45rem 0.85rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #f1f3f6 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
.halo-shop-card__size-option:hover:not(:disabled):not(.is-disabled) {
    background: #e7edf6 !important;
    box-shadow: 0 0 0 1px rgba(42, 106, 208, 0.2) !important;
}
.halo-shop-card__size-option:disabled,
.halo-shop-card__size-option.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
}
.halo-shop-card__size-label {
    font-weight: 600 !important;
    color: #0f172a !important;
}
.halo-shop-card__size-price {
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap;
}
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__atc,
.woocommerce ul.products li.product.halo-shop-card a.halo-shop-card__atc.button,
.woocommerce ul.products li.product.halo-shop-card button.halo-shop-card__atc,
.woocommerce ul.products li.product.halo-shop-card a.halo-shop-card__atc--link,
ul.products li.product.halo-shop-card .halo-shop-card__atc {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 2.5rem !important;
    min-height: 2.5rem !important;
    margin: 0 !important;
    margin-top: auto !important;
    padding: 0 1.5rem !important;
    border: 0 !important;
    border-radius: 110px !important;
    background: #2A6AD0 !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
}
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__atc:hover,
.woocommerce ul.products li.product.halo-shop-card a.halo-shop-card__atc.button:hover,
ul.products li.product.halo-shop-card .halo-shop-card__atc:hover {
    background: #1E56B0 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(30, 86, 176, 0.28) !important;
}
.halo-shop-card__atc.is-loading {
    opacity: 0.72;
    pointer-events: none;
}
.halo-shop-card__atc.is-added,
.woocommerce ul.products li.product.halo-shop-card .halo-shop-card__atc.is-added {
    background: #1E56B0 !important;
}
.halo-shop-card__atc:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none !important;
}
.halo-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-sizing: border-box;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #6ec8f5 0%, #4aa3e8 48%, #2f7ad4 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    box-shadow: 0 8px 18px rgba(47, 122, 212, 0.28);
}
.halo-coming-soon svg {
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}
.woocommerce ul.products li.product.halo-shop-card .halo-coming-soon--shop,
ul.products li.product.halo-shop-card .halo-coming-soon--shop,
.halo-coming-soon--shop {
    width: 100%;
    height: 2.5rem;
    min-height: 2.5rem;
    margin-top: auto;
    padding: 0 1.25rem;
    font-size: 0.875rem;
}
.ax-popular .halo-coming-soon--shop {
    min-width: 10.5rem;
    min-height: 2.75rem;
    height: 2.75rem;
    font-size: 0.92rem;
    box-shadow: 0 10px 22px rgba(42, 106, 208, 0.28);
}
/* Keep shop cards badge-free like Halo. */
.halo-shop-card .halo-product-card__badge-layer,
.halo-shop-card .halo-product-corner-badge,
.halo-shop-card .onsale {
    display: none !important;
}
@media (max-width: 767px) {
    /* Beat legacy fixed 10.5rem media height so vials fill the card. */
    .woocommerce ul.products li.product.halo-shop-card .halo-shop-card__media,
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media,
    ul.products li.product.halo-shop-card .halo-shop-card__media,
    ul.products li.product.halo-shop-card .halo-product-card__media {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .woocommerce ul.products li.product.halo-shop-card .halo-shop-card__image,
    .woocommerce ul.products li.product.halo-shop-card .product-image-container,
    ul.products li.product.halo-shop-card .halo-shop-card__image,
    ul.products li.product.halo-shop-card .product-image-container {
        padding: 0.15rem 0.1rem 0.1rem !important;
    }
    .woocommerce ul.products li.product.halo-shop-card .halo-shop-card__image img,
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img:not(.halo-shop-stack-image),
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-vial-image,
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-square-image,
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media img.halo-shop-gear-image,
    ul.products li.product.halo-shop-card .halo-shop-card__image img,
    ul.products li.product.halo-shop-card .halo-product-card__media img:not(.halo-shop-stack-image) {
        width: auto !important;
        max-width: 96% !important;
        height: auto !important;
        max-height: 98% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media--stack .product-image-container,
    ul.products li.product.halo-shop-card .halo-product-card__media--stack .product-image-container {
        padding: 0 !important;
    }
    .woocommerce ul.products li.product.halo-shop-card .halo-product-card__media--stack img.halo-shop-stack-image,
    ul.products li.product.halo-shop-card .halo-product-card__media--stack img.halo-shop-stack-image {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        height: 100% !important;
    }
    .halo-shop-card__size-pop {
        left: 0.55rem;
        right: 0.55rem;
        bottom: calc(0.75rem + 40px + 0.5rem);
        max-height: 20rem;
        padding: 0.7rem 0.7rem 0.75rem;
        border-radius: 16px;
    }
    .halo-shop-card__size-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.45rem !important;
    }
    .halo-shop-card__size-option {
        min-height: 36px !important;
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    /* Skip layout for catalog cards below the first two rows until they scroll in. */
    .woocommerce ul.products li.product.halo-shop-card:nth-child(n+5),
    ul.products li.product.halo-shop-card:nth-child(n+5) {
        content-visibility: auto;
        contain-intrinsic-size: auto 280px;
    }
    /* Two-col mobile: don't squeeze the name next to "From $xx". */
    .halo-shop-card__top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }
    .halo-shop-card__copy {
        min-height: 0;
        width: 100%;
        flex: 1 1 auto;
    }
    .halo-shop-card__title {
        font-size: 0.9375rem !important;
        line-height: 1.3 !important;
        min-height: 0;
        display: block !important;
        overflow: visible !important;
        white-space: normal !important;
        -webkit-line-clamp: unset;
        max-height: none !important;
    }
    .halo-shop-card__price-wrap {
        align-items: flex-end;
        width: 100%;
    }
    .halo-shop-card__tagline--mobile {
        white-space: normal;
        -webkit-line-clamp: 2;
    }
}

/* ============================================
   ASCEND-STYLE CART (drawer + /cart/ page)
   ============================================ */
.halo-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 10050;
    pointer-events: none;
    overflow: hidden; /* keep closed panel from widening the page */
}
.halo-cart-drawer.is-open { pointer-events: auto; }
.halo-cart-drawer:not(.is-open) .halo-cart-drawer__panel {
    visibility: hidden;
    width: 0 !important;
    max-width: 0 !important;
    overflow: hidden;
}
.halo-cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.halo-cart-drawer.is-open .halo-cart-drawer__backdrop { opacity: 1; }
.halo-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(460px, 100%);
    height: 100%;
    background: #fff;
    color: #0f172a;
    box-shadow: -16px 0 48px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}
.halo-cart-drawer.is-open .halo-cart-drawer__panel { transform: translateX(0); }
.halo-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 0 0 auto;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}
@media (min-width: 640px) {
    .halo-cart-drawer__header { padding: 1.15rem 1.5rem; }
}
.halo-cart-drawer__title {
    margin: 0;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}
@media (min-width: 640px) {
    .halo-cart-drawer__title { font-size: 1.125rem; }
}
.halo-cart-drawer__close {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    cursor: pointer;
    transition: background 0.2s ease;
}
.halo-cart-drawer__close:hover { background: #f1f5f9; }
.halo-cart-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.halo-cart-drawer__body.is-loading {
    opacity: 0.55;
    pointer-events: none;
}
/* Keep qty ± usable even if a coupon/upsell path still sets is-loading. */
.halo-cart-drawer__body.is-loading .halo-asc-cart__qty,
.halo-cart-drawer__body.is-loading .halo-asc-cart__qty-btn {
    pointer-events: auto;
}
/* Qty sync: keep steppers clickable; soft-dim footer/totals only */
.halo-cart-drawer__body.is-syncing .halo-asc-mini__footer {
    opacity: 0.72;
    transition: opacity 0.15s ease;
}
.halo-asc-cart__item.is-removing {
    display: none !important;
}
.halo-asc-page.is-syncing .halo-asc-page__aside {
    opacity: 0.72;
    transition: opacity 0.15s ease;
}
body.halo-cart-drawer-open { overflow: hidden; }

/* Mini layout */
.halo-asc-mini {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.halo-asc-mini__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem 1rem;
}
@media (min-width: 640px) {
    .halo-asc-mini__scroll { padding: 1rem 1.5rem; }
}
.halo-asc-mini__footer {
    flex: 0 0 auto;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1rem 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
@media (min-width: 640px) {
    .halo-asc-mini__footer {
        padding: 1rem 1.5rem 1.25rem;
        gap: 0.85rem;
    }
}

/* Shipping progress */
.halo-asc-cart__ship {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.65rem 1rem 0.75rem;
}
@media (min-width: 640px) {
    .halo-asc-cart__ship { padding: 0.75rem 1.5rem 0.85rem; }
}
.halo-asc-cart__ship--page {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin: 0 0 1rem;
    background: #fff;
}
.halo-asc-cart__ship-msg {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.75rem;
    color: #334155;
    line-height: 1.35;
}
@media (min-width: 640px) {
    .halo-asc-cart__ship-msg { font-size: 0.875rem; }
}
.halo-asc-cart__ship-msg svg { flex-shrink: 0; color: #4a8dff; }
.halo-asc-cart__ship-msg--ok {
    color: #4a8dff;
    font-weight: 600;
}
.halo-asc-cart__ship-amt {
    font-weight: 700;
    color: #4a8dff;
}
.halo-asc-cart__ship-bar {
    margin-top: 0.5rem;
    height: 0.5rem;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}
.halo-asc-cart__ship-cutoff {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}
@media (min-width: 640px) {
    .halo-asc-cart__ship-cutoff { font-size: 0.8125rem; }
}
.halo-asc-cart__ship-cutoff-time {
    font-weight: 700;
    color: #0b1f3d;
}
.halo-asc-cart__ship-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6ac6 0%, #4a8dff 100%);
    transition: width 0.5s ease;
}

/* Line items */
.halo-asc-cart__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.halo-asc-cart__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease;
}
.halo-asc-cart__item:hover { border-color: #e2e8f0; }
.halo-asc-cart__thumb {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
}
.halo-asc-cart__thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.halo-asc-cart__thumb img {
    width: 125% !important;
    height: 125% !important;
    max-width: none !important;
    object-fit: contain !important;
}
.halo-asc-cart__meta {
    flex: 1;
    min-width: 0;
}
.halo-asc-cart__meta-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}
.halo-asc-cart__name-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.halo-asc-cart__remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.15s ease;
    line-height: 0;
    margin-top: 0.05rem;
}
.halo-asc-cart__remove:hover { color: #dc2626; }
.halo-asc-cart__name {
    margin: 0;
    max-width: 100%;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.375;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.halo-asc-cart__name a {
    color: inherit;
    text-decoration: none;
}
.halo-asc-cart__name a:hover { color: #27599f; }
.halo-asc-cart__size {
    display: inline-block;
    margin-top: 0.1875rem;
    padding: 0.1875rem 0.5rem;
    border-radius: 4px;
    background: #d3def6;
    color: #3559a6;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
.halo-asc-cart__vials {
    display: block;
    margin-top: 0.25rem;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: #64748b;
    white-space: normal;
}
.halo-asc-cart__meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.375rem;
}
.halo-asc-cart__qty {
    display: inline-flex;
    align-items: center;
    min-width: 5.5rem;
    min-height: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
.halo-asc-cart__qty-btn,
.halo-asc-cart__qty .quantity button {
    width: 1.875rem !important;
    height: 1.875rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    background: transparent !important;
    color: #475569 !important;
    cursor: pointer;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}
.halo-asc-cart__qty-btn svg,
.halo-asc-cart__qty .quantity button svg {
    pointer-events: none;
}
.halo-asc-cart__qty-btn:hover,
.halo-asc-cart__qty .quantity button:hover { color: #0f172a !important; }
.halo-asc-cart__qty-val,
.halo-asc-cart__qty .quantity input.qty,
.halo-asc-cart__qty input.mini-qty-display {
    width: 1.875rem !important;
    min-width: 1.875rem !important;
    height: 1.875rem !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}
.halo-asc-cart__qty input.mini-qty-display::-webkit-outer-spin-button,
.halo-asc-cart__qty input.mini-qty-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.halo-asc-cart__qty .quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    width: auto !important;
}
.halo-asc-cart__qty .quantity input::-webkit-outer-spin-button,
.halo-asc-cart__qty .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.halo-asc-cart__line-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}
.halo-asc-cart__price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.halo-asc-cart__was,
del.halo-asc-cart__was {
    display: inline !important;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1;
    text-decoration: line-through !important;
}
.halo-asc-cart__was .amount,
.halo-asc-cart__was .woocommerce-Price-amount,
.halo-asc-cart__was bdi {
    color: inherit;
    font-weight: 400;
    text-decoration: line-through !important;
}
.halo-asc-cart__line-total {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.halo-asc-cart__line-total--free {
    color: #16a34a;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.halo-asc-cart__free-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.2rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.halo-asc-cart__qty--free {
    min-width: 2.25rem;
    justify-content: center;
}
.halo-asc-cart__bundle-msg {
    margin: 0.25rem 0 0;
    text-align: right;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    color: #4a8dff;
}

/* Upsell / promo / totals / CTAs */
.halo-asc-cart__upsell {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.625rem 0.7rem;
}
.halo-asc-mini__scroll > .halo-asc-cart__upsell[data-halo-bac-upsell],
.halo-asc-cart__form > .halo-asc-cart__upsell[data-halo-bac-upsell] {
    margin-top: 0.65rem;
    border-color: #c5d4f0;
    background: #f3f7ff;
}
@media (min-width: 640px) {
    .halo-asc-cart__upsell {
        border-radius: 14px;
        padding: 0.75rem 0.85rem;
    }
}
.halo-asc-cart__upsell-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.halo-asc-cart__upsell-thumb {
    width: 3.5rem;
    height: auto;
    aspect-ratio: 240 / 354;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 640px) {
    .halo-asc-cart__upsell-thumb { width: 4rem; }
}
.halo-asc-cart__upsell-thumb img,
.halo-asc-cart__upsell-img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center;
}
.halo-asc-cart__upsell-body { flex: 1; min-width: 0; }
.halo-asc-cart__upsell-copy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.halo-asc-cart__upsell--gummies .halo-asc-cart__upsell-thumb {
    aspect-ratio: 1 / 1;
}
.halo-asc-cart__upsell--gummies .halo-asc-cart__upsell-title {
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}
.halo-asc-cart__upsell-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .halo-asc-cart__upsell-title { font-size: 0.875rem; }
}
.halo-asc-cart__upsell-badge {
    display: inline-block;
    margin-top: 0;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(39, 89, 159, 0.1);
    color: #27599f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}
.halo-asc-cart__upsell-sizes {
    display: inline-flex;
    margin-top: 0.35rem;
    overflow: hidden;
    border-radius: 7px;
    background: #d3def6;
}
.halo-asc-cart__upsell-size {
    padding: 0.32rem 0.65rem;
    font-size: 11px;
    font-weight: 600;
    color: #3559a6;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}
.halo-asc-cart__upsell-size.is-active,
.halo-asc-cart__upsell-size:hover {
    background: #27599f;
    color: #fff;
}
.halo-asc-cart__upsell-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-top: 0.375rem;
}
.halo-asc-cart__upsell-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.halo-asc-cart__upsell-add {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.15s ease;
}
.halo-asc-cart__upsell-add svg {
    width: 12px;
    height: 12px;
}
.halo-asc-cart__upsell-add:hover {
    background: #2a2a2a;
    color: #fff;
}

.halo-asc-cart__promo {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.halo-asc-cart__promo-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.01em;
}
.halo-asc-cart__promo-applied-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.halo-asc-cart__promo-row {
    display: flex;
    gap: 0.5rem;
}
/* Beat Tailwind forms `[type=text]{border-radius:0}` (loads after style.css). */
input[type="text"].halo-asc-cart__promo-input.halo-cart-coupon-code,
input#halo-drawer-coupon-code.halo-asc-cart__promo-input,
input#halo-cart-coupon-code.halo-asc-cart__promo-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px !important;
    background: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #0f172a;
    outline: none;
}
input[type="text"].halo-asc-cart__promo-input.halo-cart-coupon-code:focus,
input#halo-drawer-coupon-code.halo-asc-cart__promo-input:focus,
input#halo-cart-coupon-code.halo-asc-cart__promo-input:focus {
    border-color: #2a6ad0;
    box-shadow: 0 0 0 3px rgba(42, 106, 208, 0.12);
}
.halo-asc-cart__promo-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: linear-gradient(90deg, #1f4f97 0%, #27599f 50%, #2f6ac6 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.halo-asc-cart__promo-btn:hover { filter: brightness(1.08); }
.halo-asc-cart__promo-btn[disabled] { opacity: 0.6; cursor: default; }
.halo-asc-cart__promo-msg:empty { display: none; }
.halo-asc-cart__promo-msg .woocommerce-error,
.halo-asc-cart__promo-msg .woocommerce-message {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
}
.halo-asc-cart__promo-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: #d3def6;
    color: #3559a6;
    font-size: 0.8rem;
    font-weight: 600;
}
.halo-asc-cart__promo-remove {
    color: #3559a6;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}
.halo-asc-cart__promo-remove:hover { color: #27599f; }

.halo-asc-cart__totals {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.halo-asc-cart__totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}
@media (min-width: 640px) {
    .halo-asc-cart__totals-row { font-size: 0.875rem; }
}
.halo-asc-cart__totals-row--save { color: #4a8dff; }
.halo-asc-cart__totals-row--total {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.45rem;
    margin-top: 0.15rem;
    font-size: 0.9rem;
}
@media (min-width: 640px) {
    .halo-asc-cart__totals-row--total { font-size: 1rem; }
}
.halo-asc-cart__free {
    color: #16a34a;
    font-weight: 700;
}
.halo-asc-cart__totals-row--ship-pending .halo-asc-cart__ship-pending {
    color: #64748b;
    font-weight: 700;
}
.halo-asc-cart__checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4f97 0%, #27599f 50%, #2f6ac6 100%);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter 0.15s ease;
}
.halo-asc-cart__checkout:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

/* Ascend-style express wallets under checkout CTA */
.halo-asc-cart__express {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.5rem;
}
.halo-asc-cart__express-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.halo-asc-cart__express-divider::before,
.halo-asc-cart__express-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e2e8f0;
}
.halo-asc-cart__express-mounts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}
.halo-asc-cart__express-mounts:empty { display: none; }
/* Keep Attestly ECE hosts visible while empty — Apple Pay will not offer itself in display:none. */
.halo-asc-cart__express-host:empty:not([data-attestly-cart-express]) { display: none !important; }
.halo-asc-cart__express-mounts #wc-stripe-express-checkout-element,
.halo-asc-cart__express-mounts #wcpay-express-checkout-element,
.halo-asc-cart__express-mounts .wcpay-express-checkout-wrapper,
.halo-asc-cart__express-mounts .woocommerce-pay-buttons,
.halo-asc-cart__express-mounts .ppcp-button-apm,
.halo-asc-cart__express-mounts #wc-square-digital-wallet,
.halo-asc-cart__express-mounts [data-attestly-cart-express] {
    width: 100%;
    margin: 0 !important;
}
.halo-asc-cart__express-mounts [data-attestly-cart-express] {
    min-height: 96px;
    margin-bottom: 0.5rem !important;
}
.halo-asc-cart__express-mounts [data-attestly-cart-express][hidden] {
    display: none !important;
}
.halo-asc-cart__express.is-live [data-attestly-cart-express] {
    display: block !important;
    min-height: 96px;
}
.halo-asc-cart__express.is-express-pending [data-attestly-cart-express]:not([hidden]) {
    min-height: 96px;
}
.halo-asc-cart__express-mounts [data-attestly-cart-express] iframe {
    max-width: 100% !important;
}
/* Stacked Ascend wallet strip */
.halo-asc-cart__express.is-live .halo-asc-cart__express-mounts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.halo-asc-cart__express-mounts .woocommerce-pay-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.halo-asc-cart__express-mounts .woocommerce-pay-buttons > div:empty { display: none; }
.halo-asc-cart__express-shells {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}
.halo-asc-cart__express-shells[hidden] { display: none !important; }
.halo-asc-cart__express.is-live .halo-asc-cart__express-shells { display: none !important; }
.halo-asc-cart__express-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: #000;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.halo-asc-cart__express-btn:hover {
    filter: brightness(1.12);
    color: #fff !important;
}
.halo-asc-cart__express-btn:active { transform: scale(0.985); }
.halo-asc-cart__express-apple-mark,
.halo-asc-cart__express-gpay-mark {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.halo-asc-cart__express-btn-label { white-space: nowrap; }
@media (max-width: 379px) {
    .halo-asc-cart__express-shells {
        grid-template-columns: 1fr;
    }
}

/* Mobile drawer: same layout, tighter scale so products stay visible */
@media (max-width: 639px) {
    .halo-cart-drawer__header {
        padding: 0.65rem 0.85rem;
    }
    .halo-cart-drawer__title {
        font-size: 0.95rem;
    }
    .halo-cart-drawer__close {
        width: 1.75rem;
        height: 1.75rem;
    }
    .halo-asc-cart__ship {
        padding: 0.45rem 0.85rem 0.5rem;
    }
    .halo-asc-cart__ship-msg {
        font-size: 0.68rem;
        gap: 0.28rem;
        line-height: 1.25;
    }
    .halo-asc-cart__ship-msg svg {
        width: 13px;
        height: 13px;
    }
    .halo-asc-cart__ship-bar {
        margin-top: 0.3rem;
        height: 0.3rem;
    }
    .halo-asc-cart__ship-cutoff {
        margin-top: 0.3rem;
        font-size: 0.62rem;
    }
    .halo-asc-mini__scroll {
        padding: 0.55rem 0.75rem 0.65rem;
    }
    .halo-asc-cart__list {
        gap: 0.4rem;
    }
    .halo-asc-cart__item {
        gap: 0.55rem;
        padding: 0.45rem;
        border-radius: 10px;
    }
    .halo-asc-cart__thumb {
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 6px;
    }
    .halo-asc-cart__name {
        font-size: 0.95rem;
        line-height: 1.25;
    }
    .halo-asc-cart__size {
        margin-top: 0.12rem;
        font-size: 10px;
        padding: 0.12rem 0.4rem;
    }
    .halo-asc-cart__meta-bottom {
        margin-top: 0.28rem;
        gap: 0.4rem;
    }
    .halo-asc-cart__qty {
        min-width: 6.25rem;
        min-height: 2.25rem;
    }
    .halo-asc-cart__qty-btn,
    .halo-asc-cart__qty .quantity button {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }
    .halo-asc-cart__qty-val,
    .halo-asc-cart__qty .mini-qty-display {
        font-size: 0.8rem;
    }
    .halo-asc-mini__footer {
        gap: 0.4rem;
        padding: 0.5rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    }
    .halo-asc-cart__upsell {
        padding: 0.45rem 0.5rem !important;
        border-radius: 10px;
        gap: 0.35rem;
    }
    .halo-asc-cart__upsell-row {
        gap: 0.45rem;
    }
    .halo-asc-cart__upsell-thumb {
        width: 2.75rem !important;
    }
    .halo-asc-cart__upsell-title {
        font-size: 0.72rem !important;
        line-height: 1.3;
    }
    .halo-asc-cart__upsell-badge {
        font-size: 8px;
        padding: 0.1rem 0.35rem;
    }
    .halo-asc-cart__upsell-sizes {
        gap: 0.25rem;
        margin-top: 0.2rem;
    }
    .halo-asc-cart__upsell-size {
        font-size: 0.65rem;
        padding: 0.18rem 0.45rem;
    }
    .halo-asc-cart__upsell-actions {
        margin-top: 0.2rem;
        gap: 0.35rem;
    }
    .halo-asc-cart__upsell-price {
        font-size: 0.75rem;
    }
    .halo-asc-cart__upsell-add {
        font-size: 0.65rem;
        padding: 0.28rem 0.55rem;
        gap: 0.2rem;
    }
    .halo-asc-cart__upsell-add svg {
        width: 10px;
        height: 10px;
    }
    .halo-asc-cart__promo {
        gap: 0.25rem;
    }
    .halo-asc-cart__promo-label {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }
    .halo-asc-cart__promo-row {
        gap: 0.35rem;
    }
    input[type="text"].halo-asc-cart__promo-input.halo-cart-coupon-code,
    input#halo-drawer-coupon-code.halo-asc-cart__promo-input,
    input#halo-cart-coupon-code.halo-asc-cart__promo-input {
        min-height: 2rem;
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
    }
    .halo-asc-cart__promo-btn {
        min-height: 2rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
    }
    .halo-asc-cart__totals {
        gap: 0.15rem;
    }
    .halo-asc-cart__totals-row {
        font-size: 0.72rem;
        line-height: 1.25;
    }
    .halo-asc-cart__totals-row--total {
        padding-top: 0.3rem;
        margin-top: 0.05rem;
        font-size: 0.85rem;
    }
    .halo-asc-cart__checkout {
        padding: 0.55rem 0.85rem;
        font-size: 0.78rem;
        gap: 0.3rem;
        border-radius: 999px;
    }
    .halo-asc-cart__checkout svg {
        width: 12px;
        height: 12px;
    }
    .halo-asc-cart__express {
        gap: 0.35rem;
    }
    .halo-asc-cart__express-divider {
        gap: 0.45rem;
        font-size: 0.55rem;
    }
    .halo-asc-cart__express-mounts {
        gap: 0.3rem;
    }
    .halo-asc-cart__express-mounts [data-attestly-cart-express],
    .halo-asc-cart__express.is-live [data-attestly-cart-express] {
        min-height: 88px;
        margin-bottom: 0 !important;
    }
    .halo-asc-cart__express-btn {
        min-height: 40px;
        padding: 0.4rem 0.65rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .halo-asc-cart__was {
        font-size: 0.65rem;
    }
    .halo-asc-cart__line-total {
        font-size: 0.8rem;
    }
    .halo-asc-cart__bundle-msg {
        margin-top: 0.15rem;
        font-size: 10px;
    }
}

.halo-asc-cart__continue {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.halo-asc-cart__continue:hover {
    background: #eef2f7;
    border-color: #94a3b8;
    color: #0f172a;
}
.halo-asc-cart__secure {
    display: none !important;
}
.halo-asc-cart__pay-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.halo-asc-cart__pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 3px;
    background: #1a1f71;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.halo-asc-cart__pay-badge--mc { background: #eb001b; }
.halo-asc-cart__pay-badge--amex { background: #016fd0; }
.halo-asc-cart__secure-note {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 10px;
    color: #64748b;
}
@media (min-width: 640px) {
    .halo-asc-cart__secure-note { font-size: 11px; }
}

/* Empty states */
.halo-asc-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.25rem;
    height: 100%;
}
.halo-asc-cart__empty--page { padding: 3rem 1.5rem; height: auto; }
.halo-asc-cart__empty-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.halo-asc-cart__empty-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}
.halo-asc-cart__empty--page .halo-asc-cart__empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}
.halo-asc-cart__empty-sub {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
}
.halo-asc-cart__empty-cta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4f97 0%, #27599f 50%, #2f6ac6 100%);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter 0.15s ease;
}
.halo-asc-cart__empty-cta:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

/* Full cart page */
body.woocommerce-cart {
    background: linear-gradient(180deg, #f3f7fc 0%, #eef3f9 55%, #f8fafc 100%);
}
body.woocommerce-cart .site-main > .w-full,
body.woocommerce-cart .entry-content {
    background: transparent;
}
.halo-asc-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1rem 3.5rem;
}
@media (min-width: 1024px) {
    .halo-asc-page { padding: 1rem 1.5rem 4.5rem; }
}
.halo-asc-page--empty {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.halo-asc-page__panel--empty {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
}
.halo-asc-page__top .woocommerce-notices-wrapper:empty,
.halo-asc-page__notices:empty { display: none; }
.halo-asc-page__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 960px) {
    .halo-asc-page__layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
}
.halo-asc-page__main { flex: 1; min-width: 0; }
.halo-asc-page__header { margin-bottom: 0.75rem; }
.halo-asc-page__title {
    margin: 0;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.halo-asc-page__count {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
}
.halo-asc-page__aside {
    width: 100%;
}
@media (min-width: 960px) {
    .halo-asc-page__aside {
        width: 360px;
        flex-shrink: 0;
    }
}
.halo-asc-page__summary {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: sticky;
    top: 96px;
}
@media (min-width: 640px) {
    .halo-asc-page__summary { padding: 1.25rem; }
}
.halo-asc-cart__form {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.woocommerce-cart .return-to-shop { display: none !important; }
body.woocommerce-cart .wc-empty-cart-message { display: none !important; }

.colton-categories-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.colton-categories-sidebar li {
    margin: 0 0 0.65rem;
}
.colton-categories-sidebar li a {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.colton-categories-sidebar li a:hover {
    color: #2A6AD0;
}

.halo-product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    font-size: 14px;
}
.halo-product-rating--pdp {
    font-size: 15px;
    margin-bottom: 0;
}
.halo-product-rating__star {
    color: #f4c430;
    flex-shrink: 0;
}
.halo-product-rating__value {
    font-weight: 700;
    color: #0f172a;
}
.halo-product-rating__count {
    color: #64748b;
    font-weight: 500;
}

/* Single product — layout + back to shop */
.halo-pdp-wrap {
    padding-top: 0.35rem !important;
    padding-bottom: 2.5rem !important;
}

.halo-pdp-back-nav {
    margin: 0 0 0.65rem;
}
.halo-back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem 0.28rem 0.28rem;
    border-radius: 9999px;
    border: 1px solid rgba(42, 106, 208, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
    color: #2A6AD0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.halo-back-to-shop:hover {
    border-color: #2A6AD0;
    background: #2A6AD0;
    color: #fff;
    box-shadow: 0 3px 10px rgba(42, 106, 208, 0.22);
    transform: translateX(-1px);
}
.halo-back-to-shop__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    background: rgba(42, 106, 208, 0.1);
    transition: background 0.2s ease;
}
.halo-back-to-shop:hover .halo-back-to-shop__icon {
    background: rgba(255, 255, 255, 0.2);
}
.halo-back-to-shop__label {
    line-height: 1;
    padding-right: 0.1rem;
}

/* Single product — larger gallery column */
.halo-pdp-media-col {
    width: 100%;
}
@media (min-width: 1024px) {
    .halo-pdp-media-col {
        position: sticky;
        top: 6rem;
    }
}

/* Shop product card corner badges */
.halo-product-card__media {
    position: relative;
    overflow: hidden;
    height: 10.5rem;
    background-color: #f8fafc; /* slate-50 — light vials visible on mobile */
}
.halo-product-card__badge-layer {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
}
.halo-product-card__media .product-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.25rem 0.35rem 0.15rem;
    box-sizing: border-box;
}
.halo-product-corner-badge {
    position: absolute;
    z-index: 13;
    display: inline-block;
    font-size: 7px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.35rem;
    border-radius: 0.2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.halo-product-corner-badge--hplc {
    top: 0.25rem;
    left: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.95);
}
.halo-product-corner-badge--featured,
.halo-product-corner-badge--new {
    top: 0.25rem;
    right: 0.25rem;
    left: auto;
    background: #2A6AD0;
    color: #fff;
}
.halo-product-corner-badge--new {
    background: #2A6AD0;
}
.woocommerce ul.products .halo-product-card__media .product-image-container img:not(.halo-shop-stack-image),
.woocommerce ul.products .halo-product-card__media img.halo-shop-vial-image {
    width: auto !important;
    height: auto !important;
    max-width: 76% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center center;
}
.halo-product-card__media--square {
    background: linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%);
}
.halo-product-card__media--square .product-image-container {
    padding: 0.65rem 0.7rem !important;
}
.woocommerce ul.products .halo-product-card__media--square .product-image-container img:not(.halo-shop-stack-image),
.woocommerce ul.products .halo-product-card__media img.halo-shop-square-image {
    max-width: 90% !important;
    max-height: 92% !important;
}
.halo-product-card__media--stack .product-image-container {
    padding: 0 !important;
}
.halo-product-card__media--stack .product-image-container img.halo-shop-stack-image,
.halo-product-card__media--stack img.halo-shop-stack-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}
@media (min-width: 768px) {
    .halo-product-card__media {
        height: 13rem;
    }
    .halo-product-card__media .product-image-container {
        padding: 0.3rem 0.45rem 0.2rem;
    }
    .halo-product-corner-badge {
        font-size: 8px;
        padding: 0.2rem 0.4rem;
    }
    .halo-product-corner-badge--hplc {
        top: 0.35rem;
        left: 0.35rem;
    }
    .halo-product-corner-badge--featured,
    .halo-product-corner-badge--new {
        top: 0.35rem;
        right: 0.35rem;
    }
    .woocommerce ul.products .halo-product-card__media .product-image-container img:not(.halo-shop-stack-image),
    .woocommerce ul.products .halo-product-card__media img.halo-shop-vial-image {
        max-width: 66% !important;
    }
    .halo-product-card__media--square .product-image-container {
        padding: 0.75rem 0.85rem !important;
    }
    .woocommerce ul.products .halo-product-card__media--square .product-image-container img:not(.halo-shop-stack-image),
    .woocommerce ul.products .halo-product-card__media img.halo-shop-square-image {
        max-width: 86% !important;
        max-height: 90% !important;
    }
    .halo-product-card__media--stack .product-image-container {
        padding: 0 !important;
    }
}
.woocommerce-product-gallery {
    position: relative;
}
.woocommerce-product-gallery .halo-product-corner-badge--featured,
.woocommerce-product-gallery .halo-product-corner-badge--new {
    top: 0.5rem;
    right: 0.5rem;
}

/* Homepage product grids — always 2 columns (2 rows of 4 products) */
ul.products.halo-home-products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
ul.products.halo-home-products::before,
ul.products.halo-home-products::after {
    display: none !important;
}
ul.products.halo-home-products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
@media (min-width: 768px) {
    ul.products.halo-home-products {
        gap: 1.5rem !important;
    }
}

/* ============================================================
   PRODUCT PAGE — DESKTOP POLISH
   Scoped to >=1024px only; phones and tablets are untouched.
   ============================================================ */
@media (min-width: 1024px) {
    /* Tighter two-column rhythm — less empty gutter */
    .woocommerce div.product.grid {
        column-gap: 2rem !important;
        align-items: flex-start !important;
    }

    /* Keep the gallery in view while the details/accordions scroll */
    .woocommerce div.product .halo-pdp-media-col {
        position: sticky !important;
        top: 6.5rem !important;
        align-self: flex-start !important;
        overflow: visible !important;
    }

    /* Premium framed look around the main image */
    .halo-pdp-media-col .halo-pdp-gallery__main {
        border: 1px solid rgba(42, 106, 208, 0.10) !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35) !important;
    }

    /* Title stays on one line when possible */
    .woocommerce div.product h1.product_title,
    .woocommerce div.product .product_title {
        font-size: 2.15rem !important;
        line-height: 1.12 !important;
        letter-spacing: -0.02em !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
    }

    /* Price as a clear focal point */
    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.85rem !important;
    }

    /* Dose buttons: keep 2x2, slightly roomier on desktop */
    .woocommerce div.product .variation-buttons-container {
        gap: 0.75rem !important;
        margin: 0.35rem 0 1rem !important;
    }
    .woocommerce div.product .variation-btn {
        font-size: 0.95rem !important;
        padding: 0.75rem 1rem !important;
        border-radius: 16px !important;
    }
    .woocommerce div.product table.variations .label,
    .woocommerce div.product table.variations .label label {
        padding: 0 0 0.35rem !important;
        margin: 0 !important;
        font-size: 0.7rem !important;
    }

    /* Add-to-cart: subtle lift + glow on hover */
    .woocommerce div.product .single_add_to_cart_button,
    .woocommerce div.product button.button.alt {
        box-shadow: 0 12px 24px -14px rgba(42, 106, 208, 0.6) !important;
        transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease !important;
    }
    .woocommerce div.product .single_add_to_cart_button:hover,
    .woocommerce div.product button.button.alt:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 20px 32px -14px rgba(42, 106, 208, 0.7) !important;
    }

    /* Accordion: a little depth and a clearer hover target */
    .halo-pdp-accordions .product-accordion {
        box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.45) !important;
    }
    .halo-pdp-accordions .product-accordion .accordion-header {
        padding-top: 1.15rem !important;
        padding-bottom: 1.15rem !important;
    }

    /* Slightly more readable intro copy */
    .summary.entry-summary .woocommerce-product-details__short-description {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        max-width: 42rem !important;
    }

    /* Reorder the summary into a proper buy box: title -> price -> add to
       cart -> description -> research notice -> accordions. Keeps the CTA
       above the fold instead of buried under the long description. */
    .woocommerce div.product .summary.entry-summary {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .woocommerce div.product .summary.entry-summary > * {
        margin-top: 0 !important;
        order: 8; /* research notice / misc default below the buy box */
    }
    .woocommerce div.product .summary.entry-summary > .halo-pdp-head,
    .woocommerce div.product .summary.entry-summary > div:first-child { order: 1; }      /* title + rating + badges */
    .woocommerce div.product .summary.entry-summary > .price { order: 2; margin: 0 !important; }
    .woocommerce div.product .summary.entry-summary > .stock { order: 3; margin: 0 !important; }
    .woocommerce div.product .summary.entry-summary > form.cart { order: 4; }
    .woocommerce div.product .summary.entry-summary > .wlr-product-message { order: 5; margin: 0 !important; }
    .woocommerce div.product .summary.entry-summary > .woocommerce-product-details__short-description { order: 6; margin: 0 !important; }
    .woocommerce div.product .summary.entry-summary > .product_meta { order: 7; margin: 0 !important; }

    /* Full-width details accordions: span both columns and fill the empty
       space under the (shorter) gallery column at the bottom of the page. */
    .woocommerce div.product .halo-pdp-accordions {
        grid-column: 1 / -1 !important;
    }

    /* Buy box emphasis: group price + cart visually under the title */
    .woocommerce div.product .summary.entry-summary > .price {
        padding-top: 0.15rem !important;
    }
    .woocommerce div.product .summary.entry-summary > form.cart {
        padding: 1.1rem !important;
        border: 1px solid rgba(42, 106, 208, 0.12) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.4) !important;
        margin: 0 !important;
    }
}

/* ============================================
 * MOBILE SNAPPY — reduce GPU / layout work
 * ============================================ */
@media (max-width: 767px) {
	header.sticky {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		background-color: rgba(248, 250, 252, 0.98) !important;
	}
	.reveal-on-scroll {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.btn-hover-effect:hover,
	.btn-hover-effect:active {
		transform: none !important;
	}
	.compact-testi-track,
	.testimonial-track,
	.halo-pdp-gallery__track {
		will-change: auto !important;
	}
	@media (prefers-reduced-motion: reduce) {
		*, *::before, *::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
			scroll-behavior: auto !important;
		}
	}
}

/* Member dashboard overview */
body.woocommerce-account .halo-dash-overview,
body.woocommerce-account .halo-dash-orders {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	box-sizing: border-box !important;
}
body.woocommerce-account .halo-dash-stats {
	display: grid !important;
	width: 100% !important;
}

/* My Account — Google / Apple create-account buttons */
.halo-social-login {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 0.25rem;
}
.halo-social-login__btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-height: 3.25rem;
	padding: 0.85rem 1rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.halo-social-login__btn--google {
	background: #fff;
	color: #1f2937;
	border: 1px solid #d1d5db;
}
.halo-social-login__btn--google:hover {
	background: #f8fafc;
	border-color: #9ca3af;
}
.halo-social-login__btn--apple {
	background: #111;
	color: #fff;
	border: 1px solid #111;
}
.halo-social-login__btn--apple:hover {
	background: #000;
}
.halo-social-login__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.halo-social-login__status {
	margin: 0;
	font-size: 0.8125rem;
	text-align: center;
	color: #64748b;
}
.halo-social-login__status.is-error {
	color: #dc2626;
}
.halo-social-login__divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.35rem 0 0.15rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.halo-social-login__divider::before,
.halo-social-login__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}
.halo-social-login__google-host {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
