@import url('reset.css');
@import url('boot.css');

/*    PRODUCT PAGE STYLE    */
.product_page-content {
    width: 100%;
    padding-top: 30px;
    margin-bottom: 30px;
    /* border-top: 1px solid var(--border-color); */
}

.product_page-content nav,
.breadcrumb_nav {
    width: 90%;
    /* padding: 15px 0; */
    margin: 0 auto;
    margin-bottom: 30px;
}

.product_page-content nav ol,
.breadcrumb_nav ol {
    display: flex;
    align-items: center;
}

.product_page-content nav ol li,
.breadcrumb_nav ol li {
    font-size: .9em;
    font-style: italic;
    color: var(--text-color);
}

.product_page-content nav ol li a,
.breadcrumb_nav ol li a {
    color: var(--primary-color);
}

.product_page-content nav ol li a::after,
.breadcrumb_nav ol li a::after {
    content: '>';
    margin: 0 5px;
    color: var(--text-color);
}

.product_page-content nav ol li a:hover,
.breadcrumb_nav ol li a:hover {
    color: var(--text-color);
}

.product_page-title {
    width: 90%;
    padding: 30px 0;
    margin: 0 auto;
    /* margin-bottom: 30px; */
    font-size: 2em;
    text-align: center;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.product_page-content .container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px;
}

.product_allegations {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px; */
}

