/*
1. Google Fonts
2. Variabili globali (:root)
3. Fondamenta (html, body)
4. Tipografia (titoli, paragrafi, link)
5. Componenti (navbar, section, bottoni) 
6. Colori e background
7. Sizing
8. Form
9. Altri layout (griglie e contenitori)
10. 10 Animazioni
*/


/* 1) Fonts */
    
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* 2) Variabili */

:root {
    --primary-color: #3B3634;
    --background-color: #fff;  
    --background-color-2: #8ECDE5;
    --background-color-azzurro: #C7E6F2;
    --background-color-light-grey: #eeeeee;
    --pop-color: #12B0E5;
    --link-hover-color:#12B0E5;
    
    --custom-radius:0px;
    --btn-radius:20px;
    --btn-padding: 0.5rem 1.5rem;
    --section-padding: 120px;    
    --main-font: "Ubuntu", sans-serif;
    --pseudo-container-padding: 6rem;
}


/* 3) Fondamenta (html, body) */

html {
    font-size: 16px; /* Base del rem */
    scroll-behavior: smooth;
    color:  var(--primary-color);
}

body {
    background-color: var(--background-color); 
    font-size: 16px;
    font-family: var(--main-font);
    line-height: 1.6;
    color: var(--primary-color);
}

/* 4) Tipografia (titoli, paragrafi, link) */

.alt-font{
    font-family: var(--alt-font);
}

h1, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 5rem;
    line-height: 1;
    letter-spacing: -0.25rem;
}

h2 {
    font-size: 4rem;
    line-height: 1.1;
    color:var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 2rem;
}

h6{
    color:var(--primary-color);
}

p {
    margin-bottom: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* 5) Componenti (bottoni, moduli, ecc.) */

.sticky-top {
    top: 0 !important;
    z-index: 99999!important;
}

.nav-item{ padding: 0.5rem 2rem;}

.nav-link{
    color: #4B4643;
    font-size: 14px;
    font-weight: 300;
    padding-left: 0px!important;
    padding-right: 0px!important;
    text-transform: uppercase;
}

.nav-item{
    padding-left: 1rem!important;
    padding-right: 1rem!important;
}

.navbar-container{
    border-bottom: 1px solid color(srgb 1 1 1 / 0.5);
}

.navbar.scrolled .navbar-container{
    border-bottom: transparent;
}

.sticky-nav {
    position: fixed !important;
    top: 0;
    background: white; /* O un altro colore */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    width: 100%;
    background: #fff;
    transition: all 0.35s ease; 
    z-index: 1020;
    padding: 30px 0;
}

.navbar.scrolled {
    background-color: rgb(255 255 255 / 100%) !important;
    color: var(--text-color);
    padding: 8px 0;
}

.navbar.scrolled .nav-link {
    color: var(--text-color)!important;
}

.navbar #logo{
    height:40px!important;
    transition: all 0.35s ease; 
}
.navbar.scrolled #logo{
    height:35px!important; 
}

.navbar-toggler{
    padding: 0;
}

ul.dropdown-menu {
    background-color: transparent;
    border: transparent;
}

.dropdown-menu li{
    background-color:white;
    margin-bottom: 0.1rem;
    border-radius: 30px;
}

.dropdown-menu li a{
    color: rgba(0, 0, 0, 0.8);
    font-weight:300;
    font-size: 15px;
}
.dropdown-menu li:hover{
    background-color:white;
}

.dropdown-menu li:hover a{
    color:var(--pop-color);
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent;
    color:var(--pop-color);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--pop-color);
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:focus-within {
    border: unset;
    box-shadow: none;
}
.subnav {
    background-color: var(--background-color-2);
    width: 100%;
}

.subnav-menu {
    margin: 0;
    padding: 0.6rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.subnav-menu li { 
    padding: 0 1.2rem;
    color: #fff;
}
.subnav-menu li:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.6);
}
.subnav-menu li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.subnav-menu li a:hover {
    color: #fff;
    opacity: 0.85;
}


