.navbar{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    color: white;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.contNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.navbar-brand-nav {
    display: flex !important;
    align-items: center;
    gap: 32px;
}
.navbar-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.navbar.navbar-scrolled {
    background: var(--nav-scrolled);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}
.rowNavDesktop{
    display:flex;
    align-items:center;
    gap: 28px;
}
.navbar a{
    text-transform: uppercase;
    text-decoration: none;
    line-break: auto;
    text-align: center;
    width:fit-content;
    color: var(--text-muted);
    transition: color .2s;
}
.rowNavDesktop > a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 6px 0;
    position: relative;
    color: var(--text-muted);
}
.rowNavDesktop > a.nav-active {
    font-weight: 600;
    color: var(--text-strong);
}
.rowNavDesktop > a.nav-active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.navbar ~ .container{
    margin-top:66px;
}
.productList{
    z-index:1;
}
.langImg{
    width:20px;
    height:20px;
    border-radius:20px;
}
.menuLingue{
    z-index:1;
    flex-direction: column;
    position:fixed;
    display:none;
    padding:10px;
    border-radius:20px;
    row-gap: 5px;
}
.menuLingue .lingua{
    cursor:pointer;
}
#btn_lingua, #btn_lingua_mob{
    display:flex;
    gap:10px;
    justify-content: center;
    align-items: center;
}
@media(max-width:1000px){
    .menuLingue{
        z-index:1002;
    }
}
/*navbar mobile*/

#openNavbar, #closeBtn{
    background:none;
    border:none;
    font-size:32px;
}

#menuNavMobile{
    width:100vw;
    height:100dvh;
    z-index:1001;
    position:fixed;
    top:0;
    left:0;
    display:none;
    flex-direction: column;
    overflow: hidden;
}
#menuNavMobile > .d-flex {
    flex-shrink: 0;
}
#menuNavMobile .logoMenuMob{
    height:5rem;
    width:auto;
}
.contLinkMob{
    display:flex;
    flex: 1;
    width:100%;
    margin-top: 1rem;
    flex-direction: column;
    align-items:flex-start;
    justify-content: flex-start;
    gap: 1.5rem;
    padding:1rem;
    padding-bottom: 5rem; /* Extra padding for bottom reachability */
    text-transform: uppercase;
    overflow-y: auto;
    overflow-x: hidden;
}
.mainLink{
    display:flex;
    width:100%;
    flex-direction:column;
    gap: 1rem;
    font-size:1.25rem;
}
.mainLink > a {
    padding-bottom: 0.5rem;
    border-bottom:1px solid var(--fifth-color) !important;
    text-decoration: none;
}
.mainLink .customAccordion{
    padding-bottom: 0.5rem;
    border-bottom:1px solid var(--fifth-color) !important;
}
.altriLink{
    display:flex;
    flex-direction:row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--fifth-color);
}
.altriLink button{
    background:none;
    border:none;
    font-size: 1.25rem;
    color: inherit;
    cursor: pointer;
    padding: 4px;
}
.altriLink > div {
    display: flex;
    align-items: center;
}
.altriLink-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}
#closeBtn{
    position:fixed;
    right:2%;
    top:2%;
}

.catQuad{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width:100%;
    height:100%;
    border-radius:var(--bs-border-radius);
    border: none !important;
}
.quadChild{
    display:flex;
    justify-content: center;
    align-items:center;
    color:white;
    background: rgba(0, 0, 0, 0.15); /* Much more transparent as requested */
    transition: all 0.3s ease;
    font-size:1rem;
    font-weight: 600;
    text-align:center;    
    border-radius:var(--bs-border-radius);
    padding: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    border: none !important;
}
.catQuad-link{
    flex:1;
    min-width:10rem;
    height:10rem;
    text-decoration: none;
}
.quadChild:hover{
    background:rgba(14, 30, 55, 0.8);
    backdrop-filter: blur(4px);
}
#menuNavMobile a{
    text-decoration: none;
    transition:text-decoration 1s ease-in-out;
}
.mainLink > a:hover{
    text-decoration: underline;
}
.elCat{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    row-gap: 10px;
    column-gap: 10px;
    width:100%;
    height:100%;
    justify-content: center;
    align-items: center;
}

