/*
Theme Name: 4xTrading Theme
Theme URI: https://4xtrading.eu
Author: NOVAERA
Description: Tema custom per 4xTrading
Version: 1.2
*/

/* ==================================================
   VARIABLES
================================================== */
:root {
  --primary: #0067B2;
  --secondary: #059669;
  --accent: #E9B30A;
  --text: #314353;
  --border: #e6edf3;
  --light: #f3f6f9;
}

/* ==================================================
   RESET BASE
================================================== */
html {
    overflow-x: hidden !important;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.btn-outline-primary {
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    white-space: nowrap;
    /* font-size: 13px; */
    line-height: 1;
    transition: all .15s ease;
}

.btn-primary{
	    background: #0067B2;
    color: #fff;
    border: 1px solid #0067B2;
}
a.added_to_cart.wc-forward {
    font-size: 12px;
    /* float: left; */
    /* width: 100%; */
}
/* ==================================================
   GLOBAL ACTION BUTTONS (Add to cart / Preorder / View)
================================================== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.fx-btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 999px;

  padding: 8px 14px;
  background: #fff;
  color: #111;

  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;

  transition: all .15s ease;
}

/* Hover */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.fx-btn-cart:hover {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.35);
  color: #111;
  transform: translateY(-1px);
}

/* Active */
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.fx-btn-cart:active {
  transform: translateY(0);
}

/* Disabled / Out of stock */
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce input.button.disabled,
.fx-btn-cart.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ==================================================
   TOP BAR
================================================== */
.top-bar {
  background: var(--light);
  font-size: 14px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.shipping-progress {
  width: 120px;
  height: 6px;
  background: #dbe3ea;
  border-radius: 10px;
  overflow: hidden;
}

.shipping-progress span {
  display: block;
  height: 100%;
  background: var(--secondary);
}

/* ==================================================
   DESKTOP HEADER
================================================== */
.main-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 42px;
}

.b2b-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
  font-size: 14px;
}

/* SEARCH */
.search-bar {
  flex: 1;
  display: flex;
  border: 1px solid #cfd9e3;
  border-radius: 12px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  outline: none;
}

/* RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ICONS */
.header-icons {
  display: flex;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  background: var(--light);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.icon-btn .badge,
.mobile-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
    line-height: 1;
    padding: 5px 7px;
  border-radius: 999px;
  text-align: center;
}

/* ==================================================
   CATEGORY NAV
================================================== */
.category-nav {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* MAIN MENU */
.main-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-menu li a {
  font-weight: 500;
}
ul.sub-menu li {
    line-height: 32px;
}
li.menu-item-has-children a {
    font-weight: bold;
}

ul.sub-menu li a{
   font-weight: 400;
}


/* DROPDOWN */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: none;
  z-index: 10000 !important;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.tcg-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* SALE */
.sale-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.sale-link span {
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 6px;
}

/* ==================================================
   MOBILE HEADER (screenshot-like)
================================================== */
.mobile-header {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  background: #fff;
    padding-bottom: 0;
}

.mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
padding: 0 15px;
}

.mobile-logo img {
  height: 44px;
}

.mobile-icon {
      width: 52px;
    height: 52px;
    border: 1px solid #cfd9e3;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-icon img {
  width: 20px;
}

.mobile-bottom {
  display: flex;
  border-top: 1px solid #cfd9e3;
  margin-top: 12px;
}

.mobile-action {
  flex: 1;
  padding: 22px 16px;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 600;
  font-size: 16px;
  color: #3c4b5c;
}

.mobile-action img {
  width: 20px;
}
header.mobile-header .container {
    padding: 0;
}
.mobile-action + .mobile-action {
  border-left: 1px solid #cfd9e3;
}

@media (max-width: 991px) {
.mobile-menu li {
    line-height: 38px;
    font-size: 18px;
}
.fx-product-title {
    height: 100px!important;
}
}

/* =========================
   SEARCH (Amazon soft style)
========================= */

.amazon-search-wrapper {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
      width: 45%;
}

/* FORM */
.amazon-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  padding: 6px 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.amazon-search-form:focus-within {
  border-color: #CBD5E1;
  box-shadow: 0 0 0 3px rgba(90, 120, 200, 0.12);
}

/* INPUT */
.amazon-input {
  flex: 1;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  color: #111;
  background: transparent;
}

