@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//hifimarket.ee/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.9") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//hifimarket.ee/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(18,72,52);
	--wd-alternative-color: rgb(200,168,107);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(18,72,52);
	--btn-accented-bgcolor-hover: rgb(14,60,43);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #2E7D32;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(200,168,107);
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://hifimarket.ee/wp-content/uploads/2021/09/electronics-2-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 343px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1600px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(255,255,255);
}

/* =========================================================
   HiFiMarket - GLOBAL ACCENT VARIABLES
   ========================================================= */
:root{
  --hfm-accent: rgb(18, 72, 52);          /* #124834 */
  --hfm-accent-hover: rgb(14, 60, 43);    /* #0E3C2B */
  --hfm-accent-border: rgba(18, 72, 52, .55);
  --hfm-accent-bg: rgba(18, 72, 52, .06);
}

/* =========================================================
   HiFiMarket - Brands tiles (STABLE SIZE, NOT DEPENDENT ON LOGO)
   ========================================================= */

/* 1) Force Elementor wrappers to stretch (key fix) */
:is(.elementor-loop-item, .e-loop-item):has(.hfm-brand-tile-wrap) :is(
  .elementor-widget,
  .elementor-widget-container,
  .elementor-widget-shortcode,
  .elementor-shortcode
){
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  flex: 0 0 100% !important;
  align-self: stretch !important;
}

/* 2) Tile wrapper controls geometry (fixed size) */
.hfm-brand-tile-wrap{
  position: relative;
  overflow: hidden;

  width: 100% !important;
  max-width: 100% !important;
  display: flex;

  aspect-ratio: 4 / 3;
  min-height: 180px;

  border-radius: 14px;
  background: #0b0b0b;

  align-items: center;
  justify-content: center;
}

/* 3) Background image */
.hfm-brand-tile-wrap .hfm-brand-bg{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 1;

  opacity: 0.78;
  filter: grayscale(100%) blur(6px);
  transform: scale(1.06);

  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

/* 4) Overlay */
.hfm-brand-tile-wrap::after{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: rgba(0,0,0,.18);
  transition: background .3s ease;
}

/* 5) Logo */
.hfm-brand-tile-wrap .hfm-brand-logo{
  position: relative;
  z-index: 3;

  display: block;
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;

  opacity: 0.98;
  filter: grayscale(100%);

  background: rgba(255,255,255,.14);
  padding: 10px 14px;
  border-radius: 14px;

  transition: opacity .3s ease, filter .3s ease, transform .3s ease, background .3s ease;
}

/* Fallback name */
.hfm-brand-tile-wrap .hfm-brand-name{
  position: relative;
  z-index: 3;
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
}

/* 6) Overlay link */
.hfm-brand-tile-wrap .hfm-brand-link{
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* 7) Hover */
.hfm-brand-tile-wrap:hover .hfm-brand-bg{
  opacity: 0.92;
  filter: grayscale(0%) blur(0px) !important;
  transform: scale(1.10);
}

.hfm-brand-tile-wrap:hover::after{
  background: rgba(0,0,0,.06);
}

.hfm-brand-tile-wrap:hover .hfm-brand-logo{
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.03);
  background: rgba(255,255,255,.18);
}

/* 8) Mobile */
@media (max-width: 767px){
  .hfm-brand-tile-wrap{
    min-height: 150px;
  }

  .hfm-brand-tile-wrap .hfm-brand-logo{
    max-width: 78%;
    max-height: 78%;
    padding: 8px 10px;
  }
}

/* =========================================================
   HFM: Brand pages - hide global/duplicate header background
   ========================================================= */
body.tax-product_brand :is(
  .header-banner,
  .page-title-bg,
  .page-title-background,
  .page-title-bg-container,
  .title-bg,
  .wd-page-title-bg,
  .wd-page-title .background-image,
  .page-title img,
  .page-title-wrapper img,
  .title-wrapper img
){
  display: none !important;
}

/* =========================================================
   HFM - Brand page: TOP vs BOTTOM description styling
   ========================================================= */

/* Make TOP/BOTTOM description match 1600px site width */
body.tax-product_brand :is(
  .term-description.hfm-brand-desc-top,
  .term-description.hfm-brand-desc-bottom
){
  max-width: 1600px !important;
  width: min(1600px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;

  font-size: 16px;
  line-height: 1.6;
}

body.tax-product_brand .term-description.hfm-brand-desc-top{
  margin-bottom: 18px !important;
}

body.tax-product_brand .term-description.hfm-brand-desc-bottom{
  margin-top: 26px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.12);
  opacity: 0.96;
}

