:root {
    --color1: #FFD500;   /* Yellow (accent / underline / hover) */
    --color2: #C81D11;   /* Red (menu text) */
    --color3: #000000;   /* Black (optional) */
    --color4: #ffffff;   /* White (navbar bg) */
}


html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-size: 16px;
    
  }
  html,
body {
  background-color: #f5f5f5;
  margin: 0 !important;
  animation: pageFade 0.4s ease;
  font-family: "Open Sans", sans-serif;
}

@keyframes pageFade {
  from { opacity: 0 }
  to { opacity: 1 }
}
.section-white {
    background-color: #FFFFFF;
  }
  .zarosis-card {
    background-color: #FFFAFA;
    border-radius: 5px;
    margin: 5px;
    box-shadow: 0 4px 12px #00000014;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .zarosis-card:hover {
    box-shadow: 0 8px 20px #0000001F;
    transform: translateY(-4px);
  }
  .zarosis-product-card {
    background-color: #FFFAFA;
    border-radius: 5px;
    margin: 10px 10px 10px 10px;
    padding: 0px 0px 15px 0px;
    box-shadow: 0 4px 12px #00000014;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .zarosis-product-card:hover {
    box-shadow: 0 8px 20px #0000001F;
    transform: translateY(-4px);
  }
  .zarosis-partners-card {
    background-color: #F3F3F3;
    border-radius: 5px;
    margin: 5px;
    border: 1px solid #00000014;
    box-shadow: 0 6px 18px #00000014;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  
  .zarosis-partners-card:hover {
    box-shadow: 0 12px 28px #0000001F;
    transform: translateY(-4px);
  }
  .zarosis-partners-card img{
    border-radius: 5px;

  }

.bg-color1{
    background-color: var(--color1);
}
.bg-color2{
    background-color: var(--color2);
}
.bg-color3{
    background-color: var(--color3);
}
.bg-color4{
    background-color: var(--color4);
}
.footer-bg{
    background-color:#fdfdfd;
}

.color1{
    color: var(--color1);
}
.color2{
    color: var(--color2);
}
.color3{
    color: var(--color3);
}
.color4{
    color: var(--color4);
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
    background-color: var(--color4);
    position: sticky;
    top: 0;
    z-index: 999;
    height:120px;
    margin-bottom: 1px !important;
}
.normal-link,
.normal-link:active,
.normal-link:focus,
.normal-link:hover{
    text-decoration: none;
}

/* =========================
   LOGO
========================= */
.navbar-brand img,
.custom-logo {
    max-height: 100px;
    width: auto;
}

/* =========================
   MENU LINKS
========================= */
.navbar-nav .nav-link {
    position: relative;
    color: var(--color2);
    font-weight: 600;
    padding: 12px 18px;
    transition: color 0.3s ease;
    font-size: 18px;
}

/* UNDERLINE (DEFAULT HIDDEN) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background-color: var(--color2);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* =========================
   HOVER STATE
========================= */
.navbar-nav .nav-link:hover {
    color: var(--color3);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-nav .nav-link.active {
    color: var(--color2);
}

.navbar-nav .nav-link.active::after {
    width: 70%;
}
.navbar-nav .nav-link.js-active {
    color: var(--color2) !important;
}

.navbar-nav .nav-link.js-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 70%;
    height: 2px;
    background-color: var(--color3);
    transform: translateX(-50%);
}



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

.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* ADD custom arrow BEFORE text (all devices) */
.navbar-nav .dropdown-toggle::before {
    content: "▾";
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* OPEN STATE */
.navbar-nav .dropdown.show > .dropdown-toggle::before {
    content: "▾";
}
.justify-my-text{
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
/* Desktop hover dropdown */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* =========================
   MOBILE STYLES
========================= */
@media (max-width: 991px) {

    /* Logo smaller */
    .navbar-brand img,
    .custom-logo {
        max-height: 60px;
    }

    /* Logo left */
    .navbar-brand {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }

    /* Hamburger right */
    .navbar-toggler {
        margin-left: auto;
    }

    /* Menu text left */
    .navbar-collapse {
        text-align: left;
    }
    .navbar-nav .nav-link::after {
        display: none !important;
    }
    .custom-navbar {
        height:auto;
    }
   
}
.a:hover{
    color:var(--color3);
}


.footer-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        padding-left: 0;
      }

  .footer-menu::before {
    content: "Other Links";
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--color2);
  }
  
  .footer-menu li {
    margin: 10px 0; /* Space between items */
    text-decoration: none;
    list-style-type: none;
    margin-left: 0;
  }
  .footer-menu a {
    text-decoration: none; /* Remove underline */
    color: var(--color2);
    display: block;
    transition: color 0.3 ease;
    font-size: 15px;
    margin-left: 0;
  
  }
  .footer-menu a:hover {
    color: var(--color3);
  }
/* lascia il ricapito in footer*/
.a-btn-link-contact-details,
.a-btn-link-contact-details:active,
.a-btn-link-contact-details:focus{
color: var(--color4);
background-color: var(--color2);
border: 1px solid var(--color4);
border-radius: 40px;
min-width: 200px;
height: auto;
padding: 15px;
transition: 1s ease;
margin:0;
text-decoration: none;
font-size: medium;
font-weight: 600;

}
.a-btn-link-contact-details:hover{
    color: var(--color2);
    background-color: var(--color4);
    border: 1px solid var(--color1);
    }
    .footer-website-design,
    .footer-website-design:active,
    .footer-website-design:focus
    {
        color:var(--color2);
transition: 1s ease;
text-decoration: none;
font-weight: 600;
    }
    .footer-website-design:hover{
        transition: 1s ease;
        text-decoration: none;
        font-weight: 600;
        color:var(--color3);
            }
/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Hidden below the viewport initially */
    left: 50%;
    transform: translateX(-50%); /* Center the banner */
    width: 80%; /* Adjust the width as needed */
    max-width: 400px; /* Maximum width for larger screens */
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 10px; /* Rounded corners for the square window */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    transition: bottom 0.5s ease; /* Smooth transition for sliding */
    display: none; /* Initially hide the banner */
    z-index: 9999;
  }
  /* Button Styles */
  .cookie-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 3px;
  }
  /* Styling for the Reject button */
  .cookie-banner button:last-of-type {
    background-color: #f44336; /* Red color for Reject */
  }
  .cookies-learn-more{
    color:whitesmoke;
    text-decoration: none;
  }
  .cookies-learn-more:hover{
    color:whitesmoke;
    text-decoration:underline;
  }
 
  /* socail media icons*/
