/* Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--black);
    padding: 10px 0;
    border-radius: 4px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.language-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--black);
}

.language-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-dropdown ul li {
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.language-dropdown ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    display: block;
    white-space: nowrap;
}

.language-dropdown ul li a.active {
    font-weight: 700;
}

/* User Selector */
.user-selector {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--black);
    padding: 10px 0;
    border-radius: 4px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.user-selector:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--black);
}

.user-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-dropdown ul li {
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.user-dropdown ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-dropdown ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    display: block;
    white-space: nowrap;
}

/* Favorites Sidebar */
.favorites-selector {
    position: relative;
    cursor: pointer;
}

.favorites-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.favorites-sidebar.active {
    right: 0;
}

.favorites-header,
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favorites-header h4 {
    margin: 0;
}

.favorites-items {
    padding: 20px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.favorite-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-grey);
}

.favorite-item:last-child {
    border-bottom: none;
}

.favorite-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.favorite-item-info {
    flex: 1;
    position: relative;
}

.favorite-item-info h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--dark-grey);
}

.favorite-item-info p {
    margin: 0;
    font-size: 14px;
    color: var(--secondary-grey);
}

.remove-favorite {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--secondary-grey);
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
}

.favorites-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px 20px;
    background-color: #f8f9faf0;
    box-shadow: 0 -2px 14px 0 rgb(0 0 0 / 8%);
    text-align: center;
}

.btn-favorites {
    display: block;
    width: 100%;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: var(--secondary-green);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.btn-favorites:hover {
    opacity: 0.9;
}

/* Scrollbar styling for favorites */
.favorites-items::-webkit-scrollbar {
    width: 6px;
}

.favorites-items::-webkit-scrollbar-track {
    background: var(--white-grey);
}

.favorites-items::-webkit-scrollbar-thumb {
    background: var(--light-grey);
    border-radius: 3px;
}

.favorites-items::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-grey);
}

/* Cart Sidebar */
.cart-selector {
    position: relative;
    cursor: pointer;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 42px 0px 0px 62px;
}

.cart-header h4 {
    margin: 0;
}

.close-cart,
.close-favorites {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 0;
}

.close-cart,
.close-favorites img {
    width: 20px;
    height: 20px;
    display: block;
}

.cart-items {
    padding: 24px 24px 0 24px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.cart-items .sidebar-product-list {
    background: #fff;
    border-radius: 24px;
    padding: 24px 24px 0 24px;
    max-width: 900px;
    margin-bottom: 40px;
}

.cart-items .sidebar-product {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #d9d9d97a;
}

.cart-items .sidebar-product-img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cart-items .sidebar-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: white;
}

.cart-items .sidebar-product-info {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-items .sidebar-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.fav-header {
    padding-top: 40px !important;
}

.cart-items .sidebar-product-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-grey);
    line-height: 1;
    margin-bottom: 5px;
}

.cart-items .sidebar-product-icons {
    display: flex;
    gap: 8px;
}

.cart-items .sidebar-fav-btn,
.cart-items .sidebar-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.cart-items .sidebar-fav-btn:hover,
.cart-items .sidebar-remove-btn:hover {
    opacity: 0.8;
}

.cart-items .sidebar-fav-btn img,
.cart-items .sidebar-remove-btn img {
    width: 28px;
    height: 28px;
}

.cart-items .sidebar-product-details {
    font-size: 14px;
    color: var(--dark-grey);
    margin: 4px 0 0 0;
    font-weight: 400;
}

.cart-items .sidebar-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cart-items .sidebar-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-grey);
    margin: 0;
    letter-spacing: -1px;
}

.cart-items .sidebar-product-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 999px;
    overflow: hidden;
    max-width: 120px;
    height: 38px;
    margin: 0;
    transition: background 0.3s ease;
    background-color: var(--white);
    opacity: 0.7;
}

.cart-items .sidebar-qty-btn {
    width: 32px;
    height: 40px;
    background: none;
    border: none;
    color: var(--secondary-grey);
    font-size: 14px;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background 0.3s ease;
}

.cart-items .sidebar-qty-btn:hover {
    color: var(--dark-grey);
}

.cart-items .sidebar-qty {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 15px;
    background: transparent;
    color: var(--secondary-grey);
    --moz-appearance: textfield;
}

