/**
 * Window Well Supply – Bundle UI enhancements
 *
 * NOTE: the tooltip icon (.wws-tooltip-icon / .wws-tooltip-svg) and the modal
 * (.wws-modal-overlay / .wws-modal-content / .wws-modal-close) intentionally
 * reuse the site's existing classes so they inherit the theme's styling. We do
 * NOT style those here to avoid conflicts. Only structural + price rules below.
 */

/* Hide the cover's size dropdown when collapsed to a simple control. */
.wws-cover-collapsed .bundled_item_cart_content {
	display: none !important;
}

/* Hide the original bundled-item heading once we relabel it. */
.bundled_product_title.wws-hidden {
	display: none !important;
}

/* Hide the required-field asterisks on bundle attribute labels. */
.bundle_form abbr.required,
.bundled_product abbr.required {
	display: none !important;
}

/* Tooltip icon spacing. */
.wws-tooltip-icon {
	margin-left: 5px;
}

/* "Add Cover" optional checkbox label + its inline price. */
.bundled_product_optional_checkbox {
	height: auto !important;
	width: auto !important;
	font-size: 18px !important;
	margin-top: 8px !important;
	text-indent: 0 !important;
}

.bundled_product_optional_checkbox span.price {
	display: inline !important;
}

/* Remove the left margin on the add-to-cart button for bundles. */
.woocommerce-js .product:has(.quantity input[type=hidden]) .button.single_add_to_cart_button {
	margin-left: 0 !important;
}

/* Read-only "Cover included" line (egress kit). */
.wws-cover-included {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin: 0.25em 0;
}

.wws-cover-included-label {
	margin: 0;
}

/* Static cover thumbnail injected in place of the gallery image (egress kit). */
.wws-cover-thumb {
	display: block;
	width: 100%;
	height: auto;
}

/* "Illustration purposes only" caption under the modal image (fallback styling). */
.wws-cover-caption {
	margin: 0.5em 0 0;
	font-size: 0.85em;
	line-height: 1.4;
	color: #666;
}

/* Egress kit: hide individual component prices; one total is shown elsewhere. */
.wws-egress-kit .bundled_product .price,
.wws-egress-kit .bundled_product .bundled_item_price_quantity {
	display: none !important;
}

/* Hide the per-component variation price block (the bundle total replaces it).
   Targets the variation price only, so the cover's "Add for $X" checkbox
   price is left intact. */
.bundled_product .woocommerce-variation-price {
	display: none !important;
}

/* Block cart / checkout: the confusing $0.00 line on a bundle row (the parent
   for individually-priced bundles, or the components for whole-priced bundles)
   is hidden by assets/js/cart.js, which can read the zero amount. CSS can't. */

/* Egress kit: remove the top price range near the title. The theme renders it
   as an Elementor WooCommerce product-price widget, separate from the bundle. */
.wws-egress-kit .elementor-widget-woocommerce-product-price,
.wws-top-price-hidden {
	display: none !important;
}

/* Egress kit: hide Product Bundles' "Please choose product options" error;
   our own message below replaces it. */
.wws-egress-kit .bundle_error {
	display: none !important;
}

/* Price reveal: message until configured, then the final total. */
.bundle_price .wws-price-message {
	display: none;
}

.bundle_price.wws-price-pending > .price,
.bundle_price.wws-price-pending p.price {
	display: none !important;
}

.bundle_price.wws-price-pending .wws-price-message {
	display: block;
}

/* Final total + pending message styling (applies to both bundle types). */
.bundle_price .price {
	font-weight: bold;
}

.bundle_price,
.bundle_price .price {
	font-size: 29px;
}

.bundle_price .wws-price-message {
	font-size: 18px;
}

.bundle_form .bundle_price p.price,
.single-product .bundle_form .bundle_price p.price {
	margin-bottom: 0 !important;
}

/* High specificity + !important on all three: a theme/Elementor rule that loads
   after this stylesheet was beating the plain selector even with !important. */
body.single-product .bundle_form div.bundle_price,
body.single-product .bundle_form div.bundle_error {
	padding-bottom: 18px !important;
	margin-bottom: 18px !important;
	border-bottom: 3px solid #003340 !important;
}

#modal-wws-cover-info .modal-item img {
	height: auto !important;
	min-height: auto !important;
}

.modal-item p.wws-cover-caption {
	font-size: 12px;
	line-height: 1.5;
	max-width: 100%;
}

