/*
Theme Name: Organico Child
Theme URI: https://organico.themeftc.com
Author: Laymoun
Description: Child theme for Organico — all customisations go here, parent theme stays untouched.
Template: organico
Version: 1.0.0
Text Domain: organico
*/

/* ─── Quick View popup close button ─────────────────────────────────────────
   Moved from parent style.css. Grey circle, white ×, inset from popup corner.
   ─────────────────────────────────────────────────────────────────────────── */
div.pp_default .pp_close,
body div.pp_woocommerce.pp_pic_holder .pp_close,
body div.ftc-product-video.pp_pic_holder .pp_close,
body .ftc-lightbox.pp_pic_holder a.pp_close,
body div.ftc-size_chart .pp_close {
	bottom: auto;
	z-index: 9;
	top: 12px;
	right: 12px;
	position: absolute !important;
	background-image: none !important;
	width: 30px;
	height: 30px;
	text-indent: -99999px;
	font-size: 0;
	background-color: #f0f0f0;
	border-radius: 50%;
	transition: all 150ms ease 0s;
	-webkit-transition: all 150ms ease 0s;
	-moz-transition: all 150ms ease 0s;
}

body div.pp_woocommerce.pp_pic_holder .pp_close:before,
div.pp_default .pp_close:before,
body .ftc-lightbox.pp_pic_holder a.pp_close:before,
body div.ftc-product-video.pp_pic_holder .pp_close:before,
body div.ftc-size_chart .pp_close:before {
	content: "\00d7";
	display: block;
	position: absolute;
	font-family: open sans-serif !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	line-height: 30px;
	text-shadow: none !important;
	text-indent: 0 !important;
	font-size: 22px;
	font-weight: 300;
	color: #333;
	transition: all 150ms ease 0s;
	-webkit-transition: all 150ms ease 0s;
	-moz-transition: all 150ms ease 0s;
}

/* ─── Quick View close button hover (QA June #46 + UI&UX #96) ────────────────
   #46: on hover the button flashed a YELLOW SQUARE behind the ×. Cause: the
   brand "hover turns things yellow" rule (Customizer inline CSS) paints a
   background on .pp_close:before, and that pseudo-element is a 30×30 square
   (border-radius 0) on top of the circle — so a yellow square showed. Fix is to
   keep the :before background transparent in BOTH states (no yellow square).
   #96 (properly style the close button): the old medium-grey #999 circle with a
   white × looked like a default/unstyled control. Restyled to a clean modal
   close — a light neutral circle (#f0f0f0) with a dark × by default, turning a
   brand-GREEN circle with a white × on hover (the brand accent, never the
   yellow that #46 banned here). Position unchanged (inset inside the popup).
   ─────────────────────────────────────────────────────────────────────────── */
div.pp_default .pp_close:hover,
body div.pp_woocommerce.pp_pic_holder .pp_close:hover,
body div.ftc-product-video.pp_pic_holder .pp_close:hover,
body .ftc-lightbox.pp_pic_holder a.pp_close:hover,
body div.ftc-size_chart .pp_close:hover {
	background-color: var(--secondary) !important;
	background-image: none !important;
	border-radius: 50% !important;
}

/* Keep the pseudo-element's own background transparent in BOTH states so the
   Customizer can't paint a yellow square behind the × (QA #46). */
div.pp_default .pp_close:before,
body div.pp_woocommerce.pp_pic_holder .pp_close:before,
body div.ftc-product-video.pp_pic_holder .pp_close:before,
body .ftc-lightbox.pp_pic_holder a.pp_close:before,
body div.ftc-size_chart .pp_close:before,
div.pp_default .pp_close:hover:before,
body div.pp_woocommerce.pp_pic_holder .pp_close:hover:before,
body div.ftc-product-video.pp_pic_holder .pp_close:hover:before,
body .ftc-lightbox.pp_pic_holder a.pp_close:hover:before,
body div.ftc-size_chart .pp_close:hover:before {
	background: transparent !important;
	background-color: transparent !important;
	border-radius: 0 !important;
}

/* On hover the circle is brand-green, so flip the × to white for contrast
   (default × stays dark #333 from the rule above). */
div.pp_default .pp_close:hover:before,
body div.pp_woocommerce.pp_pic_holder .pp_close:hover:before,
body div.ftc-product-video.pp_pic_holder .pp_close:hover:before,
body .ftc-lightbox.pp_pic_holder a.pp_close:hover:before,
body div.ftc-size_chart .pp_close:hover:before {
	color: #fff !important;
}

/* ─── Product details: container + summary panel border-radius ──────────────
   Restored here after the Additional CSS cleanup (CHANGES.md item 8) dropped
   two selectors and one declaration during a duplicate-rule merge:
     1. `.woocommerce div.product` was removed from the shared border-radius rule
     2. `.woocommerce div.product div.summary` was removed from the shared rule
     3. `border-radius: 24px` was dropped from `.woocommerce div.product { ... }`
   Net effect: the single product page lost rounded corners on the white box and
   on the summary panel. Restoring with !important matches the original cascade.
   ─────────────────────────────────────────────────────────────────────────── */
.woocommerce div.product,
.woocommerce div.product div.summary {
	border-radius: var(--radius) !important;
}

/* ─── AED currency symbol (UAE Dirham SVG) ──────────────────────────────────
   Pairs with laymoun_aed_currency_symbol() in functions.php, which injects an
   inline SVG inside <span class="custom-aed-symbol"> as the WooCommerce currency
   symbol. The SVG uses fill="currentColor" so it inherits the text colour.
   ─────────────────────────────────────────────────────────────────────────── */
.custom-aed-symbol {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	line-height:     1;
	position:        relative;
	top:             0.01em;
}
.custom-aed-symbol svg {
	display: block;
	width:   0.82em;
	height:  auto;
}
/* The parent's shotgun `.woocommerce .product span {overflow:hidden}` also
   clips this span AND its parent (WooCommerce's currencySymbol span) — under
   the page's 0.8 zoom the sub-pixel rounding shaved the glyph's bottom edge
   at some font sizes ("price looks cropped"). One extra class out-ranks it;
   both spans hold nothing but the SVG, so visible overflow can't leak
   anything. */
.woocommerce .product span.custom-aed-symbol,
.woocommerce .product span.woocommerce-Price-currencySymbol {
	overflow: visible;
}

/* The theme separates the struck and sale prices with a PHYSICAL right
   padding (`ins/del .woocommerce-Price-amount {padding:0 17px 0 0}`). In RTL
   that right side is the START side, so the first (rightmost) price sat 17px
   off the text line while everything above/below started flush. Make it
   logical: same look in English, and in Arabic the gap moves to each price's
   trailing side where it belongs. */
ins .woocommerce-Price-amount,
del .woocommerce-Price-amount {
	padding: 0;
	padding-inline-end: 17px;
}

/* Struck-through REGULAR price, dirham symbol: green like the sale price (the theme
   greys del spans to #999 and the SVG fill is currentColor), and no strikethrough on
   the symbol itself — the line crosses the number only. The old Customizer rule that
   hid this symbol (`del … currencySymbol { display:none !important }`) was deleted at
   the source (Additional CSS, 2026-07-05), so no display/!important war is needed. */
del .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
/* Product-CARD context (shop grid, category tabs, home Featuring): the theme's
   `.woocommerce .products .product .price del span {color:#999}` is (0,4,2) and
   out-ranks the general rule above (0,2,1) — so on cards the struck symbol
   stayed grey while the struck digits are already green (bdi isn't a `span`, so
   it escapes the theme rule). This card-scoped twin is (0,5,1) and wins there. */
.woocommerce .products .product .price del .woocommerce-Price-currencySymbol {
	color: #186034;
	text-decoration: none;
}
del .custom-aed-symbol svg path {
	fill: #186034;
}
/* Paint the strikethrough ON the wrapper that directly holds the digits: the price
   amount is a flex box, and a flex container's line-through does NOT propagate into
   its items — so in the Quick View popup the computed line never actually painted.
   The symbol span inside stays exempt (atomic inline + its own decoration:none). */
del .woocommerce-Price-amount bdi {
	text-decoration: line-through;
}
/* Quick View popup: the struck (regular) price matches the product card's lighter
   look — same green, but regular weight (the card renders it at 400 vs the sale
   price's bold 700; in the popup both were bold, so they read equally heavy).
   Selector mirrors the parent's `.woocommerce div.product .summary.entry-summary
   span.amount { font-weight: bold }` (with .pp_woocommerce + del) so it out-ranks
   it without !important. */
.pp_woocommerce div.product .summary.entry-summary del span.amount {
	font-weight: 400;
}

/* ─── Hide star ratings on product CARDS (owner 2026-07-15) ──────────────────
   The store has essentially no reviews yet, so every card showed the theme's
   FORCED empty rating (inc/woo/hooks.php `ftc_get_empty_rating_html` +
   `woocommerce_template_loop_rating` on `woocommerce_after_shop_loop_item`@60)
   as a flat 1-star row. Hide the rating on every product-LOOP card — shop grid,
   category archives, home "Featuring Products" tabs, related / up-sell /
   cross-sell — while KEEPING the single-product summary rating and the Reviews
   tab (those live in `.summary` / `#reviews`, never in a `.products .product`
   loop item). Product reviews stay ENABLED in WooCommerce.

   Presentation-only on purpose: the theme emits the rating markup regardless of
   hooks and the FTC shortcodes re-add the loop-rating hook on every render, so
   a PHP remove_action can't hold — this scoped rule is the reliable lever. */
.woocommerce .products .product .star-rating,
.woocommerce-page .products .product .star-rating {
	display: none;
}

/* ─── Product-card action icons: always visible, unified site-wide (owner
   2026-07-15) ─────────────────────────────────────────────────────────────
   The theme reveals the action-icon row `.meta_info` (add-to-cart + wishlist
   heart + quick view) only on hover, as a white overlay absolutely positioned
   over the title (`position:absolute; opacity:0; visibility:hidden`, flipped
   on `.product:hover`), with a small grey divider bar above the image
   (`.item-description::after`, 40x2px #e0e0e0). Owner wants the icons ALWAYS
   visible in that band on EVERY product card — shop grid, category archives,
   related / up-sell / cross-sell, and the home Featuring tabs — one unified
   look. So drop the divider and make `.meta_info` a static, always-on row: as
   the last child of `.item-description` it flows into the band between the
   price and the image. `justify-content:center` (theme default) centres the
   icons and mirrors in RTL on its own. (0,5,0) beats the theme's hover rule on
   the same-specificity tie via load order; specialised demo card variants
   [slider-home9, product-deal-*, deal-h14, …] carry extra ancestor classes and
   keep their own layout, but none are used on this site. */
.woocommerce .products .product .item-description::after,
.woocommerce-page .products .product .item-description::after {
	display: none;
}
.woocommerce .products .product .item-description .meta_info,
.woocommerce-page .products .product .item-description .meta_info {
	/* display:flex + justify-content:center = the theme's own desktop layout for
	   this row; set here so it also shows on mobile — the theme hides it with an
	   inline `@media (max-width:991px){ .item-description .meta_info{display:none} }`
	   (it was hover-only, pointless on touch). This (0,5,0) rule beats that
	   (0,2,0) hider on specificity, so the always-on icons now show on phones. */
	display: flex;
	justify-content: center;
	position: static;
	opacity: 1;
	visibility: visible;
	width: 100%;
	height: auto;
	margin-top: 8px;
	background: transparent;
}
/* Icon buttons: 32px circles / 15px glyph (owner: the theme's 35px read a
   touch big on the ~270px card). Best-practice range for card action icons,
   still a comfortable tap target. (0,5,1) beats the theme's fixed-35px rules;
   the ::before covers the add-to-cart glyph (drawn as a pseudo-element, not an
   <i>). */
.woocommerce .products .product .item-description .meta_info a,
.woocommerce-page .products .product .item-description .meta_info a {
	/* Centre the glyph with line-height = button height (the theme's own method,
	   just at 32px). inline-flex + line-height:1 made the icon-font ink ride
	   high in the circle, so this is back to baseline centring. */
	display: inline-block;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	font-size: 15px;
}
.woocommerce .products .product .item-description .meta_info i,
.woocommerce .products .product .item-description .meta_info a::before,
.woocommerce-page .products .product .item-description .meta_info i,
.woocommerce-page .products .product .item-description .meta_info a::before {
	font-size: 15px;
	/* !important: the add-to-cart ::before keeps the theme's old 35px line-height
	   at a higher specificity — match the 32px circle so the glyph centres
	   (line-height = button height is the theme's own centring method). */
	line-height: 32px !important;
}

/* Unified hover: brand lemon-yellow background + white glyph on all three.
   Background: --primary is the lemon-yellow; (0,6,1) beats the theme's lime
   `.meta_info a:hover` (0,5,1). Glyph colour needs !important: a global inline
   rule `.woocommerce a.button:hover { color: var(--secondary) !important }`
   (Forest green) hits the add-to-cart button (it carries the `button` class)
   and only it — that was the green on the cart icon; the other two aren't
   `.button` but share this rule so all three stay consistent. */
.woocommerce .products .product .item-description .meta_info a:hover,
.woocommerce-page .products .product .item-description .meta_info a:hover {
	background: var(--primary, #f8d92e);
}
.woocommerce .products .product .item-description .meta_info a:hover,
.woocommerce .products .product .item-description .meta_info a:hover i,
.woocommerce .products .product .item-description .meta_info a:hover::before,
.woocommerce-page .products .product .item-description .meta_info a:hover,
.woocommerce-page .products .product .item-description .meta_info a:hover i,
.woocommerce-page .products .product .item-description .meta_info a:hover::before {
	color: #fff !important;
}

/* YITH block wishlist button in the card icon row (the heart is now YITH's own
   hydrated block button, not the theme's legacy heart — see functions.php
   lm_swap_card_wishlist_button). Style it to match the round 32px icons; hide
   the text label via font-size:0 (the SVG keeps its explicit size, so it's
   unaffected; the label stays in the DOM for screen readers). */
.woocommerce .products .product .item-description .meta_info .yith-add-to-wishlist-button-block,
.woocommerce-page .products .product .item-description .meta_info .yith-add-to-wishlist-button-block {
	display: inline-flex;
	margin: 0;
	padding: 0;   /* YITH gives the wrapper 30px right padding → a big gap before the eye */
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 0;
	margin: 0 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ebebeb;
	color: #333;
	box-shadow: none;
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:hover,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:hover {
	background: var(--primary, #f8d92e);
	color: #fff;
}
/* icon-only: hide YITH's text label; size the SVG explicitly (YITH sizes it in
   `em`, so !important beats its 1em width). */
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button__label,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button__label {
	display: none !important;
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon {
	width: 15px !important;
	height: 15px !important;
	margin: 0;
}
/* Heart icon colour by state. Both variants use currentColor (not-added =
   outline via stroke; added = filled via fill), so `color` alone drives colour
   AND preserves the shape. Grey default like the eye/cart, brand green when
   saved, white on hover (the :hover rule is more specific, so it wins in both
   states). Targets the icon because YITH colours the icon element directly. */
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon {
	color: #333;
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon {
	color: #186034;
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:hover .yith-wcwl-icon,
.woocommerce-page .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:hover .yith-wcwl-icon {
	color: #fff;
}

/* ── Single product page — wishlist heart in brand green (owner 2026-07-16) ───
   The product-details "Add to wishlist" heart rendered near-black; match the
   site by colouring it the brand Forest green, like the shop card's saved
   heart. YITH's icon is currentColor-driven (outline via stroke, filled when
   added), so `color` alone recolours it in every state. Both languages. */
.single-product .yith-wcwl-add-to-wishlist-button--single .yith-wcwl-icon,
.single-product .yith-wcwl-add-to-wishlist-button--single:hover .yith-wcwl-icon {
	color: var(--secondary, #186034) !important;
}

/* ─── Revolution Slider buttons follow project --radius ─────────────────────
   The hero "Shop Now" button (and any other .sr7-btn layer) has its radius
   stored as 5px in the slider JSON. CSS override here so it picks up the
   project design token instead of a hard-coded px value — bump --radius and
   the slider button follows automatically.
   ─────────────────────────────────────────────────────────────────────────── */
.sr7-btn,
.sr7-btn:hover {
	border-radius: var(--radius) !important;
}

/* ─── Product sliders: card must FIT its slide (owner 2026-07-15) ────────────
   Root cause of two artifacts on the "Featuring Products" carousel: the theme
   gives slider products `width: 100%` (fill the slide) but leaves the product
   GRID's `max-width: 270px` and side margins (`margin: 20px 15px`) applied, so
   the card needs 15+270+15 = 300px in a ~272px slide and overflows it by
   2.5–5px (width-dependent). At the strip's edges that overflow is exactly
   what shows: the last CLONE's tail paints a thin white line at the leading
   clip edge, and the last visible card's tail is guillotined flat by
   overflow:hidden at the trailing edge (cut rounded corner).

   Fix = complete the theme's own slider intent: the card fills the slide's
   content box (the .owl-item's 10px side padding provides the visual gap,
   ~same as before), no grid cap, no side margins → nothing can overflow, at
   any width, LTR and RTL (logical margin). Vertical margins kept from the
   theme shorthand. */
.woocommerce .ftc-slider .products .product,
.woocommerce-page .ftc-slider .products .product {
	width: 100%;
	max-width: none;
	/* !important: the child's own shop-GRID spacing rule ("body .woocommerce
	   .products .product { margin-left/right: 15px !important }") must not
	   reach into sliders — higher specificity here wins the important tie. */
	margin-inline: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Typography — stop Title-Casing running text & form fields
   ───────────────────────────────────────────────────────────────────────────
   The live Customizer CSS sets `text-transform: capitalize !important` on
   `body, button, input, textarea, select`. Applied to <body> it cascades to
   ALL text, so every word gets a capital first letter — turning sentences and
   form labels into "Please Enter Your Username..." / "Username Or Email
   Address". That global rule was almost certainly meant only to capitalise
   section titles (QA UI/UX #10).

   Fix: reset paragraphs, labels and form controls to natural case so sentences
   and fields read normally. Headings / section titles and buttons keep their
   Title-Case styling on purpose (remove them here too if fully natural casing
   is wanted). Auth-form links sit inside <p>, so they are covered already; the
   explicit account-form link selector is a belt-and-braces catch.
   Overrides the Customizer rule (which loads after this file) via higher
   specificity + !important.
   ─────────────────────────────────────────────────────────────────────────── */
html body p,
html body label,
html body input,
html body textarea,
html body select,
html body .woocommerce-account .woocommerce form a,
html body .woocommerce-error,
html body .woocommerce-error li,
html body .woocommerce-message,
html body .woocommerce-info,
html body .wpcf7-response-output,
html body .wpcf7-not-valid-tip {
	/* + WooCommerce's notices (app repo plan 113 #16): "No Shipping Method Has Been
	   Selected…", and Stripe's errors printed as notices, read as sentences
	   + Contact Form 7's reply box and field errors (QA DEF-070, app repo plan 144) */
	text-transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · AUTHENTICATION (items #1–#11)
   Target: WooCommerce my-account login / register / lost-password / reset forms
   (the dedicated /login/ /register/ pages use an inactive plugin and are not
   the live auth UI — verified on prod + staging).
   Tokens (Customizer :root): --primary #f8d92e (yellow) · --secondary #186034
   (green) · --radius 24px. Loaded after the parent + Customizer CSS, so
   !important is used where an existing rule must be overridden.
   #6 (link hover → green) is already handled in the live Customizer CSS; a
   scoped safety-net is added below so every auth link is covered.
   #4 (2FA login redirect) is a Wordfence Login-Security behaviour and is not
   reproducible locally — handled separately, not here.
   ─────────────────────────────────────────────────────────────────────────── */

/* #1 — Centre the label inside auth submit buttons.
   Root cause: the button is display:block with a fixed height that fights its
   vertical padding, leaving the label off-centre. Flex centring is robust. */
.woocommerce-account .woocommerce form.woocommerce-form-login button.woocommerce-form-login__submit,
.woocommerce-account .woocommerce form.woocommerce-form-register button.woocommerce-form-register__submit,
.woocommerce-account .woocommerce form.woocommerce-ResetPassword button.woocommerce-Button {
	display:         flex !important;
	align-items:     center;
	justify-content: center;
	height:          auto !important;
	min-height:      48px;
	line-height:     1.2 !important;
	padding-top:     12px !important;
	padding-bottom:  12px !important;
}

/* #2 — Input height was disproportionately tall (54px) for the small (15px)
   placeholder. Trim the vertical padding so the field is proportional. */
.woocommerce-account .woocommerce form.woocommerce-form-login .woocommerce-Input.input-text,
.woocommerce-account .woocommerce form.woocommerce-form-register .woocommerce-Input.input-text,
.woocommerce-account .woocommerce form.woocommerce-ResetPassword .woocommerce-Input.input-text {
	min-height:     46px;
	padding-top:    11px !important;
	padding-bottom: 11px !important;
	font-size:      15px;
	line-height:    1.4;
}

/* #3 — Browser autofill painted a white/coloured box behind the field and the
   eye icon. Force a clean white fill and a transparent reveal-icon background. */
.woocommerce-account .woocommerce form input:-webkit-autofill,
.woocommerce-account .woocommerce form input:-webkit-autofill:hover,
.woocommerce-account .woocommerce form input:-webkit-autofill:focus {
	-webkit-box-shadow:     0 0 0 1000px #fff inset !important;
	box-shadow:             0 0 0 1000px #fff inset !important;
	-webkit-text-fill-color: #000 !important;
	border-radius:          var(--radius) !important;
}
.woocommerce-account .woocommerce form .show-password-input,
.woocommerce-account .woocommerce form .password-input .show-password-input {
	background: transparent !important;
}

/* #5, #11 — Auth error / validation notices (login errors, "passwords do not
   match") rendered full-width above the form, disconnected from it. Round 2:
   width-constraining alone left the notice WIDER than the card (520 vs the
   460px login card / offset from the 520px reset card), so it still read as
   "outside". Match each notice's width to its own card and centre it with a
   small gap, so the notice sits directly above the card as one stack (Option A
   — visual unification, no template change). Scoped with :has() so the
   logged-in dashboard notices are untouched (degrades gracefully if :has() is
   unsupported). Login / Register card = .u-column (460px). */
.woocommerce-account .woocommerce:has(form.woocommerce-form-login) .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce:has(form.woocommerce-form-register) .woocommerce-notices-wrapper {
	max-width: 460px;
	margin:    0 auto 16px;
}
/* Lost-password / set-new-password card = the form itself (520px). */
.woocommerce-account .woocommerce:has(form.woocommerce-ResetPassword) .woocommerce-notices-wrapper {
	max-width: 520px;
	margin:    0 auto 16px;
}

/* #8 — Reset-link-sent confirmation: WooCommerce prints a styled "email sent"
   notice followed by a BARE <p> (no wrapper) — the long "…wait at least 10
   minutes…" line floated on the page background with no container. On that page
   .woocommerce holds only the message + paragraph (no form, no account nav), so
   card the wrapper itself to match the auth container. */
.woocommerce-account .woocommerce:has(> .woocommerce-message):has(> p):not(:has(form)):not(:has(.woocommerce-MyAccount-navigation)) {
	background-color: #fff;
	border-radius:    var(--radius);
	padding:          28px 32px;
	max-width:        560px;
	margin:           2% auto 0;
	box-shadow:       0 10px 25px rgba(0,0,0,0.08);
	text-align:       center;
}
.woocommerce-account .woocommerce:has(> .woocommerce-message):has(> p):not(:has(form)):not(:has(.woocommerce-MyAccount-navigation)) > p {
	margin-bottom: 0;
}

/* #6 — Safety-net: every auth-page link hovers brand green (not yellow). */
.woocommerce-account .woocommerce .woocommerce-LostPassword a:hover,
.woocommerce-account .woocommerce p.move-button a:hover,
.woocommerce-account .woocommerce form.woocommerce-form-register .woocommerce-privacy-policy-link:hover,
.woocommerce-account .woocommerce form.woocommerce-ResetPassword a:hover {
	color: var(--secondary) !important;
}

/* #7, #9 — The lost-password and set-new-password forms had no container (they
   sit outside the .u-column wrappers that the login/register columns use).
   Give them the same white rounded card. The instruction text and password
   strength meter live inside <form>, so they are contained automatically. */
.woocommerce-account .woocommerce form.woocommerce-ResetPassword {
	background-color: #fff;
	border-radius:    var(--radius);
	padding:          32px 32px 36px;
	max-width:        520px;
	margin-top:       2%;
	/* Round 2 (#7/#9): the card rendered LEFT-aligned because the theme sets
	   `form { display:inline-block }` — auto margins do not centre inline-block.
	   Force block + auto margins to centre the card in the page column. */
	display:          block !important;
	margin-left:      auto !important;
	margin-right:     auto !important;
	box-shadow:       0 10px 25px rgba(0,0,0,0.08);
}

/* #7 — the username/email and new-password fields were ~214px because WooCommerce
   marks them `form-row-first`, which the theme floats at ~47% width. Make the
   reset/lost-password rows full-width so the inputs fill the card. */
.woocommerce-account .woocommerce form.woocommerce-ResetPassword .form-row {
	width:      100% !important;
	float:      none !important;
	margin-right: 0 !important;
}
.woocommerce-account .woocommerce form.woocommerce-ResetPassword .woocommerce-Input.input-text {
	width: 100% !important;
}

/* #9 — unify the "Reset Password" / "Save" button with the site's other auth
   buttons: a full-width pill like the Login / Register submit (it shipped as a
   narrow ~139px auto-width button). #1 already flex-centres the label. */
.woocommerce-account .woocommerce form.woocommerce-ResetPassword button.woocommerce-Button {
	width: 100%;
}

/* #10 — Style the password-strength meter + hint to match the UI (it shipped as
   unstyled default markup on the register / set-password forms). */
.woocommerce-account .woocommerce form .woocommerce-password-strength {
	border-radius: var(--radius);
	padding:       6px 14px;
	margin-top:    8px;
	font-size:     13px;
	font-weight:   600;
	text-align:    center;
}
.woocommerce-account .woocommerce form .woocommerce-password-strength.short,
.woocommerce-account .woocommerce form .woocommerce-password-strength.bad {
	background: #fbeaea; color: #b3261e; border: 1px solid #e9b3ae;
}
.woocommerce-account .woocommerce form .woocommerce-password-strength.good {
	background: #fff6e0; color: #8a6d00; border: 1px solid #e8d28a;
}
.woocommerce-account .woocommerce form .woocommerce-password-strength.strong {
	background: #e9f6e0; color: #2f6b00; border: 1px solid #b6dd96;
}
.woocommerce-account .woocommerce form .woocommerce-password-hint {
	display:    block;
	margin-top: 6px;
	font-size:  12px;
	color:      #666;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · MY ACCOUNT (items #13–#19)
   ───────────────────────────────────────────────────────────────────────────
   #12 (auto-login with a temporary password) is a registration/reset flow +
   WooCommerce config item, not CSS — see CHANGES.md / docs/13-qa-open-points.
   #16 (account-details password strength) is already covered by the
   .woocommerce-password-strength rules in the Authentication block above (the
   Edit-Account form matches the same selector).
   #20 (Downloads tab) left in place — the store has downloadable product(s),
   so the tab is valid; the empty state is standard WooCommerce.
   ─────────────────────────────────────────────────────────────────────────── */

/* #19 — The account sidebar tabs were sharp rectangles; round to the token. */
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	border-radius: var(--radius) !important;
}

/* #17 (round 2) — Addresses tab: the saved address showed unlabelled lines
   ("Dubai / Dubai / 00000"). The my-address.php override now prints one labelled
   row per field; style the label/value pairs as a tidy stacked list. */
.lm-labelled-address {
	font-style: normal;
	line-height: 1.7;
}
.lm-labelled-address .lm-address-row {
	display: block;
}
.lm-labelled-address .lm-address-label {
	font-weight: 600;
	color: var(--secondary);
	margin-right: 6px;
}
.lm-labelled-address .lm-address-value {
	color: inherit;
}

/* ── My Account: consistent buttons + card radii (owner 2026-07-06) ───────────
   Every actionable button in the account pages follows the site's primary
   pill: green fill, radius token, centered label, comfortable height (the
   stock "Add payment method" / "Save" buttons were 38px with cramped 10/15
   padding). Excludes the outlined Edit-address button (a deliberate variant),
   the password-visibility eye toggle, Stripe's test-mode copy helper, the
   address book's text actions (Make default / Delete, plan 106), and every
   button inside the address map: Google's own controls (its display: inline-flex
   forced the ones Google hides into view) and our zoom circles (app repo plan
   113 #12). */
.woocommerce-account .woocommerce-MyAccount-content button:not(.lm-edit-address):not(.show-password-input):not(.wc-stripe-copy-test-number):not(.lm-address-card__action):not(.lm-map-picker__map button),
.woocommerce-account .woocommerce-MyAccount-content input.button,
.woocommerce-account .woocommerce-MyAccount-content a.button:not(.lm-edit-address):not(.wc-stripe-copy-test-number),
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: var(--radius, 24px) !important;
	background: var(--secondary, #186034) !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2 !important;
	white-space: nowrap;
	box-sizing: border-box;
	width: auto;
}
.woocommerce-account .woocommerce-MyAccount-content button:not(.lm-edit-address):not(.show-password-input):not(.wc-stripe-copy-test-number):not(.lm-address-card__action):not(.lm-map-picker__map button):hover,
.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:not(.lm-edit-address):not(.wc-stripe-copy-test-number):hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover {
	background: var(--primary, #f8d92e) !important;
	color: var(--secondary, #186034) !important;
}
/* Add-payment-method card: the Stripe wrapper + inner box wore 5px / 2px
   corners — bring them to the site card radius. */
.woocommerce-account .woocommerce-Payment,
.woocommerce-account .woocommerce-PaymentBox {
	border-radius: 16px !important;
}

/* ── Addresses tab layout (QA sheet 2026-07-06) ──────────────────────────────
   Billing + Shipping cards side by side on desktop (were stacked); each an
   #e5e5e5 card. The header is a flex row: title at the start, a proper Edit
   BUTTON at the end on the same line (was a plain hyperlink). Stacks on
   mobile. The clearfix ::before/::after on .col2-set become flex items and
   the gap reserves space around them — killed (same trap as the customer
   address cards). */
.woocommerce-account .woocommerce-Addresses.col2-set {
	display: flex;
	gap: 26px;
	width: 100%;
	margin: 20px 0 0;
}
.woocommerce-account .woocommerce-Addresses.col2-set::before,
.woocommerce-account .woocommerce-Addresses.col2-set::after {
	display: none !important;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
	flex: 0 0 calc((100% - 26px) / 2) !important;
	width: calc((100% - 26px) / 2) !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	padding: 24px 28px;
	box-sizing: border-box;
}
.woocommerce-account .woocommerce-Address-title.title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.woocommerce-account .woocommerce-Address-title.title h2 {
	margin: 0;
	font-size: 20px;   /* fits on one line beside the Edit button in the card */
	white-space: nowrap;   /* flex was shrinking it into a 2-line wrap */
	flex: 0 1 auto;
}
/* Edit control → outlined brand-green button (was a bare hyperlink). Reset
   the account-content link styling (green + underline) that would apply. */
.woocommerce-account .woocommerce-Address-title .lm-edit-address,
.woocommerce-account .woocommerce-MyAccount-content a.lm-edit-address {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 8px 18px !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--secondary) !important;
	background: transparent !important;
	border: 1px solid var(--secondary) !important;
	border-radius: var(--radius, 24px) !important;
	text-decoration: none !important;
}
.woocommerce-account .woocommerce-Address-title .lm-edit-address:hover,
.woocommerce-account .woocommerce-MyAccount-content a.lm-edit-address:hover {
	color: #fff !important;
	background: var(--secondary) !important;
	text-decoration: none !important;
}
@media (max-width: 768px) {
	.woocommerce-account .woocommerce-Addresses.col2-set {
		flex-direction: column;
		gap: 22px;
	}
	.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
		flex: 1 1 auto !important;
		width: 100% !important;
		padding: 20px !important;
	}
	.woocommerce-account .woocommerce-Address-title.title h2 {
		font-size: 18px;   /* keep the title on one line beside Edit on phones */
	}
}

/* #13, #15 — Account links hover brand green instead of yellow.
   (a) Sidebar nav tabs (inactive ones). The ACTIVE tab is white with green
   text + green border since blob patch #10 (owner 2026-07-06, decisions log
   #19 — it used to fill yellow); those rules live in the blob. */
.woocommerce-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
	color: var(--secondary) !important;
}
/* (b) Dashboard welcome-text links — "Log out", "recent orders", "shipping and
   billing addresses", "edit your password and account details". They didn't read
   as links and hovered yellow. Make them look like links (brand green +
   underline) and keep the hover green (underline drops on hover as the cue).
   :not(.button) leaves the green "Edit" address buttons alone. */
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button) {
	color:           var(--secondary) !important;
	text-decoration: underline !important;
}

/* ── My Account · Orders table (QA sheet 2026-07-06 #2) ───────────────────────
   The first column renders as <th scope="row">, so it wore HEADER styling:
   10/15 padding (vs the 4/8 of the td cells — its rows sat off the column
   grid, and the column read a different width) plus a per-row bottom border
   that showed as a stray separator line. Normalize it to the td look.
   Card-standard radius/border on the table. The .amount box carried a 1.0
   line-height inside a taller text line, so "31,00" and "for n items" split
   baselines (desktop table AND the stacked mobile cards) — inherit the
   line-height instead. */
.woocommerce-account table.woocommerce-orders-table {
	border: 1px solid #e5e5e5 !important;
	border-radius: 24px !important;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell {
	padding: 4px 8px !important;
	border: 0 !important;
	background: transparent !important;
	text-align: center !important;   /* the rows computed center/left MIXED —
	                                    one per row — off the column grid */
}
.woocommerce-account table.woocommerce-orders-table .amount {
	line-height: inherit !important;
}
/* Mobile: WooCommerce stacks this table into label:value rows. With the
   rounded card border above, the 8px cell padding crammed the content against
   the border (owner 2026-07-06) — give the stacked cells real side padding,
   and the first/last cell of each order extra top/bottom so nothing hugs the
   rounded corners. */
@media (max-width: 768px) {
	.woocommerce-account table.woocommerce-orders-table tbody td,
	.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell {
		padding-inline: 20px !important;
	}
	.woocommerce-account table.woocommerce-orders-table tbody tr {
		padding: 8px 0 !important;   /* air inside each order block */
		display: block;
	}
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.woocommerce-Button):hover {
	color:           var(--secondary) !important;
	text-decoration: none !important;
}

/* #14 — The logout-confirmation "Logout" button text rendered at weight 400
   while "Cancel" was bold. Make both bold and consistent. */
#confirmLogout,
#cancelLogout {
	font-weight: 600 !important;
}

/* #18 — select2 dropdown panels had sharp corners while their field is rounded.
   Round the panel to match the field (site-wide: country/region, sort-by, …).
   overflow:hidden clips the search box / options to the rounded corners. */
.select2-dropdown,
.select2-container--open .select2-dropdown {
	border-radius: var(--radius) !important;
	overflow:      hidden;
}
/* #18 (cont.) — round the search input inside the dropdown too, so it matches. */
.select2-search--dropdown .select2-search__field {
	border-radius: var(--radius) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · SHOPPING CART (items #24–#28)
   ───────────────────────────────────────────────────────────────────────────
   #21 (coupon error) already renders as a styled system notification (gray bar,
   red accent) consistent with the site's other notices — no change needed.
   #22 (td.actions coupon row) and #23 (shipping-row pill radii) were retired by
   the 2026-07-06 cart redesign further down: td.actions is hidden (the coupon
   moved into the totals card) and the totals rows are flat, not pills.
   Brand interactive colour is --secondary (green); the blue (#416195) was the
   theme's heading/price colour leaking onto asterisks/links here.
   ─────────────────────────────────────────────────────────────────────────── */

/* #24, #25, #27 — "Calculate Shipping", the shipping-calculator links and the
   "Enter a different address" link were gray/yellow/blue; make them brand green
   (normal + hover) since they're interactive. */
.woocommerce .shipping-calculator-button,
.woocommerce .shipping-calculator-button:hover,
.woocommerce a.shipping-calculator-button,
.woocommerce .woocommerce-shipping-calculator a,
.woocommerce .shipping-calculator-form a,
.woocommerce .cart_totals tr.shipping a,
.woocommerce .cart_totals tr.shipping a:hover {
	color: var(--secondary) !important;
}

/* #26 — Required asterisks rendered blue (#416195); brand wants green. Applies
   to the shipping calculator and all WooCommerce form rows (consistent site-wide). */
.woocommerce form .form-row .required,
.woocommerce .shipping-calculator-form .required,
.woocommerce abbr.required {
	color:           var(--secondary) !important;
	border:          none !important;
	text-decoration: none !important;
}

/* #28 — The cart Country/region <select> was near-sharp (4px) and shorter (37px)
   than the pill text inputs. Round it and match their height. */
.woocommerce .shipping-calculator-form select {
	border-radius: var(--radius) !important;
	height:        46px !important;
	padding:       0 14px !important;
}

/* Cart Totals span the full card width. The cart now always renders the theme's
   carded layout because functions.php forces the `woocommerce-cart` body class
   (the WPBakery cart page (id 609) wasn't getting it on first load, so the cart
   rendered un-carded until a cart action — see CHANGES.md). Inside that card the
   theme lays the totals table on the left with the Proceed/Continue buttons on
   the right; this just guarantees `.cart_totals` fills the card width as a
   belt-and-braces in case the body class is ever missing. */
.woocommerce .cart-collaterals .cart_totals {
	width: 100% !important;
	float: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · MINI CART (off-canvas drawer) — items #29–#30
   ─────────────────────────────────────────────────────────────────────────── */

/* #29 — In the drawer header the close (×) sat lower than the "Shopping Cart"
   title: the `.close-cart` anchor rendered at height 0, so the flex header
   couldn't centre it against the title. Give it a real, centred box. */
.ftc-off-canvas-cart .off-canvas-cart-title {
	display:     flex !important;
	align-items: center !important;
}
.ftc-off-canvas-cart .off-canvas-cart-title a.close-cart {
	display:         inline-flex !important;
	align-items:     center;
	justify-content: center;
	height:          30px;
	line-height:     1;
	margin:          0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · CHECKOUT (items #31–#40)
   ───────────────────────────────────────────────────────────────────────────
   The checkout now renders the theme's carded layout (functions.php forces the
   `woocommerce-checkout` body class), which already resolves #31 (coupon notice
   hover is grey, not yellow), #36 (order-notes container), #39 (Your Order
   header alignment) and #40 (product-row alignment). The remaining tweaks:
   ─────────────────────────────────────────────────────────────────────────── */

/* #37 — The "Ship to a different address" fields had no container: the theme
   cards .woocommerce-billing-fields + .woocommerce-additional-fields but omits
   the shipping fields. Give them the same white card. */
.woocommerce-checkout .woocommerce-shipping-fields {
	border:        solid 1px #e5e5e5;
	border-radius: var(--radius);
	padding:       3%;
	margin-top:    2%;
}

/* #31 (cont.) — "Click here to enter your code" coupon toggle: brand-link style
   = green + bold, with NO background on hover. The Customizer made it grey by
   default and added a yellow background + padding on :hover; this makes it green
   from the start and keeps the hover clean (no fill). */
.woocommerce-checkout .showcoupon,
.woocommerce-form-coupon-toggle .showcoupon {
	color:       var(--secondary) !important;
	font-weight: 700 !important;
}
.woocommerce-checkout .showcoupon:hover,
.woocommerce-checkout .showcoupon:focus,
.woocommerce-form-coupon-toggle .showcoupon:hover {
	color:            var(--secondary) !important;
	background:       none !important;
	background-color: transparent !important;
	padding:          0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA fixes — June Review · SHOP (items #41, #44, #45)
   (#43 — the struck/original sale price already shows the AED symbol via the
   currency filter; #42 — Reset All Filters placement handled separately.)
   ─────────────────────────────────────────────────────────────────────────── */

/* Per-unit price suffix ("/ kg", "/ piece") — small, muted, normal weight so the
   price stays the emphasis. Rendered by laymoun_price_html_unit_suffix. */
.laymoun-unit-suffix {
	font-size:   0.8em;
	font-weight: 400;
	color:       #777;
	white-space: nowrap;
	text-transform: lowercase; /* an ancestor capitalizes ("/ Kg") — units read "kg" */
}

/* #41 — The price-range filter slider track was yellow; brand interactive green. */
.woocommerce .price_slider .ui-slider-range,
.woocommerce .ui-slider .ui-slider-range,
.price_slider .ui-slider-range {
	background-color: var(--secondary) !important;
}

/* #41 (round 2) — The tester reported "hover Still in yellow". Cause: the
   Customizer paints a generic sidebar-link hover yellow (.ftc-sidebar a:hover →
   rgb(248,217,46)); the round-1 fix only recoloured the slider track. The
   selected/chosen filter states were already greened (below). Override every
   sidebar FILTER link's hover (and its ::before check/box marker) to brand
   green so no yellow remains on hover. */
body .ftc-sidebar a:hover,
body #left-sidebar a:hover,
body .ftc-sidebar .yith-woocommerce-ajax-product-filter li a:hover,
body .ftc-sidebar .yith-woocommerce-ajax-product-filter li a:hover:before,
body .ftc-sidebar .widget_layered_nav li a:hover,
body .ftc-sidebar .product-categories li a:hover {
	color: var(--secondary) !important;
}

/* #44 — "Sort By" dropdown items highlighted yellow on hover / for the active
   option; use brand green instead. */
ul.orderby ul.dropdown li a:hover,
ul.orderby ul.dropdown li a:focus,
ul.orderby ul.dropdown li.active a,
ul.orderby ul.dropdown li a.active,
ul.orderby ul.dropdown li.current a,
ul.orderby ul.dropdown li a.selected,
ul.orderby ul.dropdown li a.current {
	color: var(--secondary) !important;
}

/* #45 — "Sort By" dropdown panel had sharp corners; round to match the field. */
ul.orderby ul.dropdown {
	border-radius: var(--radius) !important;
	overflow:      hidden;
}

/* Selected (chosen) sidebar filter — the active Size/Brand item, both its label
   and its ::before check/box marker — rendered yellow; brand interactive colour
   is green. Mirrors #41/#44 (filter highlights → green). Covers .chosen and
   .current on the YITH layered-nav list items. */
.woocommerce .yith-woocommerce-ajax-product-filter ul li.chosen > a,
.woocommerce .yith-woocommerce-ajax-product-filter ul li.chosen > a:before,
.woocommerce .yith-woocommerce-ajax-product-filter ul li.current > a,
.woocommerce .yith-woocommerce-ajax-product-filter ul li.current > a:before,
.woocommerce .yith-woocommerce-ajax-product-filter ul.yith-wcan-list li.chosen a,
.woocommerce .yith-woocommerce-ajax-product-filter ul.yith-wcan-list li.chosen a:before,
.yith-woocommerce-ajax-product-filter ul li.chosen a,
.yith-woocommerce-ajax-product-filter ul li.chosen a:before,
.yith-woocommerce-ajax-product-filter ul li.current a,
.yith-woocommerce-ajax-product-filter ul li.current a:before {
	color: var(--secondary) !important;
}

/* Selected category in the sidebar "Category" widget was yellow; brand
   interactive colour is green (same as the filters above). The widget marks the
   active term with li.current (WooCommerce default uses li.current-cat — cover
   both). */
.ftc-product-categories-widget ul.product-categories li.current > a,
.ftc-product-categories-widget ul.product-categories li.current-cat > a,
.widget-container.ftc-product-categories-widget ul.product-categories li.current > a,
.widget-container.ftc-product-categories-widget ul.product-categories li.current-cat > a {
	color: var(--secondary) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   QA June Review #48 — "Additional information" attributes table layout
   The theme rendered each row as TWO half-rounded cells (th rounded on the
   left `24px 0 0 24px`, td rounded on the right) with separate, doubled-up 1px
   borders (border-collapse: separate) — so every row read as two crowded,
   misaligned "nested boxes". Make it one clean rounded card: cells touch (no
   spacing), a single consistent grid border, rounded OUTER corners only (clipped
   via overflow), and even padding. Data is unchanged (it's the product's
   attributes, dashboard-managed under Product data → Attributes).
   ─────────────────────────────────────────────────────────────────────────── */
.woocommerce table.shop_attributes,
.woocommerce-page table.shop_attributes {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: var(--radius) !important;
	overflow: hidden !important;      /* clip the cell corners to the rounded card */
	width: 100% !important;
	margin-bottom: 0;
}

/* Reset the per-cell half-pill radius + doubled borders; even padding. */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce-page table.shop_attributes th,
.woocommerce-page table.shop_attributes td {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 16px 22px !important;
	vertical-align: middle !important;
	line-height: 1.6;
}

/* One consistent inner grid: a row divider above every row after the first,
   and a single divider between the label and value columns. */
.woocommerce table.shop_attributes tr:not(:first-child) th,
.woocommerce table.shop_attributes tr:not(:first-child) td,
.woocommerce-page table.shop_attributes tr:not(:first-child) th,
.woocommerce-page table.shop_attributes tr:not(:first-child) td {
	border-top: 1px solid #ededed !important;
}
.woocommerce table.shop_attributes td,
.woocommerce-page table.shop_attributes td {
	border-left: 1px solid #ededed !important;
}

/* Label column: comfortable fixed width, a touch heavier for hierarchy. */
.woocommerce table.shop_attributes th,
.woocommerce-page table.shop_attributes th {
	width: 30%;
	min-width: 130px;
	font-weight: 600 !important;
	text-align: left;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Product variation swatches (rtwpvs "button" type) — match brand identity
   The plugin rendered tiny boxy pills (border-radius 2px, ~26px tall, cramped
   padding) and crossed out unavailable options with a harsh RED "X" (two red
   ::before/::after diagonal lines). Restyle as brand pills: rounded
   (var(--radius)), bordered, comfortable size, brand green when selected, and a
   clean muted / struck style for out-of-stock options (no red X).
   ─────────────────────────────────────────────────────────────────────────── */
.rtwpvs-terms-wrapper.button-variable-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Swatches read as lightweight selectable CHIPS — deliberately smaller and
   lighter than the CTA buttons (Add to Cart / Buy Now) so the three element
   types don't all look like the same green pill. */
.rtwpvs-term.rtwpvs-button-term {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 36px;
	height: auto !important;
	margin: 0 !important;
	padding: 5px 16px !important;
	border: 1px solid #dcdcdc !important;
	border-radius: var(--radius) !important;
	background: #fff !important;
	color: #555 !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.rtwpvs-term.rtwpvs-button-term .rtwpvs-term-span-button {
	color: inherit !important;
	font-weight: inherit;
}

/* Hover (available terms only) — brand green outline. */
.rtwpvs-term.rtwpvs-button-term:not(.disabled):not(.rtwpvs-disabled):hover {
	border-color: var(--secondary) !important;
	color: var(--secondary) !important;
}

/* Selected — a TINTED chip (green outline + pale green fill + green text), NOT a
   solid fill, so it reads as a chosen option rather than a primary button. */
.rtwpvs-term.rtwpvs-button-term.selected,
.rtwpvs-term.rtwpvs-button-term.rtwpvs-selected {
	border: 2px solid var(--secondary) !important;
	background: rgba(95, 164, 5, 0.12) !important;
	color: var(--secondary) !important;
	font-weight: 600;
	box-shadow: none !important;
	outline: none !important;
}

/* Out-of-stock / unavailable — clean muted pill, struck label, NO red X. */
.rtwpvs-term.rtwpvs-button-term.disabled,
.rtwpvs-term.rtwpvs-button-term.rtwpvs-disabled {
	opacity: 0.55 !important;
	filter: none !important;
	border-color: #ececec !important;
	color: #9a9a9a !important;
	background: #fafafa !important;
	cursor: not-allowed;
}
.rtwpvs-term.rtwpvs-button-term.disabled .rtwpvs-term-span-button,
.rtwpvs-term.rtwpvs-button-term.rtwpvs-disabled .rtwpvs-term-span-button {
	text-decoration: line-through;
}
/* Remove the red cross-out (the two red diagonal ::before/::after lines). */
.rtwpvs-attribute-behavior-blur .rtwpvs-term.rtwpvs-button-term.disabled::before,
.rtwpvs-attribute-behavior-blur .rtwpvs-term.rtwpvs-button-term.disabled::after,
.rtwpvs-term.rtwpvs-button-term.disabled::before,
.rtwpvs-term.rtwpvs-button-term.disabled::after,
.rtwpvs-term.rtwpvs-button-term.rtwpvs-disabled::before,
.rtwpvs-term.rtwpvs-button-term.rtwpvs-disabled::after {
	display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   "Buy Now" button on the single product page (organico_child_buy_now_button)
   Sits beside the green "Add To Cart" button. Styled as an outlined brand-green
   pill (ghost) so the two CTAs read as a pair without competing; fills green on
   hover. Matches the Add to Cart button's pill radius + height.
   ─────────────────────────────────────────────────────────────────────────── */
/* One stacked buy box — the Quick View popup pattern, at every width (owner
   request 2026-07-06): quantity on its own row at the leading edge, then Add
   to Cart and Buy Now FULL-WIDTH, each on its own row, spanning the summary
   column — the same width the short description wraps at (owner call).
   Column flow is what block children do anyway, so variable products
   (variations table above the buttons) are unaffected structurally; grouped
   products keep the theme's table layout. */
.single-product.woocommerce div.product form.cart:not(.grouped_form) {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	row-gap: 16px;
	float: none !important;
	width: 100%;
}
.single-product.woocommerce div.product form.cart:not(.grouped_form) .quantity {
	align-self: flex-start;   /* compact stepper at the leading edge (RTL-aware), like the popup */
	float: none !important;
	margin: 0 !important;     /* vertical air comes from the form's row-gap */
}
.single-product.woocommerce div.product form.cart .button.single_add_to_cart_button,
.single-product.woocommerce div.product form.cart .button.laymoun-buy-now,
.single-product.woocommerce div.product form.cart .laymoun-buy-now {
	display: flex !important;
	float: none !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 24px !important;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	/* icon ↔ label air: the glyph is a ::before, so it and the text are the two
	   flex items — direction-agnostic, replaces the old physical-margin fix
	   (rtl.css M-032, now retired) */
	column-gap: 8px;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
}
.single-product.woocommerce div.product form.cart .laymoun-buy-now:before,
.single-product.woocommerce div.product form.cart .laymoun-buy-now i,
.single-product.woocommerce div.product form.cart .laymoun-buy-now svg {
	margin: 0 !important;   /* the column-gap above is the one source of the gap */
}

.woocommerce div.product form.cart .button.laymoun-buy-now,
.woocommerce div.product form.cart .laymoun-buy-now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* side spacing comes from the form's flex gap above (works in RTL + when wrapping) */
	margin-left: 0;
	padding: 0 32px;
	min-height: 50px;   /* match Add to Cart's rendered height (was 48 — mis-sized pair) */
	border: 2px solid var(--secondary) !important;
	border-radius: var(--radius) !important;
	background: transparent !important;
	color: var(--secondary) !important;
	font-weight: 600;
	line-height: 1.2;
	transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.woocommerce div.product form.cart .button.laymoun-buy-now:hover,
.woocommerce div.product form.cart .laymoun-buy-now:hover {
	background: var(--secondary) !important;
	color: #fff !important;
}
/* Disabled (variable product, no variation selected yet) — match Add to Cart. */
.woocommerce div.product form.cart .laymoun-buy-now:disabled,
.woocommerce div.product form.cart .laymoun-buy-now.disabled,
.woocommerce div.product form.cart .laymoun-buy-now.wc-variation-selection-needed {
	opacity: 0.5;
	cursor: not-allowed;
	background: transparent !important;
	color: var(--secondary) !important;
}

/* ── Product image badges — "Sale" chip legibility (user request) ────────────
   The theme paints the Sale badge TEXT the brand green (inline dynamic-style
   `.woocommerce .product .conditions-box span.onsale { color:#5fa405 }`), and on
   single-product / slider cards (related products, featured sliders) the badge
   BACKGROUND is that same green too — so the label rendered green-on-green and
   vanished, in BOTH languages. (It only ever showed where the badge happened to
   be yellow, e.g. the shop grid; the Arabic "تخفيض" translation itself is fine —
   it comes from ar-html-overrides.php and shows once the text is visible.) Pin the
   Sale AND New (Featured) badges to the same solid brand-green chip with white
   text so the label always reads everywhere and in both languages, and so the two
   are visually identical when a product carries both. Shared file — EN and AR.
   (Layout for when both show at once — stacking + tails — is the card block near
   the end of this file.) */
.woocommerce .product .conditions-box .onsale,
.woocommerce .product .conditions-box .featured,
.woocommerce .product .conditions-box .lm-bestseller {
	background-color: var(--secondary) !important;  /* brand green #186034 */
	color: #fff !important;
	padding: 3px 14px !important;   /* the theme's 1px cramped "عرض خاص" / "Sale" against the chip edges */
	border-radius: 999px !important; /* pill corners — one badge family with the Sold Out chip / buttons (owner 2026-08-15) */
}

/* ── Contact page — align the right column's intro with the form's first field ─
   Two-column contact row: left = heading + WPCF7 form, right = intro text (its
   old "Find our office" heading was removed, leaving an invisible spacer in the
   page so the slot stays empty). The intro's first line landed at the form
   CONTAINER's top, but WPCF7 gives its first field label (الاسم / Name) ~25px of
   its own top spacing, so the intro read a touch high on both EN and AR. Nudge
   the intro down on desktop so its first line meets that Name label. Both pages
   share the right column's class (vc_custom_1773623100795). Columns stack below
   768px — no nudge wanted there. */
@media (min-width: 768px) {
	.vc_custom_1773623100795 > .wpb_wrapper > .wpb_text_column:first-child {
		margin-top: 25px;
	}
}

/* Multi-line fields with the site's 24px corners (the Customizer CSS rounds
   textarea.input-text, the contact form's and the review box's): on a tall box
   the curve cuts into the corner, so the browser's resize grip sat outside the
   border and the first line started inside the curve (app repo plan 113 #11,
   checkout "Order notes"). No grip (it does not work on phones either), and
   14px / 20px inside so the text clears the curve. Symmetric, so the Arabic
   forms match (the theme once gave the contact textarea only 3px on the right,
   for the LTR grip, and "اكتب رسالتك" sat against the edge). */
textarea.input-text,
.wpcf7 textarea.wpcf7-textarea,
textarea#comment {
	resize: none;
	padding: 14px 20px !important;
}
/* without the grip, room for a few lines of delivery notes */
textarea#order_comments {
	min-height: 120px;
}

/* ── Home "Taste the difference" — match the section above it on mobile ───────
   The parent theme centres this section on phones (responsive.css:
   `@media (max-width:767px){ .video-text-h10 p, .video-text-h10 h3 … {text-align:center} }`),
   leaving it inconsistent with the "Our story" section directly above it (heading
   at the start, body justified). Match that: heading start-aligned, paragraph
   justified. `justify` and `start` are direction-aware, so it holds for LTR and
   RTL. Shared file — both languages (user request). */
@media (max-width: 767px) {
	.video-text-h10 h3 { text-align: start !important; }
	.video-text-h10 p  { text-align: justify !important; }
}

/* ── Product page — mobile stepper ergonomics (user request 2026-07-03) ──────
   The stacked buy box is now the base layout at every width (block above);
   phones keep the bigger tap targets the theme's tiny stepper lacked, and
   centre the stepper on its own row (owner call 2026-07-06 — desktop keeps
   it at the leading edge like the popup). */
@media (max-width: 767px) {
	.single-product.woocommerce div.product form.cart:not(.grouped_form) .quantity {
		align-self: center;
	}
	.single-product.woocommerce div.product form.cart .quantity {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		width: auto !important;
		height: auto !important;
	}
	.single-product.woocommerce .product .cart .quantity .svg-minus,
	.single-product.woocommerce .product .cart .quantity .svg-plus {
		width: 42px !important;
		height: 42px !important;
		line-height: 42px !important;
	}
	.single-product.woocommerce .product .cart .quantity input.qty {
		width: 52px !important;
		height: 42px !important;
		text-align: center;
	}
}

/* ── Quick View popup — buy box (QA June Review · Product Modal) ──────────────
   The popup is injected into a lightbox OUTSIDE .woocommerce, so the
   single-product Buy Now rules above (scoped to `.woocommerce div.product`)
   never reached it — the button rendered as a plain unstyled button, mis-sized
   and out of line with Add to Cart, and (being AJAX-loaded) was inert. JS is now
   delegated (buy-now.js).

   The popup column is too narrow for quantity + the two CTAs side by side, so
   they STACK: quantity on its own row, then Add to Cart and Buy Now full-width
   below it (Buy Now then matches Add to Cart's size and aligns directly with it).

   We must force that stack on the form itself. When the popup opens inside the
   prettyPhoto lightbox (e.g. from the home Featured Products slider) the parent
   theme's `.pp_woocommerce .product .cart { display:flex }` turns this form into
   a flex ROW; the full-width buttons then just shrink to share the row and end up
   touching side by side (the shop popup opened without that wrapper, so it stacked
   fine — hence the two looked different). flex-direction:column + row-gap makes the
   layout self-contained and identical from every product card; !important beats
   the parent's `.pp_woocommerce .product .cart` (higher specificity). */
.ftc-quickshop-wrapper form.cart {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
	row-gap: 16px;   /* even gap: quantity ↔ Add to Cart ↔ Buy Now */
}
.ftc-quickshop-wrapper form.cart .quantity {
	align-self: flex-start;   /* stepper stays compact at the leading edge (RTL-aware), not full-width */
	float: none !important;
	margin: 0 !important;     /* gap under it is handled by the form's row-gap */
}
.ftc-quickshop-wrapper form.cart .single_add_to_cart_button,
.ftc-quickshop-wrapper form.cart .button.laymoun-buy-now,
.ftc-quickshop-wrapper form.cart .laymoun-buy-now {
	display: flex !important;
	float: none !important;
	clear: both;
	box-sizing: border-box;
	/* !important so these win over the more-specific single-product rule
	   (`.woocommerce div.product form.cart .button.laymoun-buy-now`) which ALSO
	   matches the popup — its `margin-left:12px` (for the side-by-side single-page
	   layout) was pushing Buy Now 12px past Add to Cart's right edge here. */
	width: 100% !important;
	margin: 0 !important;   /* vertical gap is handled by the form's row-gap (above) */
	padding: 0 24px !important;
	/* 50px matches Add to Cart's rendered height (its theme rule wins padding),
	   so the two CTAs are the same size instead of 50 vs 48. !important because a
	   parent-theme popup rule pins buttons to min-height:48px. */
	min-height: 50px !important;
	align-items: center;
	justify-content: center;
	/* Space the button's icon glyph off its label. These buttons render their icon
	   as a ::before (icon font), so the icon + text are the two flex items — a
	   column-gap sits between them. Direction-agnostic (works in LTR and RTL), and
	   harmless on Add to Cart, which has no icon in the popup. Matches the 8px used
	   for the single-page Buy Now icon (M-032, rtl.css) — the popup was out of that
	   rule's `.woocommerce div.product` scope, so its icon sat flush against text. */
	column-gap: 8px;
	border-radius: var(--radius) !important;
	font-weight: 600;
	line-height: 1.2;
}
.ftc-quickshop-wrapper form.cart .button.laymoun-buy-now,
.ftc-quickshop-wrapper form.cart .laymoun-buy-now {
	border: 2px solid var(--secondary) !important;
	background: transparent !important;
	color: var(--secondary) !important;
	transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.ftc-quickshop-wrapper form.cart .laymoun-buy-now:hover {
	background: var(--secondary) !important;
	color: #fff !important;
}
.ftc-quickshop-wrapper form.cart .laymoun-buy-now:disabled,
.ftc-quickshop-wrapper form.cart .laymoun-buy-now.disabled,
.ftc-quickshop-wrapper form.cart .laymoun-buy-now.wc-variation-selection-needed {
	opacity: 0.5;
	cursor: not-allowed;
	background: transparent !important;
	color: var(--secondary) !important;
}

/* #33 (round 2) — Invalid-coupon error on Checkout/Cart. WooCommerce renders it
   as an INLINE `<span class="coupon-error-notice">` (bare red text under the
   field), not the site's standard notice, so it looked unstyled/inconsistent.
   Give it the standard notification look — grey bar, red top accent, rounded —
   matching .woocommerce-error. (The field also gets WC's `.has-error` red
   outline, which we keep.) */
.coupon-error-notice {
	display:       block;
	margin-top:    10px;
	padding:       10px 16px;
	background:    #f6f5f8;
	border-top:    3px solid #b3261e;
	border-radius: var(--radius);
	color:         #a4120a;
	font-size:     14px;
	line-height:   1.45;
}

/* ─────────────────────────────────────────────────────────────────────────
   Home "Our Testimonials" carousel — standardise to brand green (QA #49, #50)
   The base theme styles this carousel green (.info border #82b440, the tail
   segments #6dab3c, the active dot green), but the Customizer primary colour
   (#f8d92e, yellow) overrides the bubble outline/tail and the active dot to
   yellow — off-brand and inconsistent with the Product Details review
   carousel, whose dots already use the brand green (--secondary #186034).
   Override back to var(--secondary). Child CSS loads before the Customizer
   inline CSS, so these need !important to win.
   ───────────────────────────────────────────────────────────────────────── */

/* #49 — active / hovered pagination dot yellow → green. Applied to every owl
   carousel so all on-site pagination matches (testimonials, Featuring
   Products, …); Product Details related-products dots are already this green.
   Inactive dots keep their dark colour; the banner uses revslider (.tp-bullets),
   which is unaffected. */
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot span:hover {
	background-color: var(--secondary) !important;
}

/* #50 — testimonial bubble container: the rounded outline (.info border) and
   the split bottom/tail segments (::before / ::after) yellow → green, so the
   review container matches the brand (and the base-theme intent). */
.ftc-sb-testimonial .active .testimonial-content .info {
	border-color: var(--secondary) !important;
}
.ftc-sb-testimonial .testimonial-content.has-image:before,
.ftc-sb-testimonial .testimonial-content.has-image:after {
	background: var(--secondary) !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   Quantity stepper — one consistent circular control everywhere (QA #53)
   Product details, the Cart table and the mini-cart all use the theme's
   .quantity wrapper with .svg-minus / .svg-plus (the +/- are small grey bars
   drawn as ::before / ::after on those spans, over an invisible <input
   type="button"> click target) plus input.qty. The pieces differed by page
   (≈48px tall on the product page, ≈30px in the cart) and the +/- weren't
   circular. Unify them: round +/- buttons of one size, a matching rounded
   number field, brand-green glyphs. Brand tokens only — no new colours.
   ───────────────────────────────────────────────────────────────────────── */
.quantity {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
/* round +/- buttons, consistent 36px on every page */
.quantity .svg-minus,
.quantity .svg-plus {
	position: relative;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	flex: 0 0 36px;
	border: 1px solid #e0e0e0 !important;
	border-radius: 50%;
	background: #fff !important;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 150ms ease, background-color 150ms ease;
}
.quantity .svg-minus:hover,
.quantity .svg-plus:hover {
	border-color: var(--secondary) !important;
	background: rgba(95, 164, 5, 0.08) !important;
}
/* the click target fills the circle (theme gives this <input> its own border
   + padding; reset it so only the circle shows) */
.quantity .svg-minus input,
.quantity .svg-plus input,
.quantity .svg-minus input[type="button"],
.quantity .svg-plus input[type="button"] {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer;
}
/* recolour + recentre the +/- glyph bars (theme draws them grey #999) to the
   brand green; pointer-events:none so the click passes to the input. */
.quantity .svg-minus::after,
.quantity .svg-plus::before,
.quantity .svg-plus::after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--secondary) !important;
	pointer-events: none;
}
/* number field: consistent rounded box, centred, no number-spinner */
.quantity input.qty {
	width: 48px !important;
	height: 36px !important;
	min-height: 36px;
	padding: 0 6px !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: var(--radius);
	background: #fff;
	color: #333;
	text-align: center;
	font-size: 15px;
	line-height: 36px;
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* A quantity that cannot change (1 per order, or one left): read-only box, dimmed −/+
   (woocommerce/global/quantity-input.php; QA DEF-133, app repo docs/plans/148). */
.quantity.lm-qty-fixed .svg-minus,
.quantity.lm-qty-fixed .svg-plus {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

/* (Header cart count badge: styled at the source — parent style.css "LAYMOUN
   HEADER ICON ROW" section. ftc_cart_total() adds .lm-cart-empty when the cart
   is empty so the bubble hides without JS.) */

/* ─────────────────────────────────────────────────────────────────────────
   Product review form — validation feedback (QA #54–#56). review-form.js shows
   one styled notice (reusing the site's .woocommerce-error / -info notice
   markup) and highlights invalid fields with .laymoun-field-error. These rules
   just give the notice some breathing room in the form and the field outline.
   ───────────────────────────────────────────────────────────────────────── */
#review_form .laymoun-review-notice,
#commentform .laymoun-review-notice {
	margin: 0 0 18px;
}
#reviews .laymoun-field-error,
#reviews input.laymoun-field-error,
#reviews textarea.laymoun-field-error {
	border-color: #e2401c !important;
	box-shadow: 0 0 0 1px #e2401c;
}
/* the rating is a star widget; tint the stars when the rating is missing */
#reviews .stars.laymoun-field-error a::before,
#reviews .stars.laymoun-field-error a {
	color: #e2401c !important;
}

/* ── Social media icons — drop the off-brand yellow squares (QA #60, #63) ─────
   The Footer (.ftc-footer / .footer-middle14, on the brand-green section) and
   the Contact page section render social links as `.social-icons .list-icons
   li a` with a YELLOW square (the theme paints `background-color: var(--primary)
   !important` on that selector). Match that specificity (with a `body` prefix
   so we win regardless of load order) to remove the square and show clean brand
   glyphs that suit each background — brand green on light sections (Contact),
   white on the green footer — with a subtle round hover. No yellow.
   (#61 — WHICH icons appear in each place — is content; see the QA doc.) */
body .social-icons .list-icons li a,
body .social-icons li a,
body .social-icons a {
	background: transparent !important;
	background-color: transparent !important;
	width: 34px;
	height: 34px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--secondary) !important; /* light sections (e.g. Contact Us) */
	transition: color 150ms ease, background-color 150ms ease;
}
.social-icons a i,
.social-icons a svg {
	font-size: 18px;
	line-height: 1;
	color: inherit !important;
}
body .social-icons .list-icons li a:hover,
body .social-icons li a:hover,
body .social-icons a:hover {
	background: rgba(95, 164, 5, 0.12) !important;
	color: var(--secondary) !important;
}
/* Footer is on the brand-green section → white glyphs + a soft white hover. */
body .ftc-footer .social-icons .list-icons li a,
body .footer-middle14 .social-icons .list-icons li a,
body .ftc-footer .social-icons a,
body .footer-middle14 .social-icons a {
	color: #fff !important;
}
body .ftc-footer .social-icons .list-icons li a:hover,
body .footer-middle14 .social-icons .list-icons li a:hover,
body .ftc-footer .social-icons a:hover,
body .footer-middle14 .social-icons a:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
}

/* ============================================================================
   QA fixes — UI & UX Testing (sheet 2)
   ========================================================================== */

/* #104 — Mobile menu drawer: the injected "Logout" row (added by
   mobile-account.js next to the relabelled "My Account") should match the
   weight of the existing account link so both menu items look consistent. */
.ftc-mobile-wrapper .footer-menu .mobile-logout a {
	font-weight: 700;
}

/* #108 — Mobile shop: the filter toggle (.button-sidebar) used to float as a
   fixed square on the left edge while the toolbar (with Sort) was hidden.
   Reveal the toolbar and present the relocated toggle as an inline "Filter"
   button in the same row as Sort. (.lm-relocated is added by shop-mobile-filter.js.) */
@media (max-width: 991px) {
	body .before-loop-wrapper {
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
		gap: 12px;
		flex-wrap: wrap;
		text-align: left;
		margin-bottom: 18px;
		/* The bar is a 24px-rounded box and the parent zeroes its padding on
		   phones (responsive.css), so the end items (Filter pill / Sort) sat
		   flush on the border and poked past the corner curve. Symmetric, so
		   RTL needs no flip. !important beats the parent's padding-left:15px. */
		padding: 0 12px !important;
	}
	/* keep the row minimal: drop the duplicate top-content "Filter" link */
	.before-loop-wrapper .prod-cat-show-top-content-button {
		display: none !important;
	}
	/* "Showing 1–12 of 22 results": the parent responsive.css hides it on
	   phones, but after a YITH ajax filter a script re-shows it with an INLINE
	   display:block, wrecking the flex toolbar. !important beats the inline
	   style — the count stays gone on mobile no matter what JS does. */
	.before-loop-wrapper .woocommerce-result-count {
		display: none !important;
	}
	/* relocated filter toggle = normal inline button, not a floating square.
	   Selectors are ANCESTOR-FREE (.lm-relocated only): on the "no products
	   found" page there is no toolbar, so the JS re-homes the pill next to the
	   notice instead — the same styling must follow it anywhere. */
	.button-sidebar.lm-relocated {
		position: static !important;
		top: auto !important;
		left: auto !important;
		margin: 0 auto 0 0; /* Filter to the left, Sort to the right */
		display: inline-flex !important;
		align-items: center;
		gap: 8px;
		width: auto;
		height: auto;
		line-height: 1;
		padding: 9px 18px;
		border: 1px solid #e0e0e0;
		border-radius: var(--radius);
		background-color: #fff;
		/* The theme's `transition: all .3s` delayed our visibility flip below by
		   300ms — on press, the pill lingered in its half-morphed .active style,
		   floating OVER the opening drawer near the page edge (and scrolling away
		   with the page). No transition → it hides the instant the drawer opens
		   and reappears the instant it closes. */
		transition: none;
	}
	/* Fallback spot (no-results page): the pill sits above the notice. */
	.button-sidebar.lm-relocated.lm-no-toolbar {
		margin: 0 0 14px;
	}
	.button-sidebar.lm-relocated i:before {
		font-size: 16px;
	}
	.button-sidebar.lm-relocated .lm-filter-label {
		font-size: 14px;
		color: #333;
		text-transform: none;
	}
	.button-sidebar.lm-relocated:hover {
		border-color: var(--secondary);
	}
	.button-sidebar.lm-relocated:hover i,
	.button-sidebar.lm-relocated:hover .lm-filter-label {
		color: var(--secondary);
	}
	/* neutralise the theme's "active" reposition + ×-icon swap on the relocated
	   toggle (the close × now lives inside the drawer — see #110). Without this,
	   the theme docks the pressed button OUTSIDE the drawer edge as a second ×. */
	.button-sidebar.lm-relocated.active {
		position: static !important;
		top: auto !important;
		left: auto !important;
	}
	.button-sidebar.lm-relocated.active i:before {
		content: "\e06c" !important;
		font-family: Simple-line-icons !important;
	}
	/* While the drawer is open, hide the Filter toggle (it would otherwise show
	   over the drawer); the close × inside the drawer handles dismissal. Keyed
	   off BOTH the button's own .active and body.sidebar-show so it can never
	   linger in a half state. */
	.button-sidebar.lm-relocated.active,
	body.sidebar-show .button-sidebar.lm-relocated {
		visibility: hidden;
	}

	/* Sort dropdown = tap-to-toggle on touch widths. The theme reveals the
	   options purely on :hover — on a touchscreen the first tap "hovers" the
	   control (opens it) and a SECOND tap keeps that sticky hover, so the menu
	   only closed by tapping elsewhere. Kill the hover reveal here and key it
	   off .lm-sort-open instead (toggled by shop-sidebar.js; outside taps and
	   Esc close it). Desktop (≥992px) keeps the theme's hover behaviour. */
	.woocommerce .woocommerce-ordering .orderby:hover ul,
	.woocommerce-page .woocommerce-ordering .orderby:hover ul {
		visibility: hidden;
		opacity: 0;
	}
	.woocommerce .woocommerce-ordering .orderby.lm-sort-open ul,
	.woocommerce-page .woocommerce-ordering .orderby.lm-sort-open ul {
		visibility: visible;
		opacity: 1;
	}

	/* #110 — close (×) INSIDE the filter drawer body (injected by JS), top-right.
	   Plain glyph (no grey circle, per the close-icon preference in #133), with a
	   brand-green hover. Add headroom so it never overlaps the first widget. */
	aside.ftc-sidebar:not(.product-category-top-content) {
		padding-top: 46px !important;
	}
	/* Match the Quick View popup close (#96): a clean light circle + dark × by
	   default, brand-green circle + white × on hover. !important beats the
	   theme's global green `button` styling that would otherwise paint it.
	   Flex-centred: line-height/text-align centring left the × glyph sitting
	   off-centre in the circle (worse with the Cairo font on Arabic pages). */
	aside.ftc-sidebar .lm-drawer-close {
		position: absolute;
		top: 10px;
		right: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px !important;
		height: 32px !important;
		line-height: 1 !important;
		font-size: 20px !important;
		font-weight: 300 !important;
		color: #333 !important;
		background: #f0f0f0 !important;
		border: 0 !important;
		border-radius: 50% !important;
		padding: 0 0 2px !important; /* optical: the × glyph rides slightly low in its em-box */
		margin: 0 !important;
		cursor: pointer;
		z-index: 5;
		text-transform: none !important;
		transition: all 150ms ease;
	}
	aside.ftc-sidebar .lm-drawer-close:hover {
		background: var(--secondary) !important;
		color: #fff !important;
	}
}

/* Desktop: the relocated toggle must never appear (the sidebar is inline). */
@media (min-width: 992px) {
	.button-sidebar.lm-relocated {
		display: none !important;
	}
}

/* ── Sticky footer ────────────────────────────────────────────────────────────
   Short pages (e.g. shop "no products found" after a narrow filter) ended above
   the fold, leaving raw white page background below the footer. Make the page
   shell always fill the viewport and let the content area absorb the slack, so
   the footer rides at the bottom on every page, every viewport. */
#page.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
#page.site > .site-content-contain {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}
#page.site > .site-content-contain > #content {
	flex: 1 0 auto;
}

/* #160 (restyled 2026-07-18) — "Reset all filters" is a QUIET text link, not a
   second pill: as a full-width all-caps button it competed with the primary
   "Filter" action and floated in its own distant section (owner). Best
   practice: clear-all is secondary — small, centred, underlined, attached
   directly under the price section (its widget's hairline/padding stripped so
   it reads as part of the same group). */
body .ftc-sidebar .yith-woo-ajax-reset-navigation,
body #left-sidebar .yith-woo-ajax-reset-navigation {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding-top: 0 !important;
	padding-bottom: 4px !important;
	margin-top: -6px !important;     /* tuck under the Filter button's section */
	text-align: center;
}
body .ftc-sidebar .yith-wcan-reset-navigation.button,
body #left-sidebar .yith-wcan-reset-navigation.button {
	display: inline-block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #6f7d72 !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body .ftc-sidebar .yith-wcan-reset-navigation.button:hover,
body #left-sidebar .yith-wcan-reset-navigation.button:hover {
	color: var(--secondary, #186034) !important;
	background: transparent !important;
}

/* #159 — Filtered/searched results grid stayed CENTRED with few products
   (1–2 cards centred with ballooning gaps) instead of the normal left-aligned
   grid. Cause (desktop only — mobile already uses fixed margins): the product
   cards use `margin: 20px auto` (auto side-margins) and `.products` is
   `justify-content:center`, so a partly-filled 3-wide row centres. Left-align
   and replace the auto side-margins with the grid's normal 15px gutter so the
   layout is identical regardless of result count.
   2026-07-18: the 15px !important gutter is CAPPED at 1199px — the ≥1200
   workspace grid owns its own 12px gutters (24px visual gap, E2) and this
   !important was silently overriding them. flex-start stays at all widths. */
@media (min-width: 768px) {
	body .woocommerce .products,
	body .woocommerce-page .products,
	body .woocommerce .yit-wcan-container .products {
		justify-content: flex-start !important;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
	body .woocommerce .products .product,
	body .woocommerce-page .products .product {
		margin-left: 15px !important;
		margin-right: 15px !important;
	}
}
/* Shop grid at 768–991px: 3 cards per row, not 2 (2026-11-17). Below 992px the
   parent sizes grid cards for 3 per row with a 10px gutter on each side
   (`.woocommerce.columns-3 .products .product { max-width: calc(33.3333% - 20px) }`,
   wrapper `margin: 0 -10px`). The 15px rule above made three cards 30px wider
   than the row, so the third wrapped: 2 cards and an empty column on tablets.
   Use the parent's 10px here, the same gutter as at 600–767px. Direct-child
   cards only: started sliders nest cards in .owl-item and keep their spacing. */
@media (min-width: 768px) and (max-width: 991px) {
	body .woocommerce.columns-3 .products > .product.ftc-product,
	body .woocommerce-page.columns-3 .products > .product.ftc-product {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
}

/* Variable products auto-select the first variation on load (default-variation.js
   — owner request "first variation selected by default"). WooCommerce then renders
   the selected variation's price (.woocommerce-variation-price) in the buy box ON
   TOP of the theme's summary price near the title — two identical price lines,
   because every variable product in this catalog shares one price across all its
   variations. Hide the variation-price duplicate; the summary price (always shown,
   even if a variation were deselected) stays near the title.
   NOTE: if a product ever gets DIFFERENT per-variation prices, revisit this — you'd
   then want the specific selected price visible (e.g. hide the summary range instead). */
.single-product .woocommerce-variation-price,
.pp_woocommerce .woocommerce-variation-price {
	display: none !important;
}

/* Mobile single-product buy box (owner request): the variations form was a
   cramped 2-column flex row — colour swatches on the left, a squeezed
   counter + half-width Add to Cart / Buy Now on the right. On phones, stack it
   into ONE column: the variation (e.g. colour) becomes a full-width section on
   top, then the quantity counter, then FULL-WIDTH Add to Cart / Buy Now below. */
@media (max-width: 767px) {
	body.single-product .variations_form.cart {
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
	}
	body.single-product .variations_form.cart > .variations,
	body.single-product .variations_form.cart > .single_variation_wrap {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	/* variation = clean full-width section: label + swatches left-aligned, spaced from the counter */
	body.single-product .variations .Variable-box,
	body.single-product .variations .label {
		text-align: left !important;
		display: block !important;
		width: 100% !important;
	}
	body.single-product .variations .value .rtwpvs-terms-wrapper,
	body.single-product .variations .value .button-variable-wrapper {
		justify-content: flex-start !important;
	}
	body.single-product .variations_form.cart > .variations {
		margin-bottom: 20px !important;
	}
	/* counter above, full-width action buttons below it */
	body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
		display: block !important;
	}
	body.single-product .single_variation_wrap .quantity {
		margin-bottom: 14px !important;
	}
	body.single-product .single_add_to_cart_button,
	body.single-product .variations_form .laymoun-buy-now {
		width: 100% !important;
		display: block !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		text-align: center !important;
	}
	/* gap between the stacked Add to Cart and Buy Now buttons */
	body.single-product .laymoun-buy-now {
		margin-top: 12px !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Content-phase shop polish (2026-06-13)
   Fixes surfaced after the real catalogue went live and the origin filter was
   switched to multi-select (OR) mode.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Origin filter layout ──────────────────────────────────────────────────
   The demo styled the layered-nav list as TWO 50%-width floated columns (built
   for short Size/Brand terms) plus a 7.5px left margin on the <ul>. With the
   longer origin names in a narrower card that overflowed the card on the right
   ("box is out"). Render a single, full-width column that sits inside the card,
   and hide origins that have no products in the current view (they rendered as
   dead, checkbox-less text — e.g. unsourced fruits). */

/* The origin/price filter widgets carry the WooCommerce `.widget_layered_nav`
   box model, whose width + 25px padding + 1px border were NOT counted as
   border-box — so the box rendered ~26px wider on each side than the CATEGORY
   and FILTER-SELECTION cards above it and stuck out past them. Pin these
   widgets to the same border-box, full-but-contained width as the other sidebar
   cards (20px padding matches the base widget-container). */
#left-sidebar .widget-container.woocommerce.widget_layered_nav,
#left-sidebar .widget-container.woocommerce.widget_price_filter,
.ftc-sidebar .widget-container.woocommerce.widget_layered_nav,
.ftc-sidebar .widget-container.woocommerce.widget_price_filter {
	box-sizing: border-box !important;
	width: auto !important;
	/* 2026-07-18 flat-panel sidebar: the boxes-in-a-box look is gone, every
	   section is flush — margins 0, inline padding 24px like its siblings
	   (was 10px margins / 20px padding matching the old fused cards). */
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
}
.ftc-sidebar .widget-container.woocommerce.widget_layered_nav ul.yith-wcan-list,
#left-sidebar .widget-container.woocommerce.widget_layered_nav ul.yith-wcan-list {
	margin-left: 0;
}
.ftc-sidebar .widget_layered_nav ul.yith-wcan-list li,
#left-sidebar .widget_layered_nav ul.yith-wcan-list li {
	width: 100%;
	float: none;
	padding: 0 0 6px 0;
	box-sizing: border-box;
}
.ftc-sidebar .widget_layered_nav ul.yith-wcan-list li:before,
#left-sidebar .widget_layered_nav ul.yith-wcan-list li:before {
	right: 0; /* the grey row highlight was inset 6px for the 2-col gutter */
}
.ftc-sidebar .widget_layered_nav ul.yith-wcan-list li:not(:has(> a)),
#left-sidebar .widget_layered_nav ul.yith-wcan-list li:not(:has(> a)) {
	display: none;
}

/* ── About Us page (EN 4299 / AR 17889) ────────────────────────────────────
   1) The features section's WPBakery icons (packed orders / delivery / quality)
      were pinned LEFT while the first feature's image is centred — centre them
      (owner request 2026-07-06; the icon is an inline-block, text-align does it).
   2) No dead space between the last section and the footer: the content area's
      ~49px bottom padding minus the theme's −30px row margin left a ~19px white
      strip. 30px of padding exactly cancels the negative margin → gap = 0. */
body.page-id-4299 .vc_icon_element.vc_icon_element-align-left,
body.page-id-17889 .vc_icon_element.vc_icon_element-align-left {
	text-align: center; /* out-weighs js_composer's own align-left class (loads after us) */
}
/* No dead space before the footer: the trailing testimonial row (hidden by
   the builder at every breakpoint, only its 120px margin showed) was REMOVED
   from both pages' content on 2026-07-06 (backups in the session scratchpad).
   What remains here: drop the content area's bottom padding and the closing
   image's own 30px wrapper margin, so the last section meets the footer.
   (`.page` on body doubles the weight past `.page:not(.home) #content`.) */
body.page-id-4299.page #content,
body.page-id-17889.page #content { padding-bottom: 0; }
body.page-id-4299 #content .wpb_wrapper > .ftc-smooth-image:last-child,
body.page-id-17889 #content .wpb_wrapper > .ftc-smooth-image:last-child { margin-bottom: 0; }
/* The hero text column carries a 40px padding-right in its builder settings —
   the DESKTOP gutter between the text and the image beside it. Once the
   columns stack on phones it just made the text lopsided (62px right vs 23px
   left; owner report 2026-07-06). Desktop keeps the gutter. !important is
   required: the builder prints its generated rule with !important. */
@media (max-width: 767px) {
	body.page-id-4299 .wpb_text_column.vc_custom_1774900608737,
	body.page-id-17889 .wpb_text_column.vc_custom_1774900608737 {
		padding-right: 0 !important;
	}
}

/* ── Contact page hero (EN 4471 / AR 17886) ────────────────────────────────
   Desktop: the text lives in the photo's WHITE half — English on the LEFT;
   Arabic uses a MIRRORED copy of the photo (rtl.css swaps the background and
   pins the text right), so each language reads over the calm side.
   Phones: no overlay — the WOMAN half of the photo (a taller 960×600 crop
   shipped with the child theme) renders on top, text flows below it.
   Content restructured 2026-07-06: first word green, rest black, and the
   subtitle is a real <p class="lm-hero-sub"> (it used to live INSIDE the h1,
   rendering at heading size). No shouting: heading case as written. */
.title-contact4 h1 {
	text-transform: none;
}
.title-contact4 .lm-hero-sub {
	color: #333;
	font-size: 17px;
	line-height: 1.75;
	margin: 12px 0 0;
	text-transform: none;
}
@media (min-width: 768px) {
	.title-contact4 .wpb_text_column {
		max-width: 50%;
		margin-left: 0;
		margin-right: auto;
	}
}
@media (max-width: 767px) {
	/* doubled class: the builder's inline background rules are !important AND
	   print after this sheet — only higher specificity can win. The theme also
	   makes this row a 600px flex-centred hero — that centring is what floated
	   the text in the leftover space; natural flow on phones instead. */
	.title-contact4.title-contact4 {
		background-image: url('images/back3-mobile.jpg') !important; /* the woman half — full strip was too short */
		background-size: 100% auto !important;
		background-position: top center !important;
		background-repeat: no-repeat !important;
		padding-top: 62.5vw !important;          /* 600 / 960 — the crop's height at full width */
		padding-bottom: 18px;
		min-height: 0 !important;
		height: auto !important;
		align-items: flex-start;
	}
	/* The client's header photo (app repo docs/plans/133): its phone crop, same 960x600 shape.
	   Only rows the plan-133 migration marked with lm-contact-app-order; others keep the above. */
	.title-contact4.title-contact4.lm-contact-app-order {
		background-image: url('images/contact-header-app-order-mobile.webp') !important;
	}
	/* Reference rhythm (dibajj): centred heading with air around it, then the
	   body copy at a calm reading size and relaxed leading. */
	.title-contact4 .wpb_text_column {
		max-width: 100%;
		margin-top: 30px;
	}
	.title-contact4 h1 {
		font-size: 28px;
		line-height: 1.35;
		text-align: center;
	}
	.title-contact4 .lm-hero-sub {
		font-size: 15px;
		line-height: 1.9;
		margin-top: 16px;
	}
}

/* ── About + Contact pages: uniform mobile edge gutters ────────────────────
   Text insets from the screen edge varied wildly per row/language (down to
   7px — glued to the edge) because every builder row carries its own margin/
   padding cocktail. Normalise on phones: every column gets a 22px gutter;
   columns holding a .ftc-smooth-image keep 0 so photos stay full-bleed (their
   nested inner columns re-add the 22px for the text); the About hero row's
   own side margins/paddings are zeroed so only the column gutter counts.
   (Owner report 2026-07-06.) */
@media (max-width: 767px) {
	body.page-id-4299 #content .wpb_column,
	body.page-id-17889 #content .wpb_column,
	body.page-id-4471 #content .wpb_column,
	body.page-id-17886 #content .wpb_column {
		padding-left: 22px !important;
		padding-right: 22px !important;
	}
	body.page-id-4299 #content .wpb_column:has(.ftc-smooth-image),
	body.page-id-17889 #content .wpb_column:has(.ftc-smooth-image),
	body.page-id-4471 #content .wpb_column:has(.ftc-smooth-image),
	body.page-id-17886 #content .wpb_column:has(.ftc-smooth-image) {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Nested columns inside an already-guttered column would double the inset
	   (22 + 22 = 44px — the features section sat visibly narrower than its
	   neighbours). The outer column supplies the gutter; inner ones add none.
	   Image-holding outer columns are the exception: they're zeroed above, so
	   there their inner columns DO carry the 22px. */
	body.page-id-4299 #content .wpb_column:not(:has(.ftc-smooth-image)) .vc_inner > .wpb_column,
	body.page-id-17889 #content .wpb_column:not(:has(.ftc-smooth-image)) .vc_inner > .wpb_column,
	body.page-id-4471 #content .wpb_column:not(:has(.ftc-smooth-image)) .vc_inner > .wpb_column,
	body.page-id-17886 #content .wpb_column:not(:has(.ftc-smooth-image)) .vc_inner > .wpb_column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.vc_custom_1774900793899.vc_custom_1774900793899 {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* About: the small line-art feature icons (broccoli, mushroom…) sat flush
	   on the text below them once their columns stack — give them the same air
	   the neighbouring features section has. Desktop keeps them side by side,
	   so this stays phone-only. */
	body.page-id-4299 #content .vc_inner .wpb_column .ftc-smooth-image,
	body.page-id-17889 #content .vc_inner .wpb_column .ftc-smooth-image {
		margin-bottom: 18px;
	}
}

/* ── Contact page mobile: office block spacing (EN 4471 / AR 17886) ────────
   Stacked under the form, "Find Our Office" sat right on the Send button —
   give it air. And the section ends almost flush with the footer: the row's
   30px bottom margin + the page's ~49px content padding were pure dead space
   on phones. Doubled classes / !important: the builder prints its own values
   with !important. */
@media (max-width: 767px) {
	.vc_custom_1773623270273 .wpb_column.vc_custom_1773623100795 {
		padding-top: 38px !important;
	}
	.vc_custom_1773623270273.vc_custom_1773623270273 {
		margin-bottom: 0 !important;
		padding-bottom: 14px !important;
	}
	/* the office text block's own 35px trailing margin was most of the gap */
	.vc_custom_1773623270273 .social-icons {
		margin-bottom: 0;
	}
	.vc_custom_1773623270273 .wpb_column.vc_custom_1773623100795 .wpb_text_column:last-child {
		margin-bottom: 0;
	}
	body.page-id-4471.page #content,
	body.page-id-17886.page #content {
		padding-bottom: 0;
	}
}

/* ── Contact page info rows (EN 4471 / AR 17886) ───────────────────────────
   The "Address / Email / Phone" text labels were replaced in the page content
   with icon rows (owner request 2026-07-06) — same Lucide stroke set as the
   footer. One shared start edge: fixed icon column, values aligned beside it.
   Flex follows the page direction, so Arabic mirrors for free. */
.lm-contact-list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}
.lm-contact-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
}
.lm-contact-list .lm-contact-ic {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--secondary, #186034);
}
.lm-contact-list .lm-contact-ic svg {
	display: block;
	width: 100%;
	height: 100%;
}
.lm-contact-list a {
	color: #333;
	font-size: 15px;
	text-decoration: none;
	text-transform: none; /* the blob's site-wide `capitalize` turned the email into Info@Laymoun.Ae */
	transition: color 150ms ease;
}
.lm-contact-list a:hover {
	color: var(--secondary, #186034);
}

/* ── Sidebar promo image ("BEST FOOD BIG SALE") — REMOVED ───────────────────
   The shop sidebar carried a leftover theme-demo promo image (an FTC Single
   Image widget, uploads/2017/08/05_Grid.jpg, reading "Best food big sale").
   The owner asked for it gone (2026-07-15). It's a DB widget and this repo's
   DB isn't the live site's, so hiding it here removes it on every environment
   from one place — no per-site Appearance → Widgets edit needed. Scoped to the
   shop sidebar's image widget only; other sidebars are untouched. The prior
   alignment styling for this card lives in git history if a sidebar image is
   ever wanted back. */
aside.ftc-sidebar .widget-container.ftc-effect-image {
	display: none;
}

/* With the promo image gone, the price filter became the last sidebar widget and
   sat flush against the card's rounded bottom. Add bottom padding so the inner
   gap mirrors the ~31px inset at the top of the card. */
aside.ftc-sidebar {
	padding-bottom: 30px;
}

/* ── Shop sort pill: selected label must never wrap (owner 2026-07-16) ─────────
   The theme fixes the ordering pill (ul.orderby) at 210px (150/140px on phones),
   so longer selections ("Sort by price: high to low") broke onto a second line.
   Scoped to the CURRENT-selection span only — white-space on the li would
   inherit into the nested open-dropdown list, which should keep wrapping as the
   theme intends. ≥768px the pill grows to fit its label (min-width preserves
   the default-sorting look); ≤767px the theme's compact width stays and the
   label ellipsizes instead of wrapping. */
.woocommerce .woocommerce-ordering .orderby-current,
.woocommerce-page .woocommerce-ordering .orderby-current {
	white-space: nowrap;
}
@media (min-width: 768px) {
	.woocommerce .woocommerce-ordering ul.orderby,
	.woocommerce-page .woocommerce-ordering ul.orderby {
		width: auto;
		min-width: 210px;
	}
}
@media (max-width: 767px) {
	.woocommerce .woocommerce-ordering .orderby-current,
	.woocommerce-page .woocommerce-ordering .orderby-current {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
/* Phones/tablets: match the sort pill to the Filter button beside it (≤991px is
   where the toolbar shows that button).
   ▸ Height: the pill's 4px vertical padding made it 33.6px vs the button's
     37.8px (18.2px icon row + 2×9px padding + borders); 6px padding → 37.6px,
     the same to the pixel.
   ▸ Vertical position: the pill span is the theme's inline-block on the li's
     TEXT BASELINE, so the li reserved ~7px of descender space under it — the li
     grew to 44.8px with the pill stuck at its top, reading as "shifted up" next
     to the centred Filter button. display:block removes the baseline seat (the
     li then hugs the pill and flex-centring aligns both); it also gives the
     ≤767px ellipsis above a real block box. The li-scoped selector out-ranks
     the parent's `.orderby > li .orderby-current` inline-block rule. */
@media (max-width: 991px) {
	.woocommerce .woocommerce-ordering ul.orderby > li > .orderby-current,
	.woocommerce-page .woocommerce-ordering ul.orderby > li > .orderby-current {
		display: block;
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

/* Price widget: the "السعر/Price: X — Y" line sat glued to the Filter button.
   The button is FLOATED, so the label's box actually starts level with it and
   only the text wraps under — margins alone add nothing. Clear the float so
   the label truly starts below the button, then the margin gives real air
   (both languages). */
.woocommerce .widget_price_filter .price_label,
.woocommerce-page .widget_price_filter .price_label {
	clear: both;
	padding-top: 14px; /* padding, not margin — clearance swallows a cleared element's top margin */
}

/* ── Infinite-scroll loading indicator ─────────────────────────────────────
   The shop loads more products on scroll; the user needs to SEE that a fetch
   is happening (owner request) — otherwise the page just looks finished. The
   theme prints a status pill ("Loading …" / "No Products for load") that we
   previously hid outright because it got stuck after YITH ajax swaps. Rebuilt
   properly:
   • idle           → nothing renders (all states stylesheet-hidden; the
     wrapper has no chrome of its own).
   • while fetching → infinite-scroll sets inline display:block on
     .infinite-scroll-request (inline beats the stylesheet), showing a green
     brand pill with a white spinner. Spinner-only — no text, so it needs no
     translation on the Arabic shop.
   • done / error   → never shown (the "No Products for load" wording was
     unwanted); !important is justified here: it must beat the PLUGIN'S OWN
     inline display:block on the "last"/"error" events.
   shop-sidebar.js clears stale inline states after YITH re-renders (the old
   stuck-pill bug). */
.after-loop-wrapper span.page-load-status {
	border: 0;
	padding: 0;
	margin-top: 6px;
	background: none;
}
span.page-load-status p {
	display: none; /* idle default; the plugin's inline style reveals the active state */
}
span.page-load-status .infinite-scroll-last,
span.page-load-status .infinite-scroll-error {
	display: none !important; /* beats the plugin's inline display:block */
}
span.page-load-status p.infinite-scroll-request {
	font-size: 0;               /* spinner-only: hide the untranslated "Loading" text */
	line-height: 0;
	background: var(--secondary);
	border-radius: 999px;
	padding: 12px 26px;
	margin: 0;
}
span.page-load-status p.infinite-scroll-request:after {
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top: 2px solid #fff;
	width: 16px;
	height: 16px;
	margin: 0; /* the theme offsets it beside the text; centred alone now */
}

/* ── Uniform 1:1 product-card picture box (shop grid + home sliders) ───────
   Every product card wraps its image in `.item-image.images` (same markup on
   the shop archive and the home `ftc_products_slider`). Force that box to a
   1:1 square and have the image(s) cover it, so varied source photos (and the
   future real ones) all read as a clean, even grid. Targets `.item-image`
   directly — the previous rule keyed off `ul.products li.product`, which the
   theme's `div.products` / `.ftc-products` markup never matched. */
.product .item-image.images,
.ftc-products .product .item-image.images,
.woocommerce .products .product .item-image.images {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	/* A still-loading (lazy) image left this box transparent over the white
	   card — the cell read as EMPTY for a beat while the page loaded. Paint
	   the box so pending images show as a soft neutral tile instead. */
	background: #f3f6ef;
	/* FULL-BLEED look (owner 2026-07-18): the image touches the card edges
	   (card padding zeroed in the premium-card section), so it CONTINUES the
	   card's own 24px corners at the top and runs flat where the text panel
	   begins — hence top corners only. Symmetric, so RTL needs nothing. */
	border-radius: 24px 24px 0 0;
}
.product .item-image.images > a,
.ftc-products .product .item-image.images > a {
	display: block;
	width: 100%;
	height: 100%;
}
/* :not(.lm-stamp): this rule is about the PRODUCT PHOTO filling its 1:1 box —
   the classification stamps are also <img>s inside the same box, and the
   100% !important sizing inflated a 48px stamp to cover the whole photo
   (owner caught it 2026-07-18). */
.product .item-image.images img:not(.lm-stamp),
.product .item-image.images img.wp-post-image:not(.lm-stamp),
.ftc-products .product .item-image.images img:not(.lm-stamp) {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block;
	/* The theme rounds the img itself 24px on every corner — full-bleed needs
	   its BOTTOM corners square (the box's overflow+radius handles the top). */
	border-radius: 0 !important;
}

/* ── Desktop: drop the redundant filter close (×) ──────────────────────────
   .lm-drawer-close is injected by shop-mobile-filter.js for the mobile filter
   drawer (#110). On desktop the sidebar is always visible, so the × is just
   clutter at the top of the sidebar — hide it there (mobile drawer keeps it). */
@media (min-width: 992px) {
	aside.ftc-sidebar .lm-drawer-close {
		display: none !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Header language switcher (Polylang) — markup from
   organico_child_language_switcher_markup(), rendered in place by the CHILD's
   header-layout11.php override. The DESKTOP look (dropdown .lm-lang-dd) is
   styled in the "LAYMOUN HEADER ICON ROW" section further down this file. Here:
   only the Arabic label font and the mobile-drawer variant
   (language-switcher.js moves the node into the drawer ≤991px).
   ═══════════════════════════════════════════════════════════════════════════ */
/* Arabic labels render in Cairo wherever they appear; only the TRIGGER label
   is bidi-isolated (menu options must follow the page direction so they align
   with the panel edge, not their own script's edge). */
.lm-lang-switcher [lang="ar"] { font-family: 'Cairo', sans-serif; }
.lm-lang-switcher .lm-lang-label { unicode-bidi: isolate; }

/* Drawer placement (mobile ≤991px, Customizer "Laymoun options" toggle, default
   on): language-switcher.js re-homes the switcher into the slide-out menu.
   Same dropdown pattern as the desktop header (owner request 2026-07-05):
   trigger shows the CURRENT language + chevron, the menu lists both languages
   with the current one not clickable — but in the DRAWER'S OWN green palette
   (not the header's yellow). The one-tap .lm-lang-quick link is retired.
   language-switcher.js already closes the dropdown on outside tap / Esc. */
.lm-lang-switcher--drawer {
	display: block;
	padding: 14px 20px 18px;
	text-align: center;
}
.lm-lang-switcher.lm-lang-switcher--drawer .lm-lang-quick { display: none; } /* 3 classes: the drawer slot's own `a` rules outrank a 2-class hide */
.lm-lang-switcher--drawer .lm-lang-dd {
	display: inline-block;
	position: relative;
}
.lm-lang-switcher--drawer .lm-lang-dd summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	padding: 4px 2px;
	color: #555; /* same colour the drawer's language link always had (owner: keep it, no yellow) */
	-webkit-user-select: none;
	user-select: none;
}
.lm-lang-switcher--drawer .lm-lang-dd summary::-webkit-details-marker { display: none; }
.lm-lang-switcher--drawer .lm-lang-dd summary::marker { content: none; }
.lm-lang-switcher--drawer .lm-lang-dd summary:hover { color: var(--secondary, #186034); }
.lm-lang-switcher--drawer .lm-lang-dd .lm-hdr-chev {
	display: block;
	width: 12px;
	height: 12px;
	transition: transform 150ms ease;
}
.lm-lang-switcher--drawer .lm-lang-dd[open] summary .lm-hdr-chev { transform: rotate(180deg); }
/* The menu FLOATS like the header's panel (no layout shift when it opens) —
   the switcher sits at the drawer's bottom, so it drops UP above the trigger.
   Option rules carry an extra class of specificity: the drawer slot's own
   link rules (padding/case/colour) must not leak onto them. */
.lm-lang-switcher--drawer .lm-lang-menu {
	position: absolute;
	bottom: calc(100% + 8px);
	inset-inline-start: 0;
	z-index: 30;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	min-width: 132px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.lm-lang-switcher--drawer .lm-lang-menu li { margin: 0; padding: 0; list-style: none; }
.lm-lang-switcher.lm-lang-switcher--drawer .lm-lang-menu .lm-lang-opt {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
	text-align: start;      /* options hug the panel's start edge, like the header */
	text-transform: none;
}
.lm-lang-switcher.lm-lang-switcher--drawer .lm-lang-menu a.lm-lang-opt:hover {
	background: #f5f6f2;
	color: var(--secondary, #186034);
}
.lm-lang-switcher.lm-lang-switcher--drawer .lm-lang-menu .lm-lang-opt--current {
	color: #a7ab9f;
	cursor: default;
}
/* The drawer search's magnifier button is absolutely positioned but had no
   positioned ancestor, so it anchored to the DRAWER top (parent style.css:11779
   `top:15px`) — invisible while the search sat first in the drawer, but the
   switcher row above now pushes the input down and the button stayed behind,
   orphaned on the switcher row. Anchor it to the search wrapper instead. */
.ftc-mobile-wrapper .ftc-search .ftc_search_ajax {
	position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Modern mobile drawer skin v2 — reference layout (user request 2026-07-03).
   Scoped under .lm-drawer-modern (Customizer toggle "Laymoun options → Mobile:
   modern menu drawer style", default on). Shared file — BOTH languages; RTL
   side-flips live in rtl.css. Structure (matching the approved reference):
     [ ✕   —  brand logo  ]   ← .menu-text row, white, reordered first (flex)
     [ pill search field  ]
     [ plain menu rows    ]
     [        …spacer…    ]
     [ My Account heading ]
     [ Log in  (solid)    ]
     [ Register (outline) ]
     [ language selector  ]   ← bottom (language-switcher.js appends here)
   The logo / heading / Register pill are injected by mobile-account.js.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
	/* Panel: white, soft elevation, flex column so the account section can
	   anchor to the bottom like the reference. */
	.lm-drawer-modern .ftc-mobile-wrapper {
		background: #fff;
		box-shadow: 0 0 28px rgba(0, 0, 0, 0.25);
		display: flex;
		flex-direction: column;
	}
	.lm-drawer-modern.has-mobile-menu .ftc-mobile-wrapper {
		padding-bottom: 16px; /* parent forces 70px; the flex column manages its own space */
	}
	/* Header row (theme's .menu-text band, reordered to the top): white, the
	   ☰ glyph + "القائمة/Menu" label hidden (font-size:0 kills the bare text
	   node; children restore their own sizes), ✕ as a neutral circle at the
	   start, injected brand logo centred. */
	.lm-drawer-modern .ftc-mobile-wrapper .menu-text {
		order: -1;
		position: relative;
		background: #fff !important;
		border-bottom: 1px solid #f0f0ec;
		height: 64px;
		line-height: 64px;
		padding: 0 14px;
		font-size: 0;
		flex: 0 0 auto;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .menu-text > i {
		display: none !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .menu-text .btn-toggle-canvas.btn-danger {
		float: right !important; /* owner 2026-08-16: ✕ top-RIGHT on English; rtl.css puts it top-LEFT on Arabic */
		background: #f4f4f1 !important;
		border: 0 !important;
		border-radius: 50%;
		width: 36px;
		height: 36px;
		line-height: 36px;
		padding: 0;
		margin-top: 14px;
		text-align: center;
		color: #333 !important;
		font-size: 14px;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .menu-text .btn-toggle-canvas.btn-danger i {
		display: inline-block !important;
		color: #333;
		font-size: 14px;
		line-height: 36px;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .lm-drawer-logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		line-height: 0;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .lm-drawer-logo img {
		max-height: 44px;
		max-width: 200px; /* clear the ✕ circle on the 300px drawer */
		width: auto;
		object-fit: contain;
		/* the global image-rounding rule shaved the lemon's corners here too
		   (radius 24 + overflow clip — same trap as the search band's logo) */
		border-radius: 0 !important;
		overflow: visible !important;
	}
	/* Search: quiet pill (replaces the parent's dated 3px double border,
	   parent style.css:11719/11736). */
	.lm-drawer-modern .ftc-mobile-wrapper .ftc-search {
		display: block;
		padding: 14px 16px 12px; /* bottom was 6px — "Home" sat nearly glued to the search pill */
		flex: 0 0 auto;
	}
	/* The menu block carries its own dark background layer; any exposed edge of
	   it reads as stray gray lines (they only stayed hidden while the menu sat
	   flush under the search). Transparent in the drawer — items style their own. */
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu > .menu_holder,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu > .menu_holder > .menu_inner {
		background: transparent;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .ftc-search form .ftc_search_ajax input[type="text"],
	.lm-drawer-modern .ftc-mobile-wrapper .ftc-search form:hover .ftc_search_ajax input[type="text"],
	.lm-drawer-modern .ftc-mobile-wrapper .ftc_search_ajax input[type="text"]:focus {
		border: 1px solid #e7e7e2 !important;
		background: #f7f7f4 !important;
		border-radius: 999px !important;
		height: 44px;
		font-size: 15px;
		box-shadow: none !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .ftc_search_ajax input[type="text"] {
		padding: 0 46px 0 18px !important; /* LTR: icon on the right (rtl.css flips) */
	}
	.lm-drawer-modern .ftc-mobile-wrapper .ftc_search_ajax .search-button {
		top: 50% !important;
		margin-top: -11px;
		color: var(--secondary, #186034) !important;
	}
	/* Menu rows: plain, roomy, no bands or separators (reference look). */
	.lm-drawer-modern .ftc-mobile-wrapper .mobile-menu-wrapper {
		flex: 0 1 auto;
		/* 6px dated from when the search pill sat between the head and the menu
		   (its own padding made the room); with the drawer search retired, "Home"
		   sat nearly glued to the head's hairline (owner 2026-08-16). */
		padding-top: 20px;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu > .menu_holder > .menu_inner > ul > li,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li.current_page_item,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li.current-menu-item,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li.current-menu-ancestor,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li.current_page_item > .item_link > .link_content,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li > .item_link > .link_content {
		background: transparent !important;
		border: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li > .item_link,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li > .item_link > .link_content {
		height: 52px !important;
		line-height: 52px !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link {
		display: block !important;
		width: 100% !important;
		height: 52px !important;
		line-height: 52px !important;
		padding: 0 20px !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li > .item_link > .link_content > .link_text {
		color: #222 !important;
		font-size: 16px;
		font-weight: 600;
		height: auto;
	}
	/* Active page: brand-green label only (the reference keeps rows plain). */
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary.mobile_minimized-enable > .menu_holder > .menu_inner > ul > li.current_page_item > .item_link > .link_content > .link_text,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current-menu-item > .item_link > .link_content > .link_text,
	.lm-drawer-modern .ftc-mobile-wrapper .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current-menu-ancestor > .item_link > .link_content > .link_text {
		color: var(--secondary, #186034) !important;
		font-weight: 700;
	}
	/* Account section pinned to the drawer bottom (reference): heading, then
	   Log in / My Account as a solid brand pill, Register / Logout as an
	   outline pill, then the language selector. */
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu {
		margin-top: auto;
		padding: 18px 20px 8px;
		border-top: 0;
		flex: 0 0 auto;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .lm-account-heading {
		font-size: 17px;
		font-weight: 700;
		color: #222;
		margin: 0 0 14px;
	}
	/* The empty YITH wishlist row sat invisibly between the heading and the
	   buttons (~115px of dead space pushing Register/language below the fold);
	   it is not part of the reference layout. */
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .mobile-wishlist {
		display: none;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .mobile-account,
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-register,
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-logout {
		display: block !important;   /* the theme inflates .mobile-account to a ~220px flex box */
		height: auto !important;
		min-height: 0 !important;
		line-height: normal !important;
		margin: 0 !important;
		padding: 0 0 12px !important;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .mobile-account a,
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-register a,
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-logout a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		border-radius: 999px;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none;
	}
	/* Primary: Log in (guests) / My Account (logged in). */
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .mobile-account a {
		background: var(--secondary, #186034);
		color: #fff !important;
	}
	/* Secondary: Register (guests) / Logout (logged in). */
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-register a,
	.lm-drawer-modern .ftc-mobile-wrapper .footer-menu .lm-mobile-logout a {
		background: #fff;
		border: 2px solid var(--secondary, #186034);
		color: var(--secondary, #186034) !important;
	}
	/* Language selector at the very bottom (appended by language-switcher.js). */
	.lm-drawer-modern .ftc-mobile-wrapper .lm-lang-switcher--drawer {
		padding: 4px 0 10px;
		text-align: inherit;
	}
	/* (Legacy one-tap link rule retired 2026-07-05 — the switcher is a dropdown
	   now; its styling lives in the `.lm-lang-switcher--drawer` block. A bare
	   `… a` selector here would out-rank it and leak onto the menu options.) */
	.lm-drawer-modern .ftc-mobile-wrapper .header-mobile-social {
		padding: 0 20px 14px;
	}
	.lm-drawer-modern .ftc-mobile-wrapper .header-mobile-social a {
		color: #a2a29a;
		font-size: 18px;
	}
	/* The theme's reserved top slot is unused now (switcher moved to the
	   bottom) — collapse it. */
	.lm-drawer-modern .ftc-mobile-wrapper .mutil-lang-cur:empty {
		display: none;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Cairo — self-hosted Arabic webfont (privacy/security-first: no Google Fonts
   hot-linking). Variable font (one woff2 per subset covers weights 400–700).
   Files under fonts/cairo/ (URLs are relative to this stylesheet). Applied to
   Arabic (RTL) content in rtl.css and to the Arabic switcher label above.
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('fonts/cairo/cairo-arabic.woff2') format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('fonts/cairo/cairo-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('fonts/cairo/cairo-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER — clean rebuild (markup: template-parts/footer/footer-widgets.php)
   Replaces the old WPBakery footer. Brand column + three <details> sections that
   are a multi-column row on desktop and a native accordion on phones (no JS). The
   green background used to come from the WPBakery section, so we set it here. All
   colours use the brand tokens (--secondary green, --primary yellow). RTL works
   for free (flex + logical flow follow the document direction).
   ════════════════════════════════════════════════════════════════════════════ */
.lm-footer-wrap {
	background-color: var(--secondary);
	color: #fff;
}
.lm-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px;
	padding: 55px 0 45px;
}
.lm-foot-col { min-width: 0; }
.lm-foot-brand { flex: 1 1 300px; max-width: 380px; }
.lm-foot-sec { flex: 1 1 160px; }

.lm-foot-logo { height: auto; margin-bottom: 18px; border-radius: 0 !important; }  /* the theme rounds widget images (24px) — the logo is transparent, so that clipped its corners */
.lm-foot-tagline { margin: 0 0 22px; font-size: 14px; line-height: 1.85; color: rgba(255, 255, 255, 0.82); }

.lm-foot-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lm-foot-social li { margin: 0; }
.lm-foot-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.12); color: #fff;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lm-foot-social a:hover { background: var(--primary); color: var(--secondary); transform: translateY(-2px); }
.lm-foot-social svg { width: 17px; height: 17px; }

.lm-foot-sec > summary { list-style: none; }
.lm-foot-sec > summary::-webkit-details-marker { display: none; }
.lm-foot-title { color: var(--primary); font-weight: 400; font-size: 17px; letter-spacing: 0.3px; }

.lm-foot-list { margin: 0; padding: 0; list-style: none; }
.lm-foot-list li { margin: 0 0 11px; }
.lm-foot-list a { color: rgba(255, 255, 255, 0.85); transition: color 0.18s ease; }
.lm-foot-list a:hover { color: var(--primary); }

.lm-foot-contact li { display: flex; align-items: center; gap: 10px; }
.lm-foot-ic { flex: 0 0 auto; display: inline-flex; color: var(--primary); }
.lm-foot-ic svg { width: 17px; height: 17px; }

.lm-chev { display: none; }  /* chevron only shows in the mobile accordion */

/* Desktop (≥768px): columns; sections always open, title not a toggle */
@media (min-width: 768px) {
	.lm-foot-sec > summary { margin: 0 0 18px; cursor: default; pointer-events: none; }
	.lm-foot-sec > *:not(summary) { display: block !important; }  /* force <details> content visible */
}

/* Mobile (≤767px): stacked native accordion */
@media (max-width: 767px) {
	.lm-footer { display: block; padding: 32px 0 20px; }
	.lm-foot-brand { max-width: none; margin: 0; padding-bottom: 24px; text-align: center; }
	.lm-foot-social { justify-content: center; }
	.lm-foot-sec { border-top: 1px solid rgba(255, 255, 255, 0.13); }
	.lm-foot-sec > summary {
		display: flex; align-items: center; justify-content: space-between;
		padding: 16px 2px; margin: 0; cursor: pointer;
	}
	.lm-chev { display: block; flex: 0 0 auto; width: 18px; height: 18px; color: rgba(255, 255, 255, 0.7); transition: transform 0.25s ease; }
	.lm-foot-sec[open] > summary .lm-chev { transform: rotate(180deg); }
	.lm-foot-sec > .lm-foot-list { padding: 0 2px 18px; }
}

/* Footer bottom bar — copyright, and the logos of the payment methods enabled now
   (footer-widgets.php lm_footer_payment_logos(); QA DEF-129, app repo docs/plans/148).
   The template's demo payment sprite was removed on 2026-11-05. */
.lm-foot-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.lm-foot-copy { color: rgba(255, 255, 255, 0.8); font-size: 13px; }
.lm-foot-pay { display: inline-flex; align-items: center; gap: 8px; }
.lm-foot-pay img { display: block; width: auto; height: 25px; border-radius: 0 !important; }
@media (min-width: 768px) {
	.lm-foot-pay { margin-right: 72px; } /* clear of the floating WhatsApp button (bottom right in both languages) */
}
@media (max-width: 767px) {
	.lm-foot-bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════════════════════════
   LAYMOUN HEADER ICON ROW (2026-07-05) — markup in the CHILD header-layout11.php
   override: language dropdown · search · account · cart, rendered in that order
   (no JS reordering). Icons are inline SVGs from lm_header_icon() (child
   functions.php) — real elements, so no icon-font conflict and no pseudo-element
   resets can touch them. No !important anywhere: this stylesheet loads AFTER the
   parent's, and every rule wins by cascade or specificity over the theme/
   Customizer legacy layers. Desktop row is scoped ≥992px; the badge and glyph
   sizing are global (the phone top bar shows the same cart). Moved here from
   the parent style.css so theme updates can't wipe it.
   ════════════════════════════════════════════════════════════════════════════ */

/* Inline-SVG glyphs — base size on every viewport (an SVG with no width/height
   would balloon to its container). Colour follows `color` via currentColor. */
.lm-hdr-svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* Cart: the bag is a real <svg> now — remove the old FontAwesome ::before
   glyph everywhere so it can never double-render. */
.header-right a.ftc-cart-tini.lm-cart-svg::before { content: none; }

/* Brand-yellow bag on EVERY viewport. The theme's base rule above
   (`.ftc-shop-cart .ftc-cart-tini { color:#fff }`) painted the mobile bag
   white; this later, more specific rule wins without !important. The desktop
   block below still turns it white on hover. */
.header-right .ftc-tini-cart a.ftc-cart-tini { color: #fff; }

/* Cart count badge — dibajj-style red bubble with a white number, pinned to
   the bag's top corner; ftc_cart_total() adds .lm-cart-empty when the cart is
   empty so it disappears (the AJAX fragment re-renders the same markup). The
   logical inset flips it to the outer corner in RTL automatically. */
.ftc-shop-cart .cart-item .cart-total {
	top: -9px;
	right: auto;
	left: auto;
	inset-inline-end: -11px;
	width: auto;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e8323c;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
}
.ftc-shop-cart .cart-item .cart-total.lm-cart-empty { display: none; }

/* Wishlist heart badge — same red bubble as the cart, pinned to the heart's
   top corner; .lm-wishlist-empty hides it at 0 (server-rendered + refreshed by
   header-wishlist-count.js). inset-inline-end flips to the outer corner in RTL. */
.header-right .lm-wishlist { position: relative; }
.header-right .lm-wishlist .wishlist-count {
	position: absolute;
	top: -9px;
	inset-inline-end: -11px;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e8323c;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
}
.header-right .lm-wishlist .wishlist-count.lm-wishlist-empty { display: none; }

/* Phones/tablets (≤991px): the top bar keeps the cart and — since 2026-08-16 —
   the SEARCH magnifier where the wishlist heart was (dibajj reference; the
   heart moved into the drawer menu's last row). The drawer owns account +
   language (language-switcher.js moves the switcher in). */
@media (max-width: 991px) {
	/* Taller bar (owner 2026-08-16: "more height, keep things vertically
	   centered") — was ~57px: the Customizer blob pins the mobile header at
	   7vh !important (.site-header / .header-content), so the body-prefixed
	   overrides below out-specify its ties. Flex centres the burger and the
	   icon row on the new middle line; the mobile logo is absolute at
	   top:50%/translateY(-50%), so it re-centres by itself. The search popup
	   reads the header's height at open, so it follows automatically. */
	body .site-header,
	body .site-header .header-content {
		height: auto !important;
		min-height: 72px !important;
	}
	/* The search bar is inside the header (docs/plans/95): the Customizer blob's
	   `display: flex` on .site-header would put it BESIDE the header row. Stack them. */
	body .site-header {
		flex-direction: column !important;
		align-items: stretch !important;
	}
	.site-header .header-content > .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 72px;
	}
	.header-right .lm-account { display: none; }
	.header-right .lm-lang-switcher { display: none; }
	.header-right .lm-wishlist { display: none; }
	/* The theme caps this box at 15% (≤480, responsive.css) / 20% (base) of the
	   header — one icon fit, two get crushed by flex-shrink. Size it to content
	   instead and keep the icons hugging the end edge. Safe: the mobile logo is
	   position:absolute-centered, so this box's width moves nothing else.
	   (.lm-header-right bumps specificity over responsive.css, which loads
	   after this sheet.) */
	.header-ftc .header-content .header-right.lm-header-right {
		width: auto;
		justify-content: flex-end;
	}
}

/* ── Desktop row (≥992px) ──────────────────────────────────────────────────── */
@media (min-width: 992px) {

.header-right.lm-header-right {
	display: flex;
	align-items: center;
	gap: 28px;                 /* measured on dibajj — one even rhythm */
}
/* The legacy Customizer layer forces 40×40 child boxes; content-size them and
   let `gap` be the single source of spacing. */
.header-right.lm-header-right > * { margin: 0; width: auto; height: auto; }

/* Icon links: centred flex boxes, brand yellow, white on hover. */
.header-right.lm-header-right .lm-account,
.header-right.lm-header-right .lm-wishlist,
.header-right.lm-header-right a.ftc-cart-tini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 0;
	color: #fff;
	text-decoration: none;
	transition: color 150ms ease;
}
.header-right.lm-header-right .lm-account:hover,
.header-right.lm-header-right .lm-wishlist:hover,
.header-right.lm-header-right a.ftc-cart-tini:hover { color: #f8d92e; }

/* The theme's intermediate wrappers add line-height/height offsets; flex-
   centre the chain so every glyph sits on the same vertical centre. */
.header-right.lm-header-right .ftc-search-product,
.header-right.lm-header-right .ftc-search-product .ftc_search_ajax,
.header-right.lm-header-right .ftc-shop-cart,
.header-right.lm-header-right .ftc-shop-cart .ftc-tini-cart,
.header-right.lm-header-right .ftc-shop-cart .cart-item {
	display: flex;
	align-items: center;
	line-height: 1;
}
.header-right.lm-header-right a.ftc-cart-tini { position: relative; } /* badge anchors to the bag */
}

/* Search — the theme keeps a ~22px sliver of input beside the magnifier and
   pins the button at top:13px; collapse the closed module to the 18px glyph
   (dibajj sizes the magnifier slightly under the bag/person) and centre it.
   The glyph is a mask with EXPLICIT colours: the Customizer layer pins button
   `color` with !important, so currentColor is not reliable here.
   GLOBAL (not desktop-only) since 2026-08-16: the phone top bar shows this
   same magnifier (it replaced the wishlist heart there). */
.header-right.lm-header-right .ftc-search-product { padding: 0; width: 18px; }
.header-right.lm-header-right .ftc-search-product .ftc-search,
.header-right.lm-header-right .ftc-search-product .ftc_search_ajax { width: 18px; }
.header-right.lm-header-right .ftc_search_ajax input {
	width: 0;
	min-width: 0;
	padding: 0;
	border: 0;
}
.header-right.lm-header-right .ftc-search-product .ftc_search_ajax {
	/* the mini input is retired (search popup, docs/37 §15) — with it hidden the
	   box collapsed to 0 and the absolutely-anchored icon slid 5px below its
	   siblings; static flow lets the icon row's own centering align it again */
	position: static;
}
.header-right.lm-header-right .ftc_search_ajax .search-button {
	position: static;
	top: auto;
	left: 0;
	right: auto;
	width: 18px;   /* the theme's 30px button overflowed the 18px module and ate the row gap */
	height: 18px;
	padding: 0;
	border: 0;
	display: block;
}
.header-right.lm-header-right .ftc_search_ajax .search-button::after {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background-color: #fff;
	transition: background-color 150ms ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='black' d='M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.header-right.lm-header-right .ftc_search_ajax .search-button:hover::after { background-color: #f8d92e; }
/* The Customizer blob's global `button:hover { background-color: var(--primary)
   !important }` painted this 18px icon-only button as a solid yellow square on
   hover (the magnifier itself also hovers to yellow — yellow on yellow, icon
   gone). The button box must stay invisible in every state: hover feedback is
   the glyph recolor above. Bare .ftc_search_ajax scope covers the drawer
   instance too; !important + higher specificity outguns the blob rule. */
.ftc_search_ajax .search-button,
.ftc_search_ajax .search-button:hover,
.ftc_search_ajax .search-button:focus,
.ftc_search_ajax .search-button:active {
	background: transparent !important;
}

/* Header search field (client feedback 10 #8, app repo docs/plans/79 §4 #8): a
   white pill in the icon row from 1350px, where the 🔍 was; the language
   switcher follows it. The menu is centred between two equal halves, so the
   row's half is only ~350px at 1280px: measured, the field fits (placeholder
   whole, 34px clear of the menu) from 1350px, 161px wide there, growing to
   240px. Below that, and on phones, the 🔍 icon stays. Focusing the field
   opens the search popup (js/lm-search-popup.js). Same !important traps as
   the popup's field: the theme styles every search input. */
.header-right.lm-header-right .lm-header-search {
	position: relative;
	display: block;
	flex: 1 1 240px;
	min-width: 150px;
	max-width: 240px;
	width: auto;
	margin: 0;
}
.header-right.lm-header-right .lm-header-search input[type="search"] {
	width: 100%;
	height: 38px;
	margin: 0;
	background: #fff !important;
	border: 1px solid #fff !important;
	border-radius: 19px !important;
	padding: 0 14px;
	padding-inline-end: 36px;
	font-size: 14px;
	line-height: 38px;
	color: #222;
	box-shadow: none !important;
}
.header-right.lm-header-right .lm-header-search input[type="search"]:focus {
	border-color: #f8d92e !important;
	outline: none;
}
.header-right.lm-header-right .lm-header-search input::placeholder {
	color: #767676;
	opacity: 1;
}
.header-right.lm-header-right .lm-header-search__submit,
.header-right.lm-header-right .lm-header-search__submit:hover,
.header-right.lm-header-right .lm-header-search__submit:focus {
	position: absolute;
	inset-inline-end: 0;
	top: 0;
	width: 36px;
	height: 38px;
	padding: 0;
	border: 0 !important;
	background: transparent !important; /* blob trap: global button:hover paints yellow */
	color: #222 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.header-right.lm-header-right .lm-header-search__submit svg {
	width: 16px;
	height: 16px;
}
/* Its live suggestions (owner 2026-10-20): the popup's list (same classes,
   js/lm-search-popup.js resultsHtml) in a card hanging under the box, from its
   start edge, over the page. */
.header-right.lm-header-right .lm-header-search__results {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	z-index: 1000;
	width: 380px;
	max-width: calc(100vw - 32px);
	max-height: min(70vh, 560px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: 8px;
	padding: 4px 10px 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
	text-align: start;
}
.header-right.lm-header-right .lm-header-search__results[hidden] { display: none; }
.lm-header-search__results mark {
	background: transparent;
	color: inherit;
	font-weight: 700;
	padding: 0;
}
/* blob-trap guard: the global a::after/::before underline animations */
.lm-header-search__results a::after,
.lm-header-search__results a::before {
	content: none !important;
}
@media (max-width: 1349px) {
	.header-right.lm-header-right .lm-header-search { display: none; } /* below 1350px the box would cover the menu: the bar under the header is used instead */
}
/* Below 1350px (phones, tablets, small laptops): the same box as a full-width
   bar under the header row (client feedback 10 round 2 q10). Since app repo
   docs/plans/95 (owner 2026-10-24) it sits INSIDE <header id="masthead">, after
   .header-ftc, so it moves with the header: on phones both scroll away (owner
   2026-10-23: nothing sticks on phones); at 992–1349px the header sticks and the
   bar with it, so the header can never cover it. It replaces the phone 🔍 (owner
   2026-10-20: one search on a small screen). 16px text, or iOS Safari zooms in
   on focus. */
.lm-header-searchbar { display: none; }
@media (max-width: 1349px) {
	.lm-header-searchbar {
		display: block;
		background: #186034;     /* the header's green, so it reads as part of it */
		padding: 0 16px 10px;
	}
	.lm-header-searchbar .lm-header-search {
		position: relative;
		display: block;
		width: 100%;
		margin: 0;
	}
	.lm-header-searchbar .lm-header-search input[type="search"] {
		width: 100%;
		height: 40px;
		margin: 0;
		background: #fff !important;
		border: 1px solid #fff !important;
		border-radius: 20px !important;
		padding: 0 14px;
		padding-inline-end: 40px;
		font-size: 16px;
		line-height: 40px;
		color: #222;
		box-shadow: none !important;
	}
	.lm-header-searchbar .lm-header-search input[type="search"]:focus {
		border-color: #f8d92e !important;
		outline: none;
	}
	.lm-header-searchbar .lm-header-search input::placeholder {
		color: #767676;
		opacity: 1;
	}
	.lm-header-searchbar .lm-header-search__submit,
	.lm-header-searchbar .lm-header-search__submit:hover,
	.lm-header-searchbar .lm-header-search__submit:focus {
		position: absolute;
		inset-inline-end: 0;
		top: 0;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0 !important;
		background: transparent !important; /* blob trap: global button:hover paints yellow */
		color: #222 !important;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
	.lm-header-searchbar .lm-header-search__submit svg {
		width: 18px;
		height: 18px;
	}
	.lm-header-searchbar .lm-header-search__results {
		position: absolute;
		top: calc(100% + 6px);
		inset-inline: 0;
		z-index: 1000;
		max-height: min(65vh, 520px);
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		border-radius: 8px;
		padding: 4px 10px 10px;
		box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
		text-align: start;
	}
	.lm-header-searchbar .lm-header-search__results[hidden] { display: none; }
}
@media (min-width: 1350px) {
	.header-right.lm-header-right .ftc-search-product { display: none; }
	/* the field is the row's one wide item: a tighter rhythm, and clear of the menu */
	.header-right.lm-header-right {
		gap: 20px;
		padding-inline-start: 24px;
	}
}

/* Phones/tablets (≤991px): the magnifier replaced the wishlist heart in the
   top bar (owner 2026-08-16) — same 42px touch box the heart had, glyph 20px
   like the bag. (.lm-header-right outguns responsive.css, which loads later.)
   Superseded 2026-10-20 (client feedback 10 round 2 q10, owner): the search
   bar under the header replaces this magnifier on phones, so it is hidden;
   its geometry rules below are kept for the day it comes back. */
@media (max-width: 991px) {
	.header-right.lm-header-right .ftc-search-product {
		/* !important: responsive.css (loads after us) hides this module three
		   ways on phones, one of them !important under 450px */
		display: none !important;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		flex: 0 0 auto;
		/* …and it also drags the module out of the icon row with leftovers from
		   the era when this box held a real input: top:35px (≤480), then
		   left:45px + float:left (≤375), which threw the magnifier onto the
		   logo. Same specificity as ours + loaded later, so: !important. */
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		float: none !important;
	}
	/* the flex-centring chain lives in the desktop block — rebuild it here, or
	   the glyph rides ~2px above the bag's centre. Every geometry prop is
	   !important: responsive.css loads LATE (after first paint), and its old
	   phone search-bar layout gives .ftc-search a fixed ~190px width and
	   floats the button left — the glyph slid out of the 40px module onto the
	   logo the moment that sheet arrived (owner: "correct at first load, then
	   it moves"). */
	.header-right.lm-header-right .ftc-search-product .ftc-search,
	.header-right.lm-header-right .ftc-search-product .ftc_search_ajax,
	.header-right.lm-header-right .ftc-search-product form {
		width: auto !important;
		max-width: none !important;
		position: static !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		margin: 0 !important;
		float: none !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.header-right.lm-header-right .ftc_search_ajax .search-button {
		float: none !important;
		position: static !important;
		margin: 0 !important;
	}
	/* 22px: the FA magnifier draws thinner than the bag — one size up reads as
	   the same visual weight as the 20px cart glyph */
	.header-right.lm-header-right .ftc_search_ajax .search-button,
	.header-right.lm-header-right .ftc_search_ajax .search-button::after {
		width: 22px;
		height: 22px;
	}
}

@media (min-width: 992px) {

/* Language dropdown — trigger shows the CURRENT language + a 12px chevron
   (dibajj: 16px / regular weight). The menu lists both languages: the current
   one is a plain <span> (not clickable), the other switches language. The
   drawer-only quick link is hidden on desktop. */
.header-right.lm-header-right .lm-lang-quick { display: none; }
.header-right.lm-header-right .lm-lang-dd { position: relative; }
.header-right.lm-header-right .lm-lang-dd summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	list-style: none;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	transition: color 150ms ease;
	-webkit-user-select: none;
	user-select: none;
}
.header-right.lm-header-right .lm-lang-dd summary::-webkit-details-marker { display: none; }
.header-right.lm-header-right .lm-lang-dd summary::marker { content: none; }
.header-right.lm-header-right .lm-lang-dd summary:hover { color: #f8d92e; }
.header-right.lm-header-right .lm-lang-dd .lm-hdr-chev {
	display: block;
	width: 12px;
	height: 12px;
	transition: transform 150ms ease;
}
.header-right.lm-header-right .lm-lang-dd[open] summary .lm-hdr-chev { transform: rotate(180deg); }
.header-right.lm-header-right .lm-lang-menu {
	position: absolute;
	inset-inline-start: 0;
	top: calc(100% + 14px);
	margin: 0;
	padding: 6px 0;
	list-style: none;
	min-width: 132px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
	z-index: 1000;
}
.header-right.lm-header-right .lm-lang-menu li { margin: 0; padding: 0; list-style: none; }
.header-right.lm-header-right .lm-lang-menu .lm-lang-opt {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}
.header-right.lm-header-right .lm-lang-menu a.lm-lang-opt:hover {
	background: #f5f6f2;
	color: #186034;
}
.header-right.lm-header-right .lm-lang-menu .lm-lang-opt--current {
	color: #a7ab9f;
	cursor: default;
}

} /* end ≥992px */

/* ════════════════════════════════════════════════════════════════════════════
   LAYMOUN MAIN NAV (2026-07-05) — current-page / hover underline, done right:
   drawn under the LABEL TEXT (not the item box), 2px brand yellow with a small
   offset. A transparent border is always reserved so nothing jumps on hover.
   Covers BOTH `current_page_item` (page items) and `current-menu-item` (the
   Arabic shop entry is a custom link and only ever gets the latter), so the
   English and Arabic menus behave identically — direction-agnostic by nature.
   Lives in the CHILD (loads after the parent) so the two neutralisers below
   win by cascade — no !important, and theme updates can't wipe any of it.
   ════════════════════════════════════════════════════════════════════════════ */
/* Neutralise the parent originals (same selectors, later stylesheet → wins):
   1) items were UPPERCASE (parent style.css ~1215) → capitalise;
   2) the old underline was a border on the whole ITEM BOX (parent ~2143) —
      wrong width/offset, missed current-menu-item, green-on-green in Arabic. */
.mega_main_menu.primary > .menu_holder > .menu_inner > ul > li > .item_link .link_text {
	text-transform: capitalize;
}
.mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current_page_item,
.mega_main_menu > .menu_holder > .menu_inner > ul > li:hover,
.mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current-menu-ancestor > .item_link {
	border-bottom: 0;
	margin-bottom: 0;
}
.header-layout11 .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li > .item_link .link_text {
	padding-top: 4px;              /* mirror the bottom reserve so the LABEL TEXT (not just its box) */
	padding-bottom: 4px;          /* centres vertically against the header-right icons — the yellow  */
	border-top: 2px solid transparent;    /* underline hangs below, which otherwise rides the text up ~6px */
	border-bottom: 2px solid transparent;
	transition: border-color 150ms ease;
}
.header-layout11 .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current-menu-item > .item_link .link_text,
.header-layout11 .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li.current_page_item > .item_link .link_text,
.header-layout11 .mega_main_menu.primary > .menu_holder > .menu_inner > ul > li:hover > .item_link .link_text {
	border-bottom-color: #f8d92e;
}

/* ════════════════════════════════════════════════════════════════════════════
   LAYMOUN HEADER HEIGHT (Feedback 1, desktop) — the parent sets .header-layout11
   .header-content to 20px top/bottom padding and lets the logo fill its 20%
   column (~63px tall), giving a ~103px bar — taller than the common desktop
   range. Trim to ~80px: 15px padding + logo capped at 50px. Desktop only
   (≥992px), so the mobile header is untouched; child loads after the parent so
   these win by cascade without !important.
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
	.header-layout11 .header-content {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.header-layout11 .logo-wrapper.is-desktop img {
		height: 50px;
		width: auto;
	}
}

/* ════════════════════════════════════════════════════════════════════════════
   WPBAKERY FULL-WIDTH ROWS — no-flash pre-stretch (Feedback 1)
   WPBakery stretches [data-vc-full-width] rows to the browser edges with JS that
   only runs on window.load; until then each row is container-width with
   overflow:hidden, so a full-bleed hero/section renders boxed-in for a beat then
   snaps wide (seen on the home, About and Contact heroes + home content bands).
   Pre-apply the same full-bleed here so it is right at first paint; !important
   keeps it identical before AND after the JS runs (no shift). Content is re-inset
   to the container width via symmetric padding — matching WPBakery's "stretch
   row" (content-contained) mode, which is what every full-width row here uses.
   ════════════════════════════════════════════════════════════════════════════ */
.vc_row[data-vc-full-width] {
	left: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: calc(50vw - 50%) !important;
	padding-right: calc(50vw - 50%) !important;
	box-sizing: border-box !important;
	overflow-x: hidden;
}
/* 100vw includes the scrollbar width, so a full-bleed row overflows the viewport
   by ~scrollbar px. Clip that on the content wrapper. `clip` (not `hidden`) does
   NOT create a scroll container, and this wraps only the content — it sits below
   #masthead, so the sticky header is untouched. */
.site-content-contain {
	overflow-x: clip;
}

/* ── Product cards: the "added to cart ✓" circle (2026-07-06) ─────────────────
   After a product is added, the theme hides the green bag button and shows the
   "View cart" link as a circle whose check mark is an ::after glyph. Two
   things kept that circle empty: a global `a::after {display:none !important}`
   in the DB Customizer CSS (narrowed there — patch #6, decisions log #10), and
   the glyph itself using `font-family: fontAwesome` — the FA4/FA6 conflict
   family that already broke the header icons. Draw the check with
   simple-line-icons instead: the same font the bag (\e04f) and eye icons use,
   so it renders everywhere the cards do (shop grid, related products,
   sliders). */
.woocommerce .ftc-product.product .item-description .meta_info .added_to_cart::after {
	content: "\e080";
	font-family: 'simple-line-icons';
}

/* Cart drawer close "×": the theme builds it from two rotated bars (a.close-cart
   ::before + ::after). The DB Customizer blob's `a:not(.added_to_cart)::after
   {display:none}` (patch #6) also hid the ::after bar, leaving a single "\"
   diagonal. Restore it so the two bars cross into an ×. The extra ancestor
   class out-specifies the blob rule (both are !important, equal without it and
   the blob loads later). (Owner 2026-07-06.) */
.ftc-off-canvas-cart a.close-cart::after {
	display: inline-block !important;
}

/* Cart drawer title + subtotal on Arabic: the theme leaves both LTR even on
   RTL pages (title text and the "Subtotal: price" row read left-to-right).
   Flip them under .rtl — the title reads from the right (its close × moves to
   the left/screen edge), and the subtotal label sits on the right with the
   price on the left. Scoped to .rtl so English is untouched; in style.css (not
   rtl.css) so it also covers the forced-Arabic cart/checkout pages. */
.rtl .ftc-off-canvas-cart .off-canvas-cart-title {
	direction: rtl;
}
.rtl .ftc-off-canvas-cart .off-canvas-cart-title .title {
	text-align: right;
}
/* The count is wrapped in "(" / ")" via ::before/::after. Under the RTL title
   those neutral brackets mirror to ") 5 (" — keep the number+brackets an LTR
   island so it reads "( 5 )". */
.rtl .ftc-off-canvas-cart .off-canvas-cart-title .total-count-cart {
	direction: ltr;
}
/* Tighten the counter: the theme reuses the round header badge here — a fixed
   30px box with the "(" / ")" ABSOLUTELY pinned to its left/right edges, so
   the number floated in the middle as "(  4  )". Let the box hug its content
   and drop the parens inline so it reads "(4)". Then add a touch of space
   between the title text and the counter. (Owner 2026-07-06.) */
.ftc-off-canvas-cart .off-canvas-cart-title .total-count-cart .cart-total {
	width: auto !important;
	/* render inline at the title's size so the counter shares the title text's
	   baseline (it was a block inside an inline-block, whose baseline sat at
	   its bottom — dropping the number below the title) and matches its size */
	display: inline !important;
	font-size: 16px;
	line-height: inherit;
	/* optical nudge: baselines match, but the title is all-caps (no descenders)
	   while the "(n)" parens dip below the baseline, so the count read a touch
	   low — lift it 1px to centre the caps/count optically */
	position: relative;
	top: -1px;
}
.ftc-off-canvas-cart .off-canvas-cart-title .total-count-cart .cart-total::before,
.ftc-off-canvas-cart .off-canvas-cart-title .total-count-cart .cart-total::after {
	position: static !important;
}
.ftc-off-canvas-cart .off-canvas-cart-title .total-count-cart {
	margin-inline-start: 7px;
	vertical-align: baseline;
}
.rtl .ftc-off-canvas-cart .woocommerce-mini-cart__total {
	direction: rtl;
	text-align: right;
}
.rtl .ftc-off-canvas-cart .woocommerce-mini-cart__total .amount {
	float: left;
}

/* Unify the drawer across every page. The panel's inner
   .woocommerce.widget_shopping_cart gets a 24px radius from a WooCommerce-
   context rule that only loads on body.woocommerce pages (cart/shop/product),
   so a rounded corner appeared on the cart page but not elsewhere. The
   off-canvas drawer is one shared component — keep it square everywhere.
   (Owner 2026-07-06.) */
.ftc-off-canvas-cart .widget_shopping_cart,
.ftc-off-canvas-cart .woocommerce.widget_shopping_cart,
.ftc-off-canvas-cart .widget_shopping_cart_content {
	border-radius: 0 !important;
}
/* Same unification: WooCommerce's own cart stylesheet (loaded only on
   body.woocommerce pages) puts 13.5px padding + 13.5px margin on the drawer's
   widget, opening a ~24px gap between the title and the first item on the cart
   page that isn't there elsewhere. Zero it so the drawer's top spacing is the
   same on every page (side/bottom spacing come from the panel, as on non-WC
   pages). */
.ftc-off-canvas-cart .woocommerce.widget_shopping_cart {
	margin: 0 !important;
	padding: 0 !important;
	/* the WC cart CSS also puts a top border on the widget, which blocks the
	   inner list's margin-top from collapsing away — that left ~10px extra on
	   the cart page. No border → same collapse as every other page. */
	border: 0 !important;
}

/* ── Quick View popup: summary spacing (2026-07-06) ───────────────────────────
   With the "Write your comment" link gone (child rating.php override), the
   green "In Stock" sat right on the title's descenders — give it air. The ID
   is prettyPhoto's own content container: its `#pp_full_res .pp_inline p`
   margin reset outranks any class-only selector, so the popup rule needs the
   same ID + more to win without !important. */
#pp_full_res .ftc-quickshop-wrapper .availability,
.ftc-quickshop-wrapper .summary .availability {
	margin-top: 12px;
}
/* Price rhythm: equal air above and below. The title's own 5px bottom margin
   collapses into the price's 14px top margin (14 wins), and the price's 14px
   bottom collapses with In Stock's 12px top — so both visual gaps land on
   14px exactly. */
#pp_full_res .ftc-quickshop-wrapper .summary .price,
.ftc-quickshop-wrapper .summary .price {
	margin-top: 14px;
	margin-bottom: 14px;
}

/* ── Product reviews: site font on the form (2026-07-06) ──────────────────────
   The parent gives the review-form labels Roboto Slab
   (`.woocommerce-tabs #review_form_wrapper #commentform label`, style.css:8564)
   and the "Reviews" heading falls to the generic Roboto-Slab h2. The old DB
   Customizer rule that forced Noto Sans here did it with a 2-ID selector +
   !important — which also out-ranked the Arabic Cairo sweep in rtl.css, so
   Arabic labels (تقييمك / مراجعتك / الاسم…) rendered off-font. That rule is
   deleted at the source (blob patch #7, decisions log #11); these same-
   specificity, no-!important copies keep the English look, and Arabic now
   falls through to the rtl.css Cairo sweep. */
.woocommerce-tabs #review_form_wrapper #commentform label {
	font-family: 'Noto Sans', sans-serif;
}
h2.woocommerce-Reviews-title {
	font-family: 'Noto Sans', sans-serif;
}

/* ── Contact form (CF7) submit spinner, in-button (2026-07-06) ────────────────
   While a CF7 form submits, the plugin shows span.wpcf7-spinner — by default a
   dark 24px ball beside the button, and the DB Customizer blob additionally
   floated it to the far right edge (rule deleted at the source, blob patch #8,
   decisions log #13). Owner's spec: the spinner is a white ring INSIDE the
   submit button, next to its text, and the button is disabled while sending.

   Geometry: CF7 injects the span right after the input at page load with
   visibility:hidden — hidden but still 88px of inline space (40px + margins),
   which is what pushed the button off-centre. Cure: the span's start margin
   cancels its own width (net inline footprint = 0 at every state), and the
   ring is drawn by ::before pulled INTO the button's end padding. While
   form.submitting the button widens its end padding to make room beside the
   text. Logical properties throughout, so Arabic mirrors on its own. The ring
   reuses CF7's own `spin` keyframes. */
.wpcf7-spinner {
	background: none;
	opacity: 1;
	width: 44px;
	height: 20px;
	margin: 0;
	margin-inline-start: -44px; /* net-zero footprint: keeps the button centred */
	vertical-align: middle;
	pointer-events: none;
}
.wpcf7-spinner::before {
	background: none;
	top: 50%;
	left: auto;
	inset-inline-end: 18px; /* hug the text (10px gap), not the button edge */
	width: 16px;
	height: 16px;
	margin-top: -10px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	transform-origin: 50% 50%;
}
form.wpcf7-form.submitting .wpcf7-submit {
	padding-inline-end: 48px; /* room for the ring beside the text */
	pointer-events: none;     /* disabled while sending */
	opacity: 0.9;
}
/* The theme gives every .wpcf7 p an asymmetric side margin, so even a
   perfectly text-align:centered button sat ~15px off the column centre.
   Neutralised for the submit row only. */
.wpcf7 form p:has(> .wpcf7-submit) {
	margin-inline: 0;
}

/* ── Product review form submit: match the contact form's button ─────────────
   Same colours/radius/font already, but the theme sizes it small
   (8.65px/14px padding) and starts it at the text edge. Owner: same size as
   the contact "Send message" button, centred. */
.woocommerce #review_form #respond .form-submit {
	text-align: center;
	/* air above إرسال / Submit — it sat 10px under the consent row (owner
	   request 2026-07-06); an ID-less selector loses to the theme's margin
	   reset, hence it lives on this one */
	margin-top: 16px;
}
.woocommerce #review_form #respond .form-submit input#submit {
	padding: 15px 30px;
	line-height: 14px;
	float: none;           /* the theme floats it left, which defeats centring */
	display: inline-block;
}

/* ── Share rows (owner, 2026-07-06) ───────────────────────────────────────────
   Every share row in the parent theme (product page hooks.php, blog posts
   single-content.php, portfolio) prints the same ul.ftc-social-sharing with
   one li per network. Owner keeps Facebook, Twitter/X and Pinterest; Google+
   is defunct and stays hidden. The div.product variant out-ranks the parent's
   `div.product .social-sharing li { display:inline-block }` on product pages;
   the bare one covers blog/portfolio. */
.ftc-social-sharing li.google-plus,
div.product .social-sharing li.google-plus {
	display: none;
}
/* Twitter rebranded to X: Font Awesome 4 predates the X logo, so the old
   bird glyph (i.fa-twitter ::before) is redrawn as an X mask filled with
   currentColor — it keeps whatever colour/hover the theme gives the link. */
.ftc-social-sharing li.twitter i.fa-twitter::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/></svg>") no-repeat center / contain;
}

/* Quick View popup: the product title is a link (it goes to the product page),
   so the theme's global `a:hover` paints it --primary yellow on hover — odd on
   a heading. Use the brand green (--secondary) like the other product accents.
   (Owner call 2026-07-06: green is the working brand colour; yellow stays the
   site-wide link-hover accent elsewhere.) */
.ftc-quickshop-wrapper .product_title a:hover,
.products .product h3.product-name a:hover {
	color: var(--secondary);
}

/* ── Sticky header: same height as the resting header (2026-07-06) ────────────
   On scroll the theme's JS adds .header-sticky-mobile to .header-ftc (all
   widths, despite the name), and the parent bumps layout11's padding from
   20px (style.css:17901) to 25px (17904) — so the fixed bar rode 10px taller
   than the real header. Same selector here, child loads later, so the
   resting padding wins in the sticky state too.
   From 992px the resting padding is not 20px (docs/plans/95, measured
   2026-10-24): 25px 0 at 992–1199px (responsive.css) and 15px 0 at 1200px+
   (parent style.css). 20px there made the sticky header 10px shorter or
   taller the moment the class toggled, and the search bar inside it jumped.
   Top and bottom only: a `15px` shorthand added 15px on both sides too, and
   the logo, menu and icons moved inward on every scroll (app repo plan 113 #3). */
.header-layout11.header-sticky-mobile .header-content {
	padding: 20px 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
	.header-layout11.header-sticky-mobile .header-content { padding: 25px 0; }
}
@media (min-width: 1200px) {
	.header-layout11.header-sticky-mobile .header-content { padding: 15px 0; }
}

/* ── Product page — "Shipping & Delivery" tab on phones (2026-07-06) ──────────
   The tab's delivery photos sat flush on the "Availability and delivery"
   heading once the content stacks. The margin lives on the photos themselves
   because the two languages build this tab differently: EN puts them in the
   left builder column, AR puts everything in one column — a column-level
   margin missed the Arabic layout entirely (owner caught it). Desktop keeps
   the side-by-side columns, so this is phone-only. */
@media (max-width: 767px) {
	#tab-ftc_custom .ftc-smooth-image {
		margin-bottom: 18px;
	}
}

/* Shipping & Delivery tab: the theme zeroes list padding, so the "Missing
   orders" bullets sat flush at the text edge with the marker overflowing
   outside — indent the list so the bullets hang in a gutter under the
   heading. `padding-inline-start` keeps it correct in both directions
   (bullets on the right in Arabic, left in English). (Owner 2026-07-06.) */
#tab-ftc_custom ul {
	list-style: disc;
	padding-inline-start: 1.4em;
	margin: 8px 0 0;
}
#tab-ftc_custom ul li {
	margin-bottom: 6px;
	line-height: 1.7;
}


/* ── Review form: consent label on phones/tablets (2026-07-06) ────────────────
   Replaces the DB Customizer rule deleted in blob patch #8 (it used
   !important, which also beat the Arabic right-align in rtl.css). English
   keeps the left-aligned sentence; rtl.css flips it for Arabic. */
@media (max-width: 991px) {
	.comment-form-cookies-consent label {
		text-align: left;
	}
}

/* ── Review form: per-field validation tips (owner call 2026-07-06) ───────────
   Red message under the invalid field — the same pattern as the contact
   form's per-field errors (and the same red CF7 uses), replacing the earlier
   top-of-form error list and WooCommerce's window.alert() for the rating
   (muted in functions.php). Injected by js/review-form.js. */
.lm-field-tip {
	display: block;
	margin-top: 6px;
	color: #dc3232;
	font-size: 14px;
	line-height: 1.5;
}

/* ── Reviews list: date under the reviewer's name (QA 2026-07-06) ─────────────
   WooCommerce prints "name – date" inline, which wraps awkwardly in the
   narrow review column. Stack them: name on its own line, dash dropped, the
   date beneath in the muted small style. Direction-agnostic — Arabic gets the
   same stack. */
.woocommerce #reviews .comment-text .meta .woocommerce-review__author {
	display: block;
}
.woocommerce #reviews .comment-text .meta .woocommerce-review__dash {
	display: none;
}
.woocommerce #reviews .comment-text .meta .woocommerce-review__published-date {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #999;
}

/* ── Reviews list: compact card layout (owner call 2026-07-06) ────────────────
   The theme's card floated the stars off on their own detached row (LEFT even
   in RTL), pinned the avatar OUTSIDE at the corner, gave the text box its own
   border INSIDE the already-carded tab panel, had no bottom padding (a 20px
   star margin faked it) and let dead space collect between the pieces.
   Rebuild flat: avatar at the start edge, then a tight column — reviewer,
   date, stars, review text — with a light divider between reviews instead of
   nested boxes. Selectors mirror the theme's 2-ID strength
   (#reviews #comments ol.commentlist) so these win by load order without a
   blanket !important; flex/gap/order are direction-agnostic, so the Arabic
   card mirrors cleanly. */
.woocommerce #reviews #comments ol.commentlist li {
	margin: 0 0 16px;
}
.woocommerce #reviews #comments ol.commentlist li + li {
	border-top: 1px solid #ececec;
	padding-top: 16px;
}
.woocommerce #reviews #comments ol.commentlist li .comment_container {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 0;
	border: 0;
	background: transparent;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	position: static;
	float: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	flex: 0 0 auto;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
	margin: 0;   /* the theme reserved 50px for the pinned avatar */
	padding: 0;
	border: 0;
	border-radius: 0;
	text-align: start;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .meta {
	order: 1;
	margin: 0;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
	order: 2;
	float: none;
	margin: 4px 0;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .description {
	order: 3;
	margin: 0;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text .description p:last-child {
	margin-bottom: 0;
}

/* ── Product rating summary row (owner report 2026-07-06) ─────────────────────
   Under the product title, the theme floated the stars to one side and let
   the review-count text drift to the other edge of the column — they belong
   side by side. Flex + gap is direction-aware: Arabic starts the pair from
   the right. */
.woocommerce div.product .summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}
.woocommerce div.product .summary .woocommerce-product-rating .star-rating {
	float: none;
	margin: 0;
	/* the theme crops the box to exactly 1em with overflow:hidden — the star
	   glyphs draw taller than the em box, shaving the points' bottoms. The
	   line-height must STAY 1em (a bigger one sinks the glyph baseline with
	   it); the extra box height below the line gives the points room. */
	height: 1.4em;
	line-height: 1;
	/* the theme fixes the box at 69px but the five WooCommerce-font glyphs
	   ink only ~58px (1.053em advance each) — the percentage fill then cuts
	   INSIDE a star instead of on its edge, painting a wedge of the "empty"
	   colour. Box = exact ink width, so fills land on star boundaries. */
	width: 5.27em;
	/* optical centring. Baseline alignment can't work here: with
	   overflow:hidden the flex baseline is synthesized from the BOX BOTTOM,
	   not the glyphs. Box centring is off too — the star ink rides high in
	   its padded box while the count's ink sits low in its line box. Delta
	   computed from both fonts' canvas ink metrics: 2.2px. */
	transform: translateY(2.2px);
}
.woocommerce div.product .summary .woocommerce-product-rating .star-rating span {
	line-height: 1;
}
/* the count inherits the row's 12px line-height under a 15px font — the
   parentheses' descenders hung below the line box and clipped */
.woocommerce div.product .summary .woocommerce-product-rating .count-badge {
	line-height: 1.4;
}
/* the clearfix ::before/::after become zero-width FLEX ITEMS inside the flex
   row — the leading one picked up a column-gap of its own and shifted the
   stars off the title's start line */
.woocommerce div.product .summary .woocommerce-product-rating::before,
.woocommerce div.product .summary .woocommerce-product-rating::after {
	display: none;
}

/* Empty star portion: the theme's generated main-colour list paints the BASE
   star glyphs brand green under the yellow fill — a 4/5 rating showed the
   fifth star's tail in green ("a little part in a different colour"). Empty
   stars read as neutral gray everywhere stars render (title summary, review
   cards, shop cards, popup). `body`-prefixed to out-rank the generated
   inline sheet, which loads after this file. */
body .star-rating::before,
body .woocommerce .star-rating::before,
body .pp_woocommerce .star-rating::before,
.woocommerce div.product .star-rating::before {
	color: #d9d9d9;
}

/* ── Description tab: collapsible "Additional info" (owner 2026-07-06) ─────────
   The standalone Additional Information tab was removed (functions.php); its
   data now lives as a closed-by-default <details> disclosure at the end of the
   Description tab. Compact toggle with a green chevron; opens to a bulleted
   "Label: value" list. Direction-agnostic — the list bullets and chevron sit
   at the reading start/end automatically under RTL. */
.lm-extra-info {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid #ececec;
}
.lm-extra-info > summary {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	font-weight: 700;
	color: #333;
	user-select: none;
}
.lm-extra-info > summary::-webkit-details-marker {
	display: none;
}
.lm-extra-info > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: -3px;
	border-right: 2px solid var(--secondary);
	border-bottom: 2px solid var(--secondary);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.lm-extra-info[open] > summary::after {
	transform: rotate(-135deg);
	margin-top: 2px;
}
.lm-extra-info__list {
	margin: 14px 0 0;
	padding-inline-start: 20px;
	list-style: disc;
}
.lm-extra-info__list li {
	margin: 0 0 7px;
	line-height: 1.7;
	color: #333;
}
.lm-extra-info__list li::marker {
	color: var(--secondary);
}
.lm-extra-info__label {
	font-weight: 600;
	text-transform: capitalize;   /* the raw attribute name is lowercase ("origin"); no effect on Arabic */
}

/* ═══════════════════════════════════════════════════════════════════════════
   Cart page redesign — two clean cards (owner 2026-07-06, dibajj reference)
   ───────────────────────────────────────────────────────────────────────────
   LEFT card  = form.woocommerce-cart-form: "Shopping Bag (n)" heading
   (functions.php → woocommerce_before_cart_table), then one borderless grid
   row per product:  [ image | title + variants, Remove pinned to the image's
   bottom line | line-total top-end, qty stepper bottom-end ].  No table
   chrome: the header row, the unit-price column and td.actions are hidden —
   the hidden td.actions still carries the form nonce inputs (they submit
   fine), the coupon moved to the totals card, and Update-cart is obsolete
   because the theme AJAX-updates on every quantity change.
   RIGHT card = .cart_totals: flat subtotal / shipping / total rows (the pill
   look is gone), stacked full-width buttons, then a coupon mini-form
   (functions.php → woocommerce_after_cart_totals).
   Removed at source in the Customizer blob (backup in scratchpad, decisions
   log #17): the one-big-card `.woocommerce-cart .woocommerce` wrapper, the
   cart-table outline, the totals pill radii, and the global
   `td.product-name > a:first-child { display:flex; height:15vh }` rule that
   served the old layout.
   Grid + logical properties (start/end, flex-start) keep every rule
   direction-agnostic — the forced-Arabic `rtl` body needs nothing in rtl.css.
   !important where the parent pins its own cart layout (flex cells, 30% link
   caps, WooCommerce's ≤768px stacked-table rules); tr/td in the paths buy the
   specificity to beat woocommerce-smallscreen.css cleanly. */

/* — Page: two columns ≥992px (products 1fr | summary 380px), stacked below.
     :has() scopes this to the real cart layout — the off-canvas drawer widget
     on this page also carries .woocommerce, and an empty cart (no form) keeps
     the plain single column. */
body.woocommerce-cart div.woocommerce:has(> form.woocommerce-cart-form) {
	max-width: 1200px;
	margin: 32px auto 64px;
}
@media (min-width: 992px) {
	body.woocommerce-cart div.woocommerce:has(> form.woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		column-gap: 28px;
		row-gap: 0;   /* the notices row is usually empty — no phantom gap */
		align-items: start;
	}
	body.woocommerce-cart div.woocommerce:has(> form.woocommerce-cart-form) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
}

/* — Empty cart (an empty-cart checkout visit redirects here too): the page
     margins above are scoped to the cart layout via :has(form), so the empty
     state hugged the header; and Return-to-shop rendered as a mini pill —
     size it like the site's standard buttons. */
body.woocommerce-cart div.woocommerce:has(> .wc-empty-cart-message),
body.woocommerce-cart div.woocommerce:has(> p.cart-empty) {
	max-width: 1200px;
	margin: 44px auto 72px;
}
body.woocommerce-cart .return-to-shop {
	margin: 24px 0 0;
}
body.woocommerce-cart .return-to-shop a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 30px !important;
	font-size: 14px;
}
body.woocommerce-cart .return-to-shop a.button:hover {
	background: var(--primary, #f8d92e) !important;
	color: var(--secondary, #186034) !important;
}

/* links inside notice bars ("Sorry, your session has expired. Return to
   shop") — brand link, not the theme's plain gray underline */
.woocommerce-error a.wc-backward,
.woocommerce-info a.wc-backward,
.woocommerce-message a.wc-backward,
.woocommerce-NoticeGroup a.wc-backward {
	color: var(--secondary, #186034) !important;
	font-weight: 600;
	text-decoration: underline;
	margin-inline-start: 6px;
}
.woocommerce-error a.wc-backward:hover,
.woocommerce-info a.wc-backward:hover,
.woocommerce-message a.wc-backward:hover,
.woocommerce-NoticeGroup a.wc-backward:hover {
	color: #4a8004 !important;
}

/* — The two cards. (`div.woocommerce` in the form's path: the parent's
     responsive.css zeroes `.woocommerce-cart .woocommerce .woocommerce-cart-form`
     padding at ≤991px with 3-class specificity.) */
body.woocommerce-cart div.woocommerce form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 16px;
	padding: 24px 28px 28px;
}
@media (max-width: 991px) {
	body.woocommerce-cart div.woocommerce form.woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals .cart_totals {
		padding: 18px 16px 22px;
	}
	body.woocommerce-cart .cart-collaterals {
		margin-top: 24px;
	}
}

/* — Left card heading ("Shopping Bag (n)", functions.php). */
.lm-cart-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #222;
}

/* — Kill the table chrome. */
body .woocommerce-cart-form table.shop_table {
	border: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}
body .woocommerce-cart-form table.shop_table,
body .woocommerce-cart-form table.shop_table tbody {
	display: block;
	width: 100%;
}
body .woocommerce-cart-form table.shop_table thead {
	display: none !important;
}
body .woocommerce-cart-form table.shop_table tr td {
	display: block;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	text-align: start !important;
}
body .woocommerce-cart-form table.shop_table tr td::before {
	display: none !important;   /* WC smallscreen data-title labels */
}
body .woocommerce-cart-form table.shop_table tr td.actions {
	display: none !important;
}
/* the old × column stays gone (its Remove lives under the title instead) */
.woocommerce-cart-form th.product-remove,
.woocommerce-cart-form td.product-remove {
	display: none !important;
}

/* — One product per row: image | text | price/qty. The image spans all three
     grid rows and sets the row height; the middle 1fr row absorbs the slack so
     the Remove link and qty stepper sit on the image's bottom line. */
body .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item {
	display: grid !important;
	grid-template-columns: 220px minmax(0, 1fr) auto;   /* image ≈30% of the card, dibajj proportion */
	grid-template-rows: auto 1fr auto;
	column-gap: 24px;
	margin: 0 !important;
	padding: 22px 0 !important;
	border: 0 !important;
	background: transparent !important;   /* theme stripes even rows */
	width: 100%;
	box-sizing: border-box;
}
body .woocommerce-cart-form table.shop_table tr.cart_item + tr.cart_item {
	border-top: 1px solid #f0f0f0 !important;
}

body .woocommerce-cart-form table.shop_table tr td.product-thumbnail {
	grid-column: 1;
	grid-row: 1 / span 3;
	display: block !important;   /* blob flex-centers it for the old look */
	width: auto !important;
	max-width: none !important;
}
body .woocommerce-cart-form table.shop_table tr td.product-thumbnail a {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}
body .woocommerce-cart-form table.shop_table tr td.product-thumbnail img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 10px;
}

/* NOTE on the three content cells: grid-item ALIGNMENT (justify-self / auto
   margins) is inert on these tds — the browser's table fixup around the
   grid-displayed <tr> centres the shrunk boxes no matter what. Placement
   (grid-column/row) works fine, so each cell instead FILLS its grid area
   (width:100%) and aligns its own content internally, which behaves. */
body .woocommerce-cart-form table.shop_table tr td.product-name {
	grid-column: 2;
	grid-row: 1 / span 3;
	width: 100% !important;
	height: 100% !important;   /* the alignment quirk also centres the cell
	                              VERTICALLY when shorter than the image — this
	                              makes the cell's bottom = the image's bottom */
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;   /* inline-start — flips with RTL */
	justify-content: flex-start !important;
	gap: 4px;
	min-width: 0;
	position: relative;             /* anchor box for the absolute Remove link */
	padding-bottom: 20px !important;   /* keeps long titles off the Remove strip */
}
/* title link: pin back to a plain inline link (the parent caps it at 30%
   width for its old two-column cell) */
body .woocommerce-cart-form table.shop_table tr td.product-name > a:not(.remove) {
	display: inline-block !important;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	text-align: start !important;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}
/* variation lines under the title, one "Label: value" per line */
body .woocommerce-cart-form table.shop_table tr td.product-name dl.variation {
	margin: 2px 0 0 !important;
	font-size: 13px;
	color: #777;
}
body .woocommerce-cart-form table.shop_table tr td.product-name dl.variation dt,
body .woocommerce-cart-form table.shop_table tr td.product-name dl.variation dd {
	display: inline !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400;
}
body .woocommerce-cart-form table.shop_table tr td.product-name dl.variation dd::after {
	content: "";
	display: block;
}
body .woocommerce-cart-form table.shop_table tr td.product-name dl.variation dd p {
	display: inline;
	margin: 0;
}
/* Remove — small text link on the image's exact bottom line (markup injected
   in functions.php; still AJAX via WooCommerce's .product-remove > a handler).
   Absolutely positioned at the cell's bottom-start corner: the wrapper span
   kept line-box air under the anchor, and as a flex child the anchor box was
   re-centred by the same alignment quirk as the cells — absolute positioning
   with logical insets is immune to both and mirrors in RTL. The span itself
   dissolves (display:contents); the cell reserves padding-bottom for the
   link so long titles can't run into it. */
.woocommerce-cart-form td.product-name .lm-inline-remove {
	display: contents;
}
.woocommerce-cart-form td.product-name .lm-inline-remove a.remove {
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none !important;
	border: 0 !important;         /* the theme's round-× badge border showed as */
	box-shadow: none !important;  /* a faint pill around the word */
	outline: 0;
	border-radius: 0;
	color: #999;
	font-size: 12px !important;
	font-weight: 400;
	line-height: 1;
	text-decoration: underline;
}
.woocommerce-cart-form td.product-name .lm-inline-remove a.remove:hover {
	color: #c0392b;
	background: none !important;
}

/* unit price column hidden — the line total (top-end) is the price shown */
body .woocommerce-cart-form table.shop_table tr td.product-price {
	display: none !important;
}

/* The unit price of a line sold by a unit, "AED 12.00 / kg" (QA DEF-031, app repo docs/plans/132):
   under the name on the cart page, under the line total in the checkout's "Your order". Small and
   light, so the line total stays the price that counts; the price keeps the store's green and the
   unit its grey, as in the drawer and on the product cards. */
.lm-line-unit-price {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #777;
	white-space: nowrap;
}
.lm-line-unit-price .woocommerce-Price-amount,
.lm-line-unit-price .woocommerce-Price-amount bdi {
	font-size: inherit !important;
	font-weight: inherit !important;
}
.lm-line-unit-price .laymoun-unit-suffix {
	font-size: inherit;
}

body .woocommerce-cart-form table.shop_table tr td.product-subtotal {
	grid-column: 3;
	grid-row: 1;
	width: 100% !important;
	text-align: end !important;   /* content-aligns; the box itself won't budge */
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

body .woocommerce-cart-form table.shop_table tr td.product-quantity {
	grid-column: 3;
	grid-row: 3;
	width: 100% !important;
	display: flex !important;
	justify-content: flex-end !important;
	align-items: flex-end;
}
body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity-title {
	display: none !important;   /* theme's "Quantity:" label — design has none */
}
body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity {
	margin: 0 !important;
}

/* — Right card: flat rows, no pills. */
.cart-collaterals .cart_totals > h2 {
	display: none;   /* the card reads fine without a "Cart totals" heading */
}
body .cart-collaterals .cart_totals table.shop_table {
	border: 0 !important;
	margin: 0 0 18px !important;
	background: transparent !important;
	border-radius: 0 !important;
}
body .cart-collaterals .cart_totals table.shop_table,
body .cart-collaterals .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr {
	display: flex !important;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin: 0 !important;
	padding: 15px 2px !important;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #f0f0f0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr:last-child {
	border-bottom: 0 !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr th,
body .cart-collaterals .cart_totals table.shop_table tbody tr td {
	display: block !important;
	width: auto !important;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr th {
	flex: 0 0 auto;
	text-align: start !important;
	font-size: 15px;
	font-weight: 500;
	color: #444;
	white-space: nowrap;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr td {
	flex: 1 1 auto;
	min-width: 0;
	text-align: end !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr td::before {
	display: none !important;   /* WC smallscreen data-title labels */
}
/* shipping row: the "options will be updated during checkout" note starts at
   the same point as the row's label (owner). The value cell dissolves
   (display:contents) so the label, the method value and the note share the
   row's wrapping flex context: label + value on line 1, the note on its own
   full-width line below, reading from its language's start. */
body .cart-collaterals .cart_totals table.shop_table tbody tr.woocommerce-shipping-totals {
	flex-wrap: wrap;
	row-gap: 6px;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr.woocommerce-shipping-totals td {
	display: contents !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr.woocommerce-shipping-totals td ul#shipping_method {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	text-align: end;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr.woocommerce-shipping-totals td p.woocommerce-shipping-destination {
	flex: 0 0 100%;
	width: 100%;
	margin: 0 !important;
	text-align: start !important;
}
body .cart-collaterals .cart_totals table.shop_table tbody tr.order-total th,
body .cart-collaterals .cart_totals table.shop_table tbody tr.order-total td .amount {
	font-size: 18px;
	font-weight: 700;
	color: #222;
}

/* checkout + continue shopping: stacked, full width */
body .cart_totals .wc-proceed-to-checkout {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}
body .cart_totals .wc-proceed-to-checkout a.button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	min-height: 50px;
	box-sizing: border-box;
	text-align: center;
}

/* coupon mini-form (functions.php) under the buttons. Its input id is
   lm_coupon_code on purpose: the blob pins #coupon_code to 38px. Selectors
   are unscoped (.lm-coupon is ours alone) and tag-free: the cart renders a
   <form>, the checkout a <div> (nested forms get parser-stripped). */
.lm-coupon {
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
}
/* the a11y label must not become a third flex child (it ate the old coupon
   row's width the same way) */
.lm-coupon .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0);
}
.lm-coupon input.input-text {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px !important;
	padding: 0 16px;
	border: 1px solid #ddd;
	border-radius: var(--radius, 24px);
	background: #fff;
	box-sizing: border-box;
}
.lm-coupon button.button {
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center;
	height: 46px !important;
	min-height: 46px !important;
	padding: 0 20px !important;
	white-space: nowrap;
	background: var(--secondary, #186034) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--radius, 24px);
}
.lm-coupon button.button:hover {
	background: var(--primary, #f8d92e) !important;
	color: var(--secondary, #186034) !important;
}
/* inline coupon validation (functions.php AJAX): plain text under the coupon
   row — inherits the card's font (QA: the theme's top banner didn't match),
   reads from the language's start, red like the field's error border. The
   green .lm-ok state is the checkout success line ("Coupon code applied"). */
.lm-coupon-msg {
	margin: 8px 2px 0;
	font-size: 13px;
	line-height: 1.5;
	color: #c0392b;
	text-align: start;
}
.lm-coupon-msg:empty {
	display: none;
}
.lm-coupon-msg.lm-ok {
	color: var(--secondary, #186034);
}
.lm-coupon input.lm-field-bad {
	border-color: #c0392b !important;
}
/* applied-coupon row (markup rebuilt in functions.php): the "-x,xx" reads as
   one green unit — the bare minus used to drift in RTL — and the remove link
   matches the product rows' quiet Remove. Same row renders in the checkout
   order table (shared filter), so both tables are covered. */
.cart_totals tr.cart-discount .lm-discount,
.woocommerce-checkout-review-order-table tr.cart-discount .lm-discount {
	color: var(--secondary, #186034);
	font-weight: 600;
	white-space: nowrap;
}
.cart_totals tr.cart-discount .woocommerce-remove-coupon,
.woocommerce-checkout-review-order-table tr.cart-discount .woocommerce-remove-coupon {
	display: inline-block;
	margin-inline-end: 10px;   /* link sits inward, amount on the end edge */
	font-size: 12px;
	color: #999;
	text-decoration: underline;
}
.cart_totals tr.cart-discount .woocommerce-remove-coupon:hover,
.woocommerce-checkout-review-order-table tr.cart-discount .woocommerce-remove-coupon:hover {
	color: #c0392b;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Checkout column polish (owner 2026-07-06)
   ───────────────────────────────────────────────────────────────────────────
   The coupon prompt bar is gone (moved into the order column — functions.php);
   the login prompt is back for signed-out visitors (QA DEF-103, app repo
   docs/plans/148), so for a signed-in customer the billing + order cards start
   the page. "Your order" now sits INSIDE a card wrapping the review table,
   the way "Billing details" sits inside its own card; the coupon renders as
   its own matching card between the order card and the payment box. Card
   look copied from the billing card (1px #e5e5e5, radius 24). */
body.woocommerce-checkout.logged-in .checkout-login-coupon-wrapper {
	display: none;   /* empty when signed in (coupon prompt unhooked, login prompt guests only); the blob pads it */
}
/* The login prompt alone takes the row (the parent gives it half, beside the coupon prompt). */
body.woocommerce-checkout .checkout-login-coupon-wrapper .woocommerce-form-login-toggle {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.lm-order-review-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	padding: 20px 15px 10px;
	margin-bottom: 25px;
}
/* the adopted heading (moved in by JS) gets billing-heading-like insets */
.lm-order-review-card #order_review_heading {
	margin: 0 15px 5px;
}
/* the wrapper owns the card look — the table inside goes flat */
.lm-order-review-card .woocommerce-checkout-review-order-table {
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}
/* "The delivery fee is added after you choose your location on the map." — only before the
   pin (functions.php; QA DEF-130 b, app repo docs/plans/148). Small print under Subtotal. */
.woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.lm-fee-note td {
	padding: 10px 0;
	color: #666;
	font-size: 13px;
	line-height: 1.5;
	text-align: start;
}
.lm-checkout-coupon {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	padding: 16px 20px 18px;
	margin: 0 0 25px;
}
.lm-checkout-coupon .lm-coupon {
	margin: 0;
}

/* — Alignment round (owner 2026-07-06 #2) — */

/* the two cards and their headings start LEVEL at the top of the page: the
   billing card carried a 10px top margin, and its heading a 20px top margin
   (order side: flush card + 20px padding + margin-0 heading = heading at
   card-top + 20 — mirror that exactly on the billing side: 15px card padding
   + 5px heading margin) */
body.woocommerce-checkout .woocommerce-billing-fields {
	margin-top: 0 !important;
}
body.woocommerce-checkout .woocommerce-billing-fields > h3 {
	margin-top: 5px !important;
}

/* applied-coupon row in the order table: air above the row (its th had no
   top padding), label and value vertically level (the td's own padding sat
   its content lower), and the value block on the END edge with zero side
   padding — the discount amount joins the prices column exactly (subtotal
   td: padding 15px 0, align right). text-align:start on the th also fixes
   the Arabic "قسيمة" label hugging the wrong side. */
.woocommerce-checkout-review-order-table tr.cart-discount th,
.woocommerce-checkout-review-order-table tr.cart-discount td {
	padding: 14px 0 15px !important;
	vertical-align: middle !important;
}
.woocommerce-checkout-review-order-table tr.cart-discount th {
	text-align: start !important;
}
.woocommerce-checkout-review-order-table tr.cart-discount td {
	text-align: end !important;
}

/* payment methods: the option boxes sat flush on each other */
#payment ul.wc_payment_methods li.wc_payment_method + li.wc_payment_method {
	margin-top: 14px !important;
}
/* ...and so each is its own card: all four edges and round corners. The parent
   draws one joined list and takes the bottom border off every item but the last
   (organico/style.css, `li:not(:last-child) { border-bottom: none }`), which left
   "Payment options" open at the bottom once the gap above split the list (app repo
   plan 113 #9). The corners were only in each site's Customizer CSS; here they are
   in git too. Same selector as the parent's, loaded later. */
.woocommerce-checkout #payment ul.payment_methods li:not(:last-child) {
	border-bottom: 1px solid #e5e5e5;
}
.woocommerce-checkout #payment ul.payment_methods li {
	border-radius: var(--radius, 24px);
}

/* ── Pay-for-order page: a visible payment choice (QA ACC-049, 2026-10-01) ──
   The parent hides EVERY input in the payment list on a .woocommerce-checkout
   body (organico/style.css:31415-31417), and the order-pay endpoint carries
   that body class too. It draws the replacement circle + dot only under
   .woocommerce-checkout-payment (31366-31375, 31380-31390, 31418-31432; there
   the colour is the theme's primary colour, organico/inc/dynamic_style.php:707,790),
   but WooCommerce's pay form prints a bare <div id="payment">
   (woocommerce/templates/checkout/form-pay.php:79). So on that page the gateway
   radios and the saved-card / new-card radios in the Stripe box were invisible
   with nothing drawn in their place. Same circle size and placement, scoped to the
   order-pay body class. The ring colour here is deliberately the brand green,
   var(--secondary), the brand interactive colour (see the earlier note in this
   file); the main checkout's ring is now brand green too (see the Task 18
   block below). The Stripe "Save payment information…" checkbox has no
   drawn replacement anywhere, so it is shown natively, like the terms checkbox
   under the list. RTL: rtl.css adds these selectors to the checkout's flip. */
.woocommerce-checkout.woocommerce-order-pay #payment input[type=radio] + label {
	position: relative;
	padding-left: 25px;
	cursor: pointer;
	color: #444;
	display: flex;
	align-items: center;
	font-weight: 600;
	margin-bottom: 0;
}
.woocommerce-checkout.woocommerce-order-pay #payment input[type=radio] + label:before {
	content: '';
	width: 18px; /* 18 − 2×3 border − 8 dot = 2px each side; see the main checkout block */
	height: 18px;
	border: 3px solid var(--secondary, #186034);
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.woocommerce-checkout.woocommerce-order-pay #payment input[type=radio] + label:after {
	content: '';
	width: 8px;
	height: 8px;
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
	opacity: 0;
	border-radius: 50%;
	background-color: var(--secondary, #186034);
}
.woocommerce-checkout.woocommerce-order-pay #payment input[type=radio]:checked + label:after {
	opacity: 1;
}
.woocommerce-checkout.woocommerce-order-pay #payment ul.payment_methods li input[type=checkbox] {
	display: inline-block;
}

/* ── Address forms: a row with nothing to show takes no space (2026-10-21) ──
   laymoun-api keeps Country as a hidden field, always AE (class-checkout-fields.php); its empty
   row still kept a row's margin, so Checkout and My Account › Addresses had a double gap above
   Street address (app repo docs/plans/79 §13.8). Only a row that holds nothing but a hidden
   input, and no label, is hidden; the input is still sent with the form. !important: WooCommerce's
   address script shows every address row with an inline display: block. */
.form-row:has(> .woocommerce-input-wrapper > input[type="hidden"]:only-child):not(:has(label)) {
	display: none !important;
}

/* ── Privacy policy and terms links look like links (app repo plan 113 #8) ──
   The parent's css/default.css paints every link #666 with no underline, so
   "privacy policy" and "terms and conditions" read as grey words. Brand green
   (--secondary, about 7:1 on white) and underlined, wherever WooCommerce prints
   them: checkout, pay-for-order and the My Account register form. */
.woocommerce-privacy-policy-text a,
a.woocommerce-privacy-policy-link,
a.woocommerce-terms-and-conditions-link {
	color: var(--secondary, #186034);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.woocommerce-privacy-policy-text a:hover,
.woocommerce-privacy-policy-text a:focus-visible,
a.woocommerce-privacy-policy-link:hover,
a.woocommerce-privacy-policy-link:focus-visible,
a.woocommerce-terms-and-conditions-link:hover,
a.woocommerce-terms-and-conditions-link:focus-visible {
	color: var(--secondary, #186034);
	text-decoration-thickness: 2px;
}

/* ── Main checkout: payment ring and dot in brand green (Task 18, 2026-10-01) ──
   The parent paints the ring/dot of the payment list and of the order-review
   shipping radios from the theme's primary colour (organico/inc/dynamic_style.php:
   :before border-color, :after background-color), which is the theme blue
   (#416195) here. The brand interactive colour is --secondary (green); see the
   note near the top of this file. Same selectors as the parent, scoped away from
   the order-pay page, which has its own rules above. */
.woocommerce-checkout .woocommerce-checkout-review-order-table input[type=radio]+label:before,
.woocommerce-checkout .woocommerce-checkout-payment input[type=radio]+label:before {
	border-color: var(--secondary, #186034);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table input[type=radio]+label:after,
.woocommerce-checkout .woocommerce-checkout-payment input[type=radio]+label:after {
	background-color: var(--secondary, #186034);
}
/* The dot dead centre in the ring (app repo plan 113 #10). The parent's ring is
   17px (border-box, 3px border) with the 8px dot at 4px: centres 8.5 and 8, so
   the dot sat half a pixel to the start side, 1 device pixel against 2 on a
   retina screen. An 18px ring with the dot at 5px leaves 2px on every side, in
   whole pixels. rtl.css mirrors the same numbers. */
.woocommerce-checkout .woocommerce-checkout-review-order-table input[type=radio]+label:before,
.woocommerce-checkout .woocommerce-checkout-payment input[type=radio]+label:before {
	width: 18px;
	height: 18px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table input[type=radio]+label:after,
.woocommerce-checkout .woocommerce-checkout-payment input[type=radio]+label:after {
	left: 5px;
}

/* checkout notices live at the END of the white container, below both
   columns (owner): page-load ones re-printed there (functions.php stash),
   the Place-Order AJAX group moved there by JS. clear:both — the columns
   above are floats. */
.lm-checkout-notices,
form.woocommerce-checkout > .woocommerce-NoticeGroup {
	clear: both;
	width: 100%;
	margin: 28px 0 0;
}

/* "Create an account?" sits at the end of the billing card (adopted by the
   footer snippet in functions.php); the .form-row classes line it up with
   the fields above it */
.woocommerce-billing-fields .woocommerce-account-fields {
	margin: 2px 0 4px;
}
.woocommerce-billing-fields .woocommerce-account-fields .create-account {
	margin-bottom: 0;
}

/* the country dropdown's closed box wore the card-border gray (#e5e5e5) —
   match the other fields' ink */
body.woocommerce-checkout .select2-container .select2-selection--single {
	border-color: rgba(32, 7, 7, 0.8) !important;
}

/* the white checkout container ran with 15px phone gutters (page-level
   padding) — visibly tighter than the cart's ~24px; widen to match. Scoped
   under .site-main so the drawer widget's .woocommerce is untouched. */
@media (max-width: 768px) {
	body.woocommerce-checkout .site-main div.woocommerce {
		margin-inline: 9px;
	}
}

/* stacked checkout (≤991px, columns full width): the order column started
   flush against the order-notes card above it — real gap between them */
@media (max-width: 991px) {
	body.woocommerce-checkout #order_review {
		margin-top: 24px !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Order Received / view-order page (QA sheet 2026-07-06)
   ───────────────────────────────────────────────────────────────────────────
   The thank-you view is the checkout page's order-received endpoint; its
   blocks (.woocommerce-order) had no styling of ours: plain overview strip,
   sharp table off the site's radius, inconsistent totals labels, bare
   address blocks. Everything below uses logical properties, so the Arabic
   view mirrors with no rtl.css companion. The address blocks' labeled rows
   come from the child order/order-details-customer.php override. */

/* — overview strip (order number / date / total / payment method): one card
     row; stacks with air on phones (QA: crowded on mobile) */
.woocommerce-order ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin: 20px 0 30px;
	padding: 20px 26px !important;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
}
.woocommerce-order ul.woocommerce-order-overview li {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 13px;
}
.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 2px;
	font-size: 15px;
}
@media (max-width: 768px) {
	.woocommerce-order ul.woocommerce-order-overview {
		flex-direction: column;
		gap: 12px;
	}
}

/* — "Order details" title ↔ table spacing (QA: insufficient). !important:
     on the my-account view-order page the title is the section's FIRST child,
     so the parent's `h2:first-child { margin: 0 }` zeroes the gap otherwise. */
.woocommerce-order-details__title {
	margin: 0 0 16px !important;
}

/* — the order table: site-standard card look (radius 24 / #e5e5e5), flat
     consistent rows. overflow hidden clips the inner cells to the radius.
     The pay-for-order table shares this card FRAME only (QA ACC-048: the
     parent zeroes every shop_table's radius, organico/style.css:9837). Its
     cells keep their own rules — the per-cell rules below would break it
     (.product-quantity is a whole column there, not an inline "× n"). */
table.woocommerce-table--order-details,
.woocommerce-order-pay #order_review > table.shop_table {
	border: 1px solid #e5e5e5 !important;
	border-radius: 24px !important;
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
	margin: 0 0 34px;
}
/* pay-for-order (QA ACC-050a): the parent's header-row rule
   `.woocommerce table.shop_table tr:first-child th` (organico/style.css:
   31631-31634) also matches the FIRST FOOTER row, so the "Subtotal" label alone
   got a 1px bottom border stacked on the next row's top border (WooCommerce core
   gives every tfoot cell one) — ~2px under the label, 1px under the amount — and
   a centred label. Undo that rule for this one row only. */
.woocommerce-order-pay #order_review > table.shop_table tfoot tr:first-child th {
	border-bottom: 0;
	text-align: inherit;
}
/* pay-for-order: every footer label (Subtotal, Total) starts at the same edge —
   left in EN, right in AR — with the body cells' inline padding and the same
   9px block padding as its amount cell, so it centres against it. The parent's
   `th` rules otherwise leave the labels flush to the card edge, 0 top / 15px
   bottom padding, and the Total label at the other end in RTL. */
.woocommerce-order-pay #order_review > table.shop_table tfoot th {
	text-align: start;
	padding-block: 9px;
	padding-inline-start: 20px;
	vertical-align: middle;
}
table.woocommerce-table--order-details th,
table.woocommerce-table--order-details td {
	display: table-cell !important;   /* the theme flexes some cells */
	width: auto !important;
	padding: 14px 24px !important;
	margin: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #f0f0f0 !important;
	background: transparent !important;
	text-align: start !important;
	vertical-align: middle !important;
}
table.woocommerce-table--order-details th:last-child,
table.woocommerce-table--order-details td:last-child {
	text-align: end !important;
}
table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
	border-bottom: 0 !important;
}
/* product line: name and "× n" together (QA: quantity looked detached) */
table.woocommerce-table--order-details td.woocommerce-table__product-name a {
	display: inline !important;
	float: none !important;
}
@media (max-width: 480px) {
	/* tighter cells on small phones — the 24px side padding was wrapping
	   "× n" under short product names */
	table.woocommerce-table--order-details th,
	table.woocommerce-table--order-details td {
		padding: 12px 14px !important;
	}
}
table.woocommerce-table--order-details .product-quantity {
	display: inline !important;
	float: none !important;
	margin-inline-start: 6px;
	white-space: nowrap;
}

/* — address cards: standard card border, real inner padding, titles with
     air, columns with a gap (they touched in Arabic), full width stacked */
.woocommerce-customer-details .col2-set,
.woocommerce-customer-details section.woocommerce-columns {
	display: flex;
	gap: 26px;
	width: 100%;
}
/* the theme's clearfix ::before/::after become zero-width FLEX ITEMS here, and
   the flex `gap` reserves 26px around them — which pushed the whole address
   row 26px off its container. Drop them so the two cards fill edge to edge. */
.woocommerce-customer-details .col2-set::before,
.woocommerce-customer-details .col2-set::after,
.woocommerce-customer-details section.woocommerce-columns::before,
.woocommerce-customer-details section.woocommerce-columns::after {
	display: none !important;
}
/* Explicit half-minus-half-gap width instead of flex:1 — with this theme's
   flex-grow the two columns settled ~26px short on each outer side, so the
   address cards didn't reach the order table's edges (owner: their borders
   must line up with the table's). calc((100% - gap) / 2) + flex:none packs
   them flush to both edges with the 26px gap only between. */
.woocommerce-customer-details .col2-set .col-1,
.woocommerce-customer-details .col2-set .col-2 {
	flex: 0 0 calc((100% - 26px) / 2) !important;
	width: calc((100% - 26px) / 2) !important;
	float: none !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0;
}
.woocommerce-customer-details .woocommerce-column__title {
	margin: 0 0 14px;
}
.woocommerce-customer-details address {
	display: block;
	border: 1px solid #e5e5e5 !important;
	border-radius: 24px !important;
	padding: 20px 24px !important;
	background: #fff;
	font-style: normal;
	line-height: 1.8;
}
.woocommerce-customer-details .lm-addr-name {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #222;
}
.woocommerce-customer-details .lm-addr-row {
	display: block;
}
.woocommerce-customer-details .lm-addr-label {
	color: #888;
	margin-inline-end: 6px;
}
.woocommerce-customer-details .lm-addr-value {
	text-transform: none;   /* the theme title-cases address text — bad for emails */
}
@media (max-width: 768px) {
	.woocommerce-customer-details .col2-set,
	.woocommerce-customer-details section.woocommerce-columns {
		flex-direction: column;   /* each address card full width (QA) */
		gap: 22px;
	}
	.woocommerce-customer-details .col2-set .col-1,
	.woocommerce-customer-details .col2-set .col-2 {
		flex: 1 1 auto !important;
		width: 100% !important;   /* full width when stacked (undo the calc) */
	}
}

/* order table: the product thumbnail's air was a physical margin-right, so
   the Arabic view had the name touching the image — logical margin gives
   both directions the same gap */
.woocommerce-checkout-review-order-table .product-name .product-item-thumbnail {
	margin-right: 0 !important;
	margin-inline-end: 15px !important;
}

/* order table: the name (and "× 2") on the same line as the price. The parent
   makes the name cell a flex row pinned to the top (organico/style.css,
   `.product-name { display: flex; align-items: flex-start }`), so the name sat
   on the photo's top edge while the price cell is centred in the row. Centred
   here, the photo, name and price share the row's middle line (app repo plan
   113 #6). Same selector plus tbody td, so it wins without !important. */
.woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name {
	align-items: center;
}
/* a long name wraps beside the photo instead of shrinking it; on phones the
   photo is smaller, so the name and "× 2" keep room before the price */
.woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name .product-item-thumbnail {
	flex-shrink: 0;
}
@media (max-width: 480px) {
	.woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name .product-item-thumbnail {
		width: 48px;
		margin-inline-end: 10px !important; /* the 15px rule above is !important */
	}
}
/* below 360px there is no room for photo, name and price side by side (at 320px
   the photos used to shrink to 0–25px, some vanishing): no photo, as the parent
   had it on small screens. !important: the Customizer CSS shows it with one. */
@media (max-width: 359px) {
	.woocommerce .woocommerce-checkout .woocommerce-checkout-review-order-table tbody td.product-name .product-item-thumbnail {
		display: none !important;
	}
}

/* shipping row: the value cell carried 12px side padding the price rows
   don't have (they run `15px 0`), so "Free shipping"/"شحن مجاني" stopped
   short of the prices column edge */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Phones: the checkout's bottom bar with the total and Place order (QA DEF-035, app repo
   docs/plans/132; inc/laymoun-checkout-bar.php, js/lm-checkout-bar.js). The script shows it only
   while the payment box is still below it, so it never covers the card form, the terms, the real
   button or the errors. Never shown from 768 px up. z-index: with the WhatsApp button, under the
   theme's drawers and popups. */
.lm-checkout-bar {
	display: none;
}
@media (max-width: 767px) {
	.lm-checkout-bar:not([hidden]) {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 9980;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid #ececec;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	}
	.lm-checkout-bar__total {
		display: flex;
		flex-direction: column;
		min-width: 0;
		line-height: 1.25;
	}
	.lm-checkout-bar__label {
		font-size: 12px;
		color: #777;
	}
	.lm-checkout-bar__amount {
		font-size: 17px;
		font-weight: 700;
		color: var(--secondary, #186034);
		white-space: nowrap;
	}
	.lm-checkout-bar__amount .woocommerce-Price-amount {
		font-size: inherit !important;
		font-weight: inherit !important;
	}
	body .lm-checkout-bar .lm-checkout-bar__button {
		flex: 0 0 auto;
		min-height: 44px;
		margin: 0;
		padding: 10px 28px;
		border: 0;
		border-radius: 24px;
		background: var(--secondary, #186034);
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.2;
	}
}

/* — Phone sizing. Image ≈ a third of the card (dibajj proportion); the qty
     stepper is compacted hard (34px circles + a 48px input = 132px stock) so
     the title column keeps readable width at 375px. */
@media (max-width: 768px) {
	body .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item {
		grid-template-columns: 100px minmax(0, 1fr) auto;
		column-gap: 10px;
		padding: 18px 0 !important;
	}
	body .woocommerce-cart-form table.shop_table tr td.product-name > a:not(.remove) {
		font-size: 15px;
	}
	body .woocommerce-cart-form table.shop_table tr td.product-subtotal {
		font-size: 15px;
	}
	.lm-cart-heading {
		font-size: 18px;
	}
	body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity {
		padding: 0 !important;
		gap: 4px !important;
	}
	body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity .svg-minus input,
	body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity .svg-plus input {
		width: 24px !important;
		height: 24px !important;
		min-width: 24px !important;
	}
	body .woocommerce-cart-form table.shop_table tr td.product-quantity .quantity input.qty {
		width: 28px !important;
		height: 24px !important;
		padding: 0 2px !important;
		font-size: 13px !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Legal / policy pages — Privacy Policy & Terms & Conditions (EN + AR)
   ───────────────────────────────────────────────────────────────────────────
   A calm, readable document layout on top of the theme's default page template.
   Scoped by the `legal-page` body class (added in functions.php for the Privacy
   + Terms pages and their Polylang translations), so nothing here leaks to other
   pages. Logical properties (margin/padding-inline) are used throughout so the
   layout mirrors correctly on the Arabic (RTL) side.
   Tokens: --secondary #186034 (brand green). ─────────────────────────────────*/

/* Comfortable reading column + breathing room above and below the text. */
.legal-page .content-area .site-main {
	max-width: 900px;
	margin-inline: auto;
	padding-block: 34px 60px;
}
.legal-page .site-main .post-info { padding: 0; }

/* Page title — injected at the top of the content (the theme's own title bar is
   hidden site-wide). Brand green with a yellow underline accent. */
.legal-page .lay-legal-title {
	margin: 0 0 .7em;
	padding: 0 0 .5em;
	border-bottom: 2px solid var(--primary, #f8d92e);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--secondary, #186034);
	text-transform: none;
}

/* Body copy — a touch larger and airier than the 13px theme default, since
   this is long-form reading. Legal text exactly as written: the Customizer's
   `body { text-transform: capitalize }` turned every list item into Title Case
   ("Products Arrive Spoiled, Rotten, Or Unfit…"; app repo docs/plans/77). */
.legal-page article.hentry {
	max-width: 100%;
	font-size: 15px;
	line-height: 1.85;
	color: #3a3a3a;
	text-transform: none;
}
.legal-page article.hentry p { margin: 0 0 1.25em; }

/* Section headings with a light divider for scannability. */
.legal-page article.hentry h2,
.legal-page article.hentry h2.wp-block-heading {
	margin: 1.9em 0 .55em;
	padding-bottom: .4em;
	border-bottom: 1px solid #ecefe4;
	font-size: 20px;
	font-weight: 700;
	color: #21340f;
	text-transform: none;
}
.legal-page article.hentry > *:first-child { margin-top: 0; }

/* The italic "Last updated:" intro line, muted. */
.legal-page article.hentry p:first-child em { color: #8a8f80; }

/* Lists: restore the marker + indent the theme zeroes, on the correct side. */
.legal-page article.hentry ul,
.legal-page article.hentry ol {
	margin: 0 0 1.25em;
	padding-inline-start: 1.5em;
}
.legal-page article.hentry ul { list-style: disc; }
.legal-page article.hentry ol { list-style: decimal; }
.legal-page article.hentry li { margin: 0 0 .5em; }

/* Links in brand green. */
.legal-page article.hentry a {
	color: var(--secondary, #186034);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.legal-page article.hentry a:hover { color: #4a8204; }

/* Phones: keep side gutters so text never touches the screen edge. */
@media (max-width: 767px) {
	.legal-page .content-area .site-main { padding-inline: 16px; padding-block: 22px 44px; }
	.legal-page .lay-legal-title { font-size: 24px; }
	.legal-page article.hentry { font-size: 15px; line-height: 1.8; }
}

/* ── My-Account login/register footer: Privacy + Terms links ─────────────────*/
.lay-account-policy {
	clear: both;
	margin-top: 26px;
	text-align: center;
	font-size: 14px;
}
.lay-account-policy a {
	color: var(--secondary, #186034);
	font-weight: 600;
	text-decoration: none;
}
.lay-account-policy a:hover { text-decoration: underline; }
.lay-account-policy .sep { margin: 0 10px; color: #c7ccbd; }

/* ═══════════════════════════════════════════════════════════════════════════
   LAYMOUN WISHLIST PAGE  (YITH wishlist table → theme design pattern)
   Stock + YITH's own remove columns are dropped server-side (functions.php);
   the remove × is re-injected into the thumbnail cell (.lm-wishlist-remove) and
   styled here as a corner circle. Card-rounded table, bigger thumbnail, and the
   Add-to-cart button restyled to the primary-button pattern.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Rounded card table like the rest of the theme (needs border-collapse:separate
   + overflow:hidden so the header/last-row corners clip to the radius). The
   `.woocommerce table.…` prefix + !important beat the parent's
   `.woocommerce table.shop_table { border-radius:0 }`. */
.woocommerce table.wishlist_table.wishlist_view {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid #ebebeb !important;
	border-radius: var(--radius, 24px) !important;
	overflow: hidden;
	background: #fff;
}
.woocommerce table.wishlist_table.wishlist_view thead th {
	background: #f7f7f5;
	border: 0 !important;
	border-bottom: 1px solid #ebebeb !important;
}
.woocommerce table.wishlist_table.wishlist_view tbody td {
	border: 0 !important;
	border-bottom: 1px solid #f0f0ee !important;
	vertical-align: middle;
}
.woocommerce table.wishlist_table.wishlist_view tbody tr:last-child td { border-bottom: 0 !important; }

/* Thumbnail enlargement + the on-image remove circle are DESKTOP-only (≥769px).
   Below 768px YITH's responsive layout rearranges/hides the thumbnail cell, so
   mobile keeps YITH's own remove column (restored — see functions.php) and this
   custom treatment would only clip the image + duplicate the ×. `--lm-thumb-pad`
   keeps the circle offset in sync with the cell padding. */
@media (min-width: 769px) {
	/* Hide YITH's first-column remove on desktop — the on-image circle replaces it. */
	.woocommerce table.wishlist_table.wishlist_view th.product-remove,
	.woocommerce table.wishlist_table.wishlist_view td.product-remove {
		display: none;
	}

	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail {
		position: relative;
		--lm-thumb-pad: 20px;
		width: 1%;                 /* shrink the cell to hug the image */
		padding: var(--lm-thumb-pad) !important;
		white-space: nowrap;
		text-align: start;
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail > a {
		display: block;
		line-height: 0;            /* kill the inline gap under the image */
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail img {
		width: 120px !important;
		height: 120px !important;
		max-width: none;
		border-radius: var(--radius, 24px);
	}

	/* Remove × → circle at the image's TOP-INLINE-START corner:
	   LTR = top-left, RTL = top-right (logical property, auto-flips).
	   !important on colour beats parent's `.woocommerce a.remove{color:#333!important}`. */
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail .lm-wishlist-remove {
		position: absolute;
		top: calc(var(--lm-thumb-pad) + 6px);
		inset-inline-start: calc(var(--lm-thumb-pad) + 6px);
		z-index: 3;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: #fff;
		color: var(--secondary, #186034) !important;
		font-size: 20px;
		font-weight: 400;
		line-height: 1;
		text-decoration: none;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
		transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail .lm-wishlist-remove:hover {
		background: var(--secondary, #186034);
		color: #fff !important;
		transform: scale(1.08);
	}
}

/* ── Wishlist MOBILE (≤768px) — owner layout 2026-07-16 ───────────────────────
   Image at the START edge (was ~107px indented by YITH's stacked layout), with
   the × circle on its top-inline-start corner exactly like desktop (EN top-left,
   AR top-right). Beside the image: product name at the TOP; bottom row = price
   (next to the image) + the small add-to-cart pill at the other end:
       [×image]  Product name …
       [ image]  Price          [🛍]
   YITH's native × row is hidden (the circle replaces it). Grid + logical
   properties, so the whole card mirrors on the Arabic (RTL) page. */
@media (max-width: 768px) {
	.woocommerce table.wishlist_table.wishlist_view,
	.woocommerce table.wishlist_table.wishlist_view tbody { display: block; width: 100%; }
	.woocommerce table.wishlist_table.wishlist_view thead { display: none; }
	.woocommerce table.wishlist_table.wishlist_view td.product-remove { display: none !important; }

	.woocommerce table.wishlist_table.wishlist_view tbody tr[data-row-id] {
		display: grid;
		grid-template-columns: 80px 1fr auto;
		grid-template-rows: 1fr auto;
		column-gap: 12px;
		row-gap: 4px;
		align-items: center;
		padding: 14px 10px;
		border-bottom: 1px solid #f0f0ee;
	}
	.woocommerce table.wishlist_table.wishlist_view tbody tr[data-row-id]:last-child { border-bottom: 0; }

	/* the desktop table separates ROWS with a per-cell bottom border — in the
	   grid every cell became its own item, so those borders showed up as stray
	   lines under the name and under the price. The row's own border (above) is
	   the only separator on mobile. */
	.woocommerce table.wishlist_table.wishlist_view tbody tr[data-row-id] td { border: 0 !important; }

	/* image at the start edge, spanning both rows; the cell hugs the 80px image
	   (align-self:center) so the absolute × pins to the IMAGE corner */
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail {
		display: block !important;
		grid-column: 1; grid-row: 1 / -1;
		align-self: center;
		position: relative;
		width: 80px; padding: 0; white-space: normal; text-align: start;
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail > a { display: block; line-height: 0; }
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail img {
		width: 80px !important; height: 80px !important; max-width: none; border-radius: 14px;
	}
	/* × circle — desktop treatment, mobile-sized. position:absolute is set HERE
	   (the desktop rule lives in a ≥769px block, so mobile got static = the
	   earlier mispositioning). Logical inset → EN top-left / AR top-right. */
	.woocommerce table.wishlist_table.wishlist_view td.product-thumbnail .lm-wishlist-remove {
		display: flex !important;
		position: absolute;
		top: 4px; inset-inline-start: 4px;
		z-index: 2;
		align-items: center; justify-content: center;
		width: 24px; height: 24px;
		border-radius: 50%;
		background: #fff;
		color: var(--secondary, #186034) !important;
		font-size: 16px; font-weight: 400; line-height: 1;
		text-decoration: none;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	}

	/* name — top, beside the image (spans to the row's end) */
	.woocommerce table.wishlist_table.wishlist_view td.product-name {
		display: block !important;
		grid-column: 2 / -1; grid-row: 1;
		align-self: start;
		width: auto; padding: 2px 0 0;
		text-align: start !important;   /* theme centres responsive cells */
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-name a { font-size: 15px; font-weight: 600; line-height: 1.35; }

	/* bottom row — price next to the image … */
	.woocommerce table.wishlist_table.wishlist_view td.product-price {
		display: block !important;
		grid-column: 2; grid-row: 2;
		align-self: end;
		width: auto; margin: 0; padding: 0 0 6px;   /* optical baseline vs the 46px pill */
		text-align: start !important;
		white-space: nowrap; font-weight: 700;
	}
	/* … and the small add-to-cart at the other end of the same row */
	.woocommerce table.wishlist_table.wishlist_view td.product-add-to-cart {
		display: block !important;
		grid-column: 3; grid-row: 2;
		align-self: end; justify-self: end;
		width: auto; margin: 0; padding: 0; text-align: end !important;
	}
	.woocommerce table.wishlist_table.wishlist_view td.product-add-to-cart .add_to_cart_button {
		margin: 0 !important;   /* its bottom margin floated the pill 10px above the price line */
	}
	/* keep the button exactly as it renders today (66×46 pill) — just give the
	   blank pill its cart glyph (label + tooltip are suppressed on touch) */
	.woocommerce table.wishlist_table.wishlist_view td.product-add-to-cart .add_to_cart_button::before {
		content: "\e04f" !important;
		font-family: 'simple-line-icons' !important;
		font-size: 17px !important;
		line-height: 1;
		color: #fff !important;
		display: inline-block;
	}
}

/* Add-to-cart → primary-button design pattern (green pill, icon + label). */
.wishlist_table.wishlist_view td.product-add-to-cart .button,
.wishlist_table.wishlist_view td.product-add-to-cart a.add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	width: auto !important;
	min-height: 46px;
	margin: 0 !important;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: var(--radius, 24px) !important;
	background: var(--secondary, #186034) !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: none;
	transition: background-color 0.15s ease;
}
/* NB: the cart glyph is already provided by the theme on the button's
   `.button-tooltip` span (::before, simple-line-icons \e04f) — which we turned
   into the visible label — so we do NOT add our own ::before here (that showed
   two carts). The icon lives inside the span, so space it from the label text
   with a margin on that ::before (the button's column-gap can't, one flex item). */
.wishlist_table.wishlist_view td.product-add-to-cart .button-tooltip::before {
	margin-inline-end: 8px;
}
.wishlist_table.wishlist_view td.product-add-to-cart .button:hover,
.wishlist_table.wishlist_view td.product-add-to-cart a.add_to_cart_button:hover {
	background: #0f3d21 !important;
	color: #fff !important;
}

/* ── WooCommerce response notices — clear the header ─────────────────────────
   On page layouts whose content area has no top padding (e.g. the wishlist) the
   add-to-cart / response notice rendered flush against the header. Give these
   notices a top gap so they always sit clear of it. */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	margin-top: 30px;
}
/* Product archives (shop, category) already indent their content via the page
   container, so the notice there is clear of the header — don't add extra. */
.before-loop-wrapper > .woocommerce-message,
.before-loop-wrapper > .woocommerce-error,
.before-loop-wrapper > .woocommerce-info,
.before-loop-wrapper .woocommerce-notices-wrapper .woocommerce-message,
.before-loop-wrapper .woocommerce-notices-wrapper .woocommerce-error,
.before-loop-wrapper .woocommerce-notices-wrapper .woocommerce-info {
	margin-top: 0;
}

/* ── Product card "added to cart" — success check REPLACES the cart icon ──────
   On .added the theme hides the cart button and WooCommerce drops a
   `.added_to_cart` ("View cart") link into the icon row. Draw a success check in
   that link so it cleanly REPLACES the cart (never beside it), on every product
   card — shop grid + home Featured share `.meta_info`. Draw it with
   simple-line-icons \e080 (NOT FontAwesome \f00c — that font is broken here; see
   the note ~line 3057) and give it the 32px-circle sizing the other card icons
   have (the link is font-size:0 to hide its "View cart" text, so the ::after
   needs its own size or it collapses to 0 and the circle looks empty). The
   cart-hide is reinforced so no cart glyph can linger next to the check. */
.woocommerce .products .product .item-description .meta_info .add_to_cart_button.added,
.woocommerce-page .products .product .item-description .meta_info .add_to_cart_button.added,
.woocommerce .ftc-product.product .item-description .meta_info .add_to_cart_button.added {
	display: none !important;
}
/* THE actual "cart next to check" bug: the theme's bag-glyph rule
   (`.add-to-cart.add_to_cart_button a:before`, parent style.css ~5794) targets
   ANY anchor inside that wrapper div — including the `.added_to_cart` ("View
   cart") link WooCommerce swaps in after adding. So that link rendered the bag
   ::before AND our check ::after side by side. Kill the bag on the added link;
   only the check stays. */
.woocommerce .products .product .item-description .meta_info a.added_to_cart::before,
.woocommerce-page .products .product .item-description .meta_info a.added_to_cart::before,
.woocommerce .ftc-product.product .item-description .meta_info a.added_to_cart::before {
	content: none !important;
	display: none !important;
}
.woocommerce .products .product .item-description .meta_info .added_to_cart::after,
.woocommerce-page .products .product .item-description .meta_info .added_to_cart::after,
.woocommerce .ftc-product.product .item-description .meta_info .added_to_cart::after {
	content: "\e080" !important;             /* simple-line-icons check (FA is broken here) */
	font-family: 'simple-line-icons' !important;
	display: inline-block !important;         /* safety vs the global a::after{display:none} trap */
	font-size: 15px !important;
	line-height: 32px !important;
	color: var(--secondary, #186034) !important;   /* success green on the grey circle */
}
.woocommerce .products .product .item-description .meta_info .added_to_cart:hover::after,
.woocommerce-page .products .product .item-description .meta_info .added_to_cart:hover::after,
.woocommerce .ftc-product.product .item-description .meta_info .added_to_cart:hover::after {
	color: #fff !important;                    /* white on the yellow hover circle */
}

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY HEADER — CSS-based, DESKTOP (owner 2026-07-16: desktop header stopped
   sticking). The theme's sticky is a jQuery plugin (jquery.sticky) init'd from
   custom.js at top level (~line 402); the YITH Wishlist/WCAN scripts disrupt
   that run so the init never fires — the plugin wrapper is never created and the
   header scrolls away (same class of custom.js breakage as the tabs / infinite
   scroll). Rather than re-init the finicky plugin, use native position:sticky:
   header #masthead.site-header is a direct child of the page-height #page.site
   with NO overflow-clipping ancestor, so it sticks with no spacer/jump and can't
   be broken by plugin JS. Always-visible (no hide-on-scroll-down like the old
   plugin) — simpler and bulletproof. z-index 999 keeps it above page content but
   below every theme overlay (drawers/menus/quick-view are 9999+), so those still
   cover it. Desktop only: ≤991px the theme forces `.site-header{position:relative
   !important}` (its mobile header uses a separate, also-dormant JS sticky) — we
   don't override that here. */
@media (min-width: 992px) {
	header.site-header {
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 999;
	}
	/* Sit below the WP admin bar for logged-in users (fixed 32px at ≥782px). */
	.admin-bar header.site-header { top: 32px; }
}

/* The theme's jQuery sticky (custom.js, ~line 400) DOES run on current sites
   (docs/plans/95, 2026-10-24: it wraps .header-content in .sticky-wrapper and
   pins it with an inline `position: fixed` once scrolled). On phones it then
   hides the header on scroll down and brings it back on scroll UP, over the
   search bar: the client's "after scrolling down and back up, the header covers
   the search bar". On local only the Customizer's Additional CSS (a per-site
   setting, not in git) happened to cancel it below 992px. Cancel it here, at
   every width: the native sticky header above is the only sticky mechanism, and
   the wrapper's frozen inline height must not shift the page either. The
   positions are the ones each width had when the script did nothing (static
   from 992px, so the menu's dropdowns keep their anchor; relative on phones,
   where the mobile logo is centred inside it). The parent's slide-in for the
   pinned header (`.is-sticky .header-sticky`: animation myStickym 1.3s, a
   negative margin-top easing to 0) goes too: on a header that is not pinned it
   only jerked the header, and the bar under it, up and back. */
body .header-content.header-sticky {
	position: static !important;
	top: auto !important;
	width: auto !important;
	animation: none !important;
	transform: none !important;
	transition: none !important;
}
@media (max-width: 991px) {
	body .header-content.header-sticky { position: relative !important; }
}
body .sticky-wrapper { height: auto !important; }

/* The block that sticks to the top (docs/plans/95), for what sticks under it:
   the header, plus the search bar inside it below 1350px. Header heights are
   measured: 100px at 992–1199px, 80px from 1200px; the bar is 50px. */
:root { --lm-sticky-head: 80px; }
@media (min-width: 992px) and (max-width: 1199px) {
	:root { --lm-sticky-head: 150px; }
}
@media (min-width: 1200px) and (max-width: 1349px) {
	:root { --lm-sticky-head: 130px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT US — "Why Laymoun?" brand-story section (owner 2026-07-16)
   Client-supplied manifesto added to the About page (EN #4299 / AR #17889) as a
   WPBakery text block (row el_class .lm-why-laymoun) so it stays editable in the
   editor. Borderless centred text (owner dropped the card box); brand Forest
   green (--secondary #186034) heading accent + tagline. The whole page's old
   pre-rebrand lime #5fa405 was unified to #186034 in the page content at the same
   time. Body left-aligned so it flips to right under RTL on the Arabic page;
   heading + tagline centred (direction-neutral). One rule, both languages.
   ═══════════════════════════════════════════════════════════════════════════ */
.lm-why-laymoun { padding: 40px 0; }
/* Borderless clean text block (owner: drop the card box) — the max-width just
   keeps a comfortable reading measure, centred in the container. */
.lm-why-laymoun .wpb_text_column {
	max-width: 900px;
	margin: 0 auto;
}
.lm-why-laymoun .lm-why-heading {
	margin: 0 0 22px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: #444;
}
.lm-why-laymoun .lm-why-heading span { color: var(--secondary, #186034); }
.lm-why-laymoun p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.85;
	color: #444;
}
.lm-why-laymoun .lm-why-tagline {
	margin: 26px 0 0;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	font-style: italic;
	line-height: 1.5;
	color: var(--secondary, #186034);
}
@media (max-width: 767px) {
	.lm-why-laymoun .wpb_text_column { padding: 28px 22px; }
	.lm-why-laymoun .lm-why-heading { font-size: 26px; }
	.lm-why-laymoun p { font-size: 15px; }
	.lm-why-laymoun .lm-why-tagline { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOP SIDEBAR — sticky beside the grid, DESKTOP (owner request 2026-07-16).
   The product-archive sidebar (#left-sidebar / #right-sidebar .ftc-sidebar —
   Category widget + Price/Size/Brand filters) scrolled away with the page, so on
   a long product grid the filters ended up out of reach. Make it stick alongside
   the products while they scroll. Native position:sticky — the aside floats in a
   plain (non-flex) .row with NO overflow-clipping ancestor and the product column
   is much taller, so it sticks cleanly with zero JS (same approach as the sticky
   header above). `top` clears the 80px sticky header (+20px breathing room); the
   .admin-bar variant adds the 32px WP bar. max-height + overflow-y let a tall
   filter list scroll WITHIN the sticky column on short laptops instead of its
   bottom getting stranded below the fold. Direction-agnostic (top/sticky), so RTL
   — where the theme floats this aside to the visual right — needs no rtl.css edit.
   Desktop only: ≤991px the sidebar is a slide-in drawer, left untouched here.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
	.archive #left-sidebar.ftc-sidebar,
	.archive #right-sidebar.ftc-sidebar {
		position: -webkit-sticky;
		position: sticky;
		top: calc(var(--lm-sticky-head) + 20px);              /* the sticky block + 20px gap */
		align-self: flex-start;          /* no-op in the float row; guards a future flex row */
		max-height: calc(100vh - var(--lm-sticky-head) - 40px); /* keep the whole sidebar reachable on short screens */
		overflow-y: auto;
	}
	.admin-bar .archive #left-sidebar.ftc-sidebar,
	.admin-bar .archive #right-sidebar.ftc-sidebar {
		top: calc(var(--lm-sticky-head) + 52px);              /* + 32px WP admin bar */
		max-height: calc(100vh - var(--lm-sticky-head) - 72px);
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shop-archive product cards — premium layout (P1, docs/35 F2/F3/F6)
   (owner 2026-07-18, feature/shop-ux)
   ═══════════════════════════════════════════════════════════════════════════
   Scope: EVERY product-card occurrence (owner 2026-07-18: "all product card
   occurrences must have the same style — always"). `.woocommerce .products
   .product.ftc-product` matches the shop/category grids, the home
   "Featuring"/category-tab sliders (owl REWRAPS cards in `.owl-item`, hence
   descendant selectors, never `>` off `.products`), related/up-sells on
   product pages and cart cross-sells. The wishlist TABLE and the quick-view
   popup have no `.products .product` ancestry, so they're untouched. This
   supersedes the 2026-07-15 icon-row look (~line 218) everywhere; that older
   section stays as a harmless base layer — the extra `.ftc-product` class +
   later cascade position wins every shared property here.
   Grid-level rules (row stretch, wrap-stable margins) stay ARCHIVE-scoped —
   sliders lay out their own rows.

   What changes on the cards (theme DOM stays untouched — CSS only, so
   infinite-scroll appends and YITH AJAX re-renders inherit it for free):
   1. IMAGE FIRST  — card becomes a flex column; `.item-image` (DOM-second)
      is pulled up with `order:-1`. Scan order: photo → name → price → action.
   2. ONE LABELED "Add to cart" PILL — the same theme anchor (all AJAX
      classes intact), restyled from a 32px icon circle into a full-width
      brand-green pill; its localized `.ftc-tooltip` span becomes the visible
      label (the theme kept it display:none for tooltips). The bag glyph
      (anchor ::before) is dropped. After an AJAX add, WooCommerce hides the
      button (`.added` — hidden globally at ~4894) and swaps in the
      `.added_to_cart` "View cart" link: styled as the outline success pill
      (check ::after \e080 comes from the global rule at ~3177).
   3. WISHLIST + QUICK VIEW → IMAGE-CORNER CIRCLES — same DOM nodes (YITH
      hydration + quickview-inline.js delegated events keep working), just
      absolutely positioned over the image's top end corner. Desktop
      (hover-capable): hidden until card :hover / :focus-within. Touch:
      always visible (no hover there).
   4. HOVER FEEDBACK — card lift + soft shadow, gentle same-image zoom
      (scales `.item-image > a` inside the overflow-hidden 1:1 box, so the
      tint/radius clip it). The theme's second-image swap is kept but turned
      from an abrupt display:none into a crossfade; products without gallery
      images (all but one today) simply zoom.
   Sale badge moves to the image's top-START corner so it never collides
   with the corner icons (logical properties keep RTL mirrored). */

/* ── Grid: WRAP-STABLE layout + stretched rows (fixes the iPad load flash) ───
   YITH WCAN wraps the grid into `.yit-wcan-container` CLIENT-SIDE at JS-ready.
   The parent theme keys grid flex (`.woocommerce > .products`) and card
   margins (`.woocommerce-page .woocommerce > .products .product {margin:
   0 0 30px}`) on the UNWRAPPED direct-child structure — those rules die the
   moment WCAN wraps, so every load flashed: cards touching, then margins
   appear and the grid re-flows (visible on iPad; also read as "row 2 first
   cell empty for a beat" while rows re-wrapped). The child must own these
   properties with selectors that match BOTH states identically.
   Also: stretch rows (theme bottom-aligns with flex-end) so the flex-column
   cards + `.meta_info { margin-top:auto }` pin every Add button per row. */
body.archive.woocommerce .yit-wcan-container > .products,
body.archive.woocommerce .woocommerce > .products {
	display: flex;
	flex-flow: row wrap;
	clear: both;
	align-items: stretch;
}
/* Card margins, both wrap states. Specificity (0,5,1) out-guns the parent's
   pre-wrap-only (0,4,0) rule; values = the site's steady (post-wrap) state:
   the child's own 15px side rule at ≥768px, the theme's `20px auto` under it. */
body.archive.woocommerce .products > .product.ftc-product {
	margin: 20px auto;
}
@media (min-width: 768px) {
	body.archive.woocommerce .products > .product.ftc-product {
		margin: 20px 15px;
	}
}

/* ── Mobile filter button: no floating flash ─────────────────────────────────
   The theme renders `.button-sidebar` as a position:fixed square floating on
   the viewport edge; shop-mobile-filter.js re-homes it into the toolbar at
   DOM-ready and stamps `.lm-relocated`. Between first paint and that script,
   the raw floating square flashed on iPad/mobile. Keep it invisible until it
   has been homed. (≤991px only — that's where the theme floats it.) */
@media (max-width: 991px) {
	body.archive .button-sidebar:not(.lm-relocated) {
		visibility: hidden;
	}
}

/* ── 1) Card container: flex column, image first, full-bleed image ──────────── */
.woocommerce .products .product.ftc-product {
	position: relative;              /* anchor for the corner icons + badge */
	display: flex;
	flex-direction: column;
	/* Full-bleed (owner 2026-07-18): drop the theme's 4px frame so the image
	   touches the card edges and continues its 24px top corners; the text
	   panel below carries its own padding. */
	padding: 0;
	overflow: hidden;                /* card and image corners stay one curve */
}
.woocommerce .products .product.ftc-product > .item-image {
	order: -1;                       /* DOM stays description-first; visual is image-first */
}
.woocommerce .products .product.ftc-product > .item-description {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;                  /* fills the card so meta_info can pin bottom */
	/* the card is padding:0 now (full-bleed). Top 12 -> 6 (owner 2026-10-08):
	   the photos carry a white margin under the produce, so 12px more read as
	   an empty band between photo and name. The app's card moved with it. */
	padding: 6px 16px 18px;
	/* The theme makes this box position:relative, which would become the
	   containing block for the corner icons below — they'd anchor beside the
	   price instead of over the image. Static hands that role to the card. */
	position: static;
	/* The card is now a flex container, and a flex ITEM with a z-index forms
	   a stacking context even while static. The theme ships description z:1 /
	   image z:2 — which traps the corner icons (z:5, inside this box) UNDER
	   the image: they showed but clicks fell through to the image link. Lift
	   the description's layer above the image's so the icons win the corner. */
	z-index: 3;
}

/* ── 2) The action row: one full-width labeled pill ────────────────────────── */
.woocommerce .products .product .item-description .meta_info {
	margin-top: auto;                /* button baseline aligned across the row */
	padding-top: 12px;
	width: 100%;
}
.woocommerce .products .product .item-description .meta_info .add-to-cart {
	flex: 1 1 100%;
}
/* The Add anchor: from 32px circle → full-width pill. Explicit sizes override
   the icon-row base (~line 260) and the theme's own button rules. */
.woocommerce .products .product .item-description .meta_info .add-to-cart a.button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 42px;
	line-height: 1;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--secondary, #186034);
	color: #fff !important;          /* the DB blob paints `.button` text green on hover */
	font-size: 14px;
	font-weight: 600;
}
.woocommerce .products .product .item-description .meta_info .add-to-cart a.button:hover {
	background: #114324;             /* a step darker than --secondary */
	color: #fff !important;
}
/* No bag glyph on the pill — the label carries the meaning. */
.woocommerce .products .product .item-description .meta_info .add-to-cart a.button::before {
	content: none !important;
}
/* The localized tooltip span becomes the visible label (theme: display:none
   at ~5741 + font-size:0). Static, inline, readable. */
.woocommerce .products .product .item-description .meta_info .add-to-cart a.button span.ftc-tooltip.button-tooltip {
	display: inline-block !important;
	position: static;
	font-size: 14px;
	/* Tall line box: the pill anchor centres with flex at line-height:1, but
	   this span clips its own overflow (for the ellipsis) — at 1.0 the Arabic
	   label's marks (hamza of إ, descender of السلة) sat OUTSIDE the 1em box
	   and were sheared top/bottom (owner 2026-07-18). 1.8 covers Cairo's tall
	   ascent/descent; the 42px pill still centres it. */
	line-height: 1.8;
	opacity: 1;
	visibility: visible;
	background: transparent;
	padding: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* After add: the "View cart" swap-in link as an outline success pill (its
   text was font-size:0 in the icon-row look; here it reads). The check glyph
   is the global ::after (\e080, ~3177) — size it to sit beside the text. */
.woocommerce .products .product .item-description .meta_info a.added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	line-height: 1.8;                /* Arabic marks clip at 1.0 (see the Add label note) */
	border-radius: 999px;
	border: 1.5px solid var(--secondary, #186034);
	background: #fff;
	color: var(--secondary, #186034) !important;
	font-size: 14px;
	font-weight: 600;
}
.woocommerce .products .product .item-description .meta_info a.added_to_cart:hover {
	background: var(--secondary, #186034);
	color: #fff !important;
}
.woocommerce .products .product .item-description .meta_info .added_to_cart::after {
	font-size: 14px;
	line-height: 1 !important;       /* icon-row base forces 32px line-height */
}

/* ── 2b) Card quick-add (client feedback/3: "+ by unit") ────────────────────
   The Add pill is replaced server-side (organico_child_quick_add_link) with
   .lm-qadd. Empty state: one full-width "+ 1 kg" pill (the + anchor stretches).
   In-cart state: "− qty +" — minus button / count / plus segment share the
   same 42px pill. Selectors ride the same chain as the pill base above so
   they win on specificity; flex + glyphs are direction-neutral for RTL. */
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-qadd {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 42px;
	border-radius: 999px;
	overflow: hidden;
	background: var(--secondary, #186034);
}
/* the + segment: same anchor the pill base styles — narrow it into a segment */
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-qadd a.button {
	flex: 0 0 46px;
	width: 46px;
	height: auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
}
/* empty state: the + segment IS the whole pill and shows the unit */
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-qadd.is-empty a.button {
	flex: 1 1 100%;
	width: 100%;
}
.lm-qadd .lm-qadd-x {
	font-size: 19px;
	font-weight: 600;
	line-height: 1;
}
.lm-qadd .lm-qadd-unit {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;                /* Arabic marks clip at 1.0 (see the Add label note) */
	white-space: nowrap;
}
/* Phones/tablets: the theme blanks the text of every card action button
   (`.woocommerce .product .item-description .meta_info a span { font-size:0 }`
   in responsive.css — its own buttons go icon-only there). Our quick-add pill
   IS that anchor, so the unit label AND the + vanished, leaving a blank green
   pill (owner screenshot 2026-08-16). Restore both — the theme rule is
   specificity (0,4,2) and loads later, so !important. */
@media (max-width: 991px) {
	.lm-qadd .lm-qadd-x {
		font-size: 19px !important;
		line-height: 1 !important;
	}
	.lm-qadd .lm-qadd-unit {
		font-size: 14px !important;
		line-height: 1.8 !important;
	}
}
.lm-qadd.is-empty .lm-qadd-minus,
.lm-qadd.is-empty .lm-qadd-count {
	display: none;
}
.lm-qadd:not(.is-empty) .lm-qadd-unit {
	display: none;
}
/* − segment: a real <button>; neutralize the theme/DB-blob button paint */
.lm-qadd .lm-qadd-minus {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	margin: 0;
	cursor: pointer;
	flex: 0 0 46px;
	width: 46px;
	padding: 0 !important;
	background: transparent !important;
	color: #fff !important;
	/* !important: the blob's `.woocommerce button { font-size:14px !important }`
	   had been shrinking the − to 14 against the +'s 19 (both platforms) */
	font-size: 19px !important;
	font-weight: 600;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lm-qadd .lm-qadd-minus::before,
.lm-qadd .lm-qadd-minus::after {
	content: none !important;
}
.lm-qadd .lm-qadd-count {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-qadd a.button:hover,
.lm-qadd .lm-qadd-minus:hover {
	background: #114324 !important;  /* segment-only hover, a step darker */
}
/* the stepper replaces the "View cart" swap-in — never show it inside */
.lm-qadd a.added_to_cart {
	display: none !important;
}
/* WooCommerce marks the + with .added after the first add; the legacy card rule
   (~4937) display:none's added buttons to make room for the View-cart swap.
   Inside the stepper the + must stay — out-specify all three rule variants. */
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-qadd a.button.added,
.woocommerce-page .products .product .item-description .meta_info .add-to-cart .lm-qadd a.button.added,
.woocommerce .ftc-product.product .item-description .meta_info .add-to-cart .lm-qadd a.button.added {
	display: flex !important;
}
.lm-qadd.lm-busy {
	opacity: 0.65;
	pointer-events: none;
}
/* "Choose size" pill (variable products): sits in the normal bottom slot via
   the pill base above; only the + glyph needs its size outside .lm-qadd. */
.lm-choose-size .lm-qadd-x {
	font-size: 19px;
	font-weight: 600;
	line-height: 1;
}

/* ── Sold out (client 2026-08-15, Baymard: mark out-of-stock at a glance) ────
   Grey chip on the photo (card / Quick View / product page), photo dims via
   :has() (older browsers just skip the dim — badge still reads), disabled grey
   pill in the card's button slot. Slate palette: unavailable, not an error. */
.lm-soldout-badge {
	position: absolute !important; /* a theme span rule flips it to relative */
	top: 14px;
	inset-inline-start: 14px;
	z-index: 3 !important;
	padding: 6px 12px;
	border-radius: 999px;
	background: #475569;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	line-height: 1.2;
	pointer-events: none;             /* never blocks the card link under it */
}
.lm-soldout-badge--single,
.lm-soldout-badge--qv {
	font-size: 13px;
	padding: 7px 14px;
}
/* Photo stays FULL COLOR (owner 2026-08-15 — grocery convention: Instacart/
   Amazon/Walmart label sold-out items without washing out the image; the chip
   + the grey pill carry the state). The theme's conditions-box sold-out chip
   (styled back in the badges round, ~5634) is retired in favour of this badge —
   the card-scoped selector out-specifies the chip stack's
   `display:inline-flex !important` (~5627); the bare one covers the single
   product image and any other context. */
.conditions-box span.out-of-stock,
.woocommerce .products .product .item-image .conditions-box span.out-of-stock {
	display: none !important;
}
/* classification stamps drop below the badge instead of colliding with it */
.images:has(.lm-soldout-badge) .lm-stamps,
.images-slider-wrapper:has(.lm-soldout-badge) .lm-stamps {
	top: 52px;
}
/* the card's button slot: disabled grey pill, same geometry as the Add pill */
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-soldout-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 42px;
	border-radius: 999px;
	background: #e2e8f0;
	color: #64748b !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
	cursor: not-allowed;
	user-select: none;
}
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-soldout-pill::before,
.woocommerce .products .product .item-description .meta_info .add-to-cart .lm-soldout-pill::after {
	content: none !important;
}
/* Product page + Quick View variant of the pill: occupies the buy row's exact
   slot and geometry (the in-stock Add to cart row: full row, 50px, radius 24,
   margins 14/10) — its own line, never inline beside the wishlist link. */
.lm-soldout-pill--single {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	padding: 0 24px;
	margin: 14px 0 10px;
	border-radius: 24px;
	background: #e2e8f0 !important;
	color: #64748b !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.8;
	cursor: not-allowed;
	user-select: none;
}
.lm-soldout-pill--single::before,
.lm-soldout-pill--single::after {
	content: none !important;
}
/* variant-level sold-out (future variants): the size stays VISIBLE but greyed
   + struck through, never hidden (Baymard) — dormant until real variants land. */
.rtwpvs-term.disabled,
.rtwpvs-term.rtwpvs-disabled {
	opacity: 0.45;
	text-decoration: line-through;
	pointer-events: none;
}

/* ── Quick View: "View full details →" (Baymard: a prominent product-page link
   must be visible in the popup without scrolling). Quiet text link so it never
   competes with Add to cart; sits under the buy row, above the share icons. */
.lm-qv-full-details {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--secondary, #186034) !important; /* DB blob paints link colors */
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lm-qv-full-details:hover {
	color: #114324 !important;
	text-decoration: none;
}
.lm-qv-full-details::before,
.lm-qv-full-details::after {
	content: none !important;                    /* DB-blob a::after glyph traps */
}

/* ── 3) Wishlist + quick view → circles over the image's top end corner ─────
   Same nodes, absolutely positioned against the card. The image (order:-1)
   starts at the card's 4px padding, so 14px insets sit well inside it. */
.woocommerce .products .product .item-description .meta_info .yith-add-to-wishlist-button-block {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	z-index: 5;
	margin: 0;
}
.woocommerce .products .product .item-description .meta_info a.quickview {
	position: absolute;
	top: 56px;                       /* below the heart: 14 + 36 + 6 gap */
	inset-inline-end: 14px;
	z-index: 5;
	width: 36px;
	height: 36px;
	line-height: 36px;               /* theme's own glyph-centring method */
	border-radius: 50%;
}
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button {
	width: 36px;
	height: 36px;
}
/* Shared circle look: readable over any photo. */
.woocommerce .products .product .item-description .meta_info a.quickview,
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.woocommerce .products .product .item-description .meta_info a.quickview:hover,
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:hover {
	background: var(--primary, #f8d92e);
}

/* Desktop (a real hover device): icons appear on card hover or keyboard focus.
   Touch keeps them always-on — there is no hover to reveal them with. */
@media (hover: hover) and (pointer: fine) {
	.woocommerce .products .product .item-description .meta_info .yith-add-to-wishlist-button-block,
	.woocommerce .products .product .item-description .meta_info a.quickview {
		opacity: 0;
		transform: translateY(-4px);
		pointer-events: none;
		transition: opacity 0.18s ease, transform 0.18s ease;
	}
	.woocommerce .products .product .item-description .meta_info a.quickview {
		transition-delay: 0.03s;     /* tiny stagger under the heart */
	}
	.woocommerce .products .product.ftc-product:hover .meta_info .yith-add-to-wishlist-button-block,
	.woocommerce .products .product.ftc-product:focus-within .meta_info .yith-add-to-wishlist-button-block,
	.woocommerce .products .product.ftc-product:hover .meta_info a.quickview,
	.woocommerce .products .product.ftc-product:focus-within .meta_info a.quickview {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
}

/* Keyboard affordance on the interactive card controls. */
.woocommerce .products .product .item-description .meta_info a:focus-visible,
.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button:focus-visible {
	outline: 2px solid var(--secondary, #186034);
	outline-offset: 2px;
}

/* ── 4) Hover feedback: lift + soft shadow + same-image zoom ──────────────── */
@media (hover: hover) and (pointer: fine) {
	.woocommerce .products .product.ftc-product {
		transition: transform 0.22s ease, box-shadow 0.22s ease;
	}
	.woocommerce .products .product.ftc-product:hover {
		transform: translateY(-4px);
		box-shadow: 0 14px 30px rgba(24, 96, 52, 0.10);
	}
	.woocommerce .products .product .item-image > a {
		transition: transform 0.45s ease;
	}
	.woocommerce .products .product.ftc-product:hover .item-image > a {
		transform: scale(1.05);      /* clipped by the 1:1 box's overflow+radius */
	}
}
@media (prefers-reduced-motion: reduce) {
	.woocommerce .products .product.ftc-product,
	.woocommerce .products .product .item-image > a,
	.woocommerce .products .product .item-description .meta_info .yith-add-to-wishlist-button-block,
	.woocommerce .products .product .item-description .meta_info a.quickview {
		transition: none;
	}
	.woocommerce .products .product.ftc-product:hover {
		transform: none;
	}
	.woocommerce .products .product.ftc-product:hover .item-image > a {
		transform: none;
	}
}

/* Inside owl sliders (home Featuring/category tabs, related-product
   carousels) the stage clips at `overflow:hidden` — a lifted card's top and
   shadow would slice off. Keep the icons/zoom, drop the lift there. */
.woocommerce .owl-item .product.ftc-product:hover,
.owl-item .product.ftc-product:hover {
	transform: none;
	box-shadow: none;
}

/* The theme's own in-image hover button set duplicates the actions we just
   placed — make sure it can never surface here. */
.woocommerce .products .product .item-image .group-button-product {
	display: none !important;
}

/* Second-image swap (products WITH a gallery image): the theme yanks the cover
   out on hover (display:none + position:fixed) — a hard cut. Keep the cover in
   flow and just fade it; the absolute `.hover_image` fades in over it (its own
   600ms opacity transition is the theme's). Today only one product has a
   gallery image; this simply future-proofs the real photos. */
.woocommerce .products .product .item-image:hover span.cover_image img {
	display: block !important;
	position: static !important;
	width: 100% !important;
	opacity: 0;
}
.woocommerce .products .product .item-image span.cover_image img {
	transition: opacity 0.35s ease-in-out;
}
.woocommerce .products .product .item-image span.hover_image {
	position: absolute;
	inset: 0;
	height: 100%;
}

/* ── Product-card badges → image top-START corner, stacked cleanly ───────────
   Sale + New (Featured) + Out-of-stock all share this one start-corner box. The
   theme laid the spans out to collide (no gap) and gave each a little triangle
   tail that overlapped its neighbour, so a product with two labels read a broken
   "SaleNew". Stack them as a flex column with a real gap, and drop the tails →
   flat chips. Chip colour/padding is set earlier in this file (Sale + New = the
   same green chip; they only differ by their text). Scoped to `.products
   .product` so it covers EVERY card occurrence (shop, category, related products,
   home + product sliders — owl re-wraps this same markup); the single-product
   main image (not a card) keeps the theme's own placement. Logical insets mirror
   to the right in Arabic on their own. */
.woocommerce .products .product .item-image .conditions-box {
	top: 14px;
	inset-inline-start: 14px;
	inset-inline-end: auto;
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	line-height: 0;
	text-align: start;
}
.woocommerce .products .product .item-image .conditions-box span {
	float: none;
	position: static;
	margin: 0;
	min-width: 0;
	min-height: 0;
	display: inline-flex !important;   /* also overrides the theme hiding .featured on odd cards */
	align-items: center;
	border-radius: 999px;              /* pill corners — matches the Sold Out chip (owner 2026-08-15) */
	box-shadow: 0 1px 3px rgba(20, 40, 25, 0.22);
}
/* Out of stock shows on its own (the theme suppresses Sale/New then) — give it a
   readable grey instead of the theme's near-white #d4d4d4. */
.woocommerce .products .product .item-image .conditions-box span.out-of-stock {
	background-color: #6b7280 !important;
	color: #fff !important;
}
/* Drop the theme's triangle tails on every card badge — flat chips, no overlap. */
.woocommerce .products .product .item-image .conditions-box span:before {
	display: none !important;
}

/* ── Small screens: same layout, slightly tighter ──────────────────────────── */
@media (max-width: 767px) {
	.woocommerce .products .product.ftc-product > .item-description {
		padding: 4px 12px 14px;          /* top 10 -> 4, see the desktop rule */
	}
	.woocommerce .products .product .item-description .meta_info .add-to-cart a.button,
	.woocommerce .products .product .item-description .meta_info a.added_to_cart {
		height: 40px;
		font-size: 13px;
	}
	.woocommerce .products .product .item-description .meta_info .add-to-cart a.button span.ftc-tooltip.button-tooltip {
		font-size: 13px;
	}
	/* Corner circles a touch smaller on narrow cards */
	.woocommerce .products .product .item-description .meta_info .yith-wcwl-add-to-wishlist-button,
	.woocommerce .products .product .item-description .meta_info a.quickview {
		width: 32px;
		height: 32px;
	}
	.woocommerce .products .product .item-description .meta_info a.quickview {
		line-height: 32px;
		top: 52px;                   /* 14 + 32 + 6 gap */
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   P2 — card information consistency (docs/35 F5; owner 2026-07-18)
   ═══════════════════════════════════════════════════════════════════════════
   Data-side siblings of this block: decimal separators flipped to "8.00" (WC
   options), category widget now shows counts (widget option), unit fallback +
   origin tag rendered from functions.php, result count reworded via the
   loop/result-count.php override, slider handle values via shop-sidebar.js. */

/* ── Name over price: normal case, name leads ────────────────────────────────
   The parent uppercases card titles at 16px but caps the line (height:25px,
   overflow:hidden) and lets the 16px/700 price outweigh it — the grid read as
   a price list. Name: sentence case as stored, 600 weight, dark; price: same
   size but the muted green keeps it second in the scan order. */
.woocommerce .products .product.ftc-product .item-description h3.product-name {
	height: auto;
	max-height: 44px;                /* room for two lines, keeps rows tidy */
	font-size: 15px;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0;
}
.woocommerce .products .product.ftc-product .item-description h3.product-name a {
	font-size: 15px;
	font-weight: 600;
	color: #1f2a22;
}
.woocommerce .products .product.ftc-product .item-description .price {
	font-size: 15px;
}
.woocommerce .products .product.ftc-product .item-description .price del {
	font-size: 13px;
}

/* ── Origin tag (rendered after the title by functions.php) ────────────────── */
.woocommerce .products .product.ftc-product .item-description .lm-origin-tag {
	display: inline-block;
	align-self: center;              /* the flex-column card stretches children */
	margin: 2px 0 0;
	padding: 1px 10px;
	border: 1px solid #dbe5da;
	border-radius: 999px;
	background: #f6f9f4;
	color: #4b5d4f;
	font-size: 11px;
	line-height: 18px;
}

/* ── Category widget: counts + selected state ────────────────────────────────
   The widget prints " (12)" inside the link (plugin option, flipped in DB;
   split into name/count spans by shop-sidebar.js). Current row = a soft green
   PILL on the whole li (E4 2026-07-18 — replaced the older dot + bold cue;
   the pill geometry itself lives in the flat-sidebar row rules). */
.ftc-product-categories-widget ul.product-categories li.current,
.ftc-product-categories-widget ul.product-categories li.current-cat {
	background: #e9f2e6;
}
.ftc-product-categories-widget ul.product-categories li.current > a,
.ftc-product-categories-widget ul.product-categories li.current-cat > a {
	font-weight: 700;
	color: var(--secondary, #186034);
}

/* ── Price slider: values on the handles ─────────────────────────────────────
   shop-sidebar.js mirrors the live min/max into data-lm-price on the two
   jQuery-UI handles; draw them as small bubbles. The currency symbol is left
   off on purpose — the axis label under the slider carries it. */
.price_slider_wrapper {
	padding-top: 26px;               /* headroom for the bubbles */
}
.price_slider .ui-slider-handle::after {
	content: attr(data-lm-price);
	position: absolute;
	bottom: 16px;
	inset-inline-start: 50%;
	transform: translateX(-50%);
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--secondary, #186034);
	color: #fff;
	font-size: 11px;
	line-height: 16px;
	white-space: nowrap;
	pointer-events: none;
}
[dir="rtl"] .price_slider .ui-slider-handle::after {
	transform: translateX(50%);
}

/* ── P2 polish (owner feedback 2026-07-18, round 2) ──────────────────────────
   1. Result count sits at the START of the toolbar pill, not centred (the
      theme absolutely-centres it; logical inset keeps AR mirrored).
   2. The "Price: Ð 0 — Ð 130" line under the slider is redundant now that the
      handles carry live value bubbles — hide it (the hidden min/max inputs
      and the Filter button are siblings, untouched).
   3. Handle bubbles show the Dirham symbol: shop-sidebar.js prepends U+E900;
      the 'Laymoun Dirham' face is unicode-range–scoped to that code point,
      so digits fall through to the site font.
   4. A touch more air around the origin tag so the price row doesn't crowd it. */
/* The theme lays the toolbar out with an ABSOLUTE count (right:30% / 45% in
   .col-sm-9) and a floated sort control — the count's anchor box changes with
   position context and direction, which is why it kept re-centring on Arabic
   (owner 2026-07-18, twice). End the fight: the toolbar is a flex row, the
   count is a normal in-flow child at the inline START, the sort control sits
   at the END via auto margin. position:static makes the theme's right:%
   rules inert — no side/percentage war, direction-proof by construction. */
body.archive.woocommerce .site-content > .before-loop-wrapper,
body.archive.woocommerce-page .site-content > .before-loop-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;                 /* notices (rare) can take their own line */
	gap: 0 16px;
}
body.archive.woocommerce .col-sm-9 .before-loop-wrapper .woocommerce-result-count,
body.archive.woocommerce-page .col-sm-9 .before-loop-wrapper .woocommerce-result-count,
body.archive.woocommerce .before-loop-wrapper .woocommerce-result-count,
body.archive.woocommerce-page .before-loop-wrapper .woocommerce-result-count {
	position: static;
	float: none;
	transform: none;
	width: auto;
	margin: 0;
	margin-inline-start: 30px;
	text-align: start;
}
body.archive.woocommerce .before-loop-wrapper .woocommerce-ordering,
body.archive.woocommerce-page .before-loop-wrapper .woocommerce-ordering {
	float: none;
	margin-inline-start: auto;       /* pins Sort to the inline END both directions */
}
body.archive.woocommerce .before-loop-wrapper .woocommerce-notices-wrapper:empty,
body.archive.woocommerce-page .before-loop-wrapper .woocommerce-notices-wrapper:empty {
	display: none;
}
.archive .widget_price_filter .price_slider_amount .price_label {
	display: none !important;
}
.price_slider .ui-slider-handle::after {
	font-family: 'Laymoun Dirham', sans-serif;
}
.woocommerce .products .product.ftc-product .item-description .lm-origin-tag {
	margin: 4px 0 7px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shop sidebar — ONE card, flat sections (owner 2026-07-18)
   ═══════════════════════════════════════════════════════════════════════════
   The panel was a card-in-a-card: the 300px white 24px-radius aside wrapped
   every widget in its OWN 24px bordered box (plus a "Filter selection" text
   widget fused onto the price widget with negative margins/split radii), and
   the padding stack (15 aside + 10 margin + 20 widget per side) squeezed the
   content to ~210px — "Leafy Greens & Herbs (8)" wrapped. Best practice
   (Baymard filter UI; card = one concept): the PANEL is the card; inside it,
   flat sections separated by hairlines. Scoped to archive sidebars — the
   mobile filter drawer is the same aside and inherits the flat look. */

@media (min-width: 992px) {
	.archive aside#left-sidebar.ftc-sidebar,
	.archive aside#right-sidebar.ftc-sidebar {
		padding: 8px 0 14px;         /* sections carry their own inline padding */
	}
}
.archive aside#left-sidebar.ftc-sidebar .widget-container,
.archive aside#right-sidebar.ftc-sidebar .widget-container {
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 18px 24px 20px;
	background: transparent;
}
/* Hairline between sections (not above the first). */
.archive aside#left-sidebar.ftc-sidebar .widget-container + .widget-container,
.archive aside#right-sidebar.ftc-sidebar .widget-container + .widget-container {
	border-top: 1px solid #f0f0ec;
}
/* The "Filter selection" heading is an EMPTY text widget (its .textwidget has
   no content) that only existed to caption the boxes — the flat panel needs no
   second-level caption. NB: hides any text widget in the archive sidebar; if
   a real one is ever added there, give it its own class and lift this. */
.archive aside#left-sidebar.ftc-sidebar .widget_text,
.archive aside#right-sidebar.ftc-sidebar .widget_text {
	display: none;
}

/* One heading style for every section (they shipped 20px vs 16px). */
.archive aside#left-sidebar.ftc-sidebar .widget-title-wrapper,
.archive aside#right-sidebar.ftc-sidebar .widget-title-wrapper {
	margin: 0 0 4px;
}
.archive aside#left-sidebar.ftc-sidebar .widget-title,
.archive aside#right-sidebar.ftc-sidebar .widget-title,
.archive aside#left-sidebar.ftc-sidebar .widget-title.product_title,
.archive aside#right-sidebar.ftc-sidebar .widget-title.product_title,
.archive aside#left-sidebar.ftc-sidebar .widget_price_filter .widget-title,
.archive aside#right-sidebar.ftc-sidebar .widget_price_filter .widget-title {
	/* ≥ the 16px option rows — a heading must not read smaller than its list
	   (owner 2026-07-18); the theme's `.product_title` variant also padded the
	   heading 10px top / 13px bottom, which read as odd extra headroom.
	   Sentence case (E4): letterspaced uppercase micro-labels are dashboard
	   typography — "Category", not "CATEGORY". */
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #1f2a22;
	margin: 0;
	padding: 0 0 6px !important;
}

/* Category rows: full-width tap targets on the reclaimed width; keep each
   entry on one line (fits now that ~40px of chrome padding is gone). */
/* Row = the LI (E4): a soft pill that wraps icon + name + count, so hover and
   the current state highlight the WHOLE row. Category thumbnails (the home
   tiles' images, term meta `shortcode_icon_id` + widget show_icon, both in
   DB) render as 28px rounds; the theme's per-row hairlines are dropped — the
   pills carry the rhythm now. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px;
	margin-inline: -12px;
	border-radius: 10px;
	border-bottom: 0;
	transition: background-color 0.15s ease;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li:hover,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li:hover {
	background: #f2f6f0;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .icon-toggle,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .icon-toggle {
	display: none;                   /* sub-cat arrow — no subcategories here */
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .image-icon,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .image-icon {
	flex: 0 0 auto;
	line-height: 0;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .image-icon img,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li .image-icon img {
	width: 56px;                     /* 2× the July 28px (owner 2026-10-08) */
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a {
	display: flex;                   /* name at start, count at end (bidi-safe) */
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 0;
	background: transparent !important;
	text-transform: none;            /* names as stored ("Ugly but tasty"), not the store-wide capitalize (QA DEF-121, app repo plan 146) */
}
/* shop-sidebar.js splits each row into name + count spans: the widget prints
   "خضروات (23)" as ONE text node, and in RTL the bidi algorithm shoved the
   "(23)" to the wrong side (owner 2026-07-18). Flex + spans end the guesswork:
   the name ellipsizes, the count sits at the inline END, muted, in both
   directions. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a .lm-cat-name,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a .lm-cat-name {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a .lm-cat-count,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a .lm-cat-count {
	flex: 0 0 auto;
	font-size: 13px;
	color: #8a958c;
}
/* (The old last-row padding fix is gone: the pill row rule above carries ID
   weight and out-ranks the theme's li:last-child indent for every row.) */

/* The price-filter and categories widgets get extra-specific pins from three
   directions: the child's own June border-box block (updated above to the
   flat values), and split-radius/margin rules from the DB Customizer blob —
   the blob uses !important, so these do too (the established counter-pattern
   here; see the blob-landmines notes). One value set, both wrap states. */
.archive aside#left-sidebar.ftc-sidebar .widget-container.widget_price_filter,
.archive aside#right-sidebar.ftc-sidebar .widget-container.widget_price_filter,
.archive aside#left-sidebar.ftc-sidebar .widget-container.ftc-product-categories-widget,
.archive aside#right-sidebar.ftc-sidebar .widget-container.ftc-product-categories-widget {
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 !important;
	padding: 18px 24px 20px !important;
}
.archive aside#left-sidebar.ftc-sidebar .widget-container.widget_price_filter,
.archive aside#right-sidebar.ftc-sidebar .widget-container.widget_price_filter {
	/* the section hairline (its predecessor, the empty text widget, is hidden) */
	border-top: 1px solid #f0f0ec !important;
}

/* ── Shop toolbar stickiness: REVERTED (owner 2026-07-18) ────────────────────
   A sticky toolbar shipped briefly (Baymard-style sticky filter-sort bar) but
   the owner wants a different scroll feel for the listing — a fixed-frame
   layout is under discussion (see docs/35 P2c). The toolbar scrolls with the
   page again until that decision lands. NB: the Arabic overflow-x:clip fix in
   rtl.css from the same change STAYS — it repairs position:sticky for the
   SIDEBAR on AR tablets/phones and is independent of the toolbar. */

/* ═══════════════════════════════════════════════════════════════════════════
   P3 — calm the canvas on shop archives (docs/35 F4; owner 2026-07-18)
   ═══════════════════════════════════════════════════════════════════════════
   The lime leaf-pattern canvas (back-pro.jpg) is painted by the DB Customizer
   blob (`#wp-custom-css`: body.woocommerce/… background !important) across
   ALL WooCommerce pages. On the browsing grid it fights 12+ product photos —
   premium PLPs keep a near-white canvas and let photography carry the colour
   (audit F4; Baymard refs there). Scope: ARCHIVES ONLY — higher specificity
   among !important rules wins, and this stays versioned in git instead of
   editing the blob. Cart/checkout/product pages keep the brand canvas.
   On the neutral canvas the white surfaces need their own separation —
   resting elevation on cards (archives only: inside owl sliders the stage
   would clip shadows) and a hairline + soft shadow on the panel/toolbar. */
body.archive.woocommerce,
body.archive.woocommerce-page {
	/* a step deeper than the first cut (#f7f8f4) so the white cards/sidebar
	   read as distinct planes, not one clinical white sheet (E2) */
	background: #f4f6f1 !important;
}
/* Cards: quiet resting elevation (hover still lifts stronger). */
body.archive.woocommerce .products > .product.ftc-product {
	box-shadow: 0 1px 2px rgba(31, 42, 34, 0.05), 0 10px 24px rgba(31, 42, 34, 0.06);
}
/* Sidebar panel + toolbar pill: hairline + whisper of depth. */
body.archive.woocommerce aside#left-sidebar.ftc-sidebar,
body.archive.woocommerce aside#right-sidebar.ftc-sidebar,
body.archive.woocommerce .site-content > .before-loop-wrapper {
	border: 1px solid #eef1ea;
	box-shadow: 0 1px 2px rgba(31, 42, 34, 0.04), 0 6px 16px rgba(31, 42, 34, 0.04);
}

/* ── Product SLIDERS: equal-height cards per view (owner 2026-07-18) ─────────
   The archive grid stretches rows (align-items:stretch), but the home
   "Featuring"/category sliders and the related-products carousel are owl
   sliders — each .owl-item sizes independently, so a card WITH an origin tag
   stood taller than its tag-less neighbours. Classic owl equal-height: the
   stage becomes a flex row, items keep their owl-computed pixel widths, and
   the card (already a flex column with meta_info pinned by margin-top:auto)
   fills the item. Scoped to INITIALIZED product sliders — the shop grid also
   carries .owl-carousel but never initializes, so it has no .owl-stage and
   is untouched. Hero/other non-product owls don't match .products. */
.products.owl-carousel .owl-stage {
	display: flex;
}
.products.owl-carousel .owl-item {
	float: none;                     /* ignored by flex anyway; explicit for clarity */
	flex: 0 0 auto;                  /* keep owl's inline pixel width */
	display: flex;                   /* let the card stretch to the item height */
}
.products.owl-carousel .owl-item > .product.ftc-product {
	width: 100%;                     /* fill the fixed-width item */
}
/* The category-tabs slider nests cards in a .ftc-products wrapper (1 card per
   item on desktop, 2 stacked on narrow widths) — continue the stretch chain
   through it: the wrapper is a flex column and its cards share/fill the item
   height, so a tag-less card matches its tagged neighbour in every mode. */
.products.owl-carousel .owl-item > .ftc-products {
	/* Grid with equal 1fr rows: unlike flex-basis tricks, it both ESTABLISHES
	   the intrinsic height (rows grow to the tallest card, so nothing
	   collapses) and EQUALIZES (every row gets that same height) — a tagged
	   card and its tag-less stack-mate always match. One card per item on
	   desktop = a single row = simple stretch. */
	display: grid;
	grid-auto-rows: 1fr;
	/* As many tracks as the slides stack (--lm-stack, js/category-tabs-loop-fix.js):
	   a slide holding fewer cards keeps the empty track, so a lone last card
	   (an odd count on mobile) is one card high, not stretched to the 2-card
	   column's height (app repo docs/plans/115 #2). */
	grid-template-rows: repeat(var(--lm-stack, 1), 1fr);
	row-gap: 20px;
	width: 100%;
}
/* Equal tracks need equal boxes: the theme's per-position card margins (20px
   top/bottom mixes) made stack-mates differ by 20px inside identical rows —
   the grid gap above IS the spacing now. */
.products.owl-carousel .owl-item > .ftc-products > .product.ftc-product {
	margin-top: 0;
	margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shop WORKSPACE layout — full-width split pane (owner 2026-07-18)
   ═══════════════════════════════════════════════════════════════════════════
   The archive becomes an app-like results screen (the Booking/Airbnb split-
   pane pattern; docs/35 P2c resolution): the filter sidebar is CHROME pinned
   to the viewport's inline-start edge, the toolbar spans the whole results
   pane FLUSH under the sticky header (no gap, no radius — owner), and the
   grid gains columns because cards keep their size band instead of inflating.
   Native window scroll throughout (panes are sticky, not scroll containers):
   back-position restore and the window-bound infinite scroll stay intact.
   Desktop ≥1200 only — tablets/phones keep the boxed layout + filter drawer.
   RTL: flex + logical properties mirror the whole workspace (sidebar hugs the
   RIGHT edge on /ar/). The header is untouched: its bar is already full-width
   and railed inner header content above an app pane is the established
   pattern. The sticky block's height (--lm-sticky-head: the header, plus the
   search bar below 1350px, docs/plans/95) and the +32 admin bar match the ones
   the sticky sidebar uses. */
@media (min-width: 1200px) {
	/* Full-bleed shell: the container and row give up their box */
	body.archive.woocommerce .page-container.container {
		max-width: 100%;
		width: 100%;
		padding: 0;
		margin: 0;
	}
	body.archive.woocommerce .page-container > .row {
		display: flex;
		align-items: stretch;
		margin: 0;
	}
	body.archive.woocommerce .site-content-contain > .site-content {
		padding-top: 0;
		margin-top: 0;
	}

	/* ── Sidebar: chrome at the inline-start edge ──
	   IDs in the selector: the boxed-era sticky block (~"sticky shop sidebar",
	   .archive #left-sidebar.ftc-sidebar, ≥992px) pins 20px under the sticky block with an
	   ID-weighted selector — without matching that tier here, ITS pin line
	   wins and shoves the sidebar 20px below the header at rest (the strip
	   the owner saw). That block still governs 992–1199px, where the boxed
	   layout remains. */
	body.archive.woocommerce .page-container > .row > aside#left-sidebar.ftc-sidebar.col-sm-3,
	body.archive.woocommerce .page-container > .row > aside#right-sidebar.ftc-sidebar.col-sm-3 {
		flex: 0 0 300px;
		width: 300px;
		max-width: 300px;
		float: none;
		margin: 0;
		padding: 8px 0 14px;
		position: -webkit-sticky;
		position: sticky;
		top: var(--lm-sticky-head);           /* flush under the sticky block */
		height: calc(100vh - var(--lm-sticky-head));
		max-height: calc(100vh - var(--lm-sticky-head));
		overflow-y: auto;
		scrollbar-width: thin;
		align-self: flex-start;
		background: #fff;
		border: 0;
		border-inline-end: 1px solid #e9ede6; /* the pane divider */
		border-radius: 0 !important;          /* chrome, not a card (owner) */
		box-shadow: none;
	}
	body.admin-bar.archive.woocommerce .page-container > .row > aside#left-sidebar.ftc-sidebar.col-sm-3,
	body.admin-bar.archive.woocommerce .page-container > .row > aside#right-sidebar.ftc-sidebar.col-sm-3 {
		top: calc(var(--lm-sticky-head) + 32px);
		height: calc(100vh - var(--lm-sticky-head) - 32px);
		max-height: calc(100vh - var(--lm-sticky-head) - 32px);
	}

	/* ── Results pane ── */
	body.archive.woocommerce .page-container > .row > .col-sm-9 {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		min-width: 0;
		float: none;
		padding: 0;
	}
	body.archive.woocommerce .col-sm-9 > .site-content {
		padding: 0;
		margin: 0;
	}

	/* ── Toolbar: GONE on the workspace (owner 2026-07-18, round 2) ──
	   Title/count and the 3-option sort live in the sidebar now, so the pane
	   needs no bar at all — the grid starts at the top of the page. The
	   element stays in the DOM: ≤1199px it is the mobile toolbar (Filter chip
	   + sort dropdown), and its hidden result-count remains the fresh source
	   shop-sidebar.js mirrors into the sidebar count after YITH re-renders. */
	body.archive.woocommerce .site-content > .before-loop-wrapper {
		display: none;
	}

	/* ── Grid: breathing room inside the pane + more columns (E2) ──
	   Wider gutters (24px) + a generous top — data-grid density reads as a
	   dashboard; air reads as retail. Cards: 4-up ≥1200, 5-up ≥1600. */
	body.archive.woocommerce .col-sm-9 .site-content > .woocommerce {
		padding: 24px 40px 64px;      /* grid opens the pane (no toolbar above) */
	}
	body.archive.woocommerce .products > .product.ftc-product {
		width: calc(25% - 24px);
		margin: 0 12px 24px;
	}
}
/* 5 columns when the pane is wide enough to keep cards in the size band */
@media (min-width: 1600px) {
	body.archive.woocommerce .products > .product.ftc-product {
		width: calc(20% - 24px);
	}
}

/* ── Header content full width (owner 2026-07-18) ────────────────────────────
   The green bar always spanned the viewport; its inner content was railed in
   a ~1170px .container. The frame now reads edge-to-edge everywhere: logo at
   the far start, icons at the far end, 28px inline padding — the same inset
   as the shop workspace's toolbar/pane padding, so the logo and the "48
   products" count share one vertical line on the shop. Site-wide (the header
   is chrome; full-width chrome above boxed page content is the standard
   frame pattern — see docs/35 P2c research). RTL is symmetric. */
.site-header .header-content > .container {
	max-width: 100%;
	width: 100%;
}
/* The 24/40 inset is a DESKTOP measure (it pairs with the workspace pane's
   padding). Unscoped it also hit mobile, pushing the heart/cart 40px in from
   the edge while the burger sat at 24px — lopsided (owner report 2026-07-19).
   Scope it ≥992px; phones keep the theme's own tighter symmetric padding. */
@media (min-width: 992px) {
	.site-header .header-content > .container {
		/* Slightly larger end inset (owner: icons a touch further from the edge). */
		padding-inline: 24px 40px;
	}
}
/* The theme boxes the logo in a fixed `width:20%` wrapper and centres the
   image inside it — at 1920px that is ~80px of INVISIBLE box left of the
   artwork, which read as "logo far from the edge" (owner 2026-07-18; the
   PNG itself has zero padding — canvas-measured). Size the wrapper to its
   content so the logo starts at the container inset. */
@media (min-width: 992px) {
	/* Balanced 3-part header: the container is flex/space-between, and the
	   middle nav is only truly centred when BOTH side boxes are equal — with
	   the logo box content-sized (186px) vs the icon row (368px) the menu sat
	   ~99px left of centre (measured at 1905px; owner report). Equal flex:1
	   sides fix the geometry for good: the logo aligns to its START edge, the
	   icons to their END edge, and the nav lands on the exact centreline. */
	.site-header .header-content > .container > .logo-wrapper.is-desktop {
		flex: 1 1 0;
		width: auto;
		text-align: start;
	}
	/* …and the inner div.logo is ITSELF a flex box centring the anchor
	   ((732−186)/2 + 24 = the measured 297px) — start-align it. */
	.site-header .header-content > .container > .logo-wrapper.is-desktop .logo {
		justify-content: flex-start;
	}
	.site-header .header-content > .container > .navigation-primary {
		flex: 0 0 auto;
	}
	.site-header .header-content > .container > .header-right.lm-header-right {
		flex: 1 1 0;
		justify-content: flex-end;
	}
}
/* Footer content joins the full-width frame — its start inset aligns EXACTLY
   with the header logo's (24px; owner 2026-07-18), end matches the icons'
   40px. Bars already bleed; verified content-min-left == container padding
   (the footer columns add no inner offset). */
.site-footer .container {
	max-width: 100%;
	width: 100%;
	padding-inline: 24px 40px;
}

/* ── Sidebar identity head + sort options (owner 2026-07-18, round 2) ────────
   The page title (category / "All Products") + live count open the SIDEBAR;
   "Sort by" closes it with exactly three options styled like the category
   pill rows. Both blocks carry .widget-container, so the flat-panel section
   padding/hairlines apply on their own (and the same markup serves the
   ≤991px filter drawer). */
.lm-side-head .lm-shop-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #182119;
	text-transform: none;
	letter-spacing: 0;
}
.lm-side-head .lm-shop-sub {
	margin: 4px 0 0;
	font-size: 13px;
	color: #7f8a81;
}
.lm-sort-widget ul.lm-sort-options {
	margin: 0;
	padding: 0;
	list-style: none;
}
.lm-sort-widget .lm-sort-options > li {
	display: flex;
	align-items: center;
	padding: 6px 12px;
	margin-inline: -12px;
	border-radius: 10px;
	transition: background-color 0.15s ease;
}
.lm-sort-widget .lm-sort-options > li:hover {
	background: #f2f6f0;
}
.lm-sort-widget .lm-sort-options > li.current {
	background: #e9f2e6;
}
.lm-sort-widget .lm-sort-options > li > a {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	padding: 4px 0;
	font-size: 15px;
	background: transparent !important;
	text-transform: none;            /* a theme transform title-cased the labels */
}
.lm-sort-widget .lm-sort-options > li.current > a {
	font-weight: 700;
	color: var(--secondary, #186034);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Classifications: photo stamps + flag-in-tag + "Filter by" section
   (client feedback/1; owner 2026-07-18 — data PROVISIONAL, see docs/35)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Round stamps (Organic / Local) — a row in the BOTTOM-START corner of the card
   photo (client feedback 9 #1, 2026-10-16: bottom-left, mirrored to
   bottom-right in Arabic by the logical inset; was a centred row, owner
   2026-10-08; history in organico_child_loop_stamps(), functions.php). The
   product shots carry a white margin under the produce, so this corner covers
   far less than the top corner the client rejected; the top corners stay with
   Best Seller / sold-out and the wishlist / quick-view buttons. No layout space,
   so every card's name, price and button line up whether it has stamps or not.
   Flat, no shadow (owner 2026-10-08); see the shared disc rule below. Not
   clickable: taps reach the photo link underneath. `top: auto` beats the
   sold-out rule that pushes PAGE stamps down
   (`.images:has(.lm-soldout-badge) .lm-stamps`). */
.woocommerce .products .product .item-image .lm-stamps--photo {
	position: absolute;
	top: auto;
	bottom: 6px;                     /* into the photos' white margin */
	inset-inline-start: 6px;
	inset-inline-end: auto;
	z-index: 4;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
	max-width: calc(100% - 12px);    /* never past the photo's far edge */
	margin: 0;
	pointer-events: none;
}
.woocommerce .products .product .item-image .lm-stamps--photo .lm-stamp {
	display: block;
	/* The product page's size (client feedback 9 #1: "decrease their size to
	   match the product details page"; was min(68px, 29%)). Up to three stamps
	   (Organic, Local, Ugly — app repo docs/plans/74): 3 × 62px + gaps is wider
	   than the narrowest card photo (189px at 1200px wide), so the stamps
	   shrink evenly to the row's max-width instead of running off the photo.
	   Then 10% smaller on the cards only (client feedback 10 round 2 q1, app
	   repo docs/plans/79 §13): 62px → 56px; the product page keeps 62px. */
	flex: 0 1 56px;
	min-width: 0;
	width: 56px;
	height: auto;
	aspect-ratio: 1;
}
/* Phone-width cards are ~170px: the product page's phone size. */
@media (max-width: 767px) {
	.woocommerce .products .product .item-image .lm-stamps--photo {
		bottom: 4px;
		inset-inline-start: 4px;
		gap: 4px;
		max-width: calc(100% - 8px);
	}
	.woocommerce .products .product .item-image .lm-stamps--photo .lm-stamp {
		flex-basis: 45px; /* 10% under the product page's 50px (round 2 q1) */
		width: 45px;
	}
}

/* Every stamp (cards, product page, Quick View) is a flat white disc a little
   LARGER than its artwork (owner 2026-10-08: "why is it cut and shadowed?").
   The client's artwork draws its green ring right to the edge of the square
   image, so `border-radius: 50%` on the <img> trimmed the ring (and a replaced
   element's content is always clipped to its own content-edge curve, so
   padding alone would not help). `clip-path: circle(50%)` clips the border
   box instead: with 3px of white padding the ring sits fully inside the disc,
   and only the artwork's white square corners are cut away. No shadow. */
.woocommerce .products .product .item-image .lm-stamp,
body.single-product .details-img .images .lm-stamp,
.ftc-quickshop-wrapper .images-slider-wrapper .lm-stamp {
	box-sizing: border-box;
	padding: 3px;
	background: #fff;
	border-radius: 0 !important;     /* a theme img rule forces 24px !important,
	                                    which on a 44px box is a circle again */
	box-shadow: none;
	clip-path: circle(50%);
}

/* UAE flag inside the origin tag (inline SVG; flags do not mirror in RTL). */
/* Shared by the card origin tag AND the "Local (UAE)" sidebar filter row
   (owner 2026-07-19) — one flag treatment in both places. */
.lm-flag {
	display: inline-block;
	vertical-align: -1px;
	margin-inline-end: 6px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Product page + Quick View — origin tag & classification stamps (owner
   2026-07-19). Researched placement: classification badges ride the product
   image's top-start corner (Baymard / NN-g / tech-arms — top-corner, don't
   obstruct, 1–2 max), and origin is shown as a conspicuous readable tag by the
   title (it's provenance INFO, not a promo badge). Same data + artwork as the
   cards, so the three surfaces match. Auto-mirrors in RTL via logical props. */

/* Origin tag under the title — both surfaces share `.summary`. */
body.single-product .summary .lm-origin-tag,
.ftc-quickshop-wrapper .summary .lm-origin-tag {
	display: inline-flex;
	align-items: center;
	margin: 10px 0 2px;
	padding: 3px 13px;
	border: 1px solid #dbe5da;
	border-radius: 999px;
	background: #f6f9f4;
	color: #4b5d4f;
	font-size: 13px;
	line-height: 20px;
}
/* Single product only: the theme gives the title a big 25px margin-bottom (the
   popup's title is 5px), leaving a 35px gap ABOVE the origin tag but ~2px below.
   Fix it at the source — the title's own margin (a block, so it maps 1:1 to the
   gap). The theme sets it via an ID selector (#content …) that outranks a plain
   class rule, so !important is needed; :has() scopes it to titles that actually
   have an origin tag, leaving originless products on the theme's spacing. Even
   12px both sides. The popup is already balanced and keeps the shared rule. */
body.single-product .summary .product_title:has( + .lm-origin-tag ) {
	margin-bottom: 12px !important;
}
body.single-product .summary .lm-origin-tag {
	margin: 0 0 12px;
}

/* Tighten the short description → buy-box gap (owner: it was ~40px — the
   description's 20px margin-bottom + the cart's 20px margin-top). Trim both to
   an even ~20px. Matches the variable buy-box (its .variations_form.cart already
   sits at margin-top:14px), so simple and variable products line up. */
body.single-product .summary .ftc_excerpt {
	margin-bottom: 6px;
}
body.single-product .summary form.cart {
	margin-top: 14px !important; /* theme's .summary form.cart (20px) ties on specificity; !important wins, same as the variable rule */
}

/* Stamps on the MAIN product image, top-start corner. The Quick View wrapper
   needs an explicit positioning context; the single page's `.images` already is
   position:relative. */
.ftc-quickshop-wrapper .images-slider-wrapper {
	position: relative;
}
body.single-product .details-img .images .lm-stamps,
.ftc-quickshop-wrapper .images-slider-wrapper .lm-stamps {
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	pointer-events: none;
}
body.single-product .details-img .images .lm-stamp,
.ftc-quickshop-wrapper .images-slider-wrapper .lm-stamp {
	display: block;
	width: 62px;
	height: 62px;
}
/* Quick View image is smaller than the product page — trim the stamps to suit. */
.ftc-quickshop-wrapper .images-slider-wrapper .lm-stamp {
	width: 54px;
	height: 54px;
}
@media (max-width: 767px) {
	body.single-product .details-img .images .lm-stamp {
		width: 50px;
		height: 50px;
	}
}

/* Product descriptions at the theme's size in both languages (client feedback
   10 round 2 q13, app repo docs/plans/79 §13). The import left an inline
   `font-size: 18px` in 76 English descriptions (and 2 Arabic ones), so English
   read 18px against Arabic's 15px. The inline size gives way here; the
   content itself is not changed. The app does the same (lib/common/tools/
   product_description_text.dart). */
#tab-description [style*="font-size"],
.woocommerce-product-details__short-description [style*="font-size"] {
	font-size: inherit !important;
}

/* "Origin" sub-filter: a native <details> row styled like the pill rows —
   zero JS, remembers nothing, opens automatically when an origin is active
   (PHP adds `open`). The inner list reuses the category-list markup, so the
   pill/count styling applies untouched. */
.lm-filterby-widget .lm-origin-sub {
	margin-top: 2px;
}
.lm-filterby-widget .lm-origin-sub > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 12px;
	margin-inline: -12px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 15px;
	color: #1f2a22;
	list-style: none;
	transition: background-color 0.15s ease;
}
.lm-filterby-widget .lm-origin-sub > summary::-webkit-details-marker {
	display: none;
}
.lm-filterby-widget .lm-origin-sub > summary:hover {
	background: #f2f6f0;
}
.lm-filterby-widget .lm-origin-sub > summary::after {
	content: "›";
	font-size: 17px;
	line-height: 1;
	color: #8a958c;
	transition: transform 0.15s ease;
}
.lm-filterby-widget .lm-origin-sub[open] > summary::after {
	transform: rotate(90deg);
}
.lm-filterby-widget .lm-origin-sub > .ftc-product-categories-list {
	padding-inline-start: 10px;      /* gentle nesting indent */
}

/* ── Sidebar head row: count at the start, "Reset all filters" at the end
   (owner 2026-07-18). The link only renders while a filter is active; the
   YITH reset widget under the price filter is superseded and hidden. */
.lm-side-head .lm-side-headrow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 4px;
}
.lm-side-head .lm-side-headrow .lm-shop-sub {
	margin: 0;
}
.lm-side-head .lm-reset-link {
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 600;
	color: #6f7d72;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
}
.lm-side-head .lm-reset-link:hover {
	color: var(--secondary, #186034);
}
body .ftc-sidebar .yith-woo-ajax-reset-navigation,
body #left-sidebar .yith-woo-ajax-reset-navigation {
	display: none !important;
}

/* ── "Sort by" as a closed-by-default <details>, like Origin — its summary
   wears the section-title style + the same chevron. */
.lm-sort-widget .lm-sort-sub > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
	list-style: none;
	font-size: 16px;
	font-weight: 700;
	color: #1f2a22;
	padding: 0 0 6px;
}
.lm-sort-widget .lm-sort-sub > summary::-webkit-details-marker {
	display: none;
}
.lm-sort-widget .lm-sort-sub > summary::after {
	content: "›";
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	color: #8a958c;
	transition: transform 0.15s ease;
}
.lm-sort-widget .lm-sort-sub[open] > summary::after {
	transform: rotate(90deg);
}

/* ── Price filter: no unstyled flash before the slider boots (owner
   2026-07-18) ────────────────────────────────────────────────────────────────
   WooCommerce ships a no-JS fallback: visible min/max TEXT INPUTS and a
   `display:none` slider div; wc-price-slider.js (footer) swaps them at ready,
   so every load flashed the raw inputs, then jumped to the slider. Parity fix,
   scoped to html.js (an inline HEAD script adds that class before first
   paint, so genuinely no-JS visitors keep the input fallback):
   - the inputs are hidden from the start;
   - the empty slider div is shown immediately, pre-styled EXACTLY like the
     initialized track (7.5px / #e5e5e5 / 15px radius / same margins —
     measured), so init only adds the handles. Zero layout shift. */
html.js .widget_price_filter .price_slider_amount #min_price,
html.js .widget_price_filter .price_slider_amount #max_price {
	display: none;
}
html.js .widget_price_filter .price_slider {
	display: block !important;       /* beats the server's inline display:none */
	position: relative;
	height: 7.5px;
	background: #e5e5e5;
	border-radius: 15px;
	margin: 0 7.5px 15px;
}

/* ── Quick View: always centred in the visible screen (owner 2026-10-23) ──────
   prettyPhoto places the popup with position:absolute and top = page scroll +
   (viewport height − popup height) / 2, worked out once when it opens. A popup
   taller than the screen (image + title + options + buttons) therefore got a
   negative offset: its top edge sat ABOVE the visible area and the customer had
   to scroll up to see it. Pin the popup to the viewport instead (!important
   beats the inline top prettyPhoto writes, also on its scroll/resize
   handlers), centre it vertically, and let it scroll inside itself when it is
   taller than the screen. */
body div.pp_woocommerce.pp_pic_holder {
	position: fixed !important;
	top: 50% !important;
	transform: translateY(-50%);
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* ── Quick View on phones: stack, fit, scroll (owner 2026-07-18) ─────────────
   prettyPhoto injects DESKTOP inline sizes (holder width:940px, .pp_content
   1100px) and the theme floats the gallery/summary at 48% each — on a 390px
   phone the popup rendered a squashed two-column desktop layout. Fit the
   holder to the viewport (!important beats the inline styles), stack the two
   columns full-width, and let long content scroll INSIDE the popup. */
@media (max-width: 767px) {
	body div.pp_woocommerce.pp_pic_holder {
		width: calc(100vw - 20px) !important;
		left: 10px !important;
	}
	body div.pp_woocommerce.pp_pic_holder .pp_content_container {
		padding: 0 !important;
	}
	/* the theme's desktop skin pins the inner rails (.pp_right measured at a
	   fixed 1100px) — everything inside resolves 100% against THAT, so the
	   rails must fit first */
	body .pp_woocommerce .pp_left,
	body .pp_woocommerce .pp_right {
		width: 100% !important;
	}
	body .pp_woocommerce .pp_content {
		width: 100% !important;
		max-height: calc(100vh - 90px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.pp_woocommerce .ftc-quickshop-wrapper {
		width: 100% !important;
	}
	.pp_woocommerce div.product .images-slider-wrapper,
	.woocommerce-page .pp_woocommerce div.product div.images-slider-wrapper {
		width: 100% !important;
		float: none !important;
	}
	.pp_woocommerce .ftc-quickshop-wrapper .summary {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		padding: 16px 14px 10px;
	}
	/* centred stepper on the stacked phone sheet (owner 2026-07-18); desktop
	   keeps the leading-edge alignment from the base rule */
	.pp_woocommerce .ftc-quickshop-wrapper form.cart .quantity {
		align-self: center !important;
	}
}

/* Quick View: no stock line (owner 2026-07-18 — both languages; the popup is
   for a fast add, availability noise belongs to the product page). */
.ftc-quickshop-wrapper p.stock {
	display: none !important;
}

/* ── Product sliders: air between the cards and the dots/arrows row (owner
   2026-07-18 — they sat 2px under the Featuring cards). Product sliders only
   (home Featuring/category tabs, related products). The arrows are ABSOLUTE
   at a theme-computed pixel top inside a zero-height .owl-nav, so they get
   the same offset as a margin on the arrow divs themselves (margin shifts an
   absolutely-positioned box) — margin on .owl-nav would only push the dots. */
.products.owl-carousel .owl-dots {
	margin-top: 26px;
}
.products.owl-carousel .owl-nav > div {
	margin-top: 26px;
}

/* ── Variable-product price RANGE: dash in the same green as the amounts ──────
   (owner 2026-07-19) The "–" between the two amounts of a range price ("2.50 –
   8.00") is a bare span that inherits `.price`'s base colour — the theme's
   configured price colour is lemon-yellow (ftc-style-inline-css), while the
   amounts are Forest green, so the dash showed yellow. Set the base green to
   match; the struck `del` (own #999) and the unit suffix (own #777) keep their
   colours via their more-specific rules. Card + product-page summary + Quick View. */
.woocommerce .products .product .item-description .price,
.woocommerce div.product .summary span.price,
.ftc-quickshop-wrapper .summary span.price {
	color: var(--secondary, #186034);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Single variable-product page — swatch + buy-box polish (owner 2026-07-19)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1) Kill the black hover tooltip on the weight swatches. rtwpvs draws it as
   the term's ::before (bubble, content = the label) + ::after (arrow); the
   label is already visible in the pill, so the tooltip is pure noise. */
.rtwpvs-term::before,
.rtwpvs-term::after {
	content: none !important;
	display: none !important;
}

/* 2) No size-jump on hover — the plugin scales the pill 1.15x, which reads as
   the pill "growing" and lapping its neighbours. Keep the pill still. */
.rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:hover,
.rtwpvs .rtwpvs-terms-wrapper .rtwpvs-term:not(.rtwpvs-selected):hover {
	transform: none !important;
}

/* 3) Always-a-selection means the "Clear selection" link is never wanted. It
   appears with a `.show` class whose plugin rule (.reset_variations.show)
   out-ranked a plain hide — and its appearing/disappearing was what nudged the
   buy-box up/down when switching variants. Match that specificity + the id
   tier so it never shows or takes space. */
body.single-product .variations_form a.reset_variations,
body.single-product .variations_form a.reset_variations.show {
	display: none !important;
}

/* 4) Buy-box rhythm: quantity, Add to Cart, Buy Now stack with ONE even gap
   (they were touching / 5px). Same gap value below tightens variants→buttons
   and description→variants for consistent vertical rhythm. */
body.single-product .summary .variations_form.cart {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 14px !important;         /* was ~34px of stacked margin */
}
body.single-product .variations_form .variations {
	margin: 0 !important;
}
body.single-product .variations_form .single_variation_wrap {
	margin: 0 !important;
}
body.single-product .variations_form .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin: 0 !important;
}
body.single-product .variations_form .woocommerce-variation-add-to-cart .quantity {
	align-self: flex-start;              /* compact stepper, not full width */
	margin: 0 !important;
}

/* ── Quick View popup — variable-product buy-box parity (owner 2026-07-19) ─────
   The popup uses the same WC variations form, but the rules above are scoped to
   body.single-product, so none reach the modal. Mirror them for the popup
   wrapper: (3) hide the never-wanted "Clear selection" — its show/hide on each
   variant switch is exactly what nudged the box up/down; (4) give the stack one
   even gap. The swatch tooltip + hover-scale fixes above are global, so they
   already apply here; the price mirror is js/quickview-variation.js. */
.ftc-quickshop-wrapper .variations_form a.reset_variations,
.ftc-quickshop-wrapper .variations_form a.reset_variations.show {
	display: none !important;
}
.ftc-quickshop-wrapper .summary .variations_form.cart {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ftc-quickshop-wrapper .variations_form .variations,
.ftc-quickshop-wrapper .variations_form .single_variation_wrap {
	margin: 0 !important;
}
.ftc-quickshop-wrapper .variations_form .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin: 0 !important;
}
.ftc-quickshop-wrapper .variations_form .woocommerce-variation-add-to-cart .quantity {
	align-self: flex-start;
	margin: 0 !important;
}

/* ── Product image Cloud Zoom: match the image's rounded box (owner 2026-07-19)
   The hover zoom overlay (.cloud-zoom-big, position:absolute) lives inside
   .cloud-zoom-wrap, which the theme already sets overflow:hidden and which
   exactly overlays the image box — but the wrap had no radius, so the zoom
   showed SQUARE corners and read as a separate mis-placed image. Round the
   wrap (clips the zoom to the image's 24px box, exact same placement) and the
   overlay itself as a belt. */
.cloud-zoom-wrap {
	border-radius: 24px;
}
.cloud-zoom-big {
	border-radius: 24px !important;
	overflow: hidden;
	/* the plugin hard-sets top:-4px inline, nudging the zoom 4px above the
	   image; the overlay is a static inside-zoom (only its background pans), so
	   pin it flush to the wrap (= the image box). */
	top: 0 !important;
	left: 0 !important;
}

/* ── dibajj-style search popup + on-page results field (owner 2026-08-16) ────
   Measured live on dibajj.com: full-screen dim rgba(0,0,0,.6); a white band
   slides down from the top (transform .25s cubic-bezier(.4,0,.2,1)) with a
   centered grey field (#f2f2f2, 1px #eee, radius 5, 46px tall, 16px text,
   magnifier INSIDE its end), a × at the band's far edge (20px, mobile gets a
   "Search our store" + × head row instead), and a same-width suggestions panel
   below the field (own scroll, "Suggestions" + "Products" groups + a bottom
   "Results for …" link). The results page carries the same centered field on
   top. Buttons/links in here need the blob-trap guards (global button:hover
   yellow !important + global a::after underline animations). */
/* the old hover-reveal mini input in the desktop header is retired */
.header-right.lm-header-right .ftc-search-product .ftc_search_ajax input[type="text"] {
	display: none !important;
}
/* …and so is the theme's live-search results container: custom.js APPENDS it
   after load (unstyled → display:block, 250px on phones), inflating the module
   so the glyph spilled out of the 40px box onto the logo — the owner's "it
   moves when the page finishes loading". The popup owns live search now. */
.header-right.lm-header-right .ftc-search-product .ftc-enable-ajax-search {
	display: none !important;
}
.lm-search-popup__group h2 {
	margin: 16px 0 4px;
	font-size: 14px;
	font-weight: 700;
	color: #182119;
	text-transform: none;
}
.lm-search-popup__group ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lm-search-popup__group li a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	font-size: 14px;
	color: #222;
}
.lm-search-popup__group li a:hover {
	background: #f5f5f5;
	color: #222;
}
.lm-search-popup__prods li a {
	display: grid;
	grid-template-columns: 70px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	padding: 8px 12px;
}
.lm-search-popup__prods img {
	grid-row: 1 / span 2;
	width: 70px;
	height: 88px;
	object-fit: cover;
	border-radius: 4px;
}
.lm-search-popup__ptitle {
	font-size: 14px;
	color: #222;
	align-self: end;
}
.lm-search-popup__pprice {
	font-size: 13px;
	color: #6b7280;
	align-self: start;
}
.lm-search-popup__pprice ins {
	text-decoration: none;
}
.lm-search-popup__all {
	display: block;
	width: min(667px, 100%);
	margin: 10px auto 0;
	padding: 12px;
	text-align: center;
	border-top: 1px solid #eee;
	font-size: 14px;
	font-weight: 700;
	color: var(--secondary, #186034);
}
.lm-search-popup__all:hover {
	color: var(--secondary, #186034);
	text-decoration: underline;
}
.lm-search-popup__none {
	margin: 16px 0 0;
	padding: 4px 12px;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
}

/* ── Sidebar hierarchy: type rows under their category (feedback 4 item 1) ────
   The July flat-sidebar design styled ONLY top-level rows and even hid the
   expand arrow with the note "no subcategories here". Now that types exist, the
   theme's `ul.children` became a FLEX ITEM of the parent row: it sat beside the
   name (squeezing "Vegetables" to "Ve…") and the child rows kept the theme's
   hairlines with their counts glued to the name ("Beans3").

   Practice this follows: Baymard's sibling-categories research (47% of sites get
   it wrong) says a shopper on a type page must still see its siblings, for the
   "information scent" that lets them switch scope without starting over — hence
   the branch stays open on a type page (the theme's own script opens it) and the
   arrow is restored so any branch can be opened. Accordion guidance (NN/g and
   the sidebar patterns) asks for a chevron signifier, modest indentation and a
   visible current row, which is what the indent and the pill do here. */
.ftc-product-categories-list ul.product-categories > li {
	flex-wrap: wrap;                 /* lets the children list drop to its own line */
}
.ftc-product-categories-list ul.product-categories ul.children {
	flex: 0 0 100%;
	width: 100%;
	margin: 4px 0 2px;
	padding-inline-start: 28px;      /* half the parent's 56px photo (owner 2026-10-08). Under
	                                    the parent NAME (56 + 10px) left too little room for
	                                    the type names next to their own 48px photos. */
	list-style: none;
}
.ftc-product-categories-list ul.product-categories ul.children > li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px;
	margin-inline: -10px;
	border: 0 !important;            /* the theme draws per-row hairlines here */
	border-radius: 8px;
	transition: background-color 0.15s ease;
}
.ftc-product-categories-list ul.product-categories ul.children > li:hover {
	/* !important because the theme's default.css has `* { background:
	   transparent !important }`, which beats any plain declaration */
	background: #f2f6f0 !important;
}
.ftc-product-categories-list ul.product-categories ul.children > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 2px 0;
	font-size: 14px;
	background: transparent !important;
}
.ftc-product-categories-list ul.product-categories ul.children > li .icon-toggle {
	display: none;                   /* leaf rows: nothing to expand */
}
/* name ellipsizes, count sits muted at the inline end — same treatment the
   top-level rows get, so both levels read as one system in LTR and RTL */
.ftc-product-categories-list ul.product-categories ul.children > li > a .lm-cat-name {
	flex: 1 1 auto;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ftc-product-categories-list ul.product-categories ul.children > li > a .lm-cat-count {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 400;
	color: #6b7280;
}
/* the type you are looking at */
.ftc-product-categories-list ul.product-categories ul.children > li.current {
	background: #eaf1e6 !important;
}
/* The long selector is required, not habit: the Customizer blob carries
   `.widget-container ul.product-categories ul.children li.cat-item.current a
   { color: #f8d92e !important }` (five classes), which painted the current type
   brand-yellow on the pale green pill. This adds the widget classes and
   `.cat-item` to outrank it. */
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories ul.children > li.cat-item.current > a,
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories ul.children > li.cat-item.current > a .lm-cat-name {
	color: var(--secondary, #186034) !important;
	font-weight: 700;
}
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories ul.children > li.cat-item.current > a .lm-cat-count {
	color: var(--secondary, #186034) !important;
}

/* The LAST top-level category's children only (Essentials today): the parent
   theme has `…ul.product-categories li:last-child li.cat-item { padding-bottom:
   0; margin-top: 10px }` (0,5,3) for its own flat widget list, which squeezes
   our child pills and spreads the rows the moment the last branch expands
   (owner screenshot, 31 Aug). Same pattern, one class deeper, values restored. */
.widget-container.ftc-product-categories-widget ul.product-categories li:last-child ul.children li.cat-item {
	padding-bottom: 9px;
	margin-top: 0;
}

/* Type rows carry their chip's round photo (laymoun_sidebar_type_icons,
   owner 2026-10-08). 48px, a step under the parent's 56px so the hierarchy
   still reads (both 2× their first size, same day). The ID-scoped lines are
   needed: the parent's icon rule is
   `ul.product-categories > li .image-icon img` (a descendant selector, ID
   weight), which also reaches these nested icons. White behind the photo, as
   the chips, so pale produce (garlic, onion) keeps an edge on the green pill. */
.ftc-product-categories-list ul.product-categories ul.children > li .image-icon {
	flex: 0 0 auto;
	line-height: 0;
}
.ftc-product-categories-list ul.product-categories ul.children > li .image-icon img,
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories ul.children > li .image-icon img,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories ul.children > li .image-icon img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}


/* ── Sidebar hierarchy, corrections found in the browser (feedback 4 item 1) ──
   1. The name jumped BELOW its thumbnail. `flex-wrap: wrap` (needed so the
      children list gets its own line) makes flex WRAP items instead of
      shrinking them, and the anchor's `flex: 1 1 auto` bases its width on the
      text, so icon + name + chevron overflowed the 241px column and the name
      wrapped. A zero flex-basis makes it shrink on the same line instead.
   2. Hovering the row's icon or padding turned the label brand-yellow while
      hovering the text turned it green: our green rule was `a:hover`, but the
      Customizer blob also carries `li:hover > a { color: #f8d92e !important }`,
      which fires from anywhere in the row. Same green for both, at a
      specificity that outranks the blob. */
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories > li > a {
	flex: 1 1 0;
}
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li:hover > a,
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li:hover > a .lm-cat-name,
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li > a:hover,
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li > a:hover .lm-cat-name {
	color: var(--secondary, #186034) !important;
}
/* the count stays a muted number on hover, never yellow */
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li:hover > a .lm-cat-count,
.widget-container.ftc-product-categories-widget .ftc-product-categories-list ul.product-categories li > a:hover .lm-cat-count {
	color: #6b7280 !important;
}

/* ── Sidebar hierarchy, second correction pass (verified in the browser) ──────
   Both fixes above lost the cascade, and the reason is worth recording:
   - the July flat-sidebar rules are scoped `aside#left-sidebar` / `#right-sidebar`,
     so they carry ID specificity and beat any class-only override. The anchor
     therefore kept `flex: 1 1 auto` and the name went on wrapping.
   - the expand arrow is not classless after all: the theme's script adds
     `.cat-parent` to rows with children, so the theme's own rule
     (`li.cat-parent > span.icon-toggle { position:absolute; width:auto }`) was
     winning and parking the chevron at the widget's top-right corner, with its
     glyph suppressed by our `content: none`, hence an invisible 0x0 box.
   Both are now matched at the same ID-level specificity. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > a {
	flex: 1 1 0;                     /* shrink on the row instead of wrapping under the icon */
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle {
	display: block;
	position: relative;
	top: 0;                          /* the theme offsets it 8px down for its own
	                                    absolute placement; we sit in flow now */
	right: auto;
	order: 9;                        /* the widget prints it first; send it to the row end */
	flex: 0 0 auto;
	/* A 32px round button, not a bare 12px glyph (owner 2026-10-08: "bigger,
	   inside a container, so it looks clickable"). White with a soft green
	   ring, so it stands out on the plain row, the hover tint (#f2f6f0) and the
	   selected row (#e9f2e6) alike. Flat, no shadow, like the card stamps. */
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	border: 1px solid #cfdcc8;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle:hover,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle:hover {
	border-color: var(--secondary, #186034);
}
/* Open branch: the button fills green and the chevron turns white, so the
   state reads at a glance, not only from the chevron's direction. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent.active > .icon-toggle,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent.active > .icon-toggle {
	border-color: var(--secondary, #186034);
	background: var(--secondary, #186034);
	/* The parent theme rotates the open toggle 180deg, which turned the UP
	   chevron below back DOWN: open branches always showed a down arrow
	   (measured: matrix(-1, 0, 0, -1, 0, 0) on the open toggle). The chevron
	   direction is the mask's job alone. */
	transform: none;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle::before,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle::before {
	content: none;                   /* drop the icon-font glyph; drawn below instead */
}
/* A chevron MASK, not a rotated bordered square: the square's painted "V" sits
   below the box centre (its optical centre is lower than its geometric one), so
   the arrow read as shifted down next to the name. This SVG's V spans y=9..15 in
   a 24-high box, i.e. dead centre, so centring the box centres the glyph. Same
   masking technique as the header magnifier, so no icon font is involved. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle::after,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent > .icon-toggle::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 16px;                     /* was 12, grey; now brand green in the 32px button */
	height: 16px;
	background-color: var(--secondary, #186034);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent.active > .icon-toggle::after,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent.active > .icon-toggle::after {
	/* An UPWARD chevron mask, not `rotate(180deg)`: a rotation on a masked
	   pseudo-element is easy to lose to any other transform in the cascade,
	   and the arrow kept reading as pointing down when the branch was open.
	   Two explicit masks cannot be ambiguous. White on the filled button. */
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* …and the children list must come AFTER the chevron in the flex order, or it
   takes the second line and pushes the chevron onto a third one, below the
   whole branch (measured: chevron landed at y=745 under the last child). */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > ul.children,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li > ul.children {
	order: 10;
}

/* ── Sidebar hover tints the ROW, not the whole branch ───────────────────────
   The July design puts the hover pill on the <li>, which was fine when a row
   WAS the li. A parent li now also contains its types list, so hovering
   "Vegetables" tinted the whole block down to Zucchini; painting the children
   area white over it just left a tinted frame (owner screenshots, 27 Aug).
   So for parent rows the li itself is never painted: the pill is an
   absolutely-positioned ::before covering only the first-row band. Being
   absolutely positioned it stays out of the flex flow, and the li gets its own
   stacking context so z-index:-1 puts the pill under the row content but still
   over the sidebar panel. Height = what a childless row's own pill measures:
   6px padding + the 56px photo + 6px padding (owner 2026-10-08; was 46px
   with the 28px photo). */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent {
	position: relative;
	z-index: 0;
}
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent:hover,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent:hover {
	background: transparent !important;
}
/* :not(:has(…)) keeps the pill off while the pointer is actually inside the
   children list, so exactly one row is ever highlighted. */
.archive aside#left-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent:hover:not(:has(> ul.children:hover))::before,
.archive aside#right-sidebar.ftc-sidebar .ftc-product-categories-list ul.product-categories > li.cat-parent:hover:not(:has(> ul.children:hover))::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 68px;
	border-radius: 10px;
	background: #f2f6f0;
	z-index: -1;
}

/* SZBD delivery map (2026-09-18): two separate defects, both in presentation.

   (1) The plugin renders an EMPTY <div id="szbd_map"> and sizes it nowhere on
       the front end — its only #szbd_map rule lives in assets/style-admin.css
       (width, no height), which the checkout never loads. Google Maps paints
       into the element's own box, so with no height the map initialises
       correctly and renders at 0px: markup present, nothing visible.

   (2) It lands in the order-review column between .lm-order-review-card and
       #payment, where every sibling is a white rounded card — but the plugin's
       own markup is bare, so the map read as an unstyled fragment dropped into
       a styled column. Card values copied from .lm-checkout-coupon above so
       the three blocks stack identically.

   docs/plans/41-website-delivery-zones-investigation.md

   Since app repo docs/plans/102 the map sits in the LEFT column; since plan 106
   inside the Shipping details card; since client feedback 2026-11-18 (item 9)
   at the top of that card, above the address fields (laymoun_checkout_map_slot()).
   It is part of that card, so it draws no card of its own (a card inside a card):
   full width of the column, the fields' spacing. */
body.woocommerce-checkout #szbd_checkout_field {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 6px 0 22px;
}
/* The plugin hard-codes .shop_table on this div, which the theme styles as a
   full-width bordered TABLE. Undo just the parts that fight the card. */
body.woocommerce-checkout #szbd_checkout_field.shop_table {
	border-collapse: separate;
	width: auto;
}
body.woocommerce-checkout #szbd_checkout_field > h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 12px;
	padding: 0;
	line-height: 1.3;
}
/* The pin is required whenever the map shows (laymoun-api website_validation): mark the map's title
   like the other required fields (QA DEF-014, app repo docs/plans/131). */
.woocommerce-checkout #szbd_checkout_field > h3::after {
	content: " *";
	color: var(--secondary);
}
body.woocommerce-checkout #szbd_map {
	width: 100%;
	height: 300px;
	border-radius: 14px;
	/* Google injects absolutely-positioned tiles; without this they escape the
	   rounded corners and overlap the card edge. */
	overflow: hidden;
}
/* Plugin CSS zeroes these two hidden inputs with max-height:0 but leaves them
   in flow; the card's padding would otherwise render as a blank gap. */
body.woocommerce-checkout #szbd-picked_field,
body.woocommerce-checkout #szbd-map-open_field {
	display: none;
}

/* ── Checkout map: first-party search UI (doc 43, Option B) ─────────────────
   The map itself reuses #szbd_map above; these are the controls SZBD never had.
   Logical properties throughout so the Arabic (RTL) checkout needs no overrides. */
body.woocommerce-checkout .laymoun-map-search {
	position: relative;
	margin: 0 0 10px;
}
body.woocommerce-checkout .laymoun-map-search input[type="search"] {
	width: 100%;
	box-sizing: border-box;
	/* the site's field corners (--radius), like every other checkout field;
	   18px at the sides keeps the text clear of the round ends (plan 113 #7) */
	padding: 11px 18px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: var(--radius, 24px);
	font-size: 15px;
	line-height: 1.3;
}
body.woocommerce-checkout .laymoun-map-suggestions {
	position: absolute;
	z-index: 5;
	inset-inline: 0;
	top: calc(100% + 4px);
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	max-height: 240px;
	overflow-y: auto;
}
body.woocommerce-checkout .laymoun-map-suggestions li {
	margin: 0;
	padding: 9px 14px;
	font-size: 14px;
	line-height: 1.35;
	cursor: pointer;
	text-align: start;
}
body.woocommerce-checkout .laymoun-map-suggestions li:hover,
body.woocommerce-checkout .laymoun-map-suggestions li:focus {
	background: rgba(0, 0, 0, 0.05);
	outline: none;
}
/* Shown only if the Maps key fails; without it a billing lapse would leave the
   customer with a blank box and no way to say where they are. */
body.woocommerce-checkout .laymoun-map-error {
	margin: 0;
	padding: 14px;
	border: 1px dashed rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	font-size: 14px;
}

/* Delivery verdict, shown under the map next to the thing that caused it.
   Reports the server's answer; it never computes one. */
body.woocommerce-checkout .laymoun-map-status {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4;
	text-align: start;
}
body.woocommerce-checkout .laymoun-map-status.is-ok {
	background: rgba(47, 107, 52, 0.10);
	color: #2f6b34;
}
body.woocommerce-checkout .laymoun-map-status.is-bad {
	background: rgba(176, 58, 46, 0.10);
	color: #9c3226;
}
/* The pin was removed because the delivery address changed (app repo docs/plans/101): a neutral
   request, not a refusal. */
body.woocommerce-checkout .laymoun-map-status.is-info {
	background: #f3f4f1;
	color: #444;
	border-inline-start: 3px solid var(--secondary, #186034);
}

/* Order summary, outside the area: "Outside delivery area" and a round "!", a button that opens
   the store's whole sentence in a dialog (inc/laymoun-checkout-map.php
   laymoun_checkout_short_refusal() and laymoun_checkout_refusal_dialog(); app repo
   docs/plans/79 §13.8). The box under the map shows the sentence in full. */
/* Inline, the "!" ends the text's last line: in a phone's narrow column the text wraps to two
   lines, not three beside an icon column. */
body.woocommerce-checkout .lm-no-delivery__open {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #9c3226;
	font: inherit;
	text-transform: inherit;
	cursor: pointer;
}
/* The theme's colour settings print `button { background: var(--secondary) !important }`, a bold
   14px font and a :hover twin (0,1,1), and the parent theme floats every button left (which put
   this one at the column's left edge, short of the prices); these selectors (0,2,1+) win it all
   back, as for .lm-search-popup__close, so it reads and lines up like the column's other
   values. */
body.woocommerce-checkout .lm-no-delivery__open,
body.woocommerce-checkout .lm-no-delivery__open:hover,
body.woocommerce-checkout .lm-no-delivery__open:focus,
body.woocommerce-checkout .lm-no-delivery__open:active {
	float: none !important;
	height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #9c3226 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-align: end !important; /* a button centres its text; on a phone the short text wraps */
	text-transform: inherit !important;
	vertical-align: middle;
}
body.woocommerce-checkout .lm-no-delivery__open:hover .lm-no-delivery__short {
	text-decoration: underline;
}
body.woocommerce-checkout .lm-no-delivery__open:focus-visible {
	outline: 2px solid #186034;
	outline-offset: 2px;
	border-radius: 4px;
}
body.woocommerce-checkout .lm-no-delivery__icon,
.lm-no-delivery-dialog__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #9c3226;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
body.woocommerce-checkout .lm-no-delivery__icon {
	margin-inline-start: 6px;
	vertical-align: 1px; /* lines up on its own "!"; measured: centred on the 15px text */
}
/* Without dialog support the sentence opens in the row (laymoun-checkout-map.js). */
body.woocommerce-checkout .lm-no-delivery__full:not([hidden]) {
	display: block;
	margin-top: 8px;
	color: #9c3226;
	font-size: 13px;
	text-align: start;
	text-transform: none;
}

.lm-no-delivery-dialog {
	width: min(420px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: #333;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.lm-no-delivery-dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}
.lm-no-delivery-dialog__box {
	position: relative;
	padding: 28px 24px 24px;
	text-align: center;
}
.lm-no-delivery-dialog__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	font-size: 24px;
}
.lm-no-delivery-dialog__title {
	margin: 0 0 10px;
	color: #9c3226;
	font-size: 18px;
	line-height: 1.3;
}
.lm-no-delivery-dialog__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
.lm-no-delivery-dialog__text a {
	color: #186034;
	font-weight: 600;
	white-space: nowrap;
	unicode-bidi: isolate;
}
.lm-no-delivery-dialog__close {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #666;
	cursor: pointer;
}
.lm-no-delivery-dialog .lm-no-delivery-dialog__close,
.lm-no-delivery-dialog .lm-no-delivery-dialog__close:active {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #666 !important;
}
.lm-no-delivery-dialog .lm-no-delivery-dialog__close:hover,
.lm-no-delivery-dialog .lm-no-delivery-dialog__close:focus-visible {
	background: rgba(0, 0, 0, 0.06) !important;
	color: #222 !important;
}
.lm-no-delivery-dialog__close svg {
	width: 12px;
	height: 18px;
}

/* ── Next delivery banner (app repo docs/plans/60 Task 5; owner 2026-10-08) ───
   Replaces the green strip under the header, which read as part of the menu.
   A pale-green rounded banner at the top of Cart and Checkout, spanning both
   cards: brand-green round truck badge, "Next delivery: <time>" with the time
   in bold green, the ⓘ text on a small grey line under it. A smaller copy sits
   under the cart drawer's title. Logical properties, so RTL mirrors; the truck
   itself is flipped in RTL so it drives toward the text. */
.lm-delivery-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 24px;
	padding: 14px 20px;
	background: #eef5ea;
	border: 1px solid #d4e5cc;
	border-radius: 16px;
	color: #1f2a22;
	text-align: start;
	text-transform: none;            /* the Customizer blob title-cases `body`
	                                    ("Order At Least 2 Hours…"); a sentence here */
}
.lm-delivery-banner .lm-db-icon {
	flex: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #186034;
	color: #fff;
}
.lm-delivery-banner .lm-db-icon svg {
	width: 22px;
	height: 22px;
}
.rtl .lm-delivery-banner .lm-db-icon svg {
	transform: scaleX(-1);
}
.lm-delivery-banner .lm-db-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.lm-delivery-banner .lm-db-title {
	font-size: 16px;
	line-height: 1.35;
}
.lm-delivery-banner .lm-db-title strong {
	color: #186034;
	font-weight: 700;
}
.lm-delivery-banner .lm-db-info {
	font-size: 13px;
	line-height: 1.4;
	color: #4b5563;
}
/* Cart page: the page is a two-column grid (cart redesign above); span both. */
body.woocommerce-cart div.woocommerce > .lm-delivery-banner {
	grid-column: 1 / -1;
}
/* Checkout: inside the form, above the two floated columns. */
form.checkout > .lm-delivery-banner {
	clear: both;
}
@media (max-width: 767px) {
	.lm-delivery-banner--page {
		gap: 12px;
		margin-bottom: 18px;
		padding: 12px 14px;
	}
	.lm-delivery-banner--page .lm-db-title {
		font-size: 15px;
	}
}
/* Cart drawer: smaller, on the title's 20px side line; the title's 20px bottom
   margin is mostly taken back so the banner reads as part of the header. */
.ftc-off-canvas-cart .lm-delivery-banner--drawer {
	gap: 10px;
	margin: -8px 20px 8px;
	padding: 10px 14px;
	border-radius: 12px;
}
.ftc-off-canvas-cart .lm-delivery-banner--drawer .lm-db-icon {
	flex-basis: 32px;
	width: 32px;
	height: 32px;
}
.ftc-off-canvas-cart .lm-delivery-banner--drawer .lm-db-icon svg {
	width: 18px;
	height: 18px;
}
.ftc-off-canvas-cart .lm-delivery-banner--drawer .lm-db-title {
	font-size: 14px;
}
.ftc-off-canvas-cart .lm-delivery-banner--drawer .lm-db-info {
	font-size: 12px;
}

/* Cart drawer: the list takes the space left (2026-11-10). The parent theme
   sized the list with fixed guesses: body = drawer − 52px (its title) and
   list = body − 195px (the Subtotal and buttons, pinned to the drawer's
   bottom). Our title is 75px, the delivery banner above sits under it, and the
   footer is 204px or more (the free-delivery note), so the end of the list sat
   under the Subtotal: the last item could never be scrolled into view (about
   93px hidden at 1280×800). Now the drawer is a column: title and banner at
   their own height, the list takes what is left, the footer follows in the
   flow. Nothing hangs on a pixel guess. A very short window scrolls the whole
   drawer instead of squeezing the list below 120px.
   Check: docs/scripts/tests/cart-drawer-scroll.playwright.js */
.ftc-off-canvas-cart {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}
.ftc-off-canvas-cart > * {
	flex: none;
}
/* Margins no longer merge in a column, so keep the old gaps by hand: banner
   to first item 10px (the list's own top margin), and title to first item 20px
   when there is no banner (the title's margin, less the list's). */
.ftc-off-canvas-cart > .lm-delivery-banner--drawer {
	margin-bottom: 0;
}
.ftc-off-canvas-cart > .off-canvas-cart-title + .off-can-vas-inner {
	margin-top: -10px;
}
.ftc-off-canvas-cart .off-can-vas-inner,
.ftc-off-canvas-cart .off-can-vas-inner .widget_shopping_cart,
.ftc-off-canvas-cart .off-can-vas-inner .widget_shopping_cart_content,
.ftc-off-canvas-cart .off-can-vas-inner .shop_table,
.ftc-off-canvas-cart .off-can-vas-inner .shop_table form {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-height: 0;
	height: auto;
}
.ftc-off-canvas-cart .off-can-vas-inner .shop_table form {
	padding-bottom: 0;
}
.ftc-off-canvas-cart .off-can-vas-inner ul.woocommerce-mini-cart.cart_list.product_list_widget {
	flex: 1 1 0;
	min-height: 120px;
	max-height: none;
}
.ftc-off-canvas-cart .off-can-vas-inner .widget_mini_cart_footer {
	position: static;
	flex: none;
}

/* ── Free-delivery note (app repo docs/plans/79 §4 #5d) ───────────────────────
   "Add AED X more to get free delivery." in the cart totals, the checkout's
   order table and the cart drawer: the banner's pale green, in a smaller,
   quieter line. Sentence case (the Customizer title-cases `body`). */
.lm-free-delivery td,
p.lm-free-delivery {
	background: #eef5ea;
	color: #1f2a22;
	font-size: 14px;
	line-height: 1.4;
	text-align: start;
	text-transform: none;
}
.lm-free-delivery td {
	padding: 10px 12px;
	border-radius: 10px;
}
p.lm-free-delivery {
	margin: 0 0 12px;
	padding: 8px 12px;
	border-radius: 10px;
}
.lm-free-delivery .woocommerce-Price-amount {
	color: #186034;
	font-weight: 700;
}

/* ── WooCommerce tables keep their text's own case (QA L10N-039 / 045 / 047, app repo docs/plans/125)
   The parent theme title-cases every `.woocommerce table.shop_table td` (organico/style.css), which
   turned "Add 49.00 more to get free delivery." into Title Case, the order status "Out for
   delivery" into "Out For Delivery" and the customer's own note into Title Case. Buttons inside
   the cells keep their own button styling. */
html body .woocommerce table.shop_table td {
	text-transform: none;
}
/* The coupon row's label too ("Coupon: laymoun10"): the parent theme's `table.shop_table th` capitals
   showed the code in capitals at checkout only, while the cart showed it as typed (production QA
   2026-11-06, PRD-N-13, app repo docs/plans/137). */
html body .woocommerce table.shop_table tr.cart-discount th {
	text-transform: none;
}

/* ── Rate your order: the account's order page (inc/laymoun-order-reviews.php; app repo
   docs/plans/88). A card under the order table; one rating for the whole order; stars are radio buttons laid
   out in reverse so a star and every one before it light up on hover and on choice (works with
   no script; the same row order in RTL, 1 on the reading start side). ─────────────────────────── */
.lm-order-reviews {
	margin: 32px 0 8px;
	padding: 24px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 6px 24px rgba(24, 96, 52, 0.08);
}
.lm-order-reviews__title {
	margin: 0 0 16px;
	font-size: 20px;
}
.lm-order-reviews__wait {
	margin: 0;
	color: #6b7280;
}
.lm-order-reviews__notice {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 14px;
}
.lm-order-reviews__notice--ok {
	background: #e8f3ec;
	color: #186034;
}
.lm-order-reviews__notice--error {
	background: #fdecea;
	color: #b42318;
}
.lm-order-reviews__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lm-order-reviews__rating {
	border: 0;
	margin: 0;
	padding: 0;
}
.lm-order-reviews__rating legend {
	padding: 0;
	margin-bottom: 4px;
	font-size: 14px;
	color: #6b7280;
}
.lm-rate {
	display: inline-flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 2px;
}
.lm-rate input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.lm-rate label {
	font-size: 30px;
	line-height: 1;
	color: #d4d4d8;
	cursor: pointer;
	padding: 2px;
}
.lm-rate input:checked ~ label,
.lm-rate label:hover,
.lm-rate label:hover ~ label {
	color: #f2b705;
}
.lm-rate input:focus-visible + label {
	outline: 2px solid #186034;
	outline-offset: 2px;
	border-radius: 4px;
}
.lm-order-reviews__form textarea {
	width: 100%;
	min-height: 84px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 10px 14px;
	font-size: 16px;
	resize: vertical;
}
.lm-order-reviews__send {
	align-self: flex-start;
}
.lm-stars {
	color: #f2b705;
	font-size: 22px;
	letter-spacing: 2px;
}
.lm-stars__off {
	color: #d4d4d8;
}
.lm-order-reviews__text {
	margin: 6px 0 0;
}
.lm-order-reviews__status {
	margin: 6px 0 0;
	font-size: 14px;
	color: #6b7280;
}
@media (max-width: 767px) {
	.lm-order-reviews {
		padding: 16px;
		border-radius: 20px;
	}
	.lm-order-reviews__send {
		align-self: stretch;
	}
}

/* ── Place Order: no white flash over the page (owner 2026-10-24) ─────────────
   WooCommerce's checkout.js blocks the whole <form> with a white 60% blockUI
   overlay while the order is sent, then redirects, which showed as a white
   sheet over the page for a moment. Only that overlay goes; the double-submit
   guard is checkout.js's own `.processing` flag, not the overlay. The order
   review refresh overlay (a child of the review table, not the form) stays. */
form.woocommerce-checkout.processing > .blockUI,
form.woocommerce-checkout.processing > .blockUI.blockOverlay {
	display: none !important;
}

/* ── Product page: a single tab is a section with a heading (app repo docs/plans/96, 2026-10-24) ──
   With Reviews and Shipping & Delivery gone, only "Description" was left, drawn as a centred pill
   that looked clickable. woocommerce/single-product/tabs/tabs.php now prints one tab as
   .lm-product-section: the same white card the tab panel was (the parent theme's
   .woocommerce-tabs .panel values: 1px #e5e5e5 border, 24px radius, 25px 30px padding, Noto Sans
   15px / 26px, #444, justified), with the heading INSIDE it, so the heading's first letter sits
   exactly over the text's first letter: left in English, right in Arabic (text-align: start,
   logical padding). Heading: the family, weight, colour and capitals of the page's own section
   heading (Related products), at a size that fits a card. Two or more tabs keep the theme's tab bar. */
.lm-product-section {
	clear: both;
	margin: 0 0 55px;
	padding-block: 25px;
	padding-inline: 30px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
}
.lm-product-section__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: "Noto Sans", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: start;
	color: #444;
}
.lm-product-section__body {
	font-size: 15px;
	line-height: 26px;
	color: #444;
	text-align: justify;
}
.lm-product-section__body p:last-child {
	margin-bottom: 0;
}

/* ── My Account › Orders: the order buttons (app repo docs/plans/103, 2026-10-24) ──────────────────
   Pay, View and Cancel sat in a narrow Actions column as full-width blocks with no space between
   them, all the same green, so they touched and read as one block, and Cancel looked like the main
   action. Here they keep one height (40px), sit side by side with 8px between them (8px between
   lines too when a narrow screen wraps them), and get three looks: Pay keeps the account pages'
   filled primary button (with its yellow hover), View is the green outline, Cancel a neutral grey
   outline that turns a muted red on hover. The same buttons under an order on its own page
   (WooCommerce 9+, .order-actions-button) match. From 1100px the Actions column does not wrap, so
   the table makes room for one row; the cell stays a table cell so the columns stay aligned.
   Selectors repeat the account pages' button rule (~line 648, with its two :not()s) plus the
   actions class, so they outrank it without new tricks. Logical margins: Arabic flows right to left. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button:not(.lm-edit-address):not(.wc-stripe-copy-test-number),
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button:not(.lm-edit-address):not(.wc-stripe-copy-test-number) {
	min-height: 40px;
	height: 40px;
	margin-block: 4px;
	margin-inline: 0 8px;
	padding-block: 0 !important;
	padding-inline: 18px !important;
	font-size: 13px;
	line-height: 1 !important;
	vertical-align: middle;
	border: 2px solid var(--secondary, #186034) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button:not(.lm-edit-address):not(.wc-stripe-copy-test-number):last-child,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button:not(.lm-edit-address):not(.wc-stripe-copy-test-number):last-child {
	margin-inline-end: 0;
}
@media (min-width: 1100px) {
	.woocommerce-account .woocommerce-orders-table__cell-order-actions {
		white-space: nowrap;
	}
}
/* View: the green outline. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number),
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number) {
	background: #fff !important;
	color: var(--secondary, #186034) !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number):hover,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number):hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.view:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible {
	background: #eef5ea !important;
	color: var(--secondary, #186034) !important;
}
/* Cancel: secondary, never the main action. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number),
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number) {
	background: #fff !important;
	color: #555 !important;
	border-color: #cfcfcf !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number):hover,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number):hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button.cancel:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible {
	background: #fff !important;
	color: #9c3226 !important;
	border-color: #9c3226 !important;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible,
.woocommerce-account .woocommerce-MyAccount-content a.button.order-actions-button:not(.lm-edit-address):not(.wc-stripe-copy-test-number):focus-visible {
	outline: 2px solid var(--secondary, #186034);
	outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Checkout: the delivery options and the map's zoom buttons (app repo
   docs/plans/99 and 100, client 2026-10-24)
   ═══════════════════════════════════════════════════════════════════════════
   The parent theme hides each delivery radio and draws a ring (label:before)
   and, when checked, a dot (label:after) at position:absolute; left:0; top:50%
   against the nearest POSITIONED ancestor. Nothing in the order summary is
   positioned, so that was #order_review, the whole right column: every ring
   and dot sat at the column's edge, half-way down, beside the map (the client's
   "stray dot"), and no option showed a ring. The label is the anchor now, with
   room for the ring at its start; rtl.css already puts the ring on the right in
   Arabic. This matters only when two or more options are offered. */
.woocommerce-checkout .woocommerce-checkout-review-order-table ul#shipping_method li input[type=radio] + label {
	position: relative;
	display: inline-block;
	padding-inline-start: 26px;
	cursor: pointer;
}
/* One option (plan 99: Delivery below the free amount, Free delivery from it):
   WooCommerce prints a hidden input and the label only, so nothing said it was
   the one chosen. A brand-green check mark before it does. The sign is a mask,
   so it takes the brand colour; logical margin, so Arabic mirrors. */
.woocommerce-checkout-review-order-table ul#shipping_method li:only-child input[type=hidden] + label::before,
.cart_totals ul#shipping_method li:only-child input[type=hidden] + label::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-inline-end: 6px;
	vertical-align: -3px;
	background-color: var(--secondary, #186034);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The map's zoom buttons are ours (js/laymoun-checkout-map.js addZoomControl()):
   Google's control was a white box whose buttons the theme's global `button`
   style painted green around Google's grey signs. Green circles with a white
   + and −, no box; every state set here, so the theme's button styling
   (padding, capitals, yellow hover) cannot show through. */
#szbd_map .laymoun-map-zoom, .lm-map-picker__map .laymoun-map-zoom {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 12px;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
#szbd_map .laymoun-map-zoom button, .lm-map-picker__map .laymoun-map-zoom button,
#szbd_map .laymoun-map-zoom button:hover, .lm-map-picker__map .laymoun-map-zoom button:hover,
#szbd_map .laymoun-map-zoom button:focus, .lm-map-picker__map .laymoun-map-zoom button:focus,
#szbd_map .laymoun-map-zoom button:active, .lm-map-picker__map .laymoun-map-zoom button:active {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--secondary, #186034);
	color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	font-size: 0;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}
#szbd_map .laymoun-map-zoom button:hover, .lm-map-picker__map .laymoun-map-zoom button:hover {
	background: #0f4a27;
}
#szbd_map .laymoun-map-zoom button:focus, .lm-map-picker__map .laymoun-map-zoom button:focus {
	outline: none;
}
#szbd_map .laymoun-map-zoom button:focus-visible, .lm-map-picker__map .laymoun-map-zoom button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -5px;
}
#szbd_map .laymoun-map-zoom button:disabled, .lm-map-picker__map .laymoun-map-zoom button:disabled {
	opacity: 0.45;
	cursor: default;
}
#szbd_map .laymoun-map-zoom button svg, .lm-map-picker__map .laymoun-map-zoom button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
@media (max-width: 767px) {
	#szbd_map .laymoun-map-zoom button, .lm-map-picker__map .laymoun-map-zoom button,
	#szbd_map .laymoun-map-zoom button:hover, .lm-map-picker__map .laymoun-map-zoom button:hover,
	#szbd_map .laymoun-map-zoom button:focus, .lm-map-picker__map .laymoun-map-zoom button:focus,
	#szbd_map .laymoun-map-zoom button:active, .lm-map-picker__map .laymoun-map-zoom button:active {
		width: 40px;
		height: 40px;
	}
}

/* Google's own map controls look like Google's, in both maps (app repo plan 113
   #12, #13): the keyboard-shortcuts button, "Map Data", the scale, fullscreen
   and the Keyboard Shortcuts box's close button. The Customizer CSS paints every
   `button` green with white bold 14px text and round corners, all !important,
   over Google's inline styles, so Google's grey icons sat on green pills and the
   box's × vanished. Back to Google's values: no fill (fullscreen keeps its white
   square), Google's text colour and size, square corners. Our zoom circles are
   excluded; their rules are above. Google's texts also keep their own case: the
   Customizer capitalises every word on <body>. Every button in the map box, not
   only inside .gm-style: Google keeps a keyboard-focus button beside it. */
#szbd_map button:not(.laymoun-map-zoom button),
.lm-map-picker__map button:not(.laymoun-map-zoom button) {
	background-color: transparent !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	border-radius: 0 !important;
	transition: none !important;
}
#szbd_map button.gm-fullscreen-control,
.lm-map-picker__map button.gm-fullscreen-control {
	background-color: #fff !important;
	border-radius: 2px !important;
}
#szbd_map,
#szbd_map *,
.lm-map-picker__map,
.lm-map-picker__map * {
	text-transform: none !important; /* incl. the shortcuts box, which sits outside .gm-style */
}

/* ═══════════════════════════════════════════════════════════════════════════
   Address book (app repo docs/plans/106): My Account › Addresses, its map
   picker, and the checkout's Shipping details card. Logical properties
   throughout, so Arabic mirrors without rtl.css.
   ═══════════════════════════════════════════════════════════════════════════ */
.lm-address-book__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}
.lm-address-book__title {
	margin: 0;
	font-size: 22px;
}
.lm-address-book__note {
	color: #555;
}
.lm-address-book__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lm-address-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 18px;
	background: #fff;
}
.lm-address-card.is-default {
	border-color: var(--secondary, #186034);
}
.lm-address-card__badge {
	display: inline-block;
	margin: 0 0 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #eef5ea;
	color: var(--secondary, #186034);
	font-size: 12px;
	font-weight: 700;
}
.lm-address-card__lines {
	margin: 0;
	line-height: 1.55;
}
.lm-address-card__warn {
	margin: 8px 0 0;
	color: #9c3226;
	font-size: 13px;
}
.lm-address-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
}
.lm-address-card__actions form {
	width: auto; /* the parent theme sets every form to 100% */
	margin: 0;
}
/* Text actions, not the theme's big buttons: every state set, and !important with two classes
   because the theme options print `.woocommerce button { background … !important }` inline, after
   this file. */
body .lm-address-card__actions .lm-address-card__action,
body .lm-address-card__actions .lm-address-card__action:hover,
body .lm-address-card__actions .lm-address-card__action:focus,
body .lm-shipping-details .lm-address-link,
body .lm-shipping-details .lm-address-link:hover,
body .lm-shipping-details .lm-address-link:focus {
	display: inline !important;
	float: none !important; /* the parent theme floats every button left */
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--secondary, #186034) !important;
	font: inherit;
	font-weight: 600;
	line-height: inherit !important;
	text-decoration: underline;
	text-transform: none !important;
	cursor: pointer;
}
body .lm-address-card__actions .lm-address-card__action.is-delete,
body .lm-address-card__actions .lm-address-card__action.is-delete:hover,
body .lm-address-card__actions .lm-address-card__action.is-delete:focus {
	color: #9c3226 !important;
}
.lm-address-form {
	max-width: 640px;
}
.lm-address-form__default {
	margin-top: 4px;
}
/* "Use as my default address": the box beside its text, in brand green. An
   account-form rule made the input a block, so it sat on a line of its own
   above the text (app repo plan 113 #12). As specific as WooCommerce's
   `.woocommerce form .form-row label.checkbox { display: inline }`, plus one. */
.woocommerce form .form-row.lm-address-form__default label.checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.woocommerce form .form-row.lm-address-form__default label.checkbox input[type="checkbox"] {
	position: static; /* the parent's css/default.css pins .checkbox inputs absolute, over the text */
	flex-shrink: 0;
	margin: 0;
	accent-color: var(--secondary, #186034);
}
.lm-address-form__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 14px;
}

/* The map picker (js/lm-map-picker.js). */
.lm-map-picker {
	margin: 0 0 18px;
}
.lm-map-picker__label {
	margin: 0 0 8px;
	font-weight: 600;
}
.lm-map-picker__map {
	width: 100%;
	height: 300px;
	border-radius: 14px;
	overflow: hidden;
	background: #eef1ec;
}
.lm-map-picker .laymoun-map-search {
	position: relative;
	margin: 0 0 10px;
}
.lm-map-picker .laymoun-map-search input[type="search"] {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 18px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: var(--radius, 24px); /* same as the checkout map's box (plan 113 #7) */
}
.lm-map-picker .laymoun-map-suggestions {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 20;
	margin: 4px 0 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.lm-map-picker .laymoun-map-suggestions li {
	padding: 8px 14px;
	cursor: pointer;
}
.lm-map-picker .laymoun-map-suggestions li:hover,
.lm-map-picker .laymoun-map-suggestions li:focus {
	background: #eef5ea;
}
.lm-map-picker__status {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4;
}
.lm-map-picker__status:empty {
	display: none;
}
.lm-map-picker__status.is-ok {
	background: rgba(47, 107, 52, 0.10);
	color: #2f6b34;
}
.lm-map-picker__status.is-bad {
	background: rgba(176, 58, 46, 0.10);
	color: #9c3226;
}
.lm-map-picker__status.is-info {
	background: #f3f4f1;
	color: #444;
	border-inline-start: 3px solid var(--secondary, #186034);
}

/* Checkout: the second card, Shipping details (woocommerce/checkout/form-billing.php). The first
   card is WooCommerce's .woocommerce-billing-fields, which the theme already draws as a card. */
.woocommerce-checkout .lm-shipping-details {
	margin: 2% 0 0;
	padding: 3%;
	border: 1px solid #e5e5e5;
	border-radius: var(--radius);
	background: #fff;
}
.woocommerce-checkout .lm-shipping-details > h3 {
	margin-top: 5px;
}
.lm-shipping-details .lm-saved-address {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f6f8f4;
	line-height: 1.55;
}
.lm-shipping-details .lm-address-link {
	margin-inline-end: 18px !important;
}
.lm-shipping-details .lm-address-choices {
	display: grid;
	gap: 10px;
	margin: 12px 0;
}
.lm-shipping-details .lm-address-choices[hidden],
.lm-shipping-details .lm-new-address[hidden],
.lm-shipping-details .lm-saved-address[hidden] {
	display: none;
}
.lm-shipping-details .lm-address-choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	cursor: pointer;
}
.lm-shipping-details .lm-address-choice:has(input:checked) {
	border-color: var(--secondary, #186034);
	background: #f6f8f4;
}
/* The theme hides checkout radios to draw its own; these are plain ones, shown. */
.woocommerce-checkout .lm-shipping-details .lm-address-choice input[type="radio"] {
	display: inline-block !important;
	position: static;
	margin: 4px 0 0;
	accent-color: var(--secondary, #186034);
}
.lm-shipping-details .lm-address-choice__warn,
.lm-shipping-details .lm-new-address__note {
	display: block;
	margin-top: 4px;
	color: #9c3226;
	font-size: 13px;
}
.lm-shipping-details .lm-new-address {
	margin-top: 12px;
}
/* One address per order: WooCommerce still prints its shipping-fields wrapper, empty, which the theme
   drew as an empty card under Shipping details. */
.woocommerce-checkout .woocommerce-shipping-fields:not(:has(*)) {
	display: none;
}

/* ── "Ugly but tasty" sticker after a line's name (QA L10N-033, app repo docs/plans/126) ──
   Cart, cart drawer, checkout, order pages and the header suggestions (inc/laymoun-ugly-sticker.php).
   The Ugly stamp image, small, with its translated text, in the delivery banner's greens. */
.lm-ugly-sticker {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-inline-start: 6px;
	padding-block: 1px;
	padding-inline: 1px 8px;
	border: 1px solid #d4e5cc;
	border-radius: 999px;
	background: #eef5ea;
	color: #186034;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	vertical-align: middle;
}
/* !important: the theme's cart-list image rules (.admin-bar .woocommerce ul.cart_list li img:
   float, min-height 92px, width 270px) are more specific and would blow the stamp up in the drawer. */
html body .lm-ugly-sticker img.lm-ugly-sticker__img {
	display: block;
	float: none !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 50% !important;
	background: #fff;
	box-shadow: none;
}

/* "Log in", not "Log In" (QA L10N-042, app repo docs/plans/127): the theme capitalises every word
   of the account page's login heading (.woocommerce-account .woocommerce #customer_login h2) and,
   through the site's inline style, of every button (capitalize !important). These two only. */
.woocommerce-account .woocommerce #customer_login h2,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit {
	text-transform: none !important;
}

/* "Log out", not "Log Out" (QA L10N-042, round 2): the same capitalising hits the account menu's
   last item. This item only; the other menu items keep the theme's capitals. */
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	text-transform: none !important;
}

/* The phone menu's login link reads "Log in" (QA L10N-042 follow-up, app repo docs/plans/128): the
   parent theme sets the whole .footer-menu bar in capitals. This link only, and only while it says
   "Log in" (the class is printed for visitors); "Account" and the other items keep the capitals. */
.ftc-mobile-wrapper .footer-menu .mobile-account a.lm-login-link {
	text-transform: none;
}
/* Its signed-in twin reads "Log out", not "LOG OUT" (QA L10N-042, round 2): same bar, this link only. */
.ftc-mobile-wrapper .footer-menu .lm-mobile-logout a {
	text-transform: none;
}

/* ── Text beside an image: centred on the image; the button at the text's start ───────────────
   Owner request 2026-11-06, with screenshots of About and the home "Our Story": "all text should
   be center with image and if have button will be on left side". Five builder rows, the same on
   the English and the Arabic page:
     - Home "Our Story": the inner equal-height row of the row with el_class "Our story";
     - Home "Taste the difference": .video-text-h10 (the video beside the text);
     - About "About Laymoun Gourmet": .vc_custom_1774900793899 (placed "content top" in the builder);
     - About, the photo beside "Local sourcing & freshness": text column .vc_custom_1773618314545;
     - About "Scheduled Delivery" with Shop now, beside the photo: text column .vc_custom_1773622250509.
   Side by side (768px and up) the row centres its columns. The one-sided spacing that pushed the
   text off centre is dropped inside these rows: column top padding and margins, the video text's
   20px top padding, and the last text block's bottom margin. The space around each photo or video
   (its wrapper's or column's padding plus the builder's 35px bottom margin) is kept as the same
   total, split evenly above and below, so every section keeps its height and only the alignment
   changes (heights measured at 1440px before and after: equal within 1px). Phones stack the
   columns and keep their spacing. The Our Story button sits at the start of the text at every
   width: left in English, right in Arabic (`start` follows the page direction); the About
   "Scheduled Delivery" button stays centred (owner's follow-up). The About rows are found by
   their builder ids, as the About rules above are: editing those columns' Design Options in
   WPBakery gives them a new id, and this would then need the new one. */
@media (min-width: 768px) {
	.Our.story .vc_row.vc_inner,
	.vc_row.video-text-h10,
	.vc_row.vc_custom_1774900793899,
	.vc_row:has(> .wpb_column.vc_custom_1773618314545),
	.vc_row:has(> .wpb_column.vc_custom_1773622250509) {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: center !important;
	}
	.Our.story .vc_row.vc_inner > .wpb_column,
	.vc_row.video-text-h10 > .wpb_column,
	.vc_row.vc_custom_1774900793899 > .wpb_column,
	.vc_row:has(> .wpb_column.vc_custom_1773618314545) > .wpb_column,
	.vc_row:has(> .wpb_column.vc_custom_1773622250509) > .wpb_column {
		align-self: center !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.Our.story .vc_row.vc_inner > .wpb_column > .vc_column-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.vc_row.video-text-h10 > .wpb_column > .wpb_wrapper > .wpb_text_column {
		padding-top: 0 !important;
	}
	/* The last block of each column (direct content only, so the small feature icons inside the
	   About text column keep their spacing), and the last feature of the About feature list. */
	.Our.story .vc_row.vc_inner > .wpb_column > .vc_column-inner > .wpb_wrapper > :last-child,
	.vc_row.video-text-h10 > .wpb_column > .wpb_wrapper > :last-child,
	.vc_row.vc_custom_1774900793899 > .wpb_column > .wpb_wrapper > :last-child,
	.vc_row:has(> .wpb_column.vc_custom_1773618314545) > .wpb_column > .wpb_wrapper > :last-child,
	.vc_row:has(> .wpb_column.vc_custom_1773622250509) > .wpb_column > .wpb_wrapper > :last-child,
	.vc_row:has(> .wpb_column.vc_custom_1773618314545) > .wpb_column > .wpb_wrapper > .vc_inner:last-child .wpb_wrapper > :last-child {
		margin-bottom: 0 !important;
	}
	/* The space around each photo or video, kept as before but even: Our Story 20 + 20 + 35,
	   the video 10 + 10 + 35, About 50 + 0 + 35, Local sourcing 20 + 0, Scheduled Delivery 0 + 40. */
	.Our.story .vc_row.vc_inner > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image {
		padding-top: 37px !important;
		padding-bottom: 38px !important;
		margin-bottom: 0 !important;
	}
	.vc_row.video-text-h10 > .wpb_column > .wpb_wrapper > .wpb_video_widget {
		padding-top: 27px !important;
		padding-bottom: 28px !important;
		margin-bottom: 0 !important;
	}
	.vc_row.vc_custom_1774900793899 > .wpb_column > .wpb_wrapper > .wpb_single_image {
		padding-top: 42px !important;
		padding-bottom: 43px !important;
		margin-bottom: 0 !important;
	}
	.vc_row:has(> .wpb_column.vc_custom_1773618314545) > .wpb_column:not(.vc_custom_1773618314545) {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
	.vc_row:has(> .wpb_column.vc_custom_1773622250509) > .wpb_column:not(.vc_custom_1773622250509) {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
}
/* Our Story only: the About "Scheduled Delivery" button stays centred under its feature list
   (owner, 2026-11-06: "keep button center more nice"). */
.Our.story .ftc-sb-button {
	text-align: start !important;
}

/* ── Checkout: "Placing your order…" (QA DEF-051, app repo docs/plans/138; js/lm-checkout-status.js) ──
   While WooCommerce places the order the button shows a turning ring before its words and takes no
   clicks; the phone bar (js/lm-checkout-bar.js) stays in view the same way instead of disappearing. */
@keyframes lm-placing-spin {
	to { transform: rotate(360deg); }
}
#place_order.lm-placing,
.lm-checkout-bar.is-busy button {
	cursor: progress;
	pointer-events: none;
	opacity: 1 !important;
}
#place_order.lm-placing::before,
.lm-checkout-bar.is-busy button::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-inline-end: .5em;
	vertical-align: -.15em;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: lm-placing-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	#place_order.lm-placing::before,
	.lm-checkout-bar.is-busy button::before {
		animation-duration: 2.4s;
	}
}
/* The "Check again" link in the "not confirmed yet" message reads as a link. */
.woocommerce a[href*="lm_order_check"] {
	text-decoration: underline;
	font-weight: 600;
	white-space: nowrap;
}

/* Phones: no back-to-top on the cart and checkout (QA DEF-105, app repo docs/plans/144). It sat on the cart's
   Subtotal amount (390 px; on the label in Arabic) and above the checkout's phone bar. Both pages are short and
   the WhatsApp button is already hidden there (DEF-034). `visibility`, because the parent theme forces
   `display: block !important`; hidden also takes its link out of the tab order. */
@media (max-width: 991px) {
	body.woocommerce-cart #to-top,
	body.woocommerce-checkout #to-top {
		visibility: hidden;
	}
}

/* ── Cart cross-sells: a plain grid, not a carousel (2026-11-17) ──────────────
   "You may be interested in…" under the cart. The parent's scripts made it a
   4-slot carousel with no gap between slides, so the cards touched and two
   cross-sells filled half the row. The child template
   (woocommerce/cart/cross-sells.php) names the wrapper .lm-cross-sells, so the
   carousel never starts, and the same cards are laid out like the shop grid:
   2 per row on phones; from 640px up to 3 per row, each at least 170px (so 2
   in the cart's narrow 992–1199px column), with the shop's
   gaps, starting at the cart card's edge. More cross-sells wrap to a new row.
   Grid layout only, so the Arabic (RTL) page needs nothing in rtl.css. */
body.woocommerce-cart .lm-cross-sells {
	margin-top: 32px;
}
body.woocommerce-cart .lm-cross-sells > h2 {
	margin: 0 0 16px;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
}
body .woocommerce .lm-cross-sells .products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: auto;
	margin: 0;
}
/* The parent caps grid cards at 270px with auto side margins, and the 768–1199px
   gutter rule (~line 1923) adds 15px !important margins: the grid gap is the
   spacing here, and each card fills its column. */
body .woocommerce .lm-cross-sells .products > .product.ftc-product {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
@media (min-width: 640px) {
	body .woocommerce .lm-cross-sells .products {
		/* at most 3 columns (a track is never under a third), at least 170px each */
		grid-template-columns: repeat(auto-fill, minmax(max(170px, calc((100% - 48px) / 3)), 1fr));
		gap: 24px;
	}
}
/* Phones: the 30px heading wrapped onto two lines at 390px. */
@media (max-width: 767px) {
	body.woocommerce-cart .lm-cross-sells > h2 {
		font-size: 22px;
	}
}