.cart-items .sidebar-qty:focus {
    outline: none;
}

.cart-items .sidebar-qty::-webkit-inner-spin-button,
.cart-items .sidebar-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-items .sidebar-qty[type="number"] {
    text-align: center;
    width: 60px;
    padding: 0;
    font-size: 14px;
}

@media (max-width: 700px) {
    .cart-items .sidebar-product-list {
        padding: 12px 4px 0 4px;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .cart-items .sidebar-product {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cart-items .sidebar-product-img {
        width: 100%;
        height: 90px;
        margin-bottom: 8px;
    }

    .cart-items .sidebar-product-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-items .sidebar-product-qty {
        margin: 0;
        min-width: 120px;
        padding: 0 12px;
        gap: 12px;
    }
}

.cart-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-grey);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
    position: relative;
}

.cart-item-info h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--dark-grey);
}

.cart-item-info p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--secondary-grey);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--light-grey);
    background: var(--white);
    color: var(--dark-grey);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
}

.cart-item-quantity input {
    width: 40px;
    height: 24px;
    text-align: center;
    border: 1px solid var(--light-grey);
    margin: 0 5px;
    font-size: 14px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--dark-grey);
    font-size: 14px;
}

.remove-cart-item {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--secondary-grey);
    font-size: 20px;
    text-decoration: none;
    line-height: 1;
}

.cart-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f9faf0;
    box-shadow: 0 -2px 14px 0 rgb(0 0 0 / 8%);
}

.cart-total {
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: var(--secondary-green);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.btn-checkout:hover {
    opacity: 0.9;
}

.btn-cart {
    display: block;
    width: 100%;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.btn-cart:hover {
    opacity: 0.9;
}

/* Scrollbar styling for cart */
.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--white-grey);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--light-grey);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-grey);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-item-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border: 1px solid var(--light-grey);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--secondary-grey);
}

.btn-action img,
.btn-action svg {
    width: 14px;
    height: 14px;
    margin: 0;
}

.btn-action:hover {
    background-color: var(--white-grey);
}

.btn-compare:hover {
    border-color: var(--secondary-grey);
    background-color: var(--white-grey);
    color: var(--dark-grey);
}

.btn-favorite:hover {
    border-color: #ff4d4d;
    background-color: #fff0f0;
}

.btn-favorite:hover img {
    filter: invert(39%) sepia(95%) saturate(7471%) hue-rotate(347deg) brightness(100%) contrast(100%);
}

/* Estilos para as sidebars */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 997 !important;
}

.sidebar-overlay.active {
    display: block;
}

.favorites-sidebar,
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -700px;
    width: 700px;
    height: 100%;
    background: #fff;
    z-index: 9999 !important;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.favorites-sidebar.active,
.cart-sidebar.active {
    right: 0;
}

.favorites-header,
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-favorites,
.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: var(--white);
}

.favorites-items,
.cart-items {
    padding: 0 24px 0 24px;
}

.favorite-item,
.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.favorite-item img,
.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
}

.favorite-item-info,
.cart-item-info {
    flex: 1;
}

.btn-favorites,
.btn-checkout,
.btn-cart {
    display: block;
    width: 100%;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: var(--secondary-green);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.btn-favorites:hover,
.btn-checkout:hover,
.btn-cart:hover {
    opacity: 0.9;
}

/* Sidebar Produtos */

.sidebar-product-list {
    background: #fff;
    border-radius: 24px;
    padding: 24px 24px 0 24px;
    /*max-width: 900px;*/
}

.sidebar-product {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 24px;
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #d9d9d982;
}

.sidebar-product-img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sidebar-product-info {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.sidebar-product-header {
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.sidebar-product-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-grey);
    line-height: 1;
    margin-bottom: 5px;
    padding-top: 5px;
}

.sidebar-product-icons {
    display: flex;
    gap: 8px;
}

.sidebar-fav-btn,
.sidebar-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s;
}

.sidebar-fav-btn:hover,
.sidebar-remove-btn:hover {
    opacity: 0.8;
}

.sidebar-fav-btn img,
.sidebar-remove-btn img {
    width: 28px;
    height: 28px;
}

.sidebar-product-details {
    font-size: 14px;
    color: var(--dark-grey);
    margin: 4px 0 0 0;
    font-weight: 400;
}

