/* NORMALIZING */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

input,
textarea,
div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.body {
    background-color: #ffffff;
    min-width: 320px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0;
    font-family: 'Inter', sans-serif;
}

.body--fixed {
    overflow: hidden;
}

.outer-container {
    width: 100%;
    background: #ffffff;
}

.outer-container--main {
    background-color: #182C44;
}

.inner-container {
    max-width: 1196px;
    min-width: 300px;
    margin: 0 10px;
}

/*** HEADER ***/
.header {
    position: relative;
    background-color: #FFFDD0;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    z-index: 3;
}

.header__top {
    background-color: #ffffff;
    font-size: 10px;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: end;
    align-items: center;
    height: 30px;
    padding-right: 10px;
}

.header__contact {
    display: flex;
}

.header__contact div {
    text-align: right;
}

.header__hours {
    padding-right: 10px;
    border-right: 1px solid #182C44;
}

.header__address {
    padding-left: 10px;
}

.header__bottom {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    height: 50px;
}

.header__left {
    /* width: 70%; */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 20px;
    height: 16px;
    margin: 0 10px 0 10px;
    position: relative;
}

.header__hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #182C44;
}

#hamburger-bar-1,
#hamburger-bar-2,
#hamburger-bar-3 {
    transition: all 0.3s ease;
}

#hamburger-bar-1.clicked {
    transform: rotate(-45deg) translate(-7px, 6px);
}

#hamburger-bar-2.clicked {
    opacity: 0;
}

#hamburger-bar-3.clicked {
    transform: rotate(45deg) translate(-4px, -3px);
}

.header__logo {
    display: none;
    width: 36px;
    height: 27px;
    object-fit: contain;
}

.header__logo img {
    width: 100%;
    height: 100%;
}

.header__title {
    font-family: "Montserrat Alternates", sans-serif;
    ;
    font-size: 18px;
    font-weight: 400;
}

.header__icons {
    margin-right: 10px;
    display: flex;
    align-items: last baseline;
    flex-wrap: nowrap;
}

.header__icons img {
    width: 20px;
    margin-left: 15px;
}

.header__cart-icon {
    display: flex;
    flex-direction: column;
    height: 50px;
    width: 25px;
    justify-content: center;
    align-items: center;
}

.cart-counter {
    background: red;
    color: black;
    border-radius: 50%;
    padding: 4px 4px;
    font-size: 10px;
    width: 18px;
    height: 18px;
    position: relative;
    top: -5px;
    right: -7px;
    text-align: center;
    /* display: none; */
}

/* MENU */
.menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100vw;
    height: calc(100vh - 80px);
    background: radial-gradient(circle at top, #182C44 0%, #15647E 100%);
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: auto;
}

.menu--active {
    left: 0;
}

.header__menu-list {
    padding: 20px;
}

.header__menu-item {
    margin-bottom: 10px;
}

.header__menu-link {
    color: #FFFDD0;
    text-decoration: none;
}

/*** MAIN ***/
.hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url(../img/hero_pick_tab.webp);
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}

.hero__title {
    position: relative;
    color: #FFFDD0;
    font-size: 24px;
    font-weight: 600;
    top: 10%;
    left: 5%;
}

.hero__subtitle {
    position: relative;
    color: #FFFDD0;
    font-size: 18px;
    font-weight: 600;
    top: 15%;
    left: 5%;
}

