/* assets/front.css */

/* Scope: homepage only by default (body.hfa-scope) */
body.hfa-scope{
  font-family: var(--hfa-font) !important;
  background: #f2f5fb;
}
body.hfa-scope .hfa-root,
body.hfa-scope .hfa-root *{
  box-sizing: border-box;
}

body.hfa-scope.hfa-page-fade{
  opacity: 0;
  transition: opacity .42s ease;
}
body.hfa-scope.hfa-page-fade.hfa-ready{
  opacity: 1;
}

body.hfa-scope .hfa-root{
  --hfa-gap: 14px;
  --hfa-gap-lg: 18px;
  --hfa-card-border: 2px solid var(--hfa-ink);
  --hfa-soft: rgba(27,74,142,.08);
  --hfa-surface: #fff;
  --hfa-surface-border: 1px solid rgba(27,74,142,.12);
  /* More "app" depth */
  --hfa-surface-shadow: 0 22px 70px rgba(15,31,59,.10);
  --hfa-shadow: 0 14px 34px rgba(15,23,42,.12);

  width: min(1220px, 100%);
  margin-inline: auto;
  padding: 14px 12px 110px; /* space for mobile bottom nav */
}

@media (min-width: 900px){
  body.hfa-scope .hfa-root{ padding: 18px 18px 40px; }
}

/* Reveal system */
body.hfa-scope .appify-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .42s ease, transform .42s ease;
}
body.hfa-scope .appify-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Generic buttons */
body.hfa-scope .hfa-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: var(--hfa-card-border);
  background: var(--hfa-brand);
  color: var(--hfa-ink);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--hfa-shadow);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.hfa-scope .hfa-btn:active{ transform: translateY(1px); }

/* Ripple base */
body.hfa-scope .appify-ripple{
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.hfa-scope .hfa-ripple-ink{
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%,-50%) scale(0);
  opacity: .25;
  background: currentColor;
  pointer-events: none;
  animation: hfaRipple .55s ease-out forwards;
}
@keyframes hfaRipple{
  to { transform: translate(-50%,-50%) scale(18); opacity: 0; }
}

/* HERO + Banner ratio engine */
body.hfa-scope .hfa-ratio{
  position: relative;
  border-radius: var(--hfa-radius);
  border: var(--hfa-card-border);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hfa-shadow);
}
body.hfa-scope .hfa-ratio::before{
  content:"";
  display:block;
  padding-top: calc(100% / (var(--hfa-ar, 3.4286)));
}
body.hfa-scope .hfa-ratio > .hfa-ratio-inner{
  position:absolute; inset:0;
  display:flex;
}

/* Use native aspect-ratio when supported */
@supports (aspect-ratio: 1 / 1){
  body.hfa-scope .hfa-ratio::before{ display:none; }
  body.hfa-scope .hfa-ratio{ aspect-ratio: var(--hfa-ar-str, 24/7); }
  body.hfa-scope .hfa-ratio > .hfa-ratio-inner{ position: static; inset:auto; width:100%; height:100%; }
}

body.hfa-scope .hfa-hero{
  margin-bottom: 12px;
}

/* App-like surfaces: every module gets its own card-like block */
body.hfa-scope .hfa-top,
body.hfa-scope .hfa-cats,
body.hfa-scope .hfa-trust,
body.hfa-scope .hfa-section,
body.hfa-scope .hfa-between,
body.hfa-scope .hfa-features,
body.hfa-scope .hfa-banners,
body.hfa-scope .hfa-pre-banner{
  background: var(--hfa-surface);
  border: var(--hfa-surface-border);
  border-radius: calc(var(--hfa-radius) + 2px);
  padding: 14px;
  box-shadow: var(--hfa-surface-shadow);
}

/* Search/top bar should NOT stay sticky while scrolling */
body.hfa-scope .hfa-top{ 
  position: static;
  z-index: 1;
  padding: 14px;
  backdrop-filter: none;
  background: var(--hfa-surface);
}

