/* ==========================================================================
   Phase 7 — Feature 10: Luxury Product Catalog Layout, Image Carousel & Cards
   (Tamannaah & Swarovski Style — Mobile Luxury Pack)
   IMPORTANT: Desktop view (screens >= 1025px) is 100% UNTOUCHED!
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP VIEW GUARDS (screens >= 769px) — ZERO DESKTOP INTERFERENCE
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
	/* Hide mobile luxury toolbar completely on desktop */
	.spf-catalog-toolbar {
		display: none !important;
	}

	/* Hide mobile interactive carousel completely on desktop */
	.spf-lux-carousel {
		display: none !important;
	}

	/* Suppress Blocksy's basic sale badge when luxury badge engine is active */
	body.spf-has-lux-grid .onsale {
		display: none !important;
	}

	/* Desktop luxury badge */
	.spf-desk-badge {
		position: absolute !important;
		top: 10px !important;
		left: 10px !important;
		z-index: 6 !important;
	}

	/* Product image container anchor for desktop overlays */
	ul.products li.product .woocommerce-LoopProduct-link,
	.products > .product .woocommerce-LoopProduct-link,
	.ct-products-posts .product .woocommerce-LoopProduct-link,
	.wc-block-grid__product .woocommerce-loop-product__link,
	ul.products li.product .ct-image-container,
	.products > .product .ct-image-container,
	.ct-products-posts .product .ct-image-container {
		position: relative !important;
		display: block !important;
		overflow: hidden !important;
	}

	/* Desktop pointer hover: disabled by default to prevent over-zooming on product cards */
	.spf-p7-card-second-wrap {
		display: none !important;
	}

	/* Desktop hover quick-add: anchored cleanly at bottom of photo */
	.spf-p7-card-qa-wrap {
		position: absolute;
		bottom: 12px;
		left: 12px;
		right: 12px;
		z-index: 6;
		margin: 0;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
		pointer-events: none;
	}

	ul.products li.product:hover .spf-p7-card-qa-wrap,
	.products > .product:hover .spf-p7-card-qa-wrap,
	.ct-products-posts .product:hover .spf-p7-card-qa-wrap,
	.wc-block-grid__product:hover .spf-p7-card-qa-wrap,
	.spf-lux-card:hover .spf-p7-card-qa-wrap {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.spf-p7-card-qa-btn {
		width: 100%;
		min-height: 40px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		color: #111827;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 999px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
		cursor: pointer;
		text-decoration: none;
		transition: all 0.18s ease;
	}
	.spf-p7-card-qa-btn:hover {
		background: var(--spf-accent, #111827);
		color: var(--spf-accent-text, #ffffff);
		border-color: var(--spf-accent, #111827);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
		transform: translateY(-1px);
	}
}

/* --------------------------------------------------------------------------
   2. MOBILE LUXURY LAYOUT (screens <= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

	/* Hide desktop second-image wrapper and desktop badge on touch screens */
	.spf-p7-card-second-wrap,
	.spf-desk-badge {
		display: none !important;
	}

	/* -----------------------------------------------------------------------
	   2.1 Catalog Toolbar: "View : Two | One" + "Filter & Sort"
	   ----------------------------------------------------------------------- */
	.spf-catalog-toolbar {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 12px 4px 14px !important;
		margin-top: 6px !important;
		margin-bottom: 14px !important;
		border-bottom: 1px solid #f1f5f9 !important;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
		box-sizing: border-box !important;
	}

	.spf-catalog-toolbar + ul.products,
	.spf-catalog-toolbar + .products,
	.spf-catalog-toolbar + .ct-products-container {
		margin-top: 0 !important;
	}

	.spf-view-control {
		display: inline-flex !important;
		align-items: center !important;
		gap: 10px !important;
		font-size: 13px !important;
	}

	.spf-view-label {
		color: #64748b !important;
		font-weight: 500 !important;
		letter-spacing: 0.01em !important;
	}

	.spf-view-opt {
		appearance: none !important;
		-webkit-appearance: none !important;
		background: transparent !important;
		border: 0 !important;
		border-bottom: 2px solid transparent !important;
		padding: 0 2px 2px !important;
		font-family: inherit !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		color: #94a3b8 !important;
		cursor: pointer !important;
		line-height: 1.2 !important;
		transition: all 0.15s ease !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	.spf-view-opt.is-active {
		color: #0f172a !important;
		font-weight: 700 !important;
		border-bottom-color: #0f172a !important;
	}

	.spf-toolbar-filter-btn {
		appearance: none !important;
		-webkit-appearance: none !important;
		background: transparent !important;
		border: 0 !important;
		padding: 0 !important;
		font-family: inherit !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		color: #0f172a !important;
		cursor: pointer !important;
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		transition: opacity 0.15s ease !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	.spf-toolbar-filter-btn:hover {
		opacity: 0.8 !important;
	}

	/* Suppress redundant filter bar when luxury toolbar is active */
	body.spf-has-lux-grid .mfx-shop-bar {
		display: none !important;
	}

	/* -----------------------------------------------------------------------
	   2.2 Mobile Grid Engine (Default 2 Columns, Switchable to 1 Column)
	   ----------------------------------------------------------------------- */
	body.spf-has-lux-grid ul.products,
	body.spf-has-lux-grid .products,
	body.spf-has-lux-grid .ct-products-container,
	body.spf-has-lux-grid [data-products] {
		display: grid !important;
		list-style: none !important;
		padding: 0 !important;
		margin: 14px 0 32px 0 !important;
		box-sizing: border-box !important;
	}

	/* Default 2-column mobile layout (Tamannaah & Swarovski standard) */
	body.spf-grid-2 ul.products,
	body.spf-grid-2 .products,
	body.spf-grid-2 .ct-products-container,
	body.spf-grid-2 [data-products],
	body.spf-has-lux-grid:not(.spf-grid-1) ul.products,
	body.spf-has-lux-grid:not(.spf-grid-1) .products,
	body.spf-has-lux-grid:not(.spf-grid-1) .ct-products-container,
	body.spf-has-lux-grid:not(.spf-grid-1) [data-products] {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		--shop-columns: repeat(2, minmax(0, 1fr)) !important;
		--columns: 2 !important;
		gap: 16px 10px !important;
	}

	/* 1-column editorial layout ("One" clicked) */
	body.spf-grid-1 ul.products,
	body.spf-grid-1 .products,
	body.spf-grid-1 .ct-products-container,
	body.spf-grid-1 [data-products] {
		grid-template-columns: minmax(0, 1fr) !important;
		--shop-columns: minmax(0, 1fr) !important;
		--columns: 1 !important;
		gap: 26px 0 !important;
	}

	/* -----------------------------------------------------------------------
	   2.3 Mobile Luxury Product Card (Borderless, Clutter-Free)
	   ----------------------------------------------------------------------- */
	.spf-lux-card,
	ul.products li.product.spf-lux-card,
	.products > .product.spf-lux-card {
		position: relative !important;
		display: flex !important;
		flex-direction: column !important;
		background: #ffffff !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		text-align: left !important;
		overflow: visible !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* 1. Hide the theme media wrapper completely on mobile catalog cards */
	.spf-theme-card-media,
	body:not(.single-product) .spf-theme-card-media {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* 2. Hide Blocksy duplicate thumbnail, figure, badge and theme elements on mobile cards */
	body:not(.single-product) ul.products li.product > figure,
	body:not(.single-product) .products .product > figure,
	body:not(.single-product) [data-products] .product > figure,
	body:not(.single-product) [data-products] li.product > figure,
	body:not(.single-product) li.product > figure,
	body:not(.single-product) li.product.spf-has-carousel .ct-image-container,
	body:not(.single-product) li.product.spf-has-carousel .ct-media-container,
	body:not(.single-product) li.product.spf-has-carousel > figure,
	body:not(.single-product) li.product.spf-has-carousel figure,
	body:not(.single-product) li.product.spf-has-carousel .woocommerce-loop-product__thumbnail,
	body:not(.single-product) li.product.spf-has-carousel > a:first-child:not(.spf-lux-slide-link),
	body:not(.single-product) li.product.spf-has-carousel > a > .ct-image-container,
	body:not(.single-product) li.product.spf-has-carousel > a > figure,
	body:not(.single-product) li.product.spf-lux-card .ct-image-container,
	body:not(.single-product) li.product.spf-lux-card .ct-media-container,
	body:not(.single-product) li.product.spf-lux-card > figure,
	body:not(.single-product) li.product.spf-lux-card figure,
	body:not(.single-product) li.product.spf-lux-card .woocommerce-loop-product__thumbnail,
	body:not(.single-product) li.product.spf-lux-card > a:first-child:not(.spf-lux-slide-link),
	body:not(.single-product) li.product.spf-lux-card > a > .ct-image-container,
	body:not(.single-product) li.product.spf-lux-card > a > figure,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .ct-image-container,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .ct-media-container,
	body:not(.single-product) li.product:has(.spf-lux-carousel) > figure,
	body:not(.single-product) li.product:has(.spf-lux-carousel) figure,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .woocommerce-loop-product__thumbnail,
	body:not(.single-product) li.product:has(.spf-lux-carousel) > a:first-child:not(.spf-lux-slide-link),
	body:not(.single-product) li.product:has(.spf-lux-carousel) > a > .ct-image-container,
	body:not(.single-product) li.product:has(.spf-lux-carousel) > a > figure,
	body:not(.single-product) .spf-lux-card > figure,
	body:not(.single-product) .spf-lux-card figure,
	body:not(.single-product) .spf-lux-card .ct-media-container,
	body:not(.single-product) .spf-lux-card .ct-image-container,
	body:not(.single-product) .spf-lux-card .woocommerce-loop-product__thumbnail,
	body:not(.single-product) .spf-has-carousel > figure,
	body:not(.single-product) .spf-has-carousel figure,
	body:not(.single-product) .spf-has-carousel .ct-media-container,
	body:not(.single-product) .spf-has-carousel .ct-image-container,
	body:not(.single-product) .spf-has-carousel .woocommerce-loop-product__thumbnail,
	body:not(.single-product) .spf-lux-card > .onsale,
	body:not(.single-product) .spf-lux-card .onsale,
	body:not(.single-product) .spf-lux-card .ct-badge,
	body:not(.single-product) .spf-has-carousel > .onsale,
	body:not(.single-product) .spf-has-carousel .onsale,
	body:not(.single-product) .spf-has-carousel .ct-badge,
	body:not(.single-product) .spf-desk-badge,
	body:not(.single-product) li.product.spf-has-carousel > .onsale,
	body:not(.single-product) li.product.spf-has-carousel .onsale:not(.spf-lux-badge),
	body:not(.single-product) li.product.spf-has-carousel .ct-badge,
	body:not(.single-product) li.product.spf-has-carousel .ct-wishlist-button,
	body:not(.single-product) li.product.spf-has-carousel .spf-wl-btn:not(.spf-lux-card-wl),
	body:not(.single-product) li.product.spf-lux-card > .onsale,
	body:not(.single-product) li.product.spf-lux-card .onsale:not(.spf-lux-badge),
	body:not(.single-product) li.product.spf-lux-card .ct-badge,
	body:not(.single-product) li.product.spf-lux-card .ct-wishlist-button,
	body:not(.single-product) li.product.spf-lux-card .spf-wl-btn:not(.spf-lux-card-wl),
	body:not(.single-product) li.product:has(.spf-lux-carousel) > .onsale,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .onsale:not(.spf-lux-badge),
	body:not(.single-product) li.product:has(.spf-lux-carousel) .ct-badge,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .ct-wishlist-button,
	body:not(.single-product) li.product:has(.spf-lux-carousel) .spf-wl-btn:not(.spf-lux-card-wl) {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* 3. Suppress duplicate native img outside the SPF carousel on mobile catalog cards */
	body:not(.single-product) .spf-lux-card img:not(.spf-lux-img):not(.spf-p7-card-second-img):not(.spf-sw-img),
	body:not(.single-product) .spf-has-carousel img:not(.spf-lux-img):not(.spf-p7-card-second-img):not(.spf-sw-img),
	body:not(.single-product) li.product:has(.spf-lux-carousel) img:not(.spf-lux-img):not(.spf-p7-card-second-img):not(.spf-sw-img),
	body:not(.single-product) .spf-lux-card > a:first-child:not(.spf-lux-slide-link),
	body:not(.single-product) .spf-has-carousel > a:first-child:not(.spf-lux-slide-link) {
		display: none !important;
	}

	/* 4. Hide duplicate standalone wishlist button appended by p3/theme on mobile cards */
	body:not(.single-product) .spf-lux-card > .spf-wl-btn:not(.spf-lux-card-wl),
	body:not(.single-product) .spf-has-carousel > .spf-wl-btn:not(.spf-lux-card-wl),
	body:not(.single-product) .spf-lux-card .ct-wishlist-button,
	body:not(.single-product) .spf-has-carousel .ct-wishlist-button,
	body:not(.single-product) .spf-lux-card .tinv-wraper,
	body:not(.single-product) .spf-has-carousel .tinv-wraper,
	body:not(.single-product) .spf-lux-card .yith-wcwl-add-to-wishlist,
	body:not(.single-product) .spf-has-carousel .yith-wcwl-add-to-wishlist {
		display: none !important;
	}

	/* Hide mobile button clutter, categories, actions & star ratings on luxury card */
	body:not(.single-product) .spf-lux-card .button.add_to_cart_button,
	body:not(.single-product) .spf-lux-card .ct-woo-card-actions,
	body:not(.single-product) .spf-lux-card .ct-product-actions,
	body:not(.single-product) .spf-lux-card .entry-meta,
	body:not(.single-product) .spf-lux-card .meta-categories,
	body:not(.single-product) .spf-lux-card .star-rating {
		display: none !important;
	}

	/* -----------------------------------------------------------------------
	   2.4 Mobile Image Carousel & Media Container (Tamannaah & Swarovski)
	   ----------------------------------------------------------------------- */
	.spf-lux-card .spf-lux-carousel {
		display: block !important;
		position: relative !important;
		width: 100% !important;
		aspect-ratio: 4 / 5 !important;
		background: #ffffff !important;
		border-radius: 4px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
		border: 1px solid rgba(15, 23, 42, 0.05) !important;
		user-select: none !important;
		-webkit-user-select: none !important;
		touch-action: pan-y !important;
	}

	/* Uniform 4:5 aspect ratio in 1-column editorial mode */
	body.spf-grid-1 .spf-lux-card .spf-lux-carousel {
		aspect-ratio: 4 / 5 !important;
	}

	.spf-lux-slides {
		position: relative !important;
		width: 100% !important;
		height: 100% !important;
	}

	.spf-lux-slide {
		position: absolute !important;
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		opacity: 0 !important;
		pointer-events: none !important;
		transition: opacity 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #ffffff !important;
	}

	.spf-lux-slide.is-active {
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	.spf-lux-slide[hidden] {
		display: none !important;
	}

	.spf-lux-slide-link {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	.spf-lux-slide picture,
	.spf-lux-slide-link picture,
	picture.spf-webp-picture {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #ffffff !important;
	}

	.spf-lux-slide img,
	.spf-lux-slide .spf-lux-img,
	.spf-lux-slide picture img {
		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
		object-fit: contain !important;
		object-position: center center !important;
		display: block !important;
		background: #ffffff !important;
	}

	/* Swarovski style: Contain uncropped fashion & jewelry (No Head/Feet Cut) */
	.spf-lux-carousel.is-fit-cover .spf-lux-slide img,
	.spf-lux-carousel.is-fit-cover .spf-lux-slide .spf-lux-img,
	.spf-lux-carousel.is-fit-contain .spf-lux-slide img,
	.spf-lux-carousel.is-fit-contain .spf-lux-slide .spf-lux-img,
	.spf-lux-carousel .spf-lux-slide picture img {
		object-fit: contain !important;
		object-position: center center !important;
		padding: 0 !important;
		box-sizing: border-box !important;
	}

	/* -----------------------------------------------------------------------
	   2.5 NO ARROWS on Product Cards (Touch Swipe & Dots Only)
	   ----------------------------------------------------------------------- */
	.spf-lux-arrow,
	.spf-lux-prev,
	.spf-lux-next {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	/* -----------------------------------------------------------------------
	   2.6 Subtle Pagination Dots / Pill Indicator (Tamannaah Style)
	   ----------------------------------------------------------------------- */
	.spf-lux-dots {
		position: absolute !important;
		bottom: 7px !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		display: flex !important;
		align-items: center !important;
		gap: 4px !important;
		z-index: 6 !important;
		pointer-events: none !important;
	}

	.spf-lux-dot {
		display: block !important;
		width: 4.5px !important;
		height: 4.5px !important;
		border-radius: 50% !important;
		background: rgba(0, 0, 0, 0.24) !important;
		transition: all 0.2s ease !important;
	}

	.spf-lux-dot.is-active {
		width: 13px !important;
		border-radius: 3px !important;
		background: #0f172a !important;
	}

	/* -----------------------------------------------------------------------
	   2.7 Floating Wishlist Heart (Top-Right) - Sleek Shopify Luxury
	   ----------------------------------------------------------------------- */
	.spf-lux-card .spf-wl-btn {
		position: absolute !important;
		top: 10px !important;
		right: 10px !important;
		z-index: 9 !important;
		width: 30px !important;
		height: 30px !important;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.88) !important;
		backdrop-filter: blur(8px) !important;
		-webkit-backdrop-filter: blur(8px) !important;
		border: 1px solid rgba(0, 0, 0, 0.06) !important;
		color: #0f172a !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		cursor: pointer !important;
		padding: 0 !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
		transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease, background 0.15s ease !important;
		-webkit-tap-highlight-color: transparent !important;
	}

	.spf-lux-card .spf-wl-btn svg {
		width: 16px !important;
		height: 16px !important;
		stroke: currentColor !important;
		stroke-width: 1.6 !important;
		fill: none !important;
	}

	.spf-lux-card .spf-wl-btn:active {
		transform: scale(0.88) !important;
	}

	.spf-lux-card .spf-wl-btn.is-on {
		color: #e11d48 !important;
		background: #ffffff !important;
	}

	.spf-lux-card .spf-wl-btn.is-on svg {
		fill: #e11d48 !important;
		stroke: #e11d48 !important;
	}

	/* -----------------------------------------------------------------------
	   2.8 Badges Suppression (Zero Sale Badges on Images, Only Subtle Soldout)
	   ----------------------------------------------------------------------- */
	.onsale,
	.ct-badge,
	.spf-lux-badge--sale,
	.spf-sw-badge--sale,
	span.onsale,
	.woocommerce span.onsale {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		position: absolute !important;
		left: -9999px !important;
	}

	.spf-lux-badge {
		position: absolute !important;
		top: 8px !important;
		left: 8px !important;
		z-index: 7 !important;
		font-size: 9.5px !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		letter-spacing: 0.06em !important;
		text-transform: uppercase !important;
		padding: 3px 6px !important;
		border-radius: 2px !important;
		pointer-events: none !important;
	}

	.spf-lux-badge--soldout {
		background: #475569 !important;
		color: #ffffff !important;
	}

	/* -----------------------------------------------------------------------
	   2.9 Mobile Card Typography & Pricing (Shopify Style with Discount Tag)
	   ----------------------------------------------------------------------- */
	.spf-lux-card .woocommerce-loop-product__title,
	.spf-lux-card .product_title,
	.spf-lux-card h2,
	.spf-lux-card h3 {
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		letter-spacing: 0.02em !important;
		text-transform: uppercase !important;
		color: #0f172a !important;
		margin: 8px 0 4px !important;
		line-height: 1.35 !important;
		text-align: left !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		min-height: 2.7em !important; /* Uniform height ensures perfectly aligned prices */
	}

	.spf-lux-card .price {
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		color: #0f172a !important;
		margin: 0 !important;
		text-align: left !important;
		line-height: 1.3 !important;
		display: flex !important;
		align-items: baseline !important;
		flex-wrap: wrap !important;
		flex-direction: row !important;
		justify-content: flex-start !important;
		gap: 6px !important;
		margin-top: auto !important; /* Locks prices into a horizontal line */
	}

	.spf-lux-card .price ins,
	.entry-summary .price ins,
	p.price ins {
		order: 1 !important;
		text-decoration: none !important;
		color: #0f172a !important;
		font-weight: 700 !important;
	}

	.spf-lux-card .price del,
	.entry-summary .price del,
	p.price del {
		order: 2 !important;
		color: #94a3b8 !important;
		font-size: 11.5px !important;
		font-weight: 400 !important;
		text-decoration: line-through !important;
		margin: 0 !important;
	}

	.spf-discount-tag {
		order: 3 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		color: #e11d48 !important;
		background: rgba(225, 29, 72, 0.08) !important;
		border: 1px solid rgba(225, 29, 72, 0.18) !important;
		padding: 2px 5.5px !important;
		border-radius: 4px !important;
		letter-spacing: 0.02em !important;
		text-transform: uppercase !important;
		white-space: nowrap !important;
		vertical-align: middle !important;
		margin-left: 2px !important;
	}

	.single-product .entry-summary .price,
	.single-product p.price {
		display: flex !important;
		align-items: baseline !important;
		flex-wrap: wrap !important;
		gap: 8px !important;
	}

	.single-product .entry-summary .price .spf-discount-tag,
	.single-product p.price .spf-discount-tag {
		font-size: 12px !important;
		padding: 3px 7px !important;
	}

	/* -----------------------------------------------------------------------
	   2.10 Mobile Circular Pagination (Tamannaah & Shopify Style)
	   ----------------------------------------------------------------------- */
	body.spf-has-lux-grid nav.woocommerce-pagination {
		margin: 20px 0 32px !important;
		text-align: center !important;
		border: 0 !important;
	}

	body.spf-has-lux-grid nav.woocommerce-pagination ul {
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		border: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	body.spf-has-lux-grid nav.woocommerce-pagination ul li {
		border: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.spf-has-lux-grid nav.woocommerce-pagination ul li a,
	body.spf-has-lux-grid nav.woocommerce-pagination ul li span {
		min-width: 36px !important;
		height: 36px !important;
		border-radius: 50% !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		border: 1px solid #e2e8f0 !important;
		background: #ffffff !important;
		color: #0f172a !important;
		line-height: 1 !important;
		padding: 0 !important;
		text-decoration: none !important;
	}

	body.spf-has-lux-grid nav.woocommerce-pagination ul li span.current {
		background: #0f172a !important;
		color: #ffffff !important;
		border-color: #0f172a !important;
	}
}

/* --------------------------------------------------------------------------
   3. Quick-Add Overlay Button (Optional)
   -------------------------------------------------------------------------- */
.spf-p7-card-qa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px 12px;
	border-radius: 4px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #0f172a !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
	transition: all 0.18s ease;
}

.spf-p7-card-qa-btn:hover {
	background: #0f172a;
	color: #ffffff !important;
	border-color: #0f172a;
}

.spf-p7-card-qa-btn.is-loading {
	opacity: 0.75;
	pointer-events: none;
}
