/**
 * FluentCartShopper — FluentCart skin
 * =============================
 *
 * FluentCart renders its storefront with `.fct-*` markup and ships its own
 * component CSS. FluentCartShopper's design is built on `.products / .product /
 * .summary / .button` markup instead. Rather than duplicating FluentCart's
 * rendering, this stylesheet maps the plugin's markup onto the theme's design
 * language: same type scale, colours, radii, spacing and grid behaviour as
 * main.css, product.css and cart-checkout.css.
 *
 * Loaded on every request (the header cart is global) but every rule is scoped
 * to `.fluentcartshopper-fluentcart` or a FluentCart class, so blog pages are
 * untouched.
 *
 * @package FluentCartShopper
 * @since   2.9.9-fc.1
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

body.fluentcartshopper-fluentcart {
	--fc-text: #2c2d33;
	--fc-text-muted: #72767c;
	--fc-border: #e2e4e7;
	--fc-border-strong: #d2d6dc;
	--fc-surface: #fff;
	--fc-surface-alt: #f8f9fa;
	--fc-accent: #43454b;
	--fc-accent-hover: #2c2d33;
	--fc-danger: #b32d2e;
	--fc-success: #2e7d32;
	--fc-radius: 4px;
	--fc-radius-sm: 3px;
	--fc-gap: 1.5rem;
}

/* ==========================================================================
   3. Product grid + cards
   ========================================================================== */

/* FluentCartShopper's `ul.products > li.product` grid drives the layout. Neutralise
   FluentCart's own card chrome so the theme's hover treatment shows through. */
body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-image-wrap {
	display: block;
	overflow: hidden;
	margin-bottom: 0.75rem;
	border-radius: var(--fc-radius);
	background: var(--fc-surface-alt);
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}

