/*
Theme Name: Flatsome StylishCircle
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.21.4
*/

/**
 * -------------------------------------------------------------------
 * Changelog
 * -------------------------------------------------------------------
 *
 * 3.21.4 (2026-10-22): the category description ("Descriere" with "Pe scurt") prints on the plain category page only, not on a colour/brand landing,
 *   a filter state or page 2 (jm_sc_hub_long_text() requires the hub's `top`).
 * 3.21.3 (2026-10-22, JM Facets 0.1.0-dev.40 automatic clean URLs): inc/jm-catalog-single.php: a product's facet chip links to the clean path (no nofollow) only when the product is in stock and the link has no query string; else the query form with nofollow.
 * 3.21.2 (2026-10-22): automatic category photos (chips, hub tiles) skip a product whose image is a legacy attachment with a missing file and take the
 *   next of the first three in-stock products (cache key v2).
 * 3.21.1 (2026-10-22, JM Facets 0.1.0-dev.38): "După culoare" on every category listing, first unfiltered page: a leaf prints it under the chip row (jm-catalog/archive.php, inc/jm-catalog-hub.php
 *   jm_sc_leaf_colours_html()), with the same Design count (hub_colours, 0 = off); fewer than three colours: the nearest ancestor with three or more (jm_sc_ancestor_colours(), like the brands module). Product page:
 *   the colour chip of "Ce face acest produs special" has the swatch dot before the name (`multi` = the pattern; assets/jm-single.css +0.2 KB). No script.
 * 3.21.0 (2026-10-22, JM SC 1.20.0 feature `sc.post_image_fallback`, Design `post_image_default`): a post whose featured image is missing (none, or the file is gone) shows the first usable image of its text, else its category's
 *   photo, else the Design default image, else the placeholder (inc/jm-post-image.php jm_sc_post_image(), cached per request): cards, Must Read, [jm_posts], Inspirație, article hero, related, and with Yoast og:image
 *   and the Article schema image. Nothing written to post data. No CSS, no script.
 * 3.20.5 (2026-10-22): the category FAQ sits above "Branduri populare" (jm-catalog/archive.php; inc/jm-catalog-archive.php takes it out of JM Facets'
 *   bottom region and answers the layout from Design `faq_layout`). jm-archive.css: accordions in two columns from 768 px, cards of equal height per row (2 columns
 *   from 768 px, 3 from 1100 px), full listing width.
 * 3.20.4 (2026-10-22, category FAQ; JM Facets 0.1.0-dev.36 feature `facets.category_faq`): assets/jm-archive.css `.jm-faq-block` (the FAQ under a plain category listing: heading, `<details>` rows with a +/- marker, 48 px tap
 *   rows). No template change: JM Facets prints the block in the listing's bottom region (`JM_Facets_Listing_View::bottom()`), under the long text.
 * 3.20.3 (2026-10-22): a blog category's automatic photo skips featured images whose file is missing (filter `jm_sc_blog_term_image_usable`, e.g. for R2).
 * 3.20.2 (2026-10-22): a blog category opened at a path that is not its own (a category moved to the top level) answers 301 to its URL
 *   (inc/jm-blog.php jm_sc_blog_category_path_redirect(); paged and query string kept).
 * 3.20.1 (2026-10-22): footer disclaimer default says "din magazine partenere" without the store count ({stores} stays a token for an edited text).
 * 3.20.0 (2026-10-22, blog categories; JM SC 1.19.0 feature `sc.blog_term_image`, Design `blog_cats_popular`, `blog_cats_order`, `blog_cats_all`): blog root, first page, under the Must Read block: "Categorii populare" (four
 *   photo tiles: image, name, article count; the admin's ordered list, then most posts; a category with no photo is skipped) and "Toate categoriile" (every category with posts, A-Z, with counts; the default catch-all and empty
 *   categories are left out; no slug is named in code) - inc/jm-blog.php jm_sc_blog_categories_html(), template-parts/jm-blog-archive.php, assets/jm-blog.css. Blog category photos: inc/jm-term-fields.php
 *   jm_sc_blog_term_image_url() (Fixed or Automatic = the newest post's featured image) and the Image row on Edit Category of post categories.
 * 3.19.0 (2026-10-22, 404 page; JM SC 1.18.0 switches `err404_categories`, `err404_sale`): inc/jm-404.php (on Flatsome's `flatsome_after_404`): "Categorii recomandate" (hub tile markup, top-level and
 *   most popular categories, about 8, cached, photos through jm_sc_term_image_urls()) and a "Reduceri" rail (jm_product_grid on sale, "Vezi toate reducerile" to the sale hub); assets/css/sc-404.css (0.5 KB), jm-hub.css and the
 *   elements sheet load on the 404 page only; noindex enforced through `wp_robots`; status unchanged (404).
 * 3.18.0 (2026-10-22, footer disclaimer; JM SC 1.17.0 field `footer_disclaimer`): inc/jm-footer.php jm_sc_footer_disclosure(): the line above the copyright is a short paragraph: what StylishCircle is (a fashion
 *   marketplace / aggregator of partner stores' products and discounts, for shoppers of the market's country), then the commission sentence (market `affiliate_disclosure`, else the default). The country name
 *   is the ICU region name of the market's locale in its language, else the market label (jm_sc_footer_country_name(), no hardcoded country); the store count is live (jm_sc_footer_store_count(), cached). Editable
 *   in Design -> General -> Footer with the tokens {site}, {country}, {stores}.
 * 3.17.2 (2026-10-22, footer): the Favorite link is the last link of the "Inspirație" column (inc/jm-footer.php jm_sc_footer_inspiration_html(): after the automatic list or the items of
 *   a curated menu; skipped when a curated footer menu links the page already); the "Ajutor" fallback no longer carries it (once per footer).
 * 3.17.1 (2026-10-22, brands always on a category listing): inc/jm-catalog-hub.php jm_sc_sitewide_brands() / jm_sc_sitewide_brands_html(): when the category and its ancestors have fewer
 *   than three brands, or the category has no products (no listing context), "Branduri populare" prints on the first page with the site-wide popular brands (featured brands of JM SC first, then by
 *   product count; plain heading). jm-catalog/archive.php calls it when there is no module context. Product page: the "Branduri similare" bar falls back the same way (own brand excluded).
 * 3.17.0 (2026-10-22, favourites phase 1: guest list in the browser; JM SC 1.16.0 features `sc.favorites`, `sc.favorites_tracking`)
 * - inc/jm-favorites.php, assets/js/sc-fav.js (1.4 KB gzip, vanilla, deferred), assets/css/sc-fav.css: a heart button (aria-pressed, inline SVG) on the right of the brand line of every
 *   card (jm-catalog/card.php, `.jm-product-card__brandline`, no extra height) and on the product page (over the image, and on `.jm-pdp__brandline`); header heart link with a count badge
 *   (`[jm_fav_link]` in front of the HTML 3 slot, filled by JS); the Favorite page cards (filter `jm_sc_favorites_cards`, REST `jm/v1/cards`); footer "Ajutor" fallback links the page;
 *   add_to_wishlist / remove_from_wishlist on dataLayer when it exists. List in localStorage `jm_fav`; styles in sc-card.css, jm-single.css, sc-chrome.css; script only where hearts print.
 * 3.16.2 (2026-10-22): category photos come from one resolver, jm_sc_term_image_url(); Edit Category Image row (Fixed or Automatic); the subcategory
 *   chips show a fixed photo when the category has one (JM SC 1.15.0 feature `sc.term_image`).
 * 3.16.1 (2026-10-22): sc-footer depends on sc-chrome only when it is registered (no incorrect-usage notice when the chrome feature is off).
 * 3.16.0 (2026-10-22, product page: main button, sticky bar, similar brands, image title)
 * - jm-catalog/single.php, inc/jm-catalog-single.php, assets/jm-single.css: image column 5/12 (was 1.1fr/1fr), image contained in a white box; right column order: brand
 *   line (a flex row, room for the favourites heart), title, price, the main button "Adaugă în coș" (exit URL of the best offer, rel + tracking data kept; label
 *   `label_single_cta`), "Ce face acest produs special", "Compară ofertele" only with two or more offers, disclosure. Gallery is a positioned container.
 * - "Branduri similare" bar at the bottom (the category page's boxes, jm-hub.css loads on the product page only when it prints): brands with most products in the
 *   product's category, own brand excluded, parent category as fallback, cached (jm_sc_single_brand_boxes()). Features sc.single_cta, sc.single_sticky_cta, sc.single_brands (JM SC 1.14.0).
 * - Sticky bar rewritten: thumbnail, title, price, same button; hidden (translate + visibility, CLS 0) until assets/jm-sticky.js (0.5 KB gzip, IntersectionObserver)
 *   sees the main button scrolled above the screen; waits for the consent banner; safe-area inset; lifts the cookie settings button.
 * - Image title = alt behind JM Perf's switch (jm_sc_image_title_applies()): attachment filter (no title when off; it was set always), gallery images, product card image
 *   (the card's decorative alt="" becomes the product name only while the switch is on).
 * 3.15.1 (2026-10-22): the footer trust strip (with icons) prints on every page; a page's own "[MJ] Trust Band" block (homepage) prints nothing while the
 *   strip is on (inc/jm-footer.php jm_sc_footer_hide_page_trust(), replaces jm_sc_footer_page_has_trust()).
 * 3.15.0 (2026-10-22, brands and articles on every category listing)
 * - jm-catalog/archive.php: a leaf category (and any category while the hub layout is off) closes with "Inspirație" and "Branduri populare" on the first
 *   unfiltered page, like a hub (order: description, Inspirație, brands; hubs keep their link columns). inc/jm-catalog-hub.php: jm_sc_leaf_context(),
 *   jm_sc_is_category_listing(), jm_sc_ancestor_brands() (a category with fewer than three brands shows the nearest ancestor's, heading names it); jm-hub.css now
 *   loads on every category listing (2.3 KB gzip).
 * - inc/jm-blog.php: Inspirație falls back tag of the category -> its ancestors up to the root -> the Must Read set -> the newest posts (plain heading
 *   "Inspirație" when nothing is tagged); jm_sc_listing_inspiration_data(). The section is printed on the first unfiltered page only.
 * 3.14.4 (2026-10-22): blog archives list 12 posts per page (was 9): four rows of three, six of two. Filter `jm_sc_blog_per_page`.
 * 3.14.3 (2026-10-22): `.page-wrapper` has 10px padding-top on every screen (Flatsome: 30px); padding-bottom unchanged. Measured on listing, product, blog,
 *   article and generic pages (all were 30px); home and brands page have none. sc-chrome.css (`body .page-wrapper`).
 * 3.14.2 (2026-10-22): Must Read: the two medium cards (top right) print a short excerpt (manual excerpt, else the trimmed text; 18 words, clamped to 2 lines)
 *   instead of the title alone. jm_sc_blog_card() takes a `words` argument.
 * 3.14.1 (2026-10-22): homepage hero: a column gap between the copy and the campaign panel (token --s-6 from 850 px, --s-8 from 1024 px). The old padding sat on
 *   the columns, which Flatsome's `.row-collapse>.col{padding:0!important}` cancelled; the gap is now padding-right of the copy's inner box.
 * 3.14.0 (2026-10-22, footer 2026)
 * - inc/jm-footer.php, template-parts/jm-footer.php, assets/css/sc-footer.css (new): the footer after the wireframe "Subsol" replaces Flatsome's footer block and
 *   bottom bar while JM SC's feature `sc.footer` is on: trust strip with icons, dark block (brand, social pills, newsletter), five and four link columns,
 *   country pills, legal row. Ten menu locations ("Footer: ..."); an empty location prints an automatic list (leaf categories of the gender category,
 *   stores and brands by count, sale hub, blog categories, pages by slug). sc-nav.js: the columns are accordions under 768 px. Copy and switches: JM SC 1.13.0.
 *
 * 3.13.4 (2026-10-22): inc/jm-tracking.php prints the GTM snippet, noscript and dataLayer pushes only while the tag `gtm_id` is on, and the Meta verification meta tag only while `facebook_domain_verification` is on (JM Core 0.21.0 switch on Settings → Tracking and Analytics; no JM Core: both print as before).
 * 3.13.3 (2026-10-21, brand pages get the filters)
 * - jm-catalog/archive.php on a brand term: the toolbar (pills, "Toate filtrele" sheet, sort), the count line and the active-filter chips print like on
 *   any listing, and the interactive `jm/listing` regions apply (JM Facets 0.1.0-dev.34: the brand archive is a listing context with the brand fixed,
 *   plus a Category pill whose links open that category's listing with the brand and the current filters). The template needed no new markup (it already
 *   printed the bar whenever JM Facets had a context); the brand header, `jm_sc_brand_bottom_html()` and the plain chip-row skip are kept. Template
 *   docblock updated. No new asset, no new script.
 * 3.13.2 (2026-10-21): hub tiles use the category's own photo (term meta `thumbnail_id`) before the product photo; Must Read ranks tagged
 *   posts by the post's Order field (1 = large card), unranked ones newest first.
 * 3.13.1 (2026-10-21): Must Read lead image is positioned inside its card (it grew to the photo's own height and left a gap beside the side column).
 * 3.13.0 (2026-10-21, homepage and blog top after the wireframes)
 * - assets/css/sc-home.css (new, loaded only with the home composition: marker `jm-home-`): section rhythm and bands, hero 5 + 7 with the photo campaign,
 *   round category photos, rails, bestsellers (chips beside the heading, 4 x 2 horizontal cards from 1024 px), accessories grid (tile, product, product, tile),
 *   deal-link rows, brand boxes, store cards with status, BeautyArena card. sc-pages.css: the hide-when-empty rules follow the new markup.
 * - inc/jm-posts.php, assets/css/sc-posts.css (new): elements `[jm_posts]` (article cards) and `[jm_must_read]` (mosaic from tag must-read, fallback to the
 *   newest posts with an image, Design setting), builder registration; the blog top and the home use the same markup. jm-blog.css: dashed rules around the chips
 *   and above the list, Must Read rules moved to sc-posts.css. jm_sc_blog_card(): `byline` and `read` arguments.
 * - inc/jm-elements.php: store tile status line "N reduceri" (filter jm_catalog_merchant_tile_extra, Design switch).
 *   Needs JM SC 1.11.0 (seed version 2).
 *
 * 3.12.0 (2026-10-21, category hubs and the brands page match the wireframes)
 * - Category hubs (parent listing, wireframes 13 and 14; `/pc/femei/`, `/pc/barbati/`, `/pc/copii/` and every category with child categories):
 *   inc/jm-catalog-hub.php + assets/jm-hub.css (loaded only on hubs). Head: H1, the count line (live region, moved under the H1) and the intro
 *   (JM Facets copy, else the first paragraph of the category description, else a generic sentence; two lines + "Citește mai mult") side by
 *   side from 1024 px; module "După categorie" (3:4 image tiles of the child categories with product counts, horizontal scroll-snap under
 *   1024 px, 6 columns from 1024 px); module "După culoare" (swatches with counts, landing link when one exists else the filter link, needs
 *   swatch colours); heading "Toate produsele: {category}"; under the grid the category description with the "Pe scurt" box (JM SC TOC),
 *   Inspirație, "Branduri populare" (6 boxes with counts) and the link columns (popular searches / brands / colours: indexable landings only).
 *   Filtered states and page 2 keep the head and drop the modules; leaf listings are unchanged. Settings: Design → Catalogue → Category hubs
 *   (JM SC 1.10.0). jm_sc_listing_chip_thumbs() takes a width (tiles use 400 px). No new script.
 * - Brands page: assets/css/sc-brands.css (loaded after sc-pages.css on the composed brands page only) restyles the "[MJ] Branduri A–Z 2026"
 *   block: breadcrumb, head aligned with the modules, module cards (16/24 px padding, 12/20 px gaps), 40 x 44 px alphabet bar (scrolls under
 *   768 px), top 20 as 2/4/5 columns with counts, four style cards with dashed rows and counts, the A–Z list as one cell per letter (1 column
 *   with two-column lists, 4 cells from 1024 px), FAQ as dashed rows with a plus that turns into a cross. page-brands.php prints the
 *   breadcrumb. Needs JM SC 1.10.0 (A–Z markup, counts on top and cluster views); no re-seed needed.
 *
 * 3.11.1 (2026-10-21): listing "Inspirație" (D11) mounted in jm-catalog/archive.php after the bottom text on category listings (not
 *   on sale hubs or brand pages); sc-blog.css enqueued only when the block prints.
 * 3.11.0 (2026-10-21, redesign W5: blog "Inspirație" and article, table of contents)
 * - Blog: home.php, category.php, tag.php, author.php, date.php -> template-parts/jm-blog-archive.php (breadcrumb, H1 "Inspirație" and intro,
 *   category chips with counts, the top block "[MJ] Blog – Top" (theme mod blog_header; W4b's and Flatsome's own printing are unhooked on
 *   blog archives, any <h1> in it becomes <h2>) or the built-in Must Read (tag must-read: one large card, two medium, four compact), "Cele
 *   mai noi articole" as article cards (2 columns with 4:5 images under 768 px, 3 columns with 3:2 images from 768 px, reading time, Romanian
 *   dates), "Ai văzut X din Y" + "Mai multe articole" (a real rel=next link) + numbered links; 9 posts per page.
 * - Article: single.php (posts only; other types keep Flatsome's layout) -> template-parts/jm-article.php: breadcrumb, category eyebrow,
 *   H1, byline (author, date, updated, reading time), hero 4:5 / 3:2, text column (680 px prose, wide blocks use the whole column),
 *   sidebar from 1024 px (widget area "Articol – bară laterală"; empty = table of contents, the four cheapest `[jm_product_grid]` products
 *   of the article, catalogue categories it links to, newsletter), related guides (3), comments.
 * - inc/jm-blog.php (helpers, stylesheet scope: jm-blog.css on blog archives and articles, jm-article.css on articles, no script),
 *   jm_sc_listing_inspiration_html() for the listing (D11; not mounted: the listing template calls it).
 * - JM SC 1.8.0 `sc.toc`: the table of contents is styled by the plugin's toc.css; the theme sets the offset under the stuck header
 *   (`--jm-toc-offset`, inline, only where a list prints) and tells the plugin the article has a sidebar (`jm_sc_toc_has_sidebar`).
 * - Needs JM SC 1.8.0.
 *
 * 3.10.0 (2026-10-21, redesign W3: product page)
 * - jm-catalog/single.php rewritten on the SCDS components, same URLs and data: breadcrumb, gallery (4:5 white box, `contain`, every
 *   image with its own width/height and srcset; scroll-snap strip with a thumbnail rail that is vertical from 850 px; thumbnails are
 *   anchors, assets/jm-single.js 0.75 KB gzip only marks the current one; no lightbox, Flatsome's stays off), brand eyebrow, H1 and the
 *   price block ("De la X lei în N magazine" in the display face, or "X lei la Shop"; struck price, % badge and saving only when the
 *   best offer carries a real discount; no price-history claim, D10), "Compară ofertele" with "Verificat azi, HH:MM" (latest
 *   checked_at / last_seen_at in the market timezone, hidden when older than a week), the offer table (container query: stacked cards
 *   in a narrow column, a table with a stitched rule in a wide one; sorted by the price paid; best row salvie-soft with "Cel mai bun
 *   preț" and the only filled button, only when two or more offers can be bought; unavailable offers last, greyed, no button; sizes and
 *   delivery columns only when data exists: one buyable offer in all uses the product's size terms, the filter
 *   `jm_sc_single_offer_extras` carries per-offer sizes/delivery), disclosure with an optional "Cum câștigăm bani" link, attribute
 *   chips ("Culoare: Verde": a followed link to a live indexable landing, else `rel="nofollow"` to the category with the filter,
 *   else plain text; plus the brand and colour landings of JM Facets' product links), details (description and attribute table as
 *   native <details>, open), "Produse similare" (the ids of JM Catalog's recommended-products component, shown as a `jm_product_grid`
 *   rail with compact cards) and "Top produse {brand}" rails, sticky mobile bar (best price, shop, offer count, the one filled button).
 * - Every exit link the theme prints has `rel="sponsored nofollow noopener"` (ADR-0009 rule 3, ADR-0029): product page rows, the sticky
 *   bar and the product card (SCDS says `sponsored noopener`; the ADR wins). `jm_sc_exit_rel()` is the one place.
 * - Yoast's BreadcrumbList for a product is Home > category chain > product (it was Home > product); the Product + AggregateOffer
 *   JSON-LD is unchanged and still the only Product on the page.
 * - assets/jm-single.css rewritten (tokens only, 3.2 KB gzip); the page also loads sc-card.css and sc-elements.css for the rails (head, no flash).
 *   The W1a dark overrides for the product page are gone from assets/src/dark-overrides.css (sc-dark.css 1.15 to 0.97 KB gzip).
 * - Needs JM SC 1.6.2 (Design -> Product page: pdp_chips, pdp_brand_rail, pdp_brand_count, pdp_disclosure_url); without it the defaults apply.
 *
 * 3.9.1 (2026-10-21, redesign W4b: page composition; numbered 3.8.3 on its branch)
 * - assets/css/sc-pages.css: the look of the homepage, brands page, sale hub top and blog top blocks (hero, quick links, campaign,
 *   dark strip, section titles, tabs, accessories band, brand and store strips, Must Read, BeautyArena tiles, trust band, boxes,
 *   FAQ). Tokens only, mobile first. inc/jm-pages.php loads it (with sc-elements.css) only on a request that prints one of the
 *   "[MJ] ..." blocks, decided from the content so it is in the head.
 * - The hidden home H1 is not printed when the page has a visible one (jm_stats tag="h1"); page-brands.php does not append the
 *   A-Z list when the content already has it and prints composed pages without the boxed wrapper; the blog top block (Flatsome
 *   blog_header) is also printed on the archive of the default category (feature sc.design_pages of JM SC).
 * - Needs JM SC 1.7.0.
 * 3.9.0 (2026-10-20, redesign W2: listings and filters, decision D13)
 * - jm-catalog/archive.php: full-width listing, no sidebar. Breadcrumb, H1 with a two-line intro and "Citește mai mult" (anchor to
 *   the long text), subcategory chip row with 32 px thumbnails (children, siblings on a leaf), toolbar (facet pill dropdowns,
 *   "Toate filtrele", sort), count line, active-filter chips with "Șterge tot", grid 2 / 3 / 4 columns (under 768 / to 1023 /
 *   from 1024), pagination (seen X of Y, load more, numbered links), long text. Under 850 px the toolbar is the sticky
 *   "Filtrează / Sortează" bar (under the stuck header) and the sheet is a bottom sheet. Sale hubs use the same template.
 * - assets/jm-archive.css rewritten (tokens only, 2.0 KB gzip); the filter controls are styled by JM Facets 0.1.0-dev.30 with
 *   the same tokens (one definition of .jm-chip, .jm-sort, .jm-pill, .jm-pagination). jm-facet-panel.php (Woo layouts) is unchanged.
 * - inc/jm-breadcrumb.php + sc-chrome.css: the one SCDS breadcrumb (`.jm-breadcrumb`, last two levels under 768 px), used by the
 *   listings (trail read from Yoast, JM Facets' crumbs as fallback) and the product page; `.jm-sc-crumbs` is gone.
 * - inc/jm-catalog-archive.php: chip row and its thumbnails (cached six hours), breadcrumb links; inc/jm-design.php: Design
 *   settings listing_pills (8), listing_chip_row, listing_chip_thumbs (JM SC 1.5.2) and the `jm_facets_toolbar_limit` filter.
 * - Dark overrides for the listing, filter sheet, chips, sort, pagination, breadcrumb and sale hub removed (they read tokens now).
 * - Needs JM Facets 0.1.0-dev.31 (the template calls its toolbar, count line, intro and bottom regions) and JM SC 1.6.1 for the settings.
 *
 * 3.8.2 (2026-10-20, redesign W4a: elements)
 * - assets/css/sc-elements.css: the look of the UX Builder elements jm_product_grid (grid and CSS scroll-snap rail, rank badge),
 *   jm_category_tiles (round-plain / round-thin / round-ring / tile / list), jm_stats, jm_merchant_tiles, jm_facet_links (pills,
 *   boxes, list) and the jm_sc_brand_index views (letters, top, cluster, popular strip). Tokens only. inc/jm-elements.php enqueues it
 *   (with sc-card.css) only when an element rendered (actions jm_catalog_element_rendered, jm_facets_element_rendered,
 *   jm_sc_element_rendered), and always in the UX Builder canvas.
 * - jm-catalog/card.php: `rank` argument prints the position as a number (bestseller list).
 * - Needs JM Catalog 0.13.0, JM Facets 0.1.0-dev.30, JM SC 1.6.0.
 * 3.8.1 (2026-10-20): shop button labels come from JM Suite → Design → Button labels (`jm_sc_label()`); card button default
 *   "Adaugă în coș" (was "Vezi în magazin"), product page offer/sticky defaults unchanged.
 * 3.8.0 (2026-10-20, redesign W1b: chrome and card)
 * - assets/css/sc-chrome.css (every page, 2.9 KB gzip): Manrope / Bodoni on the tokens, buttons, badges, sticky header (60/72 px,
 *   gender tabs, search, theme toggle), nav row and mega-menu panels, mobile drawer, ink-band footer (white surface in dark),
 *   newsletter and country switcher styles. assets/js/sc-nav.js (every page, 0.9 KB gzip): Enter / Space / ArrowDown opens a
 *   dropdown, Esc closes and returns focus, current gender tab. No library.
 * - One product card: jm-catalog/card.php (SCDS ProductCard: white 4:5 box, store line, brand, 2-line name, rodie sale price and
 *   badge only with a real discount, outline CTA to the exit URL with rel="sponsored noopener", whole card links to the product
 *   page). Used by the listing, REST fragments, the sale hub fallback and every JM Catalog grid. Variants default / compact /
 *   list. assets/css/sc-card.css (1.0 KB gzip) replaces the .jm-sc-card rules and JM Catalog's card stylesheet. The listing grid
 *   function jm_sc_catalog_archive_card() stays and calls the partial; tracking data attributes unchanged.
 * - inc/jm-chrome.php: Reduceri menu item class jm-nav-sale, widget area "Footer bottom" (country switcher), footer bottom
 *   (affiliate disclosure above the copyright, company line from the Customizer), jm_sc_fonts_in_use on (font preload).
 *   inc/jm-flags.php: inline flag SVGs for the country switcher.
 * - Dark overrides for the header, menus, footer and card removed (those read tokens now).
 * - Needs JM SC 1.4.0 for the footer block seed, the newsletter and the country switcher (all inert without it).
 *
 * 3.7.0 (2026-10-20, redesign W1a: foundations, no visual change with the default settings)
 * - assets/css/sc-tokens.css: SCDS design tokens as custom properties (colours, fonts, fluid type, spacing, radius, shadow,
 *   layout), generated from docs/design/scds/tokens.json by bin/build-sc-tokens.php. Loaded on every page.
 * - Fonts: Bodoni Moda and Manrope self-hosted (assets/fonts, OFL licences included, latin + latin-ext, swap) with
 *   size-adjusted fallbacks; Google Fonts CDN as an option (JM Suite -> Design, needs JM SC 1.3.0).
 * - Dark mode (off by default): assets/css/sc-dark.css, head script, [jm_theme_toggle] and template-parts/jm-theme-toggle.php.
 *   rodie is lightened in dark (#E36E86) so rodie on rodie-soft passes 4.5:1 (SCDS has 4.36:1).
 * - inc/jm-design.php reads the settings through jm_sc_design() with safe defaults when JM SC is inactive.
 *
 * Earlier versions: see git history.
 */

