/* ===== 55 PRINTING - POLISHED HOMEPAGE ===== */

:root {
  --brand: #558BCA;
  --brand-dark: #3a6da8;
  --brand-light: #e8f0fa;
  --brand-lighter: #7ab0e0;
  --brand-pale: #a8d0f0;
  --accent: #e11d48;
  --accent-2: #f59e0b;
  --dark: #1e293b;
  --text: #475569;
  --text-light: #94a3b8;
  --bg: #f4f7fb;
  --white: #fff;
  --border: #e6ebf2;
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 20px;
  --shadow: 0 1px 3px rgba(30,41,59,.06), 0 1px 2px rgba(30,41,59,.04);
  --shadow-md: 0 6px 20px rgba(30,41,59,.08);
  --shadow-lg: 0 16px 44px rgba(30,41,59,.14);
  --shadow-brand: 0 10px 28px rgba(85,139,202,.28);
  --t: 0.28s cubic-bezier(.22,1,.36,1);
  --t-fast: 0.18s cubic-bezier(.22,1,.36,1);
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
/* Reserve space for Font Awesome icons so text never shifts while the icon
   font is still loading (prevents layout jump on first load). */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
  display: inline-block;
  width: 1.125em;
  text-align: center;
  font-style: normal;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65; margin: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--brand); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-dark); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1280px; }
::selection { background: var(--brand); color: #fff; }
a:focus-visible, button:focus-visible, .form-control:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px;
}

/* ===== TOP BAR ===== */
.topbar { background: linear-gradient(90deg, #0f172a 0%, var(--dark) 55%, #24344d 100%); color: #cbd5e1; font-size: 13px; padding: 7px 0; }
.topbar-link {
  color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 20px; transition: all var(--t); font-weight: 500;
}
.topbar-link i { color: var(--brand-lighter); transition: transform var(--t), color var(--t); }
.topbar-link-whatsapp i { color: #25D366; }
.topbar-link-whatsapp:hover i { color: #34eb78; }
.topbar-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.topbar-link:hover i { transform: scale(1.15); }
.topbar-divider { color: #475569; margin: 0 2px; }
.topbar .container {
  flex-wrap: nowrap;
  gap: 2px;
}
.topbar .container > .d-flex {
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
}
.topbar-link,
.topbar-divider {
  white-space: nowrap;
}
.cart-badge {
  background: var(--accent); color: #fff; border-radius: 10px;
  padding: 1px 7px; font-size: 11px; font-weight: 700; margin-left: 2px;
  animation: cartPulse 2.5s ease-in-out infinite;
}
@keyframes cartPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,.4); }
  50% { box-shadow: 0 0 0 4px rgba(225,29,72,0); }
}

/* ===== SITE HEADER ===== */
.site-header-fixed {
  position: relative;
  width: 100%;
  z-index: 1040;
  background: #fff;
}

/* WordPress admin toolbar is disabled on the storefront (show_admin_bar filter).
   Neutralize any leftover reserved space so the header sits flush at the top. */
:root {
  --ff-admin-bar-height: 0px;
}
html {
  margin-top: 0 !important;
}
body.admin-bar #site-header {
  margin-top: 0;
}
#wpadminbar {
  display: none !important;
}

/* Tighten the gap between the header and page content */
#main-content.py-4 {
  padding-top: 0.5rem !important;
}
.site-with-sidebar .banner-carousel-wrap { margin-top: 0; }

.site-header-fixed .nav-wrap {
  position: static;
  top: auto;
}

/* ===== SECTION REVEAL (content only - header stays visible) ===== */
.reveal-section {
  opacity: 0;
  transform: translateY(2px);
  transition:
    opacity 0.1s ease-out,
    transform 0.1s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-section.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== HEADER + NAV (COMBINED) ===== */
.nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.combined-bar {
  padding: 9px 0;
  gap: 16px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.combined-bar > * {
  pointer-events: auto;
}
.nav-logo-area { flex-shrink: 0; }
.header-logo-link { flex-shrink: 0; display: block; }
.header-logo { height: 75px; width: auto; max-width: 100%; transition: transform var(--t); }
.header-logo:hover { transform: scale(1.02); }
.logo-divider {
  width: 1px; height: 36px; margin: 0 12px; flex-shrink: 0;
  background: linear-gradient(180deg, transparent, rgba(85,139,202,.15) 20%, rgba(85,139,202,.32) 50%, rgba(85,139,202,.15) 80%, transparent);
}
.ssl-badge { max-height: 38px; width: auto; opacity: 0.85; position: relative; top: 6px; left: 6px; }

/* Search (lives inside the nav pill) */
.header-search-wrap {
  flex: 0 1 241px; max-width: 241px; margin-left: 22px; display: flex; align-items: stretch;
  border-radius: 999px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: box-shadow var(--t);
}
.header-search-wrap:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.header-search-input {
  border: 0; outline: none; flex: 1; padding: 7px 16px;
  font-size: 13.5px; background: transparent; color: var(--text);
}
.header-search-btn {
  border: 0; background: linear-gradient(135deg, var(--brand), var(--brand-lighter)); color: #fff; padding: 0 16px;
  cursor: pointer; font-size: 14px; transition: filter var(--t);
}
.header-search-btn:hover { filter: brightness(1.08); }

/* ===== NAVBAR PILL ===== */
.nav-pill {
  /* White fade sits further left; solid brand blue under nav links by ~22% */
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 3%,
    var(--brand-pale) 12%,
    var(--brand) 22%,
    var(--brand) 58%,
    var(--brand-lighter) 100%
  );
  border-radius: 999px; min-height: 50px;
  padding: 0 8px 0 22px; position: relative; isolation: isolate;
}
/* Shadow lives on its own layer, masked so it fades out over the white
   "disappearing" zone instead of muddying the gradient blend into the header. */
.nav-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 4px 14px rgba(85,139,202,.32);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, #000 48%, #000 100%);
  z-index: -1; pointer-events: none;
}
/* Soft sliding light across the blue nav (Home / Payment / Tools / etc.)
   Sized to the pill (inset:0) and animated via background-position so it
   never expands page width / causes a horizontal scrollbar. */
.nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.08) 46%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.08) 54%,
    transparent 58%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: 120% 0;
  opacity: 1;
  animation: navPillGlowSlide 8.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 14%, #000 26%, #000 100%);
}
@keyframes navPillGlowSlide {
  0% { background-position: 120% 0; opacity: 1; }
  35% { background-position: -20% 0; opacity: 1; }
  42% { background-position: -20% 0; opacity: 0; }
  100% { background-position: -20% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-pill::after { animation: none; opacity: 0; }
}
.nav-pill .navbar-collapse,
.nav-pill .header-search-wrap,
.nav-pill .navbar-toggler {
  position: relative;
  z-index: 1;
}
.navbar { padding: 0 !important; width: 100%; position: static; }
.navbar-collapse { display: flex; align-items: center; width: 100%; gap: 26px; }
.navbar-nav { flex-direction: row; flex-wrap: nowrap; margin-left: auto; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.92) !important; font-weight: 600; font-size: 12px;
  font-family: var(--font-display); letter-spacing: 0;
  padding: 11px 8px !important; display: flex; align-items: center; gap: 4px;
  border-radius: 0; transition: color var(--t), background var(--t), box-shadow var(--t);
  position: relative; overflow: visible; white-space: nowrap;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px;
  background: #fff; border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.navbar-nav .nav-link .nav-link-label,
.navbar-nav .nav-link > i {
  display: inline-block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.45s ease;
  will-change: transform;
}
.navbar-nav .nav-link:hover .nav-link-label,
.navbar-nav .nav-link:focus-visible .nav-link-label {
  transform: scale(0.9);
}
.navbar-nav .nav-link:hover > i,
.navbar-nav .nav-link:focus-visible > i {
  transform: scale(1.2);
}
@media (prefers-reduced-motion: reduce) {
  .navbar-nav .nav-link .nav-link-label,
  .navbar-nav .nav-link > i {
    transition: none;
  }
  .navbar-nav .nav-link:hover .nav-link-label,
  .navbar-nav .nav-link:focus-visible .nav-link-label,
  .navbar-nav .nav-link:hover > i,
  .navbar-nav .nav-link:focus-visible > i {
    transform: none;
  }
}
.navbar-nav .nav-link:hover { color: #fff !important; background: rgba(255,255,255,.12); }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current_page_item > .nav-link,
.navbar-nav .nav-item.is-current > .nav-link {
  color: #fff !important;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 10px rgba(15, 23, 42, 0.14);
}
.navbar-nav .current-menu-item > .nav-link::after,
.navbar-nav .current_page_item > .nav-link::after,
.navbar-nav .nav-item.is-current > .nav-link::after {
  transform: scaleX(1);
}
.navbar-nav .current-menu-item > .nav-link:hover,
.navbar-nav .current_page_item > .nav-link:hover,
.navbar-nav .nav-item.is-current > .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.26);
}
.navbar-nav .current-menu-item > .nav-link i,
.navbar-nav .current_page_item > .nav-link i,
.navbar-nav .nav-item.is-current > .nav-link i {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}
.navbar-nav .nav-link i { font-size: 11px; }
.navbar-toggler { border-color: rgba(255,255,255,.3); padding: 5px 9px; margin-left: auto; }
.navbar-toggler-icon { width: 22px; height: 22px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

@media (max-width: 991.98px) {
  .combined-bar { gap: 10px; padding: 8px 0; }
  .logo-divider, .ssl-badge { display: none; }
  .nav-pill {
    background: linear-gradient(135deg, var(--brand), var(--brand-lighter));
    border-radius: 999px; min-height: 48px; padding: 6px;
    display: flex; align-items: center; flex-wrap: nowrap;
  }
  .nav-pill::before { -webkit-mask-image: none; mask-image: none; box-shadow: 0 3px 10px rgba(85,139,202,.3); }
  .nav-pill::after {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .navbar { flex-wrap: nowrap; align-items: center; }
  .navbar-collapse {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    background: linear-gradient(160deg, var(--brand), var(--brand-dark));
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    padding: 8px; z-index: 1040; flex-direction: column; gap: 2px; width: auto;
  }
  .navbar-collapse.collapsing, .navbar-collapse.show { display: flex; }
  .navbar-nav { flex-direction: column; width: 100%; margin-left: 0; }
  .navbar-nav .nav-link { padding: 12px 14px !important; border-radius: 10px; }
  .navbar-nav .nav-link:hover { background: rgba(255,255,255,.14); }
  .navbar-nav .nav-link::after { display: none; }
  .header-search-wrap {
    flex: 1 1 auto; max-width: none; min-width: 0; margin: 0 7.5px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
  }
  .header-search-input { padding: 9px 16px; font-size: 14px; }
  .header-search-btn { padding: 0 18px; }
  .navbar-toggler { flex-shrink: 0; margin-left: 0; padding: 8px 11px; }
}

/* Dropdown mega-menu */
.dropdown-menu {
  border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 0; min-width: 600px; max-width: 800px;
  margin-top: 10px !important; overflow: hidden;
  opacity: 0; visibility: hidden; display: block !important;
  transform: translateY(10px); pointer-events: none;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dropdown-menu-scroll { max-height: 70vh; overflow-y: auto; }
.dropdown-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.dropdown-col { padding: 12px 8px; border-right: 1px solid var(--border); }
.dropdown-col:last-child { border-right: 0; }
.dropdown-header-section {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  font-family: var(--font-display);
  color: var(--brand); padding: 8px 12px 6px; border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.dropdown-item {
  font-size: 13px; padding: 6px 12px; border-radius: var(--r-sm);
  transition: all var(--t-fast); color: var(--text);
}
.dropdown-item:hover { background: var(--brand-light); color: var(--brand-dark); padding-left: 16px; }

/* ===== CAROUSEL ===== */
.banner-carousel-wrap {
  position: relative;
  padding: 0 30px;
  margin-bottom: 6px;
  perspective: 1200px;
}
.banner-carousel {
  border-radius: var(--r-lg); overflow: visible;
  box-shadow: var(--shadow-brand), var(--shadow-md);
  margin-bottom: 0; border: 1px solid var(--brand-light); position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.18, 0.64, 1),
    box-shadow 0.5s cubic-bezier(0.34, 1.18, 0.64, 1),
    border-color 0.35s ease;
  will-change: transform;
}
.banner-carousel-wrap:hover .banner-carousel,
.banner-carousel-wrap.is-carousel-hover .banner-carousel {
  transform:
    translateY(-5px)
    scale(1.012)
    rotateX(var(--carousel-tilt-x, 0deg))
    rotateY(var(--carousel-tilt-y, 0deg));
  box-shadow:
    0 20px 44px rgba(85, 139, 202, 0.34),
    0 10px 26px rgba(30, 41, 59, 0.1);
  border-color: rgba(85, 139, 202, 0.42);
}
.banner-carousel .carousel-inner {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.banner-carousel .carousel-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}
.banner-carousel-wrap:hover .banner-carousel .carousel-inner::after,
.banner-carousel-wrap.is-carousel-hover .banner-carousel .carousel-inner::after {
  transform: translateX(130%);
}
.banner-carousel .carousel-item {
  background: #fff;
  aspect-ratio: 1000 / 218;
}
.banner-carousel .carousel-item img,
.banner-carousel .carousel-slide-img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
    filter 0.45s ease;
  transform:
    scale(1)
    translate(var(--slide-shift-x, 0px), var(--slide-shift-y, 0px));
}
.banner-carousel-wrap:hover .carousel-item.active .carousel-slide-img,
.banner-carousel-wrap.is-carousel-hover .carousel-item.active .carousel-slide-img {
  transform:
    scale(1.035)
    translate(var(--slide-shift-x, 0px), var(--slide-shift-y, 0px));
  filter: brightness(1.03) saturate(1.06);
}
.carousel-slide-link {
  display: block; line-height: 0; height: 100%;
  transition: opacity 0.35s ease;
}
.banner-carousel-wrap:hover .carousel-slide-link:hover,
.banner-carousel-wrap.is-carousel-hover .carousel-slide-link:hover {
  opacity: 0.96;
}
.banner-carousel.carousel-fade .carousel-item { transition: opacity .6s ease; }
.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
  width: 30px; height: 30px; top: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 0; border-radius: 50%; opacity: 0;
  backdrop-filter: blur(4px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    background 0.3s ease;
}
.banner-carousel .carousel-control-prev {
  transform: translateY(-50%) translateX(8px);
}
.banner-carousel .carousel-control-next {
  transform: translateY(-50%) translateX(-8px);
}
.banner-carousel-wrap:hover .carousel-control-prev,
.banner-carousel-wrap:hover .carousel-control-next,
.banner-carousel-wrap.is-carousel-hover .carousel-control-prev,
.banner-carousel-wrap.is-carousel-hover .carousel-control-next {
  opacity: 1;
}
.banner-carousel-wrap:hover .carousel-control-prev,
.banner-carousel-wrap.is-carousel-hover .carousel-control-prev {
  transform: translateY(-50%) translateX(0);
}
.banner-carousel-wrap:hover .carousel-control-next,
.banner-carousel-wrap.is-carousel-hover .carousel-control-next {
  transform: translateY(-50%) translateX(0);
}
.banner-carousel .carousel-control-prev:hover,
.banner-carousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.22);
}
.banner-carousel .carousel-control-prev:hover {
  transform: translateY(-50%) scale(1.08);
}
.banner-carousel .carousel-control-next:hover {
  transform: translateY(-50%) scale(1.08);
}
.banner-carousel .carousel-control-prev-icon,
.banner-carousel .carousel-control-next-icon {
  width: 22px; height: 22px; background-size: 100% 100%;
  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,.32))
    drop-shadow(0 3px 10px rgba(0,0,0,.16));
  opacity: .72;
  transition: opacity var(--t), filter var(--t), transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.banner-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.banner-carousel .carousel-control-next:hover .carousel-control-next-icon {
  opacity: .98;
  transform: scale(1.08);
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,.38))
    drop-shadow(0 5px 14px rgba(0,0,0,.22));
}
.banner-carousel .carousel-control-prev { left: -28px; }
.banner-carousel .carousel-control-next { right: -28px; }
@media (max-width: 767px) {
  .banner-carousel-wrap { padding: 0 22px; }
  .banner-carousel .carousel-control-prev { left: -20px; }
  .banner-carousel .carousel-control-next { right: -20px; }
  .banner-carousel-wrap:hover .banner-carousel,
  .banner-carousel-wrap.is-carousel-hover .banner-carousel {
    transform: translateY(-3px) scale(1.008);
  }
}
.banner-carousel .carousel-indicators { margin-bottom: 10px; z-index: 3; }
.banner-carousel .carousel-indicators li {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55);
  border: 0; margin: 0 4px;
  transition: all 0.4s cubic-bezier(0.34, 1.25, 0.64, 1);
  opacity: 1;
  transform: scale(1);
}
.banner-carousel-wrap:hover .carousel-indicators li,
.banner-carousel-wrap.is-carousel-hover .carousel-indicators li {
  background: rgba(255, 255, 255, 0.72);
  transform: scale(1.12);
}
.banner-carousel-wrap:hover .carousel-indicators li:hover,
.banner-carousel-wrap.is-carousel-hover .carousel-indicators li:hover {
  transform: scale(1.28);
  background: #fff;
}
.banner-carousel .carousel-indicators li.active {
  width: 22px; border-radius: 4px; background: #fff;
  transform: scale(1.05);
}
.banner-carousel-wrap:hover .carousel-indicators li.active,
.banner-carousel-wrap.is-carousel-hover .carousel-indicators li.active {
  width: 26px;
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .banner-carousel,
  .banner-carousel .carousel-slide-img,
  .banner-carousel .carousel-inner::after,
  .banner-carousel .carousel-control-prev,
  .banner-carousel .carousel-control-next,
  .banner-carousel .carousel-indicators li {
    transition: none !important;
  }
  .banner-carousel-wrap:hover .banner-carousel,
  .banner-carousel-wrap.is-carousel-hover .banner-carousel {
    transform: none;
  }
  .banner-carousel-wrap:hover .carousel-item.active .carousel-slide-img,
  .banner-carousel-wrap.is-carousel-hover .carousel-item.active .carousel-slide-img {
    transform: none;
    filter: none;
  }
}