body.tax-product_brand .term-description :is(
  blockquote,
  blockquote p,
  blockquote a
){
  font-size: inherit !important;
  line-height: inherit !important;
}

/* =========================================================
   HFM - FAQ + FULL-WIDTH SECTIONS
   Product categories + Main / Contact / Brands pages
   ========================================================= */

/* Shared scope for FAQ typography and grid */
:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope{
  color:#fff;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope h2{
  color:#fff !important;
  margin:0 0 18px 0;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope .hfm-faq-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:18px;
}

@media (max-width:1024px){
  :is(
    body.tax-product_cat,
    body.home,
    body.front-page,
    body.page-id-4439,
    body.page-id-42645,
    body.page-id-48025,
    body.page-id-48193,
    body.page-id-34772,
    body.page-id-34779
  ) .hfm-faq-scope .hfm-faq-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:767px){
  :is(
    body.tax-product_cat,
    body.home,
    body.front-page,
    body.page-id-4439,
    body.page-id-42645,
    body.page-id-48025,
    body.page-id-48193,
    body.page-id-34772,
    body.page-id-34779
  ) .hfm-faq-scope .hfm-faq-grid{
    grid-template-columns:1fr;
  }
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope .hfm-faq-card{
  position:relative;
  padding:6px 0 6px 18px;
  background:transparent;
  border:0;
  border-radius:0;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope .hfm-faq-card::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  height:80px;
  width:2px;
  background:var(--hfm-accent, rgb(67,176,42));
  border-radius:2px;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope .hfm-faq-q{
  margin:0 0 8px 0;
  font-weight:700;
  color:#fff !important;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope .hfm-faq-a{
  margin:0;
  opacity:.92;
  color:#fff !important;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope :is(a, a:visited){
  color:rgba(255,255,255,.85) !important;
  text-decoration:none !important;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-scope a:hover{
  color:#fff !important;
  text-decoration:none !important;
}

/* Shared full-width behavior */
:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-fw{
  display:block !important;
  width:100vw !important;
  max-width:100vw !important;
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-fw__inner{
  max-width:1600px !important;
  margin:0 auto !important;
  padding:44px 20px var(--hfm-pad-b, 44px) !important;
  box-sizing:border-box !important;
}

/* How-to background is used on product categories */
body.tax-product_cat .hfm-howto-fw{
  background:rgba(0,0,0,.045) !important;
}

/* Shared FAQ photo background */
:is(
  body.tax-product_cat,
  body.home,
  body.front-page,
  body.page-id-4439,
  body.page-id-42645,
  body.page-id-48025,
  body.page-id-48193,
  body.page-id-34772,
  body.page-id-34779
) .hfm-faq-fw{
  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("https://hifimarket.ee/wp-content/uploads/2026/02/image.png") !important;
  background-size:cover !important;
  background-position:50% 50% !important;
  background-repeat:no-repeat !important;
  color:#fff !important;
}

/* Product-category FAQ keeps its slightly larger heading gap */
body.tax-product_cat .hfm-faq-fw h2{
  margin:0 0 22px 0 !important;
}

/* =========================================================
   HFM - Main Page: Why Hi-Fi Market (MONO card)
   Container class: .hfm-main-why
   NOTE: H2 is DEFAULT THEME (no overrides)
   ========================================================= */
:is(body.home, body.front-page) .hfm-main-why{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;

  background: rgba(0,0,0,.015) !important;
  border: 0 !important;

  padding: 26px !important;
  margin: 22px 0 !important;
  box-sizing: border-box !important;

  box-shadow:
    0 1px 0 rgba(0,0,0,.03),
    6px 6px 5px -8px rgba(0,0,0,.22);
}

:is(body.home, body.front-page) .hfm-main-why p{
  margin: 0 0 14px 0 !important;
  opacity: .92;
}

:is(body.home, body.front-page) .hfm-main-why ul{
  margin: 0 !important;
  padding-left: 20px !important;
  list-style: disc !important;
}

:is(body.home, body.front-page) .hfm-main-why li{
  margin: 10px 0 !important;
  line-height: 1.55 !important;
  opacity: .95;
}

:is(body.home, body.front-page) .hfm-main-why li::marker{
  color: rgba(0,0,0,.35) !important;
}

@media (max-width: 767px){
  :is(body.home, body.front-page) .hfm-main-why{
    padding: 20px 18px !important;
    margin: 18px 0 !important;
  }
}

/* =========================================================
   HFM - Main Page: Start Here (2x2 grid, green micro-accents)
   Container class: .hfm-main-start
   ========================================================= */
:is(body.home, body.front-page) .hfm-main-start{
  border: 0 !important;
  box-shadow: none !important;
  margin: 18px 0 !important;
}

/* Title: CAPS + underline (tight + close) */
:is(body.home, body.front-page) .hfm-main-start :is(h2, .elementor-heading-title){
  display: inline-block !important;
  margin: 0 0 10px 0 !important;

  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.1 !important;

  padding-bottom: 2px !important;
  border-bottom: 2px solid var(--hfm-accent, rgb(67,176,42)) !important;
}

/* Kill any foreign heading decorations inside Start Here */
:is(body.home, body.front-page) .hfm-main-start :is(h2, .elementor-heading-title)::before,
:is(body.home, body.front-page) .hfm-main-start :is(h2, .elementor-heading-title)::after{
  content: none !important;
  display: none !important;
}

:is(body.home, body.front-page) .hfm-main-start :is(
  .elementor-divider,
  .elementor-divider-separator
){
  display: none !important;
}

/* Intro */
:is(body.home, body.front-page) .hfm-main-start .hfm-start-intro{
  margin: 0 0 14px 0 !important;
  opacity: .78;
  line-height: 1.6 !important;
}

/* Grid 2x2 */
:is(body.home, body.front-page) .hfm-main-start .hfm-start-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 28px !important;
}

:is(body.home, body.front-page) .hfm-main-start .hfm-start-item{
  margin: 0 !important;
}

/* Item title (no markers/dashes) */
:is(body.home, body.front-page) .hfm-main-start .hfm-start-item .hfm-start-title{
  margin: 0 0 8px 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  padding-left: 0 !important;
  position: static !important;
}

:is(body.home, body.front-page) .hfm-main-start .hfm-start-item .hfm-start-title::before,
:is(body.home, body.front-page) .hfm-main-start .hfm-start-item .hfm-start-title::after{
  content: none !important;
  display: none !important;
}

/* Text */
:is(body.home, body.front-page) .hfm-main-start .hfm-start-item p{
  margin: 0 !important;
  line-height: 1.65 !important;
  opacity: .88;
}

/* Links */
:is(body.home, body.front-page) .hfm-main-start :is(a, a:visited){
  color: var(--hfm-accent, rgb(67,176,42)) !important;
  text-decoration: none !important;
}

:is(body.home, body.front-page) .hfm-main-start a:hover{
  color: var(--hfm-accent-hover, rgb(64,160,47)) !important;
  text-decoration: none !important;
}

@media (max-width: 767px){
  :is(body.home, body.front-page) .hfm-main-start .hfm-start-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* =========================================================
   HFM - Main Page: Local in Tallinn
   Badge "Tabasalu showroom" + green contact link (no underline)
   ========================================================= */

/* Badge */
:is(body.home, body.front-page) .hfm-main-local a.hfm-local-badge{
  display: inline-block !important;
  background: var(--hfm-accent, rgb(67,176,42)) !important;

  padding: 6px 10px !important;
  border-radius: 0 !important;

  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .00em !important;
  font-weight: 700 !important;
  font-size: 12px !important;

  text-decoration: none !important;
  vertical-align: baseline !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;

  mix-blend-mode: normal !important;
  filter: none !important;
}

:is(body.home, body.front-page) .hfm-main-local a.hfm-local-badge:hover{
  background: var(--hfm-accent-hover, rgb(64,160,47)) !important;
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

/* Local links (except badge) */
:is(body.home, body.front-page) .hfm-main-local :is(
  a:not(.hfm-local-badge),
  a:visited:not(.hfm-local-badge)
){
  color: var(--hfm-accent, rgb(67,176,42)) !important;
  text-decoration: none !important;
}

:is(body.home, body.front-page) .hfm-main-local a:not(.hfm-local-badge):hover{
  color: var(--hfm-accent-hover, rgb(64,160,47)) !important;
  text-decoration: none !important;
}

/* =========================================================
   HFM - Blog cards
   Hide author/share/comments meta row; keep date + category badge
   Works on Main Page and Blog archive
   ========================================================= */
.blog-post-loop .wd-post-meta{
  display: none !important;
}

/* =========================================================
   HFM Footer: collage background + premium grid
   ========================================================= */
.hfm-footer{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-family: inherit;
}

/* Background collage (1-2-3 as user provided) */
.hfm-footer__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
}

.hfm-footer__tile{
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(.92) contrast(1.03);
}

.hfm-footer__tile--1{
  background-image: url("https://hifimarket.ee/wp-content/uploads/2026/02/hfm-footer-1.jpg");
}

.hfm-footer__tile--2{
  background-image: url("https://hifimarket.ee/wp-content/uploads/2026/02/hfm-footer-2.jpg");
}

.hfm-footer__tile--3{
  background-image: url("https://hifimarket.ee/wp-content/uploads/2026/02/hfm-footer-3.jpg");
}

/* Overlay for readability */
.hfm-footer__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      1100px 600px at 20% 10%,
      rgba(0,0,0,.22),
      rgba(0,0,0,0)
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.70),
      rgba(0,0,0,.76)
    );

  pointer-events: none;
}

/* Content wrapper */
.hfm-footer__inner{
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 26px;
}

/* 3 columns */
.hfm-footer__grid{
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.9fr;
  gap: 36px;
  align-items: start;
}

/* Brand (logo-text) */
.hfm-footer__brand{
  font-family: "Poppins", sans-serif !important;
  font-size: 56px;
  font-weight: 700 !important;
  font-style: normal !important;

  letter-spacing: -0.04em !important;

  line-height: 1.05;
  margin: 0 0 18px;
}

/* Column titles */
.hfm-footer__title{
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .92;
}

/* Rows */
.hfm-footer__row{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
}

.hfm-footer__label{
  opacity: .72;
  font-weight: 500;
}

.hfm-footer__text{
  font-size: 14px;
  line-height: 1.7;
  opacity: .92;
}

/* Links */
.hfm-footer__link{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: opacity .2s ease;
}

.hfm-footer__link:hover{
  opacity: 1;
}

/* Legal list */
.hfm-footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

/* Bottom bar */
.hfm-footer__bottom{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  opacity: .78;
}

/* Responsive */
@media (max-width: 1024px){
  .hfm-footer__inner{
    width: min(980px, calc(100% - 40px));
    padding: 56px 0 22px;
  }

  .hfm-footer__grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hfm-footer__bg{
    grid-template-columns: 1fr 1fr;
  }

  .hfm-footer__tile--3{
    display: none;
  }
}

@media (max-width: 640px){
  .hfm-footer__inner{
    width: calc(100% - 32px);
    padding: 44px 0 18px;
  }

  .hfm-footer__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hfm-footer__brand{
    font-size: 36px;
    letter-spacing: -0.035em !important;
  }

  .hfm-footer__row{
    grid-template-columns: 58px 1fr;
  }

  .hfm-footer__bg{
    grid-template-columns: 1fr;
  }

  .hfm-footer__tile--1{
    display: none;
  }

  .hfm-footer__tile--3{
    display: none;
  }

  .hfm-footer__bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Make (R) smaller and lighter-looking */
.hfm-footer__reg{
  display: inline-block;
  font-size: 0.40em;
  font-weight: 400;
  line-height: 1;
  vertical-align: super;
  margin-left: 0.18em;
  opacity: 1;
}

/* Footer: align column headers by bottom line */
.hfm-footer__col{
  display: grid;
  grid-template-rows: 72px 1fr;
}

.hfm-footer__brand,
.hfm-footer__title{
  align-self: end;
}

.hfm-footer__brand{
  margin: 0;
}

.hfm-footer__title{
  margin: 0;
}

.hfm-footer__col > :nth-child(2){
  margin-top: 18px;
}

/* Mobile: smaller header row */
@media (max-width: 640px){
  .hfm-footer__col{
    grid-template-rows: 52px 1fr;
  }

  .hfm-footer__col > :nth-child(2){
    margin-top: 14px;
  }
}

/* Footer grid: distribute columns across full width */
.hfm-footer__grid > :nth-child(1){
  justify-self: start;
}

.hfm-footer__grid > :nth-child(2){
  justify-self: center;
}

.hfm-footer__grid > :nth-child(3){
  justify-self: end;
}

/* Fix mobile staircase: force all columns left in 1-column layout */
@media (max-width: 640px){
  .hfm-footer__grid > :nth-child(1),
  .hfm-footer__grid > :nth-child(2),
  .hfm-footer__grid > :nth-child(3){
    justify-self: start !important;
  }

  .hfm-footer__col{
    text-align: left;
  }
}

.hfm-footer__stack{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

/* =========================================================
   HFM - Header text logo (match footer brand styling)
   ========================================================= */
.hfm-header__brand{
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;

  text-decoration: none !important;
  border-bottom: none !important;
  color: var(--hfm-accent-hover) !important;

  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

/* (R) - same idea as footer, with stable positioning in inline-flex */
.hfm-header__brand .hfm-logo__reg{
  display: inline-block;
  font-size: 0.40em;
  font-weight: 400;
  line-height: 1;
  margin-left: 0.18em;
  opacity: 1;

  transform: translateY(-0.9em);
}

/* Sizes for header */
.hfm-header__brand{
  font-size: 56px;
}

@media (max-width: 1024px){
  .hfm-header__brand{
    font-size: 46px;
  }
}

@media (max-width: 767px){
  .hfm-header__brand{
    font-size: 36px;
    letter-spacing: -0.035em !important;
  }
}

/* =========================================================
   HFM - Demo badge
   Uses theme accent variables
   ========================================================= */
.hfm-demo-badge{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: var(--hfm-accent, #124834);
  color: #fff;

  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.1;

  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;

  z-index: 50;
  pointer-events: none;

  border-radius: 0;
}

/* Make sure the image area is the positioning context */
.product-element-top,
.wd-product-thumb,
.product-image,
.product-wrapper{
  position: relative;
}

/* Single product placement (under/near gallery) */
.hfm-demo-badge--single{
  position: relative;
  display: block;
  margin: 10px 0 12px;
  z-index: 2;
}

/* Mobile: smaller text so it fits nicely */
@media (max-width: 768px){
  .hfm-demo-badge{
    font-size: 11px;
    padding: 7px 8px;
    letter-spacing: .08em;
  }
}

/* =========================================================
   HFM - FIX PRODUCT TILE HEIGHT (NO CROP, ALWAYS SQUARE)
   Works for Shop, category archives, and Woodmart carousels.
   ========================================================= */

/* 1) Make the image area strictly square */
.woocommerce ul.products li.product .product-element-top,
.wd-products .product-element-top,
.wd-product .product-element-top,
.elementor-widget-wd_products .product-element-top,
.elementor-widget-wd_products_tabs .product-element-top,
.elementor-widget-wd_products_carousel .product-element-top{
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

/* 2) Ensure the image link fills the square */
.woocommerce ul.products li.product .product-element-top a,
.wd-products .product-element-top a,
.wd-product .product-element-top a{
  display: block;
  height: 100%;
}

/* 3) Make BOTH images (normal + hover) fit inside the square without cropping */
.woocommerce ul.products li.product .product-element-top img,
.wd-products .product-element-top img,
.wd-product .product-element-top img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Recently Listed - DO NOT touch carousel layout */
.hfm-recently-listed,
.hfm-recently-listed .woocommerce,
.hfm-recently-listed .products,
.hfm-recently-listed ul.products,
.hfm-recently-listed .owl-carousel,
.hfm-recently-listed .owl-stage-outer{
  width: 100% !important;
  max-width: 100% !important;
}

/* Important: do NOT force flex/grid on products inside this block */
.hfm-recently-listed ul.products{
  display: block !important;
}

/* =========================================================
   HFM - Recent posts widget: hide comments count
   ========================================================= */
.woodmart-recent-posts .recent-posts-comment{
  display: none !important;
}

/* =========================================================
   HFM - Footer tablet layout
   Align the 3rd column with the left column
   ========================================================= */
@media (min-width: 641px) and (max-width: 1024px){
  .hfm-footer__grid > :nth-child(3){
    grid-column: 1 !important;
    justify-self: start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* =========================================================
   HFM - Single blog post: hide author
   ========================================================= */
.single-post .wd-post-meta .wd-post-author{
  display: none !important;
}