/**
 * -------------------------------------------------------------------
 * StylishCircle Custom CSS in theme
 * -------------------------------------------------------------------
 * 
 * Author: J.Mihai
 * Email: mihai_jepan@infobest.ro
 * Version: 1.0.0.
 *
 * -------------------------------------------------------------------
 */


 /* 
  * -------------------------------------------------------------------
  * Attributes listed A to Z and list types for Attributes pages
  * Example the "Marken"
  * -------------------------------------------------------------------
  */
.jm-header-alpha-list {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    font-weight: 300;
    margin-bottom: 10px;
    text-align: center;
}

.jm-header-alpha-list a {
    font-size: 1.75em;
    color: #000000;
    padding-right:10px;
    padding-left: 10px;
    font-weight: 300;
}

.jm-content-brands-list {
    width: 100%; 
    font-weight: 300;
}

.jm-content-brands-list .jm-content-brands-list-heading {
    font-size:2.5em;
    padding-bottom: 3px;
    margin-bottom: 0;
}

.jm-content-brands-list-letter {
    padding-top: 30px;
    padding-bottom:2px !important;   
    border-top: 1px solid #e8e8e8;

}

.jm-content-brands-list ul {
    list-style-type: none;
}

.jm-content-brands-list ul li {
    width: 19%;
    display: inline-block;
    margin:0;
    padding: 0;  
}