.amazon-input::placeholder {
  color: #9aa3b2;
}

.amazon-input:focus {
  outline: none;
}

/* BUTTON (icon only) */
.amazon-btn {
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 22px;
  cursor: pointer;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amazon-btn:hover {
  color: #000;
}

.btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    color: rgb(17, 17, 17);
    font-size: 13px;
    line-height: 1;
    gap: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.18);
    border-image: initial;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgb(255, 255, 255);
    white-space: nowrap;
    transition: 0.15s;
}

/* =========================
   DROPDOWN RESULTS
========================= */

.amazon-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  z-index: 9999;
  overflow: hidden;
}

/* LIST */
.amazon-results {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

/* ITEM */
.amazon-suggestion a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 16px;
  color: #111;
  text-decoration: none;
}

.amazon-suggestion:hover {
  background: #f4f6fa;
}

/* ICON */
.amazon-icon {
  font-size: 16px;
  opacity: 0.6;
}

/* TEXT */
.amazon-text {
  font-weight: 500;
}

.amazon-text strong {
  font-weight: 700;
}

/* HOME BANNER*/
.home-banner {
  position: relative;
min-height: 480px;
	background-size: cover;
  background-position: center;
  display: flex;
}
small.credits-mtg {
    font-size: 7px;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.home-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.15) 100%
  );
}

.home-banner-content {
  position: relative;
  max-width: 520px;
}

.home-banner h2 {
  font-size: 2rem;
}

.home-banner p {
  opacity: .9;
}

@media (max-width: 991px) {
	.home-banner p {
    display: none;
}
}
/*** BRAND SEZIONE ***/

.brand-card {
  height: 120px;
  background: #fff;
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.brand-logo {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* Swiper spacing */

.brand-slider .swiper-slide {
    width: 15%;
    margin-right: 2%;
}

/* Home collection banner */

.home-collection-banners {}

.collection-banner {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
}

.collection-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.6) 100%
  );
}

.collection-banner-content {
  position: relative;
  padding-top: 50px !important;
}

.collection-banner-logo {
  max-width: 200px;
  max-height: 80px;
  object-fit: contain;
}


/**** FOOTER ***/
.site-footer {
  background: radial-gradient(ellipse at top, #101b33 0%, #0b1325 100%);
  color: #cfd6e4;
}

img.footer-logo {
    width: 20%;
    margin: 0 40%;
}
.logo-life img {
    width: 40%;
    height: auto;
    margin: 0 30%;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 6px;
}

.footer-menu a {
  color: #cfd6e4;
  font-size: 14px;
  text-decoration: none;
  transition: opacity .2s;
}

.footer-menu a:hover {
  opacity: .7;
}

.footer-divider {
  border-color: rgba(255,255,255,.15);
}

.footer-bottom {
  font-size: 13px;
  line-height: 1.6;
}



/*** HOME PRODUCT SECTIONS */

.fxhome-card {
  border: 1px solid #dbe3f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.fxhome-imgwrap {
  position: relative;
  display: block;
  padding: 14px;
  background: #fff;
  text-decoration: none;
}

.fxhome-imgwrap img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
}

.fxhome-heart {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  color: #111;
  opacity: .7;
}

.fxhome-body {
  padding: 12px 14px 14px 14px;
}

.fxhome-title {
  display: block;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.25;
  min-height: 36px;
}

.fxhome-title:hover { text-decoration: underline; }

.fxhome-price {
  font-weight: 800;
  color: #2f855a;
}

@media (max-width: 991px) {
img.footer-logo {
    width: 40%;
    margin: 0 30%;
}
img.method-payment.lazyloaded {
    width: 70%;
    margin: 0 15%;
}
img.payment-img.lazyloaded {
    width: 80%;
    margin: 0 10%;
}
.footer-bottom {
    font-size: 11px;
    padding: 0 15px;
}
.logo-life {
    margin-bottom: 40px;
}
}


/* =========================
   FEATURED BANNERS AREA
========================= */

.featured-area {
  background: #fff;
}

.featured-card {
  position: relative;
  min-height: 320px;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay soft per leggibilità */
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

/* Tema chiaro */
.featured-card.theme-light::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.65) 40%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

.featured-card > * {
  position: relative;
  z-index: 2;
}

/* Logo */
.featured-logo {
  max-width: 120px;
  margin-bottom: 16px;
}

