/* Structure only. Colour and type come from Elementor globals and the theme kit. */
.jt-atq{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.jt-atq__note{flex-basis:100%;margin:2px 0 0}
.jt-atq__qty,.jt-quote__qty{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--e-global-color-jt_line,#e5e5e5);border-radius:999px;padding:8px 14px;background:#fff}
.jt-atq__step,.jt-quote__step{border:0;background:none;cursor:pointer;font-size:18px;line-height:1;padding:4px 6px;min-width:28px}
/* `input.` as well as the class: hello-elementor's reset styles every input with a grey border,
   a 3px radius and generous padding at the same weight as a bare class, and loads later — which
   blew the quantity field out to 201px and the stepper with it. */
/* Scoped to the stepper for a third selector: the theme's `input[type="number"]` rule is an
   attribute plus an element, exactly the weight of `input.jt-quote__input`, and reset.css loads
   after this file — so the tie went to the theme and the field kept its 100% width. */
.jt-atq__qty input.jt-atq__input,.jt-quote__qty input.jt-quote__input{
	width:3.5em;min-width:0;text-align:center;padding:0;
	border:0;border-radius:0;background:none;box-shadow:none;
	font:inherit;color:inherit;-moz-appearance:textfield
}
.jt-atq__input::-webkit-outer-spin-button,.jt-atq__input::-webkit-inner-spin-button,
.jt-quote__input::-webkit-outer-spin-button,.jt-quote__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.jt-atq__btn{cursor:pointer;border:0;border-radius:999px;padding:14px 26px;background:var(--e-global-color-primary,#b80024);color:#fff;font-weight:600}
.jt-atq__btn.is-added{background:var(--e-global-color-jt_gray,#f4f4f4);color:var(--e-global-color-jt_muted,#6b6b6b)}
.jt-atq__btn[disabled]{opacity:.6;cursor:progress}

/* ---------------------------------------------------------------------------------------------
 * The quote list.
 *
 * Held to a reading width rather than the full 1320px container. A `1fr` title column absorbs
 * every spare pixel, so on a wide screen a short product name left about nine hundred of them
 * between the name and its own quantity stepper — the row read as two unrelated halves, and the
 * totals stretched into rules with the label at one edge of the page and the figure at the other.
 * ------------------------------------------------------------------------------------------- */
/* No max-width and no centring: the page's own container is the grid everything else sits on,
   and capping the list then centring it inside that container indented it 140px, so the heading
   and the list it belongs to no longer shared a left edge. A cart table is allowed to be as wide
   as the page it is on; what it is not allowed to do is sit off the page's own margin. */
/* The headings sit on the same tracks as a row, so each label lands over its own column. The
   three trailing `auto` tracks of a row are qty / price / remove; Price spans the last two so it
   sits over the figure rather than over the Remove link. */
.jt-quote__cols{
	display:grid;grid-template-columns:var(--jt-q-cols);gap:18px;
	margin:0;padding:0 0 10px;border-bottom:1px solid var(--e-global-color-jt_line,#e5e5e5);
	font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
	color:var(--e-global-color-jt_muted,#6b6b6b)
}
.jt-quote__cols span:first-child{grid-column:2}
.jt-quote__cols span:nth-child(2){grid-column:3;justify-self:center}
.jt-quote__cols span:last-child{grid-column:4;justify-self:end}
.jt-quote__lines{list-style:none;margin:0;padding:0}
/* The unit the quantity is counted in, beside the stepper. */
.jt-quote__unit{font-size:.8em;color:var(--e-global-color-jt_muted,#6b6b6b);white-space:nowrap}
/* A line waiting on the server dims rather than vanishing, so the row stays where it is. */
.jt-quote__line.is-busy{opacity:.55;transition:opacity .12s ease}
/* What a removed row leaves behind, so the removal can be taken back. */
.jt-quote__undo{
	display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
	padding:18px 20px;margin:10px 0;border-radius:14px;
	background:var(--e-global-color-jt_gray,#f4f4f4);
	color:var(--e-global-color-jt_muted,#6b6b6b);font-size:14.4px
}
button.jt-quote__undo-btn{
	display:inline-flex;align-items:center;min-height:44px;padding:0 4px;
	border:0;border-radius:0;background:none;cursor:pointer;font:inherit;font-weight:700;
	color:var(--e-global-color-primary,#b80024)!important;text-decoration:underline
}
/* The headings and the rows are separate grid containers, so an `auto` track in one sizes to its
   own content and lands nowhere near the same track in the other — "Quantity" sat 146px off its
   own stepper. Explicit widths, shared by both, are what actually makes them columns. */
.jt-quote{--jt-q-cols:72px minmax(0,1fr) 190px 90px 72px}
.jt-quote__line{display:grid;grid-template-columns:var(--jt-q-cols);gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--e-global-color-jt_line,#e5e5e5)}
.jt-quote__line .jt-quote__price{justify-self:end}
.jt-quote__line .jt-quote__remove{justify-self:end}
.jt-quote__thumb img{width:72px;height:72px;object-fit:contain;border-radius:10px;background:#fff}
.jt-quote__text{display:flex;flex-direction:column;gap:4px;min-width:0}
.jt-quote__name{font-weight:600;text-decoration:none}
.jt-quote__meta{font-size:.82em;color:var(--e-global-color-jt_muted,#6b6b6b)}
.jt-quote__price{font-weight:700;white-space:nowrap}
/* !important because hello-elementor's reset paints every <button> #cc3366 and that colour
   survives even an inline declaration here — the same override the facet toggles need. */
button.jt-quote__remove{border:0;background:none;cursor:pointer;
	/* A destructive control at twenty pixels tall was under the 24px WCAG 2.5.8 floor and sat
	   right beside the quantity stepper — easy to hit by accident, hard to hit on purpose. */
	display:inline-flex;align-items:center;min-height:44px;padding:0 4px;
	color:var(--e-global-color-jt_muted,#6b6b6b)!important;text-decoration:underline;font-size:.82em}
button.jt-quote__remove:hover{color:var(--e-global-color-primary,#b80024)!important}
/* The totals read as a panel the way a cart does — but as a band across the foot of the list,
   with the caveats on the left, rather than a narrow column floating against an empty half-row. */
.jt-quote__summary{
	display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:24px 48px;
	align-items:start;margin:28px 0 0;padding:22px 24px;
	border:1px solid var(--e-global-color-jt_line,#e5e5e5);border-radius:18px;background:#fff
}
.jt-quote__aside{display:flex;flex-direction:column;gap:10px;max-width:46ch}
.jt-quote__figures p{display:flex;justify-content:space-between;gap:16px;margin:0 0 8px}
.jt-quote__total{border-top:1px solid var(--e-global-color-jt_line,#e5e5e5);
	margin-top:12px;padding-top:12px;font-size:1.1em;font-weight:700}
.jt-quote__note,.jt-quote__device{display:block;font-size:.82em;color:var(--e-global-color-jt_muted,#6b6b6b)}
.jt-quote--empty{text-align:center;max-width:620px;margin:0 auto}
.jt-quote__cta{display:inline-block;border-radius:999px;padding:14px 26px;background:var(--e-global-color-primary,#b80024);color:#fff;text-decoration:none;font-weight:600}
.jt-quote-count.is-empty .jt-quote-count__n{opacity:.5}

@media (max-width:782px){
	/* The row stacks here, so the headings have nothing to sit over. */
	.jt-quote__cols{display:none}
	/* Stacked on a phone: figures first, because that is what the page is for. */
	.jt-quote__summary{grid-template-columns:1fr;gap:18px}
	.jt-quote__figures{order:-1}
	/* The stepper used to be placed in the 60px thumbnail column, which is narrower than its own
	   two buttons: the quantity input collapsed to nothing and the plus spilled out of the pill.
	   It gets a row of its own now, with the price and Remove paired beneath it. */
	.jt-quote__line{
		grid-template-columns:60px minmax(0,1fr);
		grid-template-areas:"thumb text" "qty qty" "price remove";
		row-gap:12px;align-items:center
	}
	.jt-quote__thumb{grid-area:thumb}.jt-quote__text{grid-area:text}
	.jt-quote__qty{grid-area:qty;justify-self:start}
	.jt-quote__price{grid-area:price;justify-self:start}
	.jt-quote__remove{grid-area:remove;justify-self:end}
}

/* Specification groups */
.jt-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:32px}
.jt-specs__head{font-size:.78em;letter-spacing:.05em;text-transform:uppercase;margin:0 0 10px;color:var(--e-global-color-jt_muted,#6b6b6b)}
.jt-specs__list{margin:0}
.jt-specs__row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--e-global-color-jt_line,#e5e5e5)}
.jt-specs__row:last-child{border-bottom:0}
.jt-specs__row dt{color:var(--e-global-color-jt_muted,#6b6b6b);margin:0}
.jt-specs__row dd{margin:0;text-align:right;font-weight:500}
.jt-specs__certs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.jt-specs__certs li{background:var(--e-global-color-jt_gray,#f4f4f4);border-radius:999px;padding:8px 14px;font-size:.82em}

.jt-unit-price-row{display:inline-flex;align-items:center;gap:8px;background:var(--e-global-color-jt_gray,#f4f4f4);border-radius:999px;padding:9px 18px;margin:0}
.jt-unit-price-row .jt-unit-price{font-weight:600}
.jt-unit-price-row__note{color:var(--e-global-color-jt_muted,#6b6b6b);font-size:.88em}

/* Header quote indicator.
   `a.` plus the widget wrapper, because the Elementor kit's `.elementor-kit-N a` paints every
   anchor brand red at the same weight as a bare class and loads later — which left the label and
   icon red on the red pill, invisible, the moment the list had something in it. */
/* The ghost treatment, not the solid one: this sat immediately beside "Book a Walk-Through" as a
   second filled red pill, so the header offered two primary buttons of equal weight and neither
   read as the main action. The quote list is somewhere to go back to, not the call to action, so
   it takes the outline and leaves the solid red to the one button that is asking for the click. */
.elementor-widget-jt-quote-count a.jt-quote-count,
a.jt-quote-count{display:inline-flex;align-items:center;gap:9px;text-decoration:none;
	border-radius:999px;padding:8px 8px 8px 16px;background:#fff;
	border:1.5px solid var(--e-global-color-primary,#b80024);
	color:var(--e-global-color-primary,#b80024);font-weight:600;line-height:1;white-space:nowrap}
.jt-quote-count__icon{flex:0 0 auto}
.jt-quote-count__n{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;
	border-radius:999px;background:var(--e-global-color-primary,#b80024);color:#fff;font-size:.82em;padding:0 7px}
.elementor-widget-jt-quote-count a.jt-quote-count.is-empty,
a.jt-quote-count.is-empty{background:transparent;color:var(--e-global-color-secondary,#1e1e1e);
	border:1.5px solid var(--e-global-color-jt_line,#e5e5e5);padding-right:16px}
.jt-quote-count.is-empty .jt-quote-count__n{display:none}
/* Hover fills it, the same inversion every other ghost button on the site uses. */
.elementor-widget-jt-quote-count a.jt-quote-count:hover,
a.jt-quote-count:hover{background:var(--e-global-color-primary,#b80024);
	border-color:var(--e-global-color-primary,#b80024);color:#fff}
.jt-quote-count:hover .jt-quote-count__n{background:#fff;color:var(--e-global-color-primary,#b80024)}
.jt-quote-count.is-empty:hover{background:var(--e-global-color-jt_gray,#f4f4f4)}
/* ---------------------------------------------------------------------------------------------
 * The persistent quote indicator.
 *
 * It belongs in the sticky row, and only the sticky row, because that is the one thing still on
 * screen once the page scrolls. Parking it in the utility strip above looked tidier but took it
 * off screen the moment anyone scrolled — and the fallback I assumed covered that, the bottom
 * quote bar, is `display:none` above 783px, so on a desktop shelf there was no way at all to see
 * or reach the list after scrolling. That is the opposite of what a cart has to do.
 *
 * What made it wrong in this row before was its size: a 191px filled pill beside a filled CTA, in
 * a row with seventy pixels to spare. So it keeps the slot and loses the bulk — the bag and its
 * count, the shape every cart uses, outlined so the one solid red button is still the one the
 * page is asking for. The label is carried by `aria-label` for anyone who needs it read out.
 * ------------------------------------------------------------------------------------------- */
.jt-quote-count--compact.elementor-widget-jt-quote-count a.jt-quote-count{
	/* Same height as "Book a Walk-Through" beside it — that button is 8px of padding either side
	   of a 40px icon puck, so 56px, and anything shorter sat visibly high against it. */
	box-sizing:border-box;min-height:56px;gap:8px;padding:0 16px;background:#fff;
	border:1.5px solid var(--e-global-color-primary,#b80024);
	color:var(--e-global-color-primary,#b80024)
}
.jt-quote-count--compact .jt-quote-count__label{
	/* read out, not drawn — the bag and the number are the affordance */
	position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap
}
.jt-quote-count--compact .jt-quote-count__icon{width:20px;height:20px}
.jt-quote-count--compact .jt-quote-count__n{
	min-width:24px;height:24px;background:var(--e-global-color-primary,#b80024);color:#fff;font-size:12px
}
.jt-quote-count--compact.elementor-widget-jt-quote-count a.jt-quote-count:hover{
	background:var(--e-global-color-primary,#b80024);
	border-color:var(--e-global-color-primary,#b80024);color:#fff
}
.jt-quote-count--compact a.jt-quote-count:hover .jt-quote-count__n{
	background:#fff;color:var(--e-global-color-primary,#b80024)
}
/* Nothing on the list yet: quiet, and no empty badge to explain. */
.jt-quote-count--compact.elementor-widget-jt-quote-count a.jt-quote-count.is-empty{
	border-color:var(--e-global-color-jt_line,#e5e5e5);
	color:var(--e-global-color-secondary,#1e1e1e);background:transparent
}

/* Phones: a round icon button, not a shrunken capsule.
 *
 * With the label hidden the pill kept `padding:8px 8px 8px 16px` from the rules above - the old
 * `.jt-quote-count{padding:9px}` reset here is one class and lost to both of them - so with an
 * item on the list it rendered as a lopsided 86x56 outlined capsule carrying a 19px bag and a
 * 26px count side by side, twice the visual weight of the 44px hamburger next to it.
 *
 * A 46px circle with the count as a corner badge is the site's existing round-icon-button form
 * and sits level with the toggle. The selector repeats the two above so it wins on order, not
 * on `!important`. */
@media (max-width:782px){
	/* The header uses the --compact variant, whose selector is (0,3,1) and carries min-height:56px;
	   it has to be named here or the circle stays an oval. */
	.jt-quote-count--compact.elementor-widget-jt-quote-count a.jt-quote-count,
	.elementor-widget-jt-quote-count a.jt-quote-count,
	a.jt-quote-count{
		/* min-height:56px is set on the anchor and outlived `height`, holding it at 46x56 - an oval. */
		position:relative;width:46px;height:46px;padding:0;gap:0;justify-content:center;border-radius:50%;
		min-height:46px;max-height:46px;flex:0 0 auto;align-self:center
	}
	.jt-quote-count__label{display:none}
	.jt-quote-count__n{
		position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;
		font-size:11px;font-weight:700;border:2px solid #fff
	}
}

/* Elementor's link colour out-specifies the plain class, so the empty-state button
   lost its label to red-on-red. */
.jt-quote--empty a.jt-quote__cta,
.jt-quote--empty a.jt-quote__cta:visited{color:#fff}
.jt-quote--empty a.jt-quote__cta:hover{color:#fff;background:var(--e-global-color-jt_red_dark,#8f001c)}
.jt-quote--empty{display:flex;flex-direction:column;align-items:center;gap:14px}
.jt-quote__empty-title{margin:0}
.jt-quote__empty-body{margin:0;max-width:58ch}

/* ---------------------------------------------------------------------------------------------
 * The quote drawer.
 *
 * Slides in over the page from the right so checking the list never costs the shelf underneath.
 * The rows are the list page's own markup, so the quantity, remove and undo handlers — all
 * delegated on the document — work in here unchanged.
 * ------------------------------------------------------------------------------------------- */
html.jt-no-scroll,html.jt-no-scroll body{overflow:hidden}

.jt-drawer{position:fixed;inset:0;z-index:10000}
.jt-drawer[hidden]{display:none}
.jt-drawer__scrim{
	position:absolute;inset:0;background:rgba(20,15,10,.5);
	opacity:0;transition:opacity .18s ease
}
.jt-drawer.is-open .jt-drawer__scrim{opacity:1}
.jt-drawer__panel{
	position:absolute;top:0;right:0;bottom:0;width:min(460px,100%);
	display:flex;flex-direction:column;background:#fff;
	box-shadow:-18px 0 45px rgba(0,0,0,.18);
	transform:translateX(100%);transition:transform .2s ease
}
.jt-drawer.is-open .jt-drawer__panel{transform:translateX(0)}
.jt-drawer__head{
	display:flex;align-items:center;justify-content:space-between;gap:12px;
	padding:20px 22px;border-bottom:1px solid var(--e-global-color-jt_line,#e5e5e5)
}
.jt-drawer__title{margin:0;font-size:19px;font-weight:600;color:var(--e-global-color-secondary,#1e1e1e)}
.jt-drawer button.jt-drawer__close{
	display:inline-flex;align-items:center;justify-content:center;
	width:44px;height:44px;flex:0 0 44px;
	border:0;border-radius:50%;background:var(--e-global-color-jt_gray,#f4f4f4);
	color:var(--e-global-color-secondary,#1e1e1e)!important;
	font-size:24px;line-height:1;cursor:pointer
}
.jt-drawer button.jt-drawer__close:hover{background:var(--e-global-color-jt_line,#e5e5e5)}
.jt-drawer__body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 22px 22px}
.jt-drawer__body.is-loading{opacity:.5}
.jt-drawer__empty{margin:28px 0;color:var(--e-global-color-jt_muted,#6b6b6b)}

/* A narrow panel has no room for columns: each row stacks. */
.jt-drawer__lines .jt-quote__line{
	grid-template-columns:56px minmax(0,1fr);
	grid-template-areas:"thumb text" "qty qty" "price remove";
	row-gap:10px;align-items:center
}
.jt-drawer__lines .jt-quote__thumb{grid-area:thumb}
.jt-drawer__lines .jt-quote__thumb img{width:56px;height:56px}
.jt-drawer__lines .jt-quote__text{grid-area:text}
.jt-drawer__lines .jt-quote__qty{grid-area:qty;justify-self:start}
.jt-drawer__lines .jt-quote__price{grid-area:price;justify-self:start}
.jt-drawer__lines .jt-quote__remove{grid-area:remove;justify-self:end}
.jt-drawer__lines .jt-quote__name{font-size:14.4px;line-height:1.35}

.jt-drawer__foot{
	position:sticky;bottom:0;margin:0 -22px -22px;padding:18px 22px;
	background:#fff;border-top:1px solid var(--e-global-color-jt_line,#e5e5e5)
}
.jt-drawer__foot .jt-quote__figures p{display:flex;justify-content:space-between;gap:16px;margin:0 0 6px}
.jt-drawer__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:16px 0 0}
.jt-drawer a.jt-drawer__cta{
	display:inline-flex;align-items:center;justify-content:center;min-height:48px;
	padding:0 26px;border-radius:999px;font-weight:600;text-decoration:none;
	background:var(--e-global-color-primary,#b80024);color:#fff!important
}
.jt-drawer a.jt-drawer__cta:hover{background:var(--e-global-color-jt_red_dark,#8f001c)}
.jt-drawer a.jt-drawer__link{
	display:inline-flex;align-items:center;min-height:44px;
	color:var(--e-global-color-primary,#b80024)!important;font-weight:600;text-decoration:underline
}

@media (prefers-reduced-motion:reduce){
	.jt-drawer__scrim,.jt-drawer__panel{transition:none}
}