.modal-item .wws-cover-info-desc p {
	font-weight: 400;
	max-width: 100%;
}

.modal-item .wws-cover-info-desc p.wws-features-title {
	margin-top: 8px;
	margin-bottom: 8px;
	font-size: 16px;
}

.modal-item ul {
	color: #003340 !important;
	margin-left: 1.3em;
}

#modal-wws-cover-info .wws-modal-content h3 {
	font-size: 24px;
}


/* Cart / checkout: hide quantity steppers on bundled component rows (their qty
   is fixed by the bundle). Component prices stay visible. */
.wc-block-cart-items__row.is-bundled .wc-block-components-quantity-selector {
	display: none !important;
}

/* Stack the modal's image/text columns on tablet and below. */
@media ( max-width: 1024px ) {
	#modal-wws-cover-info .modal-content-grid,
	#modal-wws-cover-info .modal-item {
		display: flex;
		flex-direction: column;
		gap: 20px;
		grid-template-columns: 1fr;
	}

	#modal-wws-cover-info .modal-item > div {
		width: 100%;
	}
}


/* 1.2.1 — Locked cover/ladder: hide their option dropdowns from the server-side
   class, so they're never editable even before (or without) the JS running.
   The optional "Add Cover" checkbox sits outside this block and stays visible. */
.bundled_product.wws-locked .bundled_item_cart_content table.variations,
.bundled_product.wws-locked .bundled_item_cart_content .reset_bundled_variations_fixed,
.bundled_product.wws-locked .bundled_item_cart_content .reset_variations {
	display: none !important;
}

/* Plain-text summary of the auto-selected cover / ladder options. */
.wws-locked-summary {
	display: flex;
	flex-wrap: wrap;
	gap: .25em 1em;
	margin: .35em 0 .5em;
	font-size: .95em;
}
.wws-locked-summary .wws-ls-label {
	font-weight: 600;
}
.wws-locked-summary .wws-ls-pending {
	opacity: .7;
	font-style: italic;
}

/* Egress kit bundle page layout (moved in from the site's custom CSS).
   Relies on the wws-egress-kit / wws-bundle body classes. */
.wws-egress-kit.wws-bundle .column-product-content {
	background: #fff;
	padding: 24px !important;
	border-radius: 16px;
	margin-top: 20px !important;
}
/* PB's own validation box; our "select options" message replaces it. */
.wws-egress-kit.wws-bundle .bundle_error {
	display: none !important;
}
.wws-egress-kit.wws-bundle form.cart table.variations label {
	font-size: 16px !important;
	padding-bottom: 0 !important;
}
.wws-egress-kit.wws-bundle .bundled_product_image {
	box-shadow: none !important;
}
.wws-egress-kit.wws-bundle h4.bundled_product_title {
	font-size: 22px !important;
}
.wws-egress-kit.wws-bundle div.bundled_product_summary,
.postid-80055 .woocommerce div.product.bundled_product_summary {
	border-color: #c7c7c7 !important;
}
.wws-egress-kit.wws-bundle .bundle_button .quantity {
	margin-right: 36px !important;
}
.wws-egress-kit.wws-bundle .elementor-widget-woocommerce-product-price {
	display: none;
}
/* Hide the kit's SKU in the product meta (it's an internal kit code). */
.wws-egress-kit.wws-bundle .product_meta .sku_wrapper {
	display: none !important;
}