.fa {
    padding: 10px;
    font-size: 30px;
    width: 70px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    opacity: 1;
    color: var(--color2);
    transition: 0.5s ease-in-out;
   }
  .fa:active, .fa:focus, .fa:visited{
    color: var(--color4);
  }
  
   /* Add a hover effect if you want */
   .fa:hover{
    opacity: 1;
    color: var(--color3);
    background-color: var(--color1);
  }
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: var(--color2);
    color: var(--color4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }
  
  .footer-msg-font{
    font-family: "Montserrat", sans-serif !important;
    font-size: 18px;
    color: var(--color3);
  }
  #goTopBtn {
    position: fixed;
    bottom: 20px;
    left: 20px; /* LEFT SIDE */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--color2);
    color: var(--color4);
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  #goTopBtn:hover {
    transform: scale(1.1);
  }
  .stock-badge {
    position: absolute;
      max-width:100px;
      left:0;
    top: 0;
    display: inline-block;
    background: #c62828;
    color: yellow !important;
    margin: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 25px;
    z-index: 10;
  }
  .stock-badge h6{
      color:white !important;
  }
  .container-custom {
    width: 100%;
    max-width: 1200px; /* or 1140px */
    padding: 0 15px;
}

  .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 1px solid #e3e1e1bc;
    border-radius: 10px;
    background: #fff;
    min-height: 200px;
    opacity: 0;
    transform: translateY(14px);
    animation: brandFadeUp 0.5s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}
/* Hover effect */
.brand-logo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
@keyframes brandFadeUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.brand-logo-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
/* brand page */
.brand-header {
  text-align: center;
  margin: 60px 0 40px;
}

.brand-header img {
  max-height: 120px;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease;
}

.brand-header h1 {
  font-size: 32px;
  font-weight: 600;
}

.brand-switcher {
  text-align: center;
  margin-bottom: 50px;
}

.brand-switcher select {
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 8px;
}

.brand-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin: 50px 0;
}


.brand-title {
  font-size: 32px;
  margin: 10px 0;
}

.brand-select {
  margin-bottom: 40px;
}

