/*
Theme Name:        Flairedrip
Theme URI:         https://flairedrip.com/
Description:       Street-luxury WooCommerce theme in the Impulse style. Own header with live search, cart drawer and mobile menu, hero slideshow, category tiles, reviews carousel, image-with-text, shop filter drawer, product page with size buttons, sales points and collapsible info. Everything is editable in Appearance → Customize → Flairedrip Theme.
Author:            Flairedrip
Version:           4.2.1
Requires at least: 6.4
Tested up to:      6.8
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       flairedrip
Tags:              e-commerce, woocommerce, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   1. TOKENS  (colours/sizes are overridden from the Customizer — see functions.php)
   ========================================================================== */
:root {
  --fd-text: #000;
  --fd-bg: #fff;
  --fd-btn: #000;
  --fd-btn-text: #fff;
  --fd-save: #c20000;
  --fd-sale-tag: #000;
  --fd-dot-color: #ff4f33;
  --fd-line: #e8e8e1;
  --fd-soft: #f9f9f9;
  --fd-footer: #fff;
  --fd-footer-text: #000;
  --fd-ok: #2a8a3e;
  --fd-radius: 0px;
  --fd-card-ratio: 75%;
  --fd-card-fit: cover;
  --fd-logo-w: 120px;
  --fd-logo-w-m: 110px;
  --fd-slide-h: 750px;
  --fd-slide-h-m: 600px;
  --fd-slide-dim: .25;

  --fd-head: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
  --fd-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --fd-track: .2em;        /* nav, labels, buttons */
  --fd-page: 1500px;
  --fd-gutter: 40px;
  --fd-header-h: 100px;
  --fd-ease: cubic-bezier(.165, .84, .44, 1);
  --fd-drawer-w: 420px;

}
@media (max-width: 849px) {
  :root { --fd-gutter: 17px; --fd-header-h: 64px; }
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
img { border: 0; vertical-align: middle; }
figure { margin: 0 0 1.5em; }
hr { border: 0; border-top: 1px solid var(--fd-line); margin: 2em 0; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li > ul, li > ol { margin-bottom: 0; }
dl { margin: 0 0 1.2em; }
dt { font-weight: 600; }
dd { margin: 0 0 .8em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0 0 1.5em; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--fd-line); vertical-align: middle; }
th { font-weight: 600; }
blockquote { margin: 0 0 1.5em; padding: 0 0 0 1.2em; border-left: 2px solid var(--fd-text); }
code, kbd, pre, samp { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
pre { overflow: auto; padding: 1em; background: var(--fd-soft); }
small { font-size: 85%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
label { display: inline-block; margin-bottom: 6px; font-weight: 400; }
fieldset { border: 1px solid var(--fd-line); margin: 0 0 1.5em; padding: 1em 1.2em; }
legend { padding: 0 .4em; font-weight: 600; }
.fd-theme input[type="checkbox"]:not([class*="wc-block"]), .fd-theme input[type="radio"]:not([class*="wc-block"]) { width: auto; min-height: 0; accent-color: var(--fd-text); margin: 0 6px 0 0; vertical-align: middle; }
.fd-theme textarea { width: 100%; padding: 10px 12px; min-height: 120px; }
.fd-theme input[type="text"], .fd-theme input[type="email"], .fd-theme input[type="tel"], .fd-theme input[type="password"],
.fd-theme input[type="search"], .fd-theme input[type="number"], .fd-theme input[type="url"], .fd-theme input[type="date"], .fd-theme select { padding: 8px 12px; max-width: 100%; }
.fd-theme select { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; }

/* WordPress core classes */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #000; display: block; font-size: 14px; height: auto; left: 8px; top: 8px; padding: 12px 18px; width: auto; z-index: 100000; }
.skip-link:focus { position: fixed !important; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 14px; color: #6f6f6f; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(var(--fd-gal, 3), 1fr); gap: 12px; margin-bottom: 1.5em; }
.gallery-columns-2 { --fd-gal: 2; } .gallery-columns-4 { --fd-gal: 4; } .gallery-columns-5 { --fd-gal: 5; }
.gallery-item { margin: 0; }
.sticky, .bypostauthor { display: block; }
body.fd-theme {
  font-family: var(--fd-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: .025em;
  color: var(--fd-text);
  background: var(--fd-bg);
}
.fd-theme #wrapper, .fd-theme #main { background: var(--fd-bg); }
.fd-theme b, .fd-theme strong { font-weight: 600; }
.fd-theme h1, .fd-theme h2, .fd-theme h3, .fd-theme h4, .fd-theme h5, .fd-theme h6,
.fd-theme .h1, .fd-theme .h2, .fd-theme .h3, .fd-theme .heading-font,
.fd-theme .product_title, .fd-theme .section-title, .fd-theme .entry-title, .fd-theme .page-title {
  font-family: var(--fd-head);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--fd-text);
}
.fd-theme h1, .fd-theme .h1 { font-size: 36px; }
.fd-theme h2, .fd-theme .h2 { font-size: 30px; }
.fd-theme h3, .fd-theme .h3 { font-size: 24px; }
.fd-theme h4 { font-size: 18px; }
.fd-theme p, .fd-theme li, .fd-theme td, .fd-theme th, .fd-theme label,
.fd-theme input, .fd-theme select, .fd-theme textarea, .fd-theme button, .fd-theme .button { font-family: var(--fd-body); }
.fd-theme a { color: var(--fd-text); }
.fd-theme a:hover { color: var(--fd-text); }
.fd-theme ::selection { background: var(--fd-text); color: var(--fd-bg); }
.fd-wrap { max-width: var(--fd-page); margin: 0 auto; padding: 0 var(--fd-gutter); }
.fd-icon { width: 24px; height: 24px; display: block; flex: 0 0 auto; }
.fd-theme .screen-reader-text:focus { clip: auto !important; }
@media (max-width: 849px) {
  body.fd-theme { font-size: 16px; }
  .fd-theme h1, .fd-theme .h1 { font-size: 28px; }
  .fd-theme h2, .fd-theme .h2 { font-size: 24px; }
  .fd-hide-mobile { display: none !important; }
}

/* ==========================================================================
   3. BUTTONS (Impulse-style; "angled" gets slanted ends)
   ========================================================================== */
.fd-btn,
.fd-theme .button.primary, .fd-theme .button.alt, .fd-theme .single_add_to_cart_button,
.fd-theme .checkout-button, .fd-theme #place_order, .fd-theme button[type="submit"].button,
.fd-theme input[type="submit"].button, .fd-theme .woocommerce-Button, .fd-theme .return-to-shop .button {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  min-height: 46px; margin: 0; padding: 11px 22px !important;
  background: var(--fd-btn) !important; color: var(--fd-btn-text) !important; border: 0 !important;
  border-radius: var(--fd-radius) !important; box-shadow: none !important;
  font-family: var(--fd-body) !important; font-size: 14px !important; font-weight: 700 !important;
  line-height: 1.42 !important; letter-spacing: .3em !important; text-transform: uppercase !important;
  text-decoration: none !important; text-align: center; white-space: normal; cursor: pointer;
  transition: opacity .2s ease;
}
.fd-btn:hover, .fd-theme .button.primary:hover, .fd-theme .single_add_to_cart_button:hover,
.fd-theme .checkout-button:hover, .fd-theme #place_order:hover { opacity: .88; color: var(--fd-btn-text) !important; }
.fd-btn--full { width: 100%; }
.fd-btn--inverse { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px #fff !important; }
.fd-btn--inverse:hover { background: #fff !important; color: #000 !important; opacity: 1; }
.fd-theme .single_add_to_cart_button.disabled, .fd-theme .single_add_to_cart_button:disabled { opacity: .5 !important; cursor: not-allowed; }
.fd-theme .single_add_to_cart_button.loading { opacity: .6 !important; pointer-events: none; }

/* Angled ends */
.fd-btn-angled .fd-btn:not(.fd-btn--inverse),
.fd-btn-angled .single_add_to_cart_button, .fd-btn-angled .checkout-button, .fd-btn-angled #place_order {
  margin-left: 10px; margin-right: 10px;
}
.fd-btn-angled .fd-btn:not(.fd-btn--inverse)::before, .fd-btn-angled .fd-btn:not(.fd-btn--inverse)::after,
.fd-btn-angled .single_add_to_cart_button::before, .fd-btn-angled .single_add_to_cart_button::after,
.fd-btn-angled .checkout-button::before, .fd-btn-angled .checkout-button::after,
.fd-btn-angled #place_order::before, .fd-btn-angled #place_order::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 20px; background: inherit; transform: skewX(-12deg); z-index: -1;
}
.fd-btn-angled .fd-btn:not(.fd-btn--inverse)::before, .fd-btn-angled .single_add_to_cart_button::before,
.fd-btn-angled .checkout-button::before, .fd-btn-angled #place_order::before { left: -6px; }
.fd-btn-angled .fd-btn:not(.fd-btn--inverse)::after, .fd-btn-angled .single_add_to_cart_button::after,
.fd-btn-angled .checkout-button::after, .fd-btn-angled #place_order::after { right: -6px; }
.fd-btn-angled .fd-btn, .fd-btn-angled .single_add_to_cart_button, .fd-btn-angled .checkout-button, .fd-btn-angled #place_order { isolation: isolate; }
.fd-btn-angled .fd-btn--full, .fd-btn-angled form.cart .single_add_to_cart_button { width: calc(100% - 20px); }

/* Secondary / outline buttons */
.fd-theme .button:not(.primary):not(.alt):not(.single_add_to_cart_button):not(.checkout-button):not(.icon) {
  border-radius: var(--fd-radius) !important; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; font-size: 13px;
}

/* Inputs */
.fd-theme input[type="text"], .fd-theme input[type="email"], .fd-theme input[type="tel"], .fd-theme input[type="password"],
.fd-theme input[type="search"], .fd-theme input[type="number"], .fd-theme select, .fd-theme textarea {
  border: 1px solid var(--fd-line); border-radius: 0; box-shadow: none; background-color: #fff;
  font-size: 16px; font-weight: 400; color: var(--fd-text); min-height: 44px; letter-spacing: .01em;
}
.fd-theme input:focus, .fd-theme select:focus, .fd-theme textarea:focus { border-color: var(--fd-text); box-shadow: none; outline: 0; }

/* Shared icon button */
.fd-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; background: none !important;
  color: var(--fd-text) !important; cursor: pointer; line-height: 0; box-shadow: none !important;
}
.fd-icon-btn .fd-icon { width: 26px; height: 26px; }
.fd-icon-btn:hover { opacity: .7; }
.fd-icon-btn:focus-visible, .fd-btn:focus-visible { outline: 2px solid var(--fd-text); outline-offset: 2px; }

/* ==========================================================================
   COMPONENT RESETS — keep plugin/browser button and blockquote styles from
   changing the shape of our dots, icon buttons and review cards.
   ========================================================================== */
.fd-theme .fd-icon-btn, .fd-theme .fd-dots button, .fd-theme .fd-testi__dots button,
.fd-theme .fd-announce__arrow, .fd-theme .fd-slideshow__pause, .fd-theme .fd-qty__btn,
.fd-theme .fd-news button, .fd-theme .fd-mnav__toggle, .fd-theme .fd-swatch, .fd-theme .fd-testi__nav button {
  margin: 0 !important; min-height: 0 !important; max-width: none; box-shadow: none !important; text-shadow: none;
  text-transform: none; letter-spacing: 0; font-weight: 400; vertical-align: middle; line-height: 1;
}
.fd-theme .fd-icon-btn, .fd-theme .fd-dots button, .fd-theme .fd-testi__dots button,
.fd-theme .fd-announce__arrow, .fd-theme .fd-slideshow__pause, .fd-theme .fd-qty__btn,
.fd-theme .fd-news button, .fd-theme .fd-mnav__toggle, .fd-theme .fd-testi__nav button { padding: 0 !important; }
.fd-theme .fd-dots button, .fd-theme .fd-testi__dots button {
  display: block !important; flex: 0 0 auto !important; width: 8px !important; height: 8px !important; min-width: 0 !important;
  border: 0 !important; border-radius: 50% !important; font-size: 0 !important; line-height: 0 !important;
}
.fd-theme .fd-dots button { width: 10px !important; height: 10px !important; }
.fd-theme .fd-swatch { padding: 0 15px !important; letter-spacing: .025em; }
.fd-theme blockquote.fd-testi__card, .fd-theme .fd-testi__card * { font-style: normal !important; }
.fd-theme blockquote.fd-testi__card { border-left: 0 !important; margin: 0 !important; font-size: inherit; }
.fd-theme .fd-icon { font-style: normal; transform: none; }

/* ==========================================================================
   4. ANNOUNCEMENT BAR
   ========================================================================== */
.fd-announce { background: #000; color: #fff; font-size: 15px; font-weight: 300; text-align: center; position: relative; }
.fd-announce a { color: #fff !important; }
.fd-announce a:hover { text-decoration: underline; }
.fd-announce__inner { position: relative; max-width: var(--fd-page); margin: 0 auto; padding: 0 var(--fd-gutter); }
.fd-announce__track { position: relative; height: 41px; overflow: hidden; }
.fd-announce__item {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 40px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateX(30px); transition: opacity .5s var(--fd-ease), transform .5s var(--fd-ease);
}
.fd-announce__item.is-active { opacity: 1; transform: none; }
.fd-announce__item.is-leaving { opacity: 0; transform: translateX(-30px); }
.fd-announce__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none !important; border: 0;
  color: #fff; margin: 0; padding: 6px; min-height: 0; line-height: 0; cursor: pointer; opacity: .75;
}
.fd-announce__arrow:hover { opacity: 1; }
.fd-announce__arrow .fd-icon { width: 14px; height: 14px; }
.fd-announce__arrow--prev { left: calc(var(--fd-gutter) - 6px); }
.fd-announce__arrow--next { right: calc(var(--fd-gutter) - 6px); }
@media (max-width: 549px) { .fd-announce { font-size: 13px; } .fd-announce__item { padding: 0 26px; } }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.fd-header-wrap { position: relative; z-index: 40; background: #fff; }
.fd-sticky .fd-header-wrap { position: sticky; top: 0; }
.admin-bar.fd-sticky .fd-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar.fd-sticky .fd-header-wrap { top: 0; } }
.fd-header { position: relative; background: #fff; transition: box-shadow .3s; }
.fd-header-wrap.is-stuck .fd-header { box-shadow: 0 1px 0 var(--fd-line); }
.fd-header__inner {
  max-width: var(--fd-page); margin: 0 auto; padding: 0 var(--fd-gutter);
  min-height: var(--fd-header-h); padding-top: 10px; padding-bottom: 10px; display: grid; align-items: center; column-gap: 20px;
  grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav icons";
  transition: height .3s var(--fd-ease);
}
.fd-header-wrap.is-stuck .fd-header__inner { min-height: 74px; padding-top: 6px; padding-bottom: 6px; }
.fd-header__mobile-left { grid-area: mleft; display: none; align-items: center; }
.fd-logo { grid-area: logo; margin: 0; line-height: 1; font-size: inherit; }
.fd-logo__link { display: inline-block; color: var(--fd-text) !important; text-decoration: none; }
.fd-logo__img { display: block; width: auto !important; height: auto !important; max-width: min(var(--fd-logo-w), 100%) !important; max-height: var(--fd-logo-h) !important; margin: 0 auto; object-fit: contain; transition: max-height .3s var(--fd-ease); }
.fd-header-wrap.is-stuck .fd-logo__img { max-height: min(var(--fd-logo-h), 60px) !important; }
.fd-header__mobile-left, .fd-header__icons, .fd-logo, .fd-nav { align-self: center; }
.fd-header .fd-icon-btn { margin: 0 !important; }
.fd-logo__text { font-family: var(--fd-head); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.fd-nav { grid-area: nav; min-width: 0; }
.fd-header__icons { grid-area: icons; display: flex; align-items: center; justify-content: flex-end; gap: 0; margin-right: -10px; }

/* Layout variants */
.fd-header-left-center .fd-nav__list { justify-content: center; }
.fd-header-left .fd-nav__list { justify-content: flex-start; }
@media (min-width: 850px) {
  .fd-header-center .fd-header__inner {
    grid-template-columns: 1fr auto 1fr; grid-template-areas: "sleft logo icons" "nav nav nav"; padding-top: 20px; padding-bottom: 0;
  }
  .fd-header-center .fd-logo { text-align: center; }
  .fd-header-center .fd-nav__list { justify-content: center; padding: 14px 0 10px; }
  .fd-header-center .fd-header-wrap.is-stuck .fd-header__inner { padding-top: 6px; }
}

/* Desktop nav */
.fd-nav__list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.fd-nav__list > li { position: relative; margin: 0; list-style: none; }
.fd-nav__list > li > a {
  display: block; padding: 7.5px 15px; font-size: 16px; font-weight: 300; letter-spacing: var(--fd-track);
  text-transform: uppercase; color: var(--fd-text) !important; text-decoration: none; position: relative; white-space: nowrap;
}
.fd-nav__list > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--fd-ease);
}
.fd-nav__list > li:hover > a::after, .fd-nav__list > li:focus-within > a::after,
.fd-nav__list > li.current-menu-item > a::after, .fd-nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.fd-nav__list > li.menu-item-has-children > a { padding-right: 28px; }
.fd-nav__list > li.menu-item-has-children > a::before {
  content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.fd-nav__list .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 220px; margin: 0; padding: 18px 0; list-style: none;
  background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.09); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; z-index: 10;
}
.fd-nav__list li:hover > .sub-menu, .fd-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fd-nav__list .sub-menu li { position: relative; margin: 0; list-style: none; }
.fd-nav__list .sub-menu a { display: block; padding: 6px 25px; font-size: 16px; color: var(--fd-text) !important; text-decoration: none; white-space: nowrap; }
.fd-nav__list .sub-menu a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fd-nav__list .sub-menu .sub-menu { left: 100%; top: -18px; }

/* Cart dot */
.fd-cart-link { position: relative; }
.fd-cart-count {
  position: absolute; top: 9px; right: 7px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--fd-dot-color); box-shadow: 0 0 0 2px #fff; pointer-events: none; transition: transform .3s var(--fd-ease);
}
.fd-cart-count[data-count="0"] { transform: scale(0); }
.fd-cart-link.is-bump .fd-cart-count { animation: fdBump .5s var(--fd-ease); }
@keyframes fdBump { 40% { transform: scale(1.6); } }

/* Mobile header */
@media (max-width: 849px) {
  .fd-header__inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "mleft logo icons"; column-gap: 8px; }
  .fd-header__mobile-left { display: flex; margin-left: -10px; }
  .fd-nav { display: none; }
  .fd-logo { text-align: center; }
  .fd-logo__img { max-width: min(var(--fd-logo-w-m), 100%) !important; max-height: var(--fd-logo-h-m) !important; }
  .fd-header-wrap.is-stuck .fd-logo__img { max-height: min(var(--fd-logo-h-m), 44px) !important; }
  .fd-header__inner { padding-top: 6px; padding-bottom: 6px; }
  .fd-logo__text { font-size: 24px; }
  .fd-header-wrap.is-stuck .fd-header__inner { min-height: 56px; padding-top: 4px; padding-bottom: 4px; }
}

/* ==========================================================================
   6. SEARCH (opens over the header, Impulse style)
   ========================================================================== */
.fd-search {
  position: absolute; left: 0; right: 0; top: 0; min-height: 100%; background: #fff; z-index: 5;
  display: flex; flex-direction: column; opacity: 0; transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease;
}
.fd-search[hidden] { display: none; }
.fd-search.is-open { opacity: 1; transform: none; }
.fd-search__form {
  max-width: var(--fd-page); width: 100%; margin: 0 auto; padding: 0 calc(var(--fd-gutter) - 10px);
  height: var(--fd-header-h); display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--fd-line);
}
.fd-search { bottom: 0; }
.fd-search__form { min-height: 100%; }
.fd-header-wrap.is-stuck .fd-search__form { height: auto; }
.fd-theme .fd-search__input {
  flex: 1 1 auto; width: auto !important; min-width: 0; border: 0 !important; min-height: 44px; padding: 0 8px !important; margin: 0 !important; background: transparent !important;
  font-family: var(--fd-head) !important; font-size: 26px !important; text-transform: uppercase; letter-spacing: 0; box-shadow: none !important;
}
.fd-search__input::placeholder { color: #9a9a9a; }
.fd-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fd-search__results { max-width: var(--fd-page); width: 100%; margin: 0 auto; padding: 0 var(--fd-gutter); background: #fff; }
.fd-search__results:empty { display: none; }
.fd-sr { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 26px 0 10px; }
.fd-sr__item { display: block; color: var(--fd-text) !important; text-decoration: none; }
.fd-sr__img { aspect-ratio: 1; background: var(--fd-soft); margin-bottom: 8px; overflow: hidden; }
.fd-sr__img img { width: 100%; height: 100%; object-fit: cover; }
.fd-sr__name { font-size: 14px; letter-spacing: .15em; text-transform: uppercase; line-height: 1.35; }
.fd-sr__price { font-size: 14px; margin-top: 2px; }
.fd-sr__more { display: block; padding: 14px 0 24px; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.fd-sr__empty { padding: 26px 0; text-align: center; }
.fd-search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 39; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.fd-search-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 849px) {
  .fd-theme .fd-search__input { font-size: 18px !important; }
  .fd-sr { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ==========================================================================
   7. DRAWERS (cart + mobile menu)
   ========================================================================== */
.fd-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.fd-drawer.is-open { visibility: visible; pointer-events: auto; }
.fd-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .35s ease; }
.fd-drawer.is-open .fd-drawer__overlay { opacity: 1; }
.fd-drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(var(--fd-drawer-w), 92vw); background: #fff; z-index: 2;
  display: flex; flex-direction: column; box-shadow: 0 0 150px rgba(0,0,0,.1); transition: transform .4s var(--fd-ease);
}
.fd-drawer--right .fd-drawer__panel { right: 0; transform: translateX(100%); }
.fd-drawer--left .fd-drawer__panel { left: 0; transform: translateX(-100%); }
.fd-drawer.is-open .fd-drawer__panel { transform: none; }
.fd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 30px; border-bottom: 1px solid var(--fd-line); }
.fd-drawer--left .fd-drawer__head { justify-content: flex-start; padding-left: 7px; }
.fd-drawer--filters .fd-drawer__head { justify-content: space-between; padding-left: 30px; }
.fd-drawer__title { font-family: var(--fd-head); font-size: 26px; text-transform: uppercase; margin: 0; }
.fd-drawer__count { font-size: 18px; }
html.fd-lock, html.fd-lock body { overflow: hidden; }

/* Stagger-in like Impulse */
.fd-drawer .fd-mnav__list > li, .fd-drawer .fd-mc__item, .fd-drawer .fd-mc__footer {
  opacity: 0; transform: translateX(20px); transition: opacity .4s ease, transform .4s var(--fd-ease);
}
.fd-drawer--left .fd-mnav__list > li { transform: translateX(-20px); }
.fd-drawer.is-open .fd-mnav__list > li, .fd-drawer.is-open .fd-mc__item, .fd-drawer.is-open .fd-mc__footer { opacity: 1; transform: none; }
.fd-drawer.is-open .fd-mnav__list > li:nth-child(2), .fd-drawer.is-open .fd-mc__item:nth-child(2) { transition-delay: .05s; }
.fd-drawer.is-open .fd-mnav__list > li:nth-child(3), .fd-drawer.is-open .fd-mc__item:nth-child(3) { transition-delay: .1s; }
.fd-drawer.is-open .fd-mnav__list > li:nth-child(4), .fd-drawer.is-open .fd-mc__item:nth-child(4) { transition-delay: .15s; }
.fd-drawer.is-open .fd-mnav__list > li:nth-child(n+5), .fd-drawer.is-open .fd-mc__item:nth-child(n+5) { transition-delay: .2s; }
.fd-drawer.is-open .fd-mc__footer { transition-delay: .15s; }

/* Mobile menu */
.fd-mnav { flex: 1; overflow-y: auto; padding: 10px 0; }
.fd-mnav__list, .fd-mnav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.fd-mnav__list li { margin: 0; list-style: none; position: relative; }
.fd-mnav__list > li { border-bottom: 1px solid var(--fd-line); }
.fd-mnav__list > li > a {
  display: block; padding: 16px 60px 16px 30px; font-family: var(--fd-head); font-size: 24px; text-transform: uppercase;
  color: var(--fd-text) !important; text-decoration: none; line-height: 1.2;
}
.fd-mnav__toggle {
  position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0; border: 0; background: none !important;
  display: flex; align-items: center; justify-content: center; color: var(--fd-text); cursor: pointer;
}
.fd-mnav__toggle .fd-icon { width: 18px; height: 18px; transition: transform .3s var(--fd-ease); }
.fd-mnav__list li.is-open > .fd-mnav__toggle .fd-icon { transform: rotate(180deg); }
.fd-mnav__list .sub-menu { display: none; padding: 0 0 14px; }
.fd-mnav__list li.is-open > .sub-menu { display: block; }
.fd-mnav__list .sub-menu a { display: block; padding: 8px 30px 8px 45px; font-size: 16px; color: var(--fd-text) !important; text-decoration: none; }
.fd-mnav__list .sub-menu .sub-menu a { padding-left: 60px; }
.fd-mnav__list .sub-menu .fd-mnav__toggle { top: 0; }
.fd-drawer__foot { padding: 20px 30px 30px; border-top: 1px solid var(--fd-line); }
.fd-mnav__account { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: var(--fd-track); text-transform: uppercase; color: var(--fd-text) !important; text-decoration: none; }

/* Cart drawer content */
#fd-cart-drawer .widget_shopping_cart_content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fd-mc { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fd-mc__scroll { flex: 1; overflow-y: auto; padding: 0 30px; }
.fd-mc__items { list-style: none; margin: 0 !important; padding: 0 !important; }
.fd-mc__item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--fd-line); margin: 0 !important; list-style: none; }
.fd-mc__item.is-updating { opacity: .45; pointer-events: none; }
.fd-mc__img { display: block; align-self: start; background: var(--fd-soft); }
.fd-theme .fd-mc__item img, .fd-mc__img img { float: none !important; width: 100% !important; height: auto !important; max-width: none !important; display: block; margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.fd-theme .fd-mc__item { padding-left: 0 !important; padding-right: 0 !important; min-height: 0; overflow: visible; }
.fd-theme .fd-mc__item::before, .fd-theme .fd-mc__item::after { content: none !important; }
.fd-theme .fd-mc__item a { font-weight: 300; }
.fd-mc__info { min-width: 0; }
.fd-mc__top { display: flex; justify-content: space-between; gap: 12px; }
.fd-mc__name { font-size: 15px; letter-spacing: .15em; text-transform: uppercase; line-height: 1.35; color: var(--fd-text) !important; text-decoration: none; }
.fd-mc__price { font-size: 15px; white-space: nowrap; }
.fd-mc__meta { font-size: 14px; color: #6f6f6f; margin-top: 4px; }
.fd-mc__meta dl { margin: 0; }
.fd-mc__meta dt, .fd-mc__meta dd { display: inline; margin: 0; font-weight: 300; }
.fd-mc__meta dd p { display: inline; margin: 0; }
.fd-mc__meta dd::after { content: ""; display: block; }
.fd-mc__actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.fd-mc__remove { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #6f6f6f !important; text-decoration: underline; text-underline-offset: 3px; }
.fd-qty { display: inline-flex; align-items: center; border: 1px solid var(--fd-line); height: 36px; }
.fd-qty__btn { width: 32px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0; background: none !important; color: var(--fd-text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fd-qty__btn .fd-icon { width: 12px; height: 12px; }
.fd-theme .fd-qty__input {
  width: 36px; min-height: 0 !important; height: 34px; padding: 0 !important; margin: 0 !important; border: 0 !important; text-align: center;
  font-size: 15px !important; -moz-appearance: textfield; background: transparent !important;
}
.fd-qty__input::-webkit-outer-spin-button, .fd-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fd-mc__footer { padding: 22px 30px 26px; border-top: 1px solid var(--fd-line); background: #fff; }
.fd-mc__subtotal { display: flex; justify-content: space-between; font-size: 15px; letter-spacing: var(--fd-track); text-transform: uppercase; margin-bottom: 10px; }
.fd-mc__note { font-size: 14px; color: #6f6f6f; text-align: center; margin: 0 0 16px; }
.fd-mc__checkout { width: 100%; }
.fd-btn-angled .fd-mc__checkout { width: calc(100% - 20px); }
.fd-mc__viewcart { display: block; margin-top: 12px; text-align: center; font-size: 13px; letter-spacing: var(--fd-track); text-transform: uppercase; text-decoration: underline; }
.fd-mc--empty { align-items: center; justify-content: center; padding: 40px 30px; text-align: center; gap: 20px; }
.fd-mc__empty-text { font-size: 17px; margin: 0; }
.fd-free-ship { padding: 18px 0; font-size: 15px; text-align: center; border-bottom: 1px solid var(--fd-line); }
.fd-free-ship__bar { height: 4px; background: var(--fd-line); margin-top: 10px; }
.fd-free-ship__bar span { display: block; height: 100%; background: var(--fd-text); transition: width .4s var(--fd-ease); }
@media (max-width: 549px) {
  .fd-drawer__head { padding-left: 20px; }
  .fd-mc__scroll, .fd-mc__footer { padding-left: 20px; padding-right: 20px; }
  .fd-mc__item { grid-template-columns: 76px 1fr; gap: 14px; }
}

/* Toast (errors when adding to cart) */
.fd-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1100; max-width: calc(100% - 32px);
  background: #000; color: #fff; padding: 12px 20px; font-size: 15px; box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

/* ==========================================================================
   8. SECTIONS (homepage)
   ========================================================================== */
.fd-home { overflow-x: hidden; }
.fd-section { padding: 75px 0; }
.fd-section + .fd-products { padding-top: 0; }
.fd-section--tint { background: var(--fd-soft); }
.fd-section--tint + .fd-products { padding-top: 75px; }
.fd-section-header { text-align: center; margin-bottom: 40px; }
.fd-theme .fd-section-header__title { font-size: 30px; margin: 0; }
.fd-section-header__link {
  display: inline-block; margin-top: 12px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
@media (max-width: 849px) { .fd-section { padding: 45px 0; } .fd-section--tint + .fd-products { padding-top: 45px; } .fd-theme .fd-section-header__title { font-size: 24px; } .fd-section-header { margin-bottom: 26px; } }

/* Slideshow */
.fd-slideshow { position: relative; height: var(--fd-slide-h); background: #000; overflow: hidden; }
.fd-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.fd-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.fd-slide__media { position: absolute; inset: 0; }
.fd-slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s ease-out; }
.fd-slide.is-active .fd-slide__media img { transform: scale(1); }
.fd-slide__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--fd-slide-dim); }
.fd-slide__content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--fd-gutter);
}
.fd-theme .fd-slide__title { color: #fff; font-size: 80px; line-height: 1; margin: 0 0 18px; max-width: 16ch; }
.fd-slide__text { color: #fff; font-size: 18px; letter-spacing: var(--fd-track); text-transform: uppercase; margin: 0 0 28px; max-width: 46ch; }
.fd-slide__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.fd-slide__title, .fd-slide__text, .fd-slide__ctas { opacity: 0; transform: translateY(15px); transition: opacity .8s ease, transform .8s var(--fd-ease); }
.fd-slide.is-active .fd-slide__title { opacity: 1; transform: none; transition-delay: .3s; }
.fd-slide.is-active .fd-slide__text { opacity: 1; transform: none; transition-delay: .5s; }
.fd-slide.is-active .fd-slide__ctas { opacity: 1; transform: none; transition-delay: .7s; }
.fd-dots { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 10px; }
.fd-dots button { width: 10px; height: 10px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #fff; opacity: .4; cursor: pointer; transition: opacity .2s, transform .2s; }
.fd-dots button.is-active { opacity: 1; transform: scale(1.25); }
.fd-slideshow__pause { position: absolute; right: 26px; bottom: 20px; z-index: 3; background: none !important; border: 0; color: #fff; margin: 0; padding: 6px; min-height: 0; line-height: 0; cursor: pointer; }
.fd-slideshow__pause .fd-icon { width: 16px; height: 16px; }
.fd-slideshow__pause .fd-icon--play, .fd-slideshow.is-paused .fd-slideshow__pause .fd-icon--pause { display: none; }
.fd-slideshow.is-paused .fd-slideshow__pause .fd-icon--play { display: block; }
@media (max-width: 849px) {
  .fd-slideshow { height: var(--fd-slide-h-m); }
  .fd-theme .fd-slide__title { font-size: 40px; }
  .fd-slide__text { font-size: 14px; }
  .fd-btn-angled .fd-slide__ctas .fd-btn { margin: 0 8px; }
}

/* Category tiles — square image, small white label centred at the bottom */
.fd-vibes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.fd-vibes--3 { grid-template-columns: repeat(3, 1fr); }
.fd-vibes--2 { grid-template-columns: repeat(2, 1fr); }
.fd-vibes--1 { grid-template-columns: 1fr; }
.fd-vibe { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--fd-soft); text-decoration: none; }
.fd-vibe img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--fd-ease); }
.fd-vibe::after { content: ""; position: absolute; inset: 0; background: #697565; opacity: .1; transition: opacity .3s; pointer-events: none; }
.fd-vibe:hover img { transform: scale(1.06); }
.fd-vibe:hover::after { opacity: 0; }
.fd-vibe__label {
  position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%);
  display: inline-block; max-width: calc(100% - 20px); padding: 9px 18px 8px;
  background: #fff; color: var(--fd-text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--fd-body); font-size: 18px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; line-height: 1.25;
  transition: background .3s, color .3s;
}
.fd-vibe:hover .fd-vibe__label { background: var(--fd-text); color: #fff; }
@media (max-width: 849px) {
  .fd-vibes, .fd-vibes--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fd-vibe__label { bottom: 10px; font-size: 13px; letter-spacing: .15em; padding: 6px 10px 5px; }
}

/* Reviews — centred carousel, active card larger, dots below */
.fd-testi-section { overflow: hidden; }
.fd-testi { position: relative; }
.fd-testi__viewport { overflow: visible; padding: 30px 0 34px; }
.fd-testi__track { display: flex; align-items: center; transition: transform .6s var(--fd-ease); will-change: transform; }
.fd-testi__slide { flex: 0 0 36%; padding: 0 0; transition: transform .6s var(--fd-ease); transform: scale(.88); cursor: pointer; }
.fd-testi__slide.is-active { transform: scale(1); cursor: default; position: relative; z-index: 2; }
.fd-testi__card {
  margin: 0; padding: 45px 50px 40px; background: #fff; border: 0; text-align: center; quotes: none;
  display: flex; flex-direction: column; align-items: center; transition: box-shadow .6s var(--fd-ease);
}
.fd-testi__card::before, .fd-testi__card::after { content: none; }
.fd-testi__slide.is-active .fd-testi__card { box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.fd-testi__stars { font-size: 22px; letter-spacing: .12em; margin-bottom: 18px; color: var(--fd-text); }
.fd-testi__text { margin: 0 0 22px; font-size: 20px; line-height: 1.6; font-style: normal; }
.fd-testi__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 0 10px; display: block; }
.fd-testi__name { font-style: normal; font-weight: 600; font-size: 20px; }
.fd-testi__dots { display: flex; justify-content: center; align-items: center; gap: 10px; height: 14px; }
.fd-testi__dots button { width: 8px; height: 8px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--fd-text); opacity: .3; cursor: pointer; transition: opacity .2s, transform .2s; }
.fd-testi__dots button.is-active { opacity: 1; transform: scale(1.35); }
.fd-testi-empty { border: 1px dashed #bbb; background: #fff; padding: 40px 20px; text-align: center; font-size: 16px; }
.fd-testi-empty a { text-decoration: underline; }
@media (max-width: 1100px) { .fd-testi__slide { flex-basis: 50%; } }
@media (max-width: 849px) {
  .fd-testi__slide { flex-basis: 82%; transform: scale(.92); }
  .fd-testi__card { padding: 30px 22px; }
  .fd-testi__text { font-size: 17px; }
  .fd-testi__name { font-size: 17px; }
}

/* Image with text — full image, framed white box */
.fd-bgtext { position: relative; height: var(--fd-bgtext-h, 650px); overflow: hidden; background: var(--fd-soft); }
.fd-bgtext__media { position: absolute; inset: 0; }
.fd-bgtext__media picture, .fd-bgtext__media img { display: block; width: 100%; height: 100%; }
.fd-bgtext__media img { object-fit: cover; }
.fd-bgtext__inner {
  position: relative; z-index: 2; height: 100%; max-width: var(--fd-page); margin: 0 auto; padding: 70px var(--fd-gutter);
  display: flex; align-items: flex-start; justify-content: flex-start;
}
.fd-bgtext--center-left .fd-bgtext__inner { align-items: center; }
.fd-bgtext--center .fd-bgtext__inner { align-items: center; justify-content: center; text-align: center; }
.fd-bgtext--center-right .fd-bgtext__inner { align-items: center; justify-content: flex-end; }
.fd-bgtext--top-right .fd-bgtext__inner { justify-content: flex-end; }
.fd-bgtext--bottom-left .fd-bgtext__inner { align-items: flex-end; }
.fd-bgtext__box { background: #fff; color: var(--fd-text); padding: 40px 35px 35px; max-width: 445px; width: 100%; }
.fd-bgtext__kicker { margin: 0 0 10px; font-size: 15px; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; line-height: 1.7; }
.fd-theme .fd-bgtext__title { margin: 0 0 18px; font-size: 26px; line-height: 1.2; color: var(--fd-text); }
.fd-bgtext__text { font-size: 19px; line-height: 1.7; }
.fd-bgtext__text p { margin: 0 0 12px; }
.fd-bgtext__text p:last-child { margin-bottom: 0; }
.fd-bgtext__box .fd-btn { margin-top: 22px; }
@media (max-width: 849px) {
  .fd-bgtext { height: auto; min-height: var(--fd-bgtext-h-m, 640px); display: flex; }
  .fd-bgtext__inner { display: flex; align-items: flex-end !important; justify-content: center !important; width: 100%; height: auto; align-self: stretch; margin: 0; padding: 45vw 12px 12px; }
  .fd-bgtext__box { max-width: none; padding: 32px 20px 30px; text-align: center; }
  .fd-bgtext__kicker { font-size: 13px; letter-spacing: .3em; margin-bottom: 6px; }
  .fd-theme .fd-bgtext__title { font-size: 24px; margin-bottom: 14px; }
  .fd-bgtext__text { font-size: 17px; line-height: 1.6; }
  .fd-bgtext__text br { display: none; }
}

/* Fade-up */
.fd-reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s var(--fd-ease); }
.fd-reveal.is-in { opacity: 1; transform: none; }
.no-js .fd-reveal { opacity: 1; transform: none; }

/* ==========================================================================
   9. PRODUCT CARDS (our content-product.php)
   ========================================================================== */
/* Product grid */
.fd-theme .products:has(> .fd-card) {
  --fd-cols: 4; --fd-cols-m: 2;
  display: grid !important; grid-template-columns: repeat(var(--fd-cols), minmax(0, 1fr)); gap: 34px 22px;
  margin: 0 !important; padding: 0 !important; list-style: none; width: auto;
}
.fd-theme .products:has(> .fd-card)::before, .fd-theme .products:has(> .fd-card)::after { content: none !important; display: none !important; }
.fd-theme .products.columns-1, .fd-theme .products.large-columns-1 { --fd-cols: 1; }
.fd-theme .products.columns-2, .fd-theme .products.large-columns-2 { --fd-cols: 2; }
.fd-theme .products.columns-3, .fd-theme .products.large-columns-3 { --fd-cols: 3; }
.fd-theme .products.columns-5, .fd-theme .products.large-columns-5 { --fd-cols: 5; }
.fd-theme .products.columns-6, .fd-theme .products.large-columns-6 { --fd-cols: 6; }
.fd-theme .products > .fd-card {
  width: auto !important; max-width: none !important; flex-basis: auto !important; float: none !important;
  margin: 0 !important; padding: 0 !important; list-style: none;
}
.fd-theme .products > .fd-card .col-inner { padding: 0; }
@media (min-width: 550px) and (max-width: 849px) { .fd-theme .products:has(> .fd-card) { --fd-cols: 3 !important; } }
.fd-card .col-inner { position: relative; }
.fd-card__media { position: relative; display: block; overflow: hidden; text-decoration: none; }
.fd-card__frame { position: relative; display: block; padding-bottom: var(--fd-card-ratio); background: #fff; overflow: hidden; }
.fd-card__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: var(--fd-card-fit); margin: 0 !important; transition: opacity .4s ease, transform 1s var(--fd-ease); }
.fd-card__img--alt { opacity: 0; }
.fd-cards-natural .fd-card__frame { padding-bottom: 0; }
.fd-cards-natural .fd-card__img:not(.fd-card__img--alt) { position: relative; height: auto !important; }
@media (hover: hover) {
  .fd-card:hover .fd-card__img--alt { opacity: 1; }
  .fd-card:hover .fd-card__frame:not(:has(.fd-card__img--alt)) .fd-card__img { transform: scale(1.04); }
}
.fd-card__tag {
  position: absolute; top: 10px; right: 10px; z-index: 2; padding: 7px 7px 7px 9px; line-height: 1;
  background: var(--fd-sale-tag); color: #fff; font-size: 15px; letter-spacing: .025em;
}
.fd-card__tag--soldout { background: #fff; color: var(--fd-text); box-shadow: inset 0 0 0 1px var(--fd-line); }
.fd-card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 8px 5px; text-align: center;
  background: var(--fd-btn); color: var(--fd-btn-text); font-size: 15px; letter-spacing: .025em;
  opacity: 0; transform: translateY(5px); transition: opacity .25s ease, transform .25s ease;
}
@media (hover: hover) { .fd-card:hover .fd-card__quick { opacity: 1; transform: none; } }
.fd-card__meta { padding: 10px 0 6px; text-align: center; }
.fd-card__title {
  display: block; font-size: 16px; font-weight: 300; letter-spacing: var(--fd-track); text-transform: uppercase;
  line-height: 1.3; color: var(--fd-text) !important; text-decoration: none; margin-bottom: 4px;
}
.fd-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.fd-card__price, .fd-card__price .price, .fd-card__price .amount, .fd-card__price bdi { font-size: 15px; font-weight: 300; color: var(--fd-text); }
.fd-theme .price del, .fd-card__price del, .fd-sticky-atc__price del, .fd-sr__price del { color: var(--fd-text) !important; opacity: .6; font-weight: 300; }
.fd-theme .price del .amount, .fd-theme .price del bdi { color: var(--fd-text) !important; }
.fd-theme .price ins, .fd-card__price ins, .fd-sticky-atc__price ins, .fd-theme ins { color: var(--fd-text) !important; text-decoration: none !important; font-weight: 300; background: none; }
.fd-save { color: var(--fd-save); margin-left: 6px; white-space: nowrap; font-weight: 300; }
@media (max-width: 549px) { .fd-theme .products:has(> .fd-card) { --fd-cols: 2 !important; } }
@media (max-width: 849px) {
  .fd-theme .products:has(> .fd-card) { gap: 26px 12px; }
  .fd-card__title { font-size: 13px; letter-spacing: .12em; }
  .fd-card__price, .fd-card__price .amount, .fd-card__price bdi, .fd-save { font-size: 14px; }
  .fd-card__tag { font-size: 12px; top: 6px; right: 6px; padding: 5px 6px; }
  .fd-card__save-line { display: block; }
}

/* ==========================================================================
   10. FOOTER  (evareve / Impulse layout)
   ========================================================================== */
.fd-footer { background: var(--fd-footer); color: var(--fd-footer-text); border-top: 1px solid var(--fd-line); padding: 60px 0 40px; }
.fd-footer a { color: var(--fd-footer-text) !important; }
.fd-footer__grid { display: grid; grid-template-columns: minmax(180px, 22%) minmax(240px, 30%) 1fr; gap: 40px 50px; align-items: start; }
.fd-footer__title { font-size: 14px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 22px; line-height: 1.4; }
.fd-footer__links { list-style: none; margin: 0 !important; padding: 0 !important; }
.fd-footer__links li { margin: 0 0 12px; list-style: none; padding: 0; border: 0; }
.fd-footer__links a { display: inline-block; font-size: 16px; text-decoration: none; line-height: 1.4; }
.fd-footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fd-admin-hint { margin: 14px 0 0; padding: 8px 10px; border: 1px dashed #bbb; font-size: 12px; line-height: 1.4; max-width: 240px; }
.fd-admin-hint a { text-decoration: underline; }
.fd-footer__text { font-size: 16px; line-height: 1.6; }
.fd-footer__text p { margin: 0 0 18px; }
.fd-footer__text p:last-child { margin-bottom: 0; }
.fd-footer__text strong, .fd-footer__text b { font-weight: 600; }
.fd-news { position: relative; max-width: 370px; margin-top: 24px; }
.fd-theme .fd-news input[type="email"] {
  width: 100%; margin: 0 !important; min-height: 44px; border: 0 !important; border-bottom: 2px solid var(--fd-footer-text) !important;
  padding: 10px 45px 10px 0 !important; background: transparent !important; color: var(--fd-footer-text); font-size: 17px !important; box-shadow: none !important;
}
.fd-theme .fd-news input[type="email"]::placeholder { color: var(--fd-footer-text); opacity: 1; }
.fd-theme .fd-news button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: none !important; border: 0; color: var(--fd-footer-text); cursor: pointer; }
.fd-news button .fd-icon { width: 30px; height: 30px; stroke-width: 1.2; }
.fd-news-msg { font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.fd-social { display: flex; gap: 14px; margin-top: 20px; }
.fd-social a { line-height: 0; }
.fd-social .fd-icon { width: 22px; height: 22px; }
.fd-footer__logo { margin: 50px 0 0; line-height: 0; }
.fd-footer__logo img { display: inline-block; width: 100%; height: auto; max-height: 90px; object-fit: contain; object-position: left center; }
.fd-footer__bottom { margin-top: 50px; text-align: center; }
.fd-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 26px !important; padding: 0 !important; }
.fd-pay__item { margin: 0 !important; padding: 0; list-style: none; line-height: 0; }
.fd-pay__icon { width: 46px; height: 29px; display: block; }
.fd-footer__small { margin: 0 0 16px; font-size: 15px; letter-spacing: .025em; }
.fd-footer__small:last-child { margin-bottom: 0; }
.fd-footer__small a { text-decoration: none; }
.fd-footer__small a:hover { text-decoration: underline; }
@media (max-width: 849px) {
  .fd-footer { padding: 44px 0 30px; }
  .fd-footer__grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .fd-footer__links li { margin-bottom: 10px; }
  .fd-admin-hint { margin-left: auto; margin-right: auto; }
  .fd-news { margin-left: auto; margin-right: auto; }
  .fd-social { justify-content: center; }
  .fd-footer__logo { text-align: center; margin-top: 36px; }
  .fd-footer__logo img { object-position: center; }
  .fd-footer__bottom { margin-top: 30px; }
  .fd-pay__icon { width: 40px; height: 25px; }
}

/* ==========================================================================
   11. CONTENT — pages, blog, search, 404, comments
   ========================================================================== */
.fd-page { padding: 60px 0 80px; }
.fd-page-header { text-align: center; margin: 0 auto 46px; max-width: 900px; }
.fd-page-header__title { font-size: 36px; margin: 0; }
.fd-page-header__meta { margin-top: 12px; font-size: 13px; letter-spacing: var(--fd-track); text-transform: uppercase; color: #6f6f6f; }
.fd-page-header__desc { margin-top: 14px; font-size: 17px; }
.fd-breadcrumbs { font-size: 13px; letter-spacing: var(--fd-track); text-transform: uppercase; color: #6f6f6f; margin-bottom: 14px; }
.fd-breadcrumbs a { color: #6f6f6f; text-decoration: none; }
.fd-narrow { max-width: 820px; margin: 0 auto; }

/* Rich text */
.fd-entry { font-size: 17px; line-height: 1.75; }
.fd-entry > *:first-child { margin-top: 0; }
.fd-entry h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.fd-entry h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.fd-entry h4 { font-size: 17px; margin: 1.4em 0 .5em; }
.fd-entry a { text-decoration: underline; text-underline-offset: 3px; }
.fd-entry img { height: auto; }
.fd-entry .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.fd-entry .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.fd-entry .wp-block-button__link { background: var(--fd-btn); color: var(--fd-btn-text); border-radius: var(--fd-radius); text-decoration: none; text-transform: uppercase; letter-spacing: .3em; font-size: 14px; font-weight: 700; padding: 13px 24px; }
.fd-entry .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--fd-text); box-shadow: inset 0 0 0 2px var(--fd-text); }
.fd-entry .wp-block-quote, .fd-entry blockquote { font-size: 20px; line-height: 1.6; }
.fd-entry .wp-block-separator { border-top-color: var(--fd-line); }
.fd-entry .wp-block-image figcaption { text-align: center; }
.page-links { margin: 30px 0; font-size: 15px; letter-spacing: var(--fd-track); text-transform: uppercase; }
.fd-page--full .fd-entry .alignwide { margin-left: 0; margin-right: 0; }
@media (max-width: 999px) { .fd-entry .alignwide { margin-left: 0; margin-right: 0; } }

/* Blog list */
.fd-blog { display: grid; grid-template-columns: 1fr; gap: 50px; }
.fd-blog--sidebar { grid-template-columns: minmax(0, 1fr) 280px; }
.fd-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 26px; }
.fd-blog--sidebar .fd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fd-post-card { margin: 0; }
.fd-post-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fd-soft); margin-bottom: 18px; }
.fd-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--fd-ease); }
.fd-post-card:hover .fd-post-card__img img { transform: scale(1.04); }
.fd-post-card__meta { font-size: 13px; letter-spacing: var(--fd-track); text-transform: uppercase; color: #6f6f6f; margin-bottom: 8px; }
.fd-theme .fd-post-card__title { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.fd-post-card__title a { text-decoration: none; }
.fd-post-card__excerpt { font-size: 16px; margin-bottom: 14px; }
.fd-post-card__excerpt p { margin: 0; }
.fd-more { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.fd-empty { text-align: center; padding: 30px 0 10px; font-size: 18px; }
.fd-empty .fd-searchform { margin: 24px auto 0; }
@media (max-width: 999px) { .fd-blog--sidebar { grid-template-columns: 1fr; } }
@media (max-width: 849px) { .fd-posts, .fd-blog--sidebar .fd-posts { grid-template-columns: 1fr; gap: 36px; } .fd-page { padding: 40px 0 60px; } .fd-page-header__title { font-size: 28px; } }
@media (min-width: 550px) and (max-width: 849px) { .fd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Single post */
.fd-single__hero { margin: 0 auto 44px; max-width: 1100px; }
.fd-single__hero img { width: 100%; height: auto; display: block; }
.fd-single__tags { margin-top: 40px; font-size: 14px; letter-spacing: var(--fd-track); text-transform: uppercase; }
.fd-single__tags a { text-decoration: none; margin-right: 10px; }
.fd-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--fd-line); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; }
.fd-postnav a { text-decoration: none; }
.fd-postnav .nav-next { text-align: right; margin-left: auto; }

/* Pagination (blog + shop) */
.fd-pagination, .woocommerce-pagination { margin: 50px 0 0; text-align: center; }
.fd-pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination ul.page-numbers li { margin: 0; border: 0; float: none; }
.fd-pagination .page-numbers, .woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px;
  font-size: 16px; color: var(--fd-text); text-decoration: none; border-bottom: 2px solid transparent; background: none;
}
.fd-pagination .page-numbers.current, .woocommerce-pagination .page-numbers span.current { border-bottom-color: var(--fd-text); }
.fd-pagination .page-numbers:hover, .woocommerce-pagination .page-numbers a:hover { border-bottom-color: var(--fd-line); }

/* Search form */
.fd-searchform { position: relative; max-width: 520px; display: flex; }
.fd-theme .fd-searchform input[type="search"] { flex: 1; margin: 0; min-height: 50px; padding: 0 54px 0 16px; border: 1px solid var(--fd-text); }
.fd-searchform button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; border: 0; background: none; display: flex; align-items: center; justify-content: center; padding: 0 !important; margin: 0 !important; min-height: 0 !important; color: var(--fd-text); }

/* 404 */
.fd-404 { text-align: center; padding: 90px 0 110px; }
.fd-404__code { font-family: var(--fd-head); font-size: 120px; line-height: 1; margin: 0 0 10px; }
.fd-404 h1 { margin-bottom: 14px; }
.fd-404 .fd-searchform { margin: 30px auto; }

/* Widgets (blog sidebar) */
.fd-widget { margin-bottom: 40px; font-size: 16px; }
.fd-widget__title, .fd-widget .wp-block-heading { font-size: 14px; font-family: var(--fd-body); font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 16px; }
.fd-widget ul { list-style: none; padding: 0; margin: 0; }
.fd-widget li { margin-bottom: 8px; }
.fd-widget a { text-decoration: none; }

/* Comments */
.fd-comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--fd-line); }
.fd-comments__title, .comment-reply-title { font-size: 22px; margin-bottom: 26px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--fd-line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 13px; color: #6f6f6f; margin: 4px 0 10px; }
.comment-metadata a, .comment-reply-link { color: #6f6f6f; text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; }
.comment-form .comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: 0; font-size: 15px; }

/* Old Flatsome / UX Builder content (see inc/compat.php) */
.fd-ux-section { margin: 0 0 40px; }
.fd-ux-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; margin-bottom: 26px; }
.fd-ux-col { grid-column: span var(--fd-span, 12); min-width: 0; }
.fd-ux-block { margin-bottom: 1.2em; }
.fd-ux-image { width: 100%; height: auto; }
.fd-ux-accordion { border-bottom: 1px solid var(--fd-line); }
.fd-ux-accordion summary { cursor: pointer; padding: 14px 0; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; }
@media (max-width: 849px) { .fd-ux-row { grid-template-columns: 1fr; } .fd-ux-col { grid-column: auto; } }

/* Back to top */
.fd-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--fd-btn); color: var(--fd-btn-text) !important; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.fd-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fd-to-top .fd-icon { width: 18px; height: 18px; transform: rotate(-90deg); }

.fd-has-sticky .fd-to-top { bottom: 84px; }

@media (prefers-reduced-motion: reduce) {
  .fd-reveal, .fd-slide__title, .fd-slide__text, .fd-slide__ctas,
  .fd-drawer .fd-mnav__list > li, .fd-drawer .fd-mc__item, .fd-drawer .fd-mc__footer { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fd-slide__media img { transform: none !important; transition: none !important; }
  .fd-dot::after { animation: none; }
}