/* 1.3.1 — "Pick one" window group, styled as selectable cards */
.wws-section-heading {
	margin: 24px 0 10px;
}
.wws-section-heading h4 {
	margin: 0 0 2px;
	font-size: 20px;
}
.wws-section-heading p {
	margin: 0;
	font-size: 14px;
	color: #5b6b73;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item {
	display: flex !important;
	align-items: center;
	gap: 16px;
	border: 2px solid #dfe4e7 !important;
	border-radius: 10px;
	padding: 12px 14px !important;
	margin: 0 0 10px !important;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item:hover {
	border-color: #9fb3bb !important;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item.is-selected {
	border-color: #ff9527 !important;
	background: #f3f8f9;
	box-shadow: 0 0 0 3px rgba(255, 149, 39, .15);
}
.bundled_product.wws-choice-group .bundled_product_images {
	flex: 0 0 76px;
	width: 76px !important;
	margin: 0 !important;
	align-self: flex-start;
}
.bundled_product.wws-choice-group .bundled_product_images img {
	border-radius: 6px;
	width: 76px;
	height: auto;
}
.bundled_product.wws-choice-group .details {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item h4.bundled_product_title {
	font-size: 17px !important;
	line-height: 1.3 !important;
	margin: 0 0 6px !important;
}
.bundled_product.wws-choice-group .bundled_product_title_link {
	display: none;
}
/* The "select" row: radio dot + label */
.bundled_product.wws-choice-group label.wws-choice-label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 600;
	color: #003340;
	cursor: pointer;
}
.bundled_product.wws-choice-group .wws-choice-orig {
	display: none !important;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item input.bundled_product_checkbox {
	-webkit-appearance: none !important;
	appearance: none !important;
	flex: 0 0 20px;
	width: 20px !important;
	min-width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #8fa3ab !important;
	border-radius: 50% !important;
	background: #fff !important;
	position: relative;
	cursor: pointer;
	transition: border-color .15s ease;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item.is-selected input.bundled_product_checkbox {
	border-color: #003340 !important;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item input.bundled_product_checkbox:checked::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #003340;
}
body div.bundled_product.bundled_product_summary.wws-choice-group.wws-choice-item input.bundled_product_checkbox:focus-visible {
	outline: 2px solid #f7941d;
	outline-offset: 2px;
}
/* Selected card: the window's own options sit inside the card */
.bundled_product.wws-choice-group.is-selected .bundled_item_cart_content {
	margin-top: 10px;
	cursor: auto;
}
@media (max-width: 480px) {
	.bundled_product.wws-choice-group .bundled_product_images {
		flex-basis: 60px;
		width: 60px !important;
	}
	.bundled_product.wws-choice-group .bundled_product_images img {
		width: 60px;
	}
}
/* Option rows inside a selected window card: compact, aligned to the card */
.bundled_product.wws-choice-group .bundled_item_cart_content table.variations td,
.bundled_product.wws-choice-group .bundled_item_cart_content table.variations th {
	padding: 4px 0 !important;
}
.bundled_product.wws-choice-group .bundled_item_cart_content table.variations label {
	font-size: 15px !important;
	margin-bottom: 2px !important;
}
.bundled_product.wws-choice-group .bundled_item_cart_content select {
	font-size: 15px;
}
.bundled_product.wws-choice-group .bundled_product_images figure {
	margin: 0 !important;
	padding: 0 !important;
}
/* Breathing room between the window choice and the included items below */
.bundled_product.wws-choice-group + .bundled_product:not(.wws-choice-group) {
	margin-top: 18px !important;
}

/* 1.3.3 — single-value attributes (no dropdown) on one line: "Color: White" */
.bundle_form table.variations tr.attribute_value_static {
	display: flex !important;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}
.bundle_form table.variations tr.attribute_value_static td {
	display: inline-block !important;
	width: auto !important;
	padding: 2px 0 !important;
}
.bundle_form table.variations tr.attribute_value_static td.label label {
	margin: 0 !important;
	padding: 0 !important;
}
.bundle_form table.variations tr.attribute_value_static .bundled_variation_attribute_value {
	font-size: 16px;
	font-weight: 400;
}

/* 1.3.5 — divider above "Also Included", matching the line above "Choose Your Window".
   Only needed after the window cards: any other item above already has its own
   bottom border, which would double up. */
.bundled_product.wws-choice-group + .wws-section-heading.wws-included-heading {
	border-top: 1px solid #c7c7c7;
	padding-top: 26px;
	margin-top: 26px;
}
/* "Matching Cover/Ladder Included" sized like the window card titles */
body .bundle_form .bundled_product h4.wws-cover-included-label {
	font-size: 17px !important;
	line-height: 1.3 !important;
	font-weight: 700;
	margin: 0 0 6px !important;
}

/* 1.3.7 — option tables inside bundled items: tighter than the theme default,
   with a little breathing room. High-specificity selectors so they beat the
   Elementor product template's "tr { margin-bottom: 10px !important }". */
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations {
	margin: 0 0 4px !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations tbody tr {
	margin: 0 0 16px !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations tbody tr:last-child {
	margin-bottom: 0 !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations td.label {
	margin: 0 !important;
	padding: 0 0 6px !important;
	line-height: 1.4 !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations td.label label {
	line-height: 1.4 !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations td.value {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations .reset_bundled_variations_fixed {
	height: auto !important;
	line-height: 1.2 !important;
	margin-top: 6px;
}
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations .reset_variations {
	font-size: 12px;
}
/* Single-value rows ("Color: White") stay on one line */
body.single-product .bundle_form .bundled_product .bundled_item_cart_content table.variations tr.attribute_value_static td.label {
	padding: 0 !important;
}


/* 1.4.1 — Cover info modal matches the window well listings' Add Cover modal. */
#modal-wws-cover-info .modal-item ul {
	padding-left: 10px;
	margin-left: 10px;
	font-weight: 400;
}
#modal-wws-cover-info .modal-item p.wws-cover-caption {
	color: #888A8D !important;
}
#modal-wws-cover-info .modal-item img {
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

/* 1.4.2 — Ladder info modal: same styling as the cover info modal. */
#modal-wws-ladder-info .modal-item img {
	height: auto !important;
	min-height: auto !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}
#modal-wws-ladder-info .wws-modal-content h3 {
	font-size: 24px;
}
#modal-wws-ladder-info .modal-item ul {
	padding-left: 10px;
	margin-left: 10px;
	font-weight: 400;
}
#modal-wws-ladder-info .modal-item p.wws-cover-caption {
	color: #888A8D !important;
}
@media ( max-width: 1024px ) {
	#modal-wws-ladder-info .modal-content-grid,
	#modal-wws-ladder-info .modal-item {
		display: flex;
		flex-direction: column;
		gap: 20px;
		grid-template-columns: 1fr;
	}
	#modal-wws-ladder-info .modal-item > div {
		width: 100%;
	}
}

/* 1.4.3 — Info pop-up images: square frame, whole image visible. Covers the
   plugin's cover/ladder pop-ups and the theme's Add Cover / Add Ladder ones. */
.wws-modal-overlay .modal-item img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	width: 100%;
	height: auto !important;
}


