.rella-v2-offerte-premium-page {
    background: var(--rella-v2-green);
}

.rella-v2-offerte-premium-page .rella-v2-main {
    min-height: 100vh;
    background: var(--rella-v2-green);
    overflow-x: hidden;
}

@media (min-width: 810px) {
    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right {
        gap: 5px !important;
        padding: 0 !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right > a:nth-of-type(1) {
        background: url("../../../img/v2/nav-search.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right > a:nth-of-type(2) {
        background: url("../../../img/v2/nav-heart.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right > a:nth-of-type(3) {
        background: url("../../../img/v2/nav-bell.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right > a:nth-of-type(4) {
        background: url("../../../img/v2/nav-user.svg") center / 40px 40px no-repeat !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header #linkCarrello {
        margin-left: 67px;
        padding: 0 !important;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header #linkCarrello .font-8 {
        display: inline-block !important;
        text-transform: none;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header #linkCarrello .font-8::first-letter {
        text-transform: uppercase;
    }
}

body.rella-v2-offerte-premium-page .rella-v2-header {
    z-index: 1050;
}

body.rella-v2-offerte-premium-page .rella-v2-header .lang-choice {
    left: auto !important;
    right: 170px !important;
    top: 100px !important;
    z-index: 1120;
}

body.rella-v2-offerte-premium-page #sideMenu {
    left: 0 !important;
    right: auto !important;
    width: 420px !important;
    max-width: calc(100vw - 60px) !important;
    height: 1040px !important;
    min-height: 100vh !important;
    border: 0 !important;
    border-radius: 0 30px 30px 0 !important;
    background: #0b6e4f !important;
    box-shadow: none !important;
    color: var(--rella-v2-white) !important;
    transform: translateX(-100%) !important;
    z-index: 1300 !important;
}

body.rella-v2-offerte-premium-page #sideMenu.show,
body.rella-v2-offerte-premium-page #sideMenu.showing {
    transform: none !important;
}

body.rella-v2-offerte-premium-page #sideMenu.hiding {
    transform: translateX(-100%) !important;
}

body.rella-v2-offerte-premium-page.rella-v2-side-menu-open .offcanvas-backdrop.show {
    z-index: 1290 !important;
    background: #000 !important;
    opacity: 0.44 !important;
}

body.rella-v2-offerte-premium-page #sideMenu .offcanvas-header {
    height: 198px !important;
    padding: 0 !important;
    background: transparent !important;
}

body.rella-v2-offerte-premium-page #sideMenu .offcanvas-title .logo-rella {
    left: 48px !important;
    top: 99px !important;
    width: 119px !important;
    height: 53px !important;
    filter: none !important;
}

body.rella-v2-offerte-premium-page #sideMenu .btn-close {
    position: absolute !important;
    right: 60px !important;
    top: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 85px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--rella-v2-white) !important;
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

body.rella-v2-offerte-premium-page #sideMenu .btn-close::before {
    content: "Chiudi" !important;
    color: var(--rella-v2-white) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
}

body.rella-v2-offerte-premium-page #sideMenu .btn-close::after {
    content: "\F62A" !important;
    display: inline-flex !important;
    flex: 0 0 40px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: var(--rella-v2-white) !important;
    color: var(--rella-v2-orange) !important;
    font-family: "bootstrap-icons" !important;
    font-size: 24px !important;
    line-height: 40px !important;
}

body.rella-v2-offerte-premium-page #sideMenu .offcanvas-header::after {
    left: 48px !important;
    right: 60px !important;
    bottom: 0 !important;
    background: #f9ab91 !important;
}

body.rella-v2-offerte-premium-page #sideMenu .offcanvas-body {
    padding: 129px 0 0 48px !important;
    background: transparent !important;
}

body.rella-v2-offerte-premium-page #sideMenu ul,
body.rella-v2-offerte-premium-page #sideMenu li,
body.rella-v2-offerte-premium-page #sideMenu li a {
    width: 312px !important;
}

body.rella-v2-offerte-premium-page #sideMenu li {
    height: 78px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f9ab91 !important;
}

body.rella-v2-offerte-premium-page #sideMenu li a {
    display: flex !important;
    align-items: center !important;
    height: 78px !important;
    gap: 23px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--rella-v2-white) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
}

body.rella-v2-offerte-premium-page #sideMenu li a:hover,
body.rella-v2-offerte-premium-page #sideMenu li a:focus-visible {
    background: transparent !important;
    color: var(--rella-v2-white) !important;
    transform: none !important;
}

body.rella-v2-offerte-premium-page #sideMenu li i {
    display: inline-flex !important;
    flex: 0 0 40px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: var(--rella-v2-white) !important;
    color: var(--rella-v2-orange) !important;
    font-size: 20px !important;
}

body.rella-v2-offerte-premium-page #sideMenu li a:hover i,
body.rella-v2-offerte-premium-page #sideMenu li a:focus-visible i {
    background: var(--rella-v2-white) !important;
    color: var(--rella-v2-orange) !important;
}

