/*
 * Axomify Marketplace -- Storefront Polish (v1.1.126, since pared back)
 *
 * Originally restyled core WooCommerce pages (shop/category grid, single
 * product, cart, My Account) to match THIS plugin's own vendor-dashboard
 * design system, per the owner's explicit request ("Marketplace plugin
 * jeisa UI") and explicit "no new plugin" instruction. Reuses the exact
 * same colour values as Axomify_Marketplace_Frontend::print_shared_styles()'s
 * .axmp-wrap tokens -- redeclared here at :root because none of these
 * WooCommerce page templates are wrapped in .axmp-wrap (that wrapper only
 * exists around the vendor dashboard/storefront shortcode output), so the
 * scoped custom properties are not otherwise visible on these pages.
 *
 * Since then, owner has asked for several of these pages back to plain
 * theme/WooCommerce default, one at a time: the shop/category grid
 * (Section 1, disabled v1.1.138), My Account (Section 4, removed
 * v1.1.128), and now the Cart page (Section 3, removed v1.1.142). Only
 * Section 2 (single product page) still carries this plugin's own design
 * system today -- not an oversight; each removal above only ever covered
 * the one page actually asked about.
 *
 * v1.1.175 (2026-10-28) -- owner's new, separate request: "Single Product
 * Page ki UI ko Premium look de... ekdom quick commerce jeisa feel" +
 * "Shop Archive ki product image, product card ki jo syle hai usko bhi
 * premium look dena hai." This is a DIFFERENT ask from the v1.1.138 "keep
 * Category page ekdom default" instruction above -- that one was about the
 * category-grouping/reorder/divider feature (Section 1, still disabled,
 * untouched); this is about the product CARD's own visual style, which
 * Section 1 never controlled. See Section 2 (extended) and new Section 5
 * below. Confirmed via AskUserQuestion: keep this plugin's own existing
 * gold/navy palette (no new reference-app colour scheme), scoped to: a
 * delivery-time badge + unit/pack-size chip on cards, and a mobile sticky
 * Add-to-Cart bar + hover-zoom gallery + horizontal "Related products"/
 * "Recently Viewed Products" strip on the single product page.
 *
 * v1.1.176 (2026-10-28) then rebuilt the single product page's title/price/
 * meta/Sold-by/Description layout to match a reference screenshot exactly
 * (see the old Section 6, now removed). The owner rejected that whole look
 * after live screenshots showed it visually broken on desktop, and asked
 * to revert everything except the hero-image border/full-bleed fix.
 *
 * v1.1.177 (2026-10-28) -- REVERTED v1.1.176's single-product redesign back
 * to this v1.1.175 state (Section 2's original title/price rules restored,
 * Section 6 deleted entirely, frontend/class-single-product-premium.php
 * deleted, show_sold_by_link() reverted). Only the hero-image full-bleed/
 * no-border requirement survives, now correctly scoped to mobile only
 * (@media max-width:767px) inside Section 2 -- the v1.1.176 bug was
 * applying that breakout with NO media query, which broke the desktop
 * two-column layout by letting the gallery overlap the summary column.
 *
 * v1.1.178 (2026-10-28) -- v1.1.177's mobile-only breakout rule still had a
 * bug: owner's next screenshot showed the hero image stuck against the
 * left edge, NOT reaching the right edge (narrow, with a visible gap).
 * Confirmed live via DOM inspection on the real product page (Claude in
 * Chrome, read-only -- no wp-admin login) before shipping this fix: the
 * Woostify theme sets an explicit, non-auto width on .product-gallery, so
 * the margin-left/margin-right: calc(50% - 50vw) trick alone can only
 * SHIFT the box, not widen it, to fill the freed-up space (that only works
 * when width is 'auto'). Fix: explicit width:100vw added to the same
 * mobile-only rule, confirmed on the live page via direct DOM injection
 * (not guessed) to correctly reach both viewport edges.
 *
 * v1.1.179 (2026-10-28) -- owner decided, after all 3 attempts above, that
 * the full-bleed hero image was never actually wanted: "Mujhe image poori
 * screen width cover karne wala nahi chahiye. Woocommerce ka jo default
 * size tha wohi chahiye." The ENTIRE breakout technique (margin trick +
 * width:100vw) is removed here -- the gallery is back to the theme's own
 * default size/position, in its normal column, at every breakpoint. The
 * only thing kept from that whole saga: no visible border line on the
 * image, with a slightly rounded corner ("Border ka corner thoda round
 * hona chahiye") -- applied directly to the image itself (border-radius,
 * no border property), not to the gallery container, so it can never
 * again interact with the container's own width/position the way the
 * breakout rule did.
 * Also this round: title colour forced to black (was rendering navy blue
 * -- a theme default bleeding through, our own rule didn't have enough
 * specificity to win; !important added), sale price recoloured to the
 * owner's exact green (#0B7A4B), the Sold-by card's non-shop-looking "🏪"
 * emoji removed, the Sold-by card moved to print BEFORE the product title
 * (was after), and all plugin styling removed from the short description
 * and the "Product Details" tab so both render with the theme's own
 * default look -- Description and Reviews tabs already had zero plugin
 * CSS touching them (confirmed by searching this file), so nothing there
 * needed reverting.
 */
:root{
	--ink:#0F0F0F;
	--ink-soft:#57534E;
	--ink-faint:#8C8681;
	--canvas:#FFFFFF;
	--surface:#FFFFFF;
	--border:#E8E4DC;
	--red:#F5B700;
	--red-dark:#8A6D00;
	--red-wash:#FFF8DE;
}

/* ---------------------------------------------------------------------- */
/* 1. Shop / category page grouping -- DISABLED v1.1.138                   */
/*    Owner's explicit instruction: "Category page ekdom default rakhna   */
/*    hai" (keep the Category page completely default). The script that   */
/*    added these classes (assets/js/shop-category-grouping.js) is no     */
/*    longer enqueued (see frontend/class-storefront-polish.php), so none */
/*    of these selectors can ever match live markup any more -- kept here */
/*    commented out, not deleted, in case the feature is wanted back.     */
/* ---------------------------------------------------------------------- */
/*
ul.products li.product-category.axmp-cat-instant{
	order:1;
	position:relative;
}
ul.products li.product-category.axmp-cat-instant::after{
	content:'⚡ Instant';
	position:absolute;
	top:6px;
	left:6px;
	z-index:2;
	background:var(--red);
	color:var(--ink);
	font-family:'Sora',sans-serif;
	font-weight:700;
	font-size:10px;
	padding:3px 9px;
	border-radius:999px;
}
ul.products li.product-category.axmp-cat-divider{
	order:2;
	grid-column:1/-1;
	flex-basis:100%;
	width:100%;
	list-style:none;
	font-family:'Sora',sans-serif;
	font-weight:700;
	font-size:13px;
	text-transform:uppercase;
	letter-spacing:.04em;
	color:var(--ink-soft);
	padding:16px 4px 8px;
	border-top:1px dashed var(--border);
	margin-top:10px;
}
ul.products li.product-category.axmp-cat-secondary{
	order:3;
}
*/