.brand-select select {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  opacity: 0;
    transform: translateY(12px);
    animation: productFadeUp 1.45s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}
@keyframes productFadeUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.product-thumb {
  display: flex;
  justify-content: center;
}

.product-thumb img {
  border-radius: 12px;
  margin: 0 0 5 0;
  padding: 0;
  display: flex;
	width: 100%;
    height: 260px;         
    object-fit: contain;
    justify-content: center;
  
}

.product-title {
  margin-bottom: 5px;
  padding: 0;
  font-size: 18px;
  line-height: 1.3;
  min-height: calc(1.3em * 2); /* reserve space for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;

}
.product-title a{
  color: var(--color3);
  text-decoration: none;
  font-size: 18px;
}
.product-title a:hover,
.product-title a:visited,
.product-title a:focus{
  color: var(--color3);
  text-decoration: none;
}

.product-info {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-brand a {
  font-size: 15px;
  color: var(--color2);
  text-decoration: none;
}

.product-brand a:hover {
  text-decoration: underline;
}

.product-categories a {
  font-size: 14px;
  color: #3c1010;
  background: #f2f2f2;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-right: 6px;
}
@media (max-width: 768px) {
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
    padding: 10px;
  }

  .product-grid > * {
    width: auto !important;
    max-width: none !important;
  }

  .product-card {
    padding: 12px;
    border-radius: 14px;
  }

  .product-thumb img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: contain;
    
  }

  .product-title {
    font-size: 14px;
    min-height: calc(1.3em * 2);
  }

  .product-title a {
    font-size: 14px;
  }

  .product-brand a {
    font-size: 13px;
  }

  .product-categories a {
    font-size: 12px;
    padding: 3px 6px;
  }
}

.products-page {
  margin: 50px 0;
}

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.category-select {
  margin-bottom: 40px;
}

.category-select select {
  padding: 10px 16px;
  border-radius: 8px;
}
.product-search {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.product-search input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.product-search button {
  padding: 10px 18px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .product-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
  }

  .page-title {
      font-size: 24px;
  }
}

@media (max-width: 480px) {
  .product-grid {
      grid-template-columns: 1fr;
  }

  .product-search {
      flex-direction: column;
  }

  .category-select select {
      width: 100%;
  }
}

/* SINGLE PRODUCT */
.single-product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
  background-color: var(--color4);
  padding:20px 0;
  
}
.single-product-image{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color4);
  border-radius:10px;transform: translateY(12px);
  animation: productFadeUp 1.45s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.single-product-image:hover{
  transform: translateY(-6px);
box-shadow: 0 14px 30px rgba(0,0,0,0.12);

}

.single-product-image img {
  width: 100%;
  border-radius: 10px;
}
.single-product-info{
  display: flex;
  flex-direction: column;
  gap:20px;
  transform: translateY(12px);
  animation: productFadeUp 1.45s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding:20px 10px;
}
.single-product-info:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.single-product-info h1{
  font-size:30px;
}

.single-product-info>.product-brand a {
  color: var(--color2);
  margin-right: 8px;
  text-decoration: none;
}

.single-product-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .single-product-wrapper {
      grid-template-columns: 1fr;
  }
}
.breadcrumbs {
  font-size: 14px;
  margin: 15px 0;
  color: #4e4d4d;
}

.breadcrumbs a {
  color: #393838;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}
/*image size on single product page*/
.single-product-image img {
  width: 100%;
  max-width:350px;
  height: auto;
  display: block;
}

.product-filters {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-search {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 400px;
}

.product-search input[type="search"] {
  flex: 1;
  padding: 8px 10px;
  width: 100%;
}

.product-search button {
  padding: 8px 15px;
  cursor: pointer;
}

.category-select select {
  padding: 8px 10px;
  min-width: 200px;
}

/* MOBILE */
@media (max-width: 768px) {
  .product-filters {
      flex-direction: column;
      align-items: stretch;
  }

  .product-search,
  .category-select select {
      width: 100%;
      max-width: 100%;
  }
}

.woocommerce ul.products li.product {
  width: 100% !important;
}

/* logo on 404 page*/
.logo-medium {
  max-width: 300px;
  width: 100%;
  height: auto;
}
.container-page-not-found{
  display: grid;
  width: 100vw;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
  padding:20px 0;
  background-color: var(--color4);
  border-radius:10px;transform: translateY(12px);
  animation: productFadeUp 1.45s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}