#btn_cart_mob{
    position:relative;
    background:none;
    border:none;
}
#btn_cart_mob .numeroElementiCarrello{
    position:absolute;
    top:0;
}
.numeroElementiCarrello{
    background:var(--first-color);
    color:white;
}
#responseContainer{
    max-height:60dvh;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: flex-start;
    align-items:center;
    gap:20px;
    overflow:auto;
}
#response{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content: flex-start;
    align-items:center;
    gap:20px;
}
#responseContainer .row, #response .row{
    display:flex;
    flex:1;
    flex-basis:250px;
    flex-direction:column;
    gap:10px;
    justify-content: center;
    align-items: center;
    padding:2%;
    margin:10px;
}
#responseContainer .row a, #response .row a{
    text-decoration: none;
}
#responseContainer .row img, #response .row img{
    max-width:200px;
    max-height:200px;
    object-fit: contain;
}

@media(max-width:992px){
    .navbar-brand-nav,
    .navbar-actions {
        display: none !important;
    }
    .navbar .navbar-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .navbar-mobile-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.mainLink .customAccordion {
  border-radius:0;
}

.mainLink .customAccordion-toggle {
  width: 100%;
  border: none;
  text-align: left;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:none;
  color:inherit;
  border-bottom:inherit;
  text-transform: uppercase;
  padding-left:0;
  border-radius:0;
}

.mainLink .customAccordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mainLink .customAccordion-content > .elCat {
  padding: 1rem 0;
}

.mainLink .customAccordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.mainLink .customAccordion-toggle[aria-expanded="true"] .customAccordion-icon {
  transform: rotate(45deg); /* da + a × */
}

.btn-partner-nav {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: white;
    color: var(--first-color) !important;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    text-transform: none !important;
    text-decoration: none !important;
}
.btn-partner-nav:hover {
    background: rgba(255,255,255,0.85);
}
[data-bs-theme="light"] .btn-partner-nav {
    background: var(--first-color);
    color: white !important;
}
[data-bs-theme="light"] .btn-partner-nav:hover {
    background: var(--second-color);
    color: white !important;
}
@media(max-width:992px){
    .btn-partner-nav { display: none; }
    .altriLink .lang-pill {
        padding: 3px 8px;
        font-size: 10px;
    }
    .altriLink .lang-switcher {
        padding: 2px;
    }
}

/* Language pill switcher */
.lang-switcher {
    display: flex;
    border: 1px solid var(--border-med);
    border-radius: 999px;
    padding: 3px;
    background: var(--input-bg);
    gap: 0;
}
.lang-pill {
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: transparent;
    color: var(--text-muted);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: all .18s;
    text-transform: uppercase;
}
.lang-pill:hover { color: var(--text-strong); }
.lang-pill.active {
    background: var(--third-color);
    color: #ffffff !important;
    border-color: var(--third-color);
}
[data-bs-theme="light"] .lang-pill.active {
    background: var(--first-color);
    color: #ffffff !important;
    border-color: var(--first-color);
}

/* Icon buttons in navbar-actions — uniform circle style */
.btn-theme-circle,
.navbar-actions #btn_search,
.navbar-actions #btn_cart,
.navbar-actions #bth_user {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--input-bg);
    border: 1px solid var(--border-med);
    color: var(--text-strong);
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: all .2s;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.btn-theme-circle:hover,
.navbar-actions #btn_search:hover,
.navbar-actions #btn_cart:hover,
.navbar-actions #bth_user:hover {
    border-color: var(--accent);
    color: var(--accent);
}
/* Heart icon link — same size as icon buttons */
.navbar-actions .btn-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--input-bg);
    border: 1px solid var(--border-med);
    color: var(--text-strong) !important;
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: all .2s;
    flex-shrink: 0;
    text-decoration: none;
}
.navbar-actions .btn-nav-icon:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}