/* Titolo */
.featured-card h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 420px;
  margin-bottom: 20px;
}

/* Colori testo */
.featured-card.theme-dark h3 {
  color: #fff;
}

.featured-card.theme-light h3 {
  color: #111;
}

/* CTA */
.featured-card .btn {
  align-self: flex-start;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
}

/* Hover */
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .featured-card {
    min-height: 260px;
    padding: 24px;
  }

  .featured-card h3 {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .featured-card {
    min-height: 220px;
    padding: 20px;
  }

  .featured-logo {
    max-width: 90px;
  }

  .featured-card h3 {
    font-size: 22px;
  }
}
/* TRUST SECTION */

.trust-section {
  background: #fff;
  border-top: 1px solid #e6eaf2;
}

.trust-item {
  margin-bottom: 24px;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
}

.trust-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.trust-text h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

.trust-text p {
  font-size: 14px;
  line-height: 1.4;
  color: #8a94a6;
  margin: 0;
}

/* DIVIDER DESKTOP */
.trust-divider {
  height: 60px;
  border-left: 1px solid #e6eaf2;
}
/* TRUST SECTION */

.trust-section {
  background: #fff;
  border-top: 1px solid #e6eaf2;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.trust-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.trust-text h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

.trust-text p {
  font-size: 14px;
  line-height: 1.4;
  color: #8a94a6;
  margin: 0;
}

/* DIVIDER */
.trust-divider {
  width: 1px;
  height: 60px;
  background: #e6eaf2;
}

/* MOBILE */
@media (max-width: 991px) {
  .trust-row {
    flex-direction: column;
    gap: 24px;
  }

  .trust-divider {
    display: none;
  }
}

/** FILTERS ***/
.shop-filters {
  font-size: 14px;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.widget_product_categories ul,
.widget_layered_nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget_product_categories li,
.widget_layered_nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.widget_product_categories input,
.widget_layered_nav input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.widget_layered_nav .count,
.widget_product_categories .count {
  margin-left: auto;
  color: #9ca3af;
  font-size: 13px;
}

/* FILTER BAR – MOBILE + DESKTOP (Amazon style) */

.fx-filterbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.fx-filterbar-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.fx-filterbar-inner::-webkit-scrollbar {
  display: none;
}

/* Pills */
.fx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: #111;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  transition: all .15s ease;
}

.fx-pill:hover {
  background: rgba(0,0,0,.04);
}

.fx-pill-title {
  font-weight: 600;
}

.fx-pill-value {
  opacity: .75;
}

/* Toggle preorder */
.fx-pill-toggle {
  border-color: rgba(0,0,0,.25);
}

.fx-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.3);
}

.fx-pill-toggle.is-on {
  background: #111;
  color: #fff;
}

.fx-pill-toggle.is-on .fx-pill-dot {
  background: #00d084;
}