body.fluentcartshopper-fluentcart ul.products li.product:hover .fct-product-card-image {
	transform: scale(1.03);
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-title {
	margin: 0 0 0.35rem;
	padding: 0;
	font-size: clamp(0.875rem, 0.8115rem + 0.2033vw, 0.9375rem);
	font-weight: 600;
	line-height: 1.35;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-title a {
	color: inherit;
	text-decoration: none;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-title a:hover {
	text-decoration: underline;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-rating {
	display: flex;
	align-items: center;
	gap: 0.25em;
	margin-bottom: 0.35rem;
	color: var(--fc-text-muted);
	font-size: 0.8em;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-rating svg {
	width: 1em;
	height: 1em;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-excerpt {
	margin: 0 0 0.5rem;
	color: var(--fc-text-muted);
	font-size: 0.85em;
	line-height: 1.5;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-card-prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	margin: 0 0 0.75rem;
	color: var(--fc-text);
	font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-item-price {
	font-weight: 600;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-compare-price,
body.fluentcartshopper-fluentcart ul.products li.product .fct-product-variant-compare-price {
	color: var(--fc-text-muted);
	font-weight: 400;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-compare-price del,
body.fluentcartshopper-fluentcart ul.products li.product .fct-product-variant-compare-price del {
	text-decoration: line-through;
}

/* Card CTA — FluentCartShopper's button treatment, sized for the grid. */
body.fluentcartshopper-fluentcart ul.products li.product .fct-product-view-button,
body.fluentcartshopper-fluentcart ul.products li.product .fluent-cart-add-to-cart-button {
	display: inline-block;
	width: 100%;
	margin-top: auto;
	padding: 0.7em 1em;
	border: 0;
	border-radius: var(--fc-radius);
	background-color: var(--fc-accent);
	color: #fff;
	font-size: clamp(0.8125rem, 0.749rem + 0.2033vw, 0.875rem);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-view-button:hover,
body.fluentcartshopper-fluentcart ul.products li.product .fluent-cart-add-to-cart-button:hover {
	background-color: var(--fc-accent-hover);
	color: #fff;
}

body.fluentcartshopper-fluentcart ul.products li.product .fct-product-view-button.out-of-stock,
body.fluentcartshopper-fluentcart ul.products li.product .fct-product-view-button[disabled] {
	background-color: var(--fc-border-strong);
	color: #fff;
	cursor: not-allowed;
}

body.fluentcartshopper-fluentcart ul.products li.product .fluent-cart-add-to-cart-button.fct-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Sale / stock badges: the theme already positions `.onsale`. */
body.fluentcartshopper-fluentcart ul.products li.product .product-out-of-stock {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	padding: 3px 6px;
	border-radius: var(--fc-radius-sm);
	background: var(--fc-text);
	color: #fff;
	font-size: 11px;
	line-height: 15px;
}

body.fluentcartshopper-fluentcart ul.products li.product .product-out-of-stock em {
	font-style: normal;
}

/* ==========================================================================
   4. Quick view
   ========================================================================== */

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view-button {
	position: absolute;
	z-index: 3;
	bottom: 12px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--fc-text);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
	cursor: pointer;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view-button svg {
	width: 18px;
	height: 18px;
}

body.fluentcartshopper-fluentcart ul.products li.product:hover .fluentcartshopper-fc-quick-view-button,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view-button:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view-button:hover {
	background: var(--fc-accent);
	color: #fff;
}

@media (hover: none) {
	body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view-button {
		opacity: 1;
		transform: none;
	}
}

/* Dialogs (quick view + size guide) */
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog {
	width: min(920px, calc(100vw - 2rem));
	max-height: calc(100vh - 4rem);
	padding: 0;
	border: 0;
	border-radius: var(--fc-radius);
	background: var(--fc-surface);
	color: var(--fc-text);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog::backdrop {
	background: rgba(17, 18, 20, 0.55);
	backdrop-filter: blur(2px);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.25rem;
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__close svg {
	width: 20px;
	height: 20px;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__close:hover {
	background: var(--fc-surface-alt);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__body {
	max-height: calc(100vh - 12rem);
	padding: 1.25rem;
	overflow-y: auto;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view__loader {
	min-height: 220px;
	background: linear-gradient(90deg, #f4f5f6 25%, #eceef0 37%, #f4f5f6 63%);
	background-size: 400% 100%;
	border-radius: var(--fc-radius);
	animation: fluentcartshopper-fc-shimmer 1.4s ease infinite;
}

@keyframes fluentcartshopper-fc-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
	body.fluentcartshopper-fluentcart .fluentcartshopper-fc-quick-view__loader {
		animation: none;
	}
}

/* ==========================================================================
   5. Single product
   ========================================================================== */

body.fluentcartshopper-fluentcart.single-product .fluentcartshopper-fc-single-product {
	margin-bottom: 2rem;
}

body.fluentcartshopper-fluentcart .fct-single-product-page-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

@media (max-width: 780px) {
	body.fluentcartshopper-fluentcart .fct-single-product-page-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.fluentcartshopper-fluentcart .fct-product-gallery-wrapper {
	margin: 0;
}

body.fluentcartshopper-fluentcart .fct-product-gallery-thumb img,
body.fluentcartshopper-fluentcart .fct-gallery-thumb-control-button img {
	border-radius: var(--fc-radius);
}

body.fluentcartshopper-fluentcart .fct-product-summary {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 34rem;
}

body.fluentcartshopper-fluentcart .fct-product-title h1,
body.fluentcartshopper-fluentcart .fct-product-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.375rem, 1.18rem + 0.94vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fct-product-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
	color: var(--fc-text-muted);
	font-size: 0.85rem;
}

body.fluentcartshopper-fluentcart .fct-stock-label {
	color: var(--fc-success);
	font-weight: 600;
}

body.fluentcartshopper-fluentcart .fct-stock-label.fct_status_badge_out-of-stock,
body.fluentcartshopper-fluentcart .fct_status_badge_out-of-stock {
	color: var(--fc-danger);
}

body.fluentcartshopper-fluentcart .fct-product-sku__label {
	color: var(--fc-text-muted);
}

body.fluentcartshopper-fluentcart .fct-product-excerpt {
	margin: 0 0 0.75rem;
	color: #4a4d52;
	font-size: 0.95rem;
	line-height: 1.6;
}

body.fluentcartshopper-fluentcart .fct-product-prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0.25rem 0 1rem;
	font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
	font-weight: 600;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fct-product-prices .fct-compare-price {
	color: var(--fc-text-muted);
	font-size: 0.85em;
	font-weight: 400;
}

/* Buy section */
body.fluentcartshopper-fluentcart .fct_buy_section {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin-top: 0.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct-product-variant-title,
body.fluentcartshopper-fluentcart .fct-product-tab-nav-item {
	font-size: 0.9rem;
}

body.fluentcartshopper-fluentcart .fct-product-variant-item-price,
body.fluentcartshopper-fluentcart .fct-product-variant-price {
	font-weight: 600;
}

/* Variation selector pills */
body.fluentcartshopper-fluentcart .fct-product-variant-text,
body.fluentcartshopper-fluentcart .fct-product-variant-image {
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.fluentcartshopper-fluentcart .fct-product-variant-text:hover,
body.fluentcartshopper-fluentcart .fct-product-variant-image:hover {
	border-color: var(--fc-accent);
}

body.fluentcartshopper-fluentcart .fct-product-variant-text.is-selected,
body.fluentcartshopper-fluentcart .fct-product-variant-image.is-selected,
body.fluentcartshopper-fluentcart .fct-product-variant-text[aria-checked='true'],
body.fluentcartshopper-fluentcart .fct-product-variant-image[aria-checked='true'] {
	border-color: var(--fc-accent);
	box-shadow: 0 0 0 1px var(--fc-accent) inset;
}

/* Quantity + buttons row */
body.fluentcartshopper-fluentcart .fct-product-quantity {
	display: inline-flex;
	align-items: stretch;
	width: auto;
	max-width: 8.5rem;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	overflow: hidden;
}

body.fluentcartshopper-fluentcart .fct-product-quantity .fct-quantity-input {
	width: 3rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	text-align: center;
	font-size: 0.95rem;
	-moz-appearance: textfield;
}

body.fluentcartshopper-fluentcart .fct-product-quantity .fct-quantity-input::-webkit-outer-spin-button,
body.fluentcartshopper-fluentcart .fct-product-quantity .fct-quantity-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.fluentcartshopper-fluentcart .fct-quantity-decrease-button,
body.fluentcartshopper-fluentcart .fct-quantity-increase-button {
	width: 2.4rem;
	padding: 0;
	border: 0;
	background: var(--fc-surface-alt);
	color: var(--fc-text);
	font-size: 1rem;
	cursor: pointer;
}

body.fluentcartshopper-fluentcart .fct-quantity-decrease-button:hover,
body.fluentcartshopper-fluentcart .fct-quantity-increase-button:hover {
	background: var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct-product-buttons-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

body.fluentcartshopper-fluentcart .fct-product-buttons-wrap .fluent-cart-add-to-cart-button,
body.fluentcartshopper-fluentcart .fct-product-buttons-wrap .fluent-cart-direct-checkout-button,
body.fluentcartshopper-fluentcart .fct-product-buttons-wrap button,
body.fluentcartshopper-fluentcart .fct-product-buttons-wrap a.button {
	flex: 1 1 12rem;
	min-height: 2.9rem;
	padding: 0.85em 1.4em;
	border: 0;
	border-radius: var(--fc-radius);
	background-color: var(--fc-accent);
	color: #fff;
	font-size: clamp(0.875rem, 0.8115rem + 0.2033vw, 0.9375rem);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.fluentcartshopper-fluentcart .fct-product-buttons-wrap .fluent-cart-add-to-cart-button:hover,
body.fluentcartshopper-fluentcart .fct-product-buttons-wrap button:hover,
body.fluentcartshopper-fluentcart .fct-product-buttons-wrap a.button:hover {
	background-color: var(--fc-accent-hover);
	color: #fff;
}

body.fluentcartshopper-fluentcart .fct-product-buttons-wrap .fluent-cart-direct-checkout-button {
	background-color: transparent;
	border: 1px solid var(--fc-accent);
	color: var(--fc-accent);
}

body.fluentcartshopper-fluentcart .fct-product-buttons-wrap .fluent-cart-direct-checkout-button:hover {
	background-color: var(--fc-accent);
	color: #fff;
}

body.fluentcartshopper-fluentcart .fluent-cart-add-to-cart-button .fluent-cart-loader,
body.fluentcartshopper-fluentcart .fct-loading .fluent-cart-loader {
	color: #fff;
}

/* Description / reviews */
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-product-tabs {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-product-tabs .entry-content h2,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-product-tabs .entry-content h3 {
	margin-top: 1.5rem;
}

/* ==========================================================================
   6. Sticky add-to-cart
   ========================================================================== */

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart .fluentcartshopper-sticky-add-to-cart__content {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 64px;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart img {
	width: 48px;
	height: 48px;
	border-radius: var(--fc-radius-sm);
	object-fit: cover;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart__content-product-info {
	flex: 1 1 auto;
	min-width: 0;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart__content-title {
	display: block;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart__content-button {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-left: auto;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart__content-price {
	font-weight: 600;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart .button {
	padding: 0.65em 1.2em;
	border-radius: var(--fc-radius);
	background-color: var(--fc-accent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart .button:hover {
	background-color: var(--fc-accent-hover);
	color: #fff;
}

@media (max-width: 600px) {
	body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart img,
	body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart__content-price {
		display: none;
	}

	body.fluentcartshopper-fluentcart .fluentcartshopper-sticky-add-to-cart .button {
		flex: 0 0 auto;
	}
}

/* ==========================================================================
   7. Stock bar, free-shipping bar, trust badges, size guide
   ========================================================================== */

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-stock-bar,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: var(--fc-radius);
	background: var(--fc-surface-alt);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-stock-bar__text,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar__text {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-stock-bar__track,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar__track {
	height: 6px;
	border-radius: 999px;
	background: var(--fc-border);
	overflow: hidden;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-stock-bar__fill,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #e8833a, #d94f4f);
	transition: width 0.4s ease;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar__fill {
	background: linear-gradient(90deg, #4a9c5d, #2e7d32);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-shipping-bar.is-unlocked .fluentcartshopper-fc-shipping-bar__text {
	color: var(--fc-success);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--fc-text-muted);
	font-size: 0.8125rem;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-trust-badge__icon svg {
	width: 20px;
	height: 20px;
	color: var(--fc-accent);
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-size-guide__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fc-text-muted);
	font-size: 0.8125rem;
	text-decoration: underline;
	cursor: pointer;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-size-guide__trigger svg {
	width: 18px;
	height: 18px;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__body table {
	width: 100%;
	border-collapse: collapse;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__body th,
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__body td {
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--fc-border);
	text-align: left;
	font-size: 0.875rem;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-dialog__body th {
	background: var(--fc-surface-alt);
	font-weight: 600;
}

/* ==========================================================================
   8. Cart page
   ========================================================================== */

body.fluentcartshopper-fluentcart .fct-cart-page {
	margin: 0;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct_line_items {
	width: 100%;
	border-collapse: collapse;
}

body.fluentcartshopper-fluentcart .fct_line_item_body,
body.fluentcartshopper-fluentcart .fct_line_item_footer {
	padding: 1rem 0;
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct_item_image img {
	border-radius: var(--fc-radius);
}

body.fluentcartshopper-fluentcart .fct_item_title,
body.fluentcartshopper-fluentcart .fct_item_title a {
	font-weight: 600;
	color: var(--fc-text);
	text-decoration: none;
}

body.fluentcartshopper-fluentcart .fct_item_variant_title,
body.fluentcartshopper-fluentcart .fct_item_payment_info {
	color: var(--fc-text-muted);
	font-size: 0.85rem;
}

body.fluentcartshopper-fluentcart .fct_item_quantity .decrease-btn,
body.fluentcartshopper-fluentcart .fct_item_quantity .increase-btn,
body.fluentcartshopper-fluentcart .fct_item_quantity .qty-btn {
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	background: var(--fc-surface);
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fct_item_price_wrapper,
body.fluentcartshopper-fluentcart .fct_line_item_total,
body.fluentcartshopper-fluentcart .fct_line_item_price {
	font-variant-numeric: tabular-nums;
}

body.fluentcartshopper-fluentcart .fct-cart-item-remove,
body.fluentcartshopper-fluentcart .fct-cart-item-delete-button,
body.fluentcartshopper-fluentcart .fct_line_item_body .remove {
	color: var(--fc-danger);
}

body.fluentcartshopper-fluentcart .fct_coupon {
	margin: 1.5rem 0;
	padding: 1rem 1.1rem;
	border: 1px dashed var(--fc-border-strong);
	border-radius: var(--fc-radius);
	background: var(--fc-surface-alt);
}

body.fluentcartshopper-fluentcart .fct_coupon_input {
	min-height: 40px;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
}

body.fluentcartshopper-fluentcart .fct_summary_box {
	padding: 1.25rem;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-surface);
}

body.fluentcartshopper-fluentcart .fct_summary_items_list {
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct_summary_items_total {
	font-size: 1.125rem;
	font-weight: 600;
}

body.fluentcartshopper-fluentcart .fct_primary_btn,
body.fluentcartshopper-fluentcart .fct-primary-btn,
body.fluentcartshopper-fluentcart .checkout-button,
body.fluentcartshopper-fluentcart .view-cart-button,
body.fluentcartshopper-fluentcart .fluent-cart-cart-cart-button-wrap .button {
	display: inline-block;
	width: 100%;
	padding: 0.85em 1.4em;
	border: 0;
	border-radius: var(--fc-radius);
	background-color: var(--fc-accent);
	color: #fff;
	font-size: clamp(0.875rem, 0.8115rem + 0.2033vw, 0.9375rem);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

body.fluentcartshopper-fluentcart .fct_primary_btn:hover,
body.fluentcartshopper-fluentcart .fct-primary-btn:hover,
body.fluentcartshopper-fluentcart .checkout-button:hover,
body.fluentcartshopper-fluentcart .view-cart-button:hover,
body.fluentcartshopper-fluentcart .fluent-cart-cart-cart-button-wrap .button:hover {
	background-color: var(--fc-accent-hover);
	color: #fff;
}

body.fluentcartshopper-fluentcart .continue-shopping-link {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--fc-text-muted);
	font-size: 0.875rem;
	text-decoration: underline;
}

body.fluentcartshopper-fluentcart .fluent-cart-cart-empty-content {
	padding: 2.5rem 1rem;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-surface-alt);
	text-align: center;
}

body.fluentcartshopper-fluentcart .fluent-cart-cart-empty-content-text {
	margin-bottom: 1rem;
	font-size: 1.0625rem;
}

/* ==========================================================================
   9. Checkout
   ========================================================================== */

/* FluentCart lays the checkout out itself (flex, form 55% / summary 45%).
   Only make sure the two columns can shrink instead of overflowing. */
body.fluentcartshopper-fluentcart .fct_checkout_inner > * {
	min-width: 0;
}

body.fluentcartshopper-fluentcart .fct_checkout_form_section {
	margin-bottom: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-surface);
}

body.fluentcartshopper-fluentcart .fct_form_section_header {
	margin-bottom: 1rem;
	font-size: 1.0625rem;
	font-weight: 600;
}

body.fluentcartshopper-fluentcart .fct_checkout_input_group label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fct_checkout_input_group input[type='text'],
body.fluentcartshopper-fluentcart .fct_checkout_input_group input[type='email'],
body.fluentcartshopper-fluentcart .fct_checkout_input_group input[type='tel'],
body.fluentcartshopper-fluentcart .fct_checkout_input_group input[type='number'],
body.fluentcartshopper-fluentcart .fct_checkout_input_group select,
body.fluentcartshopper-fluentcart .fct_checkout_input_group textarea {
	width: 100%;
	min-height: 44px;
	padding: 0 0.7em;
	border: 1px solid var(--fc-border-strong);
	border-radius: 0.3rem;
}

body.fluentcartshopper-fluentcart .fct_checkout_summary {
	position: sticky;
	top: 1.5rem;
}

body.fluentcartshopper-fluentcart .fct_checkout_payment_methods .fct_payment_method_wrapper,
body.fluentcartshopper-fluentcart .fct_checkout_payment_methods .fct_payment_method {
	padding: 0.85rem 1rem;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius);
	background: var(--fc-surface);
}

body.fluentcartshopper-fluentcart .fct_checkout_payment_methods .active {
	border-color: var(--fc-accent);
	box-shadow: 0 0 0 1px var(--fc-accent) inset;
}

body.fluentcartshopper-fluentcart .fct_place_order_btn_wrap button,
body.fluentcartshopper-fluentcart .fct_place_order_btn_wrap .button {
	width: 100%;
	padding: 0.95em 1.4em;
	border: 0;
	border-radius: var(--fc-radius);
	background-color: var(--fc-accent);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

body.fluentcartshopper-fluentcart .fct_place_order_btn_wrap button:hover {
	background-color: var(--fc-accent-hover);
}

body.fluentcartshopper-fluentcart .fct_checkout_agree_terms {
	font-size: 0.875rem;
	color: var(--fc-text-muted);
}

/* ==========================================================================
   10. Cart drawer — align the plugin drawer with the theme's drawer
   ========================================================================== */

body.fluentcartshopper-fluentcart .fct-cart-drawer {
	background: var(--fc-surface);
}

body.fluentcartshopper-fluentcart .fct-cart-drawer-list-content {
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct-cart-item-title,
body.fluentcartshopper-fluentcart .fct-cart-item-title a {
	font-weight: 600;
	color: var(--fc-text);
	text-decoration: none;
}

body.fluentcartshopper-fluentcart .fct-cart-item-total {
	font-weight: 600;
}

/* ==========================================================================
   11. Notices / utility
   ========================================================================== */

body.fluentcartshopper-fluentcart .fct-cart-notices,
body.fluentcartshopper-fluentcart .fct-admin-notice {
	padding: 0.85rem 1rem;
	border-left: 4px solid var(--fc-accent);
	border-radius: var(--fc-radius-sm);
	background: var(--fc-surface-alt);
	font-size: 0.9rem;
}

body.fluentcartshopper-fluentcart .fct-sr-only,
body.fluentcartshopper-fluentcart .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-no-products {
	margin: 0;
	padding: 2rem 1.25rem;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	background: var(--fc-surface-alt);
	text-align: center;
}

/* Archive chrome */
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-archive-header {
	margin-bottom: 1rem;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-archive-header .term-description {
	max-width: 70ch;
	margin-bottom: 1rem;
	color: #4a4d52;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-brand-filter {
	display: inline-flex;
	align-items: center;
	margin-top: 0.75rem;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-brand-filter select {
	min-height: 40px;
	padding: 0 2rem 0 0.7em;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	background-color: var(--fc-surface);
}

/* Pagination matches Woo's .woocommerce-pagination look */
body.fluentcartshopper-fluentcart .fluentcartshopper-fc-pagination {
	margin-top: 2rem;
	text-align: center;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 0.6rem;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text);
	font-size: 0.9rem;
	text-decoration: none;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-pagination .page-numbers.current {
	background: var(--fc-accent);
	border-color: var(--fc-accent);
	color: #fff;
}

body.fluentcartshopper-fluentcart .fluentcartshopper-fc-pagination .page-numbers:hover:not(.current) {
	border-color: var(--fc-accent);
}

/* Related products reuse the theme's grid */
body.fluentcartshopper-fluentcart .fct-similar-product-list-container .fct-product-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--fc-gap);
}

body.fluentcartshopper-fluentcart .fct-product-list-heading {
	margin: 2.5rem 0 1rem;
	font-size: 1.375rem;
	font-weight: 600;
}

/* ==========================================================================
   12. Cart page list — FluentCart renders the cart page with the same item
   markup as the drawer, so it only needs spacing and typography on top.
   ========================================================================== */

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-drawer-content-wrapper {
	padding: 0;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item {
	padding: 1rem 0;
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item:first-child {
	border-top: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item-image img {
	width: 84px;
	height: 84px;
	border-radius: var(--fc-radius);
	object-fit: cover;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item-title {
	font-size: 1rem;
	line-height: 1.35;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item-total,
body.fluentcartshopper-fluentcart .fct-cart-page [data-cart-item-price] {
	font-weight: 600;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-item-quantity input {
	max-width: 4.5rem;
	min-height: 38px;
	border: 1px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	text-align: center;
}

body.fluentcartshopper-fluentcart .fct-cart-page .fct-cart-total-wrapper {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--fc-border);
}

/* ==========================================================================
   13. Product tabs (description / reviews)
   ========================================================================== */

body.fluentcartshopper-fluentcart .fcs-tabs {
	margin-top: 2.5rem;
	border-top: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fcs-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--fc-border);
}

body.fluentcartshopper-fluentcart .fcs-tabs__tab {
	position: relative;
	padding: 1rem 0;
	border: 0;
	background: none;
	color: var(--fc-text-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

body.fluentcartshopper-fluentcart .fcs-tabs__tab::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: transparent;
	transition: background-color 0.2s ease;
}

body.fluentcartshopper-fluentcart .fcs-tabs__tab.is-active {
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fcs-tabs__tab.is-active::after {
	background: var(--fc-accent);
}

body.fluentcartshopper-fluentcart .fcs-tabs__tab:hover {
	color: var(--fc-text);
}

body.fluentcartshopper-fluentcart .fcs-tabs__panel[hidden] {
	display: none;
}
