/* CSS Variables */
:root {
    --bs-primary: #aa5a93;
    --bs-secondary: #ccc;
}

/* Rimozione border focus e active globale */
*:focus,
*:focus-visible,
*:active,
button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
.btn:focus,
.btn:active,
.btn:focus-visible,
.form-control:focus,
.form-control:active,
.form-select:focus,
.form-select:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
	border-color: transparent !important;
}



.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #9a3e7f;
}

/* Font globale Inter */
body,
html,
* {
    font-family: 'Inter', sans-serif !important;
	font-weight: 400;
	letter-spacing: 0.02rem;
}

.mt-6 {
    margin-top: 4rem !important;
}
.mb-6 {
    margin-bottom: 4rem !important;
}


/* Compensazione per header fisso */
body {
    padding-top: 78px;
	font-size: 0.9rem;
}

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

a:hover {
    color: #9a3e7f;
}

.text-white-70{
	color: rgba(255, 255, 255, .7) !important;
}

.lead {
    font-size: 1.1rem;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
	transform: scale(1);
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: none !important;
	transform: scale(1);
}

/* Animazioni */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
    clip-path: ellipse(172% 100% at 50% 0);
    -webkit-clip-path: ellipse(172% 100% at 50% 0); /* Safari */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home #main-content{
    margin-top: -40px;
}
.home .cat-icons{
    padding-top: 60px;
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}



.hero-section .container {
    position: relative;
    z-index: 2;
}



/* Search Form Styling */
.search-form {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
	margin-bottom: 100px;
}

.search-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.search-form .input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.search-form .form-control,
.search-form .form-select {
    border-color: #ced4da;
    transition: all 0.3s ease;
}

.search-form .form-control:focus,
.search-form .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    border-color: #007bff;
}

.search-form .input-group-text{
	background: transparent;
    border: 0;
}
.search-form input, .search-form select{ 
	border: 0;
    border-radius: 0;
	color: #7a7a7a;
	font-size: 15px;
}
.search-form #searchInput{
	border-right: 1px solid #d1d1d1;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .90);
    font-size: 1.0rem;
}

/* Sub Header Styling */
.sub-header-section {
    min-height: 300px;
}



/* Header Navbar Styling */
.navbar {
    transition: all 0.3s ease;
	padding: 0;
	height: 78px;
	display: flex;
	align-items: center;
}

.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 1rem);
}

/* Rimuovi effetto hover per dropdown */
.navbar-nav .dropdown > .nav-link::after {
    display: none !important;
}

.navbar-nav .dropdown > .nav-link:hover::after {
    width: 0 !important;
    display: none !important;
}

.navbar-nav .dropdown .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .dropdown > .nav-link {
    cursor: pointer !important;
    position: relative;
    margin-right: 15px;
}

.navbar-nav .dropdown > .nav-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 7px solid rgba(255, 255, 255, 0.7);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown > .nav-link:hover::before {
    border-top-color: rgba(255, 255, 255, 0.9);
}


.navbar-brand{
	margin-left: 40px;
}
.navbar-brand img {
    transition: all 0.3s ease;
	max-width: 124px;
}

.header-right {
    height: 78px;
    display: flex;
    align-items: center;
    padding: 0 40px;
	background-color: #aa5a93;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255,255,255,0.8) !important;
}

/* Favorites Icon */
.navbar-separator {
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    user-select: none;
}

.favorites-icon-wrapper, .notification-icon-wrapper {
    position: relative;
	margin-left: 15px;
}

.favorites-link, .notification-link {
    text-decoration: none;
    padding: 0.5rem;
}

.favorites-link .fa-heart, .notification-link .fa-bell {
    font-size: 1.2rem;
}

.favorites-count, .notification-count {
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    background-color: #b6b10e !important;
	bottom: 7px !important;
}
.favorites-count{
    background-color: #d69ec6 !important;
}

/* Notifications Popup */
.notifications-popup {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1050;
    animation: slideDown 0.3s ease;
}

.notifications-popup.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.notifications-header h6 {
    color: #212529;
    font-weight: 600;
}