.sidebar-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.sidebar-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-grey);
    margin: 0;
    letter-spacing: -1px;
}

.sidebar-product-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 999px;
    overflow: hidden;
    max-width: 120px;
    height: 38px;
    margin: 0;
    transition: background 0.3s ease;
}

.sidebar-qty-btn {
    width: 32px;
    height: 40px;
    background: none;
    border: none;
    color: var(--secondary-grey);
    font-size: 20px;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar-qty-btn:hover {
    color: var(--dark-grey);
}

.sidebar-qty {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 15px;
    background: transparent;
    color: var(--secondary-grey);
    --moz-appearance: textfield;
}

.sidebar-qty:focus {
    outline: none;
}

.sidebar-qty::-webkit-inner-spin-button,
.sidebar-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sidebar-qty[type="number"] {
    text-align: center;
    width: 60px;
    padding: 0;
    font-size: 14px;
}

hr {
    border: none;
    margin: 0 0 24px 0;
}

@media (max-width: 700px) {
    .sidebar-product-list {
        padding: 12px 4px 0 4px;
        max-width: 100%;
    }

    .sidebar-product {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sidebar-product-img {
        width: 100%;
        height: 90px;
        margin-bottom: 8px;
    }

    .sidebar-product-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sidebar-product-qty {
        margin: 0;
        min-width: 120px;
        padding: 0 12px;
        gap: 12px;
    }
}

@media (max-width: 700px) {

    .favorites-sidebar,
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* website menu */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0);
    box-shadow: none;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 999;
    overflow-y: none;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
}

.side-menu.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease;
}

.side-menu-header {
    display: flex;
    justify-content: flex-start;
    max-width: 1600px;
    width: 100%;
    align-items: center;
    padding: 60px 40px;
    background-color: rgba(0, 0, 0, 0.95);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    position: relative;
    gap: 40px;
}

.side-menu-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 32px;
    text-align: left;
    padding-left: 0;
    white-space: nowrap;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}

.side-menu-search {
    display: flex;
    align-items: center;
    flex: 1;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: flex;
    align-items: center;
}

.side-menu-search input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 80px;
    border: none;
    background: transparent;
    color: var(--white);
    outline: none;
}

.side-menu-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.side-menu-search .search-bar-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
}

.side-menu-search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-search button img {
    width: 24px;
    height: 24px;
}

.menu-content {
    background-color: #202122;
    width: 100%;
}