/* Offcanvas filters */
.fx-offcanvas {
  height: 75vh;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.fx-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* Filters list */
.fx-filters .fx-filter-block h6 {
  font-size: 14px;
}

.fx-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.fx-radio input {
  transform: scale(1.05);
}

/* Desktop tweaks */
@media (min-width: 992px) {
  .fx-filterbar-wrapper {
    border-radius: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .fx-filterbar-inner {
    padding: 12px 0;
  }
}


/*** CONTENT PRODUCT **/

.fx-product-card {
  list-style: none;
}

.fx-product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fx-product-thumb {
  position: relative;
  background: #f6f6f6;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.fx-product-thumb img {
  width: 100%;
  display: block;
}

/* BADGE */

.fx-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.fx-badge-preorder {
  background: #111;
  color: #fff;
}

/* INFO */

.fx-product-info {
  padding: 10px 4px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fx-release-date {
  font-size: 12px;
  color: #d32f2f;
  margin-bottom: 4px;
}

.fx-product-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 6px;
  height: 90px;
}

.fx-product-title a {
  color: inherit;
  text-decoration: none;
}

.fx-product-price {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ACTION */

.fx-product-action {
  margin-top: auto;
}


.fx-btn-cart:active {
  transform: translateY(1px);
}

.fx-btn-cart.disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* =========================
   WISHLIST
========================= */

.fx-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s ease;
  z-index: 3;
}

.fx-wishlist-btn:hover {
  color: #dc2626;
  border-color: #dc2626;
}

.fx-wishlist-btn.is-active {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
/* WISHLIST ANIMATION */
.fx-wishlist-btn {
  transition: transform .2s ease;
}

.fx-wishlist-btn.pulse {
  transform: scale(1.25);
}



.fx-wishlist-btn.is-active::after {
  opacity: 1;
}
/* Wishlist button with Bootstrap Icons */

.fx-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}

.fx-wishlist-btn i {
  font-size: 18px;
  color: #9ca3af;
  transition: color .2s ease, transform .2s ease;
}

/* Hover */
.fx-wishlist-btn:hover i {
  color: #dc2626;
}

/* Active */
.fx-wishlist-btn.is-active {
  background: #dc2626;
  border-color: #dc2626;
}

.fx-wishlist-btn.is-active i {
  color: #fff;
}

/* Pulse animation */
.fx-wishlist-btn.pulse {
  transform: scale(1.25);
}
/* PRICE + ADD TO CART INLINE */

.fx-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.fx-product-price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* CTA non deve andare a capo */
.fx-product-action {
  flex-shrink: 0;
}

/* Mobile: se lo spazio è poco, va a capo in modo elegante */
@media (max-width: 420px) {
  .fx-product-bottom {
    flex-wrap: wrap;
  }

  .fx-product-action {
    width: 100%;
  }

  .fx-product-action .fx-btn-cart {
    width: 100%;
    justify-content: center;
  }
}

/* ===============================
   FIX GRID WOOCOMMERCE IN HOME
================================ */

.fxhome-products-grid ul.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
}

.fxhome-products-grid ul.products li.product {
  width: 100%;
  margin: 0;
  float: none;
}

/* Tablet */
@media (max-width: 1200px) {
  .fxhome-products-grid ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fxhome-products-grid ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fxhome-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    transition: all .15s ease;
}
button.btn.btn-sm.btn-primary.fxhome-brand-pill
 {
    background: #0067B2;
    color: #fff;
    border: 1px solid #0067B2;
}
button.btn.btn-sm.btn-outline-secondary.fxhome-exp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 999px;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    transition: all .15s ease;
}
button.btn.btn-sm.btn-primary.fxhome-exp-pill {
    background: #0067B2;
    color: #fff;
    border: 1px solid #0067B2;
    border-radius: 10000px !important;
}

/* ==================================================
   MOBILE – PILLS SCROLL ORIZZONTALE (Amazon style)
================================================== */
@media (max-width: 991px) {

  /* wrapper brand + expansion */
  .fxhome-pills,
  .fxhome-expansions {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  /* nasconde scrollbar */
  .fxhome-pills::-webkit-scrollbar,
  .fxhome-expansions::-webkit-scrollbar {
    display: none;
  }

  /* ogni pillola NON deve restringersi */
  .fxhome-pills .btn,
  .fxhome-expansions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* distanza visiva dal contenuto sotto */
  .fxhome-expansions-wrap {
    margin-bottom: 12px;
  }
}

.fxhome-status-toggle button.btn.btn-sm.btn-primary {
    background: #0067B2;
    color: #fff;
    border: 1px solid #0067B2;
    border-radius: 20px;
}


.fxhome-status-toggle button.btn.btn-sm.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 0px 20px 20px 0px;
    padding: 8px 14px;
    background: #fff;
    color: #111;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    transition: all .15s ease;
    border-left: 0;
}

/* ==================================================
   INFLUENCER WALL – FIX DEFINITIVO
================================================== */

.fx-video-wall {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 800px;
  overflow: hidden;
}

/* colonna */
.fx-video-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* card */
.fx-influencer-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

/* video */
.fx-influencer-card video {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

/* nome */
.fx-influencer-name {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,.6);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* =========================
   ANIMAZIONI STABILI
========================= */

@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes scrollDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.fx-scroll-up {
  animation: scrollUp 18s linear infinite;
}

.fx-scroll-down {
  animation: scrollDown 18s linear infinite;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
  .fx-video-wall {
    grid-template-columns: 1fr;
    height: 600px;
  }

  .fx-video-col:last-child {
    display: none;
  }

    .fx-influencer-card video {
        height: 680px;
    }
}
/* ==================================================
   VIDEO WALL GRADIENT MASK
================================================== */

.fx-video-wall {
  position: relative;
}

/* TOP GRADIENT */
.fx-video-wall::before,
.fx-video-wall::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 5;
  pointer-events: none;
}

