/* =========================================================================
   Legacy Labs — WooCommerce styles (rem units; px only for hairline borders)
   ========================================================================= */

.wc-shell { padding-block: 2.25rem 4rem; }
.wc-shell--archive { display: grid; grid-template-columns: 16.25rem 1fr; gap: 2.5rem; align-items: start; }
.wc-shell--archive .site-main { order: 2; min-width: 0; }
.wc-shell--archive .shop-sidebar { order: 1; position: sticky; top: 8.125rem; }
.wc-shell--single { display: block; }

.woocommerce-breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.125rem; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--red); }

/* Brand all WooCommerce buttons (override WC core's grey defaults) */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--red); color: #fff; border: 0; border-radius: var(--radius);
	font-weight: 700; padding: 0.7rem 1.4rem; transition: background .15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--red-dark); color: #fff;
}
.woocommerce a.button.btn--ghost { background: transparent; color: var(--slate); border: 1px solid var(--line); }
.woocommerce a.button.btn--gold, .woocommerce button.button.btn--gold { background: var(--gold); }

.woocommerce-products-header__title,
.wc-shell .page-title { font-size: 1.8rem; margin-bottom: 0.5rem; }
.woocommerce-products-header { margin-bottom: 0.5rem; }

/* shop toolbar */
.shop-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.875rem 0; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.woocommerce-result-count { color: var(--muted); font-size: 0.88rem; margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
	border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.5625rem 0.75rem; background: #fff; font-family: inherit;
}

/* ---------- product grid / card ---------- */
ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.wc-shell--archive ul.products { grid-template-columns: repeat(3, 1fr); }
/* Neutralise WooCommerce's float layout so the grid is bulletproof:
   - kill the clearfix pseudo-elements that become stray grid items;
   - override li.product width:30.75% / float so each card fills its cell. */
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { content: none !important; display: none !important; }
ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }

.product-card,
ul.products li.product {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; list-style: none;
}
ul.products li.product { padding: 0; }
ul.products li.product::before { display: none; }
.product-card:hover,
ul.products li.product:hover { transform: translateY(-0.1875rem); box-shadow: var(--shadow-lg); }

