/* ============================================
   CSS VARIABLES - Define colors per tenant
   ============================================ */
:root {
    /* Default DL colors */
    --dl-primary-color: #ffffff;
    --dl-secondary-color: #000000;
    --dl-text-color: #333333;
}

/* believe tenant colors */
.believe-theme,
.believe.body,
.believe.inside,
.believe main,
main.believe,
main.believe-landing,
.believe.tenant-tag-product,
.believe.tenant-tag,
.believe.sticky-header,
#believe {
    --tenant-primary-color: #011A29;
    --tenant-secondary-color: #E61F2C;
    --tenant-text-color: #ffffff;
    --tenant-badge-color: #E61F2C;
}

/* ============================================
   BASE STYLES - Shared across all contexts
   ============================================ */
ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: initial;
}

/* ============================================
   TENANT BODY & MAIN - Layout Structure
   ============================================ */
.believe.body {
    background-color: var(--tenant-primary-color);
    color: var(--tenant-text-color);
}

.believe main,
main.believe {
    background-color: var(--tenant-primary-color);
    color: var(--tenant-text-color);
}

@media screen and (min-width: 768px) {
    .believe main,
    main.believe {
        padding-top: 130px !important;
    }
}

@media screen and (max-width: 769px) {
    .believe main,
    main.believe {
        padding-top: 0 !important;
    }
}

main.believe #half .row-in .l {
    top: 80px !important;
}

/* ============================================
   TENANT CARD/PRODUCT BLOCKS
   ============================================ */
.believe.inside {
    background-color: var(--tenant-primary-color);
    color: var(--tenant-text-color);
}

.believe.inside {
    background-color: var(--tenant-primary-color) !important;
    box-shadow: 0px 0px 10px #00000067;
}

.believe.inside img {
    margin: 0 !important;
    width: 100%;
}

.believe.inside .believe.info {
    border-top: none !important;
}

.believe.img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}

main.believe #prodotti .prodotto {
    box-shadow: 0px 0px 10px #00000067;
}

main.believe #half .row-in .l {
    width: 50% !important;
}

@media screen and (max-width: 768px) {
    main.believe #half .row-in .l {
        width: 100% !important;
    }
}

.believe #prodotti .prodotto {
    box-shadow: none !important;
}

main.believe #half .row .row-in {
    width: 100%;
}

.believe #half .row-in .l .img img {
    @media (max-width: 768px) {
        aspect-ratio: 6 / 4;
    }
}

/* ============================================
   TENANT TAG - Badge/Label on products
   ============================================ */
.believe.tenant-tag {
    background-color: var(--tenant-badge-color, var(--tenant-secondary-color));
    font: normal normal bold 12px/17px Red Hat Display;
    color: var(--tenant-text-color);
}

@media screen and (min-width: 768px) {
    .believe.tenant-tag {
        font-size: 20px;
    }
}

.tenant-tag {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 6px 20px;
    background: var(--tenant-badge-color, var(--tenant-secondary-color));
    color: var(--tenant-text-color);
    font-size: 14px;
}

.tenant-tag-product {
    padding: 8px 16px;
    background: var(--tenant-badge-color, var(--tenant-secondary-color));
    color: var(--tenant-text-color);
    font-size: 14px;
}

.believe.tenant-tag-product {
    background-color: var(--tenant-badge-color, var(--tenant-secondary-color));
    color: var(--tenant-text-color);
}

@media screen and (min-width: 768px) {
    .believe.tenant-tag-product {
        font-size: 20px;
    }
}

.tenant-tag-product.mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .tenant-tag-product.mobile {
        display: block;
        position: absolute;
        bottom: 42px;
        right: -40px;
        z-index: 1;
    }
    .tenant-tag-product.desktop {
        display: none;
    }
}

.mobile.believe.tenant-tag {
    display: none;
    position: initial;
    top: initial;
    right: initial;
    background-color: var(--tenant-badge-color, var(--tenant-secondary-color));
    color: var(--tenant-text-color);
    padding: 8px 16px;
    font: normal normal bold 12px/17px Red Hat Display;
}

@media screen and (min-width: 768px) {
    .mobile.believe.tenant-tag {
        display: none;
    }
}