/* ===== SECTION TITLE ===== */
.section-title-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding: 14px 20px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-lighter) 50%, var(--brand-pale) 100%);
  box-shadow: var(--shadow-brand); position: relative; overflow: hidden;
}
.section-title-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.28), transparent);
  animation: shineSweep 5s ease-in-out infinite;
}
@keyframes shineSweep { 0% { left: -60%; } 45%, 100% { left: 120%; } }
.section-title-bar h2 {
  font-size: 21px; font-weight: 800; color: #fff; margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,.12);
  font-family: var(--font-display); letter-spacing: -0.01em; position: relative; z-index: 1;
}
.section-title-badge {
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.22); padding: 5px 15px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.35); position: relative; z-index: 1; white-space: nowrap;
}

/* ===== SIDEBAR CARDS ===== */
.sidebar-card {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 18px; transition: box-shadow var(--t);
}
.sidebar-card:hover { box-shadow: var(--shadow-md); }
.sidebar-card-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-lighter) 60%, var(--brand-pale) 100%);
  color: #fff; font-size: 15px; font-weight: 700; padding: 13px 16px;
  font-family: var(--font-display); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.sidebar-card-header i { font-size: 14px; }
.sidebar-card-body { padding: 14px 16px; }

/* Sidebar categories */
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-cat-list li { border-bottom: 1px solid #f1f5f9; }
.sidebar-cat-list li:last-child { border-bottom: 0; }
.sidebar-cat-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 16px; font-size: 13px; color: var(--text);
  position: relative;
  border-left: 3px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast);
}
.sidebar-cat-list li a .cat-label { flex: 1; line-height: 1.35; }
.sidebar-cat-list li a .cat-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: linear-gradient(145deg, #eef4fc, #e2ecf8);
  color: var(--brand); font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.sidebar-cat-list li a .cat-icon i { display: block; transform-origin: center center; will-change: transform; }
.sidebar-cat-list li a:hover { background: var(--brand-light); color: var(--brand-dark); border-left-color: var(--brand); transform: translateX(2px); }
.sidebar-cat-list li a:hover .cat-icon {
  background: linear-gradient(145deg, var(--brand), var(--brand-lighter));
  color: #fff; box-shadow: 0 3px 10px rgba(85,139,202,.35);
}
.sidebar-cat-list li a:not(.is-header):hover .cat-icon i {
  animation: catIconSpin 0.45s cubic-bezier(.22,1,.36,1) forwards;
}
.sidebar-cat-list li a.is-all:hover .cat-icon i {
  animation: catIconSpin 0.45s cubic-bezier(.22,1,.36,1) forwards;
}
.sidebar-cat-list li a.is-header:hover .cat-icon i {
  animation: catIconWiggle 0.5s ease-in-out;
}
@keyframes catIconSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.12); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes catIconWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}
.sidebar-cat-list li a.is-header { font-weight: 700; color: var(--dark); font-size: 13px; background: linear-gradient(90deg, var(--brand-light) 0%, #f8fafc 100%); border-left-color: var(--brand); }
.sidebar-cat-list li a.is-header .cat-icon {
  background: linear-gradient(145deg, #fff7ed, #ffedd5);
  color: #ea580c;
}
.sidebar-cat-list li a.is-header .cat-label { color: var(--brand); }
.sidebar-cat-list li a.is-product {
  padding-left: 30px; padding-right: 12px; font-size: 12.5px;
}
.sidebar-cat-list li a.is-product .cat-icon {
  width: 24px; height: 24px; font-size: 10px; border-radius: 6px; opacity: 0.92;
}
.sidebar-cat-list li a.is-all { font-weight: 700; color: var(--brand); border-top: 2px solid var(--brand-light); }
.sidebar-cat-list li a.is-all .cat-icon {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #059669;
}

/* View More Products - lazy-loaded extra list */
.sidebar-cat-more-wrap { border-top: 2px solid var(--brand-light); }
.sidebar-cat-more-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px 10px 16px; font-size: 13px; font-weight: 700;
  color: var(--brand); background: #fff; border: 0; border-left: 3px solid transparent;
  cursor: pointer; text-align: left;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast);
}
.sidebar-cat-more-btn .cat-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #059669; font-size: 13px;
}
.sidebar-cat-more-btn:hover { background: var(--brand-light); color: var(--brand-dark); border-left-color: var(--brand); transform: translateX(2px); }
.sidebar-cat-more-btn.is-loading { opacity: 0.75; cursor: wait; }
.sidebar-cat-more-btn:disabled { cursor: default; }
.sidebar-cat-more-icon { transition: transform 0.35s cubic-bezier(.22,1,.36,1); }
.sidebar-cat-more-icon.is-flipped { transform: rotate(180deg); }

