/*
Theme Name: Komo Child
Author: VamTam
Author URI: https://vamtam.com
Template: Komo
*/



/*

put your child theme styles here


you don't need any @import rules

*/

.menu-item-21185 {
  display: none !important;
}

header .menu-higtlight a {
  background: #50B16E !important;
  color: white !important;
}

.menu-higtlight a {
  -webkit-transition: all 0.3ms ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.menu-higtlight a:hover {
  transform: scale(1.05);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0) scale(1.05);
  }

  25% {
    transform: translateX(-5px) scale(1.05);
  }

  75% {
    transform: translateX(5px) scale(1.05);
  }
}

.page-id-21193 .fl-node-epyuawkh4nq6 {
  display: none !important;
}

li.product,
.cbp-item-wrapper {
  border-radius: 30px;
  overflow: hidden !important;
}

.woocommerce .products.vamtam-wc .product {
  background: #FAFAFA !important;
}

.woocommerce-tabs {
  max-width: 100% !important;
}

.stock.in-stock {
  padding: 20px 0 !important;
}

.single-product .product_title {
  font-size: 2rem !important;
}

.single-product .woocommerce-Price-amount {
  font-size: 1.7rem !important;
  color: #666 !important;
}

.cbp-item .woocommerce-Price-amount {
  font-size: 1rem !important;
  color: #666 !important;
}


.single-product form.cart {
  display: flex;
}

.single-product form.cart .single_add_to_cart_button {
  flex: 1;
}

.wc-proceed-to-checkout a:last-child {
  display: none !important;
}

.smallCarretImage .fl-module-content {
  margin: 0 !important;
}

html[lang="it-IT"] .footerEng {
  display: none !important;
}

html[lang="en-GB"] .footerIta {
  display: none !important;
}

.footerIta .vamtam-heading,
.footerIta strong,
.footerIta p,
.footerIta i {
  color: #000 !important;
}

.footerEng .vamtam-heading,
.footerEng strong,
.footerEng p,
.footerEng i {
  color: #000 !important;
}

.footerIta>.fl-row-content-wrap .fl-node-f8q45261w3rs,
.fl-node-4bmz2otgkpwa {
  display: flex !important;
  width: 100%;
}

.footerIta p{
	color:white!important;
}


.fl-node-4bmz2otgkpwa {
  width: 100% !important;
}

.fl-node-4bmz2otgkpwa>div {
  flex: 1 !important;
}

.fl-node-5b8304f0e94de>div {
  text-align: center !important;
}

.footerEng>.fl-row-content-wrap .fl-node-z0wfuh9c3lrj,
.fl-node-axcrpn10t85b {
  display: flex !important;
  width: 100%;
}

.fl-node-axcrpn10t85b {
  width: 100% !important;
}

.fl-node-axcrpn10t85b>div {
  flex: 1 !important;
}

.fl-node-kgh4fnmvqp01>div {
  text-align: center !important;
}


.homeMap,
.homeMap * {
  position: relative;
  height: 100%;
}

.accessoriHome>div {
  padding-right: 0 !important;
}

.archive .post-content-outer,
.related-posts .post-content-outer {
  display: none;
}

.tribe-events-notices,
.tribe-events-meta-group-details {
  display: none !important;
}

.show {
  display: block !important;
}

.normal-logo {
  width: 300px !important;
  margin-bottom: 15px;
}


#mega-menu-wrap-menu-header #mega-menu-menu-header {
  text-align: right !important
}

#header-text {
  display: none;
}

.tribe-events-venue-map,
.tribe-events-nav-pagination {
  display: none !important;
}

.single .tribe-events-schedule {
  display: none;
}

.single .tribe-events-end-date,
.single .tribe-events-end-date-label {
  display: none;
}

.w100 a {
  width: 100%;
  padding: 50px 20px !important;
  font-size: 24px !important;
  text-align: center;
  line-height: 130% !important;
}

.btnContainer {
  display: flex;
  justify-content: space-between;
}

.w50 {
  width: calc(48% - 40px);
  margin: 25px 20px;
}

.w50 a {
  width: 100%;
  padding: 50px 20px !important;
  font-size: 24px !important;
  text-align: center;
  display: block !important;
}

.coupon {
  display: none !important;
}

.tableBike {
  font-size: 14px;
}

.tableBike tr:nth-child(odd) {
  background: #fafafa;
}

.page-id-19276 a.vamtam-button,
.page-id-19284 a.vamtam-button,
.page-id-19280 a.vamtam-button,
.page-id-19282 a.vamtam-button {
  display: none;
}

.carousel-slider__item img {
  border: 1px solid #eaeaea;
}

/*FINE CSS DA TOLGIERE*/

.woocommerce.woocommerce-checkout header.main-header .vamtam-overlay-menu-toggle-wrapper {
  display: block !important;
}

#menu-item-19808,
#menu-item-19809 {
  display: none !important;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
}

.cta-image {
  flex-basis: 30%;
  background-image: url('https://www.greenroadbike.it/wp-content/uploads/2021/02/trabicchi_about.jpg');
  background-size: cover;
  background-position: center;
}