.side-menu-content {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.side-image-edges {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.side-image-edges[data-image="default"] {
    background-color: transparent;
}

.side-image-edges[data-image="orlas"] {
    background-image: url('../webp/banners/modulo-60-edges-banner.webp');
}

.side-image-edges[data-image="superficies"] {
    background-image: url('../webp/banners/modulo-60-surfaces-banner.webp');
}

.side-image-edges[data-image="outros"] {
    background-image: url('../webp/banners-home/modulo-60-slider-others-03.webp');
}

.side-image-modulo60 {
    width: 100%;
    height: 100%;
    background-image: url('../webp/banners-web/modulo-60-about-us.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
    opacity: 1;
}

.sub-menu-products {
    display: flex;
    flex-direction: row;
    gap: 120px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.sub-menu-products .side-menu-section {
    flex: 1;
    max-width: 300px;
    margin: 0;
    padding: 40px;
}

.sub-menu-products .side-menu-section:last-child {
    flex: 0 0 50%;
    max-width: none;
    padding: 0;
    margin-left: auto;
}

.sub-menu-products .side-menu-section:not(:last-child) {
    flex: 0 0 auto;
    max-width: 300px;
}

.side-menu-section {
    flex: 1;
    max-width: 300px;
    margin-bottom: 0;
    padding: 40px;
}

.side-menu-section h4 {
    color: var(--secondary-grey);
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 400;
}

.side-menu-section ul {
    list-style: none;
    padding: 10px 0 10px 0px;
    margin: 0;
}

.side-menu-section ul li {
    padding: 5px 0;
}

.side-menu-section ul li span {
    cursor: pointer;
    color: var(--white-grey);
    transition: all 0.3s ease;
    display: block;
    font-weight: 400;
}

.side-menu-section ul li span:hover {
    opacity: 0.9;
}

.side-menu-section ul li a.menu-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-menu-section ul li a.menu-link img {
    transition: opacity 0.3s ease;
}

.side-menu-section ul li a.menu-link:hover {
    opacity: 0.9;
}

.side-menu-section ul li a.menu-link:hover img {
    opacity: 0.9;
}

.side-menu-section ul li a.menu-link.active-link {
    color: var(--secondary-green);
}

.side-menu-section ul li a.menu-link.active-link img {
    content: url('../svg/arrow-item-menu-green.svg');
    opacity: 1;
}

.side-menu-section ul li a.menu-link.active-link {
    color: var(--secondary-green);
}

.side-menu-section ul li a.menu-link.active-link img {
    content: url('../svg/arrow-item-menu-green.svg');
    opacity: 1;
}

.side-menu-footer {
    padding: 50px 40px 120px 50px;
    color: var(--white);
    text-align: center;
    font-size: 12px;
}

.side-menu-footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.side-menu-footer a:hover {
    opacity: 0.9;
}

.side-menu-footer img {
    vertical-align: middle;
}

/* Menu arrow styles */
.side-menu-section ul li span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    font-size: 14px;
}

.side-menu-section ul li span img {
    transition: opacity 0.3s ease;
}

/* Default state - white arrow */
.side-menu-section ul li span img[src*="arrow-item-menu-white.svg"] {
    opacity: 1;
}

.side-menu-section ul li span img[src*="arrow-item-menu-green.svg"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

/* Hover state - reduce opacity of white arrow */
.side-menu-section ul li span:hover img[src*="arrow-item-menu-white.svg"] {
    opacity: 0.9;
}

.side-menu-section ul li span:hover img[src*="arrow-item-menu-green.svg"] {
    opacity: 0;
}

/* Active state - show green arrow */
.side-menu-section ul li span.active-link {
    color: var(--secondary-green);
}

.side-menu-section ul li span.active-link img[src*="arrow-item-menu-white.svg"] {
    opacity: 0;
}

.side-menu-section ul li span.active-link img[src*="arrow-item-menu-green.svg"] {
    opacity: 1;
}

.side-menu-section a {
    color: var(--white);
    font-weight: 400;
    font-size: 14px;
}

.side-menu-main-image {
    width: 100%;
    min-height: 500px;
    background-image: url('../webp/banners-home/modulo-60-slider-04-a.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
}

.side-menu-sections-wrapper {
    display: flex;
    flex-direction: row;
    gap: 80px;
    flex-wrap: wrap;
    width: 100%;
    opacity: 1 !important;
    filter: none !important;
}

#dynamicContentSection {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#dynamicContentSection.active-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

/* Main Menu Links */
.side-menu-section:first-child ul li a.menu-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-menu-section:first-child ul li a.menu-link img {
    transition: opacity 0.3s ease;
}

.side-menu-section:first-child ul li a.menu-link:hover {
    opacity: 0.9;
}

.side-menu-section:first-child ul li a.menu-link:hover img {
    opacity: 0.9;
}

.side-menu-section:first-child ul li a.menu-link.active-link {
    color: var(--secondary-green);
    font-weight: 600;
}

.side-menu-section:first-child ul li a.menu-link.active-link img {
    content: url('../svg/arrow-item-menu-green.svg');
    opacity: 1;
}

/* Dynamic Content Section */
#dynamicContentSection {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#dynamicContentSection.active-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

#dynamicContentSection ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

#dynamicContentSection ul li a:hover {
    opacity: 0.9;
}

/* Responsive styles */

@media (max-width: 1535px) {
    .side-image-edges {
        width: 29%;
    }
}

@media (max-width: 1078px) {
    .side-image-edges {
        width: 0;
    }
}

@media (max-width: 768px) {
    .side-menu {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: 100vh !important;
    }

    .side-menu.active {
        transform: translateX(0);
    }

    .side-menu-header {
        padding: 70px 22px 25px
    }

    .side-menu-header h3 {
        font-size: 28px;
    }

    .side-menu-header .close-btn img {
        width: 20px;
        height: 20px;
    }

    .side-menu-search input {
        font-size: 14px;
        padding: 12px;
    }

    .side-menu-search button img {
        width: 20px;
        height: 20px;
    }

    .side-menu-sections-wrapper {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        padding-top: 20px;
    }

    .side-menu-main-image {
        min-height: 150px;
        margin-bottom: 0;
    }

    .side-menu-section {
        max-width: 100%;
    }

    .side-menu-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .side-menu-section ul li a {
        font-size: 14px;
    }

    .close-btn {
        right: 10px;
    }

    .side-menu-header {
        padding: 70px 10px 25px;
    }

    .menu-main ul {
        padding: 50px 0;
    }

    .side-image-modulo60 {
        display: block !important;
        width: 100vw !important;
        min-height: 180px !important;
        height: 300px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        z-index: 10;
        position: relative;
    }

    .side-menu-footer span {
        display: flex;
        flex-direction: column;
        align-items: left;
        display: block;
        text-align: left !important;
        padding: 6px 0;
    }

    .side-menu-footer a {
        display: block;
        color: var(--white);
        font-size: 12px;
        font-weight: 400;
        text-decoration: none;
        padding: 6px 0;
        transition: color 0.3s;
        text-align: left;
    }

    .side-menu-footer a:hover {
        opacity: 0.9;
    }

    .footer-sep {
        display: none !important;
    }

    .footer-arrow-icon {
        display: inline-block !important;
        vertical-align: middle;
        margin-left: 4px;
        height: 10px;
        width: 10px;
    }

    /* footer-language */
    .footer-language-drilldown,
    .footer-account-drilldown {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100vw;
        background: #232323;
        color: var(--white);
        z-index: 99999;
        padding: 30px 0 30px 40px;
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        align-items: left;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
        transition:
            transform 0.3s,
            opacity 0.3s,
            visibility 0.3s;
    }

    .footer-language-drilldown.active,
    .footer-account-drilldown.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition:
            transform 0.3s,
            opacity 0.3s,
            visibility 0.3s;
    }

    .footer-language-drilldown.slide-out,
    .footer-account-drilldown.slide-out {
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.3s,
            opacity 0.3s,
            visibility 0.3s;
    }

    .footer-language-drilldown ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: left;
    }

    .footer-language-drilldown ul li a,
    .footer-account-drilldown ul li a {
        color: var(--white);
        font-size: 14px;
        font-weight: 400;
        text-decoration: none;
        display: block;
        padding: 8px 0;
        text-align: left;
        transition: color 0.3s;
    }

    .footer-language-drilldown ul li a:hover,
    .footer-account-drilldown ul li a:hover {
        opacity: 0.9;
    }


    .footer-lang-back-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 14px;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideInDown {
        from {
            transform: translateY(0);
            opacity: 1;
        }

        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }

    /*language end*/


}

.products-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.products-link:hover {
    color: var(--secondary-green);
}

.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    padding-right: 35px;
    position: relative;
}

.dropdown-trigger::after {
    content: '';
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url('../svg/arrow-down-white.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.dropdown-trigger:hover {
    opacity: 0.9;
}

.dropdown-content.show+.dropdown-trigger::after,
.dropdown-trigger.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-content.show+.dropdown-trigger:hover::after,
.dropdown-trigger.active:hover::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
    display: none;
    width: 100%;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content li {
    padding: 10px 0;
}

.dropdown-content li a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding-left: 4px;
    font-size: 14px;
}

.dropdown-content li a img {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown-content li a:hover {
    opacity: 0.9;
}

.menu-panel-list {
    padding-bottom: 50px !important;
}

.menu-panel h4 {
    color: var(--secondary-grey);
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 400;
}

.menu-panel a {
    color: var(--white) !important;
    font-weight: 400 !important;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-panel a:hover {
    opacity: 0.9;
}

.footer-arrow-icon {
    display: none;
}

.footer-arrow-mobile {
    cursor: pointer;
}

/* Esconde só em desktop, mostra em mobile */
.footer-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .footer-mobile-only {
        display: block;
    }
}

.cart-footer-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.btn-checkout {
    background-color: var(--dark-grey);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-checkout:hover {
    background-color: var(--green);
}

.sidebar-product-title .product-description {
    font-size: 14px;
    color: var(--secondary-grey);
    font-weight: 400;
    margin-top: 2px;
    text-transform: uppercase;
}

.sidebar-product-title .product-ref {
    font-size: 14px;
    color: var(--dark-grey);
    font-weight: 400;
    margin-top: 2px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