/* Top fade */
.fx-video-wall::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.85) 35%,
    rgba(255,255,255,0) 100%
  );
}

/* Bottom fade */
.fx-video-wall::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.85) 35%,
    rgba(255,255,255,0) 100%
  );
}
@media (max-width: 991px) {
  .fx-video-wall::before,
  .fx-video-wall::after {
    height: 90px;
  }
}
/* ===============================
   INFLUENCER LIST (LEFT COLUMN)
================================ */

.fx-influencer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fx-influencer-list li {
  margin-bottom: 8px;
}

.fx-influencer-list a {
  font-size: 16px;
  font-weight: 600;
  color: #314353;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s ease;
}

.fx-influencer-list a:hover {
  opacity: .7;
}

/* ===============================
   EXPLORE SECTION
================================ */

.fx-explore-section {
  background: #fff;
}

.fx-explore-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: #2f3a45;
}

.fx-explore-title span {
  color: var(--primary);
}

.fx-explore-text {
  font-size: 16px;
  line-height: 1.6;
  color: #8a94a6;
}

.fx-explore-link {
  font-weight: 600;
  text-decoration: underline;
  color: #314353;
}

/* CENTER IMAGE */
.fx-explore-image {
  max-width: 100%;
  height: auto;
}

/* FEATURES */
.fx-explore-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fx-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.fx-feature-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e9eef4;
  color: #314353;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fx-feature-content h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #2f3a45;
}

.fx-feature-content p {
  font-size: 14px;
  line-height: 1.4;
  color: #8a94a6;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .fx-explore-title {
    font-size: 32px;
  }

  .fx-explore-image {
        max-width: 100%;
    }
}

/* SINGLE PRODUCT - layout screenshot */
.fxsp-title{
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.fxsp-topmeta{
  padding-bottom: 6px;
}
.fxsp-release{
  color: #f2a900;
  font-weight: 600;
}

.fxsp-divider{
  border-color: #e9eef5;
}

.fxsp-price .price{
  font-size: 34px;
  font-weight: 700;
  color: #0b8f5a;
}
.fxsp-price .price del{ opacity:.45; font-size: 18px; }
.fxsp-price .price ins{ text-decoration:none; }

.fxsp-excerpt-title{
  font-size: 12px;
  letter-spacing: .06em;
  color:#2b3440;
  font-weight: 700;
  margin-bottom: 6px;
}
.fxsp-excerpt-text{
  color:#3a4653;
  line-height:1.5;
  max-width: 520px;
}

.fxsp-release-line{
  font-size: 20px;
  font-weight: 600;
}
.fxsp-release-line .text-muted{
  font-weight: 500;
  margin-right: 6px;
}

/* Add to cart row styling (qty left, button right) */
.fxsp-cart form.cart{
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.fxsp-cart form.cart .quantity{
  width: 120px;
  margin: 0 !important;
}
.fxsp-cart form.cart .quantity input.qty{
  height: 48px;
  border-radius: 10px;
}
.fxsp-cart form.cart button.single_add_to_cart_button{
  flex: 1;
  border-radius: 10px;
  background:#0b5ea8;
  border-color:#0b5ea8;
  font-weight: 600;
  font-size: 16px;
}
.fxsp-cart form.cart button.single_add_to_cart_button:hover{
  filter: brightness(.95);
}

/* Wishlist line */
.fxsp-wishlist-link{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color:#2b3440;
  text-decoration: none;
  font-weight: 500;
}
.fxsp-heart{
  font-size: 18px;
  line-height: 1;
}

/* Shipping box */
.fxsp-shipbox{
  background: #f5f7fb;
  border-radius: 14px;
  padding: 16px;
}
.fxsp-progress{
  height: 8px;
  background: #d8dee8;
  border-radius: 999px;
  overflow: hidden;
}
.fxsp-progress-bar{
  height: 100%;
  background: #19a35b;
  border-radius: 999px;
}
.fxsp-truck{
  font-size: 16px;
  margin-top: 2px;
}

/* Share buttons */
.fxsp-sharebtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e2ef;
  text-decoration: none;
  color:#2b3440;
  font-weight: 700;
}
.fxsp-sharebtn:hover{
  background:#f3f6fb;
}

/* Breadcrumbs subtle */
.fxsp-breadcrumbs .woocommerce-breadcrumb{
  margin: 0;
  font-size: 12px;
  color:#9aa7b6;
}
.fxsp-breadcrumbs .woocommerce-breadcrumb a{
  color:#9aa7b6;
  text-decoration: none;
}
/* =========================
   PARTNERS PREFOOTER
========================= */

.fx-partners {
  background: #fff;
  border-top: 1px solid #e6eaf2;
}

.fx-partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-partner-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .65;
  transition: opacity .2s ease, transform .2s ease;
}

