@import url("../fonts/medalla-real/index.css");

* {
    --din: "DIN Alternate", Helvetica, Arial, sans-serif;
    --minion: "Minion Variable Concept", Helvetica, Arial, sans-serif;
    --cinzel: "Cinzel", Helvetica, Arial, sans-serif;
    --Akzidenz: "Akzidenz Grotesk", Helvetica, Arial, sans-serif;
}

/* RESET */

.page-top {
    display: none;
}

.main-content {
    padding: 0;
}

/* END RESETS */


.medalla-real {
    background-image: url('/wp-content/uploads/2024/08/bg.jpg');
    background-position: right bottom;
    background-size: cover;
    padding: 0;
    min-height: 100vh;
    background-repeat: no-repeat;
    width: 100vw;
    overflow: hidden;
    background-color: #070707;
    font-size: 1rem;
}

.head-medalla-real {
    position: sticky;
    top: 0;
    padding-top: 10px;
    z-index: 9;
    overflow: hidden;
}

/* .head-medalla-real:before {
    position: absolute;
    content: '';
    background-color: #ffffff;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 66px);
    z-index: 0;
} */

.menu {
    font-size: 16px;
    font-family: var(--din);
    font-weight: bold;
}

.menu-second {
    font-size: 0.9em;
    font-family: var(--cinzel);
    font-weight: 400;
    color: #B79046;
}

.naccs h2 {
    font-size: 2.4em;
    font-family: var(--cinzel);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
}

.naccs h2 span {
    font-size: 0.8em;
}

.naccs {
    position: relative;
    padding-top: 65px;
    scroll-margin-top: 160px;
    padding-bottom: 20px;
}

.menu-second {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-top: solid 2px #BF8E36;
    border-bottom: solid 1px #BF8E36;
    margin-bottom: 20px;
}

.brand-wine {
    height: 91px;
    margin: 20px 0 10px 0;
    padding-left: 8px;
    display: block;
}

.naccs .menu div {
    padding: 5px;
    margin-bottom: 10px;
    color: #fff;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: 0.3s all;
}

.naccs .menu div:before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #B79046;
    position: absolute;
    left: 0;
    bottom: 0;
}

.naccs .menu div:nth-child(2):before {
    width: 90%;
}

.naccs .menu div:nth-child(3):before {
    width: 80%;
}

.naccs .menu div:nth-child(4):before {
    width: 70%;
}

.naccs .menu div.active,
.naccs .menu div:hover {
    color: #B79046;
    padding: 5px 5px 5px 10px;
}

.menu-second a {
    color: #fff;
    transition: 0.3s all;
    text-decoration: none;
    margin: 0 20px;
}

.menu-second a:hover,
.menu-second a.active {
    color: #b79046;
}

ul.nacc {
    position: relative;
    height: 0px;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    min-height: 220px;
    display: flex;
    align-content: center;
    align-items: center;
}