.rella-v2-offers {
    min-height: 100vh;
    padding-top: 117px;
    background: var(--rella-v2-green);
}

.rella-v2-premium-strip {
    padding-bottom: 48px;
}

.rella-v2-premium-strip__avatar {
    text-decoration: none;
}

.rella-v2-premium-strip__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    width: min(894px, calc(100vw - 120px));
    margin: 46px auto 0;
}

.rella-v2-premium-strip__actions .r-btn,
.rella-v2-premium-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    height: 53px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    text-decoration: none;
}

.rella-v2-premium-secondary-link {
    border: 1px solid var(--rella-v2-border);
    background: var(--rella-v2-white);
    color: var(--rella-v2-text);
}

.rella-v2-offers-panel {
    min-height: 860px;
    padding: 0 0 140px;
    border-radius: 0;
    background: var(--rella-v2-paper);
}

.rella-v2-premium-banner {
    display: block;
    width: min(1300px, calc(100vw - 120px));
    height: 220px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
    background: #d9d9d9;
}

.rella-v2-premium-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rella-v2-offers-content {
    width: min(1300px, calc(100vw - 120px));
    margin: 42px auto 0;
}

.rella-v2-offers-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.rella-v2-offers-toolbar h2 {
    margin: 12px 0 0;
    color: var(--rella-v2-green);
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0;
}

.rella-v2-offers-toolbar p {
    margin: 0 0 4px;
    color: var(--rella-v2-color-text-muted);
    font-size: 16px;
    line-height: 24px;
}

.rella-v2-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 270px));
    justify-content: start;
    gap: 28px 24px;
    width: 100%;
}

.rella-v2-empty-state {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 22px;
    min-height: 240px;
    padding: 64px 24px;
    border: 1px solid var(--rella-v2-border);
    border-radius: 30px;
    background: var(--rella-v2-white);
    text-align: center;
}

.rella-v2-empty-state h3 {
    margin: 0;
    color: var(--rella-v2-text);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.rella-v2-product-card {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.rella-v2-premium-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 536px;
    padding: 14px 10px 12px;
    border: 1px solid var(--rella-v2-border);
    border-radius: 30px;
    background: var(--rella-v2-white);
    color: var(--rella-v2-text);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: none;
}

.rella-v2-premium-card:hover,
.rella-v2-premium-card:focus-visible {
    transform: none;
    box-shadow: 0 18px 34px rgba(11, 104, 71, 0.1);
}

.rella-v2-premium-card::before {
    content: none !important;
    display: none !important;
}

.rella-v2-product-image {
    position: relative;
    display: block !important;
    flex: 0 0 auto;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #d9d9d9 !important;
}

.rella-v2-product-image > img:first-child,
.rella-v2-product-image .prodotto-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 24px !important;
    object-fit: cover !important;
    transform: none !important;
    filter: none !important;
}

.rella-v2-product-tags {
    position: absolute;
    left: 8px;
    top: 8px;
    right: 58px;
    display: flex;
    gap: 4px;
    max-width: calc(100% - 66px);
    overflow: hidden;
}

.rella-v2-product-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 112px;
    height: 29px;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid var(--rella-v2-orange-dark);
    border-radius: 30px;
    background: var(--rella-v2-white);
    color: #161616;
    font-size: 11px;
    font-weight: 400;
    line-height: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rella-v2-product-heart {
    position: absolute;
    right: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rella-v2-white);
    color: var(--rella-v2-orange);
    font-size: 18px;
    line-height: 1;
}

.rella-v2-premium-card .prodotto-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rella-v2-premium-card .prodotto-nome-container {
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

.rella-v2-product-origin {
    display: block;
    margin: 15px 0 0;
    color: var(--rella-v2-orange);
    font-size: 15px;
    font-weight: 400;
    line-height: 19px;
}

.rella-v2-product-name {
    display: -webkit-box;
    width: 100%;
    min-height: 39px;
    max-height: 78px;
    margin: 0 auto;
    overflow: hidden;
    color: var(--rella-v2-text);
    font-size: 30px;
    font-weight: 600;
    line-height: 39px;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rella-v2-premium-card .prodotto-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    min-height: 23px;
    margin: 6px 0 0;
}

.rella-v2-premium-card .prodotto-badges:empty {
    display: none;
}

.rella-v2-premium-card .prodotto-sottocategoria {
    width: 100%;
    min-height: 18px;
    margin: 6px auto 0;
    overflow: hidden;
    color: var(--rella-v2-orange);
    font-size: 13px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rella-v2-premium-card .prodotto-prezzo {
    margin: 6px 0 0;
    color: var(--rella-v2-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.rella-v2-product-rule {
    display: block;
    width: 100%;
    height: 1px;
    margin: 7px auto 14px;
    background: #e7dede;
}

.rella-v2-product-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    height: 40px;
    margin: 0 0 14px;
}

.rella-v2-product-qty-btn,
.rella-v2-product-qty .quantity-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--rella-v2-orange);
    color: var(--rella-v2-white);
    font-size: 28px;
    line-height: 36px;
}

.rella-v2-product-qty .quantity-display {
    min-width: 58px;
    color: var(--rella-v2-text);
    font-family: var(--rella-v2-product-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 37px;
    white-space: nowrap;
}

.rella-v2-premium-card .bancarella-info {
    width: 100%;
    min-height: 52px;
    margin: 0 auto 12px;
    color: var(--rella-v2-muted);
    font-size: 12px;
    line-height: 16px;
}

.rella-v2-premium-card .bancarella-info a {
    color: var(--rella-v2-orange-dark) !important;
    text-decoration: none;
}

.rella-v2-button-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    margin-top: auto;
    padding: 0 14px;
    border: 0;
    border-radius: 51px;
    background: var(--rella-v2-orange);
    color: var(--rella-v2-white);
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
}

.rella-v2-button-cart:disabled {
    opacity: 0.78;
}

.rella-v2-loader {
    display: none;
    justify-content: center;
    padding: 48px 0 0;
}

.rella-v2-loader.show {
    display: flex;
}

.rella-v2-loader .spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(255, 110, 63, 0.24);
    border-top-color: var(--rella-v2-orange);
    border-radius: 50%;
    animation: rella-v2-spin 0.8s linear infinite;
}