.fx-partner-logo img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
}

.fx-partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.fx-partners-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

.fx-partner-slide {
  width: auto !important;
}

.fx-partner-logo {
  height: 60px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .65;
  transition: opacity .2s ease, transform .2s ease;
}

.fx-partner-logo img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
}

.fx-partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}
form.woocommerce-ordering {
    display: none;
}
@media (max-width: 991px) {
    .home-banner {
        min-height: 360px;
    }
	    .home-banner p{
        display: none!important;
    }
section.py-5.brand-section {
    padding-top: 0 !important;
}
section.py-5.brand-section {
    /* padding-top: 0 !important; */
    padding-bottom: 0 !important;
}
.swiper {
    overflow: visible!important;
}
.brand-slider .swiper-slide {
    width: 35%;
    margin-right: 2%;
}
    .collection-banner {
        min-height: 400px;
    }
}

/* ================================
   MOBILE BOTTOM NAV (APP STYLE)
================================ */

.fx-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 64px;
  background: #fff;
  border-top: 1px solid #e5e7eb;

  display: flex;
  justify-content: space-around;
  align-items: center;

  z-index: 9999;
}

.fx-nav-item {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #111;
  text-decoration: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  position: relative;
}

.fx-nav-item img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.fx-nav-item span {
  font-weight: 500;
}

/* Active state (opzionale) */
.fx-nav-item.is-active {
  color: var(--primary);
}

.fx-nav-item.is-active img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(92%) saturate(748%) hue-rotate(186deg);
}

/* Cart badge */
.fx-cart-badge {
  position: absolute;
  top: 4px;
  right: 22px;

  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;

  padding: 2px 6px;
  border-radius: 999px;
}
button#place_order {
    width: 100%;
    font-size: 18px;
    padding: 20px 0;
    background:#0067B2;
}
/* Safe area iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .fx-mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(64px + env(safe-area-inset-bottom));
  }
}



.save-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    color: #000;
}

/* Color variants */
.save-badge.green {
  color: #047857;
  border-color: #34d399;
}


.save-badge.blue {
  color: #1e40af;
  border-color: #60a5fa;
}

.save-badge.red {
  color: #991b1b;
  border-color: #f87171;
}

.save-badge.yellow {
  color: #92400e;
  border-color: #facc15;
}

p#bcca3dc_field, #dd19a35_field, #f717583_field, #da1b710_field  {
    background: #ccc;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    background: #0067b20d;
    border: 1px solid #0067b224;
}

@media (max-width: 991px) {

.page-template-checkout main {
padding: 0!important;
}
#container-checkout {
padding: 0!important;
}
#container-checkout h1 {
display: none!important;
}
.col-lg-8.order-lg-1.checkout-steps-wrapper {
padding: 0;
}
.card-footer.d-flex.justify-content-between.align-items-center {
position: fixed!important;
}

.page-template-checkout .fx-mobile-bottom-nav.d-lg-none {
display: none;
}
.page-template-checkout .card-footer.d-flex.justify-content-between.align-items-center {
position: fixed!important;
bottom: 0!important;
left: 0!important;
z-index: 10000!important;
background-color: #fff;
width: 100%;
}
.btn.btn-primary.next-step {
padding: 15px 15px;
}

	    .cart-item-row {
        /* flex-wrap: wrap; */
        display: inline-block !important;
    }
.cart-item-row .product-image {
    width: auto;
    float: left;
	margin-right: 12px;
}
p#p-or-a {
    position: absolute;
}
.page-template-checkout .card-footer.d-flex.justify-content-between {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    background-color: #fff;
    width: 100%;
}

	.save-badge {
    position: relative;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    color: #000;
}
.bundle-card {
    float: right;
    width: 100%;
    text-align: right;
    margin-bottom: 10px;
}

	
}