.sidebar-cat-extra-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(.22,1,.36,1);
}
.sidebar-cat-extra-panel.is-open { border-top: 1px solid #e2e8f0; }
.sidebar-cat-extra-list { border-top: 0; }
.sidebar-cat-extra-header {
  border-bottom: 1px solid #f1f5f9;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--ff-extra-delay, 0ms);
}
.sidebar-cat-extra-header-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 16px; font-size: 13px; font-weight: 700;
  color: var(--brand); background: linear-gradient(90deg, var(--brand-light) 0%, #f8fafc 100%);
  border-left: 3px solid var(--brand);
}
.sidebar-cat-extra-header .cat-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; background: linear-gradient(145deg, #fff7ed, #ffedd5);
  color: #ea580c; font-size: 13px;
}
.sidebar-cat-extra-item {
  border-bottom: 1px solid #f1f5f9;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--ff-extra-delay, 0ms);
}
.sidebar-cat-extra-list.is-visible .sidebar-cat-extra-header,
.sidebar-cat-extra-list.is-visible .sidebar-cat-extra-item {
  opacity: 1;
  transform: translateY(0);
}
.sidebar-cat-extra-item a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 30px; font-size: 12.5px; color: var(--text);
  border-left: 3px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast);
}
.sidebar-cat-extra-item a .cat-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; background: linear-gradient(145deg, #eef4fc, #e2ecf8);
  color: var(--brand); font-size: 10px;
}
.sidebar-cat-extra-item a:hover {
  background: var(--brand-light); color: var(--brand-dark);
  border-left-color: var(--brand); transform: translateX(2px);
}
.sidebar-cat-extra-item a.is-active {
  background: var(--brand-light); color: var(--brand-dark); font-weight: 700; border-left-color: var(--brand);
}
.sidebar-cat-extra-all a { font-weight: 700; color: var(--brand); border-top: 2px solid var(--brand-light); padding-left: 16px; }

/* Site layout: both sidebars scroll with the page (no sticky follow) */
.site-sidebar-left {
  position: static;
  align-self: flex-start;
}
.site-sidebar-right {
  position: static;
  align-self: flex-start;
}
.sidebar-cat-list li a.is-active {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 700;
  border-left-color: var(--brand);
}
.sidebar-cat-list li a.is-active .cat-icon {
  background: linear-gradient(145deg, var(--brand), var(--brand-lighter));
  color: #fff;
}
.site-product-main #ccf-isolated-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* -------------------------------------------------------------------------
 * Contact card is HOMEPAGE ONLY (#sidebar-right in front-page.php).
 * NEVER hide it on body.home - customers expect phone/email on the right column.
 * Product pages must not show it; homepage must always show it on md+ screens.
 * ---------------------------------------------------------------------- */
/* Contact card is homepage-only; belt-and-suspenders if markup ever leaks onto product pages */
body.ff-product-page #sidebar-right {
  display: none !important;
}
@media (min-width: 768px) {
  body.home #sidebar-right {
    display: block !important;
  }
}

/* Keep theme shell Bootstrap rows as flex (imported page content must not break layout) */
.site-with-sidebar #main-content > .container > .row {
  display: flex;
  flex-wrap: wrap;
}

/* Posts and pages: use full width beside the category sidebar */
.site-main-full {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}
.single-post-wrap,
.page-wrap {
  width: 100%;
  max-width: 100%;
}
.single-post-title,
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.single-post-meta,
.post-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.single-post-content,
.page-content {
  width: 100%;
  max-width: 100%;
}
.single-post-content > *,
.page-content > * {
  max-width: 100%;
}
.single-post-content img,
.page-content img,
.single-post-content iframe,
.page-content iframe,
.single-post-content table,
.page-content table {
  max-width: 100%;
  height: auto;
}
.single-post-content table,
.page-content table {
  display: block;
  overflow-x: auto;
}

/* Neutralize leftover scraped Bootstrap grid inside imported content so it
   uses the full column width instead of nesting a second col-lg-9 wrapper. */
