/* ==========================================================================
   Lotline — WooCommerce (shop, product page, cart, checkout)
   ========================================================================== */
body.lotline.woocommerce .woocommerce-products-header, body.lotline .product-archive-hero, body.lotline .entry-hero.product-archive-hero-section .entry-hero-container-inner {
	background: radial-gradient(900px 400px at 80% 0, rgba(20,184,166,.18), transparent 60%), var(--ll-bg) !important;
}
body.lotline .woocommerce-products-header__title, body.lotline .product-archive-title { font-size: clamp(40px, 6vw, 80px) !important; }
body.lotline .term-description, body.lotline .woocommerce-result-count { color: var(--ll-muted); }
body.lotline .woocommerce-breadcrumb, body.lotline .kadence-breadcrumbs { font: 500 12px/1.4 var(--ll-font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ll-dim); }

/* Product cards */
body.lotline ul.products li.product, body.lotline .woocommerce ul.products li.product {
	background: var(--ll-surface); border: 1px solid var(--ll-line); border-radius: var(--ll-r); overflow: hidden; padding: 0 0 18px !important;
	transition: transform .5s var(--ll-ease), border-color .3s, box-shadow .5s;
}
body.lotline ul.products li.product:hover { transform: translateY(-6px); border-color: rgba(94,234,212,.45); box-shadow: 0 30px 60px -30px rgba(20,184,166,.45); }
body.lotline ul.products li.product .woocommerce-loop-image-link, body.lotline ul.products li.product a img, body.lotline .ll-loop-vial {
	background: radial-gradient(60% 60% at 50% 60%, rgba(20,184,166,.22), transparent 70%), #0B1015; margin: 0 0 14px !important; display: block; border-radius: 0;
}
body.lotline .ll-loop-vial { display: grid; place-items: center; aspect-ratio: 1; padding: 22px 0; }
body.lotline .ll-loop-vial .ll-vial { width: 36%; filter: drop-shadow(0 20px 24px rgba(0,0,0,.6)); transition: transform .6s var(--ll-ease); }
body.lotline ul.products li.product:hover .ll-loop-vial .ll-vial { transform: translateY(-6px) rotate(-2deg); }
body.lotline ul.products li.product .product-details, body.lotline ul.products li.product .woocommerce-loop-product__title,
body.lotline ul.products li.product .price, body.lotline ul.products li.product .ll-chip, body.lotline ul.products li.product .button,
body.lotline ul.products li.product .product-action-wrap { margin-left: 18px !important; margin-right: 18px !important; }
body.lotline ul.products li.product .product-details .woocommerce-loop-product__title, body.lotline ul.products li.product .product-details .price,
body.lotline ul.products li.product .product-details .ll-chip, body.lotline ul.products li.product .product-details .product-action-wrap { margin-left: 0 !important; margin-right: 0 !important; }
body.lotline ul.products li.product .woocommerce-loop-product__title { font: 600 21px/1.15 var(--ll-font-display) !important; color: var(--ll-head); letter-spacing: -.02em; }
body.lotline ul.products li.product .price, body.lotline .ll-mono .amount { font-family: var(--ll-font-mono) !important; color: var(--ll-head) !important; font-size: 15px !important; }
body.lotline ul.products li.product .button, body.lotline ul.products li.product .product-action-wrap .button {
	border-radius: 999px !important; background: transparent !important; border: 1px solid var(--ll-line) !important; color: var(--ll-head) !important; font-weight: 600; box-shadow: none !important;
}
body.lotline ul.products li.product .button:hover { border-color: var(--ll-glow) !important; color: var(--ll-glow) !important; }
body.lotline .onsale { background: var(--ll-lime) !important; color: #0A0E12 !important; font-family: var(--ll-font-mono); border-radius: 999px; }
body.lotline .woocommerce-info, body.lotline .woocommerce-message, body.lotline .woocommerce-error, body.lotline .woocommerce-notices-wrapper .woocommerce-info {
	background: var(--ll-surface) !important; color: var(--ll-fg) !important; border: 1px solid var(--ll-line) !important; border-left: 3px solid var(--ll-teal) !important; border-radius: 12px;
}
body.lotline .woocommerce-error { border-left-color: var(--ll-red) !important; }
body.lotline .woocommerce-ordering select { border-radius: 999px; }

/* ---------- Single product ---------- */
body.lotline.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
body.lotline.single-product div.product > .woocommerce-product-gallery, body.lotline.single-product div.product > .summary { width: auto !important; float: none !important; margin: 0 !important; }
body.lotline.single-product div.product > .woocommerce-tabs, body.lotline.single-product div.product > .related, body.lotline.single-product div.product > .up-sells, body.lotline.single-product div.product > .onsale { grid-column: 1 / -1; }
body.lotline.single-product .woocommerce-product-gallery { position: sticky !important; top: 110px; border-radius: 26px; overflow: hidden; border: 1px solid var(--ll-line);
	background: radial-gradient(55% 55% at 50% 58%, rgba(20,184,166,.28), transparent 70%), linear-gradient(160deg, #111A21, #080B0E 70%); }
body.lotline.single-product .woocommerce-product-gallery::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(94,234,212,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(94,234,212,.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 60%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 60%, #000 20%, transparent 70%); }
body.lotline .ll-pdp-vial { display: grid !important; place-items: center; aspect-ratio: 1 / 1.05; padding: 8% 0; position: relative; }
body.lotline .ll-pdp-vial .ll-vial { width: 36%; animation: ll-float-pdp 7s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0,0,0,.6)) drop-shadow(0 0 40px rgba(20,184,166,.25)); }
@keyframes ll-float-pdp { 50% { transform: translateY(-10px) rotate(1deg); } }
body.lotline.single-product .product_title { font-size: clamp(40px, 5vw, 68px) !important; line-height: .95; margin: 0 0 16px; }
body.lotline .ll-pdp-eyebrow { margin-bottom: 14px; }
body.lotline.single-product .summary .price { font: 500 26px/1 var(--ll-font-mono) !important; color: var(--ll-head) !important; margin: 18px 0; }
body.lotline.single-product .woocommerce-product-details__short-description { color: var(--ll-muted); font-size: 16px; line-height: 1.6; }
.ll-lotrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; font-size: 12px; }
.ll-lotrow > * { padding: 8px 11px; border-radius: 8px; background: var(--ll-surface); border: 1px solid var(--ll-line); color: var(--ll-fg); text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.ll-lotrow__lot { border-color: rgba(212,255,58,.4) !important; color: var(--ll-lime) !important; }
.ll-lotrow__pending { border-style: dashed !important; color: var(--ll-muted) !important; }
.ll-lotrow a:hover { border-color: var(--ll-glow); color: var(--ll-glow); }

.ll-speccard { margin: 22px 0; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--ll-line); background: linear-gradient(170deg, var(--ll-surface), color-mix(in srgb, var(--ll-bg) 85%, var(--ll-surface))); }
.ll-speccard .ll-eyebrow { margin-bottom: 10px; }
.ll-speccard dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ll-speccard dl > div { padding: 12px 12px 12px 0; border-top: 1px dashed var(--ll-line); min-width: 0; }
.ll-speccard__wide { grid-column: 1 / -1; }
.ll-speccard dt { font: 500 10.5px/1.2 var(--ll-font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ll-dim); margin-bottom: 6px; }
.ll-speccard dd { margin: 0; font-size: 14px; color: var(--ll-head); overflow-wrap: anywhere; }

/* Variations → size tiles */
body.lotline.single-product table.variations { border: 0; margin: 0 0 10px; }
body.lotline.single-product table.variations th, body.lotline.single-product table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
body.lotline.single-product table.variations th.label label { font: 500 11px/1 var(--ll-font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ll-dim); margin: 6px 0 10px; display: block; }
.ll-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 0 0 12px; }
.ll-size { position: relative; text-align: left; padding: 14px 14px 12px; border-radius: 14px; border: 1px solid var(--ll-line); background: var(--ll-surface); color: var(--ll-head); cursor: pointer; font-family: var(--ll-font-body); transition: border-color .2s, background .2s, transform .3s var(--ll-ease); }
.ll-size:hover { border-color: rgba(94,234,212,.5); transform: translateY(-2px); }
.ll-size.is-active { border-color: var(--ll-teal); background: rgba(20,184,166,.09); box-shadow: inset 0 0 0 1px var(--ll-teal); }
.ll-size:disabled { opacity: .4; cursor: not-allowed; }
.ll-size__name { display: block; font: 600 18px/1 var(--ll-font-display); margin-bottom: 8px; }
.ll-size__price, .ll-size__per { display: block; font: 400 12px/1.4 var(--ll-font-mono); color: var(--ll-muted); }
.ll-size__badge { position: absolute; top: -9px; right: 10px; font: 600 9.5px/1 var(--ll-font-mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 7px; border-radius: 6px; background: var(--ll-lime); color: #0A0E12; }
.ll-sizes + select, .ll-has-tiles select { position: absolute !important; opacity: 0 !important; pointer-events: none; width: 1px !important; height: 1px !important; }
body.lotline.single-product .reset_variations { font-size: 12px; color: var(--ll-dim); }

/* Pack tiers */
.ll-packs { margin: 20px 0; }
.ll-packs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ll-pack { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--ll-line); background: var(--ll-surface); }
.ll-pack b { font-size: 14px; color: var(--ll-head); }
.ll-pack__per { font-size: 12px; color: var(--ll-muted); }
.ll-pack.is-best { border-color: rgba(212,255,58,.45); background: linear-gradient(170deg, rgba(212,255,58,.07), var(--ll-surface)); }
.ll-pack__badge { position: absolute; top: -9px; left: 12px; font: 600 9.5px/1 var(--ll-font-mono); text-transform: uppercase; padding: 5px 7px; border-radius: 6px; background: var(--ll-lime); color: #0A0E12; }
.ll-pack__note { font-size: 12px; color: var(--ll-dim); margin: 8px 0 0; }

/* Add to cart */
body.lotline.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 18px 0 !important; }
body.lotline.single-product form.variations_form { display: block; }
body.lotline.single-product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
body.lotline.single-product .quantity .qty { height: 56px; width: 84px; border-radius: 999px; text-align: center; font-family: var(--ll-font-mono); background: var(--ll-surface); }
body.lotline.single-product .single_add_to_cart_button { flex: 1 1 220px; min-height: 56px; border-radius: 999px !important; background: var(--ll-teal) !important; color: #04110F !important; font: 600 16px/1 var(--ll-font-body) !important; box-shadow: 0 10px 40px -12px rgba(20,184,166,.8); }
body.lotline.single-product .single_add_to_cart_button:hover { background: var(--ll-glow) !important; }
body.lotline.single-product .single_add_to_cart_button.disabled { opacity: .45; box-shadow: none; }
.ll-gatebox { margin: 18px 0; padding: 16px 18px; border-radius: 14px; border: 1px dashed rgba(212,255,58,.45); background: rgba(212,255,58,.05); color: var(--ll-fg); font-size: 14.5px; line-height: 1.5; }
.ll-gatebox b { color: var(--ll-lime); }
.ll-pdp-assure { margin-top: 18px; }
.ll-ships { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ll-fg); }
.ll-guarantee { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.ll-guarantee li { padding: 12px 14px; border-radius: 12px; background: var(--ll-surface); border: 1px solid var(--ll-line); font-size: 14px; color: var(--ll-muted); }
.ll-guarantee b { color: var(--ll-head); }
.ll-ruo-block { padding: 14px 16px; border-left: 3px solid var(--ll-teal); background: color-mix(in srgb, var(--ll-surface) 70%, transparent); border-radius: 0 12px 12px 0; font-size: 13.5px; color: var(--ll-muted); line-height: 1.5; }
.ll-ruo-block b { color: var(--ll-head); }
body.lotline.single-product .product_meta { font: 400 12px/1.8 var(--ll-font-mono); color: var(--ll-dim); text-transform: uppercase; letter-spacing: .04em; }

/* Tabs */
body.lotline .woocommerce-tabs { margin-top: clamp(40px, 6vw, 80px); }
body.lotline .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 6px !important; margin: 0 0 28px !important; border-radius: 999px; background: var(--ll-surface); border: 1px solid var(--ll-line); width: max-content; max-width: 100%; overflow-x: auto; }
body.lotline .woocommerce-tabs ul.tabs::before, body.lotline .woocommerce-tabs ul.tabs li::before, body.lotline .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.lotline .woocommerce-tabs ul.tabs li { margin: 0 !important; border: 0 !important; background: transparent !important; border-radius: 999px !important; padding: 0 !important; }
body.lotline .woocommerce-tabs ul.tabs li a { padding: 12px 18px !important; font: 600 14px/1 var(--ll-font-body) !important; color: var(--ll-muted) !important; white-space: nowrap; }
body.lotline .woocommerce-tabs ul.tabs li.active { background: var(--ll-teal) !important; }
body.lotline .woocommerce-tabs ul.tabs li.active a { color: #04110F !important; }
body.lotline .woocommerce-tabs .panel { background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--ll-fg); }
.ll-coa { padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: var(--ll-paper); color: #1B232C; }
.ll-coa h2, .ll-storage h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; color: #0A0E12 !important; }
.ll-coa .ll-eyebrow { color: #52606D; }
.ll-coa__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ll-coa__tablewrap { overflow-x: auto; border-radius: 14px; border: 1px solid #D5DDE3; background: #fff; }
.ll-coa__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; min-width: 520px; }
.ll-coa__table th { text-align: left; font: 500 11px/1 var(--ll-font-mono); text-transform: uppercase; letter-spacing: .1em; color: #7A8794; background: #F8FAFB; padding: 14px 16px; border: 0; border-bottom: 1px solid #D5DDE3; }
.ll-coa__table td { padding: 14px 16px; border: 0; border-bottom: 1px solid #EDF1F4; color: #1B232C; background: #fff; }
.ll-coa__table tr:last-child td { border-bottom: 0; }
.ll-status { display: inline-block; padding: 5px 9px; border-radius: 6px; font-size: 11px; background: #EDF1F4; color: #7A8794; border: 1px dashed #C5CFD7; }
.ll-status.is-pass { background: #0A0E12; color: #D4FF3A; border: 0; }
.ll-coa .ll-note { color: #7A8794; }
.ll-spark { margin-top: 22px; padding: 18px; border-radius: 14px; background: #0A0E12; }
.ll-spark .ll-eyebrow { color: #93A1AE; }
.ll-spark svg { width: 100%; height: 64px; }
.ll-spark polyline { fill: none; stroke: #D4FF3A; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ll-spark p.ll-mono { color: #93A1AE; font-size: 12px; margin: 8px 0 0; }
.ll-storage__grid { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ll-storage__grid li { padding: 20px; border-radius: 16px; background: var(--ll-surface); border: 1px solid var(--ll-line); display: flex; flex-direction: column; gap: 8px; }
.ll-storage__grid b { font-size: 26px; color: var(--ll-lime); }
.ll-storage__grid span { color: var(--ll-muted); font-size: 14px; }

body.lotline .related.products > h2, body.lotline .up-sells > h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* Cart / checkout */
body.lotline .woocommerce table.shop_table, body.lotline .wc-block-cart, body.lotline .cart_totals { border-color: var(--ll-line) !important; }
body.lotline .woocommerce table.shop_table th, body.lotline .woocommerce table.shop_table td { border-color: var(--ll-line) !important; }
body.lotline .ll-attest { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(212,255,58,.35); background: rgba(212,255,58,.04); font-size: 14px; }
body.lotline .button.checkout-button, body.lotline #place_order, body.lotline .wc-block-components-checkout-place-order-button { border-radius: 999px !important; background: var(--ll-teal) !important; color: #04110F !important; }

@media (max-width: 900px) {
	body.lotline.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	body.lotline.single-product div.product > * { min-width: 0; max-width: 100%; }
	body.lotline .ll-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.lotline.single-product ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	body.lotline.single-product .woocommerce-product-gallery { position: relative !important; top: 0; }
	body.lotline .ll-pdp-vial { aspect-ratio: 1 / .85; }
	body.lotline .ll-pdp-vial .ll-vial { width: 30%; }
	.ll-speccard dl { grid-template-columns: repeat(2, 1fr); }
	.ll-storage__grid { grid-template-columns: 1fr; }
}

/* Paper COA panel text colours (beat generic .entry-content p) */
body.lotline .ll-coa { --ll-fg: #1B232C; --ll-muted: #52606D; }
body.lotline .ll-coa p.ll-eyebrow, body.lotline .ll-coa .ll-eyebrow { color: #52606D !important; }
body.lotline .ll-coa p.ll-note { color: #7A8794 !important; }
body.lotline .ll-spark p { color: #93A1AE !important; }
body.lotline .ll-spark p.ll-eyebrow { color: #93A1AE !important; }
/* Kadence inner product-details box */
body.lotline ul.products li.product .product-details, body.lotline ul.products li.product .product-details.content-bg { background: transparent !important; padding: 0 !important; }
.ll-shop-note { display: flex; align-items: center; gap: 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ll-muted); padding: 12px 16px; border: 1px solid var(--ll-line); border-radius: 999px; background: var(--ll-surface); width: max-content; max-width: 100%; margin: 0 0 22px; }
@media (max-width: 640px) { .ll-shop-note { border-radius: 14px; width: auto; } }