.header-icon{
    font-size:20px;
    text-decoration:none;
    position:relative;
}
.header-icon:hover{
    color:#0d6efd;
}
.header-icons{
    gap:20px;
}
.cart-count{
   position: relative;
    top: -10px;
    display: inline-block;
    font-size:12px;
}

#footer {
    background-color: var(--primary-color);
    color:#fff;
}
#footer ul.menu-footer{
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}
#footer ul.menu-footer li{
    padding: 10px 0;
    line-height: 1;
}
#footer ul.menu-footer li:last-child{
    padding-bottom: 0;
}
#footer ul.menu-footer li a{
    color: #CFCFCF;
    font-size: 14px;
    font-weight: 400;
}
#footer .info-footer {
    font-size:14px;
    font-weight: 400;
}
#footer .social-footer a{
    color:#fff;
    margin: 0 15px;
}
#footer .social-footer a:first-child{
    margin-left: 0;
}
#footer .social-footer a:last-child{
    margin-right: 0;
}
#footer h5 {
    font-size:16px;
    font-weight: 400;
    color: #fff;
}

.bg-dark ul li a, .bg-dark, .bg-dark p, .bg-dark a{
    color: #fff;
}

.bg-dark ul li a:hover, .bg-dark a:hover{
    color: var(--pop-color);
}

.bg-azzurro {
    background-color: var(--background-color-azzurro);
}

section{
    padding-top:var(--section-padding);
    padding-bottom:var(--section-padding);
}

section.half-section, .half-section{
    padding-top:calc(var(--section-padding)/2);
    padding-bottom:calc(var(--section-padding)/2);
}

.pseudo-container{
    padding-left: calc(var(--pseudo-container-padding)*1);
    padding-right: calc(var(--pseudo-container-padding)*1);
}


/* 6) Colori e background */

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--link-hover-color);
}



/* 7) Sizing */

.min-vh-30{
    min-height:30vh;
}

.min-vh-50{
    min-height:50vh;
}

.min-vh-100{
    min-height:100vh;
}

.min-vw-30{
    min-width:30vw;
}

.min-vw-50{
    min-width:50vw;
}

.min-vw-100{
    min-width:100vw;
}

.vw-30{
    width:30vw;
}

.vw-50{
    width:50vw;
}

.vw-100{
    width:100vw;
}


/* 8 Form di contatto */
.name-box, .email-box, .message-box {
    position: relative;
    display: block;
}
.name-box, .email-box {
    width: 47%;
    float: left;
    margin-bottom: 20px;
    margin-right: 6%;
    position: relative;
}
.email-box {
    margin-right: 0px;
}
.name-box::after, .email-box::after {
    clear: both;
    content: " ";
    display: table;
}
.message-box {
    float: left;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}
.message-box label {
    display: block;
}
.border-bottom p label .wpcf7-form-control-wrap {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid;
}
.wpcf7-form-control-wrap input[type="text"],.wpcf7-form-control-wrap input[type="email"], .wpcf7-form-control-wrap textarea {
    font-weight: 400;
    padding: 12px 20px 12px 20px;
    padding-left: 0;
    width: 100%;
    border-radius: 0px;
    margin-bottom: 0px;
    border: none;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    box-sizing: border-box;
    background-color: transparent;
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.wpcf7-form-control-wrap textarea {
    overflow: auto;
    vertical-align: top;
}
.wpcf7-form-control-wrap {
    border-bottom: 0px solid;
}
.wpcf7-list-item {
    margin-left: 0;
}
.wpcf7-list-item-label {
    font-size: 14px !important;
}
.button-box {
    line-height: 16px;
    border: none;
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    position: relative;
}
.clapat-button-wrap {
    display: flex;
    min-width: 100px;
}
.clapat-button {
    opacity: 1;
}
input[type="submit"] {
    background-color: var(--primary-color) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border-radius: var(--btn-radius);
    padding: var(--btn-padding);
    text-transform: uppercase;
    display: flex;
    justify-content: flex-end;
}

/* 9) Altri layout (contenitori, parti grafiche)*/
.yith-wcwl-add-to-wishlist-button__label {
    display: none;
}
.hero {
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - var(--header-height));
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* overlay scuro */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 80%
}
.hero-content h1 {
    font-size: clamp(32px, 6vw, 110px);
    line-height: 1.1;
}