.desktop.believe.tenant-tag {
    display: block;
    background-color: var(--tenant-badge-color, var(--tenant-secondary-color));
    color: var(--tenant-text-color);
    padding: 8px 16px;
    font: normal normal bold 12px/17px Red Hat Display;
}

@media screen and (min-width: 768px) {
    .desktop.believe.tenant-tag {
        display: block;
        font-size: 20px;
    }
}

/* ============================================
   TENANT HEADER & NAVIGATION
   ============================================ */
.believe.header {
    background-color: var(--tenant-secondary-color);
    color: var(--tenant-text-color);
}

.believe.header .row-in {
    width: calc(97% - 10px);
}

.believe.header .title {
    font-size: 50px;
    text-align: center;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .believe.header {
        display: none;
    }
}

.believe-navbar {
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.believe-navbar .nav-placeholder {
    width: 33%;
}

.believe-navbar .nav-title {
    width: 33%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.believe-navbar .nav-title img {
    max-width: 360px;
    height: 70px;
}

.believe-navbar .nav-icons {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    top: 0;
    padding-top: 2px;
    border-bottom: none !important;
    width: 33%;
}

.believe-navbar .nav-icons li {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 8%;
}

.believe-navbar .nav-icons i {
    font-size: 24px;
}

#believe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--tenant-secondary-color);
    padding: 10px 20px;
}

ul.believe {
    list-style: none;
    margin: 0;
    top: 0;
    background-color: var(--tenant-secondary-color);
    color: var(--tenant-text-color);
    border-bottom: none !important;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

ul.believe li {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 16%;
}

ul.believe li i {
    font-size: 22px;
}

#believe div img {
    max-width: 150px;
    height: 30px;
}

@media screen and (min-width: 769px) {
    #believe {
        display: none !important;
    }
}

/* ============================================
   TENANT PRIMARY ARTIST
   ============================================ */
.believe.primaryArtist {
    position: relative;
}

main #half .believe.top .info .releaseEpoch .primaryArtist {
    padding: 15px 0 !important;
    font-size: 20px !important;
}

@media screen and (min-width: 768px) {
    main #half .believe.top .info .releaseEpoch .primaryArtist {
        font-size: 26px !important;
    }
}

.primary-artist-link {
    text-decoration: underline;
    padding: 10px 0;
    font-size: 20px;
}

/* ============================================
   TENANT TOP SECTION (Product Page)
   ============================================ */
.top {
    padding: 10px 30px !important;
    font-weight: 400;
    position: relative !important;
    z-index: 2;
}

.believe.top {
    background: var(--tenant-secondary-color) !important;
    color: var(--tenant-text-color) !important;
}

@media screen and (min-width: 768px) {
    .believe.top {
        top: 10px !important;
    }
}

main #half .row-in .r .top .count {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
}

@media screen and (max-width: 769px) {
    main #half .row-in .r .top .count {
        flex-direction: column !important;
    }
}

main #half .top .info .le {
    text-align: center !important;
}

@media screen and (min-width: 768px) {
    main #half .top .info .le {
        text-align: right !important;
    }
}

/* ============================================
   TENANT DESCRIPTION
   ============================================ */
.believe.desc {
    background: var(--tenant-secondary-color);
    color: var(--tenant-text-color) !important;
}

.believe.desc .description {
    width: 90%;
}

@media screen and (max-width: 768px) {
    .believe.desc .description {
        width: 100%;
    }
}

.believe.desc .description.truncate {
    white-space: nowrap;
    overflow: hidden;
}

.believe.desc .ellipses-desc {
    display: block;
    cursor: pointer;
    text-decoration: underline;
}

.believe.description {
    background: var(--tenant-secondary-color);
    color: var(--tenant-text-color) !important;
}

.believe.tenant-description {
    width: 100%;
    background-color: var(--tenant-secondary-color) !important;
    padding: 20px 0 !important;
}

.believe.tenant-title {
    background-color: var(--tenant-secondary-color);
    color: var(--tenant-text-color);
    margin: 0;
    text-align: center;
    font: normal normal bold 30px/40px Red Hat Display;
    padding: 20px 0 20px 0;
}

.believe.tenant-desc {
    background-color: var(--tenant-secondary-color);
    color: var(--tenant-text-color);
    text-align: center;
    margin: 0 auto;
    padding: 60px 0 !important;
}