.single-post-content .container,
.page-content .container,
.single-post-content .body-container,
.page-content .body-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.single-post-content .row,
.page-content .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.single-post-content [class*="col-"],
.page-content [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Imported post/page body: readable typography + hide duplicate legacy chrome */
.single-post-content .page-header,
.page-content .page-header,
.single-post-content .breadcrumb_container,
.page-content .breadcrumb_container,
.single-post-content ul.breadcrumb,
.page-content ul.breadcrumb {
  display: none !important;
}
.single-post-content,
.page-content {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}
.single-post-content p,
.page-content p {
  margin-bottom: 1rem;
  font-size: inherit !important;
  line-height: inherit;
}
.single-post-content p[style*="font-size"],
.page-content p[style*="font-size"] {
  font-size: inherit !important;
}
.single-post-content h2,
.single-post-content h3,
.page-content h2,
.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.single-post-content img[style*="width"]:not(.ff-content-image):not(.ff-auto-image-block img),
.page-content img[style*="width"]:not(.ff-content-image):not(.ff-auto-image-block img) {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1rem auto;
}

/* Banner image link to product page */
.single-post-content .post-banner-link,
.page-content .post-banner-link {
  display: block;
  text-decoration: none;
  border: none;
  outline: none;
}
.single-post-content .post-banner-link img,
.page-content .post-banner-link img {
  transition: opacity 0.2s ease;
}
.single-post-content .post-banner-link:hover img,
.page-content .post-banner-link:hover img {
  opacity: 0.85;
}

/* Auto-inserted and gallery content images - capped at 60%, polished, interactive */
.ff-auto-image-block,
.ff-design-thumb-grid.ff-auto-image-block {
  text-align: center;
  margin: 1.25rem auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ff-auto-image-block > a,
.ff-design-thumb-grid .col-6 > a,
.ff-design-thumb-grid .col-md-4 > a,
.ff-design-thumb-grid .col-lg-3 > a {
  display: inline-block;
  max-width: 60%;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t);
}
/* Images without a link wrapper (figure or bare img) */
.ff-auto-image-block > img,
.ff-auto-image-block figure,
.ff-auto-image-block figure img {
  display: block;
  max-width: 60% !important;
  width: 100%;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: var(--r-lg) !important;
  border: 1px solid rgba(85, 139, 202, 0.14);
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t), filter var(--t);
}
.ff-auto-image-block > img:hover,
.ff-auto-image-block figure:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.03) saturate(1.04);
}
.ff-auto-image-block > a:hover,
.ff-design-thumb-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ff-auto-image-block img,
.ff-auto-image-block .ff-content-image,
.ff-design-thumb-grid.ff-auto-image-block img,
.page-content .ff-auto-image-block img,
.single-post-content .ff-auto-image-block img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: var(--r-lg) !important;
  border: 1px solid rgba(85, 139, 202, 0.12);
  box-shadow: none;
  transition: transform var(--t), filter var(--t);
}
.ff-auto-image-block > a:hover img,
.ff-design-thumb-grid a:hover img {
  transform: scale(1.02);
  filter: brightness(1.03) saturate(1.04);
}
/* Override inline max-width from legacy inserts */
.ff-auto-image-block img[style*="max-width"],
.ff-auto-image-block figure img[style*="max-width"] {
  max-width: 100% !important;
}
/* Design gallery grid: smaller tiles, same polish */
.ff-design-thumb-grid.ff-auto-image-block .col-6,
.ff-design-thumb-grid.ff-auto-image-block .col-md-4,
.ff-design-thumb-grid.ff-auto-image-block .col-lg-3 {
  display: flex;
  justify-content: center;
}
.ff-design-thumb-grid.ff-auto-image-block a {
  max-width: 100%;
  width: 100%;
}
.ff-design-thumb-grid.ff-auto-image-block img {
  border-radius: var(--r) !important;
}
@media (max-width: 767.98px) {
  .ff-auto-image-block > a,
  .ff-auto-image-block > img,
  .ff-auto-image-block figure,
  .ff-auto-image-block figure img {
    max-width: 85% !important;
  }
}
.single-post-content #middle-content,
.page-content #middle-content,
.single-post-content #cms_page,
.page-content #cms_page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.single-post-content .container.my-4,
.page-content .container.my-4,
.single-post-content .body-container.my-4,
.page-content .body-container.my-4 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767.98px) {
  .single-post-wrap .single-post-title,
  .page-wrap .page-title {
    font-size: clamp(1.2rem, 5.2vw, 1.6rem);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .single-post-meta {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem !important;
  }
  .single-post-content,
  .page-content {
    font-size: 1.0625rem;
    line-height: 1.72;
  }
  .single-post-content .landing_page > p:not(:empty),
  .page-content .landing_page > p:not(:empty) {
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
    border-radius: 8px;
    border-left: 3px solid var(--brand);
    margin-bottom: 0.5rem;
  }
  .single-post-content .landing_page > p:empty,
  .page-content .landing_page > p:empty {
    display: none;
  }
  .site-with-sidebar #main-content > .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .single-post-content h2,
  .page-content h2 {
    font-size: 1.25rem;
  }
  .single-post-content h3,
  .page-content h3 {
    font-size: 1.1rem;
  }
  .single-post-content hr,
  .page-content hr {
    margin: 1.25rem 0;
  }
}


/* ===== BREADCRUMB (white nav strip, right-aligned; sits under search, clear of blue pill) ===== */
.header-breadcrumb-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 3;
  margin-top: -16px;
  margin-bottom: -10px;
  padding-bottom: 0;
  background: transparent;
  border: 0;
  pointer-events: auto;
}
.site-breadcrumb {
  display: flex;
  justify-content: flex-end;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: auto;
}
.site-breadcrumb-list {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.06rem;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;
  padding: 0.14rem 0.34rem 0.14rem 0.18rem;
  list-style: none;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  font-size: 10.5px;
  line-height: 1.2;
  color: #64748b;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fd 55%, #eaf3fb 100%);
  border: 1px solid rgba(85, 139, 202, 0.16);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(58, 109, 168, 0.05);
}
.site-breadcrumb-lead {
  display: inline-flex;
  align-items: center;
  margin: 0 0.1rem 0 0;
  list-style: none;
  flex-shrink: 0;
}
.site-breadcrumb-lead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--brand);
  box-shadow: 0 1px 1px rgba(85, 139, 202, 0.12);
}
.site-breadcrumb-lead-icon svg {
  display: block;
  width: 8px;
  height: 8px;
}
.site-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #64748b;
  position: relative;
  pointer-events: auto;
}
.site-breadcrumb-item:not(.is-current) {
  max-width: 9rem;
}
.site-breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin: 0 0.16rem 0 0.18rem;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #cbd5e1;
  user-select: none;
}
.site-breadcrumb-item:not(.is-current) a,
.site-breadcrumb-item:not(.is-current) span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.site-breadcrumb-item.is-current {
  max-width: none;
  flex-shrink: 0;
  min-width: auto;
}
.site-breadcrumb-item.is-current a {
  display: inline-block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  vertical-align: bottom;
  color: #8fa8be;
  font-weight: 500;
  padding: 0.14rem 0.42rem;
}
.site-breadcrumb-item a {
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  color: #7aa8cf;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.14rem 0.42rem;
  transition:
    color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.site-breadcrumb-item a:hover {
  color: #4a86b8;
  background: rgba(85, 139, 202, 0.2);
  box-shadow: inset 0 0 0 1px rgba(85, 139, 202, 0.28);
  text-decoration: none;
  transform: translateY(-1px);
}
.site-breadcrumb-item a:active {
  color: #3d78ab;
  background: rgba(85, 139, 202, 0.28);
  transform: translateY(0);
  box-shadow: inset 0 0 0 1px rgba(85, 139, 202, 0.34);
}
.site-breadcrumb-item.is-current a:hover {
  color: #5a84a8;
  background: rgba(85, 139, 202, 0.16);
  box-shadow: inset 0 0 0 1px rgba(85, 139, 202, 0.22);
}
.site-breadcrumb-item a:focus-visible {
  outline: 2px solid rgba(85, 139, 202, 0.45);
  outline-offset: 1px;
}
@media (max-width: 991.98px) {
  .site-breadcrumb-item:not(.is-current) {
    max-width: 7rem;
  }
}
@media (max-width: 575.98px) {
  .header-breadcrumb-bar {
    margin-top: -8px;
    margin-bottom: -8px;
  }
  .site-breadcrumb-list {
    font-size: 10px;
  }
  .site-breadcrumb-item:not(.is-current) {
    max-width: 5.5rem;
  }
}

/* ===== PRODUCT CARDS ===== */
.product-box { margin-bottom: 20px; padding: 0 9px; }
.product-card {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  position: relative; border: 1px solid transparent;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2), var(--brand-lighter));
  background-size: 200% 100%; opacity: 0; transition: opacity var(--t); z-index: 2;
}
.product-card:hover::before { opacity: 1; animation: gradientShift 2s linear infinite; }
@keyframes gradientShift { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
.product-card:hover {
  box-shadow: var(--shadow-brand), var(--shadow-lg);
  transform: translateY(-6px); border-color: var(--brand-light);
}
.product-card-img-wrap {
  overflow: hidden; background: linear-gradient(145deg, #f4f8fd, #eaf1fa); aspect-ratio: 1/1; position: relative;
}
.product-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.08); }
.product-card-img-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30,41,59,.06) 100%);
  opacity: 0; transition: opacity var(--t);
}
.product-card:hover .product-card-img-wrap::after { opacity: 1; }
.product-card-title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; color: var(--dark);
  padding: 14px 12px 4px; margin: 0; text-align: center; line-height: 1.28;
  letter-spacing: -0.01em; transition: color var(--t);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.6em;
}
.product-card:hover .product-card-title { color: var(--brand); }
.product-card-desc {
  font-size: 12px; color: var(--text-light); line-height: 1.5;
  padding: 0 14px 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-footer {
  padding: 0 14px 16px; display: flex; justify-content: center;
}
.product-card-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-lighter)); color: #fff; font-size: 12px; font-weight: 700;
  padding: 7px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px;
  transition: all var(--t); border: 0; box-shadow: 0 3px 10px rgba(85,139,202,.3);
}
.product-card-btn:hover { filter: brightness(1.08); gap: 8px; box-shadow: 0 5px 16px rgba(85,139,202,.4); transform: translateY(-1px); }
.product-card-link { position: absolute; inset: 0; z-index: 1; }
.product-card-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 575px) {
  .product-card-title { font-size: 14px; padding: 12px 10px 4px; min-height: 2.5em; }
}