body.hfa-scope .hfa-top + .hfa-hero{ margin-top: 12px; }
body.hfa-scope .hfa-hero .swiper{
  width: 100%;
  height: 100%;
}
body.hfa-scope .hfa-hero .swiper-slide{
  height: 100%;
}
body.hfa-scope .hfa-hero-slide{
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}
body.hfa-scope .hfa-hero-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}
body.hfa-scope .hfa-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,var(--hfa-ov, .45)), rgba(0,0,0,0));
}
body.hfa-scope .hfa-hero-copy{
  position:absolute;
  inset-inline: 12px;
  bottom: 12px;
  display: grid;
  gap: 6px;
  max-width: 80%;
  color: #fff;
  text-shadow: 0 10px 35px rgba(0,0,0,.35);
}
body.hfa-scope .hfa-hero-title{
  font-size: clamp(18px, 3.6vw, 30px);
  font-weight: 900;
  line-height: 1.15;
}
body.hfa-scope .hfa-hero-subtitle{
  opacity: .95;
  font-weight: 600;
  font-size: clamp(12px, 2.6vw, 16px);
}
body.hfa-scope .hfa-hero-cta{
  justify-self: start;
  margin-top: 4px;
  background: rgba(239,227,173,.95);
  color: var(--hfa-ink);
}

/* Swiper UI */
body.hfa-scope .hfa-hero .swiper-pagination-bullet{
  background: rgba(255,255,255,.75);
  opacity: 1;
}
body.hfa-scope .hfa-hero .swiper-pagination-bullet-active{
  background: #fff;
}
body.hfa-scope .hfa-hero .swiper-button-prev,
body.hfa-scope .hfa-hero .swiper-button-next{
  width: 46px; height: 46px;
  border-radius: 999px;
  border: var(--hfa-card-border);
  background: rgba(255,255,255,.92);
  color: var(--hfa-ink);
  box-shadow: var(--hfa-shadow);
}
body.hfa-scope .hfa-hero .swiper-button-prev::after,
body.hfa-scope .hfa-hero .swiper-button-next::after{
  font-size: 16px;
  font-weight: 900;
}

/* Section header */
body.hfa-scope .hfa-section{
  margin-top: 14px;
}
body.hfa-scope .hfa-section-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
body.hfa-scope .hfa-section-title{
  font-weight: 900;
  font-size: 18px;
  color: var(--hfa-ink);
}
body.hfa-scope .hfa-section-more{
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  border: var(--hfa-card-border);
  background: #fff;
  color: var(--hfa-ink);
  text-decoration: none;
}

/* Product cards */
body.hfa-scope .hfa-products{
  position: relative;
}
body.hfa-scope .hfa-products.is-slider .swiper{
  /* Prevent theme conflicts that make slides wrap into a second row */
  overflow: hidden;
  padding: 8px 6px 18px;
}
body.hfa-scope .hfa-products.is-slider .swiper-wrapper{
  flex-wrap: nowrap !important;
}
body.hfa-scope .hfa-products .swiper-slide{
  height: auto;
  flex-shrink: 0;
}
body.hfa-scope .hfa-card{
  border: var(--hfa-card-border);
  border-radius: calc(var(--hfa-radius) + 2px);
  background: #fff;
  box-shadow: var(--hfa-shadow);
  overflow: hidden;
  position: relative;
  display: grid;
  gap: 10px;
  padding: 10px;
}
body.hfa-scope .hfa-card.appify-ripple{ cursor: pointer; }

/* Shine sweep (desktop hover only) */
@media (hover:hover) and (pointer:fine){
  body.hfa-scope .hfa-card[data-shine="1"]::after{
    content:"";
    position:absolute;
    inset: -30% -60%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-60%) rotate(12deg);
    transition: transform .65s ease;
    pointer-events:none;
  }
  body.hfa-scope .hfa-card[data-shine="1"]:hover::after{
    transform: translateX(60%) rotate(12deg);
  }
}

/* Image ratio */
body.hfa-scope .hfa-card-media{
  border-radius: calc(var(--hfa-radius) - 6px);
  overflow:hidden;
  background: #fff;
  border: 1px solid rgba(27,74,142,.18);
  position: relative;
}
body.hfa-scope .hfa-card-media::before{
  content:"";
  display:block;
  padding-top: calc(100% / (var(--hfa-img-ar, 1)));
}
@supports (aspect-ratio: 1 / 1){
  body.hfa-scope .hfa-card-media::before{ display:none; }
  body.hfa-scope .hfa-card-media{ aspect-ratio: var(--hfa-img-ar-str, 1/1); }
}
body.hfa-scope .hfa-card-media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}