ul.nacc li {
    opacity: 0;
    transform: translateX(50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.nacc li.active {
    transition-delay: 0.3s;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
}

ul.medalla-tab {
    position: relative;
    height: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    min-height: 80vh;
    display: flex;
    align-content: center;
}

ul.medalla-tab li.tab-wine {
    opacity: 0;
    width: 100%;
    transform: translateY(-60px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.medalla-tab li.tab-wine.active {
    transition-delay: 0.3s;
    z-index: 2;
    opacity: 1;
    transform: translateY(0px);
}

ul.nacc li p,
table.medalla-real-tab-table {
    margin: 0;
    font-family: var(--din);
    font-size: 1em;
    color: #ffffff
}

.medalla-real-cell {
    width: 30%;
}

table.medalla-real-tab-table td {
    padding: 0;
}

.author {
    margin-top: 20px;
    font-size: 0.8em;
    color: #b79046;
}

.author h5 {
    font-size: 1.25rem;
    color: #b79046;
}

.gc {
    padding-right: 50px;
}

.price {
    --p-top: 1.5rem;
    --padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border: 1.8px solid #ffffff;
    border-radius: 6px;
    padding: var(--p-top) var(--padding) var(--padding) var(--padding);
    margin: 10px;
    margin-left: 0px;
    width: fit-content;
}

.price p {
    line-height: 1;
}

.price-title {
    font-size: 14px;
    color: #ffffff;
    text-align: left;
    font-family: var(--Akzidenz);
    font-weight: 700;
    font-style: normal;
    margin: 0;
}

.price-title-old {
    display: none;
}

.price-number {
    font-size: 60px;
    color: #ffffff;
    text-align: justify;
    font-family: var(--Akzidenz);
    font-weight: normal;
    font-style: normal;
    margin: 0;
}

.price-number.price-number-old {
    text-decoration: line-through;
}

.price-stock {
    font-size: 14px;
    color: #ffffff;
    text-align: justify;
    font-family: var(--Akzidenz);
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0;
}

.price+.price-stock {
    display: none;
}

.price .porcentaje_descuento {
    --margin-top: calc((var(--p-top) * -1) + -1px);
    --margin-right: calc((-1 * var(--padding)) + -1px);
    position: absolute;
    order: 1;
    background: #fff;
    align-self: end;
    color: #000;
    font-size: 1.4rem;
    border-radius: 3px;
    padding: 4px 15px 4px 10px;
    margin: var(--margin-top) var(--margin-right) 0 0;
}

.price .porcentaje_descuento+.price-title {
    --font-size: 14px;
    visibility: hidden;
    order: 2;
    font-size: var(--font-size);
}

.price-title {
    --font-size: 14px;
    visibility: hidden;
    order: 0;
    font-size: var(--font-size);
}

/* .porcentaje_descuento+ */.price-title:before {
    display: block;
    visibility: visible;
    content: 'Precio por 6 unidades:';
    margin-bottom: calc(-1 * var(--font-size));
    font-size: var(--font-size);
    font-weight: normal;
    padding-left: 1rem;
}

.price-number-old {
    order: 3;
}

.porcentaje_descuento+.price-title+.price-number {
    order: 4;
}

.wpb_raw_code .row {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.wpb_raw_code .sku {
    display: none;
}

.medalla-real-tab-table tr {
    border-color: #817344;
    border-width: 1px 0 1px 0;
    border-style: solid;
}

.botle {
    position: relative;
}

.naccs .botle img {
    bottom: 0;
    position: absolute;
    left: 25%;
    height: 100%;
    width: auto;
}

.botle:before {
    width: 100%;
    height: 60%;
    background-color: white;
    content: '';
    border-radius: 50%;
    filter: blur(50px);
    top: 25%;
    z-index: 0;
    display: block;
    position: absolute;
}

@media only screen and (max-width: 1600px) {
    .price-number {
        font-size: 30px !important;
    }

    .porcentaje_descuento+.price-title:before {
        --font-size: 11px;
        padding-left: 0;
    }

    .price .porcentaje_descuento {
        font-size: 1rem;
    }
}

.btn-cart .cart {
    display: flex;
}

.btn-cart .cart .quantity {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    margin: 0;
}

#single-simple-product .loader-wheel {
    margin: 3px calc(50% - 15px);
    width: 30px;
    position: absolute;
}

.show_quantity_add_to_cart {
    width: 100%;
    padding: 0 !important;
    position: relative;
}

.btn-cart .cart .quantity .minus,
.btn-cart .cart .quantity .plus {
    width: 20% !important;
    border: solid 1px #ffffff !important;
}

.btn-cart .cart .single_add_to_cart_button {
    width: 100% !important;
    background-color: #ffffff;
    border: none;
}

.btn-cart .cart .single_add_to_cart_button:hover {
    background-color: #ffffff !important;
}

.btn-cart .cart .quantity .input-text {
    border-color: #ffffff !important;
    background: none;
    width: 60% !important;
}

.product-summary-wrap .single_add_to_cart_button,
.product-summary-wrap .single-simple-product {
    height: 2.7143em;
    padding: 0 15px;
    text-shadow: none;
    overflow: hidden;
    margin: 0 4px 5px 0;
    -webkit-font-smoothing: antialiased;
}

.single_add_to_cart_button {
    height: 35px !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    font-weight: 400;
    line-height: normal;
    white-space: normal;
    font-size: small;
}

.single-product .entry-summary .quantity .minus,
.single-product .entry-summary .quantity .plus {
    width: 30px;
    height: 35px;
    border: solid 1px #fff;
    color: #fff;
    border-radius: 0;
    background-color: transparent;
}

.single-product .entry-summary .quantity .qty {
    width: 44px;
    height: 35px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    line-height: 14px;
    border-radius: 0;
    border-width: 1px 0 1px 0;
    border-color: #ffffff;
    background-color: transparent;
}

.quantity .minus {
    border-radius: 20px 0 0 20px !important;
}

.quantity .plus {
    border-radius: 0 20px 20px 0 !important;
}

.nav.nav-tabs.nav-pills.nav-fill.nav-justified.tabs-checkout {
    width: 100% !important;
}

.single-product form.cart:not(.variations_form) {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.single-product .single_add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px !important;
    background: var(--primary-color);
    color: black;
    text-transform: initial;
    font-size: 0.9rem;
    font-family: var(--primary-font);
    font-weight: 600;
    letter-spacing: normal;
    border-radius: 60px;
    padding: 0 15px;
    transition: all .5s ease;
}

.desktop {
    display: block;
}

/* .mobile {
    display: none;
} */

.tab-wine h2 {
    border-bottom: solid 2px #bf8e36;
    padding-bottom: 15px;
}

.container {
    width: 100%;
    padding-right: 10px !important;
    padding-left: 10px !important;
    margin-right: auto;
    margin-left: auto;
}

.btn-cart .single-product .entry-summary {
    padding: 0;
}

@media only screen and (max-width: 991px) {
    .naccs .botle img {
        margin-top: 0;
        position: absolute;
        bottom: 0;
        width: 90%;
        height: auto;
    }

    .menu-second {
        justify-content: space-between;
    }

    .menu-second a {
        font-size: 0.8em;
        margin: 0
    }

    .naccs {
        scroll-margin-top: 200px;
        padding-top: 25px;
    }

    .botle {
        overflow: inherit;
        top: 0;
        position: relative;
        width: 30%;
        height: 100%;
        transform: rotate(0deg);
    }

    .gc {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .botle {
        overflow: inherit;
        top: 0;
        position: absolute;
        width: 30%;
        height: 100%;
        right: 10px;
    }

    .gc.col-md-6 {
        width: 65%;
    }

    ul.nacc li p,
    table.medalla-real-tab-table {
        font-size: 0.7em;
        text-align: normal;
    }

    .price {
        --p-top: 1rem;
        --padding: 1rem;
    }

    .price .porcentaje_descuento {
        font-size: 10px;
        padding: 2.7px 10px 3px 5px;
    }

    .price .porcentaje_descuento+.price-title {
        --font-size: 8px;
    }

    .porcentaje_descuento+.price-title:before {
        padding: 0;
    }

    .price-number {
        font-size: 22px !important;
    }

    .price-title,
    .price-stock,
    .single-product .single_add_to_cart_button {
        font-size: 10px;
    }

    .btn-cart .cart .quantity .input-text {
        width: 40% !important;
    }

    .btn-cart .cart .quantity .minus,
    .btn-cart .cart .quantity .plus {
        width: 30% !important;
    }
}

@media only screen and (max-width: 767px) {
    .medalla-real {
        background-position: center right;
        background-size: auto 70%;
    }

    /*  ul.nacc {
        min-height: 180px;
    } */

    .naccs {
        scroll-margin-top: 110px;
        padding-top: 0px;
        height: auto;
    }

    .menu {
        margin-bottom: 40px;
    }

    .menu-second li {
        margin: 0 8px;
    }

    .gc {
        width: 50%;
    }

    .wpb_raw_code {
        margin-top: 20px;
    }

    .naccs h2 {
        font-size: 2.2em;
    }

    .single-product .single_add_to_cart_button {
        height: 30px !important;
        font-size: 0.7rem;
        padding: 0 10px;
        font-weight: 100;
    }

    .single-product .entry-summary .quantity .qty,
    .single-product .entry-summary .quantity .minus,
    .single-product .entry-summary .quantity .plus {
        height: 30px;
    }

    .price {
        --p-top: .5rem;
        --padding: .5rem;
        margin: 0;
        margin-right: 10px;
        width: auto;
    }

    .price .porcentaje_descuento {
        --margin-top: calc((var(--p-top) * -1) + -1.5px);
        --margin-right: calc((-1 * var(--padding)) + -1.5px);
    }

    .price .porcentaje_descuento+.price-title {
        --font-size: 6px;
    }

    .btn-cart .cart .quantity {
        margin-top: 5px;
    }

    .btn-cart {
        padding-left: 0;
    }

    ul.nacc li p,
    table.medalla-real-tab-table {
        font-family: sans-serif;
        font-weight: 100;
    }

    ul.nacc li p {
        margin-right: 1rem;
    }

    .naccs .botle img {
        bottom: 22%;
        right: 0;
        left: inherit;
    }

    .brand-wine {
        height: 50px;
        margin: 10px 0;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

}

@media (min-width: 768px) {
    .medalla-real .container {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .medalla-real .container {
        max-width: 960px !important;
    }
}

@media (min-width: 1220px) {
    .medalla-real .container {
        max-width: 1200px !important;
    }
}

@media only screen and (max-width: 375px) {
    .price {
        margin: 0;
        padding-right: 1rem;
    }

    .price .porcentaje_descuento {
        margin-right: calc(-1rem + -1px);
    }
}