.notifications-header .btn-close {
    padding: 0;
    width: 20px;
    height: 20px;
}

.notifications-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f3f5;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.notification-icon.info {
    background-color: #e7f3ff;
    color: #0066cc;
}

.notification-icon.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.notification-icon.warning {
    background-color: #fff3e0;
    color: #f57c00;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.notification-message {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.75rem;
    color: #adb5bd;
}

.notifications-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e9ecef;
}

.notifications-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.notifications-pagination button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.notifications-pagination button:hover:not(:disabled) {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.notifications-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.notifications-empty {
    padding: 3rem 1.25rem;
    text-align: center;
    color: #6c757d;
}

.notifications-empty i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}


.dropdown-toggle::after{
	margin-left: .355em;
}

.btn{
	font-size: 0.85rem;
}
.btn:hover {
    color: #fff;
}

.header-right-btn{
	background: #94427c;
    color: #fff;
	box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.1);
}
.header-right-btn:hover{
	background: #94427c;
	color: #fff;
	box-shadow: 0px 0px 0px 6px rgba(255, 255, 255, 0.0);
}

.header-search-btn{
	background: #a24e89;
    border-radius: 20px;
    padding: 8px 40px;
    color: #fff;
}
.header-search-btn span{
	margin: 0 10px;
}

/* Footer Enhancements */
.main-footer {
    position: relative;
    overflow: hidden;
    background-color: #fbfbfb;
}

.main-footer .footer-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.main-footer .container {
    position: relative;
    z-index: 2;
}
.bg-primary {
    background-color: #9a3e7f !important;
}

.foo-logo img{
    width: 170px;
    margin-bottom: 15px;
}

.main-footer .list-group a{
    margin-bottom: 10px
}

/* Footer Accordion for Mobile */
.footer-accordion-header {
    cursor: pointer;
    position: relative;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-accordion-header i {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.footer-accordion-header.active i {
    transform: rotate(180deg);
}

.footer-accordion-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Mobile styles */
@media (max-width: 1500px) {
    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .footer-accordion-content.active {
        max-height: 500px;
        opacity: 1;
    }
    
    .footer-accordion-item {
        padding-bottom: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .footer-accordion-item:last-child {
        border-bottom: none;
    }
    .foo-logo-text{
        margin-bottom: 25px
    }
    .sub-footer .text-end{
        text-align: center !important;
        margin-top: 10px;
    }
    .footer-accordion-header{
        margin-bottom: 0.7rem !important;
    }
}

/* Desktop - sempre visibili */
@media (min-width: 1501px) {
    .footer-accordion-content {
        max-height: none !important;
        opacity: 1 !important;
    }
}

/* Sort Filter */
.sort-filter {
    display: flex;
    align-items: center;
}

.sort-filter label {
    margin-bottom: 0;
    font-size: 0.875rem;
    white-space: nowrap;
}

.sort-filter .form-select {
    min-width: 180px;
    border-radius: 8px;
    border-color: #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sort-filter .form-select:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.15);
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background: #9a3e7f;
    border: none;
}
.btn-primary:hover{
	background: #935b71;
}

.btn-secondary{
    background: #3E2444
}
.btn-secondary:hover{
    background: #3E2444
}


.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
}


.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

.main-header .navbar{
	background: #9a3e7f;
}

#langDropdown{
	padding: 0.5rem;
}

.navbar-toggler {
    padding: .25rem .50rem;
	margin-left: 15px;
	border: 1px solid;
	background: none;
}

.navbar-toggler i {
    color: white;
    font-size: 1.2rem;
}

.intro-content{
	margin-top: 6rem;
	margin-bottom: 4rem;
}


.hero-section .scroll-down:after{
	content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 400px 58px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA3NiAzMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNzYgMzE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNmN2Y3Zjc7fQ0KPC9zdHlsZT4NCjx0aXRsZT5iZ19zb3VyY2VfYmFkZ2VfMTwvdGl0bGU+DQo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNTcuNywxMS40Yy0xLjQtMS40LTIuNy0yLjktNC4xLTQuNGMtMC4yLTAuMy0wLjUtMC41LTAuOC0wLjhjLTAuMi0wLjItMC4zLTAuMy0wLjUtMC41bDAsMA0KCUM0OC42LDIuMiw0My41LDAsMzgsMFMyNy40LDIuMiwyMy42LDUuN2wwLDBjLTAuMiwwLjItMC4zLDAuMy0wLjUsMC41Yy0wLjMsMC4zLTAuNSwwLjUtMC44LDAuOGMtMS40LDEuNS0yLjcsMy00LjEsNC40DQoJYy01LDUuMS0xMS43LDYuMS0xOC4zLDYuM1YzMWg5LjRoOC45aDM5LjRoNC45SDc2VjE3LjZDNjkuNCwxNy40LDYyLjcsMTYuNSw1Ny43LDExLjR6Ii8+DQo8L3N2Zz4NCg==);
    top: 25px;
    left: 0;
    z-index: -1;
}