.believe.tenant-desc h2 {
    margin: 0;
}

.believe.tenant-subtitle {
    color: var(--tenant-text-color);
    text-align: center;
    font: normal normal 300 30px/40px Red Hat Display;
    padding: 0 0 20px 0;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .believe.tenant-subtitle {
        font-size: 20px;
        line-height: 30px;
        width: 70%;
        margin: 0 auto;
    }
}

.believe.tenant-paragraph {
    color: var(--tenant-text-color);
    text-align: center;
    font: normal normal 400 16px/24px Red Hat Display;
    width: 55%;
    padding: 0 0 20px 0;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .believe.tenant-paragraph {
        width: 90%;
        font-size: 12px;
    }
}

/* ============================================
   TENANT BUTTONS & CTAs
   ============================================ */
.believe.add > .addCart.button {
    background-color: var(--tenant-secondary-color) !important;
}

.believe.inside .buy.mobile > .add > .addCart.button {
    background-color: var(--tenant-secondary-color) !important;
}

/* ============================================
   CART BADGE
   ============================================ */
.cart-block {
    position: relative;
}

.cart-block .cart-badge {
    margin: 0;
    background: var(--tenant-primary-color);
    display: inline-block;
    position: absolute;
    top: -10px;
    font-size: 14px;
    border-radius: 100%;
    min-width: 20px;
    min-height: 20px;
    line-height: 20px;
    color: white;
    right: -5px;
    text-align: center;
    font-weight: 400;
}

/* ============================================
   TENANT FOOTER
   ============================================ */
footer.believe {
    color: initial;
    position: relative;
}

footer.believe #metodi {
    position: relative;
    z-index: 10;
    background-color: white;
}

footer.believe #newsletter {
    background-color: white !important;
}

.believe.newsletter {
    display: none;
}

/* ============================================
   STICKY HEADER
   ============================================ */
.sticky-header {
    position: sticky;
    top: 130px;
    z-index: 10;
    margin-top: -160px;
    padding-top: 10px;
}

@media screen and (max-width: 768px) {
    .sticky-header {
        top: 54px;
        margin-top: -60px;
    }
}

.believe.sticky-header {
    position: sticky;
    top: 110px;
    z-index: 10;
    margin-top: -110px;
    width: 100%;
    left: 0;
    right: 0;
    background-color: var(--tenant-secondary-color);
}

@media screen and (max-width: 768px) {
    .believe.sticky-header {
        top: 54px;
        margin-top: -80px;
    }
}

.sticky-header .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

@media screen and (max-width: 768px) {
    .sticky-header .info {
        font-size: 12px;
        padding: 12px 20px;
        flex-direction: column;
    }

    .sticky-header .info .title {
        width: 305px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
        margin: 5px 0;
        text-align: center;
    }
}

.believe.sticky-header .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

@media screen and (max-width: 768px) {
    .believe.sticky-header .info {
        font-size: 12px;
        padding: 12px 20px;
        flex-direction: column;
    }
}

.believe.sticky-header .info .count {
    display: block !important;
}

.believe.sticky-header .info .d-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media screen and (max-width: 768px) {
    .believe.sticky-header .info .d-flex {
        gap: 0;
        flex-direction: column-reverse;
        align-items: center;
    }

    .believe.sticky-header .info .d-flex .title {
        width: 305px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
        margin: 5px 0;
    }
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.count .ri {
    display: grid !important;
    grid-template-columns: repeat(4, max-content);
    grid-auto-rows: auto;
    column-gap: 12px;
    row-gap: 6px;
    text-align: right;
}

#timer, #timer-sticky,
.timer-hour {
    display: contents;
}

#timer > div, #timer-sticky > div {
    font-size: 25px!important;
    line-height: 25px!important;
    margin: 0 !important;
    font-variant-numeric: tabular-nums;
    justify-self: end;
}

@media (max-width: 768px) {
    #timer > div, #timer-sticky > div {
        font-size: 16px!important;
    }
}

#relDay { min-width: 3ch; }
#relHour, #relMin, #relSec { min-width: 2ch; }