/* Skeleton */
body.hfa-scope .hfa-skel{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(27,74,142,.08), rgba(27,74,142,.16), rgba(27,74,142,.08));
  background-size: 200% 100%;
  animation: hfaSkel 1.05s ease-in-out infinite;
  opacity: 1;
  transition: opacity .25s ease;
}
body.hfa-scope .hfa-skel.is-done{ opacity: 0; }
@keyframes hfaSkel{
  0%{ background-position: 0% 0; }
  100%{ background-position: 200% 0; }
}

body.hfa-scope .hfa-card-title{
  font-weight: 900;
  color: var(--hfa-ink);
  text-align: center;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.5em;
}

/* Price inline (fix ugly stacking) */
body.hfa-scope .hfa-price{
  display:flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-weight: 900;
}
body.hfa-scope .hfa-price-current{
  color: var(--hfa-ink);
}
body.hfa-scope .hfa-price-current.is-sale{
  color: #b30000;
}
body.hfa-scope .hfa-price-old{
  color: rgba(27,74,142,.55);
  text-decoration: line-through;
  font-weight: 800;
  font-size: 0.92em;
}

/* Rating */
body.hfa-scope .hfa-rating{
  display:flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  color: rgba(27,74,142,.85);
  font-weight: 800;
  font-size: 12px;
}
body.hfa-scope .hfa-stars{
  letter-spacing: 1px;
}

/* Add to cart */
body.hfa-scope .hfa-atc{
  width: 100%;
  height: 42px;
  border-radius: 999px !important;
  border: var(--hfa-card-border) !important;
  background: var(--hfa-brand) !important;
  color: var(--hfa-ink) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position: relative !important;
  overflow:hidden !important;
  margin-top: 2px;
}
body.hfa-scope .hfa-atc::before,
body.hfa-scope .hfa-atc::after{ content:none !important; }