/* ===== CONTACT CARD ===== */
.contact-rating-badge { padding: 8px 0 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.contact-stars { color: #f59e0b; font-size: 18px; letter-spacing: 3px; }
.contact-rating-text { font-size: 12px; margin: 4px 0 0; }
.contact-rating-sub { font-size: 10px; color: var(--text-light); margin: 0; }
.contact-info { padding: 0 0 12px; }
.contact-welcome { font-size: 13px; color: var(--text); margin-bottom: 14px; }
.contact-welcome small { color: var(--text-light); font-size: 11px; }
.contact-phone { margin-bottom: 10px; }
.contact-phone small { font-size: 11px; color: var(--text-light); display: block; }
.contact-phone a { font-size: 21px; font-weight: 800; color: var(--brand); font-family: var(--font-display); transition: color var(--t); }
.contact-phone a:hover { color: var(--brand-dark); }
.contact-email { font-size: 13px; margin-bottom: 10px; }
.contact-email a { color: var(--text); }
.contact-email a:hover { color: var(--brand); }
.contact-address { font-size: 12px; color: var(--text); line-height: 1.6; margin-top: 10px; }
.contact-address strong { color: var(--dark); font-size: 12px; }
.contact-address small { color: var(--text-light); }

/* Social icons */
.social-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.social-icon {
  display: inline-flex; justify-content: center; align-items: center;
  width: 34px; height: 34px; border-radius: 50%; text-decoration: none;
  transition: background-color var(--t), color var(--t), transform var(--t), border-color var(--t), box-shadow var(--t);
}
.social-row .social-icon {
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-light); font-size: 14px;
}
.social-row .social-icon:hover {
  transform: scale(1.12) translateY(-2px);
  border-color: var(--brand); color: var(--brand);
  box-shadow: 0 4px 12px rgba(85,139,202,.22);
}

/* Info links */
.info-links { padding: 0 !important; }
.info-link-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: var(--dark);
  border-bottom: 1px solid #f1f5f9; transition: all var(--t);
}
.info-link-item:last-of-type { border-bottom: 0; }
.info-link-item:hover { background: var(--brand-light); color: var(--brand-dark); padding-left: 18px; }
.info-link-item i { background: linear-gradient(135deg, var(--brand), var(--brand-lighter)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 15px; width: 20px; text-align: center; }

/* Information Box extras (price match, phone pay, partners) */
.sidebar-info-extras {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px !important;
}
.sidebar-price-match {
  display: inline-block;
  margin-bottom: 14px;
  transition: transform var(--t), opacity var(--t);
}
.sidebar-price-match:hover { transform: translateY(-2px); opacity: 0.92; }
.sidebar-price-match img {
  display: block;
  max-width: 174px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.sidebar-phone-pay {
  margin: 0 0 14px;
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: #f8fafc;
}
.sidebar-phone-pay-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  line-height: 1.35;
}
.sidebar-pay-icons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin: 12px 0 0;
  width: 100%;
}
.sidebar-pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 28px;
  padding: 3px 2px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.sidebar-pay-icon img {
  display: block;
  max-width: 100%;
  max-height: 18px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sidebar-pay-icon:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  box-shadow: 0 2px 6px rgba(85,139,202,.16);
}
.sidebar-thanks {
  font-size: 12px;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 12px;
}

/* Payment */
.payment-phone {
  display: inline-block;
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-display);
  transition: color var(--t);
}
.payment-phone:hover { color: var(--brand); }

/* Partner */
.partner-text { font-size: 12px; color: var(--text-light); margin-bottom: 6px; line-height: 1.4; }
.partner-links { font-size: 13px; margin-bottom: 12px; }
.partner-links a { font-weight: 700; }
.discount-link {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 8px 12px; font-size: 12px; font-weight: 600;
  color: var(--dark); transition: all var(--t);
}
.discount-link:hover { border-color: var(--accent); color: var(--accent); background: #fef2f7; }
.discount-link i { color: var(--accent); margin-right: 5px; }

/* cheapRUSH similar-product link on product pages */
.ff-crp-similar {
  margin: 14px 0 18px;
}
.ff-crp-similar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
  border: 1px solid #dbe7f5;
  border-radius: var(--r-md, 10px);
  color: var(--dark);
  text-decoration: none;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.ff-crp-similar__link:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(85,139,202,.16);
  transform: translateY(-1px);
  color: var(--dark);
  text-decoration: none;
}
.ff-crp-similar__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbe7f5;
  color: var(--brand);
  font-size: 13px;
}
.ff-crp-similar__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ff-crp-similar__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
}
.ff-crp-similar__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}
.ff-crp-similar__cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.ff-crp-similar__cta i { margin-left: 4px; font-size: 11px; }
.product-page-hero .ff-crp-similar { margin: 12px 0 0; }
@media (max-width: 575.98px) {
  .ff-crp-similar__link { padding: 10px 12px; gap: 10px; }
  .ff-crp-similar__cta { display: none; }
}

/* ===== FOOTER ===== */
.footer-wrap {
  background: linear-gradient(180deg, var(--dark) 0%, #0f172a 100%);
  color: #94a3b8;
  margin-top: 24px;
  position: relative;
}
.footer-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-lighter), var(--accent-2));
}
.ff-footer-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ff-footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: nowrap;
}
.ff-footer-trust-item i {
  color: var(--brand-lighter);
  font-size: 11px;
  opacity: .95;
}

/* Desktop: classic layout (no icon clutter) */
.ff-footer-main { padding: 28px 0 18px; }
.ff-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(0, 2.85fr);
  gap: 28px 32px;
  align-items: start;
}
.ff-footer-col { min-width: 0; }
.ff-footer-col-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ff-footer-brand-top { min-width: 0; }
.ff-footer-col-blog { min-width: 0; }
.ff-footer-links-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
}
.ff-footer-logo-link { display: inline-block; margin-bottom: 12px; }
.ff-footer-logo {
  max-width: 210px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.ff-footer-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 14px;
  max-width: 340px;
}
.ff-footer-contact { display: none; }
.ff-footer-trust-item i,
.ff-footer-heading > i,
.ff-footer-link-list a > i,
.ff-footer-blog-tab i {
  display: none !important;
}
.ff-footer-emoji {
  display: inline;
  margin-right: 6px;
  font-style: normal;
  line-height: 1;
}
.ff-footer-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 0;
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(168,208,240,.55), rgba(85,139,202,.12), transparent 85%) 1;
  line-height: 1.3;
}
.ff-footer-heading .ff-footer-emoji {
  font-size: 15px;
  margin-right: 8px;
  filter: saturate(1.05);
}
.ff-footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ff-footer-link-list li { margin-bottom: 7px; }
.ff-footer-link-list a {
  display: inline;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  padding: 0;
  border-radius: 0;
  transition: color var(--t);
}
.ff-footer-link-list a:hover {
  color: #fff;
  background: transparent;
}
.ff-footer-blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ff-footer-blog-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.ff-footer-blog-tab.is-active {
  background: rgba(85,139,202,.22);
  border-color: rgba(168,208,240,.75);
  color: #dbeafe;
}
.ff-footer-blog-panel { display: none; }
.ff-footer-blog-panel.is-active { display: block; }
.ff-footer-blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ff-footer-blog-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 12px;
  line-height: 1.45;
}
.ff-footer-blog-list li::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brand-lighter);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}
.ff-footer-blog-list a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color var(--t);
  text-wrap: balance;
  display: inline;
  padding: 0;
  border-radius: 0;
}
.ff-footer-blog-list a:hover {
  color: #fff;
  background: transparent;
}
.ff-footer-blog-empty { color: #64748b; font-style: italic; }
.ff-footer-blog-empty::before { display: none; }
.ff-footer-blog-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  color: var(--brand-lighter);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t);
}
.ff-footer-blog-all:hover { color: #fff; }

.ff-footer-bottom-wrap { padding-bottom: 8px; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-social .social-icon {
  margin: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.28);
  color: #cbd5e1;
  font-size: 15px;
}
.footer-social .social-icon:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 4px 14px rgba(85,139,202,.45);
}
.footer-bottom {
  padding: 18px 8px 22px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  margin: 0 0 8px;
  line-height: 1.5;
}
.footer-notice {
  color: #94a3b8;
  font-size: 11px !important;
  letter-spacing: .01em;
}
.footer-copy { color: #64748b; }
.footer-ship {
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 8px !important;
}
.footer-thanks { margin-bottom: 0 !important; }
.footer-thanks a { color: var(--brand); font-weight: 600; }
.footer-thanks a:hover { color: #fff; }

/* Tablet + mobile: icons, contact, 2-col gradient panel */
@media (max-width: 991.98px) {
  .ff-footer-main { padding: 26px 0 16px; }
  .ff-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
    position: relative;
  }
  .ff-footer-grid::before {
    content: "";
    position: absolute;
    top: 90px;
    bottom: 4px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(85, 139, 202, .15) 8%,
      rgba(168, 208, 240, .75) 35%,
      var(--brand-lighter) 50%,
      rgba(168, 208, 240, .75) 65%,
      rgba(85, 139, 202, .15) 92%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 1;
  }
  .ff-footer-col-brand,
  .ff-footer-links-panel {
    display: contents;
  }
  .ff-footer-brand-top {
    grid-column: 1 / -1;
    order: 1;
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 4px;
  }
  .ff-footer-links-panel > .ff-footer-col:nth-child(1) {
    order: 2;
    padding: 4px 14px 8px 2px;
  }
  .ff-footer-links-panel > .ff-footer-col:nth-child(2) {
    order: 3;
    padding: 4px 2px 8px 14px;
  }
  .ff-footer-links-panel > .ff-footer-col:nth-child(3) {
    order: 4;
    padding: 4px 14px 8px 2px;
  }
  .ff-footer-col-blog {
    order: 5;
    padding: 4px 2px 8px 14px;
  }
  .ff-footer-logo { max-width: 180px; margin: 0 auto; }
  .ff-footer-tagline {
    margin: 0 auto 16px;
    max-width: 520px;
  }
  .ff-footer-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }
  .ff-footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--t), background var(--t), border-color var(--t);
  }
  .ff-footer-contact-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(85,139,202,.18);
    border: 1px solid rgba(168,208,240,.28);
    color: var(--brand-lighter);
    font-size: 12px;
    flex-shrink: 0;
  }
  .ff-footer-contact-link:hover { color: #fff; }

  .ff-footer-trust-item i,
  .ff-footer-heading > i,
  .ff-footer-link-list a > i,
  .ff-footer-blog-tab i {
    display: inline-flex !important;
  }
  .ff-footer-emoji {
    display: none !important;
  }
  .ff-footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-image: none;
  }
  .ff-footer-heading > i {
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(85,139,202,.28), rgba(85,139,202,.1));
    border: 1px solid rgba(168,208,240,.35);
    color: var(--brand-lighter);
    font-size: 13px;
    flex-shrink: 0;
  }
  .ff-footer-link-list li { margin-bottom: 2px; }
  .ff-footer-link-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px 9px 4px;
    border-radius: 8px;
    line-height: 1.35;
  }
  .ff-footer-link-list a > i {
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--brand-lighter);
    font-size: 12px;
    opacity: .9;
    flex-shrink: 0;
  }
  .ff-footer-link-list a:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
  }
  .ff-footer-blog-list li {
    margin-bottom: 2px;
    gap: 10px;
  }
  .ff-footer-blog-list li::before {
    content: "\f15c";
    font-size: 11px;
    margin-top: 10px;
    width: 16px;
    text-align: center;
  }
  .ff-footer-blog-list a {
    display: block;
    padding: 8px 8px 8px 4px;
    border-radius: 8px;
  }
  .ff-footer-blog-list a:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
  }
  .ff-footer-blog-tab { padding: 7px 14px; }
  .ff-footer-blog-all {
    margin-top: 14px;
    padding: 8px 0;
  }
}

