/* ===========================================================
   FAYYAZ Electric — mobile app layer
   Everything here is scoped to html.fwf-app, which the script
   adds only at phone/tablet width. Desktop is untouched.
   =========================================================== */
html.fwf-app{
  --app-bar: 54px;
  --app-sub: 46px;
  --app-tab: 62px;
  --app-gut: 14px;
  --app-r: 16px;
  --app-r-sm: 12px;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e9edf3;
  --bg: #f6f8fb;
  --card: #ffffff;
  --brand: #1565ff;
  --brand-ink: #0b47c4;
  --ok: #16a34a;
  --warn: #b45309;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px -12px rgba(15,23,42,.18);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html.fwf-app, html.fwf-app body{ background: var(--bg); }
html.fwf-app body{
  padding-top: calc(var(--app-bar) + var(--app-sub));
  padding-bottom: calc(var(--app-tab) + var(--safe-b) + 6px);
  -webkit-tap-highlight-color: transparent;
}
html.fwf-app body.admin-bar{ padding-top: calc(var(--app-bar) + var(--app-sub)); }
html.fwf-app.fwf-nosub body{ padding-top: var(--app-bar); }
html.fwf-app.fwf-nosub body.admin-bar{ padding-top: var(--app-bar); }

/* the theme's three header rows are replaced by our app bar, but kept in the
   DOM so their own scripts (mobile menu, mini-cart) keep working */
html.fwf-app .whb-header{ position: absolute !important; left: -9999px !important; top: 0 !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important; }
html.fwf-app .wd-prefooter, html.fwf-app .fwf-ticker-wrap,
html.fwf-app .wd-hb-wrapp{ display: none !important; }

/* ---------- app bar ---------- */
.fwf-appbar{
  position: fixed; inset: 0 0 auto 0; height: var(--app-bar); z-index: 9000;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center;
  gap: 4px; padding: 0 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
html.fwf-app body.admin-bar .fwf-appbar{ top: 46px; }
.fwf-appbar__logo{ display: flex; align-items: center; justify-content: center; min-width: 0; }
.fwf-appbar__logo img{ max-height: 26px; width: auto; display: block; }
.fwf-appbar__right{ display: flex; align-items: center; gap: 2px; }
.fwf-ib{
  width: 40px; height: 40px; border: 0; background: transparent; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  color: var(--ink); cursor: pointer; padding: 0;
}
.fwf-ib:active{ background: #eef2f7; transform: scale(.94); }
.fwf-ib svg{ width: 23px !important; height: 23px !important; min-width: 23px;
  stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round; display: block; }
.fwf-ib .fwf-dot{ position: absolute; top: 7px; inset-inline-end: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand); border: 2px solid #fff; }

/* ---------- search pill under the bar ---------- */
.fwf-subbar{
  position: fixed; inset-inline: 0; top: var(--app-bar); height: var(--app-sub); z-index: 8990;
  display: flex; align-items: center; padding: 0 var(--app-gut) 6px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .26s ease, opacity .2s ease;
}
html.fwf-app body.admin-bar .fwf-subbar{ top: calc(var(--app-bar) + 46px); }
html.fwf-app.fwf-hidesub .fwf-subbar{ transform: translateY(-110%); opacity: 0; pointer-events: none; }
.fwf-searchpill{
  flex: 1; height: 38px; border-radius: 999px; background: #eef2f7; border: 1px solid #e6ebf2;
  display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--ink-3);
  font-size: 14px; cursor: pointer;
}
.fwf-searchpill svg{ width: 18px !important; height: 18px !important; min-width: 18px;
  stroke: currentColor; stroke-width: 1.9; fill: none; display: block; }

/* ---------- full-screen search sheet ---------- */
.fwf-sheet{
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.22,.8,.3,1);
}
.fwf-sheet.on{ transform: none; }
.fwf-sheet__bar{ display: flex; align-items: center; gap: 8px; padding: 10px var(--app-gut);
  border-bottom: 1px solid var(--line); }
.fwf-sheet__bar input{
  flex: 1; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #f6f8fb;
  padding: 0 14px; font-size: 15px; color: var(--ink); outline: none;
}
.fwf-sheet__bar input:focus{ border-color: #c7d7ff; background: #fff; box-shadow: 0 0 0 3px rgba(21,101,255,.12); }
.fwf-sheet__body{ flex: 1; overflow: auto; padding: 14px var(--app-gut) 30px; }
.fwf-sheet h4{ font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); margin: 6px 0 10px; }
.fwf-sheet .fwf-sugg{ display: flex; flex-wrap: wrap; gap: 8px; }
.fwf-sheet .fwf-sugg a{
  padding: 9px 14px; border-radius: 999px; background: #f1f5f9; color: var(--ink);
  font-size: 13.5px; text-decoration: none; border: 1px solid #e8edf4;
}

/* ---------- quick chips ---------- */
html.fwf-app .fwf-chips{
  display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--app-gut) 4px;
  margin: 0; background: transparent; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
html.fwf-app .fwf-chips::-webkit-scrollbar{ display: none; }
html.fwf-app .fwf-chips a{
  flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600;
  text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
html.fwf-app .fwf-chips a:active{ background: #eef2f7; }

/* ---------- content rhythm ---------- */
html.fwf-app .wd-page-content{ padding-inline: 0; }
html.fwf-app .elementor-section.elementor-section-boxed > .elementor-container{ padding-inline: var(--app-gut); }
html.fwf-app .container, html.fwf-app .wd-content-layout{ padding-inline: var(--app-gut) !important; }

/* section heading, app style */
html.fwf-app .wd-page-content h2,
html.fwf-app .wd-page-content .title-wrapper .liner-continer h4{
  font-size: 17px !important; font-weight: 800 !important; letter-spacing: -.01em;
  color: var(--ink) !important; margin: 18px 0 10px !important; line-height: 1.35 !important;
}

/* ---------- banners / hero as app cards ---------- */
html.fwf-app .wd-banner,
html.fwf-app .promo-banner,
html.fwf-app .elementor-widget-wd_banner .wd-banner{
  border-radius: var(--app-r); overflow: hidden; box-shadow: var(--shadow);
}
html.fwf-app .wd-banner img{ border-radius: var(--app-r); }
html.fwf-app .banner-inner, html.fwf-app .wd-banner-inner{ padding: 16px !important; }
html.fwf-app .wd-banner::after{
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--app-r);
  background: linear-gradient(180deg, rgba(5,10,25,.05) 0%, rgba(5,10,25,.55) 100%);
}
html.fwf-app .wd-banner > *{ position: relative; z-index: 2; }
html.fwf-app .wd-banner .wd-entities-title,
html.fwf-app .wd-banner .banner-title{ font-size: 19px !important; line-height: 1.3 !important;
  font-weight: 800 !important; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
html.fwf-app .wd-banner .banner-subtitle,
html.fwf-app .wd-banner p{ font-size: 13px !important; line-height: 1.5 !important; }
html.fwf-app .wd-banner .btn, html.fwf-app .wd-banner .wd-button{
  border-radius: 999px !important; padding: 9px 16px !important; font-size: 13px !important; font-weight: 700 !important; }

/* WoodMart hero carousel, app style */
html.fwf-app .wd-slider, html.fwf-app .wd-carousel-container{ padding-inline: var(--app-gut); }
html.fwf-app .wd-slide .container{ border-radius: var(--app-r); overflow: hidden; box-shadow: var(--shadow); }
html.fwf-app .wd-slider .wd-nav-arrows{ display: none !important; }
html.fwf-app .wd-slider .wd-nav-pagination span,
html.fwf-app .wd-carousel-container .wd-nav-pagination span{
  width: 6px; height: 6px; border-radius: 999px; background: #cbd5e1; transition: all .2s; }
html.fwf-app .wd-slider .wd-nav-pagination span.wd-active,
html.fwf-app .wd-carousel-container .wd-nav-pagination span.wd-active{ width: 18px; background: var(--brand); }

/* horizontal snap rails */
html.fwf-app .fwf-rail{
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px var(--app-gut) 10px; scrollbar-width: none;
}
html.fwf-app .fwf-rail::-webkit-scrollbar{ display: none; }
html.fwf-app .fwf-rail > *{ flex: 0 0 86%; scroll-snap-align: center; }
.fwf-dots{ display: flex; gap: 6px; justify-content: center; padding: 2px 0 10px; }
.fwf-dots i{ width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; transition: all .2s; }
.fwf-dots i.on{ width: 18px; border-radius: 999px; background: var(--brand); }

/* ---------- category circles ---------- */
.fwf-cats-rail{ display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--app-gut) 14px;
  scrollbar-width: none; }
.fwf-cats-rail::-webkit-scrollbar{ display: none; }
.fwf-cat{ flex: 0 0 auto; width: 70px; text-decoration: none; text-align: center; }
.fwf-cat span.ph{
  width: 64px; height: 64px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 7px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04); overflow: hidden;
}
.fwf-cat span.ph img{ width: 42px; height: 42px; object-fit: contain; }
.fwf-cat span.tx{ display: block; font-size: 11.5px; line-height: 1.3; color: var(--ink-2);
  font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- product cards ---------- */
html.fwf-app ul.products,
html.fwf-app .products.wd-products-holder{
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important;
  padding-inline: var(--app-gut) !important; margin: 0 !important;
}
html.fwf-app ul.products > li,
html.fwf-app .products.wd-products-holder > .product-grid-item{
  width: 100% !important; margin: 0 !important; padding: 0 !important;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--app-r-sm);
  overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
html.fwf-app .product-grid-item .product-element-top{ border-radius: 0 !important; background: #fff; }
html.fwf-app .product-grid-item img{ aspect-ratio: 1/1; object-fit: contain !important; padding: 8px; background: #fff; }
html.fwf-app .product-grid-item .wd-entities-title{
  font-size: 12.8px !important; line-height: 1.35 !important; font-weight: 600 !important;
  margin: 8px 10px 4px !important; min-height: 34px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html.fwf-app .product-grid-item .wd-product-cats,
html.fwf-app .product-grid-item .wd-product-brands-links{ display: none !important; }
html.fwf-app .product-grid-item .price{ font-size: 14px !important; font-weight: 800 !important;
  margin: 0 10px 6px !important; color: var(--ink) !important; }
html.fwf-app .product-grid-item .price del{ font-size: 11px !important; opacity: .45; font-weight: 500 !important; }
html.fwf-app .product-grid-item .wd-product-stock{ font-size: 11.5px !important; margin: 0 10px 6px !important; }
html.fwf-app .product-grid-item .wd-add-btn > a,
html.fwf-app .product-grid-item .add-to-cart-loop{
  margin: 0 10px 10px !important; border-radius: 10px !important; height: 34px !important;
  font-size: 12.5px !important; font-weight: 700 !important; display: flex !important;
  align-items: center; justify-content: center;
}
html.fwf-app .product-grid-item .wd-buttons{ inset-inline-start: 6px !important; top: 6px !important; }
html.fwf-app .product-labels .product-label{ font-size: 10px !important; padding: 2px 6px !important;
  border-radius: 7px !important; }

/* never touch the theme's carousels */
html.fwf-app .wd-carousel-container.products,
html.fwf-app .wd-cats.products{ display: block !important; }
html.fwf-app .wd-carousel .product-grid-item{ width: auto !important; }

/* subcategory cards */
html.fwf-app .wd-cat, html.fwf-app .category-grid-item{
  border-radius: var(--app-r-sm) !important; border: 1px solid var(--line) !important;
  background: #fff !important; overflow: hidden; }

/* ---------- bottom tab bar ---------- */
html.fwf-app .fwf-tabbar{
  position: fixed; inset-inline: 0; bottom: 0; z-index: 9100;
  height: calc(var(--app-tab) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line);
}
html.fwf-app .fwf-tab{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--ink-3); font-size: 10.5px; font-weight: 600;
  padding-top: 4px; position: relative;
}
html.fwf-app .fwf-tab .i{ position: relative; display: block; line-height: 0; }
html.fwf-app .fwf-tab svg{ width: 23px !important; height: 23px !important; min-width: 23px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }
html.fwf-app .fwf-tab.on{ color: var(--brand); }
html.fwf-app .fwf-tab.on .l{ font-weight: 700; }
html.fwf-app .fwf-tab:active{ transform: scale(.93); }
html.fwf-app .fwf-tab .fwf-cc{
  position: absolute; top: -5px; inset-inline-end: -9px; min-width: 16px; height: 16px;
  border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff;
}
html.fwf-app .fwf-tab .fwf-cc:empty, html.fwf-app .fwf-tab .fwf-cc[data-n="0"]{ display: none; }
/* the old centre "design" bubble is flattened into a normal tab */
html.fwf-app .fwf-tab-pc{ transform: none !important; background: none !important; }
html.fwf-app .fwf-tab-pc .i{ background: none !important; box-shadow: none !important;
  width: auto !important; height: auto !important; border-radius: 0 !important; color: inherit !important; }

/* ---------- floating helpers must not collide ---------- */
html.fwf-app [class*="chat"][class*="button"],
html.fwf-app .fml-chat-launcher, html.fwf-app #fml-chat-launcher,
html.fwf-app .wd-sticky-social, html.fwf-app .scrollToTop{
  bottom: calc(var(--app-tab) + var(--safe-b) + 12px) !important;
  inset-inline-end: 12px !important; inset-inline-start: auto !important;
  width: 46px !important; height: 46px !important; z-index: 9050 !important;
}

/* ---------- sticky product bar sits above the tabs ---------- */
html.fwf-app .wd-sticky-btn{
  bottom: calc(var(--app-tab) + var(--safe-b)) !important; z-index: 9080 !important;
  border-top: 1px solid var(--line); background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); padding: 8px var(--app-gut) !important;
}
html.fwf-app .wd-sticky-btn .wd-sticky-btn-thumbnail,
html.fwf-app .wd-sticky-btn .wd-sticky-btn-info{ display: none !important; }
html.fwf-app .wd-sticky-btn .wd-sticky-btn-cart{ width: 100% !important; max-width: none !important;
  min-width: 0 !important; gap: 10px; }
html.fwf-app .wd-sticky-btn form.cart{ flex: 1 1 auto !important; }
html.fwf-app .wd-sticky-btn form.cart .button{ max-width: none !important; flex: 1 1 auto !important;
  height: 44px !important; border-radius: 12px !important; font-weight: 700 !important; }

/* ---------- single product, app style ---------- */
html.fwf-app .single-product .product-image-summary{ padding-inline: 0 !important; }
html.fwf-app .woocommerce-product-gallery{ border-radius: 0 0 var(--app-r) var(--app-r);
  overflow: hidden; background: #fff; }
html.fwf-app .single-product .entry-title{ font-size: 19px !important; line-height: 1.35 !important;
  font-weight: 800 !important; padding-inline: var(--app-gut); }
html.fwf-app .single-product .summary-inner > *{ padding-inline: var(--app-gut); }
html.fwf-app .single-product .price{ font-size: 22px !important; font-weight: 800 !important; }
html.fwf-app .wd-tabs .wd-nav-tabs{ overflow-x: auto; scrollbar-width: none; }
html.fwf-app .wd-tabs .wd-nav-tabs::-webkit-scrollbar{ display: none; }

/* ---------- my account, app settings list ---------- */
html.fwf-app .woocommerce-MyAccount-navigation ul{ display: block !important; background: #fff;
  border: 1px solid var(--line); border-radius: var(--app-r-sm); overflow: hidden; margin: 0 var(--app-gut); }
html.fwf-app .woocommerce-MyAccount-navigation li{ border-bottom: 1px solid var(--line); margin: 0 !important; }
html.fwf-app .woocommerce-MyAccount-navigation li:last-child{ border-bottom: 0; }
html.fwf-app .woocommerce-MyAccount-navigation li a{
  display: flex !important; align-items: center; gap: 10px; padding: 14px 14px !important;
  font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; }
html.fwf-app .woocommerce-MyAccount-navigation li a::after{
  content: ""; margin-inline-start: auto; width: 8px; height: 8px; border-top: 2px solid #cbd5e1;
  border-inline-end: 2px solid #cbd5e1; transform: rotate(45deg); }
html.fwf-app body.rtl .woocommerce-MyAccount-navigation li a::after,
html.fwf-app [dir="rtl"] .woocommerce-MyAccount-navigation li a::after{ transform: rotate(-135deg); }
html.fwf-app .fea-card, html.fwf-app .fwf-chart, html.fwf-app .fea-tcard{
  border-radius: var(--app-r-sm) !important; margin-inline: var(--app-gut) !important; }

/* ---------- footer gets out of the way ---------- */
html.fwf-app .wd-footer{ padding-bottom: 10px !important; }
html.fwf-app .wd-footer .wd-widget-collapse{ font-size: 14px; }

/* ---------- small polish ---------- */
html.fwf-app .wd-page-content p > img,
html.fwf-app .wd-page-content figure img{ max-width: 100%; height: auto; }
html.fwf-app .wd-nav-mobile a{ font-size: 15px !important; padding: 13px 16px !important; }
html.fwf-app ::selection{ background: rgba(21,101,255,.18); }


/* ---------- hero slide: readable text over the photo ---------- */
html.fwf-app .wd-slide{ position: relative; }
html.fwf-app .wd-slide-inner{
  position: relative; z-index: 2;
  padding: 54px 16px 18px !important;
  background: linear-gradient(180deg, rgba(6,12,28,.46) 0%, rgba(6,12,28,.72) 45%, rgba(6,12,28,.93) 100%);
}
html.fwf-app .wd-slide-inner h1, html.fwf-app .wd-slide-inner h2,
html.fwf-app .wd-slide-inner h3, html.fwf-app .wd-slide-inner h4,
html.fwf-app .wd-slide-inner h5, html.fwf-app .wd-slide-inner h6,
html.fwf-app .wd-slide-inner .title-wrapper,
html.fwf-app .wd-slide-inner .title-wrapper *,
html.fwf-app .wd-slide-inner .elementor-heading-title,
html.fwf-app .wd-slide-inner .wd-title-text{
  color: #fff !important; font-size: 18px !important; line-height: 1.3 !important;
  font-weight: 800 !important; margin: 0 0 6px !important;
  text-shadow: 0 1px 14px rgba(0,0,0,.6) !important; background: none !important;
}
html.fwf-app .wd-slide-inner p, html.fwf-app .wd-slide-inner .elementor-widget-text-editor{
  color: rgba(255,255,255,.88) !important; font-size: 13px !important; line-height: 1.5 !important;
  margin: 0 0 10px !important; background: none !important;
}
html.fwf-app .wd-slide-inner .elementor-button,
html.fwf-app .wd-slide-inner .btn, html.fwf-app .wd-slide-inner .wd-button{
  border-radius: 999px !important; padding: 10px 18px !important;
  font-size: 13px !important; font-weight: 700 !important;
}

/* ---------- close the gap the hidden header leaves ---------- */
html.fwf-app .wd-page-wrapper{ margin-top: 0 !important; }
html.fwf-app .wd-page-content{ padding-top: 0 !important; }
html.fwf-app .fwf-chips{ margin-top: -6px; }
html.fwf-app .wd-page-content > .elementor:first-child > .elementor-element:first-child{ margin-top: 0 !important; }

/* ===========================================================
   v2.0.5 — shop toolbar, sheets, product page, account header
   =========================================================== */

/* hide page chrome that an app would not show */
html.fwf-app .wd-breadcrumbs,
html.fwf-app .woocommerce-breadcrumb,
html.fwf-app .wd-shop-result-count,
html.fwf-app .wd-products-per-page{ display: none !important; }

/* the theme toolbar widgets are replaced by ours */
html.fwf-app .fe-toolbar-host > .elementor-element{ display: none !important; }
html.fwf-app .fe-toolbar-host{ display: block !important; padding: 0 !important; }

html.fwf-app .fwf-shoptools{
  display: flex; align-items: center; gap: 8px;
  padding: 8px var(--app-gut) 10px;
}
html.fwf-app .fwf-shoptools .n{
  font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-inline-end: auto;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.fwf-app .fwf-tbtn{
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 700;
  box-shadow: 0 1px 2px rgba(15,23,42,.04); cursor: pointer;
}
html.fwf-app .fwf-tbtn:active{ background: #eef2f7; transform: scale(.97); }
html.fwf-app .fwf-tbtn.on{ border-color: #c7d7ff; background: #eef4ff; color: var(--brand-ink); }
html.fwf-app .fwf-tbtn svg{ width: 16px !important; height: 16px !important; min-width: 16px;
  stroke: currentColor; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- bottom sheet ---------- */
.fwf-bs-scrim{
  position: fixed; inset: 0; z-index: 9400; background: rgba(8,14,30,.42);
  opacity: 0; transition: opacity .22s ease; backdrop-filter: blur(2px);
}
.fwf-bs-scrim.on{ opacity: 1; }
.fwf-bs{
  position: fixed; inset-inline: 0; bottom: 0; z-index: 9410;
  background: #fff; border-radius: 20px 20px 0 0; padding: 8px 0 calc(14px + var(--safe-b, 0px));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.22,.8,.3,1);
  box-shadow: 0 -14px 44px -18px rgba(8,14,30,.5); max-height: 76vh; overflow: auto;
}
.fwf-bs.on{ transform: none; }
.fwf-bs .grab{ width: 38px; height: 4px; border-radius: 999px; background: #dfe5ee; margin: 4px auto 10px; }
.fwf-bs h5{ font-size: 13px; font-weight: 800; color: var(--ink-3); letter-spacing: .03em;
  text-transform: uppercase; margin: 0 0 6px; padding: 0 18px; }
.fwf-bs button.opt{
  display: flex; width: 100%; align-items: center; gap: 10px; background: none; border: 0;
  padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: start;
  border-top: 1px solid var(--line); cursor: pointer;
}
.fwf-bs button.opt:first-of-type{ border-top: 0; }
.fwf-bs button.opt .ck{ margin-inline-start: auto; width: 18px; height: 18px; opacity: 0; }
.fwf-bs button.opt.sel{ color: var(--brand-ink); }
.fwf-bs button.opt.sel .ck{ opacity: 1; }
.fwf-bs button.opt .ck svg{ width: 18px !important; height: 18px !important;
  stroke: var(--brand); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fwf-bs button.opt:active{ background: #f3f6fa; }

/* ---------- single product polish ---------- */
html.fwf-app .single-product .wd-sticky-nav,
html.fwf-app .single-product .wd-nav-product-tabs{ display: none !important; }
html.fwf-app .single-product .woocommerce-product-gallery__wrapper img{
  aspect-ratio: 1/1; object-fit: contain !important; background: #fff; padding: 10px; }
html.fwf-app .single-product .woocommerce-product-gallery .wd-gallery-thumb{ display: none !important; }
html.fwf-app .single-product .summary-inner{
  background: #fff; border: 1px solid var(--line); border-radius: var(--app-r);
  margin: 10px var(--app-gut) 0; padding: 14px 0 !important; box-shadow: var(--shadow); }
html.fwf-app .single-product .summary-inner > *{ padding-inline: 14px !important; }
html.fwf-app .single-product .entry-title{ padding-inline: 14px !important; font-size: 18px !important; }
html.fwf-app .single-product .wd-tabs{ margin: 12px var(--app-gut) 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--app-r); overflow: hidden; }
html.fwf-app .single-product .wd-tabs .wd-nav-tabs{ padding: 4px 8px; border-bottom: 1px solid var(--line); }
html.fwf-app .single-product .wd-tabs .wd-tab-content{ padding: 14px !important; font-size: 14px; line-height: 1.7; }
html.fwf-app .single-product form.cart .button{ border-radius: 12px !important; height: 46px !important;
  font-weight: 700 !important; }
html.fwf-app .single-product .quantity input{ height: 42px !important; border-radius: 10px !important; }

/* ---------- account header card ---------- */
html.fwf-app .fwf-acct{
  display: flex; align-items: center; gap: 12px; margin: 10px var(--app-gut) 12px;
  padding: 14px; background: linear-gradient(135deg, #1565ff 0%, #0b47c4 100%);
  border-radius: var(--app-r); color: #fff; box-shadow: 0 10px 26px -14px rgba(11,71,196,.8);
}
html.fwf-app .fwf-acct .av{
  width: 46px; height: 46px; border-radius: 16px; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
html.fwf-app .fwf-acct .nm{ font-size: 15.5px; font-weight: 800; line-height: 1.3; }
html.fwf-app .fwf-acct .sb{ font-size: 12.5px; opacity: .85; margin-top: 2px; }
html.fwf-app .woocommerce-account .woocommerce-MyAccount-content{
  background: #fff; border: 1px solid var(--line); border-radius: var(--app-r);
  margin: 12px var(--app-gut) 0; padding: 14px !important; }
html.fwf-app .woocommerce-account .woocommerce-MyAccount-navigation{ float: none !important; width: auto !important; }

/* the site's own desktop sort strip is replaced by the app toolbar on phones */
html.fwf-app .fe-shop-toolbar:not(.fwf-shoptools){ display: none !important; }
html.fwf-app .fwf-shoptools{ display: flex !important; }

/* ---------- v2.0.7 polish ---------- */
/* account header: the pieces stack, and the avatar leads */
html.fwf-app .fwf-acct > span:last-child{ display: flex; flex-direction: column; min-width: 0; }
html.fwf-app .fwf-acct .nm, html.fwf-app .fwf-acct .sb{ display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* product title reads as an app heading, not a poster */
html.fwf-app .single-product .entry-title,
html.fwf-app .single-product .summary-inner{ text-align: start !important; }
html.fwf-app .single-product .wd-product-brands-attr,
html.fwf-app .single-product .product_meta{ text-align: start !important; }

/* floating helpers stay out of the way of a sheet */
html.fwf-app.fwf-sheet-open [class*="chat"][class*="button"],
html.fwf-app.fwf-sheet-open .fml-chat-launcher,
html.fwf-app.fwf-sheet-open #fml-chat-launcher,
html.fwf-app.fwf-sheet-open .wd-sticky-social,
html.fwf-app.fwf-sheet-open .scrollToTop,
html.fwf-app.fwf-sheet-open .fwf-tabbar{ opacity: 0 !important; pointer-events: none !important;
  transition: opacity .18s ease; }
html.fwf-app [class*="chat"][class*="button"],
html.fwf-app .fml-chat-launcher, html.fwf-app #fml-chat-launcher{
  opacity: .92; transition: opacity .2s ease; }

/* ---------- v2.0.8: the account list chevron points the right way ---------- */
html.fwf-app .woocommerce-MyAccount-navigation li a::after{
  border-top: 2px solid #cbd5e1 !important;
  border-right: 2px solid #cbd5e1 !important;
  border-inline-end: 0 none;
  border-left: 0 none; border-bottom: 0 none;
  transform: rotate(45deg) !important;
}
html.fwf-app body.rtl .woocommerce-MyAccount-navigation li a::after,
html.fwf-app [dir="rtl"] .woocommerce-MyAccount-navigation li a::after{
  transform: rotate(-135deg) !important;
}

/* ===========================================================
   v2.2 — the glass skin
   Everything below re-skins the app layer: a soft tinted field
   behind the page, and bars, sheets and cards that float over it.
   =========================================================== */
html.fwf-app{
  --brand:#2563eb;
  --brand-2:#7c3aed;
  --brand-ink:#1038a8;
  --brand-soft:rgba(37,99,235,.11);
  --ink:#0e1726;
  --ink-2:#51607a;
  --ink-3:#8d9bb2;
  --line:rgba(14,23,38,.09);
  --line-2:rgba(14,23,38,.055);
  --bg:#f3f5fb;
  --card:rgba(255,255,255,.80);
  --tile:rgba(255,255,255,.55);
  --glass:rgba(255,255,255,.62);
  --glass-2:rgba(255,255,255,.46);
  --edge:rgba(255,255,255,.85);
  --ok:#0d9b63;
  --sh-1:0 1px 2px rgba(14,23,38,.05);
  --sh-2:0 10px 28px -14px rgba(14,23,38,.45);
  --app-bar:54px; --app-sub:46px; --app-tab:60px;
}
html.fwf-app, html.fwf-app body{ background: var(--bg); }

/* ---- the tinted field the glass picks up ---- */
.fwf-aurora{ position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fwf-aurora i{ position: absolute; border-radius: 50%; filter: blur(72px); display: block; }
.fwf-aurora .b1{ width: 280px; height: 280px; background: #6f9dff; top: -90px; inset-inline-end: -90px; opacity: .19; }
.fwf-aurora .b2{ width: 250px; height: 250px; background: #9f8cf5; top: 34vh; inset-inline-start: -110px; opacity: .10; }
.fwf-aurora .b3{ width: 300px; height: 300px; background: #67c7e0; bottom: -130px; inset-inline-end: -70px; opacity: .085; }
html.fwf-app .wd-page-wrapper, html.fwf-app .wd-page-content{ position: relative; z-index: 1; }

/* ---- app bar ---- */
html.fwf-app .fwf-appbar{
  background: var(--glass-2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-2) !important;
  box-shadow: inset 0 1px 0 var(--edge);
  grid-template-columns: 44px 1fr auto;
}
html.fwf-app .fwf-appbar__logo{ flex-direction: column; gap: 1px; }
html.fwf-app .fwf-appbar__logo img{ max-height: 22px; }
html.fwf-app .fwf-deliver{
  display: flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; color: var(--ink-3);
  line-height: 1; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html.fwf-app .fwf-deliver svg{ width: 11px !important; height: 11px !important; min-width: 11px;
  stroke: currentColor; stroke-width: 1.8; fill: none; }
html.fwf-app .fwf-ib{ border-radius: 12px; }
html.fwf-app .fwf-ib svg{ stroke-width: 1.75; }

/* ---- search pill ---- */
html.fwf-app .fwf-subbar{
  background: var(--glass-2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-2) !important;
}
html.fwf-app .fwf-searchpill{
  background: var(--tile); border: 1px solid var(--line); border-radius: 14px; height: 40px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink-3);
}

/* ---- quick actions ---- */
html.fwf-app .fwf-quick{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 11px var(--app-gut) 0; margin: 0;
}
html.fwf-app .fwf-qa{
  border-radius: 16px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--edge), var(--sh-1);
  text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html.fwf-app .fwf-qa .ic{ width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
html.fwf-app .fwf-qa svg{ width: 16px !important; height: 16px !important; min-width: 16px;
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
html.fwf-app .fwf-qa span.tx{
  font-size: 9.8px; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.25;
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* tints shared by quick actions and category circles */
html.fwf-app .fwf-t1{ background: linear-gradient(150deg,#dce9ff,#eef4ff); color:#2563eb; }
html.fwf-app .fwf-t2{ background: linear-gradient(150deg,#ffe9d6,#fff5ec); color:#c2660a; }
html.fwf-app .fwf-t3{ background: linear-gradient(150deg,#d7f5e6,#ecfbf3); color:#0d9b63; }
html.fwf-app .fwf-t4{ background: linear-gradient(150deg,#e6defd,#f3effe); color:#6d28d9; }
html.fwf-app .fwf-t5{ background: linear-gradient(150deg,#ffdfe6,#fff0f3); color:#be123c; }
html.fwf-app .fwf-t6{ background: linear-gradient(150deg,#d9f1fb,#edf9fd); color:#0e7490; }

/* ---- category circles ---- */
html.fwf-app .fwf-cats-rail{ padding: 11px var(--app-gut) 2px; gap: 11px; }
html.fwf-app .fwf-cat{ width: 62px; }
html.fwf-app .fwf-cat span.ph{
  width: 58px; height: 58px; border-radius: 19px; position: relative; overflow: hidden;
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--edge), var(--sh-1); margin-bottom: 6px;
}
html.fwf-app .fwf-cat span.ph::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55%);
}
html.fwf-app .fwf-cat span.ph img{ width: 36px; height: 36px; position: relative; z-index: 1; }
html.fwf-app .fwf-cat span.tx{ font-size: 10px; font-weight: 700; min-height: 26px; }

/* ---- quick chips ---- */
html.fwf-app .fwf-chips a{
  background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--edge);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; padding: 9px 14px;
}

/* ---- product cards ---- */
html.fwf-app ul.products > li,
html.fwf-app .products.wd-products-holder > .product-grid-item{
  background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 16px;
  box-shadow: inset 0 1px 0 var(--edge), var(--sh-1);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
}
html.fwf-app .product-grid-item .product-element-top{
  margin: 6px 6px 0; border-radius: 12px !important; overflow: hidden;
  background: var(--tile) !important; border: 1px solid var(--line-2);
}
html.fwf-app .product-grid-item img{ padding: 6px; background: transparent; }
html.fwf-app .product-grid-item .wd-entities-title{
  font-size: 12px !important; line-height: 1.42 !important; min-height: 34px; margin: 8px 10px 3px !important;
}
html.fwf-app .product-grid-item .price{ font-size: 14px !important; margin: 0 10px 4px !important; }
html.fwf-app .product-grid-item .wd-product-stock{ font-size: 10px !important; font-weight: 700 !important;
  margin: 0 10px 8px !important; }
/* the add button becomes a compact round control at the end of the price row */
html.fwf-app .product-grid-item .wd-add-btn > a,
html.fwf-app .product-grid-item .add-to-cart-loop{
  width: 32px !important; height: 32px !important; min-width: 32px; padding: 0 !important;
  border-radius: 11px !important; font-size: 0 !important; overflow: hidden;
  margin: 0 10px 10px auto !important;
  background: linear-gradient(140deg, var(--brand), var(--brand-2)) !important;
  border: 0 !important; color: transparent !important;
  box-shadow: 0 7px 16px -8px rgba(37,99,235,.95), inset 0 1px 0 rgba(255,255,255,.4);
  background-repeat: no-repeat !important; background-position: center !important; background-size: 16px 16px !important;
  background-image: linear-gradient(140deg, var(--brand), var(--brand-2)),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E") !important;
  background-size: 100% 100%, 16px 16px !important;
  background-position: center, center !important;
}
html.fwf-app .product-grid-item .wd-add-btn > a::before,
html.fwf-app .product-grid-item .wd-add-btn > a::after{ display: none !important; }
html.fwf-app .product-grid-item .wd-buttons{
  background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: inset 0 1px 0 var(--edge);
}

/* ---- bottom tab bar, floating pill ---- */
html.fwf-app .fwf-tabbar{
  inset-inline: 12px; bottom: calc(11px + var(--safe-b)); height: var(--app-tab);
  border-radius: 21px; padding: 0 4px;
  background: var(--glass) !important;
  -webkit-backdrop-filter: blur(26px) saturate(190%); backdrop-filter: blur(26px) saturate(190%);
  border: 1px solid var(--line) !important;
  box-shadow: inset 0 1px 0 var(--edge), 0 16px 36px -18px rgba(4,10,24,.7);
}
html.fwf-app .fwf-tab{ font-size: 9.2px; }
html.fwf-app .fwf-tab .i{ width: 34px; height: 28px; border-radius: 10px; display: grid; place-items: center; }
html.fwf-app .fwf-tab svg{ width: 20px !important; height: 20px !important; min-width: 20px; }
html.fwf-app .fwf-tab.on .i{ background: var(--brand-soft); box-shadow: inset 0 1px 0 var(--edge); }
html.fwf-app .fwf-tab .l{ max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.fwf-app body{ padding-bottom: calc(var(--app-tab) + var(--safe-b) + 18px); }

/* ---- shop toolbar ---- */
html.fwf-app .fwf-shoptools{ padding: 9px var(--app-gut) 8px; }
html.fwf-app .fwf-tbtn{
  height: 32px; padding: 0 11px; font-size: 11.8px;
  background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--edge);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html.fwf-app .fwf-tbtn.on{ background: var(--brand-soft); border-color: rgba(37,99,235,.3); color: var(--brand-ink); }
html.fwf-app .fwf-shoptools .n{ font-size: 11.5px; }

/* ---- bottom sheet ---- */
.fwf-bs{
  border-radius: 24px 24px 0 0;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: inset 0 1px 0 var(--edge), 0 -20px 50px -20px rgba(4,10,24,.75);
}
.fwf-bs .grab{ background: var(--ink-3); opacity: .4; }
.fwf-bs button.opt{ border-top: 1px solid var(--line-2); min-height: 44px; }
.fwf-bs button.opt.sel{ color: var(--brand-ink); font-weight: 700; }
.fwf-bs-scrim{ background: rgba(4,10,24,.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* ---- single product ---- */
html.fwf-app .single-product .woocommerce-product-gallery{
  background: radial-gradient(120% 90% at 50% 10%, rgba(255,255,255,.55), rgba(255,255,255,0));
  border-radius: 0 0 22px 22px;
}
html.fwf-app .single-product .summary-inner{
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: inset 0 1px 0 var(--edge), var(--sh-2);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
html.fwf-app .single-product .wd-tabs{
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: inset 0 1px 0 var(--edge);
}
html.fwf-app .wd-sticky-btn{
  background: var(--glass) !important;
  -webkit-backdrop-filter: blur(26px) saturate(190%); backdrop-filter: blur(26px) saturate(190%);
  border-top: 1px solid var(--line) !important; box-shadow: inset 0 1px 0 var(--edge);
  bottom: calc(var(--app-tab) + var(--safe-b) + 11px) !important;
}
html.fwf-app .single-product form.cart .button,
html.fwf-app .wd-sticky-btn form.cart .button{
  background: linear-gradient(140deg, var(--brand), var(--brand-2)) !important; border: 0 !important;
  box-shadow: 0 12px 26px -13px rgba(37,99,235,1), inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* ---- account ---- */
html.fwf-app .woocommerce-MyAccount-navigation ul{
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: inset 0 1px 0 var(--edge);
}
html.fwf-app .woocommerce-MyAccount-navigation li{ border-bottom: 1px solid var(--line-2); }
html.fwf-app .woocommerce-MyAccount-navigation li a{ min-height: 46px; font-size: 12.8px !important; }
html.fwf-app .woocommerce-account .woocommerce-MyAccount-content{
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: inset 0 1px 0 var(--edge);
}

/* ---- hero, calmer scrim ---- */
html.fwf-app .wd-slide-inner{
  background: linear-gradient(180deg, rgba(4,10,24,.14) 0%, rgba(4,10,24,.38) 30%,
    rgba(4,10,24,.76) 56%, rgba(4,10,24,.97) 100%) !important;
}
html.fwf-app .wd-slide .container{ border-radius: 22px; }

/* ---- nothing overflows its box, in any language ---- */
html.fwf-app .fwf-shoptools .n,
html.fwf-app .fwf-chips a,
html.fwf-app .fwf-tbtn{ white-space: nowrap; }
html.fwf-app .product-grid-item .wd-entities-title{ word-break: break-word; }

/* ===========================================================
   v2.3 — menu sheet, scanner, tab-bar alignment, tighter footer
   =========================================================== */

/* ---- the tab bar, every item on the same rhythm ---- */
html.fwf-app .fwf-tabbar{ align-items: stretch; }
html.fwf-app .fwf-tab{
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 0 2px !important; transform: none !important; height: 100%;
  text-decoration: none; line-height: 1;
}
html.fwf-app .fwf-tab .i{
  width: 34px; height: 28px; border-radius: 10px; display: flex !important;
  align-items: center; justify-content: center; margin: 0 !important; padding: 0 !important;
  background: none; box-shadow: none; position: relative; line-height: 0;
}
html.fwf-app .fwf-tab svg{
  width: 21px !important; height: 21px !important; min-width: 21px; display: block;
}
html.fwf-app .fwf-tabbar.fwf-up .fwf-tab svg{
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
html.fwf-app .fwf-tabbar:not(.fwf-up) .fwf-tab svg{ fill: currentColor; stroke: none; }
html.fwf-app .fwf-tab .l{
  font-size: 9.4px; font-weight: 700; line-height: 1.1; display: block; text-align: center;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html.fwf-app .fwf-tab.on .i{ background: var(--brand-soft); box-shadow: inset 0 1px 0 var(--edge); }
html.fwf-app .fwf-tab-pc, html.fwf-app .fwf-tab-pc .i{
  transform: none !important; background: none; box-shadow: none; width: auto; height: auto;
  border-radius: 0; color: inherit;
}
html.fwf-app .fwf-tab-pc .i{ width: 34px; height: 28px; border-radius: 10px; }
html.fwf-app .fwf-tab-pc.on .i{ background: var(--brand-soft); }

/* ---- search row: field + scan button ---- */
html.fwf-app .fwf-subbar{ gap: 8px; }
html.fwf-app .fwf-scanbtn{
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--card); color: var(--brand); display: grid; place-items: center; padding: 0;
  box-shadow: inset 0 1px 0 var(--edge), var(--sh-1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html.fwf-app .fwf-scanbtn svg{ width: 19px !important; height: 19px !important; min-width: 19px;
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
html.fwf-app .fwf-scanbtn:active{ transform: scale(.94); }

/* ---- menu sheet ---- */
.fwf-menu{
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column;
  background: var(--bg, #f3f5fb);
  transform: translateY(100%); transition: transform .28s cubic-bezier(.22,.8,.3,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.fwf-menu.on{ transform: none; }
.fwf-menu__bar{
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: var(--glass, rgba(255,255,255,.62));
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--line, rgba(14,23,38,.09));
  box-shadow: inset 0 1px 0 var(--edge, rgba(255,255,255,.85));
}
.fwf-menu__bar b{ font-size: 15px; font-weight: 800; color: var(--ink, #0e1726); }
.fwf-menu__body{ flex: 1; overflow: auto; padding: 12px 14px calc(26px + env(safe-area-inset-bottom, 0px)); }
.fwf-menu__lbl{ font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  color: var(--ink-3, #8d9bb2); margin: 14px 2px 6px; }
.fwf-menu__lbl:first-child{ margin-top: 2px; }
.fwf-menu__list{
  border-radius: 16px; overflow: hidden;
  background: var(--card, rgba(255,255,255,.8)); border: 1px solid var(--line, rgba(14,23,38,.09));
  box-shadow: inset 0 1px 0 var(--edge, rgba(255,255,255,.85));
}
.fwf-menu__list a{
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; min-height: 48px;
  border-top: 1px solid var(--line-2, rgba(14,23,38,.055));
  font-size: 13.4px; font-weight: 700; color: var(--ink, #0e1726); text-decoration: none;
}
.fwf-menu__list a:first-child{ border-top: 0; }
.fwf-menu__list a:active{ background: rgba(14,23,38,.04); }
.fwf-menu__list .ic{ width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.fwf-menu__list .ic svg{ width: 17px !important; height: 17px !important; min-width: 17px;
  stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fwf-menu__list .tx{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fwf-menu__list .num{
  margin-inline-start: auto; background: var(--brand-soft, rgba(37,99,235,.11));
  color: var(--brand-ink, #1038a8); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px;
}
.fwf-menu__list .ch{ margin-inline-start: auto; color: #c6cfdd; line-height: 0; }
.fwf-menu__list .num + .ch{ margin-inline-start: 9px; }
.fwf-menu__list .ch svg{ width: 15px !important; height: 15px !important;
  stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---- barcode scanner ---- */
.fwf-scan{ position: fixed; inset: 0; z-index: 10000; background: #05080f; overflow: hidden; }
.fwf-scan video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.fwf-scan__frame{
  position: absolute; inset-inline: 14%; top: 32%; height: 160px; border-radius: 18px;
  border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 100vmax rgba(5,8,15,.55);
}
.fwf-scan__hint{
  position: absolute; inset-inline: 24px; bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  text-align: center; color: #fff; font-size: 13.5px; font-weight: 600; margin: 0; line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,.8);
}
.fwf-scan__x{
  position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-end: 14px;
  width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(10,16,30,.55); color: #fff; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.fwf-scan__x svg{ width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ---- home banners: smaller, two to a row ---- */
html.fwf-app .wd-page-content .elementor-section .wd-banner img{ border-radius: 14px; }
html.fwf-app .wd-banner .wd-entities-title,
html.fwf-app .wd-banner .banner-title{ font-size: 15px !important; line-height: 1.35 !important; }
html.fwf-app .wd-banner .banner-subtitle,
html.fwf-app .wd-banner p{ font-size: 11.5px !important; line-height: 1.45 !important; }
html.fwf-app .wd-banner .btn, html.fwf-app .wd-banner .wd-button{
  padding: 7px 13px !important; font-size: 11.5px !important; }
html.fwf-app .wd-banner-inner, html.fwf-app .banner-inner{ padding: 12px !important; }
/* a row of banner columns becomes a compact two-up grid instead of four tall blocks */
html.fwf-app .fwf-bannergrid{
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 9px !important;
  padding-inline: var(--app-gut) !important;
}
html.fwf-app .fwf-bannergrid > *{
  width: 100% !important; max-width: none !important; min-width: 0 !important;
  margin: 0 !important; flex: initial !important;
}
html.fwf-app .fwf-bannergrid .promo-banner,
html.fwf-app .fwf-bannergrid .wd-banner{ overflow: hidden; border-radius: 14px; }
html.fwf-app .fwf-bannergrid .promo-banner .wrapper-content-banner,
html.fwf-app .fwf-bannergrid .promo-banner .banner-subtitle{ padding: 10px !important; }
html.fwf-app .fwf-bannergrid .promo-banner .banner-title,
html.fwf-app .fwf-bannergrid .promo-banner .wd-entities-title{
  font-size: 13.5px !important; line-height: 1.3 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html.fwf-app .fwf-bannergrid .promo-banner .banner-subtitle,
html.fwf-app .fwf-bannergrid .promo-banner p{ font-size: 11px !important; line-height: 1.4 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.fwf-app .fwf-bannergrid .promo-banner .btn,
html.fwf-app .fwf-bannergrid .promo-banner .wd-button{ padding: 6px 11px !important; font-size: 10.5px !important; }

/* ---- footer, compact ---- */
html.fwf-app .wd-footer{ padding: 14px 0 6px !important; }
html.fwf-app .wd-footer .wd-widget-collapse,
html.fwf-app .wd-footer .widget{ margin-bottom: 8px !important; }
html.fwf-app .wd-footer .widget-title,
html.fwf-app .wd-footer .widgettitle{ font-size: 12.5px !important; margin-bottom: 5px !important; padding: 9px 0 !important; }
html.fwf-app .wd-footer .widget li{ margin-bottom: 2px !important; }
html.fwf-app .wd-footer .widget li a{ font-size: 12.5px !important; line-height: 1.7 !important; }
html.fwf-app .wd-footer p{ font-size: 12px !important; line-height: 1.6 !important; margin-bottom: 6px !important; }
/* the fixed strip under the footer: two tidy lines instead of a tall stack */
html.fwf-app .wd-copyrights,
html.fwf-app .site-info,
html.fwf-app .copyrights-wrapper{
  padding: 9px var(--app-gut) !important; font-size: 11px !important; line-height: 1.6 !important;
  text-align: center;
}
html.fwf-app .wd-copyrights .container,
html.fwf-app .copyrights-wrapper .container{
  display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 4px 10px; padding: 0 !important;
}
html.fwf-app .wd-copyrights .wd-col,
html.fwf-app .copyrights-wrapper .wd-col{ width: auto !important; padding: 0 !important; margin: 0 !important; }
html.fwf-app .wd-copyrights p,
html.fwf-app .copyrights-wrapper p{ margin: 0 !important; font-size: 11px !important; }
html.fwf-app .wd-copyrights img,
html.fwf-app .copyrights-wrapper img{ max-height: 20px; width: auto; }

/* ---- v2.3.2: banner cards fill their cell; the footer runs two to a row ---- */
/* the earlier absolute fill broke three-up rows; keep the banner in normal flow
   and just cap the picture's height instead */
html.fwf-app .fwf-bannergrid .promo-banner{ position: relative; }
html.fwf-app .fwf-bannergrid .promo-banner img{
  width: 100% !important; height: 108px !important; object-fit: cover; max-width: 100%;
}

/* the footer columns sit two to a row instead of one long stack */
html.fwf-app .wd-footer .wd-negative-gap > .e-con-inner{
  flex-direction: row !important; flex-wrap: wrap !important; gap: 10px 12px !important;
  align-items: flex-start !important;
}
html.fwf-app .wd-footer .wd-negative-gap > .e-con-inner > *{
  flex: 1 1 calc(50% - 6px) !important; width: auto !important; min-width: 0 !important;
  max-width: none !important; margin: 0 !important;
}
html.fwf-app .wd-footer .elementor-widget{ margin-bottom: 6px !important; }
html.fwf-app .wd-footer ul{ margin: 0 !important; }
html.fwf-app .wd-footer li{ margin: 0 0 1px !important; }
html.fwf-app .wd-footer li a{ font-size: 12px !important; line-height: 1.75 !important; }
html.fwf-app .wd-footer .elementor-heading-title{ font-size: 12.5px !important; margin-bottom: 4px !important; }
html.fwf-app .wd-footer img{ max-height: 34px; width: auto; }

/* ---- v2.3.3: the long footer blurb is trimmed on phones ---- */
html.fwf-app .wd-footer p,
html.fwf-app .wd-footer .elementor-widget-text-editor{
  font-size: 11.5px !important; line-height: 1.62 !important;
}
html.fwf-app .wd-footer .elementor-widget-text-editor p{
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px !important;
}
html.fwf-app .wd-footer .elementor-widget-heading{ margin-bottom: 3px !important; }
html.fwf-app .wd-footer .elementor-icon-list-item{ margin-bottom: 1px !important; }
html.fwf-app .wd-footer .elementor-icon-list-text{ font-size: 11.5px !important; line-height: 1.7 !important; }

/* ---- v2.3.4: WoodMart's own text blocks in the footer get the same trim ---- */
html.fwf-app .wd-footer .elementor-widget-wd_text_block,
html.fwf-app .wd-footer .elementor-widget-wd_text_block p{
  font-size: 11.5px !important; line-height: 1.6 !important;
}
html.fwf-app .wd-footer .elementor-widget-wd_text_block > .elementor-widget-container{
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
html.fwf-app .wd-footer .elementor-widget-wd_social_buttons{ margin-bottom: 4px !important; }
html.fwf-app .wd-footer .elementor-widget-wd_image_or_svg img{ max-height: 30px; width: auto; }
html.fwf-app .wd-footer .elementor-widget{ margin-bottom: 5px !important; }

/* ---- v2.3.5: the footer's info boxes are sized for a phone ---- */
html.fwf-app .wd-footer .elementor-widget-wd_infobox{ margin-bottom: 2px !important; }
html.fwf-app .wd-footer .wd-info-box{ padding: 0 !important; margin: 0 !important; gap: 8px; }
html.fwf-app .wd-footer .wd-info-box .info-box-icon,
html.fwf-app .wd-footer .wd-info-box .info-box-icon img,
html.fwf-app .wd-footer .wd-info-box .info-box-icon svg{ width: 26px !important; height: 26px !important;
  min-width: 26px; font-size: 20px !important; margin-bottom: 4px !important; }
html.fwf-app .wd-footer .wd-info-box .info-box-title,
html.fwf-app .wd-footer .wd-info-box .box-title{ font-size: 12.5px !important; line-height: 1.35 !important;
  margin-bottom: 2px !important; }
html.fwf-app .wd-footer .wd-info-box .info-box-inner,
html.fwf-app .wd-footer .wd-info-box p{ font-size: 11.3px !important; line-height: 1.55 !important;
  margin-bottom: 0 !important; }
html.fwf-app .wd-footer .elementor-widget-wd_text_block > .elementor-widget-container{ -webkit-line-clamp: 4; }
html.fwf-app .wd-footer .elementor-widget-wd_text_block{ margin-bottom: 8px !important; }