/* 1.5.0 — Block cart ---------------------------------------------------- */

/* Kit components can't be removed on their own (the remove link PB shows on
   optional components such as the window choice). Remove the kit instead. */
.wc-block-cart-items__row.is-bundled .wc-block-cart-item__remove-link {
	display: none !important;
}

/* Kit row: no long description or flat "Includes:" list; the components sit
   under the "View Kit Contents" toggle (assets/js/cart.js). */
.wc-block-cart-items__row.is-bundle .wc-block-components-product-metadata__description,
.wc-block-cart-items__row.is-bundle .wc-block-components-product-details {
	display: none !important;
}


/* "View Kit Contents" toggle */
.wc-block-cart .wws-kit-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 10px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: #003340;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.wc-block-cart .wws-kit-toggle::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .15s ease;
}
.wc-block-cart .wws-kit-toggle[aria-expanded="true"]::after {
	transform: rotate(-135deg) translateY(-2px);
}
.wc-block-cart .wws-kit-toggle:hover,
.wc-block-cart .wws-kit-toggle:focus-visible {
	color: #ff9527;
	background: none;
}
.wc-block-cart .wws-kit-toggle:focus:not(:focus-visible) {
	color: #003340;
	background: none;
	outline: none;
}


/* 1.6.0 — Block cart line items, our own layout at every width ----------
   WooCommerce draws the items as a table and re-flows it with its own
   breakpoints (is-small / is-mobile), which squeezed kit components into the
   narrow product column. Here the table becomes a stack of grid rows we
   control, switched by the width of the items column (container query), not
   the window.

   Row:        [image] [name, "each" price, options, kit toggle, qty]  [total]
   Narrow:     [image] [name ... qty]
                       [               total]
   Kit parts:  indented under the kit's text, no total column.
   ------------------------------------------------------------------------ */

.wc-block-cart .wc-block-cart__main {
	container-type: inline-size;
	container-name: wws-cart;
}
.wc-block-cart table.wc-block-cart-items,
.wc-block-cart table.wc-block-cart-items > tbody {
	display: block !important;
	width: 100% !important;
}
.wc-block-cart table.wc-block-cart-items > thead {
	display: block !important;
}
.wc-block-cart table.wc-block-cart-items > thead > tr {
	display: flex !important;
	justify-content: space-between;
}
.wc-block-cart table.wc-block-cart-items > thead .wc-block-cart-items__header-product {
	display: none !important; /* "Details" */
}