/* 
 * -------------------------------------------------------------------
 * Attributes listed A to Z and list types for Attributes pages
 * Example the "Marken"
 * -------------------------------------------------------------------
 */
.widget {
    border: 1px solid #CCCCCC;
    padding: 10px;
    margin-bottom: 1.5em;
}

/*
.widget-area .widget {
     margin-top: -1.5em;
     margin-bottom: -0.2em;
}
*/

.widget-area .widget {
     display: table;
}

.footer-widgets .widget {
    border: 0;
    padding: 5px;
    margin-bottom: 1.5em;
}

.wcva_filter-widget-title {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
}

 /* 
  * -------------------------------------------------------------------
  * Overwrite Select2 Styles - sidebar 
  * -------------------------------------------------------------------
  */
 .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000000 !important;
}

#select2-qdvs-result-ggz0-beige::before {
    content: "";
    background-color: #dbd090;
    border: solid 2px white;
    outline: solid 1px #9C9999;
    width: 32px;
    height: 32px;
    display: inline-block;
}


 /* 
  * -------------------------------------------------------------------
  * Woocommerce Customizations
  * -------------------------------------------------------------------
  */
.woocommerce .price>.amount, .woocommerce .price>ins>.amount {
    color: #f00;
}

.badge-inner.secondary.on-sale {
    background-color: #f00;
    color: #FFFFFF;
}