@media (max-width: 767.98px) {
  .ff-footer-trust-bar {
    gap: 8px;
    padding: 14px 12px;
  }
  .ff-footer-trust-item {
    font-size: 10px;
    padding: 7px 11px;
    white-space: normal;
    text-align: center;
    gap: 6px;
  }
  .ff-footer-tagline {
    max-width: 320px;
    font-size: 12.5px;
  }
  .ff-footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .ff-footer-contact-link {
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    width: 100%;
    max-width: 280px;
  }
  .ff-footer-links-panel {
    gap: 26px 0;
    padding: 6px 0 4px;
  }
  .ff-footer-links-panel > .ff-footer-col {
    padding: 2px 12px 6px;
  }
  .ff-footer-links-panel > .ff-footer-col:nth-child(odd) {
    padding-left: 2px;
    padding-right: 14px;
  }
  .ff-footer-links-panel > .ff-footer-col:nth-child(even) {
    padding-left: 14px;
    padding-right: 2px;
  }
  .ff-footer-heading {
    font-size: 12.5px;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 9px;
  }
  .ff-footer-heading > i {
    width: 26px;
    height: 26px;
    font-size: 11px;
    border-radius: 8px;
  }
  .ff-footer-link-list a {
    gap: 8px;
    font-size: 12px;
    padding: 8px 4px;
    border-radius: 7px;
  }
  .ff-footer-link-list a > i {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  .ff-footer-blog-tabs { gap: 6px; margin-bottom: 10px; }
  .ff-footer-blog-tab {
    padding: 6px 10px;
    font-size: 10px;
    gap: 5px;
  }
  .ff-footer-blog-list li {
    font-size: 11.5px;
    line-height: 1.4;
    gap: 8px;
  }
  .ff-footer-blog-list li::before {
    margin-top: 9px;
    font-size: 10px;
  }
  .ff-footer-blog-list a { padding: 7px 4px; }
  .ff-footer-blog-all {
    margin-top: 10px;
    font-size: 11px;
    padding: 6px 0;
  }
  .footer-social {
    gap: 12px;
    padding: 22px 0;
  }
  .footer-social .social-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .footer-bottom { padding: 18px 4px 22px; }
  .footer-bottom p { font-size: 11.5px; }
  .footer-ship {
    font-size: 11px !important;
    line-height: 1.55;
  }
}


/* ===== ANIMATIONS ===== */
.product-box { animation: fadeInUp 0.4s ease-out backwards; }
.product-box:nth-child(1) { animation-delay: 0.03s; }
.product-box:nth-child(2) { animation-delay: 0.06s; }
.product-box:nth-child(3) { animation-delay: 0.09s; }
.product-box:nth-child(4) { animation-delay: 0.12s; }
.product-box:nth-child(5) { animation-delay: 0.15s; }
.product-box:nth-child(6) { animation-delay: 0.18s; }
.product-box:nth-child(7) { animation-delay: 0.21s; }
.product-box:nth-child(8) { animation-delay: 0.24s; }
.product-box:nth-child(9) { animation-delay: 0.27s; }
.product-box:nth-child(10) { animation-delay: 0.3s; }
.product-box:nth-child(n+11) { animation-delay: 0.33s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .dropdown-menu { min-width: 100%; }
  .dropdown-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .topbar {
    font-size: clamp(9px, 2.65vw, 12px);
    padding: 5px 0;
  }
  .topbar .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .topbar-link {
    padding: 1px 3px;
    gap: 3px;
  }
  .topbar-divider { margin: 0 1px; }
  .topbar-link i { font-size: 0.95em; }
  .cart-badge { font-size: 0.85em; padding: 0 4px; }
  .header-logo { height: 55px; }
  .logo-divider { height: 26px; margin: 0 8px; }
  .ssl-badge { max-height: 28px; top: 4px; left: 4px; }
  .dropdown-columns { grid-template-columns: 1fr; }
  .dropdown-col { border-right: 0; border-bottom: 1px solid var(--border); }
  .dropdown-col:last-child { border-bottom: 0; }
  .section-title-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
  .product-box { padding: 0 6px; }
}
@media (hover: none) {
  .product-card:hover { transform: none; box-shadow: var(--shadow); }
  .product-card:active { transform: scale(0.98); }
}

/* Imported product content: template category chips */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}
.cat-btn,
.cat-tag {
  background: #fff;
  border: 1px solid #dfe6e9;
  color: #636e72;
  padding: 15px 10px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: block;
}
a.cat-btn:hover,
a.cat-tag:hover {
  background: #6c5ce7;
  color: #fff;
  border-color: #6c5ce7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(108, 92, 231, 0.25);
}
.ff-link-deduped {
  color: inherit;
}