/* ---------------------------------------------------------------------- */
/* 2. Single product page                                                  */
/*    Verified live: classic WooCommerce template -- .product_title,      */
/*    .summary .price, .quantity .qty, .single_add_to_cart_button.        */
/* ---------------------------------------------------------------------- */
body.single-product .product_title{
	font-family:'Sora',sans-serif;
	font-weight:800;
	/* v1.1.179: owner reported this rendering navy blue on the live site --
	   a theme default winning the cascade over this rule. !important added
	   so the plugin's intended colour (plain black, as asked) always wins. */
	color:#000000 !important;
	font-size:24px;
	line-height:1.25;
}
body.single-product .summary{
	font-family:'Inter',sans-serif;
}
body.single-product .summary .price{
	font-family:'Sora',sans-serif;
	font-weight:800;
	font-size:22px;
	color:var(--ink);
}
body.single-product .summary .price del{
	color:var(--ink-faint);
	font-weight:400;
	font-size:15px;
}
/* v1.1.179: owner's exact colour request for the sale price -- "#0B7A4B".
   !important for the same reason as .product_title above (theme defaults
   have been winning the cascade on this page more than once this round).
   v1.1.180: owner reported this STILL not showing green, and suspected the
   StyleKit plugin -- confirmed live via DOM/CSS inspection (Claude in
   Chrome, read-only, no wp-admin login): StyleKit's assets/css/custom.css
   has a SITE-WIDE rule, `span.woocommerce-Price-amount.amount{ color:
   #E58701; }` (no !important). That span is the actual VISIBLE text node
   WooCommerce nests inside <ins>/<del> (confirmed live: <ins><span
   class="woocommerce-Price-amount amount">...</span></ins>) -- CSS
   inheritance never overrides an element's own explicit rule, even a
   non-important one, so that inner span's own color always won over this
   <ins> rule's inherited value regardless of !important here. Fix: target
   that inner span directly, below, scoped to this page + !important, so
   it reliably wins over StyleKit's rule without needing to touch StyleKit
   itself (StyleKit's own custom.css is untouched by this plugin). */
body.single-product .summary .price ins{
	text-decoration:none;
	color:#0B7A4B !important;
}
body.single-product .summary .price ins .woocommerce-Price-amount{
	color:#0B7A4B !important;
}
body.single-product .summary .price del .woocommerce-Price-amount{
	color:var(--ink-faint) !important;
}
/* v1.1.179: owner asked for Description, Reviews, and the "Product Details"
   tab to be completely default. This short-description rule (and the
   render_frontend_display() table markup in includes/class-category-
   fields.php, which used to carry its own inline styles) are the only
   plugin styling that ever touched this part of the page -- both removed.
   Description and Reviews tabs never had any plugin CSS at all (confirmed
   by searching this whole file), so there was nothing to revert there. */
body.single-product .product-gallery .product-images-container{
	position:relative;
	background:var(--canvas);
}
/* v1.1.179: owner decided the full-bleed hero image experiment (v1.1.175-
   178) was never actually wanted -- "Woocommerce ka jo default size tha
   wohi chahiye" (keep WooCommerce's own default size). The breakout CSS
   that used to live in the @media (max-width:767px) block below has been
   removed entirely; the gallery now renders at the theme's normal size, in
   its normal column, at every breakpoint -- nothing scoped to width here
   any more. Only the "no visible border, slightly rounded corner" request
   survives, applied directly to the image below (not the container), so it
   can never again get tangled up with the container's own width/position.
   v1.1.180: owner reported the border STILL visible and the corner not
   round enough (asked for 30px instead of 10px), and suspected StyleKit --
   confirmed live: the actual border is NOT coming from this plugin at all.
   StyleKit's assets/css/custom.css has `.product-images-container .image-
   item{ border:1px solid #E2E2E2; box-shadow:0 4px 14px rgba(0,0,0,.08);
   }` -- that selector is the FIGURE wrapping the image (confirmed via
   querySelector + computed styles on the live page), not the <img> this
   plugin's own border-radius rule targets, so this plugin's rule was
   never going to remove it. Fix: a scoped, !important override on that
   same figure, below, kills StyleKit's border/shadow on this page only
   (StyleKit's own custom.css, and every other page it still styles, is
   untouched) and raises the corner radius to the owner's requested 30px
   on both the figure and the image together, so the image is cleanly
   clipped to that rounder corner (StyleKit's own overflow:hidden on this
   same figure, also untouched, is what makes the clipping work). */
body.single-product .product-gallery .image-item{
	border:none !important;
	box-shadow:none !important;
	/* v1.1.182: owner's new exact request -- figure corner radius 30px ->
	   25px. Kept in sync with the image rule and the zoom-lens rule below
	   (same reasoning as v1.1.181's radius-matching fix: all three must
	   agree or the zoomed state visibly mismatches the resting state). */
	border-radius:25px !important;
	/* v1.1.214 (2026-11-02): owner's new explicit request -- a fully
	   edge-to-edge gallery image, no outer "card" wrapper at all. This
	   REVERSES v1.1.180/181's white-card background (confirmed with the
	   owner first, since it was their own earlier explicit request --
	   see project doc for this version): background is now transparent,
	   so the image shows directly against the page, not inside a white
	   box. Corner radius above is UNCHANGED (never asked to be removed). */
	background:transparent !important;
}
/* v1.1.185: owner asked for a soft drop shadow on this figure too, no
   border, radius unchanged at 25px. Confirmed live (Claude in Chrome,
   Flickity.data() on .product-images-container) this figure sits inside
   THREE nested ancestors that each have their own overflow:hidden with
   zero slack, pixel-exact to 470x470 -- .image-item itself, Flickity's
   own auto-injected .flickity-viewport, and .product-images. Any shadow
   painted past the image's own edge (box-shadow or filter:drop-shadow,
   same-element or not) has nowhere to go and gets clipped flat -- this
   is the same underlying issue the thumbnail strip has (see the
   .thumbnail-item img note below), just with three clipping layers
   instead of one. Same fix: the shadow now lives on the <img> itself,
   shrunk a few px inside the still-exactly-470x470 figure (so none of
   Flickity's slide-width/position math changes at all) -- leaving a
   thin margin ring where the shadow has room to fully render, on every
   browser, at every screen size, because it never needs to leave the
   470x470 box in the first place. The figure's own background:#FFFFFF
   above shows through that margin ring, so it reads as a clean white-
   bordered photo card with a soft shadow, not a cropped one. */
/* v1.1.214 (2026-11-02): the v1.1.185 inset-margin + drop-shadow treatment
   below (image shrunk a few px inside the figure, with a soft shadow in
   that margin ring) is REMOVED per the owner's new explicit "edge-to-edge,
   no separate box shadow" request -- full reversal, not just a smaller
   number: width/height back to 100% (no inset), margin back to 0, filter
   removed entirely. The image now fills the figure exactly, flush, with
   no shadow of its own. Corner radius kept in sync with the figure. */