.hero__button {
    background-color: #FFFDD0;
    color: #182C44;
    position: relative;
    top: 20%;
    left: 5%;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

/* MAIN PAGE CARDS */
.cards {
    margin-bottom: 30px;
}

.main-cards-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.main-card {
    position: relative;
    flex: 0 0 calc(50% - 5px);
}

.main-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.main-card img {
    display: block;
    width: 100%;
    height: auto;
}

.main-card_bottom {
    background: radial-gradient(circle at top, #182C44 0%, #15647E 100%);
    color: #FFFDD0;
    height: 112px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card_title {
    text-align: center;
    font-size: 20px;
}

/* DELIVERY OPTIONS */
.delivery-options {
    /* background-color: #FFFDD0; */
    color: #FFFDD0;
    margin-bottom: 30px;
}

.delivery-options__header {
    font-size: 18px;
}

.delivery-options__options {
    padding-left: 15px;
}

.delivery-options__last-paragraph {
    font-weight: 600;
}

/* SLIDER */
.testimonials {
    padding-bottom: 30px;
}

.testimonials__scrollbar {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.testimonials__item {
    width: 70%;
    background-color: #182C44;
    border: 1px solid #FFFDD0;
    color: #FFFDD0;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.testimonials__text {
    padding: 5px 10px;
    font-size: 14px;
    font-style: italic;
}

.testimonials__signature {
    margin-top: 3px;
    text-align: right;
    font-weight: 600;
    padding: 0 15px 5px 0;
}

/* FOOTER */
.footer {
    background-color: #182C44;
    margin-top: 30px;
    padding: 20px 15px;
    color: #FFFDD0;
    font-size: 16px;
}

.footer__column {
    margin-bottom: 20px;
}

.footer__title {

    font-size: 18px;
    font-weight: 500;
}

.footer__link {
    color: #FFFDD0;
    text-decoration: underline;
}

.footer__input,
.footer__textarea {
    width: 100%;
}

.footer__textarea {
    height: 150px;
}

.footer__btn {
    width: 100%;
    background-color: #FFFDD0;
    color: #182C44;
}

.footer__column-copyright {
    font-size: 14px;
}

.footer__socials {
    margin: 40px auto 0 auto;
    width: 300px;
    text-align: center;
}

.footer__socials img {
    margin: 0 auto;
    width: 20px;
    margin: 0 10px;
}

/*** CATEGORY PAGE ***/
.body--category,
.body--product {
    background: #ffffff;
}

.subcategory-links {
    color: #182C44;
    font-size: 12px;
    margin: 10px 0 20px 0;
}

.subcategory-links__first {
    display: inline-block;
    border-right: 1px solid #182C44;
    padding-right: 10px;
}

.subcategory-links__second {
    padding-left: 10px;
}

.subcategory-links__first--active,
.subcategory-links__second--active {
    text-decoration: underline;
}

.cards-accordeon,
.cards-accordeon__filters {
    font-size: 14px;
}

.cards-accordeon__filters form input {
    margin: 5px 5px 0 0;
    display: inline-block;
}

.filter-button {
    background-color: red;
    /* color: #FFFDD0;
    align-self: center;
    border-radius: 3px;
    position: absolute;
    bottom: 20px; */
}

/* CATEGORY CARDS */
.main-card--category .main-card_bottom {
    background: #FFFDD0;
    color: #182C44;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    font-size: 14px;
    font-weight: 500;
    height: 200px;
    padding: 15px 5px;
}

.main-card__price,
.main-card__product,
.main-card__unit,
.main-card__unit-price,
.similar-products__price,
.similar-products__product,
.similar-products__unit,
.similar-products__unit-price {
    margin-bottom: 10px;
}

.main-card__product {
    line-height: 1.3;
}

.main-card__button {
    background-color: #182C44;
    color: #FFFDD0;
    align-self: center;
    border-radius: 3px;
    position: absolute;
    bottom: 20px;
    z-index: 2;
}

/*** PRODUCT PAGE **/
.product {
    margin-top: 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 100%;
    padding-bottom: 10px;
}

.product__title {
    margin-bottom: 5px;
}

.product__product-image {
    min-width: 300px;
}

.product__product-image img {
    width: 100%;
}

.product__info,
.product__legal-name {
    width: 100%;
    color: #182C44;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    margin-top: 5px;
}

.product__price,
.product__unit,
.product__unit-price,
.product__description-text {
    font-size: 16px;
    margin-top: 5px;
}

.product__add-to-cart {
    width: 100%;
    margin-bottom: 25px;
}

.product__select-quantity {
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product__quantity {
    background: #fffdd0;
    color: #182C44;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    padding: 0;
    width: 100%;
    height: 40px;
    margin: 10px auto 10px auto;
    overflow: hidden;
    flex-wrap: nowrap;
}

.product__minus,
.product__plus {
    border: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #fffdd0;
    color: #182C44;
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

.product__minus {
    border-left: 1px solid #000;
}

.product__plus {
    border-right: 1px solid #000;
}

#product__add-to-cart-btn {
    width: 100%;
    height: 40px;
    background: #182C44;
    color: #FFFDD0;
    font-size: 24px;
    font-weight: 600;
    border-radius: 5px;
}

#product__add-to-cart-btn:hover {
    background: #fffdd0;
    color: #182C44;
}

/* .product__minus {
    border-right: 1px solid #182C44;
}

.product__plus {
    border-left: 1px solid #182C44;
} */

.product__number {
    display: inline-block;
    text-align: center;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
}

.product__add-to-cart-btn {
    width: 280px;
    background: #182C44;
    color: #FFFDD0;
}

.product__link {
    color: #182C44;
    text-decoration: underline;
    margin-bottom: 5px;
}

/* INGREDIENTS */
.ingredients {
    background: #182C44;
    color: #FFFDD0;
    padding: 20px 10px;
    font-size: 14px;
}

.ingredients__paragraph {
    margin-top: 3px;
}

.ingredients__accordeon h4 {
    margin: 5px 0 3px 0;
}

.ingredients__table {
    table-layout: fixed;
    width: 300px;

}

.ingredients__table tbody tr:first-child td {
    padding-top: 15px;
}

.ingredients__left-col {
    text-align: left;
}

.ingredients__right-col {
    text-align: right;
    width: 100px;
    vertical-align: top;
}

.product__full-info {
    display: inline-block;
    padding: 10px 0;
    color: #FFFDD0;
}

.ingredients__accordeon {
    margin-top: 10px;
}

.ingredients__accordeon summary {
    margin-bottom: 5px;
}

/* SIMILAR PRODUCTS */
.similar-products {
    background-color: #FFFfff;
    padding: 20px 10px;
}

.product__subtitle {
    margin: 5px 0;
}

.similar-products__title {
    font-size: 20px;
    font-weight: 600;
    color: #182C44;
    margin-bottom: 15px;
}

.similar-products__swipe {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
}

.similar-products__card {
    min-width: 70%;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.similar-products__card img {
    margin-bottom: 10px;
}

/*** CART PAGE ***/
.cart {
    color: #182C44;
    padding-bottom: 30px;
}

.cart__product-image {
    width: 100%;
}

.cart__product-image img {
    width: 100%;
}

.cart__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart__unit,
.cart__unit,
.cart__price,
.cart__quantity,
.cart__subtotal-article {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart__subtotal {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    /* color: red */
}

/* CHANGE PRODUCT QUANTITY IN THE CART */
.cart__cange-quantity-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 300px;
    height: 25px;
    margin: 0 auto 10px auto;
    overflow: hidden;
    flex-wrap: nowrap;
    background: #182C44;
    color: #FFFDD0;
}

.cart__minus,
.cart__plus {
    /* border: 1px solid #182C44; */
    display: inline-block;
    width: 25px;
    flex-shrink: 0;
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.cart__number {
    display: inline-block;
    text-align: center;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    background: #182C44;
    color: #FFFDD0;
    font-weight: 600;
}

.cart__place-order-btn {
    background: #182C44;
    color: #FFFDD0;
    width: 300px;
    height: 25px;
}

.separator {
    width: 280px;
    height: 1px;
    background: #182C44;
}

.cart__delivery-choiсe {
    background: #182C44;
    width: 100%;
    color: #FFFDD0;
    padding: 20px 10px;
}

.cart__delivery {
    background: #FFFDD0;
    padding: 10px 10px;
    font-size: 14px;
}

.cart__delivery-form {
    width: 300px;
}

.cart__input,
.cart_submit-btn {
    width: 280px;
    margin-bottom: 10px;
    background: #182C44;
    color: #FFFfff;
}

.cart__newsletter-checkbox {
    width: 280px;
    margin-bottom: 10px;
}