.hero-section.sub-header .scroll-down:after{
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA3NiAzMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNzYgMzE7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNGRkZGRkY7fQ0KPC9zdHlsZT4NCjx0aXRsZT5iZ19zb3VyY2VfYmFkZ2VfMTwvdGl0bGU+DQo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNTcuNywxMS40Yy0xLjQtMS40LTIuNy0yLjktNC4xLTQuNGMtMC4yLTAuMy0wLjUtMC41LTAuOC0wLjhjLTAuMi0wLjItMC4zLTAuMy0wLjUtMC41bDAsMA0KCUM0OC42LDIuMiw0My41LDAsMzgsMFMyNy40LDIuMiwyMy42LDUuN2wwLDBjLTAuMiwwLjItMC4zLDAuMy0wLjUsMC41Yy0wLjMsMC4zLTAuNSwwLjUtMC44LDAuOGMtMS40LDEuNS0yLjcsMy00LjEsNC40DQoJYy01LDUuMS0xMS43LDYuMS0xOC4zLDYuM1YzMWg5LjRoOC45aDM5LjRoNC45SDc2VjE3LjZDNjkuNCwxNy40LDYyLjcsMTYuNSw1Ny43LDExLjR6Ii8+DQo8L3N2Zz4NCg==);
}


.text-primary{
	color: #9a3e7f !important;
}
.shadow-border{
    box-shadow: 0px 0px 0px 8px rgba(255, 255, 255, 0.2);
}


.sub-footer,.sub-footer .copyright{
	font-size: 13px;
}

.sub-footer .lang-selector{
	background: #7a465b;
    margin-left: 15px;
}


.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #aa5a93b8;
	background-color: rgba(162,105,129,.7);
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: rgba(162,105,129,.16);
}

#subscribe input{
	border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    border: 0;
    padding-left: 30px;
    font-size: 14px;
	height: 50px;
}


#subscribe .btn{
	    background: #fff;
    color: #9a3e7f;
    padding-right: 30px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

#subscribe .btn:disabled{
	pointer-events: none;
    opacity: 1;
}

.subscribe-header h5{
	font-size: 18px ;
}



.shop-card{
	border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
	overflow: hidden;
	position: relative;
}

.shop-card-wrapper {
	position: relative;
}

.shop-card-wrapper:after{
	content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    z-index: -1;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 14px 0 rgba(37, 44, 65, 0.12);
}
.shop-card .card-img-top {
	height: 230px;
	object-fit: cover;
}

.shop-card .card-body {
	flex: 1 1 auto;
	padding: 1rem 1rem;
	margin-top: -15px;
	border-radius: 15px;
	background: #fff;
	z-index: 11;
	text-align: left;
}

.shop-card .img-link:before{
	content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 30%;
    background: linear-gradient(to bottom, rgba(6, 27, 65, 0) 0%, rgb(68 39 51) 100%);
    z-index: 2;
}

.btn-pink {
  background-color: #ff6fa5;
  color: #fff;
  font-weight: 500;
  border-radius: 50px;
  font-size: 0.85rem;
  padding: 6px 16px;
}

.btn-pink:hover {
  background-color: #ff4e91;
  color: #fff;
}

.shop-card .rating {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 20;
}