/* Parent rows: one divider line between products. */
.wc-block-cart .wc-block-cart-items__row {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 96px minmax(0, 1fr) auto !important;
	grid-template-rows: auto !important;
	column-gap: 16px !important;
	row-gap: 0 !important;
	align-items: start !important;
	padding: 20px 0 !important;
	border-top: 1px solid #e3e6e8 !important;
}
.wc-block-cart .wc-block-cart-items__row > td {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.wc-block-cart .wc-block-cart-items__row > .wc-block-cart-item__image {
	grid-column: 1 !important;
	grid-row: 1 / span 2 !important;
}
.wc-block-cart .wc-block-cart-items__row > .wc-block-cart-item__product {
	grid-column: 2 !important;
	grid-row: 1 !important;
}
.wc-block-cart .wc-block-cart-items__row > .wc-block-cart-item__total {
	grid-column: 3 !important;
	grid-row: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	justify-self: end !important;
	padding-top: 32px !important; /* below the remove × */
	text-align: right;
}

/* Thumbnails: square frame, whole image visible, no shadow. */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image img {
	display: block;
	width: 96px !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image a {
	box-shadow: none !important;
}

/* Name */
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-name {
	display: block;
	margin: 0 0 4px !important;
	padding-right: 32px; /* room for the remove × */
	font-size: 17px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	color: #003340 !important;
}

/* "$2,986.90 each" under the name (no crossed-out price; savings show once,
   on the right). */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices {
	display: block !important;
	margin: 0 0 6px !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices del,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices .screen-reader-text {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price {
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 4px;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-formatted-money-amount,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices ins {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #003340 !important;
	text-decoration: none !important;
	background: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price::after {
	content: "each";
	font-size: 13px;
	font-weight: 400;
	color: #5b6b73;
}

/* No short descriptions (often empty &nbsp; paragraphs); kits use the toggle. */
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-metadata__description,
.wc-block-cart .wc-block-cart-items__row.is-bundle .wc-block-components-product-metadata {
	display: none !important;
}

/* Selected options: one per line, 13px, no " / " separators. */
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-metadata {
	margin: 0 0 8px !important;
	color: #5b6b73;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-details {
	margin: 0 !important;
	padding: 0 !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-details > span {
	display: block !important;
	margin: 0 0 1px !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-details span[aria-hidden="true"] {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-details,
.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-details * {
	font-size: 13px !important;
	line-height: 1.45 !important;
}

/* Line total + "Savings:" badge */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	gap: 4px !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price {
	font-size: 17px;
	font-weight: 700;
	color: #003340;
	white-space: nowrap;
}

/* Remove: plain × top right of the row, like the drawer. */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__remove-link {
	position: absolute !important;
	top: 18px !important;
	right: 0 !important;
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #666 !important;
	text-decoration: none !important;
	cursor: pointer;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__remove-link svg {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__remove-link::before {
	content: "\00d7";
	display: block;
	color: inherit;
	font: 400 26px/24px "Work Sans", sans-serif !important;
	text-align: center;
	text-decoration: none !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__remove-link:hover,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__remove-link:focus-visible {
	color: #003340 !important;
	text-decoration: none !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-cart-item__remove-link {
	display: none !important;
}

/* Kit toggle sits on the left, one line. */
.wc-block-cart .wc-block-cart-items__row .wws-kit-toggle {
	margin: 2px 0 10px !important;
	text-align: left;
	white-space: nowrap;
}

/* Kit components: indented under the kit's text (96px image + 16px gap),
   smaller image and name, no divider, no total column. Tighter spacing
   between parts; the space above the first and below the last is kept. */
.wc-block-cart .wc-block-cart-items__row.is-bundled {
	grid-template-columns: 64px minmax(0, 1fr) !important;
	column-gap: 24px !important;
	margin-left: 112px !important;
	padding: 5px 0 !important;
	border-top: 0 !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundle + .wc-block-cart-items__row.is-bundled {
	padding-top: 0 !important;
	margin-top: -6px !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled.is-bundled__last {
	padding-bottom: 20px !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled > .wc-block-cart-item__image {
	grid-row: 1 !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-cart-item__image img {
	width: 64px !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled > .wc-block-cart-item__total {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-components-product-name {
	padding-right: 0;
	font-size: 15px !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled__price_hidden .wc-block-cart-item__prices {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-components-product-metadata {
	margin-bottom: 0 !important;
}

/* Narrow items column: total moves under the details, right-aligned. */
@container wws-cart (max-width: 520px) {
	.wc-block-cart .wc-block-cart-items__row {
		grid-template-columns: 72px minmax(0, 1fr) !important;
		column-gap: 14px !important;
	}
	.wc-block-cart .wc-block-cart-items__row > .wc-block-cart-item__total {
		grid-column: 2 !important;
		grid-row: 2 !important;
		justify-self: end !important;
		padding-top: 6px !important;
	}
	.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 72px !important;
	}
	.wc-block-cart .wc-block-cart-items__row .wc-block-components-product-name {
		font-size: 16px !important;
	}
	.wc-block-cart .wc-block-cart-items__row.is-bundled {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		column-gap: 14px !important;
		margin-left: 24px !important;
	}
	.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-cart-item__image img {
		width: 48px !important;
	}
}

/* Undo WooCommerce's small-screen table tricks that fight the grid: the
   product column's reserved top padding, the absolutely-positioned (indented)
   component images, the zero-width image links, and the header wrapping. */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__wrap {
	padding: 0 !important;
	margin: 0 !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image a {
	display: block !important;
	position: static !important;
	width: 100% !important;
	height: auto !important;
}
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image img {
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	transform: none !important;
	margin: 0 !important;
}
.wc-block-cart table.wc-block-cart-items > thead > tr > th {
	display: block !important;
	flex: 0 0 auto;
	width: auto !important;
}
/* Kit components never have their own quantity stepper. */
.wc-block-cart .wc-block-cart-items__row.is-bundled .wc-block-components-quantity-selector {
	display: none !important;
}

/* 1.6.1 — Square thumbnail corners; header flush with the rows. */
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image img,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__image a {
	border-radius: 0 !important;
}
.wc-block-cart table.wc-block-cart-items > thead > tr > th:first-child {
	padding-left: 0 !important;
}
.wc-block-cart table.wc-block-cart-items > thead > tr > th:last-child {
	padding-right: 0 !important;
}

/* 1.6.2 — Quantity +/- buttons: square, light grey hover. */
.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	border-radius: 0 !important;
}
.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled),
.wc-block-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus-visible {
	background-color: #f4f4f4 !important;
}


/* 1.7.0 — Cart page, Kohl's style: line total under the name with the regular
   line total crossed out after it (assets/js/cart.js); no "each" price and no
   Total column. */
.wc-block-cart table.wc-block-cart-items > thead .wc-block-cart-items__header-total,
.wc-block-cart .wc-block-cart-items__row > .wc-block-cart-item__total,
.wc-block-cart .wc-block-cart-items__row .wc-block-cart-item__prices {
	display: none !important;
}
.wc-block-cart .wc-block-cart-items__row {
	grid-template-columns: 96px minmax(0, 1fr) !important;
}
@container wws-cart (max-width: 520px) {
	.wc-block-cart .wc-block-cart-items__row {
		grid-template-columns: 72px minmax(0, 1fr) !important;
	}
}
.wc-block-cart .wc-block-cart-items__row.is-bundled {
	grid-template-columns: 64px minmax(0, 1fr) !important;
}
.wc-block-cart .wc-block-cart-items__row .wws-line-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0 0 8px;
}
.wc-block-cart .wc-block-cart-items__row .wws-line-price__sale {
	font-size: 17px;
	font-weight: 700;
	color: #003340;
}
.wc-block-cart .wc-block-cart-items__row .wws-line-price__regular {
	font-size: 14px;
	font-weight: 400;
	color: #5b6b73;
}


/* 1.7.9 — "Recalculating price…" in the cart line price and the savings box
   while WooCommerce is updating the cart. */
.wc-block-cart .wws-recalc,
.wws-you-save .wws-recalc {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 400;
	color: #5b6b73;
	white-space: nowrap;
}
.wc-block-cart .wws-recalc::before,
.wws-you-save .wws-recalc::before {
	content: "";
	width: 12px;
	height: 12px;
	border: 2px solid #c7cfd3;
	border-top-color: #003340;
	border-radius: 50%;
	animation: wws-spin .7s linear infinite;
}
@keyframes wws-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.wc-block-cart .wws-recalc::before,
	.wws-you-save .wws-recalc::before {
		animation: none;
	}
}