.timer-hour > span {
    justify-self: end;
    line-height: 1;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .count .ri {
        margin: 0 auto;
        text-align: center;
        justify-items: center;
    }
    .timer-hour > span,
    #timer > div, #timer-sticky > div {
        justify-self: center;
    }
}

.believe.count .le, .believe.count .ri {
    display: none !important;
}

.le.mobile {
    display: block;
    font-size: 15px;
    padding: 10px 0;
}

@media screen and (min-width: 768px) {
    .le.mobile {
        display: none;
    }
}

.le.desktop {
    display: none;
}

@media screen and (min-width: 768px) {
    .le.desktop {
        display: block;
    }
}

/* ============================================
   SLIDER & SWIPER
   ============================================ */
.simpleSlide .row-in .head .more {
    display: none;
}

@media screen and (min-width: 768px) {
    .simpleSlide .row-in .head .more {
        display: block;
    }
}

.swiper-pagination {
    z-index: 1 !important;
}

.believe.swiper-wrapper .label1 {
    background-color: var(--tenant-secondary-color) !important;
    color: var(--tenant-text-color) !important;
    text-transform: uppercase;
}

/* ============================================
   TENANT LANDING PAGE
   ============================================ */
main.believe-landing {
    padding-top: 140px;
    background-color: var(--tenant-primary-color);
    color: var(--tenant-text-color);
}

@media screen and (max-width: 768px) {
    main.believe-landing {
        padding-top: 80px;
    }
}

main.believe-landing #slider .slider .swiper-slide .promo {
    color: var(--tenant-text-color);
}

main.believe-landing .shop-text .row-in {
    width: 100%;
}

main.believe-landing .product-block.simpleSlide .lineBottom {
    border-bottom: 2px solid #01314B;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media only screen and (max-width: 1140px) {
    main.believe.scrolled {
        padding-top: 0;
    }

    main.believe.scrolled .desc,
    main.believe.scrolled .description,
    main.believe.scrolled .primary-artist-link {
        display: block !important;
    }
}

/* ============================================
   CONFIRM MESSAGE NOTIFY - Tenant Styles
   ============================================ */
.believe main .confirm_msg_notify {
    position: fixed;
    right: -1000px;
    z-index: 100;
    width: 360px;
    height: 100%;
    background-color: var(--tenant-secondary-color);
    text-align: center;
    color: var(--tenant-primary-color);
}

.believe main .confirm_msg_notify .top {
    background-color: var(--tenant-secondary-color);
    color: var(--tenant-primary-color);
    font-weight: 300;
    text-align: center;
    font-size: 18px;
    width: 100%;
    box-shadow: 0px 10px 10px -4px rgba(0, 0, 0, 0.2);
}

.believe main .confirm_msg_notify .top i {
    font-size: 26px;
    padding: 20px 0px;
    cursor: pointer;
}

.believe main .confirm_msg_notify .top .title {
    font-weight: 500;
    font-size: 22px;
}

.believe main .confirm_msg_notify .top .msg {
    padding: 20px 0px;
}

.believe main .confirm_msg_notify .bottom {
    padding-top: 5px;
}

.believe main .confirm_msg_notify .bottom .subtotal {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    line-height: 18px;
    padding: 10px 20px 0px 20px;
}

.believe main .confirm_msg_notify .bottom .subtotal span {
    float: right;
    font-weight: 500;
}

.believe main .confirm_msg_notify .bottom .msg {
    text-align: left;
    padding: 5px 20px;
    font-size: 11px;
    font-weight: 400;
}

.believe main .confirm_msg_notify .bottom .total {
    font-size: 22px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    width: calc(100% - 40px);
    margin: 10px 20px 30px 20px;
    padding-top: 10px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.3);
}

.believe main .confirm_msg_notify .bottom .add a {
    display: inline-block;
    background-color: var(--tenant-secondary-color);
    font-weight: 500;
    padding: 14px 0px;
    text-align: center;
    color: var(--tenant-text-color);
    font-size: 18px;
    margin-bottom: 20px;
    width: calc(100% - 40px);
}

.believe main .confirm_msg_notify .bottom .add2 a {
    display: inline-block;
    background-color: #FDCA37;
    font-weight: 500;
    padding: 14px 0px;
    text-align: center;
    color: #000;
    font-size: 18px;
    margin-bottom: 20px;
    width: calc(100% - 40px);
}