/* Grid mode */
body.hfa-scope .hfa-grid{
  display:grid;
  gap: var(--hfa-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px){
  body.hfa-scope .hfa-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px){
  body.hfa-scope .hfa-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Slider spacing: premium peek */
body.hfa-scope .hfa-products.is-slider .swiper{
  padding-inline: 2px;
}
body.hfa-scope .hfa-products.is-slider .swiper-wrapper{
  align-items: stretch;
}

/* Between banners */
body.hfa-scope .hfa-between{
  margin-top: 14px;
}

/* Bottom nav */
body.hfa-scope .hfa-bottom-nav{
  position: fixed;
  inset-inline: 10px;
  bottom: 10px;
  z-index: 9999;
  border-radius: 999px;
  border: var(--hfa-card-border);
  background: rgba(255,255,255,.96);
  box-shadow: var(--hfa-shadow);
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
}
@media (min-width: 900px){
  body.hfa-scope .hfa-bottom-nav{ display:none; }
}
body.hfa-scope .hfa-nav-item{
  width: 25%;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--hfa-ink);
  font-weight: 900;
  font-size: 11px;
}
body.hfa-scope .hfa-nav-ico{
  width: 38px;
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(27,74,142,.25);
  background: rgba(239,227,173,.35);
}
body.hfa-scope .hfa-nav-item.is-active .hfa-nav-ico{
  border: var(--hfa-card-border);
  background: var(--hfa-brand);
}

/* FAB */
body.hfa-scope .hfa-fab{
  position: fixed;
  right: 16px;
  bottom: 86px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: var(--hfa-card-border);
  background: var(--hfa-brand);
  color: var(--hfa-ink);
  box-shadow: var(--hfa-shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
@media (min-width: 900px){
  body.hfa-scope .hfa-fab{ display:none; }
}
body.hfa-scope .hfa-cart-badge{
  position:absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #b30000;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Bottom sheet */
body.hfa-scope .hfa-sheet-backdrop{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.35);
  z-index: 9997;
  opacity: 0;
  pointer-events:none;
  transition: opacity .25s ease;
}
body.hfa-scope .hfa-sheet{
  position: fixed;
  left: 0; right: 0;
  bottom: -100%;
  z-index: 9998;
  background: #fff;
  border-radius: 22px 22px 0 0;
  border-top: var(--hfa-card-border);
  box-shadow: 0 -18px 45px rgba(15,23,42,.18);
  transition: transform .32s ease, bottom .32s ease;
  transform: translateY(0);
  max-height: 78vh;
  display:flex;
  flex-direction: column;
}
body.hfa-scope .hfa-sheet.is-open{
  bottom: 0;
}
body.hfa-scope .hfa-sheet-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}
body.hfa-scope .hfa-sheet-head{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(27,74,142,.12);
}
body.hfa-scope .hfa-sheet-title{
  font-weight: 900;
  color: var(--hfa-ink);
}
body.hfa-scope .hfa-sheet-close{
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(27,74,142,.2);
  background: rgba(239,227,173,.35);
  font-weight: 900;
  cursor:pointer;
}
body.hfa-scope .hfa-sheet-content{
  padding: 12px 14px 16px;
  overflow: auto;
}
body.hfa-scope .hfa-sheet-content .woocommerce-mini-cart__buttons a{
  border-radius: 999px !important;
  border: var(--hfa-card-border) !important;
  background: var(--hfa-brand) !important;
  color: var(--hfa-ink) !important;
  font-weight: 900 !important;
}

/* Debug badge */
body.hfa-scope .hfa-debug-badge{
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  opacity: .9;
}

/* ===== Mobile-first product card layout (fix) ===== */
body.hfa-scope .hfa-card{
  padding: 10px;
  gap: 10px;
}

body.hfa-scope .hfa-card-tap{
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

body.hfa-scope .hfa-card-title{
  font-size: 14px;
  min-height: auto;
  margin-top: 2px;
}

body.hfa-scope .hfa-price{
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

body.hfa-scope .hfa-card-atc{
  margin-top: 6px;
}

body.hfa-scope .hfa-atc{
  height: 44px;
  font-size: 14px;
}

/* Make slider cards not cramped */
body.hfa-scope .hfa-products.is-slider .swiper{
  padding-inline: 6px;
}
body.hfa-scope .hfa-products.is-slider .swiper-slide{
  padding-inline: 3px;
}

/* Better spacing on very small screens */
@media (max-width: 380px){
  body.hfa-scope .hfa-root{ padding-inline: 10px; }
  body.hfa-scope .hfa-card{ padding: 9px; }
  body.hfa-scope .hfa-atc{ height: 42px; }
}

/* Remove rating visuals completely (in case any leftover) */
body.hfa-scope .hfa-rating{ display:none !important; }

/* ===== Sticky Search ===== */
body.hfa-scope .hfa-search{
  display:flex;
  align-items:center;
  gap: 10px;
}
body.hfa-scope .hfa-search-ico{ font-size: 16px; opacity: .85; }
body.hfa-scope .hfa-search-input{
  flex: 1;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(27,74,142,.18);
  background: #fff;
  padding: 0 14px;
  font-weight: 800;
  outline: none;
}
body.hfa-scope .hfa-search-input:focus{
  border-color: rgba(27,74,142,.35);
  box-shadow: 0 0 0 4px rgba(27,74,142,.10);
}
body.hfa-scope .hfa-search-btn{
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(27,74,142,.22);
  background: var(--hfa-brand);
  color: var(--hfa-ink);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
}

/* ===== Trust strip ===== */
body.hfa-scope .hfa-trust{ margin-top: 10px; }
body.hfa-scope .hfa-trust-row{
  display:grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 700px){
  body.hfa-scope .hfa-trust-row{ grid-template-columns: 1fr; }
}
body.hfa-scope .hfa-trust-item{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(27,74,142,.12);
  background: rgba(27,74,142,.04);
  border-radius: calc(var(--hfa-radius) - 2px);
  padding: 10px 12px;
}
body.hfa-scope .hfa-trust-ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  border: 1px solid rgba(27,74,142,.14);
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}
body.hfa-scope .hfa-trust-title{ font-weight: 950; color: var(--hfa-ink); }
body.hfa-scope .hfa-trust-sub{ font-weight: 800; font-size: 12px; opacity: .75; }

/* ===== Browse Categories ===== */
body.hfa-scope .hfa-cats{ margin-top: 10px; }

body.hfa-scope .hfa-cats-head{
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 2px 0 10px;
}
body.hfa-scope .hfa-cats-title{
  font-weight: 950;
  font-size: 18px;
  color: var(--hfa-ink);
  letter-spacing: .2px;
}

/* Mobile-first: horizontal scroll row like the screenshot */
body.hfa-scope .hfa-cats-row{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
body.hfa-scope .hfa-cats-row::-webkit-scrollbar{ height: 6px; }
body.hfa-scope .hfa-cats-row::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}

body.hfa-scope .hfa-cat{
  flex: 0 0 auto;
  width: 86px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 8px;
  text-decoration: none;
  color: var(--hfa-ink);
  scroll-snap-align: start;
}
body.hfa-scope .hfa-cat-ico{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(27,74,142,.14);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
  overflow:hidden;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.hfa-scope .hfa-cat-ico img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
body.hfa-scope .hfa-cat-name{
  font-weight: 900;
  font-size: 13px;
  text-align:center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

/* Desktop: center row and disable scrollbar feel */
@media (min-width: 900px){
  body.hfa-scope .hfa-cats-row{
    justify-content: center;
    overflow: visible;
    padding: 10px 0 2px;
  }
}

/* Pre-banner spacing */
body.hfa-scope .hfa-prebanner{ margin-top: 14px; }


/* ====== Enhancements (Arabic Admin Controls) ====== */
body.hfa-scope .hfa-card-title{
  font-size: var(--hfa-card-title-m, 15px);
  line-height: 1.25;
}
body.hfa-scope .hfa-price{
  font-size: var(--hfa-price-m, 15px);
}
@media (min-width: 980px){
  body.hfa-scope .hfa-card-title{ font-size: var(--hfa-card-title-d, 16px); }
  body.hfa-scope .hfa-price{ font-size: var(--hfa-price-d, 16px); }
}

/* Informative section titles */
body.hfa-scope .hfa-section-title{
  font-size: var(--hfa-sec-title-m, 17px);
  font-weight: 800;
  letter-spacing: .2px;
}
@media (min-width: 980px){
  body.hfa-scope .hfa-section-title{ font-size: var(--hfa-sec-title-d, 19px); }
}

/* Section header visual */
body.hfa-scope.hfa-enh-head .hfa-section-head{
  position: relative;
  align-items: center;
  gap: 10px;
}
body.hfa-scope.hfa-enh-head .hfa-section-head::before{
  content:"";
  width: 10px;
  height: 22px;
  border-radius: 999px;
  background: var(--appify-ink, #1b4a8e);
  opacity: .95;
  display: inline-block;
}
body.hfa-scope.hfa-enh-headbg .hfa-section-head{
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(27,74,142,.10), rgba(27,74,142,0));
}

/* "عرض الكل" chip */
body.hfa-scope .hfa-section-more{
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
}

/* Center Add to Cart button text */
body.hfa-scope .hfa-atc{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 40px;
  line-height: 1.1 !important;
}

/* Slider nav buttons (positioned inside section surface) */
body.hfa-scope .hfa-products.is-slider{ position: relative; }
body.hfa-scope .hfa-swiper-btn{
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
  opacity: 0;
  pointer-events: none;
}
body.hfa-scope .hfa-swiper-btn::after{
  content: "›";
  font-size: 22px;
  font-weight: 900;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color: var(--appify-ink, #1b4a8e);
}
body.hfa-scope .hfa-swiper-prev{ right: 10px; }
body.hfa-scope .hfa-swiper-prev::after{ content:"‹"; }
body.hfa-scope .hfa-swiper-next{ left: 10px; }

/* Show arrows per config (set by JS data attributes) */
@media (min-width: 980px){
  body.hfa-scope.hfa-arrows-desktop .hfa-products.is-slider[data-hfa-arrows-desk="1"] .hfa-swiper-btn,
  body.hfa-scope.hfa-arrows-all .hfa-products.is-slider[data-hfa-arrows-desk="1"] .hfa-swiper-btn{
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 979px){
  body.hfa-scope.hfa-arrows-all .hfa-products.is-slider[data-hfa-arrows-mobile="1"] .hfa-swiper-btn{
    opacity: 1;
    pointer-events: auto;
  }
}

/* Fade edges for sliders */
body.hfa-scope.hfa-enh-fadeedges .hfa-products.is-slider::before,
body.hfa-scope.hfa-enh-fadeedges .hfa-products.is-slider::after{
  content:"";
  position:absolute;
  top: 52px;
  bottom: 6px;
  width: 26px;
  z-index: 4;
  pointer-events: none;
}
body.hfa-scope.hfa-enh-fadeedges .hfa-products.is-slider::before{
  right: 0;
  background: linear-gradient(270deg, rgba(248,249,251,1), rgba(248,249,251,0));
}
body.hfa-scope.hfa-enh-fadeedges .hfa-products.is-slider::after{
  left: 0;
  background: linear-gradient(90deg, rgba(248,249,251,1), rgba(248,249,251,0));
}