.rella-v2-offers-mobile-nav {
    display: none;
}

@keyframes rella-v2-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1340px) {
    .rella-v2-premium-grid {
        justify-content: center;
    }
}

@media (max-width: 809px) {
    body.rella-v2-offerte-premium-page .rella-v2-header,
    body.rella-v2-offerte-premium-page .rella-v2-header .nav-rella {
        height: 135px;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right {
        pointer-events: none;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right a,
    body.rella-v2-offerte-premium-page .rella-v2-header .nav-right button {
        pointer-events: auto;
    }

    body.rella-v2-offerte-premium-page .rella-v2-header #apriMainNav {
        z-index: 3;
    }

    body.rella-v2-offerte-premium-page #sideMenu {
        left: auto !important;
        right: 0 !important;
        width: 420px !important;
        max-width: calc(100vw - 60px) !important;
        border-radius: 30px 0 0 30px !important;
        transform: translateX(100%) !important;
    }

    body.rella-v2-offerte-premium-page #sideMenu.show,
    body.rella-v2-offerte-premium-page #sideMenu.showing {
        transform: none !important;
    }

    .rella-v2-offers {
        padding-top: 135px;
    }

    .rella-v2-premium-strip {
        padding-top: 28px;
        padding-bottom: 46px;
    }

    .rella-v2-premium-strip__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: min(360px, calc(100vw - 60px));
        margin-top: 32px;
    }

    .rella-v2-premium-strip__actions .r-btn,
    .rella-v2-premium-secondary-link {
        width: 100%;
        min-width: 0;
        height: 50px;
    }

    .rella-v2-offers-panel {
        min-height: 640px;
        padding-bottom: 120px;
        border-radius: 30px 30px 0 0;
    }

    .rella-v2-premium-banner {
        width: calc(100vw - 48px);
        height: 152px;
        border-radius: 30px;
    }

    .rella-v2-offers-content {
        width: calc(100vw - 48px);
        margin-top: 32px;
    }

    .rella-v2-offers-toolbar {
        display: block;
        margin-bottom: 22px;
    }

    .rella-v2-offers-toolbar h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .rella-v2-offers-toolbar p {
        margin-top: 8px;
    }

    .rella-v2-premium-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        gap: 18px;
    }

    .rella-v2-premium-card {
        min-height: 0;
        padding: 14px;
    }

    .rella-v2-product-image {
        aspect-ratio: 16 / 11;
        border-radius: 22px !important;
    }

    .rella-v2-product-image > img:first-child,
    .rella-v2-product-image .prodotto-image {
        border-radius: 22px !important;
    }

    .rella-v2-product-name {
        font-size: 28px;
        line-height: 34px;
        min-height: 34px;
        max-height: 68px;
    }

    .rella-v2-premium-card .bancarella-info {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 18px;
    }

    .rella-v2-button-cart {
        min-height: 58px;
    }

    .rella-v2-offers-mobile-nav {
        display: flex !important;
    }
}

@media (max-width: 420px) {
    body.rella-v2-offerte-premium-page #sideMenu {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
    }

    body.rella-v2-offerte-premium-page #sideMenu .btn-close,
    body.rella-v2-offerte-premium-page #sideMenu .offcanvas-header::after {
        right: 40px !important;
    }

    body.rella-v2-offerte-premium-page #sideMenu ul,
    body.rella-v2-offerte-premium-page #sideMenu li,
    body.rella-v2-offerte-premium-page #sideMenu li a {
        width: calc(100vw - 136px) !important;
    }

    .rella-v2-premium-strip__actions,
    .rella-v2-offers-content,
    .rella-v2-premium-banner {
        width: calc(100vw - 48px);
    }

    .rella-v2-product-tags span {
        max-width: 96px;
        padding: 0 10px;
    }
}