.shop-card .rating i {
  color: #ffd43b;
}

.shop-card .cat-ico{
	background: #F75C96;
}

.shop-card .brand-logo {
	position: absolute;
    bottom: 6px;
    right: 6px;
    width: 60px;
    height: 60px;
	border: 5px solid #fff;
    padding: 0;
}


.ico-rounded{
	background: #9a3e7f;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    border-radius: 100px;
    color: #fff !important;
}

.shop-card .favorite-ico{
	background: #e69e38;
	position: absolute;
    top: 0;
    right: 0;
	z-index: 2;
}

.shop-card .favorite-btn span{
	border-radius: 36px;
    background: #e69e38;
    float: left;
    right: 0;
    height: 34px;
    line-height: 34px;
    color: #fff;
    padding: 0 48px 0 18px;
    font-size: 11px;
    font-weight: 600;
    position: relative;
    top: 0px;
    z-index: 1;
    transition: all .2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.shop-card .favorite-btn:hover{
	cursor: pointer;
}
.shop-card .favorite-btn:hover span{
	opacity: 1;
    visibility: visible;
}

.favorite-btn.loved .bi-heart{
	display: none !important;
}
.favorite-btn.loved .bi-heart-fill{
	display: flex !important;
}


.card-cashback-info p{
    display: flex;
    justify-content: space-between;
}

.cat-icons{
	background: #f7f7f7;
}

/* Categories Slider */
.categories-section {
    padding: 1rem 0;
}

.categories-swiper {
    padding: 0 20px;
}

.category-item {
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image-wrapper {
    position: relative;
    display: inline-block;
}

.category-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-item:hover .category-image {
    border-color: #9a3e7f;
    box-shadow: 0 6px 20px rgba(132, 66, 93, 0.3);
}

.category-name {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    color: #9a3e7f;
    font-weight: bold;
    width: 44px;
    height: 44px;
    top: 50%;
    margin-top: -35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.categories-swiper .swiper-button-next:hover,
.categories-swiper .swiper-button-prev:hover {
    background: #9a3e7f;
    color: white;
    box-shadow: 0 4px 15px rgba(132, 66, 93, 0.3);
}

.categories-swiper .swiper-button-next::after,
.categories-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}


/* Sidebar Styles */
.sidebar-content {
    padding: 0;
}

.widg-title{
	font-size: 18px; 
}

.active-users-widget {
    background: #fbfbfb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.active-users-widget h5 {
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #333;
}

.users-list {
    margin: 0;
}

.user-item {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.user-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.user-avatar {
    margin-right: 12px;
    flex-shrink: 0;
}

.user-avatar img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info {
    flex-grow: 1;
}

.user-info h6 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.user-info small {
    font-size: 0.8rem;
    color: #6c757d;
}

.status-indicator {
    flex-shrink: 0;
}

.status-indicator .badge {
    width: 8px;
    height: 8px;
    padding: 0;
}

.sidebar-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.sidebar-footer .btn {
    font-size: 0.85rem;
}

.rounded{
	border-radius: 10px !important;
}

/* Categories Widget */
.categories-widget {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.categories-widget .category-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.categories-widget .category-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.categories-widget .category-item:hover,
.categories-widget .category-item.active {
    background-color: rgba(170, 137, 151, 0.1);
    border-radius: 5px;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
}

.categories-widget .category-image {
    width: 40px;
    height: 40px;
    border: 0;
}

.categories-widget .category-image img {
    transition: transform 0.2s ease;
    width: 40px;
    height: 40px;
}

.categories-widget .category-item:hover .category-image img,
.categories-widget .category-item.active .category-image img {
    transform: scale(1.05);
}

/* Featured Brands Widget */
.featured-brands-widget {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.featured-brands-widget h5 {
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #333;
}

.brands-list {
    margin: 0;
}

.brand-item {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.brand-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.brand-image {
    margin-right: 12px;
    flex-shrink: 0;
}

.brand-image img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-info {
    flex-grow: 1;
}

.brand-info h6 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.brand-info small {
    font-size: 0.8rem;
    color: #6c757d;
}




/* ====================================
   MEDIA QUERIES
   ==================================== */

/* Mobile responsiveness - max-width: 1500px */
@media (max-width: 1500px) {
    .logo img {
        max-width: 100px;
    }

    #langDropdown i{
        display: none;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-brand {
        order: 1;
        flex-shrink: 0;
        margin-left: 15px;
    }
    
    .navbar .d-flex {
        order: 2;
        margin-right: 0 !important;
        margin-left: auto !important;
        justify-content: flex-end;
    }
    
    .navbar-toggler {
        order: 3;
        margin-left: 5px;
        flex-shrink: 0;
        display: block !important;
    }
    
    .navbar-collapse {
        order: 4;
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Sidebar Menu Mobile */
    .sidebar-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        background: #9a3e7f;
        z-index: 9999;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto;
        margin-top: 0 !important;
        order: initial;
        width: 300px !important;
        transform: translateZ(0);
        will-change: left;
    }
    
    .sidebar-menu.show {
        left: 0;
    }
    
    .sidebar-header {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: flex;
        justify-content: flex-end;
    }
    
    .sidebar-menu .navbar-nav {
        flex-direction: column;
        padding: 1rem 0;
        width: 100%;
    }
    
    .sidebar-menu .nav-item {
        width: 100%;
    }
    
    .sidebar-menu .nav-link {
        color: white !important;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }
    
    .sidebar-menu .nav-link:hover {
        background: rgba(255,255,255,0.1);
        transform: none;
        padding-left: 2rem;
    }
    
    /* Page Overlay */
    .page-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        transform: translateZ(0);
    }
    
    .page-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .favorites-icon-wrapper,.notification-icon-wrapper {
        margin-left: 5px;
    }

    .header-right {
        justify-content: flex-end;
        padding-right: 15px;
        padding-left: 15px;
    }

    .subscribe-header {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* Desktop Layout - min-width: 1501px */
@media (min-width: 1501px) {
	.header-right {
        padding-left: 30px;
    }
    .navbar {
        display: grid;
        grid-template-columns: 220px 1fr auto;
        align-items: center;
    }
    
    .navbar-brand {
        justify-self: start;
        max-width: 220px;
        overflow: hidden;
    }
    
    .navbar-collapse {
        justify-self: start !important;
        flex-grow: 0 !important;
        margin-left: 2rem;
    }
    
    .navbar .d-flex {
        justify-self: end;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.95rem;
        padding-left: 0.95rem;
    }
}

/* News Page Styling */
.news-card-hover {
    transition: all 0.3s ease;
    border-radius: 15px !important;
}

.news-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.news-card .card-body {
    padding: 1.5rem !important;
}

.news-card-img {
    transition: transform 0.3s ease;
    border-radius: 15px 15px 0 0 !important;
}

.news-card-hover .position-relative {
    border-radius: 15px 15px 0 0 !important;
    overflow: hidden !important;
}

.news-card-hover:hover .news-card-img {
    transform: scale(1.05);
}

.news-card .card-title a {
    transition: color 0.3s ease;
}

.news-card .card-title a:hover {
    color: #0d6efd !important;
}

/* Categories Mega Menu */
.categories-mega-menu {
    min-width: 400px;
    padding: 25px 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 0px;
}





/* Mantieni il menu aperto quando si passa dal link al dropdown */


.categories-mega-menu .container {
    padding: 0 25px;
}

.categories-mega-menu .dropdown-item {
    padding: 10px 0px;
    transition: all 0.3s ease;
    position: relative;
}

.categories-mega-menu .dropdown-item span {
    position: relative;
    transition: all 0.3s ease;
}

.categories-mega-menu .dropdown-item span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #aa8997;
    transition: width 0.3s ease;
}

.categories-mega-menu .dropdown-item:hover {
    background-color: transparent;
    transform: none;
}

.categories-mega-menu .dropdown-item:hover span::after {
    width: 100%;
}

.categories-mega-menu .dropdown-item img {
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.categories-mega-menu .dropdown-item:hover img {
    border-color: #aa8997;
}

.categories-mega-menu hr {
    border-color: #e9ecef;
    opacity: 0.5;
    margin: 15px 0;
}

.categories-mega-menu .col-12 {
    padding-top: 10px;
}

.categories-mega-menu .col-12 .dropdown-item {
    font-size: 0.85rem;
    color: #6c757d !important;
    font-weight: normal !important;
}

.categories-mega-menu .col-12 .dropdown-item:hover {
    color: #495057 !important;
}

/* Previeni il click sul link categorie */
.navbar-nav .dropdown > a[onclick="return false;"] {
    cursor: default;
}

/* Mobile responsive per mega menu */
@media (max-width: 991.98px) {
    .categories-mega-menu {
        min-width: 280px;
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid #dee2e6;
        margin: 10px 0;
        padding: 20px 0;
    }
    
    .categories-mega-menu .container {
        padding: 0 20px;
    }
    
    .categories-mega-menu .row {
        margin: 0;
    }
    
    .categories-mega-menu .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .categories-mega-menu .dropdown-item {
        text-align: left;
        justify-content: flex-start;
    }
    
    /* Su mobile ripristiniamo il comportamento click normale */
    .dropdown:hover .categories-mega-menu {
        display: block;
    }
    
    .navbar-nav .dropdown > a[onclick="return false;"] {
        cursor: pointer;
    }

    .navbar-nav .dropdown > .nav-link{
        margin-right: 0 !important;
    }
    .navbar-nav .dropdown > .nav-link::before{
        right: 15px;
    }

    .dropdown-menu{
        max-width: 280px;
        margin: 10px auto 10px auto;
        background-color: #f3e6ef;
    }
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.news-badge .badge {
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-meta {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.hero-news .card {
    border-radius: 20px !important;
}

.hero-news .card-img-top {
    border-radius: 20px 20px 0 0 !important;
}

.news-card .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f7f7f7;
}

.news-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Large containers - min-width: 1400px */
@media (min-width: 1400px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm, 
    .container-xl, 
    .container-xxl {
        max-width: 1424px;
    }
}

/* ===== BRAND PROFILE PAGE ===== */
.brand-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.brand-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.brand-profile-card {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 60px 20px;
}

.brand-logo-container {
    margin-bottom: 2rem;
}

.brand-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background: white;
    padding: 10px;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255,255,255,.54);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-rating {
    margin-bottom: 1.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.brand-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brand-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.brand-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Brand Tabs */
.brand-tabs {
    border-bottom: 2px solid var(--bs-gray-200);
    margin-bottom: 2rem;
}

.brand-tabs .nav-link {
    border: none;
    border-radius: 0;
    font-weight: 600;
    color: var(--bs-gray-600);
    padding: 1rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.brand-tabs .nav-link:hover {
    color: var(--bs-primary);
    background: transparent;
}

.brand-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
    border-color: transparent;
}

.brand-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary);
}

/* Tab Content Cards */
.brand-stats-card,
.brand-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-gray-200);
}

.brand-stats {
    margin-top: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--bs-gray-600);
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-gray-100);
}

.info-item:last-child {
    border-bottom: none;
}

.category-tag {
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Content Grid */
.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--bs-gray-200);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .content-thumbnail img {
    transform: scale(1.1);
}

.content-info {
    padding: 1rem;
}

.content-info h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Reviews Section */
.review-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bs-gray-200);
}

.average-rating h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.average-rating .rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-breakdown .rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-breakdown .rating-bar-item span:first-child {
    min-width: 60px;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-breakdown .rating-bar-item span:last-child {
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating-breakdown .progress {
    flex: 1;
    height: 8px;
    background: var(--bs-gray-200);
}

.rating-breakdown .progress-bar {
    background: var(--bs-warning);
}

.review-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bs-gray-200);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-rating {
    color: var(--bs-warning);
    font-size: 0.9rem;
}

.review-date {
    color: var(--bs-gray-500);
    font-size: 0.9rem;
}

.review-text {
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--bs-gray-700);
}

/* Brand Profile Responsive Design */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-logo {
        width: 100px;
        height: 100px;
    }
    
    .brand-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .brand-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .brand-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}