.product_allegations-title {
    font-size: 1.5em;
    text-align: center;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.product_allegations-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product_allegations-description {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product_allegations-description p {
    font-size: 1em;
    line-height: 1.2;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    color: var(--text-color);
}

.product_allegations-description img {
    width: 80px;
    border-radius: 50%;
}

.product_information {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px; */
}

.product_information-galery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product_information-canvas {
    width: 100%;
    position: relative;
}

.product_information-canvas img {
    width: 100%;
}

#main-image {
    width: 430px;
    height: 430px;
    margin: 0 auto;
}

.zoom-lens {
    width: 210px;
    height: 210px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: absolute;
    display: none;
    pointer-events: none;
}

.product_information-thumbnails {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product_information-thumbnails img {
    width: 100px;
    height: 100px;
    /* border: 1px solid var(--border-color); */
    /* border-radius: 5px; */
    cursor: pointer;
}

.product_information-thumbnails img:hover {
    opacity: .7;
}

.product_information-thumbnails img:active {
    scale: .9;
}

.product_nutrition {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.product_nutrition-title {
    padding-top: 15px;
    margin-bottom: 30px;
    font-size: 1.5em;
    text-align: center;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    color: var(--text-color);
    /* border-top: 1px solid var(--border-color); */
}

.nutrition-table {
    width: 100%;
    padding: 0 10px;
    font-size: 1em;
    line-height: 1.2;
    text-align: center;
    font-weight: normal;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    background-color: var(--background-color);
}

.nutrition-table tr th,
.nutrition-table tr td {
    width: 100% !important;
    padding: 5px 0;
    border-bottom: 1px solid var(--text-color);
}

.nutrition-table tr:first-child th {
    font-size: 1.2em;
    font-weight: var(--fw-bold);
}

.nutrition-table thead tr:last-child,
.nutrition-table tbody tr:last-child {
    border-bottom: 3px solid var(--text-color);
}



.nutrition-table tr:last-child th,
.nutrition-table tr td:first-child {
    font-weight: normal;
    text-align: left;
}

.text-align-right {
    text-align: right !important;
    padding-right: 5px !important;
}

.nutrition-table tr:where(:nth-child(1)) td:nth-child(2) {
    border-left: 1px solid var(--text-color);
}

.nutrition-table tr:not(:nth-child(1)) td:nth-child(2) {
    padding: 0 5px;
    border-left: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
}

.nutrition-table tfoot tr td {
    font-size: .8em;
}

.nutrition-table tfoot tr:last-child td {
    border: none;
}

.nutrition_ingredients {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.nutrition_ingredients p {
    font-size: .9em;
    color: var(--text-color);
}

.nutrition_ingredients p b {
    text-transform: uppercase;
    font-weight: var(--fw-bold);
}

.product_datails {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    background-color: var(--background-color);
}

.product_datails>a {
    text-align: center;
}

.product_title {
    font-size: 1.5em;
    text-align: center;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.product_subtitle {
    font-size: 1.1em;
    text-align: center;
    font-weight: var(--fw-light);
    color: var(--text-color);
}

.product_benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: .8em;
    line-height: 1.2;
    color: var(--text-color);
}

.product_payment {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product_payment span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid var(--primary-color);
}

.product_price {
    font-size: 3em;
    text-align: center;
    color: var(--primary-color);
}

.product_price-tagline {
    font-size: 1em;
    text-align: center;
    font-weight: var(--fw-semibold);
    color: var(--text-color);
}

.product_payment-card {
    font-size: .8em;
    text-align: center;
}

.product_tagline {
    text-align: center;
    color: var(--text-color);
}

/*    SIMILAR PRODUCTS    */
.similar_products {
    width: 100%;
    margin: 50px 0;
}

.similar_products-title {
    width: 100%;
    padding: 15px 0;
    margin-bottom: 30px;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: var(--fw-bold);
    color: var(--text-color);
}

.similar_products-list {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.similar_products-item {
    width: 25%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 15px;
    background-color: var(--background-color);
}

.similar_products-item img {
    width: 150px;
}

.similar_products-text {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.similar_products-name {
    font-size: 1.2em;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    color: var(--primary-color);
}

.similar_products-desc {
    font-size: .9em;
    color: var(--text-color);
}

/*    BAG EMPTY STYLE    */
.bag-message {
    width: 100%;
    margin: 50px 0;
    text-align: center;
    color: var(--primary-color);
}

/*    BAG FULL STYLE    */
.bag-container {
    width: 90%;
    margin: 15px auto;
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 30px;
}

.table-container {
    width: 100%;
    margin-bottom: 30px;
}

.bag-table {
    width: 100%;
    border-collapse: collapse;
}

.bag-table thead,
.bag-table tbody {
    width: 100%;
}

.bag-table thead th,
.bag-table tbody td {
    padding: 15px 10px;
    text-align: left;
}

.bag-table thead {
    background-color: #F7BE39;
}

.bag-table tbody {
    background-color: var(--background-color);
}

.bag-table tbody tr {
    border-bottom: 10px solid var(--neutral-color);
}

.bag-table thead th:first-child,
.bag-table tbody td:first-child {
    width: 60%;
}

.bag-table thead th:nth-child(2),
.bag-table tbody td:nth-child(2) {
    width: 15%;
}

.bag-table thead th:last-child {
    width: 25%;
}

.bag-table tbody td:nth-child(3) {
    width: 20%;
}

.bag-table tbody td:last-child {
    width: 5%;
}

/* TABLE CONTENT */
.table_row-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

td:first-child .table_row-info {
    justify-content: start;
}

.table_row-info img {
    width: 80px;
}

.table_row-info button {
    width: 18px;
    height: 18px;
    color: var(--background-color);
    background-color: var(--primary-color);
    border-radius: 5px;
}

.table_row-info button:hover {
    opacity: .8;
}

.table_row-info button:active {
    scale: .9;
}

.table_row-info input {
    width: 35px;
    font-size: 1.4em;
    text-align: center;
    color: var(--primary-color);
    background-color: transparent;
    border: none;
}

.table_row-info p {
    font-size: 1em;
}

.table_row-info p span {
    font-size: 1.2em;
    font-weight: var(--fw-medium);
    color: var(--primary-color);
}

/* PAYMENT AREA */
.info-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-text h3 a {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: var(--fw-medium);
    color: var(--primary-color);
}

.info-text p {
    width: 100%;
    font-size: .8em;
    line-height: 1.2;
}

.ri-delete-bin-line {
    font-size: 1.5em;
    color: var(--accent-color);
    padding: 0 20px;
    cursor: pointer;
}

.ri-delete-bin-line:hover {
    opacity: .8;
}

.ri-delete-bin-line:active {
    scale: .9;
}

/* CARD PAYMENT */
.resume-payment {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: var(--neutral-color);
}

.resume-payment .button {
    padding: 20px 0;
    text-align: center;
    border-radius: 5px;
}

.card_payment {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 15px;
    background-color: var(--background-color);
}

.payment_title {
    width: 100%;
    margin-bottom: 30px;
    font-size: 1.2em;
    text-align: center;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    color: var(--text-color);
    position: relative;
}

.payment_title::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    position: absolute;
    bottom: -15px;
    left: 0;
}

.subtotal,
.delivery {
    width: 100%;
    font-size: 1em;
    text-align: center;
    font-weight: var(--fw-normal);
    color: var(--text-color);
}

.total {
    width: 100%;
    padding: 10px 0;
    font-size: 1.2em;
    text-align: center;
    font-weight: var(--fw-medium);
    color: var(--text-color);
    background-color: var(--border-color);
}

.tagsup {
    width: 100%;
    font-size: .8em;
    text-align: center;
    color: var(--primary-color);
}

.totaloff {
    width: 100%;
    font-size: 1.4em;
    text-align: center;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.tagsub {
    width: 100%;
    font-size: .8em;
    text-align: center;
    color: var(--text-color);
}

.tagcard {
    width: 100%;
    margin: 10px 0;
    font-size: .8em;
    text-align: center;
    color: var(--text-color);
}

.card_payment a {
    text-align: center;
    align-self: center;
}

.card_payment button {
    text-align: center;
    align-self: center;
}

.delivery-discount {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
}

.discount-form {
    width: 50%;
    display: flex;
    gap: 5px;
    position: relative;
}

.delivery-form {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.discount-form input,
.delivery-form input {
    max-width: 70%;
    padding: 5px 10px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    outline: none;
}

.inputs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

#deliveryData {
    width: 100%;
    display: none;
    padding: 5px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    /* position: absolute; */
    top: calc(100% + 5px);
}

.data-delivery-item {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    padding: 5px 0;
}

.data-delivery-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.data-delivery-item input[type=radio] {
    max-width: 20px;
}

@media (max-width: 1160px) {
    .product_allegations {
        display: none;
    }

    .product_information {
        width: 50%;
    }

    /* .product_information-galery {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    } */

    .product_information-canvas {
        width: 80%;
    }

    #main-image {
        width: 100%;
        height: 100%;
    }

    .product_information-thumbnails {
        width: 20%;
        /* flex-direction: column; */
    }

    .product_information-thumbnails img {
        width: 100%;
        height: 100%;
    }

    .product_datails {
        width: 50%;
    }

    .similar_products-list {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .similar_products-item {
        width: calc(33% - 7px);
    }

}

@media (min-width: 840px) and (max-width: 1024px) {
    .product_page-content nav,
    .zoom-result,
    .zoom-lens {
        display: none !important;
        visibility: hidden;
    }

    .product_information {
        width: 60%;
    }

    .product_datails {
        width: 40%;
    }

    .similar_products-list {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .similar_products-item {
        width: calc(50% - 7.5px);
    }

    .similar_products-item img {
        width: 30%;
    }
}

@media (min-width: 650px) and (max-width: 839px) {
    .product_page-content nav,
    .zoom-result,
    .zoom-lens {
        display: none !important;
        visibility: hidden;
    }

    .product_page-content .container {
        flex-direction: column;
        gap: 30px;
    }

    .product_information {
        width: 100%;
    }

    .product_datails {
        width: 100%;
    }

    .similar_products-list {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .similar_products-item {
        width: calc(50% - 7.5px);
    }

    .similar_products-item img {
        width: 35%;
    }

    .bag-container {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .resume-payment {
        width: 100%;
    }

    .table-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 15px;
    }

    .delivery-discount {
        flex-direction: column;
    }

    .discount-form,
    .delivery-form {
        width: 100%;
    }

    .delivery-discount button {
        width: 30%;
    }
}

@media (max-width: 649px) {
    .product_page-title {
        margin-bottom: 30px;
    }

    .product_page-content nav,
    .zoom-result,
    .zoom-lens {
        display: none !important;
        visibility: hidden;
    }

    .product_page-content .container {
        flex-direction: column;
        gap: 30px;
    }

    .product_information {
        width: 100%;
    }

    .product_datails {
        width: 100%;
    }

    .similar_products-item {
        width: 100%;
    }

    .similar_products-item img {
        width: 35%;
    }

    .bag-container {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .bag-table thead {
        display: none;
    }

    .bag-table tbody td {
        width: 100% !important;
        display: flex;
        flex-direction: column;
    }

    .bag-table tbody:not(:first-child) td {
        padding: 5px;
    }

    .resume-payment {
        width: 100%;
    }

    .table-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 15px;
    }

    .delivery-discount {
        flex-direction: column;
    }

    .discount-form,
    .delivery-form {
        width: 100%;
    }

    .delivery-discount button {
        width: 30%;
    }
}