/* ===== TOOLS HUB (/tools/) ===== */
.ff-tools-hub-lead {
  color: var(--text, #475569);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
  max-width: 42rem;
}
.ff-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.ff-tool-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--border, #e6ebf2);
  border-radius: var(--r, 12px);
  box-shadow: var(--shadow, 0 1px 3px rgba(30, 41, 59, 0.06));
  text-decoration: none !important;
  color: inherit;
  transition: transform var(--t, 0.28s ease), box-shadow var(--t, 0.28s ease), border-color var(--t, 0.28s ease);
  min-height: 148px;
}
.ff-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 139, 202, 0.45);
  box-shadow: var(--shadow-md, 0 6px 20px rgba(30, 41, 59, 0.08));
  color: inherit;
}
.ff-tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(85, 139, 202, 0.14), rgba(99, 102, 241, 0.12));
  color: var(--brand, #558BCA);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.ff-tool-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark, #1e293b);
  line-height: 1.25;
}
.ff-tool-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 2px 8px;
}
.ff-tool-desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text, #475569);
}
.ff-utility-intro {
  margin-bottom: 0.75rem;
  color: var(--text, #475569);
}
@media (max-width: 575.98px) {
  .ff-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* Industry design gallery filler pages */
.ff-industry-designs {
  margin-bottom: 1.5rem;
}
.ff-industry-designs h2 {
  font-size: 1.25rem;
  margin: 1.25rem 0 0.75rem;
}
.ff-design-thumb-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #f8fafc;
  border-radius: var(--r);
  border: 1px solid rgba(85, 139, 202, 0.1);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--t), transform var(--t), filter var(--t);
}
.ff-design-thumb-grid a {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.ff-design-thumb-grid a:hover img {
  box-shadow: none;
  transform: scale(1.03);
  filter: brightness(1.03);
}
.ff-design-thumb-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ff-industry-designs .btn-primary {
  font-weight: 600;
}

/* ===== DEALS HUB LAST UPDATE ===== */
.ff-deals-hub__updated {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem 1.1rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(154, 0, 1, 0.18);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(154, 0, 1, 0.06);
}
.ff-deals-hub__updated-label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
}
.ff-deals-hub__updated-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 0.75rem;
}
.ff-deals-hub__updated-kicker {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a0001;
}
.ff-deals-hub__updated-date {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9a0001;
  line-height: 1.2;
}

/* ===== DEAL COUPON TICKET ===== */
.ff-coupon {
  margin: 0 0 1.75rem;
  perspective: 800px;
}
.ff-coupon__ticket {
  --ff-coupon-stub: 14.5rem;
  display: grid;
  grid-template-columns: 1fr 18px var(--ff-coupon-stub);
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(30, 41, 59, 0.04),
    0 12px 32px rgba(58, 109, 168, 0.14);
  border: 1px solid rgba(58, 109, 168, 0.16);
  transition: transform var(--t), box-shadow var(--t);
}
.ff-coupon__ticket:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(30, 41, 59, 0.06),
    0 18px 40px rgba(58, 109, 168, 0.2);
}
/* Notch cutouts along the perforation (desktop) */
.ff-coupon__ticket::before,
.ff-coupon__ticket::after {
  content: "";
  position: absolute;
  right: calc(var(--ff-coupon-stub) + 9px);
  width: 20px;
  height: 20px;
  margin-right: -10px;
  background: var(--bg, #f4f7fb);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}
.ff-coupon__ticket::before {
  top: -10px;
}
.ff-coupon__ticket::after {
  bottom: -10px;
}
.ff-coupon__main {
  padding: 1.35rem 1.5rem 1.4rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(85, 139, 202, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, #fff 0%, #f7fafd 100%);
}
.ff-coupon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.ff-coupon__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.ff-coupon__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1;
}
.ff-coupon__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.15);
  animation: ff-coupon-pulse 1.8s ease-in-out infinite;
}
.ff-coupon__badge.is-active {
  color: #166534;
  background: #dcfce7;
}
.ff-coupon__badge.is-expired {
  color: #991b1b;
  background: #fee2e2;
}
.ff-coupon__badge.is-expired .ff-coupon__badge-dot {
  animation: none;
  box-shadow: none;
}
@keyframes ff-coupon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.ff-coupon__savings {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.ff-coupon__offer {
  display: block;
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 38rem;
}
.ff-coupon__limit {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  background: rgba(85, 139, 202, 0.08);
  border: 1px solid rgba(85, 139, 202, 0.16);
  border-radius: 8px;
}
.ff-coupon__limit i {
  color: var(--brand);
  font-size: 0.85rem;
}
.ff-coupon__perforation {
  width: 18px;
  margin: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 6px,
      rgba(100, 116, 139, 0.35) 6px 10px
    );
  position: relative;
  z-index: 1;
}
.ff-coupon__stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.25rem 1.1rem;
  text-align: center;
  background:
    linear-gradient(165deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-lighter) 100%);
  color: #fff;
}
.ff-coupon__stub-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ff-coupon__code-wrap {
  width: 100%;
  padding: 0.55rem 0.45rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  border: 2px dashed rgba(154, 0, 1, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.ff-coupon__code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #9a0001;
  word-break: break-all;
  user-select: all;
  line-height: 1.35;
}
.ff-coupon__hint {
  display: block;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
.ff-coupon__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9a0001 !important;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-decoration: none !important;
}
.ff-coupon__cta:hover,
.ff-coupon__cta:focus {
  background: #fff5f5;
  color: #670001 !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.ff-coupon__cta i {
  font-size: 0.75rem;
  transition: transform var(--t-fast);
}
.ff-coupon__cta:hover i {
  transform: translateX(3px);
}

.single-post-content .ff-content-image,
.page-content .ff-content-image {
  display: block;
  max-width: 60% !important;
  width: 100%;
  height: auto !important;
  margin: 1.25rem auto !important;
  border-radius: var(--r-lg) !important;
  border: 1px solid rgba(85, 139, 202, 0.14);
  box-shadow: var(--shadow-md);
}
img.ff-img-missing,
.ff-img-missing-wrap {
  display: none !important;
}
@media (max-width: 767.98px) {
  .ff-coupon__ticket {
    grid-template-columns: 1fr;
  }
  .ff-coupon__ticket::before,
  .ff-coupon__ticket::after {
    display: none;
  }
  .ff-coupon__perforation {
    width: auto;
    height: 14px;
    margin: 0 1.15rem;
    background:
      repeating-linear-gradient(
        to right,
        transparent 0 6px,
        rgba(100, 116, 139, 0.35) 6px 10px
      );
  }
  .ff-coupon__main {
    padding: 1.15rem 1.15rem 1rem;
  }
  .ff-coupon__stub {
    padding: 1.15rem 1.15rem 1.25rem;
  }
  .ff-coupon__code {
    font-size: 0.88rem;
  }
  .single-post-content .ff-content-image,
  .page-content .ff-content-image {
    max-width: 100% !important;
  }
}

/* Product page: 4 pre-designed sample cards in one row */
.product-page-content .ff-design-sample-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 0.5rem;
  align-items: start;
}

.product-page-content .ff-design-sample-row > div {
  min-width: 0;
}

.product-page-content .ff-design-sample-row img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .product-page-content .ff-design-sample-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

/* Product page reviews: exactly 3 cards, no empty auto-fit tracks */
.product-page-content .ff-reviews-block {
  background: #f0f4f8;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 0 0 2rem;
}

.product-page-content .ff-reviews-block__title {
  text-align: center;
  color: #2c3e50;
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

.product-page-content .ff-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.product-page-content .ff-reviews-grid > div {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.product-page-content .ff-reviews-block > div[style*="margin-top"] {
  margin-top: 1.25rem !important;
}

@media (max-width: 991.98px) {
  .product-page-content .ff-reviews-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