.btn-prosdocimi { border-radius: var(--btn-radius); padding: var(--btn-padding); text-transform: uppercase }
.btn-white { background-color: #fff; color: var(--primary-color); }
.btn-dark { background-color:  var(--primary-color); color: #fff }


.search-form {
  max-width: 340px;
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  background: #f3f3f3;
  border-radius: 999px;
  padding: 0 18px;
  transition: all 0.35s ease;     
}
.navbar.scrolled .search-box {
  height: 40px;    
}

.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #9a9a9a;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  color: #444;
  box-shadow: none;
}

.search-input::placeholder {
  color: #a8a8a8;
  opacity: 1;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}


#category-home .row.align-items-stretch > [class*="col-"] {
    display: flex;
}

.category-home-left {
    min-height: 100%;
}

.box-single-category,
.box-category {
    height: 100%;
}

.box-main {
    background-color: #fff;
}

.promo-paper-content {
    padding: 3rem 2rem;
}

.promo-paper-content h2 {
    font-size: 32px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
}

.promo-paper-content p {
    margin-bottom: 0;
    max-width: 520px;
}

.promo-paper-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.promo-paper-image-left {
    padding-top: 1.5rem;
}

.promo-paper-image-right img,
.promo-paper-image-left img {
    width: 100%;
    object-fit: contain;
}

.category-tech-row {
    min-height: 240px;
}

.box-category {
    padding: 2rem;
    display: flex;
    align-items: center;
}

.box-category-icon {
    margin-bottom: 1.5rem;
}

.box-category-icon img {
    display: block;
    max-width: 52px;
    height: auto;
}

.box-category-text h3 {
    font-size: 21px;
    font-weight: 500;
}

.box-category-text p {
    margin-bottom: 0;
    font-weight: 300;
}

.titolo-section {
    font-size: 21px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 1%;
    text-transform: uppercase;
}
.item-brand {
    height: 128px;
    background-color: #EDEDED;
    border-radius: 15px;
    padding: 12px;
}
.item-brand img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
}
.brand-slider-nav{
    display:flex;
    gap:15px;
}
.brand-slider-nav .swiper-button-prev,
.brand-slider-nav .swiper-button-next{
    position:static;
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color: var(--primary-color);
    margin-top: 0;
}

.product-card {
    position: relative;
    background: #f5f5f5;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0;
    overflow: hidden;
}

.product-card-media {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}

.product-card-image img {
    max-width: 150px;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.product-card-title a {
    color: var(--primary-color);
}

.product-card-title a:hover {
    color: #3b3634;
}

.product-card-price {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3%;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.product-card-price .price {
    margin: 0;
}

.product-card-price ins,
.product-card-price bdi,
.product-card-price span {
    text-decoration: none;
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.2rem 0.8rem;
    border: 1px solid #8d8d8d;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
    color: #4b4643;
    background: transparent;
}

.wishlist-icon {
    top: 0.25rem;
    right: 0.25rem;
    z-index: 3;
}

.product-card-quickview {
    right: 0.25rem;
    bottom: 0.25rem;
    border: 0;
    background: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: #3b3634;
}

.product-card-quickview:hover {
    background: #fff;
    color: #3b3634;
}

.product-card .badge {
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-weight: 500;
}

.product-card .price del {
    opacity: 0.5;
    margin-right: 0.35rem;
}

.product-card .price ins {
    font-weight: 500;
}

.box-info h4 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-transform: uppercase;
}
.box-info p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

#section-contact {
    background-color: var(--background-color-light-grey);
}

#section-contact h2 {
    font-size: 50px;
    line-height: 51px;
    font-weight: 500;
}


.filter-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.filter-option.is-disabled span,
.filter-option.is-disabled small {
  color: #8c8c8c;
}

/* 10) Animazioni */