body.single-product .product-gallery .image-item img{
	display:block;
	width:100%;
	height:100%;
	margin:0;
	border-radius:25px; /* v1.1.182: kept in sync with the figure, above */
}
/* v1.1.181: the thumbnail strip (.product-thumbnail-images .thumbnail-
   item, confirmed live -- a separate element from the main hero image
   above) had no plugin styling at all before this -- square corners,
   theme default. Owner asked for the same rounded-corner treatment here
   too. The theme's own CSS already sets overflow:hidden on this element
   (confirmed live), so this radius alone is enough to clip the thumbnail
   image inside it -- no extra rule needed on the img itself.
   v1.1.182: radius lowered 20px -> 15px, owner's new exact request.
   Note: the owner separately asked about this thumbnail strip's dark
   background in the same round; confirmed live that it's baked into the
   photo's own pixels (object-fit:cover, image's natural aspect ratio
   exactly matches the 80x80 frame, so there is no letterbox space left
   for any CSS background-color to ever show through) -- not a CSS/theme
   issue, so left untouched this round per the owner's own choice after
   this was explained.
   v1.1.183: owner sent a new screenshot showing a thin sliver of black
   poking out past one corner of a thumbnail on a different product
   (Smriti Memento). Tested extensively on the live site (Claude in
   Chrome) -- replicated this exact object-fit:cover + border-radius +
   overflow:hidden rendering pixel-for-pixel in an offscreen canvas for
   all 4 of that product's thumbnail photos, and could not reproduce any
   corner leak on desktop Chrome; the clip traced the rounded corner
   correctly every time. This points at a mobile-browser-specific
   rendering quirk rather than a desktop-reproducible bug: relying on
   overflow:hidden alone to clip a child to a rounded corner is a known
   weak spot on some mobile WebKit/Chrome builds, especially inside a
   horizontally-scrolling strip like this one, and the standard, zero-
   risk fix is to ALSO put the same radius directly on the <img> itself
   (redundant on desktop, where it already clips correctly, but gives
   mobile browsers a second, more reliable clip path to fall back on).
   Added below. Also added a soft box-shadow per the owner's separate
   request for "thumbnail strip images mein thoda sa halka shadow".
   v1.1.184: owner reported the shadow wasn't showing properly on their
   real device -- looked cut off, especially at the bottom. Root cause
   found then: this element (.thumbnail-item) has its OWN overflow:hidden
   (needed for the rounded-corner image clip, confirmed live, theme
   default, applies on every width). A `box-shadow` painted on an element
   that ALSO has overflow:hidden on itself is a well-documented cross-
   browser trouble spot -- by spec an element's own overflow should not
   clip its own box-shadow, but in practice several mobile WebKit/Chrome
   builds clip it anyway. Fix at the time: switched from `box-shadow` to
   `filter:drop-shadow(...)`.
   v1.1.185: owner reported (again, with their own clear diagnosis) that
   the shadow was STILL being cut off -- described seeing what looked
   like a separate, wrong-coloured "container" box behind the photo.
   Investigated properly this time instead of re-guessing: confirmed live
   via Flickity.data() that this thumbnail strip IS a working Flickity
   carousel (same slider library as the main gallery image above), and
   Flickity always wraps its cells in its own auto-injected
   `.flickity-viewport` div with `overflow:hidden` baked into Flickity's
   own base CSS -- a DIFFERENT, OUTER ancestor from .thumbnail-item
   itself, sized with zero slack, pixel-exact to the 80x80 cell. v1.1.184's
   filter:drop-shadow only fixed the SAME-element overflow:hidden case;
   an ANCESTOR's overflow:hidden is not that quirk, it is completely
   standard behaviour on every browser -- it legitimately clips
   everything inside it, filter effects included, no CSS trick escapes
   it. (There is no stray background colour anywhere in this chain either
   -- checked every ancestor's computed background live, all transparent;
   the "box" the owner was seeing was the shadow's own soft edge getting
   sliced off flat by this clip, which reads as a mismatched hard-edged
   box rather than a fading shadow.) Real fix: stop asking the shadow to
   paint past the 80x80 cell's edge at all. Radius + shadow now live on
   the <img> itself, shrunk a few px inside the still-exactly-80x80
   .thumbnail-item -- Flickity keeps measuring the same 80x80 cell it
   always did, so the strip's own slide math is completely unaffected --
   leaving a small margin ring where the shadow has room to fully render,
   guaranteed never clipped by the viewport, the container, or anything
   else, on any screen, because it never needs to leave the 80x80 box in
   the first place. */
/* v1.1.212 (2026-11-02): owner said the thumbnail strip "bohot jyada
   bura lag raha hai" (looks very bad) against the new, clean/minimal
   direction the rest of the site is moving toward. Checked live
   (Claude in Chrome) and found two separate things:
   1. The shadow set in v1.1.183/184/185 (rgba(0,0,0,0.35), fairly dark
      for what was asked as "halka" -- light/soft) reads as a heavy
      black halo now that it's sitting next to the new flush, shadow-
      free carousel cards elsewhere. Lightened to 0.15, matching the
      main gallery image's own shadow strength (0.18) so the two don't
      visually disagree with each other.
   2. The SELECTED thumbnail was showing a hard 1px solid #555 border --
      confirmed live via getComputedStyle this is NOT anything this
      plugin ever added (grepped this whole file, no match) -- it's the
      Woostify theme's own default "active thumbnail" indicator style.
      Switched off here, scoped to this page only, same !important-
      override pattern already used elsewhere in this file for theme
      defaults this plugin doesn't want. */