.cta-content {
  flex-basis: 70%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content p {
  margin: 0;
}

.choices {
  margin-left: -15px;
}

.pum-container {
  overflow: hidden !important;
}

.pum-container,
.pum-container .limit-wrapper {
  padding: 0 !important;
}

.cf7-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cf7-col {
  flex: 1;
  min-width: 200px;
}

.pum-close {
  box-shadow: none !important;
  color: black !important;
  background: transparent !important;
}

.mobile {
  display: none;
}

.cta-menu {
  display: flex;
  justify-content: center;
  padding: 15px;
  background: #FAFAFA;
}

.cta-menu li,
.cta-menu a {
  width: 100%;
  font-size: 24px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  #rev_slider_100_1_wrapper {
    height: 620px;
  }
}

@media (max-width: 900px) {
  #rev_slider_100_1_wrapper {
    height: 450px;
  }
}

@media (max-width: 1260px) {
  #rev_slider_100_1_wrapper {
    height: 560px;
  }
}

@media (min-width: 1261px) {
  #rev_slider_100_1_wrapper {
    height: 560px;
  }
}

#cmplz-document {
  max-width: 100% !important;
  width: 100% !important;
}

header.main-header .mobile-logo-additions,
header.main-header .mobile-top-bar {
  display: none;
}

.woocommerce-shipping-fields {
  display: none !important;
}

.home .titoloBici {
  display: none;
}


.topHeader {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.topHeader>div {
  width: 100%;
}

.payment_box.payment_method_ppcp-credit-card-gateway input {
  font-size: 18px !important;
}

body.single-product .ppc-button-wrapper {
  display: none !important;
}

#main-menu .menu>.menu-item>a {
  padding: 0 5px !important;
}

#main-menu .menu {
  justify-content: flex-end !important;
}

@media screen and (max-width:900px) {
  .normal-logo {
    width: 100% !important;
    margin-left: -50px;
  }

  #menu-item-19808,
  #menu-item-19809 {
    display: block !important;
  }
}


@media screen and (max-width:767px) {
  .space {
    margin-bottom: 30px !important;
  }

  .mobile {
    display: block;
  }

  .oneHalf {
    width: calc(50% - 20px) !important;
    max-width: calc(50% - 20px) !important;
    margin: 10px !important;
    float: left !important;
    clear: none !important;
  }

  .mobile-top-bar {
    display: none !important;
  }

  .w50 {
    width: 100%;
    margin: 25px 0px;
  }

  .w50 a {
    width: 89%;
    padding: 50px 20px !important;
    font-size: 24px !important;
    text-align: center;
    display: block !important;
    line-height: 130% !important;
  }


  .btnContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .eventImg {
    width: 100% !important;
  }

  .cta-image {
    flex-basis: 100%;
    height: 200px;
  }

  .cta-content {
    flex-basis: 100%;
  }

  .cf7-row {
    flex-direction: column;
  }

  .fl-node-4bmz2otgkpwa {
    width: 100% !important;
    flex-direction: column;
  }

  .fl-node-4bmz2otgkpwa>div {
    flex: auto !important;
    margin: 20px 0 !important;
  }

  .fl-node-4bmz2otgkpwa .fl-module-icon {
    text-align: left !important;
  }

  .fl-node-axcrpn10t85b {
    width: 100% !important;
    flex-direction: column;
  }

  .fl-node-axcrpn10t85b>div {
    flex: auto !important;
    margin: 20px 0 !important;
  }

  .fl-node-axcrpn10t85b .fl-module-icon {
    text-align: left !important;
  }

  .single-product form.cart {
    display: flex;
    flex-direction: column
  }
}


/* ==========================================
       1. NAVIGAZIONE DESKTOP (A PALLINI)
       ========================================== */
.desktop-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dot-item {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: #94a3b8;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tooltip desktop */
.tooltip {
  position: absolute;
  left: 28px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Freccetta tooltip */
.tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #0f172a transparent transparent;
}

/* Animations on hover desktop */
.dot-item:hover .dot {
  transform: scale(1.6);
  background-color: #50b16e;
}

.dot-item:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==========================================
       2. NAVIGAZIONE MOBILE (FAB + POPOVER)
       ========================================== */
.mobile-nav-container {
  display: none;
  /* Nascosto su desktop */
}

.fab-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #50b16e;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/*
.fab-btn:active {
  transform: scale(0.92);
}
*/

.fab-icon {
  width: 28px!important;
  height: 28px!important;
  min-height: 28px!important;
  min-width:28px!important;
  transition: transform 0.3s ease;
}

/* Rotazione icona quando aperto */
.fab-btn.open .fab-icon {
  transform: rotate(45deg);
}

/* Popover Mobile */
.mobile-popover {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: min(280px, calc(100vw - 48px));
  max-height: 50vh;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 12px 8px;
  z-index: 10000;
  overflow-y: auto;

  /* Animazione popover */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
}

.mobile-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu-item a {
  display: block;
  padding: 10px 16px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-item a:visited {
  color: #334155!important;
}

.mobile-menu-item a:hover,
.mobile-menu-item a:active {
  background-color: #eff6ff;
  color: #50b16e!important;
}

/* Backdrop sfocato mobile */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
       3. MEDIA QUERIES (BREAKPOINT 768px)
========================================== */
@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav-container {
    display: block;
  }
}