.product-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.product-card__img { display: block; width: 100%; height: 100%; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* lab report hover bar on cards */
.lab-report-card {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	display: flex; align-items: center; justify-content: center; gap: 0.4rem;
	background: rgba(51, 62, 72, .94); color: #fff; padding: 0.55rem;
	font-size: 0.78rem; font-weight: 700;
	transform: translateY(100%); transition: transform .2s ease, background .15s ease;
}
.lab-report-card .ll-icon { width: 0.9rem; height: 0.9rem; }
.product-card:hover .lab-report-card, .product-card:focus-within .lab-report-card { transform: translateY(0); }
.lab-report-card:hover { background: var(--red); color: #fff; }
@media (hover: none) { .lab-report-card { transform: translateY(0); } }

/* gold discount bar across the top of the card (matches single-product VIP bar) */
.card-vip-bar {
	display: flex; align-items: center; gap: 0.35rem;
	background: linear-gradient(90deg, var(--gold), var(--gold-dark)); color: #fff;
	font-size: 0.76rem; font-weight: 600; padding: 0.45rem 0.7rem; line-height: 1.2;
	white-space: nowrap; overflow: hidden;
}
.card-vip-bar span { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* some active plugin forces `strong { display:block }`; force inline here */
.card-vip-bar strong { display: inline !important; white-space: nowrap; font-weight: 800; }
.card-vip-bar .ll-icon { width: 0.9rem; height: 0.9rem; flex: none; }
.card-vip-bar.is-guest { transition: filter .15s ease; }
.card-vip-bar.is-guest:hover { filter: brightness(1.06); color: #fff; }
.card-vip-bar__arrow { margin-left: auto; width: 0.95rem; height: 0.95rem; transform: rotate(-90deg); }

.product-card__body { padding: 0.875rem 1rem 1.125rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.product-card__cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); font-weight: 700; }
.product-card__title { font-size: 1rem; font-weight: 700; color: var(--slate); margin: 0; line-height: 1.3; }
.product-card__title a { color: var(--slate); }
.product-card__title a:hover { color: var(--red); }

/* Round discount badge (specificity matches WC core's span.onsale) */
.woocommerce span.onsale, .onsale {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	background: var(--red); color: #fff; font-weight: 800; font-size: 0.8rem;
	width: 3rem; height: 3rem; min-width: 0; min-height: 0; border-radius: 50%;
	display: grid; place-items: center; padding: 0; margin: 0; line-height: 1;
	box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.2);
}

.star-rating { color: var(--gold); font-size: 0.85rem; }
.product-card .price,
ul.products li.product .price,
.price { color: var(--ink); font-weight: 800; font-size: 1.1rem; margin: 0; }
.price del { color: var(--muted); opacity: .6; font-weight: 500; font-size: 0.9rem; margin-right: 0.375rem; }
.price ins { text-decoration: none; color: var(--ink); }

/* card prices: bold black; struck full price muted to highlight the sale price */
.product-card .price { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.product-card .price del { display: inline; color: var(--muted); opacity: .6; font-weight: 500; font-size: 0.95rem; }
.product-card .price ins,
.product-card .price ins bdi { text-decoration: none; font-weight: 800; color: var(--ink); }

/* back-in-stock notify (cards + single) */
.ll-bis { margin-top: auto; }
.ll-bis__toggle { width: 100%; gap: 0.45rem; font-size: 0.9rem; }
.ll-bis__toggle .ll-bis__icon { width: 1.05rem; height: 1.05rem; }
.ll-bis__form[hidden] { display: none; }
.ll-bis__form { margin-top: 0.6rem; }
.ll-bis__lead { font-size: 0.82rem; color: var(--muted); margin: 0 0 0.5rem; }
.ll-bis__row { display: flex; gap: 0.4rem; }
.ll-bis__email { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.6rem 0.7rem; font-family: inherit; font-size: 0.9rem; }
.ll-bis__submit { white-space: nowrap; padding: 0.6rem 1rem; }
.ll-bis__msg { font-size: 0.82rem; margin: 0.5rem 0 0; }
.ll-bis__msg.is-ok { color: var(--success); font-weight: 700; }
.ll-bis__msg.is-err { color: var(--red); font-weight: 600; }

/* card variant: solid button (no ghost border box) so rows stay uniform */
.ll-bis--card .ll-bis__toggle { background: var(--slate); color: #fff; border: 0; padding: 0.6rem 0.5rem; font-size: 0.85rem; white-space: nowrap; }
.ll-bis--card .ll-bis__toggle:hover { background: var(--red); color: #fff; }

/* single-product variant of the notify box */
.ll-bis--single { border: 1px solid var(--gold); background: var(--bg-cream); border-radius: var(--radius-lg); padding: 1rem; }
.ll-bis--single .ll-bis__toggle { background: var(--red); color: #fff; border-color: var(--red); }
.ll-bis--single .ll-bis__toggle:hover { background: var(--red-dark); }

ul.products li.product .button,
.product-card .button { margin-top: auto; width: 100%; }
ul.products li.product .added_to_cart { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; }

/* compact member flag (Prime-style) */
.member-flag {
	display: inline-flex; align-items: center; gap: 0.35rem; align-self: flex-start;
	font-size: 0.8rem; font-weight: 700; border-radius: 999px; padding: 0.22rem 0.62rem;
	white-space: nowrap; text-decoration: none;
}
.member-flag .ll-icon { width: 0.95rem; height: 0.95rem; flex: none; }
.member-flag.is-member { background: rgba(25,135,84,.12); color: var(--success); }
.member-flag.is-guest { background: var(--gold-soft); color: var(--gold-dark); }
.member-flag.is-guest:hover { background: var(--gold); color: #fff; }
.member-flag .woocommerce-Price-amount { font-weight: 800; }

/* pagination */
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 2.25rem 0 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: grid; place-items: center; min-width: 2.625rem; height: 2.625rem; padding: 0 0.75rem;
	border: 1px solid var(--line); border-radius: 0.5rem; color: var(--slate); font-weight: 600;
}
.woocommerce-pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- shop sidebar ---------- */
.shop-sidebar .widget { margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.shop-sidebar .widget:last-child { border-bottom: 0; }
.shop-sidebar .widget-title { font-size: 1rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); }
.shop-cats { list-style: none; margin: 0; padding: 0; }
.shop-cats li { margin: 0; }
.shop-cats a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.625rem; border-radius: 0.5rem; color: var(--ink); font-size: 0.92rem; }
.shop-cats a:hover { background: var(--bg-cream); color: var(--red); }
.shop-cats li.is-current a { background: var(--slate); color: #fff; font-weight: 700; }
.shop-cats__count { background: var(--bg-soft); color: var(--muted); font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 0.05rem 0.5rem; }
.shop-cats li.is-current .shop-cats__count { background: rgba(255,255,255,.2); color: #fff; }
.widget--member { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 1.25rem; }
.widget--member .widget-title { border-bottom: 0; padding-bottom: 0; }
.widget--member p { font-size: 0.88rem; color: var(--slate); }
.widget--member .btn { width: 100%; }

/* =========================================================================
   Single product — with breathing room
   ========================================================================= */
.wc-shell--single { padding-inline: clamp(0rem, 2vw, 1.5rem); }

/* 3-column above-the-fold: gallery | details | buy box */
.single-product .product-top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2rem; align-items: start; padding-block: 0.25rem 1rem;
}
/* gallery wrap is the positioning context for the round sale badge */
.product-gallery-wrap { position: relative; }
/* WooCommerce core sets div.summary { width:48%; float:right } — inside our grid
   that just shrinks it, leaving dead space. Let it fill its grid cell. */
.single-product div.product div.summary { width: 100% !important; float: none !important; clear: none !important; margin: 0 !important; }

/* Gallery column (gold VIP bar sits above the image) */
.product-gallery-col { min-width: 0; }
.single-product .woocommerce-product-gallery { margin: 0; float: none !important; width: 100% !important; }
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flex-viewport { width: 100% !important; margin: 0 0 0.75rem; }
.single-product .woocommerce-product-gallery__image { width: 100% !important; display: block; }
.single-product .woocommerce-product-gallery__image a { display: block; }
.single-product .woocommerce-product-gallery img,
.single-product .woocommerce-product-gallery__image img {
	border-radius: 0 0 var(--radius-lg) var(--radius-lg); border: 1px solid var(--line); width: 100% !important; height: auto; display: block;
}
.single-product .woocommerce-product-gallery__trigger { z-index: 5; }
.single-product .flex-control-thumbs { display: flex; gap: 0.5rem; list-style: none; margin: 0.75rem 0 0; padding: 0; flex-wrap: wrap; }
.single-product .flex-control-thumbs li { flex: 0 0 auto; width: 4.5rem; }
.single-product .flex-control-thumbs img { border-radius: 0.4rem; border: 1px solid var(--line); }

/* lab report button under the gallery */
.lab-report-btn {
	display: flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: 100%; margin-top: 0.85rem; padding: 0.8rem 1rem;
	background: var(--slate); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 0.92rem;
}
.lab-report-btn:hover { background: var(--red); color: #fff; }
.lab-report-btn .ll-icon { width: 1.1rem; height: 1.1rem; }

/* PDF lightbox */
.lab-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 3vmin; background: rgba(0, 0, 0, .72); }
.lab-modal.is-open { display: flex; }
.lab-modal__inner { position: relative; display: flex; flex-direction: column; width: min(60rem, 96vw); height: min(90vh, 62rem); background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lab-modal__bar { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.lab-modal__title { font-weight: 700; color: var(--slate); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-modal__open { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.lab-modal__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--slate); padding: 0 0.25rem; }
.lab-modal__close:hover { color: var(--red); }
.lab-modal__frame { flex: 1; width: 100%; border: 0; }

/* Gold VIP bar across the top of the gallery */
.vip-bar {
	display: flex; align-items: center; gap: 0.5rem;
	background: linear-gradient(90deg, var(--gold), var(--gold-dark));
	color: #fff; font-size: 0.86rem; line-height: 1.3;
	padding: 0.7rem 0.95rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.vip-bar .ll-icon { width: 1.15rem; height: 1.15rem; flex: none; }
.vip-bar strong { font-weight: 800; }
.vip-bar--guest { transition: filter .15s ease; }
.vip-bar--guest:hover { filter: brightness(1.06); color: #fff; }
.vip-bar__arrow { margin-left: auto; width: 1.1rem; height: 1.1rem; transform: rotate(-90deg); }

.single-product .product_title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.5rem; }

/* clamp the long short-description */
.woocommerce-product-details__short-description.is-clamped {
	display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.desc-toggle {
	background: none; border: 0; color: var(--red); font-weight: 700; cursor: pointer;
	padding: 0.25rem 0; font-size: 0.9rem; margin-bottom: 0.75rem;
}
.desc-toggle:hover { color: var(--red-dark); text-decoration: underline; }

/* ---------- Amazon-style buy box ---------- */
.product-buybox { position: sticky; top: 8.125rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.product-buybox .buybox__info > *:first-child { margin-top: 0; }
.product-buybox .buybox__info img { max-width: 100%; height: auto; }
.buybox__card {
	border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.1rem;
	background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.6rem;
}
.buybox__price { font-size: 1.7rem; font-weight: 800; color: var(--red); }
.buybox__price del { color: var(--muted); font-weight: 500; font-size: 1rem; margin-right: 0.4rem; }
.buybox__price ins { text-decoration: none; }
.buybox__card .ll-stock { align-self: flex-start; margin: 0; }
.buybox__card p.stock { margin: -0.1rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.buybox__card form.cart { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; align-items: stretch; }
.buybox__card form.cart .quantity { margin: 0 auto; }
.buybox__card form.cart .single_add_to_cart_button { width: 100%; height: 2.9rem; font-size: 1.05rem; }
.buybox__trust { list-style: none; margin: 0; padding: 0.55rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.4rem; }
.buybox__trust li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); }
.buybox__trust .ll-icon { width: 1.05rem; height: 1.05rem; color: var(--gold-dark); flex: none; }
.single-product .posted_in { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.625rem; }

.ll-stock { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 700; font-size: 0.9rem; padding: 0.3125rem 0.75rem; border-radius: 999px; }
.ll-stock .ll-icon { width: 1rem; height: 1rem; }
.ll-stock.in-stock { background: rgba(25,135,84,.1); color: var(--success); }
.ll-stock.out-of-stock { background: rgba(181,41,41,.08); color: var(--red); }

/* centre price — matches the buy-box treatment */
.single-product .summary .price { font-size: 1.7rem; font-weight: 800; color: var(--red); margin: 0.75rem 0 0.4rem; }
.single-product .summary .price del { color: var(--muted); font-weight: 500; font-size: 1rem; margin-right: 0.4rem; }
.single-product .summary .price ins { text-decoration: none; }
.single-product .woocommerce-product-details__short-description { color: var(--muted); margin-bottom: 1.125rem; }

/* discount bubble beside the price + member/guest note */
.price-extras { display: flex; align-items: center; flex-wrap: wrap; gap: 0.625rem; margin: 0 0 1rem; }
.woocommerce span.onsale.onsale--inline, .onsale--inline {
	position: static; top: auto; left: auto; width: 3.1rem; height: 3.1rem; border-radius: 50%;
	display: inline-grid; place-items: center; padding: 0;
	background: var(--red); color: #fff; font-weight: 800; font-size: 0.85rem; line-height: 1;
	box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.18);
}

/* full-width lower section */
.product-lower { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* product meta (categories + tags) — tucked at the very bottom */
.product-lower .product_meta {
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
	font-size: 0.85rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.5rem;
}
.product-lower .product_meta > span { display: block; }
.product-lower .product_meta .sku_wrapper,
.product-lower .product_meta .posted_in,
.product-lower .product_meta .tagged_as { line-height: 1.7; }
.product-lower .product_meta a {
	display: inline-block; color: var(--gold-dark); background: var(--bg-cream);
	border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem; margin: 0.1rem 0.15rem 0.1rem 0;
	font-weight: 600; font-size: 0.8rem;
}
.product-lower .product_meta a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.single-product form.cart { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 1.125rem 0; }
.single-product form.cart .single_add_to_cart_button { height: 3rem; flex: 1; min-width: 12.5rem; }
.single-product .variations { width: 100%; }
.single-product .variations select { border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.6875rem 0.75rem; font-family: inherit; min-width: 12.5rem; }

/* quantity stepper — red circular buttons */
.ll-qty { display: inline-flex; align-items: center; gap: 0.5rem; border: 0; background: transparent; }
.ll-qty__btn {
	width: 2.3rem; height: 2.3rem; flex: none; border: 0; border-radius: 50%;
	background: var(--red); color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1;
	cursor: pointer; display: grid; place-items: center;
	box-shadow: var(--shadow); transition: background .12s ease, transform .06s ease;
}
.ll-qty__btn:hover { background: var(--red-dark); }
.ll-qty__btn:active { transform: scale(.92); }
.ll-qty__input {
	width: 3rem; height: 2.3rem; text-align: center; border: 1px solid var(--line); border-radius: 0.5rem;
	font-size: 1.05rem; font-weight: 700; color: var(--slate); -moz-appearance: textfield; background: #fff;
}
.ll-qty__input::-webkit-outer-spin-button, .ll-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* what you need to know */
.ll-wynk { border: 1px solid var(--gold); background: var(--bg-cream); border-radius: var(--radius-lg); padding: 0.95rem 1.1rem; margin: 0; }
.ll-wynk__title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 0.5rem; }
.ll-wynk__title .ll-icon { width: 1.1rem; height: 1.1rem; }
.ll-wynk__body { font-size: 0.92rem; color: var(--ink); line-height: 1.45; }
.ll-wynk__body p { margin: 0 0 0.45rem; }
.ll-wynk__body p:last-child { margin-bottom: 0; }
.ll-wynk__body a { font-weight: 700; }

/* back-in-stock notifier */
.cwginstock-subscribe-form, .ll-bis { margin: 1.375rem 0; padding: 1.25rem 1.375rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.cwginstock-subscribe-form .panel-heading h4 { margin: 0 0 0.75rem; color: var(--slate); font-size: 1.05rem; }
.cwginstock-subscribe-form input[type="text"],
.cwginstock-subscribe-form input[type="email"] { width: 100%; border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.6875rem 0.875rem; margin-bottom: 0.625rem; font-family: inherit; }
.cwginstock-subscribe-form input[type="submit"], .cwginstock-subscribe-form button { background: var(--red); color: #fff; border: 0; border-radius: 0.5rem; padding: 0.75rem 1.375rem; font-weight: 700; cursor: pointer; }
.cwginstock-subscribe-form input[type="submit"]:hover { background: var(--red-dark); }

/* info sections */
.product-info { margin: 0; }
.product-info__section { border-top: 1px solid var(--line); padding: 1.625rem 0; }
.product-info__section:first-child { border-top: 0; padding-top: 0; }
.product-info__section h2 { font-size: 1.4rem; margin-bottom: 0.875rem; }
.product-info__body { max-width: 60rem; }
.product-info__section.is-warning { background: rgba(181,41,41,.04); border-radius: var(--radius-lg); padding: 1.5rem; border-top: 0; }
.product-info__section.is-warning h2 { color: var(--red); }

/* related / upsells */
.related.products, .upsells.products { margin-top: 3.5rem; clear: both; }
.related.products > h2, .upsells.products > h2 { font-size: 1.5rem; margin-bottom: 1.375rem; }

/* =========================================================================
   Category landing pages (banner + 4/2/1 grid + bundle pitch)
   ========================================================================= */
.category-landing { padding: 1.5rem var(--gutter) 4rem; }
.ll-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.ll-breadcrumb a { color: var(--muted); }
.ll-breadcrumb a:hover { color: var(--red); }
.category-landing__head { margin-bottom: 1.5rem; }
.category-landing__title { margin: 0 0 0.25rem; }
.category-landing__count { color: var(--muted); margin: 0 0 0.75rem; font-size: 0.9rem; }
.category-landing__intro { max-width: 60rem; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.category-landing__intro p:last-child { margin-bottom: 0; }

/* term description on WooCommerce archives */
.term-description { max-width: 60rem; color: var(--ink); line-height: 1.7; margin-bottom: 1.5rem; }

/* centered banner spanning most of the page */
.archive-banner { margin: 0 auto 2rem; text-align: center; }
.archive-banner img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

.ll-empty { color: var(--muted); padding: 2rem 0; }

/* landing grid: 4 desktop / 2 tablet / 1 mobile */
ul.products.landing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* with the category sidebar present, drop to 3 across so cards stay roomy */
.wc-shell--archive ul.products.landing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* the landing container is now the archive shell — let the shell own padding */
.wc-shell--archive.category-landing { padding-top: 2.25rem; }

/* full-width bundle pitch between rows */
.loop-pitch { grid-column: 1 / -1; list-style: none; margin: 0; }
.loop-pitch::before { display: none; }
.loop-pitch__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	background: linear-gradient(90deg, var(--slate), var(--slate-2)); color: #fff;
	border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
}
.loop-pitch__copy { min-width: 0; }
.loop-pitch__copy h3 { color: #fff; margin: 0.1rem 0; font-size: 1.3rem; }
.loop-pitch__copy p { margin: 0; color: #cfd6dc; }
.loop-pitch .eyebrow { color: var(--gold); }
.loop-pitch .btn { background: var(--gold); white-space: nowrap; }
.loop-pitch .btn:hover { background: var(--gold-dark); }

/* "Complete Your Stack" — frequently-bought-together bundle */
.fbt { margin-top: 3.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; background: #fff; box-shadow: var(--shadow); }
.fbt__title { font-size: 1.5rem; margin-bottom: 0.2rem; }
.fbt__sub { color: var(--muted); margin-bottom: 1.5rem; }
.fbt__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fbt__item { display: flex; flex-direction: column; gap: 0.6rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; min-width: 0; }
.fbt__media { display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); border-radius: 0.5rem; overflow: hidden; }
.fbt__media img { width: 100%; height: 100%; object-fit: cover; }
.fbt__name { font-size: 0.95rem; margin: 0; line-height: 1.3; }
.fbt__name a { color: var(--slate); }
.fbt__name a:hover { color: var(--red); }
.fbt__price { font-weight: 800; color: var(--red); }
.fbt__price del { color: var(--muted); font-weight: 500; font-size: 0.85rem; margin-right: 0.3rem; }
.fbt__price ins { text-decoration: none; }
.fbt__actions { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; }
.fbt__qty .ll-qty__btn { width: 2.1rem; height: 2.1rem; font-size: 1.1rem; box-shadow: none; }
.fbt__qty .ll-qty__input { width: 2.6rem; height: 2.1rem; font-size: 0.95rem; }
.fbt__add { padding: 0.55rem 1rem; flex: 1; }
.fbt__add.is-added { background: var(--success); border-color: var(--success); color: #fff; }

.fbt__summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
	margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--bg-cream); border: 1px solid var(--gold);
}
.fbt__totals { display: flex; flex-direction: column; gap: 0.15rem; }
.fbt__total-full { color: var(--muted); font-size: 0.9rem; }
.fbt__total-vip { font-size: 1.35rem; color: var(--slate); font-weight: 700; }
.fbt__total-vip strong { color: var(--red); }
.fbt__total-save { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--success); font-weight: 700; font-size: 0.9rem; }
.fbt__total-save .ll-icon { width: 0.95rem; height: 0.95rem; }
.fbt__addall { white-space: nowrap; }
.fbt__addall.is-added { background: var(--success); }
.fbt__addall.is-loading { opacity: .7; cursor: progress; }

@media (max-width: 53.75em) {
	.fbt__grid { grid-template-columns: 1fr 1fr; }
	.fbt__summary { flex-direction: column; align-items: stretch; }
	.fbt__addall { width: 100%; }
}
@media (max-width: 30em) {
	.fbt__grid { grid-template-columns: 1fr; }
}

/* prev / next product nav pinned to page edges — arrows only, expand on hover */
.product-nav { position: relative; }
.product-nav__link {
	position: fixed; top: 50%; transform: translateY(-50%); z-index: 40;
	display: flex; align-items: center; gap: 0; overflow: hidden;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
	padding: 0.75rem; color: var(--slate); transition: color .15s ease, box-shadow .15s ease;
}
.product-nav__prev { left: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.product-nav__next { right: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.product-nav__link:hover { color: var(--red); }
.product-nav__arrow { flex: none; display: grid; place-items: center; }
.product-nav__arrow .ll-icon { width: 1.375rem; height: 1.375rem; }
.product-nav__prev .product-nav__arrow .ll-icon { transform: rotate(90deg); }
.product-nav__next .product-nav__arrow .ll-icon { transform: rotate(-90deg); }

/* meta is fully collapsed (no letters) until hover, then it slides open */
.product-nav__meta {
	display: flex; flex-direction: column; white-space: nowrap;
	max-width: 0; opacity: 0; overflow: hidden;
	transition: max-width .28s ease, opacity .2s ease, padding .28s ease;
}
.product-nav__prev .product-nav__meta { padding-left: 0; }
.product-nav__next .product-nav__meta { padding-right: 0; order: -1; }
.product-nav__link:hover .product-nav__meta { max-width: 12rem; opacity: 1; }
.product-nav__prev:hover .product-nav__meta { padding-left: 0.625rem; }
.product-nav__next:hover .product-nav__meta { padding-right: 0.625rem; }
.product-nav__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.product-nav__name { font-size: 0.88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; }

/* tabs fallback */
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 0.375rem; padding: 0; border-bottom: 2px solid var(--line); margin-bottom: 1.25rem; flex-wrap: wrap; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 0.75rem 1.125rem; font-weight: 700; color: var(--slate); }
.woocommerce-tabs ul.tabs li.active a { color: var(--red); border-bottom: 2px solid var(--red); margin-bottom: -0.125rem; }

/* =========================================================================
   Cart / Checkout / Account (styled defaults)
   ========================================================================= */
.woocommerce-cart .wc-shell, .woocommerce-checkout .wc-shell, .woocommerce-account .wc-shell { display: block; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; width: 100%; }
.woocommerce table.shop_table th { background: var(--bg-soft); color: var(--slate); text-align: left; padding: 0.875rem 1rem; }
.woocommerce table.shop_table td { padding: 0.875rem 1rem; border-top: 1px solid var(--line); }
.woocommerce .cart-collaterals .cart_totals { background: var(--bg-cream); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 1.25rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius); padding: 0.875rem 1.125rem; border-left: 0.25rem solid var(--gold); background: var(--bg-soft); list-style: none; }
.woocommerce-error { border-left-color: var(--red); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.6875rem 0.875rem; font-family: inherit; width: 100%; }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: var(--bg-soft); border-radius: var(--radius-lg); }

/* =========================================================================
   My Account
   ========================================================================= */
.account-shell { padding: 2rem var(--gutter) 4rem; }
/* Two-column (nav + content) only when logged in (WordPress adds .logged-in). */
.logged-in .account-shell .woocommerce {
	display: grid; grid-template-columns: 17rem 1fr; gap: 2.5rem; align-items: start;
}
/* WooCommerce's clearfix ::before/::after would otherwise become stray grid
   items and push the nav/content into the wrong cells. */
.logged-in .account-shell .woocommerce::before,
.logged-in .account-shell .woocommerce::after { content: none; }
/* Override WC's float-layout width:30%/68% so each fills its grid track. */
.logged-in .account-shell .woocommerce-MyAccount-navigation,
.logged-in .account-shell .woocommerce-MyAccount-content {
	width: 100% !important; float: none !important; margin: 0 !important;
}

/* Login / Register (custom .ll-auth wrapper — no WC/critical-CSS conflicts) */
.ll-auth { max-width: 56rem; margin: 0 auto; }
.ll-auth--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ll-auth__col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; background: #fff; }
.ll-auth__col--register { background: var(--bg-cream); border-color: var(--gold); }
.ll-auth__title { font-size: 1.3rem; margin: 0 0 0.35rem; }
.ll-auth__lead { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.25rem; }
.ll-auth form { margin: 0; }
.ll-auth .form-row { margin-bottom: 1rem; }
.ll-auth label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.ll-auth .woocommerce-form-login__rememberme { font-weight: 400; }
.ll-auth .button { width: 100%; margin-top: 0.25rem; }
.ll-auth .lost_password { margin-top: 0.75rem; font-size: 0.88rem; }
.ll-auth .woocommerce-privacy-policy-text { font-size: 0.82rem; color: var(--muted); }
.ll-auth .woocommerce-password-strength { font-size: 0.82rem; margin-top: 0.4rem; }

@media (max-width: 46em) {
	.ll-auth--split { grid-template-columns: 1fr; }
}

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); margin: 0; }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 0.8rem 1rem; color: var(--slate); font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.woocommerce-MyAccount-navigation a:hover { background: var(--bg-cream); color: var(--red); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--slate); color: #fff; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--red); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }

.btn--sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

/* dashboard */
.account-dashboard__hello { font-size: 1.4rem; font-weight: 800; color: var(--slate); margin: 0 0 1.25rem; }
.account-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.account-tile { display: flex; align-items: center; gap: 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.1rem; color: var(--slate); transition: border-color .15s ease, box-shadow .15s ease; }
.account-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--slate); }
.account-tile__icon { width: 2.75rem; height: 2.75rem; border-radius: 0.6rem; background: var(--bg-cream); color: var(--red); display: grid; place-items: center; flex: none; }
.account-tile__icon .ll-icon { width: 1.4rem; height: 1.4rem; }
.account-tile__title { display: block; font-weight: 700; }
.account-tile__sub { display: block; font-size: 0.82rem; color: var(--muted); }

.account-recent__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.75rem; }
.account-recent__head h3 { margin: 0; }
.account-orders { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.account-order { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.account-order:last-child { border-bottom: 0; }
.account-order__info { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.account-order__no { font-weight: 800; color: var(--slate); }
.account-order__date { color: var(--muted); font-size: 0.85rem; }
.account-order__meta { display: flex; align-items: center; gap: 0.5rem; }
.account-order__total { font-weight: 700; }

/* status badges */
.order-status { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.order-status--completed { background: rgba(25,135,84,.12); color: var(--success); }
.order-status--processing { background: rgba(13,110,253,.12); color: #0d6efd; }
.order-status--on-hold { background: var(--gold-soft); color: var(--gold-dark); }
.order-status--cancelled, .order-status--failed, .order-status--refunded { background: rgba(181,41,41,.1); color: var(--red); }
.order-status--pending { background: var(--bg-soft); color: var(--muted); }

/* CTA banner */
.account-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--bg-cream); border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.account-cta--dash { margin: 1.5rem 0 0; }

/* panels, coupons, e-transfer */
.account-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; background: #fff; }
.account-panel--vip { background: var(--gold-soft); border-color: var(--gold); }
.account-panel h3 { margin-top: 0; }
.account-coupons__title { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.coupon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.coupon-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px dashed var(--gold); border-radius: var(--radius-lg); padding: 1rem 1.25rem; background: var(--bg-cream); flex-wrap: wrap; }
.coupon-card__code { display: inline-block; font-weight: 800; letter-spacing: .05em; background: #fff; border: 1px solid var(--gold); border-radius: 0.5rem; padding: 0.3rem 0.7rem; color: var(--gold-dark); }
.coupon-card__desc { margin: 0.5rem 0 0; color: var(--slate); }
.coupon-card__meta { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.85rem; }
.account-coupons__empty { color: var(--muted); }
.account-etransfer__note { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 53.75em) {
	.account-shell .woocommerce { grid-template-columns: 1fr; gap: 1.5rem; }
	.account-tiles { grid-template-columns: 1fr; }
}

/* =========================================================================
   Responsive (em breakpoints)
   ========================================================================= */
@media (max-width: 64em) {        /* 1024px — gallery | details, buy box full-width below */
	ul.products, .wc-shell--archive ul.products { grid-template-columns: repeat(3, 1fr); }
	ul.products.landing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }     /* 2 on tablet */
	.single-product .product-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.product-buybox { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
	.product-buybox .buybox__info { flex: 1 1 20rem; }
	.product-buybox .buybox__card { flex: 1 1 17rem; }
}
@media (max-width: 53.75em) {     /* 860px */
	.wc-shell--archive { grid-template-columns: 1fr; }
	.wc-shell--archive .shop-sidebar { position: static; order: 3; }
	.wc-shell--archive ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
	.single-product .product-top { grid-template-columns: 1fr; gap: 1.5rem; }
	.product-buybox { position: static; flex-direction: column; }

	/* prev/next become a static bar on small screens — name always visible */
	.product-nav__link { position: static; transform: none; box-shadow: none; border-radius: var(--radius); padding: 0.625rem 0.875rem; }
	.product-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 2rem; }
	.product-nav__meta { max-width: 9rem; opacity: 1; }
	.product-nav__prev .product-nav__meta { padding-left: 0.5rem; }
	.product-nav__next .product-nav__meta { padding-right: 0.5rem; }
	.product-nav__name { max-width: 8rem; }
}
@media (max-width: 37.5em) {       /* 600px — 1 product per row on mobile */
	ul.products.landing-grid { grid-template-columns: 1fr; }
	.loop-pitch__inner { padding: 1.25rem; }
}
@media (max-width: 30em) {        /* 480px */
	ul.products, .wc-shell--archive ul.products { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
	.single-product form.cart .single_add_to_cart_button { min-width: 0; }
	.product-nav__name { display: none; }
}


/* =========================================================================
   Cycle guide posts
   ========================================================================= */
.cycle-guide { max-width: 84rem; padding: 1.5rem 0.75rem 4rem; }
.cycle-guide__head { margin-bottom: 1.5rem; }
.cycle-guide__title { margin: 0.1rem 0 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }

.cycle-layout { display: grid; grid-template-columns: 1fr 20rem; gap: 2rem; align-items: start; }
.cycle-layout--solo { grid-template-columns: 1fr; max-width: 60rem; }
.cycle-main { min-width: 0; }

/* smaller featured image */
.cycle-figure { margin: 0 0 1.5rem; }
.cycle-figure img { width: 100%; max-height: 22rem; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); display: block; }

.cycle-content { font-size: 1rem; line-height: 1.7; }
.cycle-content > *:first-child { margin-top: 0; }
.cycle-content h2, .cycle-content h3 { margin-top: 1.75rem; }

/* dosage table — scrollable, striped, sticky week column */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cycle-content table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.88rem; margin: 0; }
.cycle-content th, .cycle-content td { padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: middle; }
/* let the header labels wrap so columns stay narrow (data cells stay on one line) */
.cycle-content tr:first-child td, .cycle-content th { background: var(--slate); color: #fff; font-weight: 700; text-transform: uppercase; font-size: 0.74rem; letter-spacing: .02em; white-space: normal; line-height: 1.25; }
.cycle-content tr:nth-child(even) td { background: var(--bg-soft); }
.cycle-content td:first-child { font-weight: 800; color: var(--slate); background: var(--bg-cream); position: sticky; left: 0; }
.cycle-content tr:first-child td:first-child { background: var(--slate-2); color: #fff; }

/* shopping list sidebar */
.cycle-aside { min-width: 0; }
/* Sticky panel capped to the viewport: the item list scrolls inside while the
   title stays on top and the totals + "Add all to cart" stay pinned at the bottom. */
.cycle-shop { position: sticky; top: 8.125rem; max-height: calc(100vh - 9.5rem); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.25rem; box-shadow: var(--shadow); }
.cycle-shop__title { flex: none; font-size: 1.15rem; margin: 0 0 1rem; }
.cycle-shop__items { flex: 1 1 auto; min-height: 2.75rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; list-style: none; margin: 0 0 1rem; padding: 0 0.35rem 0 0; display: flex; flex-direction: column; gap: 0.85rem; }
.cycle-item { display: flex; align-items: center; gap: 0.7rem; }
.cycle-item__media { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 0.5rem; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.cycle-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cycle-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.cycle-item__name { font-weight: 700; font-size: 0.86rem; color: var(--slate); line-height: 1.25; }
.cycle-item__name:hover { color: var(--red); }
.cycle-item__meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; }
.cycle-item__qty { background: var(--slate); color: #fff; border-radius: 999px; padding: 0.05rem 0.45rem; font-weight: 700; font-size: 0.72rem; }
.cycle-item__price { color: var(--red); font-weight: 700; }
.cycle-item__price del { display: none; }
.cycle-item__price ins { text-decoration: none; }
.cycle-item .custom-add-to-cart { flex: none; }
.cycle-shop__totals, .cycle-shop__addall, .cycle-shop__note { flex: none; } /* pinned below the scrolling list */
.cycle-shop__totals { border-top: 1px solid var(--line); padding-top: 0.85rem; display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.85rem; }
.cycle-shop__full { color: var(--muted); font-size: 0.85rem; }
.cycle-shop__vip { font-size: 1.1rem; font-weight: 700; color: var(--slate); }
.cycle-shop__vip strong { color: var(--red); }
.cycle-shop__save { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--success); font-weight: 700; font-size: 0.82rem; }
.cycle-shop__save .ll-icon { width: 0.9rem; height: 0.9rem; }
.cycle-shop__addall { width: 100%; }
.cycle-shop__note { font-size: 0.78rem; color: var(--muted); margin: 0.6rem 0 0; text-align: center; }

@media (max-width: 64em) {
	.cycle-layout { grid-template-columns: 1fr 18rem; gap: 1.5rem; }
}
@media (max-width: 53.75em) {
	.cycle-layout, .cycle-layout--solo { grid-template-columns: 1fr; }
	.cycle-shop { position: static; max-height: none; }
	.cycle-shop__items { overflow: visible; }
	.cycle-figure img { max-height: 15rem; }
}

/* =========================================================================
   Slide-out mini-cart
   ========================================================================= */
.ll-noscroll { overflow: hidden; }
.ll-minicart { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.ll-minicart.is-open { visibility: visible; }
.ll-minicart__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s ease; }
.ll-minicart.is-open .ll-minicart__backdrop { opacity: 1; }
.ll-minicart__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(26rem, 92vw); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; }
.ll-minicart.is-open .ll-minicart__panel { transform: translateX(0); }
.ll-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ll-minicart__head h2 { margin: 0; font-size: 1.15rem; }
.ll-minicart__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--slate); }
.ll-minicart__close:hover { color: var(--red); }
.ll-minicart__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.ll-minicart.is-busy .ll-minicart__body { opacity: .55; pointer-events: none; }
.ll-minicart__items { list-style: none; margin: 0; padding: 0.5rem 1.25rem; flex: 1; }
.ll-cart-line { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.ll-cart-line:last-child { border-bottom: 0; }
.ll-cart-line__top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: flex-start; }
.ll-cart-line__name { font-weight: 700; color: var(--slate); font-size: 0.95rem; line-height: 1.3; }
.ll-cart-line__name:hover { color: var(--red); }
.ll-cart-line__remove { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 0.2rem; }
.ll-cart-line__remove:hover { color: var(--red); }
.ll-cart-line__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.ll-qty--mini { gap: 0; border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; background: #fff; }
.ll-qty--mini .ll-qty__btn { width: 2rem; height: 2rem; border-radius: 0; background: var(--bg-soft); color: var(--slate); box-shadow: none; font-size: 1.1rem; }
.ll-qty--mini .ll-qty__btn:hover { background: var(--red); color: #fff; }
.ll-qty--mini .ll-qty__input { width: 2.4rem; height: 2rem; border: 0; border-inline: 1px solid var(--line); border-radius: 0; font-size: 0.9rem; }
.ll-cart-line__total { font-weight: 800; color: var(--slate); }
.ll-minicart__foot { padding: 1.25rem; border-top: 1px solid var(--line); background: var(--bg-soft); }
.ll-minicart__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 0.85rem; }
.ll-minicart__subtotal strong { font-size: 1.3rem; color: var(--slate); }
.ll-minicart__checkout { width: 100%; }
.ll-minicart__continue { display: block; width: 100%; background: none; border: 0; color: var(--muted); margin-top: 0.6rem; cursor: pointer; font-size: 0.88rem; }
.ll-minicart__continue:hover { color: var(--red); }
.ll-minicart__empty { padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.ll-minicart__empty .btn { margin-top: 1rem; }
.cart-savings { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; margin: 0 0 0.6rem; }
.cart-savings.is-member { color: var(--success); }
.cart-savings.is-member .ll-icon { width: 0.95rem; height: 0.95rem; }
.cart-savings.is-guest { color: var(--gold-dark); background: var(--gold-soft); padding: 0.45rem 0.65rem; border-radius: 0.5rem; text-decoration: none; }
.cart-savings.is-guest:hover { background: var(--gold); color: #fff; }

/* =========================================================================
   Checkout (two-column)
   ========================================================================= */
.ll-checkout { display: grid; grid-template-columns: 1fr 24rem; gap: 2.5rem; align-items: start; }
.ll-checkout__main { min-width: 0; }
.ll-checkout__side { min-width: 0; position: sticky; top: 8.125rem; }
#order_review_heading { margin: 0 0 1rem; font-size: 1.25rem; }

.woocommerce-checkout h3 { font-size: 1.1rem; margin: 0 0 1rem; }
.woocommerce-checkout .form-row { margin-bottom: 1rem; }
.woocommerce-checkout label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.woocommerce-billing-fields__field-wrapper #billing_address_2_field { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: auto; float: none; }

#order_review { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; background: #fff; box-shadow: var(--shadow); }
#order_review.is-busy { opacity: .6; pointer-events: none; }
.ll-co-table { width: 100%; border: 0; }
.ll-co-table td, .ll-co-table th { border: 0; padding: 0.7rem 0; border-bottom: 1px solid var(--line); background: none !important; }
.ll-co-table .product-name { font-size: 0.92rem; }
.ll-co-name { display: block; font-weight: 700; color: var(--slate); margin-bottom: 0.4rem; }
.ll-co-controls { display: flex; align-items: center; gap: 0.6rem; }
.ll-co-remove { background: none; border: 0; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.ll-co-remove:hover { color: var(--red); }
.ll-co-table .product-total { text-align: right; font-weight: 700; vertical-align: top; white-space: nowrap; }
.ll-co-table tfoot th { text-align: left; font-weight: 600; color: var(--muted); padding-top: 0.7rem; }
.ll-co-table tfoot td { text-align: right; font-weight: 700; }
.ll-co-table tfoot .order-total th, .ll-co-table tfoot .order-total td { font-size: 1.15rem; color: var(--slate); border-bottom: 0; }
.ll-co-savings-row td { padding: 0.5rem 0 !important; border-bottom: 1px solid var(--line); }

/* coupon (relocated, shown open) */
.checkout_coupon.woocommerce-form-coupon { display: block !important; margin: 0 0 1.25rem; border: 1px dashed var(--gold); background: var(--gold-soft); border-radius: var(--radius); padding: 1rem; }
.checkout_coupon .form-row { margin: 0; }
.checkout_coupon p:first-child { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--slate); }
.woocommerce-form-coupon-toggle { display: none; }
.checkout_coupon .input-text { width: 100%; margin-bottom: 0.5rem; }

#payment { background: var(--bg-soft); border-radius: var(--radius-lg); margin-top: 1.25rem; padding: 0.5rem 0 0; }
#payment ul.payment_methods { border: 0; padding: 0 1rem; }
#payment div.place-order { padding: 1rem; }
#payment #place_order { width: 100%; height: 3.25rem; font-size: 1.05rem; }
.woocommerce-checkout #payment div.payment_box { background: #fff; border: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* returning-customer / coupon notices at top */
.woocommerce-form-login-toggle, .woocommerce form.login { margin-bottom: 1.5rem; }

/* =========================================================================
   Thank-you / e-Transfer
   ========================================================================= */
.ll-thankyou { max-width: 64rem; margin: 0 auto; padding: 2rem var(--gutter) 4rem; }
.ll-ty-head { text-align: center; margin-bottom: 2rem; }
.ll-ty-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.25rem 0 0.5rem; }
.ll-ty-sub { color: var(--muted); max-width: 42rem; margin: 0 auto; }
.ll-ty-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.ll-ty-steps, .ll-ty-banks, .ll-ty-summary { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; background: #fff; }
.ll-ty-steps { border-color: var(--gold); }
.ll-ty-steps h2, .ll-ty-banks h2, .ll-ty-summary h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.ll-ty-instructions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.ll-ty-instructions li { display: flex; flex-direction: column; gap: 0.3rem; }
.ll-ty-step-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.ll-ty-step-note { font-size: 0.85rem; color: var(--muted); }
.ll-copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.6rem; background: var(--bg-cream); border: 1px solid var(--gold); border-radius: 0.5rem; padding: 0.5rem 0.8rem; font-weight: 800; color: var(--slate); cursor: pointer; font-size: 1rem; }
.ll-copy:hover { background: var(--gold); color: #fff; }
.ll-copy__hint { font-size: 0.7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ll-copy:hover .ll-copy__hint { color: #fff; }
.ll-copy.is-copied { background: var(--success); border-color: var(--success); color: #fff; }
.ll-copy.is-copied .ll-copy__hint { color: #fff; }
.ll-copy.is-copied::after { content: " ✓ copied"; }
.ll-ty-warning { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1.25rem 0 0; padding: 0.85rem 1rem; background: rgba(181,41,41,.06); border-radius: var(--radius); font-size: 0.85rem; color: var(--slate); }
.ll-ty-warning .ll-icon { width: 1.1rem; height: 1.1rem; color: var(--red); flex: none; }

.ll-ty-banks__hint { color: var(--muted); font-size: 0.88rem; margin: 0 0 1rem; }
.ll-bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ll-bank { display: flex; flex-direction: column; gap: 0.2rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.85rem; color: var(--slate); transition: border-color .15s ease, background .15s ease; }
.ll-bank:hover { border-color: var(--gold); background: var(--bg-cream); color: var(--slate); }
.ll-bank__name { font-weight: 700; font-size: 0.88rem; }
.ll-bank__go { font-size: 0.72rem; color: var(--gold-dark); font-weight: 700; }

.ll-ty-meta { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ll-ty-meta li { display: flex; flex-direction: column; }
.ll-ty-meta span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.ll-ty-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }

@media (max-width: 64em) {
	.ll-checkout { grid-template-columns: 1fr; }
	.ll-checkout__side { position: static; }
	.ll-ty-grid { grid-template-columns: 1fr; }
}
@media (max-width: 37.5em) {
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.ll-bank-grid { grid-template-columns: 1fr; }
	.ll-ty-meta { grid-template-columns: 1fr; }
}

/* =========================================================================
   Live search dropdown
   ========================================================================= */
.header-search.has-live-search { position: relative; }
.ll-search-results { position: absolute; top: calc(100% + 0.4rem); left: 0; right: 0; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.ll-search-list { list-style: none; margin: 0; padding: 0.35rem; }
.ll-search-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem; border-radius: var(--radius); color: var(--slate); }
.ll-search-item:hover { background: var(--bg-cream); color: var(--slate); }
.ll-search-thumb { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.4rem; overflow: hidden; background: var(--bg-soft); }
.ll-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ll-search-info { display: flex; flex-direction: column; min-width: 0; }
.ll-search-name { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.ll-search-price { font-size: 0.85rem; color: var(--ink); font-weight: 700; }
.ll-search-price del { display: none; }
.ll-search-price ins { text-decoration: none; }
.ll-search-item.is-oos .ll-search-price { color: var(--muted); font-weight: 600; }
.ll-search-item.is-oos .ll-search-thumb { opacity: .6; }
.ll-search-all { display: block; text-align: center; padding: 0.7rem; font-weight: 700; font-size: 0.85rem; border-top: 1px solid var(--line); color: var(--red); }
.ll-search-all:hover { background: var(--bg-cream); color: var(--red-dark); }
.ll-search-empty { padding: 1rem; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* optimistic cart line states (snappy remove/qty) */
.ll-cart-line.is-removing { max-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; opacity: 0; overflow: hidden; transition: all .25s ease; pointer-events: none; }
.ll-cart-line.is-pending { opacity: .55; transition: opacity .15s ease; }

/* =========================================================================
   Compact "Complete your stack" under the product image
   ========================================================================= */
.compact-stack { margin-top: 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.8rem 0.95rem; background: #fff; }
.compact-stack__title { font-size: 0.9rem; margin: 0 0 0.4rem; }
.compact-stack__items { list-style: none; margin: 0 0 0.6rem; padding: 0; }
.compact-stack__row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.compact-stack__row:last-child { border-bottom: 0; }
.compact-stack__name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.86rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-stack__name:hover { color: var(--red); }
.compact-stack__price { font-weight: 800; color: var(--ink); font-size: 0.86rem; white-space: nowrap; }
.compact-stack__price del { display: none; }
.compact-stack__price ins { text-decoration: none; }
.compact-stack__row .custom-add-to-cart { flex: none; padding: 0.4rem 0.7rem; }
.compact-stack__addall { width: 100%; }

/* =========================================================================
   Free-shipping progress bar (mini-cart / cart / builder)
   ========================================================================= */
.ll-freeship { background: var(--bg-cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 0.6rem 0.8rem; margin: 0 0 0.9rem; }
.ll-freeship__msg { margin: 0 0 0.45rem; font-size: 0.82rem; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 0.35rem; }
.ll-freeship__msg .ll-icon { width: 1rem; height: 1rem; color: var(--gold-dark); flex: none; }
.ll-freeship__track { height: 6px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; }
.ll-freeship__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 999px; transition: width .4s ease; }
.ll-freeship.is-qualified { border-color: #2e7d32; background: #eef7ee; }
.ll-freeship.is-qualified .ll-freeship__msg, .ll-freeship.is-qualified .ll-icon { color: #2e7d32; }
.ll-freeship.is-qualified .ll-freeship__track span { background: #2e7d32; }

/* =========================================================================
   Build-a-stack page
   ========================================================================= */
.ll-stackpage { padding-block: 2rem 4rem; }
.ll-stackpage__head { text-align: center; max-width: 48rem; margin: 0 auto 2.5rem; }
.ll-stackpage__title { font-size: 2.1rem; margin: 0 0 0.5rem; }
.ll-stackpage__sub { color: var(--muted); font-size: 1.02rem; margin: 0 0 1.25rem; }
.ll-stackpage__head .ll-freeship { text-align: left; max-width: 30rem; margin-inline: auto; }
.ll-section-title { font-size: 1.5rem; margin: 0 0 1.25rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); }

.ll-curated { margin-bottom: 3rem; }
.ll-curated__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ll-curated__card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.ll-curated__media img { border-radius: var(--radius); margin-bottom: 0.75rem; width: 100%; height: auto; }
.ll-curated__name { font-size: 1.15rem; margin: 0 0 0.4rem; }
.ll-curated__desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.ll-curated__items { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.ll-curated__items li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--slate); }
.ll-curated__items .ll-icon { width: 0.9rem; height: 0.9rem; color: var(--gold-dark); flex: none; }
.ll-curated__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.85rem; }
.ll-curated__price { font-weight: 800; color: var(--ink); line-height: 1.1; }
.ll-curated__price del { display: block; font-weight: 500; font-size: 0.78rem; color: var(--muted); opacity: .65; }
.ll-curated__add { white-space: nowrap; }

.ll-builder__sizes { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ll-builder__sizes-label { font-weight: 700; color: var(--slate); }
.ll-size { position: relative; min-width: 3.4rem; padding: 0.55rem 1rem; border: 2px solid var(--line); background: #fff; border-radius: var(--radius); font-weight: 800; font-size: 1.05rem; cursor: pointer; color: var(--slate); text-align: center; }
.ll-size.is-active { border-color: var(--red); color: var(--red); }
.ll-size__deal { display: block; font-size: 0.6rem; font-weight: 700; color: var(--gold-dark); letter-spacing: .02em; }
.ll-builder__layout { display: grid; grid-template-columns: 1fr 20rem; gap: 2rem; align-items: start; }
.ll-builder__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.ll-filter { padding: 0.4rem 0.85rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--slate); cursor: pointer; }
.ll-filter.is-active { background: var(--slate); color: #fff; border-color: var(--slate); }
.ll-builder__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ll-pick { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0.85rem; background: #fff; text-align: center; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.ll-pick.is-selected { border-color: var(--red); box-shadow: 0 0 0 2px rgba(181,41,41,.15); }
.ll-pick__media img { border-radius: var(--radius); width: 100%; height: auto; }
.ll-pick__name { font-size: 0.86rem; margin: 0.5rem 0 0.25rem; line-height: 1.25; }
.ll-pick__price { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.ll-pick__price del { color: var(--muted); font-weight: 500; font-size: 0.78rem; margin-right: 0.25rem; opacity: .6; }
.ll-pick__price ins { text-decoration: none; }
.ll-pick__btn { margin-top: auto; border: 0; border-radius: var(--radius); background: var(--slate); color: #fff; font-weight: 700; padding: 0.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.ll-pick.is-selected .ll-pick__btn { background: var(--red); }
.ll-pick__btn:hover { filter: brightness(1.08); }
.ll-pick__added { display: none; }
.ll-pick__added .ll-icon { width: 1rem; height: 1rem; }
.ll-pick.is-selected .ll-pick__add { display: none; }
.ll-pick.is-selected .ll-pick__added { display: inline-flex; align-items: center; }
.ll-builder__tray { position: sticky; top: 8.125rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem; background: #fff; box-shadow: var(--shadow); }
.ll-builder__tray.is-full { animation: ll-shake .4s; }
@keyframes ll-shake { 0%,100%{ transform: translateX(0); } 25%{ transform: translateX(-5px); } 75%{ transform: translateX(5px); } }
.ll-tray__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.ll-tray__head h3 { margin: 0; font-size: 1.05rem; }
.ll-tray__count { font-weight: 800; color: var(--red); }
.ll-tray__bar { height: 6px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; margin-bottom: 0.85rem; }
.ll-tray__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 999px; transition: width .3s ease; }
.ll-tray__items { list-style: none; margin: 0 0 0.85rem; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.ll-tray__empty { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 0.75rem 0; }
.ll-tray__item { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--slate); }
.ll-tray__item button { border: 0; background: none; color: var(--muted); font-size: 1.15rem; cursor: pointer; line-height: 1; }
.ll-tray__item button:hover { color: var(--red); }
.ll-tray__totals { border-top: 1px solid var(--line); padding-top: 0.75rem; margin-bottom: 0.85rem; }
.ll-tray__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.3rem; }
.ll-tray__row strong { font-size: 1.15rem; color: var(--ink); }
.ll-tray__row--deal { color: var(--gold-dark); font-weight: 700; }
.ll-tray__row--deal strong { font-size: 0.95rem; color: var(--gold-dark); }
.ll-tray__add { width: 100%; }

@media (max-width: 64em) {
	.ll-curated__grid, .ll-builder__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 53.75em) {
	.ll-builder__layout { grid-template-columns: 1fr; }
	.ll-builder__tray { position: static; }
}
@media (max-width: 35em) {
	.ll-curated__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Order-details status notices + EMT details page
   ========================================================================= */
.ll-order-notice { border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 0 0 1.75rem; border: 1px solid var(--line); background: #fff; }
.ll-order-notice__title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; margin: 0 0 0.55rem; }
.ll-order-notice__title .ll-icon { width: 1.25rem; height: 1.25rem; flex: none; }
.ll-order-notice p { margin: 0 0 0.6rem; color: var(--slate); font-size: 0.95rem; line-height: 1.55; }
.ll-order-notice p:last-of-type { margin-bottom: 0; }
.ll-order-notice .btn { margin-top: 0.85rem; }
.ll-order-notice--emt { background: var(--bg-cream); border-color: var(--gold); }
.ll-order-notice--emt .ll-order-notice__title, .ll-order-notice--emt .ll-order-notice__title .ll-icon { color: var(--gold-dark); }
.ll-order-notice--processing { background: #eef7ee; border-color: #2e7d32; }
.ll-order-notice--processing .ll-order-notice__title, .ll-order-notice--processing .ll-order-notice__title .ll-icon { color: #2e7d32; }
.ll-order-notice--cancelled { background: #fdeeee; border-color: var(--red); }
.ll-order-notice--cancelled .ll-order-notice__title { color: var(--red); }
.ll-order-notice--cancelled a { color: var(--red); font-weight: 700; text-decoration: underline; }

.ll-emtpage { padding-block: 2rem 4rem; }
.ll-emtpage__back { margin-top: 1.5rem; }

/* EMT instructions — full-width (thank-you + EMT details + e-Transfer endpoint) */
.ll-emt { border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; background: #fff; margin-bottom: 2rem; }
.ll-emt__title { margin: 0 0 1.25rem; font-size: 1.3rem; }
.ll-emt__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ll-emt__key { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 1.1rem; background: var(--bg-cream); border-radius: var(--radius); border: 1px solid var(--gold-soft); }
.ll-emt__key .ll-copy { align-self: stretch; justify-content: center; font-size: 1.05rem; text-align: center; }
.ll-emt__note { font-weight: 800; color: var(--slate); font-size: 1rem; }
.ll-emt__steps { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; color: var(--slate); }
.ll-emt__steps li { line-height: 1.55; }
.ll-emt .ll-ty-warning { margin-top: 1.4rem; }
@media (max-width: 48em) { .ll-emt__keys { grid-template-columns: 1fr; } }

/* =========================================================================
   Mobile UX sweep — sticky add-to-cart bar + filter drawer
   ========================================================================= */

/* Sticky add-to-cart (single product, mobile only) */
.ll-stickybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: none; align-items: center; gap: 0.85rem;
	padding: 0.55rem 0.9rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
	background: #fff; border-top: 1px solid var(--line);
	box-shadow: 0 -0.25rem 1rem rgba(0,0,0,.12);
	transform: translateY(110%); transition: transform .25s ease;
}
.ll-stickybar.is-visible { transform: translateY(0); }
.ll-stickybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ll-stickybar__name { font-weight: 700; font-size: 0.8rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-stickybar__price { font-size: 1rem; font-weight: 800; color: var(--ink); }
.ll-stickybar__price del { color: var(--muted); opacity: .7; font-weight: 500; font-size: 0.82rem; margin-right: 0.3rem; }
.ll-stickybar__price ins { text-decoration: none; }
.ll-stickybar__btn { white-space: nowrap; padding: 0.8rem 1.5rem; font-size: 0.95rem; min-height: 44px; }

/* Filter drawer trigger + off-canvas sidebar (archives, mobile only) */
.shop-filter-toggle { display: none; }
.shop-sidebar__head { display: none; }
.shop-sidebar__backdrop { display: none; }

@media (max-width: 53.75em) {
	.ll-stickybar { display: flex; }
	body.single-product { padding-bottom: 4.25rem; } /* clear the fixed bar at page end */

	.shop-toolbar { gap: 0.6rem; }
	.shop-filter-toggle {
		display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
		border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.1rem;
		background: #fff; font-family: inherit; font-weight: 700; font-size: 0.9rem; color: var(--slate); min-height: 44px;
	}
	.shop-filter-toggle .ll-icon { width: 1.05rem; height: 1.05rem; }
	.shop-toolbar .woocommerce-ordering { margin-left: auto; }
	.shop-toolbar .woocommerce-result-count { order: 3; width: 100%; }

	/* sidebar becomes a left off-canvas drawer */
	.wc-shell--archive .shop-sidebar {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 96; order: 0;
		width: min(86vw, 20rem); margin: 0; background: #fff; overflow-y: auto;
		transform: translateX(-100%); transition: transform .25s ease;
		box-shadow: var(--shadow-lg);
		padding: 1rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
	}
	.wc-shell--archive.filters-open .shop-sidebar { transform: translateX(0); }
	.shop-sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
	.shop-sidebar__head-title { font-weight: 800; font-size: 1.15rem; }
	.shop-sidebar__close { background: none; border: 0; padding: 0.4rem; margin: -0.4rem; color: var(--slate); cursor: pointer; line-height: 0; }
	.shop-sidebar__close .ll-icon { width: 1.5rem; height: 1.5rem; }
	.shop-sidebar__backdrop {
		display: block; position: fixed; inset: 0; z-index: 95;
		background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .2s;
	}
	.wc-shell--archive.filters-open .shop-sidebar__backdrop { opacity: 1; visibility: visible; }
}

/* My Account → Orders: tidy spacing of the action buttons */
.woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; align-items: center; }
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-orders-table__cell-order-actions .woocommerce-button { margin: 0; }
/* order detail "Track package" panel button keeps theme button styling */
.woocommerce-order-tracking .button { margin-top: 0.5rem; }