body.single-product .product-thumbnail-images .thumbnail-item img{
	display:block;
	width:calc(100% - 10px);
	height:calc(100% - 12px);
	margin:5px 5px 7px 5px;
	border-radius:15px;
	border:none !important;
	filter:drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
/* v1.1.214 (2026-11-02): owner's new explicit request -- a clean, branded
   outline around ONLY the active/selected thumbnail, so it's clear which
   image is being viewed; inactive thumbnails stay completely borderless
   (the border:none !important above, on every .thumbnail-item img, still
   covers that). This selector is MORE specific than the one above (adds
   .is-nav-selected), so it wins for the active tile only. Colour is the
   site's own established brand gold/amber (#F5B700 -- same colour already
   used for the Add to Cart button and the sale badge), not an arbitrary
   new colour. Confirmed live via getComputedStyle before shipping. */
body.single-product .product-thumbnail-images .thumbnail-item.is-nav-selected img{
	border:2px solid #F5B700 !important;
}
/* v1.1.182: owner's original request -- hide the main gallery's swipe
   (prev/next) arrows and the full-screen zoom icon, all 3 flagged
   directly in the owner's reference screenshot at the time. Confirmed
   live (Claude in Chrome, read-only) that these are the theme's own
   Flickity slider nav buttons and PhotoSwipe lightbox trigger, not
   anything this plugin added: .flickity-button.flickity-prev-next-button
   (.previous / .next), inside .product-images-container, and
   .photoswipe-toggle-button, inside .product-group-btns.
   v1.1.214 (2026-11-02): owner's new request explicitly brings the
   prev/next ARROWS back (confirmed with the owner this was an intentional
   reversal of the v1.1.182 decision, not an oversight) -- split into two
   separate rules below so the zoom icon (.photoswipe-toggle-button, never
   mentioned in the new request) stays hidden exactly as before, untouched.
   The arrows need no extra positioning CSS: confirmed live that Flickity
   itself centres them vertically against the image's own height via its
   own inline transform, which keeps working correctly now that the image
   is edge-to-edge (no inset margin) -- verified live, prev/next buttons'
   vertical centre lands exactly on the image's vertical centre. */
body.single-product .product-gallery .photoswipe-toggle-button{
	display:none !important;
}
/* v1.1.215 (2026-11-02): owner's new request -- the v1.1.214 arrows stay
   visible on desktop/tablet (web), but should be HIDDEN again on mobile
   only. Scoped with this file's own established mobile breakpoint
   (max-width:767px, same value used in every other @media block in this
   file) rather than a new one. Desktop/tablet behaviour (arrows visible,
   shipped in v1.1.214) is completely unaffected above this width --
   confirmed live at the live test window's actual (desktop) size that
   the arrow stays display:block once this rule is added, since it only
   fires below 767px. */
@media (max-width:767px){
	body.single-product .product-gallery .flickity-button.flickity-prev-next-button{
		display:none !important;
	}
}
/* v1.1.181: owner reported the zoom lens getting "stuck" visible after
   moving the mouse away, and losing its rounded corner while active.
   The corner-radius part: the lens never had a border-radius at all, so
   while it's showing it always looked square-cornered on top of the
   rounded image underneath -- fixed by matching the image/figure's own
   radius here. The "stuck" part: this plugin's own mouseenter/mousemove/
   mouseleave logic on the gallery frame (assets/js/shop-premium.js)
   tested correctly in isolation, but a real mouse can leave the frame's
   area in ways that don't reliably fire that frame's own mouseleave
   event (fast movement, the frame's box shifting under a stationary
   cursor on scroll, etc.) -- shop-premium.js now also has a page-wide
   safety net that force-hides the lens the moment the cursor is
   confirmed outside the frame's current bounds, or the page scrolls,
   regardless of whether the frame's own mouseleave fired. */
body.single-product .axmp-zoom-lens{
	position:absolute;
	inset:0;
	display:none;
	background-repeat:no-repeat;
	background-size:200%;
	border-radius:25px; /* v1.1.182: kept in sync with the figure/image radius, above */
	z-index:5;
	pointer-events:none;
}
body.single-product .quantity{
	display:inline-flex;
	align-items:center;
	border:1px solid var(--border);
	border-radius:999px;
	overflow:hidden;
	background:var(--canvas);
}
body.single-product .quantity .qty{
	border:none !important;
	background:transparent !important;
	text-align:center;
	font-family:'Sora',sans-serif;
	font-weight:700;
	width:46px !important;
	box-shadow:none !important;
}
body.single-product .single_add_to_cart_button{
	background:linear-gradient(180deg,#FFCF33,var(--red)) !important;
	color:var(--ink) !important;
	border:none !important;
	border-radius:999px !important;
	font-family:'Sora',sans-serif !important;
	font-weight:700 !important;
	box-shadow:0 8px 18px -6px rgba(245,183,0,.5) !important;
	padding:12px 28px !important;
	text-transform:none !important;
	transition:transform .15s ease;
}
body.single-product .single_add_to_cart_button:hover{
	transform:translateY(-1px);
}
@media (max-width:767px){
	/* v1.1.185: owner said the gap between the thumbnail strip and the
	   "Sold by" box below it feels too big. Confirmed live this gap is
	   made of two stacked spacers: this 20px top margin on the whole
	   .summary column (which is what pushes "Sold by" + everything below
	   it down, below the gallery, on the mobile single-column stack), plus
	   the "Sold by" box's own separate 14px top margin (frontend/class-
	   frontend.php, inline style, shared across every page that box
	   appears on, not single-product-only -- left untouched so other
	   pages don't shift). Reduced just this scoped, single-product-only
	   spacer, 20px -> 8px, which is the one safe lever for this exact
	   gap without touching the shared "Sold by" component. */
	body.single-product .summary{
		margin-top:8px;
	}
	body.single-product form.cart{
		display:flex;
		flex-wrap:wrap;
		gap:12px;
		align-items:center;
	}
	body.single-product .single_add_to_cart_button{
		flex:1 1 auto;
		min-width:140px;
	}
}

/* v1.1.175: mobile sticky Add-to-Cart bar. Hidden until the real Add to
   Cart button (above) scrolls out of view -- toggled by assets/js/shop-
   premium.js via IntersectionObserver, so it never shows twice alongside
   the real button. Its button re-clicks the real .single_add_to_cart_button
   rather than adding its own cart logic, so WooCommerce's normal AJAX-add
   behaviour (and any future variation/stock validation) is reused exactly
   as-is. Desktop already shows the real button without scrolling, so this
   is mobile-only. */
.axmp-sticky-cart-bar{
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	z-index:999;
	display:none;
	background:var(--canvas);
	border-top:1px solid var(--border);
	box-shadow:0 -8px 24px -12px rgba(15,15,15,.22);
	padding:10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	transform:translateY(100%);
	transition:transform .2s ease;
}
@media (max-width:767px){
	body.single-product .axmp-sticky-cart-bar{
		display:block;
	}
	body.single-product{
		padding-bottom:70px;
	}
}
.axmp-sticky-cart-bar.axmp-sticky-cart-show{
	transform:translateY(0);
}
.axmp-sticky-cart-bar-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	max-width:720px;
	margin:0 auto;
}
.axmp-sticky-cart-price{
	font-family:'Sora',sans-serif;
	font-weight:800;
	font-size:17px;
	color:var(--ink);
}
.axmp-sticky-cart-price del{
	color:var(--ink-faint);
	font-weight:400;
	font-size:13px;
	margin-right:6px;
}
.axmp-sticky-cart-price ins{
	text-decoration:none;
	/* v1.1.179: matches the main .summary .price ins colour above -- same
	   sale price, shown a second time in this sticky bar, so it stays
	   consistent rather than showing two different colours for one price. */
	color:#0B7A4B !important;
}
/* v1.1.180: same nested-span fix as the main summary price above --
   StyleKit's span.woocommerce-Price-amount.amount rule wins over the
   .axmp-sticky-cart-price ins rule's inherited colour otherwise. */
.axmp-sticky-cart-price ins .woocommerce-Price-amount{
	color:#0B7A4B !important;
}
.axmp-sticky-cart-price del .woocommerce-Price-amount{
	color:var(--ink-faint) !important;
}
.axmp-sticky-cart-button{
	background:linear-gradient(180deg,#FFCF33,var(--red));
	color:var(--ink);
	border:none;
	border-radius:999px;
	font-family:'Sora',sans-serif;
	font-weight:700;
	font-size:14.5px;
	padding:11px 26px;
	box-shadow:0 8px 18px -6px rgba(245,183,0,.5);
	flex:0 0 auto;
}

/* ---------------------------------------------------------------------- */
/* 3. Cart page -- REMOVED 2026-10-12 per owner's explicit request:       */
/*    "Mera website ka cart page ekdom default rakhna hai. Ab bakwas      */
/*    design bana diya hai." All body.woocommerce-cart rules (the gold-   */
/*    bordered row cards, pill quantity selector, custom buttons, the     */
/*    spin-button-hiding "E"-glyph fix, the Order Summary card restyle)   */
/*    have been deleted so the Cart page renders with WooCommerce's own  */
/*    plain default Cart Block styling again -- same kind of removal as  */
/*    Section 4 (My Account) below, and Section 1 (shop grouping) above. */
/*    Sections 2 (single product page) is untouched -- not what was      */
/*    asked for this time.                                                */
/* ---------------------------------------------------------------------- */

/* ---------------------------------------------------------------------- */
/* 4. My Account page -- REMOVED 2026-09-25 per owner's explicit request. */
/*    The owner never asked for this page's UI to change; this section   */
/*    (all body.woocommerce-account rules) has been deleted so the My    */
/*    Account page renders with the theme's plain default styling again. */
/*    Sections 1-3 above (shop grouping, single product, cart) are       */
/*    untouched -- the owner explicitly confirmed those should stay.     */
/* ---------------------------------------------------------------------- */

/* ---------------------------------------------------------------------- */
/* 5. Shop Archive / product card -- Swiggy-style card redesign (v1.1.209, */
/*    2026-10-31). Owner sent a reference screenshot (a Burger King-style  */
/*    card) plus 5 numbered instructions:                                  */
/*    1. White background, a light ("halka sa") rounded border around the  */
/*       whole card.                                                       */
/*    2. Sale % + delivery-time badge moved off the product photo, now     */
/*       plain text right after the product name -- no background shape   */
/*       on the time text. Rating as green text instead of 5 stars, also   */
/*       like the reference image.                                         */
/*    3. Only the cart button stays on the product photo. Checked live     */
/*       first: this grid never had a wishlist icon on the card to begin   */
/*       with (confirmed via DOM -- no .tinvwl_add_to_wishlist_button /    */
/*       .loop-wrapper-wishlist anywhere in this loop), so the only thing  */
/*       that actually needed removing from the image was the native       */
/*       WooCommerce "-X%" badge -- hidden here, shown as text instead.    */
/*    4. Price / sale price styled like the reference image.               */
/*    5. Vendor/store name at the very bottom of the card.                 */
/*    Scope confirmed with the owner via AskUserQuestion: sitewide, mobile */
/*    AND desktop both ("Poore site mein, mobile + desktop dono") -- Shop, */
/*    category archives, search results, the homepage product rows,       */
/*    Related Products, Recently Viewed. The text markup for items 2, 5,   */
/*    and the new rating text is generated by                              */
/*    frontend/class-storefront-polish.php's add_loop_sale_and_time_text(), */
/*    add_loop_rating_text(), add_loop_vendor_name() -- this section is    */
/*    the matching CSS for that markup, plus the card's own look.          */
/*                                                                          */
/*    This REPLACES the v1.1.208 "default UI" card look (full reversal,   */
/*    not a silent unhook) -- the image-overlay "⚡ 30 min" badge from     */
/*    v1.1.206/208 is gone from the image entirely, moved to a real text   */
/*    position below (same confirmed category slugs, same fixed text).     */
/* ---------------------------------------------------------------------- */

/* 1. Card -- light rounded border, NO background fill. The image and text
   sit inside this same bordered box with a small inner padding (the
   theme's own .product-loop-content has padding:0, so this is the only
   breathing room the card had).
   v1.1.212 (2026-11-02): owner reported every card's white background
   looks bad ("har product card mei ek white background hai, usko hata
   dena chahiye") -- removed sitewide (background:#FFFFFF deleted below,
   not just hidden), card now shows the page's own background through it.
   Border/radius/padding are untouched -- only the fill colour was asked
   to go. */
.product-loop-wrapper{
	border:1px solid #E7E7E7;
	border-radius:14px;
	padding:8px 8px 10px;
	/* v1.1.216 (2026-11-02): owner reported uneven card heights in a row on
	   the Shop page, caused by products missing a star rating (one fewer
	   line of text than a card that has one). Confirmed live via
	   getComputedStyle(): .products is already display:flex (StyleKit's own
	   CSS, further down this cascade) so the outer <li class="product">
	   itself WAS already stretching to match the tallest card in its row
	   (default flex align-items:stretch) -- but THIS element, the only
	   child inside that <li>, had no height rule of its own, so it stayed
	   sized to its own content and left an empty gap at the bottom of the
	   stretched <li> instead of growing to fill it. Fix: make this element
	   actually fill that stretched height, so every card's visible
	   border/background box lines up edge-to-edge across a row regardless
	   of which cards have a rating line. Confirmed live: all 6 cards in a
	   test row measured to the identical height after this change. */
	display:flex;
	flex-direction:column;
	height:100%;
	box-sizing:border-box;
	/* v1.1.219 (2026-11-03): owner reported (screenshot) text breaking outside the card's
	   white border. Live investigation this round found no element currently overflowing on
	   the live site (card scrollWidth/scrollHeight measured equal to clientWidth/clientHeight
	   at every width checked) -- the card itself had NO overflow containment at all (default
	   overflow:visible), so if anything ever does run long (a native theme element appearing
	   before this plugin's own override CSS has fully loaded and hidden it, a future edge-case
	   product with unusually long data) it would visibly spill past the rounded border instead
	   of being clipped to it. This is now a hard guarantee rather than something that happens
	   to be fine today. "ignore any previous requirements about equalizing product card
	   heights" (owner's own words this round) -- the height:100% rule above is left as-is since
	   it is unrelated to overflow and doing no harm, just not tuned any further. */
	overflow:hidden;
}
.product-loop-image-wrapper{
	border-radius:10px;
	overflow:hidden;
}
/* v1.1.217 (2026-11-02): owner tested v1.1.216 live and reported cards in the same row still
   look "misaligned and uneven... regardless of whether a product has a star rating OR A
   LONGER TITLE." v1.1.216 above only equalized the OUTER .product-loop-wrapper box height.
   First attempt (same version) scoped a flex-column + margin-top:auto fix to max-width:600px.
   v1.1.218 (2026-11-02): owner tested again, with a screenshot, and reported cards "completely
   broken... uneven structural heights" -- this time explicitly for "Mobile & Web" both (the
   v1.1.217 fix was mobile-only). Investigated live on both a true mobile viewport AND a normal
   desktop width this round and found the margin-top:auto approach only pinned the BOTTOM of the
   whole price/vendor block to a consistent position -- it did not keep the PRICE itself (and
   everything between the title and the vendor name) at a consistent Y position, and did not
   survive to desktop at all (unscoped). Root-caused precisely via direct DOM measurement on the
   live page: (a) the title truncates to 1 line by default, so a long title vs a short one
   shifts every line below it down by a full line-height, and (b) add_loop_rating_text() prints
   an extra "★ 5.00 (1)" line that exists ONLY between the price and the vendor name (confirmed
   live: price position was never actually affected by rating presence -- only the vendor name
   below it was, by exactly the rating line's own height, measured live as 18.6px).
   Fix, this time verified correct at BOTH a true mobile viewport (320-414px) and a normal
   desktop width (1024px), unscoped (applies everywhere, per the owner's explicit "Mobile & Web"
   ask this round):
   1. Title gets a fixed, exactly-2-lines-tall reserved box regardless of whether it actually
      needs 1 or 2 lines, using -webkit-line-clamp:2. This version explicitly sets its own
      line-height (1.3, a plain multiplier) rather than leaving it to inherit a value that
      turned out to differ by breakpoint on this theme -- confirmed live this round that an
      earlier attempt at a fixed-pixel min-height produced a broken/overlapping title render at
      mobile widths specifically because the real line-height there (16.8px/line) differs from
      desktop's (21px/line); min-height is now expressed in the SAME em unit as the line-height
      (2.6em = 2 x 1.3em), so the reserved box always matches 2 real lines exactly at any width.
   2. The vendor name gets an "invisible placeholder spacer" (the owner's own words) for a
      missing star rating -- not real markup, a CSS-only compensating margin-top using :has():
      when .animated-meta has no .axmp-loop-rating-text child, the vendor name's margin-top is
      increased by exactly the rating line's own height (18.6px) so it lands in the identical
      position whether the rating line is there or not. Nothing is shown that wasn't already
      going to be shown -- this does not reverse the earlier "no rating line for 0 reviews"
      decision, it only reserves the same layout space that line would have taken.
   Live-verified this round at 375px, 1024px, and a true mobile 320-414px range: vendor-name and
   price Y position measured identical across every card in a row, with or without a rating,
   regardless of title length, at every width tested. */
/* v1.1.219 (2026-11-03): owner's explicit ask -- "Add a balanced inner padding... around the
   text content wrapper... so that all text elements stay cleanly contained INSIDE the white
   card borders." .product-loop-content itself had padding:0 (the theme's own default) -- the
   only inset it ever had was .product-loop-wrapper's own 8px/side padding, further up this
   file. Rather than stack a full 10-12px on top of that (would total 18-20px/side, excessive
   on a ~90-166px-wide mobile tile), this adds a smaller supplementary 4px here, bringing the
   real total horizontal inset to 12px/side (8+4) -- inside the owner's own suggested range,
   reasoned rather than doubled blindly. word-break/max-width/overflow-wrap below are added to
   every text line so nothing can ever push past this padding, however long the data gets.
   v1.1.220 (2026-11-03): this 4px padding was NOT actually taking effect live, discovered
   while investigating this round's "massive gap" report -- StyleKit's own custom.css (loaded
   much later in <head>, priority 9999) has its own older `.product-loop-content{padding:0}`
   rule (same selector, same specificity, 1 class) that was silently winning and discarding
   this padding entirely. Replaced below with the owner's own explicit values for this round
   (padding-left/right:6px, !important) -- !important is the correct, deliberate fix here
   (same pattern already used once before in this engagement, v1.1.213, for an identical
   StyleKit-cascade-order conflict), not a style preference. */
.product-loop-content{
	text-align:left;
	padding-left:6px !important;
	padding-right:6px !important;
	max-width:100%;
	box-sizing:border-box;
}
/* v1.1.220 (2026-11-03): THE REAL SOURCE of this round's "massive empty gap between the
   title and the discount percentage line" (owner's screenshot) -- root-caused live, not
   guessed. StyleKit's custom.css (assets/css/custom.css, "NEW additions 2026-08-28" section)
   already has its OWN, older, deliberate fix for product titles: `.product .woocommerce-loop-
   product__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}` -- truncating
   every title to exactly ONE line with an ellipsis, specifically so every card's title takes
   identical height regardless of name length (that file's own comment documents this exact
   reasoning, including "that reserved space was exactly the visible gap between the title
   and the price"). Because that selector has the same specificity as this one and custom.css
   loads far later (priority 9999, confirmed in StyleKit's own doc comments), ITS white-space:
   nowrap silently wins over this file's white-space:normal -- so the title TEXT was already
   being single-line-truncated by StyleKit's rule in practice. But this rule's OWN min-height:
   2.6em (a different, unrelated property StyleKit never touches, so nothing overrode it) kept
   reserving a full 2-line-tall box regardless -- the net live result was a single-line
   truncated title sitting inside an oversized 2-line box, with the unused bottom half of that
   box reading as a gap before the discount line. Confirmed live via getComputedStyle() on the
   production Shop page and homepage both. Fix: removed the now-dead/conflicting 2-line-clamp
   properties (display:-webkit-box, -webkit-line-clamp, -webkit-box-orient, min-height,
   white-space:normal) entirely, rather than fight StyleKit's already-correct, already-
   documented, already-working single-line approach with more !important overrides. This also
   keeps the original v1.1.217/v1.1.218 goal (price/vendor Y-position identical across every
   card in a row, regardless of title length) fully intact -- arguably more robustly than
   before, since every title is now guaranteed exactly one line tall with no reserved-space
   math needed at all, instead of relying on a min-height calibrated for 2 lines. */
.product-loop-content .woocommerce-loop-product__title{
	overflow-wrap:break-word;
	word-break:break-word;
	max-width:100%;
	line-height:1.3;
	margin:4px 0 0; /* v1.1.222 (2026-11-03): 6px -> 4px, owner's explicit "gaps too much, reduce" ask this round -- reverses v1.1.218's "breathing room" bump in the other direction, same owner, later instruction */
}
/* Breathing room + the rating placeholder spacer are set directly on this file's own existing
   section-2/3/4/6 rules further down (search "Breathing room" below) rather than duplicated
   here, so there is only ever one place that sets each property -- CSS source order would
   otherwise have let the later, original declaration quietly win and discard these. */
/* StyleKit's own always-on 2px image border (assets/css/custom.css) is no
   longer wanted now that the card itself carries the border -- overridden
   here rather than edited at its own source, since StyleKit is meant to
   stay this site's "plain CSS defaults" plugin and this is a Marketplace-
   specific card redesign (same division of responsibility documented in
   v1.1.180's StyleKit-conflict fix). */
.product-loop-image-wrapper img{
	border:none !important;
}
/* StyleKit's hover shadow/lift (assets/css/custom.css) would visually
   fight this flatter bordered-card look -- switched off on the card only,
   everywhere this card markup is used. */
.products .product:hover{
	box-shadow:none !important;
	transform:none !important;
}

/* 2 & 3. Native "-X%" badge hidden on the image -- the real percentage is
   now shown as text below instead (same value, not recalculated -- see
   add_loop_sale_and_time_text()'s PHP doc comment). */
ul.products li.product .product-loop-image-wrapper .onsale{
	display:none !important;
}

/* v1.1.210 (2026-10-31) -- owner tested v1.1.209 live and sent 5
   corrections with an exact spec. See frontend/class-storefront-polish.php's
   class doc comment for the full root-cause writeup of each one; this CSS
   is the matching half. */

/* 1. Double rating fix -- this theme doesn't actually unhook from
   remove_action( 'woocommerce_template_loop_rating', 5 ) (confirmed live:
   the 5-star row kept rendering alongside the new green text). Hiding it
   here is the real, guaranteed-working fix, not the PHP removal attempt.
   v1.1.220 (2026-11-03): owner's explicit ask this round -- "the star rating
   container box should not hold any layout space, padding, or invisible
   height." display:none already removes it from layout entirely (confirmed
   live: this element contributes zero height/width either way, with or
   without a rating present -- see this version's own changelog for the
   live measurement). The extra margin/padding/height/visibility
   declarations below are added anyway, exactly as the owner specified, as
   a defensive belt-and-suspenders guarantee -- harmless since display:none
   already wins, but it directly satisfies the literal instruction and
   costs nothing. IMPORTANT, investigated and disclosed in the changelog:
   this element was NOT the actual source of the "massive empty gap"
   between the title and the discount line the owner is pointing at in
   this round's screenshot -- the real cause (found live) was the title's
   own min-height:2.6em further down this file, now fixed directly at its
   source; see that rule's own updated comment. */
ul.products li.product .star-rating,
.woocommerce ul.products li.product .star-rating,
ul.products li.product .star-rating *{
	display:none !important;
	margin:0 !important;
	padding:0 !important;
	height:0 !important;
	visibility:hidden !important;
}

/* 2. Sale-percentage text, its own line ("17% Discount") -- plain text,
   same red as before, no longer reusing .onsale markup (that produced the
   literal word "Sale!" here, not a percentage -- see the PHP doc comment).
   v1.1.218 (2026-11-02): margin-top bumped 4px -> 6px, "breathing room" ask.
   v1.1.219 (2026-11-03): owner's overflow ask -- white-space:nowrap here is a
   DELIBERATE, previously-confirmed decision (this line reads best as one
   phrase, same as price/vendor-name below) so it is NOT changed to wrap.
   Instead, added the same defensive max-width:100% + overflow:hidden +
   text-overflow:ellipsis pattern already used on .axmp-loop-vendor-name --
   if this text is ever unusually long it now truncates cleanly with an
   ellipsis instead of visually overflowing the card (the card itself also
   now clips via .product-loop-wrapper's new overflow:hidden, further up
   this file, so this is belt-and-suspenders, not the only guard). */
.axmp-loop-sale-text{
	margin-top:3px; /* v1.1.222 (2026-11-03): 6px -> 3px, owner's "gaps too much" ask, reverses v1.1.218's bump */
	font-size:11px;
	font-weight:700;
	color:#D23C3C;
	white-space:nowrap;
	max-width:100%;
	overflow:hidden;
	text-overflow:ellipsis;
}

/* 3. Delivery-time text, its own line, plain text, no icon, never wraps
   mid-phrase -- per the owner's explicit correction.
   v1.1.218 (2026-11-02): margin-top bumped 2px -> 4px, "breathing room" ask.
   v1.1.219 (2026-11-03): same reasoning as .axmp-loop-sale-text directly
   above -- nowrap is a deliberate earlier decision, kept as-is; added the
   same defensive max-width/overflow/ellipsis guard instead of changing it
   to wrap.
   v1.1.222 (2026-11-03): owner's explicit asks this round -- (a) margin-top
   4px -> 2px, "gaps too much" (reverses v1.1.218's bump, same owner, later
   instruction); (b) text colour changed grey -> a readable amber/yellow.
   A pure, saturated yellow (#FFEB3B-ish) has very poor contrast on a white
   card and would fail basic legibility, so a darker, more saturated amber
   (#C68E00) was used -- still clearly reads as "yellow", not orange, while
   staying legible. The text itself was also shortened in PHP this round
   ("Delivery in 30 min" -> "25-30 mins", see class-storefront-polish.php),
   which is what actually frees up most of the vertical/horizontal space --
   this colour/margin change is the CSS half of that same ask. */
.axmp-loop-time-text{
	margin-top:2px;
	font-size:11px;
	font-weight:600;
	color:#C68E00;
	white-space:nowrap;
	max-width:100%;
	overflow:hidden;
	text-overflow:ellipsis;
}

/* 4. Price -- own line, both the struck-through original and the current
   price together on ONE line (white-space:nowrap keeps them from
   wrapping onto 2 lines on a narrow card -- the owner's exact complaint).
   v1.1.213 (2026-11-02): this theme's remove_action() never actually
   unhooks WooCommerce's own default loop price (same proven root cause
   as the rating duplicate, and the price duplicate before it) -- it
   keeps rendering its own unstyled `span.price` right alongside ours
   inside the same .animated-meta wrapper. Confirmed live via DOM
   inspection: both spans sit as direct children of .animated-meta, ours
   carries .axmp-loop-price-text, theirs doesn't. Hide theirs, same
   pattern used for the rating duplicate. Decimals are now WooCommerce's
   own default (no decimals=>0 override in PHP any more) per the
   owner's explicit instruction to keep the decimal price and delete
   the other one. */
.product-loop-meta .animated-meta > span.price:not(.axmp-loop-price-text){
	display:none !important;
}
.product-loop-meta .axmp-loop-price-text{
	display:block;
	margin-top:3px; /* v1.1.222 (2026-11-03): 6px -> 3px, owner's "gaps too much" ask, reverses v1.1.218's bump */
	white-space:nowrap; /* v1.1.213: deliberate -- "owner's exact complaint" about 2-line wrap, kept as-is */
	max-width:100%; /* v1.1.219 (2026-11-03): defensive overflow guard, see .axmp-loop-sale-text comment above */
	overflow:hidden;
	text-overflow:ellipsis;
}
.product-loop-meta .price del{
	color:#9A9A9A;
	font-size:12px;
	font-weight:400;
	text-decoration:line-through;
}
.product-loop-meta .price ins{
	text-decoration:none;
}
.product-loop-meta .price ins .woocommerce-Price-amount{
	background:#FFE27A;
	color:#1A1A1A;
	font-weight:700;
	padding:2px 8px;
	border-radius:6px;
	display:inline-block;
}

/* 5. Rating -- green text ("★ 4.3 (785)"), its own line, not the 5-star
   icon row (hidden above). A product with zero reviews gets no rating
   line at all, per the owner's own confirmed answer -- add_loop_rating_text()
   already skips printing anything in that case, so there is nothing for
   this CSS to hide. */
.axmp-loop-rating-text{
	margin-top:2px; /* v1.1.222 (2026-11-03): 3px -> 2px, owner's "gaps too much" ask */
	font-size:12px;
	font-weight:700;
	color:#0B7A4B;
}
.axmp-loop-rating-star{
	color:#0B7A4B;
}
.axmp-loop-rating-count{
	font-weight:500;
	color:#5C8B77;
}

/* 6. Vendor/store name, bottom of the card, with a thin divider above it.
   Truncates with an ellipsis instead of wrapping to a 2nd line when the
   store name is long -- per the owner's explicit correction.
   v1.1.218 (2026-11-02): margin-top/padding-top bumped 6px -> 8px, "breathing room" ask.
   v1.1.222 (2026-11-03): margin-top/padding-top reduced 8px -> 4px, owner's "gaps too much,
   reduce" ask this round -- reverses v1.1.218's bump in the other direction, same owner,
   later instruction. */
.axmp-loop-vendor-name{
	display:block;
	margin-top:4px;
	padding-top:4px;
	border-top:1px solid #F0F0F0;
	font-size:11px;
	color:#8A8A8A;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	max-width:100%;
}
/* v1.1.222 (2026-11-03): REMOVED -- v1.1.218's ":has()"-based "invisible placeholder spacer"
   (which used to sit here as `.animated-meta:not(:has(.axmp-loop-rating-text))
   .axmp-loop-vendor-name{margin-top:26.6px;}`) reserved extra margin-top on the vendor name
   whenever a product had no rating, so the vendor name landed at the same Y position whether
   or not a rating line existed above it. Owner's explicit instruction this round reverses
   that decision: "Jis products mei rating nahi hai uske liye bhi rating ka jagah Gap show ho
   raha hai. Jagah rakhna nahi chahiye, koi rating dega toh automatic show hona chahiye,
   pehele se jagah book karke rakhne ka jarurat nahi hai" (don't reserve space for a missing
   rating -- when a rating exists it should just show naturally). Physically deleted here
   (full reversal, not a silent unhook) rather than left disabled -- a product WITHOUT a
   rating now has its vendor name sit directly after the price with no extra gap; a product
   WITH a rating simply shows that line above the vendor name as an extra row, pushing the
   card very slightly taller for that one card only, which is exactly what the owner asked
   for ("automatic" sizing, no pre-reserved space). This intentionally reopens the row-to-row
   height variance that v1.1.218 was built to prevent -- that trade-off is accepted on the
   owner's own explicit instruction this round, which took priority (also consistent with
   "ignore any previous requirements about equalizing product card heights... doesn't need to
   be perfectly even", the owner's own words from the v1.1.219 round). */

/* 7. Category tag chip ("All <Category> ›"), modelled on Blinkit's own card link (owner's
   screenshot comparison, v1.1.234, 2026-11-05). add_loop_category_text() in
   class-storefront-polish.php fires on every card this loop renders, same as every other
   hook in this file -- but the owner's explicit AskUserQuestion answer this round scopes the
   VISIBLE chip to only two contexts: the Shop/category archive page, and the 3 homepage
   carousel rows (elementor-element-46106d7/c7b8f76/f3da0d4, StyleKit's own protected rows
   from v1.1.220-222 -- confirmed live first that their mobile carousel CSS is untouched by
   this change). Related Products, Recently Viewed, and search results keep the pre-v1.1.234
   card, unchanged. Hidden by default below, re-enabled only in the two approved contexts --
   the scope lives in one place so it stays easy to audit/undo. No !important needed: the
   override selectors are already higher-specificity than the single-class default. */
.axmp-loop-category-text{
	display:none;
}
body.archive .axmp-loop-category-text,
body.tax-product_cat .axmp-loop-category-text,
.elementor-element-46106d7 .axmp-loop-category-text,
.elementor-element-c7b8f76 .axmp-loop-category-text,
.elementor-element-f3da0d4 .axmp-loop-category-text{
	display:block;
	margin-top:4px;
	font-size:11px;
	font-weight:600;
	color:#1A1A1A;
	text-decoration:none;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	max-width:100%;
}
.axmp-loop-category-arrow{
	margin-left:2px;
	font-weight:700;
}

/* 8. Compact "ADD" button, mobile only (max-width:600px), sitewide -- confirmed live FIRST
   that `.loop-add-to-cart-btn` (Woostify's own theme class, this plugin does not own its base
   styling) had NO existing mobile-specific sizing anywhere on the site, Shop page or the 3
   homepage carousel rows alike (checked both live CSSOM and the actual rendered button: 36px
   tall, ~61% of a desktop card's width, same everywhere) -- so there is no existing scoped
   rule for this to conflict with, unlike the font-size/border work above. v1.1.234
   (2026-11-05): owner's Blinkit comparison -- a short, compact "ADD" pill instead of the
   full "Add to cart" text + icon. The icon and native text node are only hidden (not removed
   from markup) and replaced visually with a ::after "ADD" label (standing "shorten long UI
   text" rule) -- the real .ajax_add_to_cart click handling (WooCommerce core's own JS) never
   touches markup structure, only CSS, so add-to-cart itself is completely unaffected. Colour/
   background intentionally left untouched (not part of this ask). */
@media (max-width:600px){
	.loop-add-to-cart-btn{
		padding:6px 10px !important;
		min-width:0 !important;
		border-radius:16px !important;
		font-size:0 !important;
		line-height:1 !important;
	}
	.loop-add-to-cart-btn .woostify-svg-icon{
		display:none !important;
	}
	.loop-add-to-cart-btn::after{
		content:"ADD";
		display:inline-block;
		font-size:11px !important;
		font-weight:700;
		letter-spacing:0.3px;
		color:inherit;
	}
}

/* v1.1.220 (2026-11-03): owner's explicit ask, item 2 -- "Enforce 3 Columns per Row on the
   Shop Page (Mobile-Only max-width:600px)... Scale down the product images, text fonts,
   margins, and white boxes... fit comfortably side-by-side in 3 columns without breaking or
   wrapping early." Scoped tightly to the Shop/category archive page only (body.archive,
   body.tax-product_cat -- WooCommerce's own body classes, confirmed live on the production
   Shop page) so none of this leaks onto the 3 homepage Elementor product carousels, which the
   owner explicitly asked to leave exactly as they are (see this version's changelog).
   Investigated live first: the Shop page's mobile grid was ALREADY rendering exactly 3 cards
   per row before this change -- the theme's own `mobile-columns-3` class on `ul.products`,
   combined with StyleKit's own existing width formula for that class, already does this; no
   new column-count CSS was needed. What follows is only the requested font/spacing scale-down
   so the already-3-column layout reads cleanly rather than cramped, exactly the sizes given:
   title 11px, delivery/vendor 10px, price 11px and strictly one line. !important matches the
   owner's own spec and is also needed in practice -- the title/price selectors here compete
   with StyleKit's own later-loading custom.css font-size rules for the same elements (the
   same kind of cascade-order conflict root-caused earlier in this file, for padding).
   v1.1.221 (2026-11-03): owner's new screenshot -- the white bordered card box around each
   product (border + radius + background showing through) was itself the complaint this round
   ("making the height gaps look very obvious and unprofessional"), asking for the Swiggy/Zepto
   borderless treatment. Confirmed live first that `li.product` itself ALREADY has no border/
   background/padding of its own (getComputedStyle showed border:0, background:transparent,
   padding:0) -- the visible white box is entirely `.product-loop-wrapper`'s own border +
   radius + the page's own white background showing through a technically-transparent fill.
   Border/box-shadow/padding removed below, on the Shop page only, same pattern already proven
   live on the 3 homepage carousels (StyleKit's own v1.5.4 rule does exactly this there:
   wrapper padding moved onto `.product-loop-content` instead, so the IMAGE sits flush edge-to-
   edge while the TEXT below keeps its own small left/right inset -- same structure, reused
   here for consistency). `overflow:hidden` and the 14px `border-radius` are deliberately LEFT
   ON `.product-loop-wrapper` even with no border -- there's no border to clip now, but the
   radius still rounds the image's top corners as it sits flush against the wrapper's edge
   (confirmed live: image-wrapper's own rect exactly matches the outer wrapper's rect once
   padding is 0, so the outer radius still governs the visible corner), and overflow:hidden
   keeps v1.1.219's text-overflow containment guarantee intact. The owner's own literal
   selectors (`.products .product`, `li.product`) are also included below, scoped the same way,
   as a defensive belt-and-suspenders match even though they were already a no-op live. */
/* v1.1.222 (2026-11-03): owner noticed the border removal above (v1.1.221) was scoped inside
   the max-width:600px media query, so it only applied on mobile -- desktop/web still showed
   the old bordered card box. Owner's explicit instruction: "Rakhna hai toh dono mein rakhiye,
   nahi toh kahi pe bhi nahi chahiye" (either keep the border in both mobile and web, or have
   it in neither). Since the whole direction this round has been the Swiggy/Zepto borderless
   look, the fix is to widen the border/background/box-shadow/padding removal to ALL widths on
   the Shop page (moved out of the @media block below, kept scoped to body.archive/
   body.tax-product_cat only, so the homepage carousels remain completely untouched). The
   text-align:left fix (also originally shipped v1.1.221) is moved out alongside it for the
   same reason -- its underlying cascade-order bug (the theme's .text-center rule loading
   after this plugin's CSS) is not viewport-dependent either, and the original v1.1.218
   left-align request was itself explicitly "Mobile & Web both" -- leaving it mobile-only
   would have been the same kind of inconsistency the owner just flagged for the border, just
   not yet noticed. Only the FONT-SIZE scaling (title/sale/time/vendor/price, further down)
   stays inside the max-width:600px media query -- that was specifically about fitting a dense
   3-column mobile layout and was never reported as inconsistent on desktop (desktop shows
   more columns, with correspondingly more room per card). */
body.archive .product-loop-wrapper,
body.tax-product_cat .product-loop-wrapper,
body.archive ul.products li.product,
body.tax-product_cat ul.products li.product{
	background:transparent !important;
	border:none !important;
	box-shadow:none !important;
}
body.archive .product-loop-wrapper,
body.tax-product_cat .product-loop-wrapper{
	padding:0 !important;
}
/* v1.1.221/222 ADDED, v1.1.223 REMOVED (full reversal, not a silent unhook) -- the
   v1.1.221 round root-caused and fixed a real cascade-order bug that was silently
   keeping Shop-page product-card text centered instead of left (the theme's own
   .text-center utility class, same specificity, loading after this plugin's CSS --
   see git history / the v1.1.222 changelog for the full root-cause writeup). That
   fix was technically correct and WAS live. Owner's new screenshot this round
   ("alignment center hai ya left hai pata nahi chal raha hai -- Center kar
   dijiye") asks to go back to centered text after seeing left-align live --
   not a complaint that the fix didn't work, a preference reversal now that it's
   visible. Rule physically deleted (not disabled) per this engagement's standing
   "full reversal" convention: removing it lets the theme's own .text-center class
   win again naturally -- no new CSS needed to restore centering, since center was
   always the page's underlying default underneath this override. */

@media (max-width:600px){
	body.archive .product-loop-content .woocommerce-loop-product__title,
	body.tax-product_cat .product-loop-content .woocommerce-loop-product__title{
		font-size:11px !important;
	}
	body.archive .axmp-loop-sale-text,
	body.tax-product_cat .axmp-loop-sale-text{
		font-size:11px !important;
	}
	body.archive .axmp-loop-time-text,
	body.tax-product_cat .axmp-loop-time-text,
	body.archive .axmp-loop-vendor-name,
	body.tax-product_cat .axmp-loop-vendor-name{
		font-size:10px !important;
	}
	body.archive .product-loop-meta .axmp-loop-price-text,
	body.tax-product_cat .product-loop-meta .axmp-loop-price-text{
		font-size:11px !important;
		white-space:nowrap !important;
	}
}

/* Related products / Recently Viewed Products -- horizontal scrollable
   "strip" on mobile (owner asked for a "frequently bought together" style
   strip), snapping one card at a time. Desktop keeps the existing grid --
   more cards already fit per row at that width, so a strip adds nothing
   there. Both sections confirmed live to use the identical
   ul.products.columns-5 markup as the main Shop Archive grid. This is a
   layout-only mechanism (horizontal scroll + snap), not part of the card's
   own visual look, so it was left in place by the v1.1.208 default-UI
   reversal above -- the cards inside this strip now just render with
   WooCommerce's own default styling (plus the delivery badge), same as
   everywhere else, arranged in this horizontal strip on mobile only. */
@media (max-width:767px){
	.related.products ul.products,
	.woostify-product-recently-viewed-inner ul.products{
		display:flex;
		flex-wrap:nowrap;
		overflow-x:auto;
		scroll-snap-type:x mandatory;
		gap:12px;
		padding-bottom:6px;
		-webkit-overflow-scrolling:touch;
	}
	.related.products ul.products li.product,
	.woostify-product-recently-viewed-inner ul.products li.product{
		flex:0 0 46%;
		scroll-snap-align:start;
	}
}

/* ---------------------------------------------------------------------- */
/* 6. Single product premium redesign -- REVERTED v1.1.177                 */
/*    v1.1.176 added a reference-image-matched redesign here (own          */
/*    --axmp-qc-* palette, Sold-by card + address + View button,          */
/*    title+price row, meta row, Description heading). The owner rejected  */
/*    the whole look ("Mujhe style kuch bhi atcha nahi laga. Pehele jo tha */
/*    wohi rakhiye") after live screenshots also showed the hero-image     */
/*    breakout rule in here breaking the desktop two-column layout. This   */
/*    entire section has been deleted -- full reversal, not a silent      */
/*    unhook. The one requirement that survives ("Hero Image ka koi border */
/*    visible nahi hona chahiye") is now implemented correctly, mobile-    */
/*    only, inside Section 2's existing @media (max-width:767px) block     */
/*    above.                                                                */
/* ---------------------------------------------------------------------- */