.badge-inner.secondary.jm-freeshipping {
    background-color: #912eaa;
    color: #FFFFFF;
    font-size: 0.70em;
    text-transform: uppercase;
    font-weight: 200;
    border: 0px solid #FFFFFF;
}

.badge-container {
    margin: 20px 0 0;
}

.badge-frame {
    height: 2em;
    margin-left: 0;
}

.jm-badge-container {
    margin: 75px 0 0;
}

.jm-box-voucher-code {
    width: 100%;
    position: absolute;
    top: 120px;
    left: 0;
}

.jm-box-voucher-code-inner {
    max-width: 50%;
    padding: 5px 10px;
    background: #000000;
    opacity: 0.7;
    font-size: 1em;
    color: #FFFFFF;
    font-weight: 600;
}


/* 
  * -------------------------------------------------------------------
  * Widget Styling Customizations
  * -------------------------------------------------------------------
  */
.widget {
    border: 1px solid #CCCCCC;
    padding: 10px;
    margin-bottom: 1.5em;
}

/*
.widget-area .widget {
     margin-top: -1.5em;
     margin-bottom: -0.2em;
}
*/

.widget-area .widget {
     display: table;
}

.footer-widgets .widget {
    border: 0;
    padding: 5px;
    margin-bottom: 1.5em;
}

.wcva_filter-widget-title {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
}

/*
#nav_menu-7, #nav_menu-6 {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}
*/

.col.large-3 #shop-sidebar .widget.woocommerce.widget_layered_nav.woocommerce-widget-layered-nav {
    max-height: 320px;
}

.col.large-3 #shop-sidebar .widget.woocommerce.widget_layered_nav.woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list {
    height: 250px;
    max-height: 250px;
    overflow-y: scroll;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/*
 * 390 px QA (3.6.5): the footer UX block "jm-bottom-network" nests rows with a -15px margin inside
 * padded columns; they poke 5px past the viewport and give every page a sideways scroll on phones.
 */
.footer-wrapper {
    overflow-x: clip;
}
