html{line-height:1.15;-webkit-text-size-adjust:100%}
body{margin:0}
h1{font-size:2em;margin:.67em 0}
hr{box-sizing:content-box;height:0;overflow:visible}
pre{font-family:monospace,monospace;font-size:1em}
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
code,kbd,samp{font-family:monospace,monospace;font-size:1em}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-.25em}
sup{top:-.5em}
button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}
button,input{overflow:visible}
button,select{text-transform:none}
button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}
button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}
button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}
fieldset{padding:.35em .75em .625em}
legend{box-sizing:border-box;display:table;max-width:100%;padding:0;white-space:normal}
progress{vertical-align:baseline}
[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}
[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}
[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
details{display:block}
summary{display:list-item}
*,*::before,*::after{box-sizing:border-box}

body {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #111;
    background: #F8F8F8;
}

.wrap {
    width: 1472px;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

a,
button {
    cursor: pointer;
    transition: .3s;
}

.form-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.form-group__info {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group__title {
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.form-group__description {
    font-size: 14px;
    line-height: 16px;
    color: #666;
    margin: 0;
}

.form-group__content {
    flex-grow: 1;
}

.fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.input {
    border-radius: 6px;
    border: 1px solid #D4D4D2;
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 13px;
    box-shadow: 0 1px 2px rgb(13 13 13 / .05);
}

.input.error {
    border-color: red;
}

.btn {
    background: #0D0D0D;
    color: #fff;
    fill: #fff;
    stroke: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    text-decoration: none;
    width: fit-content;
}

.btn:hover {
    background: #C49C58;
}

.btn--full-width {
    width: 100%;
}

.hidden {
    display: none !important;
}

.promo {
    background: url(../img/bg-promo.webp) no-repeat center / cover;
    padding: 100px 16px 210px;
}

.promo__box {
    background: rgb(0 0 0 / .3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: #fff;
    text-align: center;
}

.promo__title {
    font-family: "Dancing Script", cursive;
    font-size: 74px;
    font-weight: 700;
    line-height: 54px;
    margin: 0;
}

.promo__sub-title {
    font-family: "Open Sans", sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: #DEAF5F;
    margin: 0;
    max-width: 820px;
}

.promo__description {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 680px;
}

.catalog {
    margin-top: -150px;
}

.catalog__box {
    background: #fff;
    padding: 80px;
    display: flex;
    flex-direction: column;
}

.nav {
    margin: 0 auto 60px;
    padding: 0 calc((100% - 1000px) / 2) 60px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 24px;
    border-bottom: 1px solid #C49C58;
}

.nav__item:not(:last-child) {
    padding-right: 24px;
    border-right: 1px solid #0D0D0D;
}

.nav__btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #0D0D0D;
    background: none;
    padding: 0;
    border: none;
    text-transform: uppercase;
    display: block;
}

.nav__btn.active {
    color: #C49C58;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    --grid-gap: 20px;
    gap: var(--grid-gap);
}

.products-list > *:nth-child(6n + 1),
.products-list > *:nth-child(6n + 2),
.products-list > *:nth-child(6n + 3) {
    width: calc((100% - var(--grid-gap) * 2) / 3);
    aspect-ratio: 2.08753;
}

.products-list > *:nth-child(6n + 4),
.products-list > *:nth-child(6n + 5) {
    width: calc((100% - var(--grid-gap)) / 2);
    aspect-ratio: 2.1;
}

.products-list > *:nth-child(6n) {
    width: 100%;
    aspect-ratio: 2.09836;
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .24);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: .3s;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.product-card__label {
    position: absolute;
    top: 16px;
    left: 0;
    background: #C49C58;
    color: #fff;
    padding: 12px 12px 12px 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.33333;
    text-transform: uppercase;
    z-index: 2;
}

.product-card__title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.product-card:hover::before {
    background: rgb(0 0 0 / .1);
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

.products-notice {
    margin: 32px 0 0;
}

.footer {
    background: #3D3D3D;
    margin: 80px 0 0;
    padding: 30px 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.16667;
}

.footer__wrap {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    align-items: flex-start;
    gap: 48px;
}

.footer__company {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
}

.footer__company-details {
    margin: 0;
}

.footer__company-address {
    line-height: 1;
    opacity: .6;
    margin: 0;
}

.footer__disclaimer {
    margin: 0;
}

.footer__payments {
    display: flex;
    gap: 12px;
}

.footer__payment-icon {
    height: 24px;
}

.footer__wholesale {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__wholesale-btn {
    width: 320px;
    max-width: 100%;
    padding: 10px;
    font-size: 14px;
}

.product {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product__title {
    margin: 0;
    color: #6E5248;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.product__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.product-gallery {
    display: flex;
    gap: 24px;
    height: 864px;
}

.product-thumbs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 80px;
    flex-shrink: 0;
}

.product-thumbs-btn {
    width: 16px;
    height: 16px;
    fill: #802909;
    background: none;
    padding: 0;
    border: none;
}

.product-thumbs-btn:hover {
    fill: #C49C58;
}

.product-thumbs-btn__icon {
    width: 100%;
    height: 100%;
    display: block;
}

.product-thumbs-btn[data-direction=next] {
    transform: rotate(180deg);
}

.product-thumbs {
    width: 100%;
    margin-bottom: 20px;
}

.product-thumbs .swiper-slide {
    height: 120px !important;
}

.product-thumb {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
}

.product-thumbs .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #C49C58;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.product-thumbs .swiper-slide-thumb-active .product-thumb {
    cursor: default;
}

.product-thumbs .swiper-slide-thumb-active::before {
    opacity: 1;
    visibility: visible;
}

.product-images {
    flex-grow: 1;
}

.product-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.product-image__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product__heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product__name {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.product__flavor {
    font-size: 18px;
    line-height: 1.11111;
    color: #666;
}

.product__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 4px;
}

.product__price {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.product__price--old {
    font-size: 16px;
    line-height: 1;
    color: #666;
    text-decoration: line-through;
    font-weight: 400;
}

.info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
    line-height: 1.375;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list--vertical .info-list__item {
    flex-direction: column;
}

.info-list__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E6EAF3;
}

.info-list__item-title {
    flex-shrink: 0;
}

.info-list__item-value {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.11111;
    max-width: 59%;
}

.info-list--vertical .info-list__item-value {
    max-width: 100%;
}

.product__nutrition {
    background: #F6F7FB;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
}

.product__nutrition-title {
    font-size: 16px;
    line-height: 1.375;
    color: #727F88;
}

.product__nutrition-lists {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.product__nutrition-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product__nutrition-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.57143;
}

.product__nutrition-value {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.product__actions {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 24px;
}

.quantity {
    border: 1px solid #DBDBDB;
    border-radius: 12px;
    width: 120px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quantity__btn {
    width: 20px;
    height: 20px;
    fill: #555;
    background: none;
    padding: 0;
    border: none;
}

.quantity__btn[disabled] {
    opacity: .3;
}

.quantity__btn-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.quantity__input {
    background: none;
    border: none;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 16px;
    color: #555;
}

.product__quantity {
    flex-shrink: 0;
}

.product__action-btn {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

.product-attrs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-attrs__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #802909;
}

.products-attrs__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
}

.product-attrs__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-attrs__sub-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.11111;
}

.popup-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 12;
}

.popup-panel.active {
    opacity: 1;
    visibility: visible;
}

.popup-panel__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(13 13 13 / .3);
}

.popup-panel__box {
    position: absolute;
    top: 0;
    right: 0;
    width: 720px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: auto;
    transform: translateX(100%);
    transition: .3s;
}

.popup-panel__box--big {
    width: 960px;
}

.popup-panel.active .popup-panel__box {
    transform: none;
}

.popup-panel__box::-webkit-scrollbar {
    display: none;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / .75);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border: 5px solid #C49C58;
    border-bottom-color: transparent;
    border-radius: 50%;
    margin: -24px 0 0 -24px;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading.active {
    opacity: 1;
    visibility: visible;
}

.popup-panel__content {
    width: 100%;
    min-height: 100vh;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.popup-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.popup-panel__title {
    color: #802909;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
}

.mini-cart-count {
    font-size: 16px;
    text-transform: lowercase;
    margin-left: -2px;
}

.popup-panel__icon-btns {
    display: flex;
    align-items: center;
    gap: 32px;
}

.popup-panel__icon-btns-separator {
    width: 1px;
    height: 24px;
    background: #000;
}

.popup-panel__icon-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    fill: #000;
}

.popup-panel__icon-btn:hover {
    fill: #C49C58;
}

.popup-panel__icon-btn-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.popup-panel__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fancybox__viewport.is-draggable {
    cursor: default;
}

.fancybox__backdrop {
    background: rgb(39 40 42 / .6);
}

.modal {
    background: #fff;
    border-radius: 12px;
    width: 438px;
    max-width: calc(100vw - 16px);
    padding: 30px;
    display: none;
}

.modal__close {
    position: absolute;
    top: 13px;
    right: 11px;
    width: 24px;
    height: 24px;
    stroke: #797F82;
    background: none;
    border: none;
    padding: 0;
}

.modal__close:hover {
    stroke: #000;
}

.modal__close-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.modal__title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

@media screen and (max-width: 1440px) {
    .form-group__info {
        flex-basis: 260px;
    }

    .product__content {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }

    .info-list__item-value {
        font-size: 16px;
    }

    .product__nutrition-lists {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1200px) {
    .promo {
        padding: 80px 16px 180px;
    }

    .promo__logo {
        width: 80px;
    }

    .promo__sub-title {
        font-size: 56px;
    }

    .promo__description {
        font-size: 21px;
        max-width: 600px;
    }

    .catalog {
        margin-top: -120px;
    }

    .catalog__box {
        padding: 60px;
    }

    .nav {
        margin-bottom: 40px;
        padding: 0 0 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product__content {
        display: flex;
        flex-direction: column;
    }

    .product-gallery {
        height: 520px;
        width: 440px;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-thumbs {
        margin: 0;
    }

    .product-thumbs-container {
        width: 70px;
    }

    .product-thumbs .swiper-slide {
        height: 105px !important;
    }

    .product__nutrition-lists {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1024px) {
    .promo__title {
        font-size: 64px;
        line-height: 1;
    }

    .promo__sub-title {
        font-size: 48px;
    }

    .promo__description {
        font-size: 18px;
        max-width: 510px;
    }

    .catalog__box {
        padding: 40px;
    }

    .nav__item:not(:last-child) {
        padding-right: 16px;
    }

    .products-list > *:nth-child(n) {
        width: calc(50% - var(--grid-gap) / 2);
    }

    .footer__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .footer__disclaimer {
        order: 2;
    }

    .footer__wholesale {
        order: 3;
    }

    .footer__company {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-columns {
        display: flex;
        flex-direction: column;
    }

    .product-gallery {
        height: 520px;
        width: 440px;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-thumbs {
        margin: 0;
    }

    .product-thumbs-container {
        width: 70px;
    }

    .product-thumbs .swiper-slide {
        height: 105px !important;
    }

    .products-attrs__columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media screen and (max-width: 768px) {
    .popup-panel__box {
        width: 100%;
    }

    .popup-panel__content {
        padding: 36px;
        gap: 24px;
    }
    
    .popup-panel__icon-btns {
        gap: 24px;
    }

    .form-groups {
        gap: 24px;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    
    .form-group__info {
        flex-basis: 0;
    }
    
    .field__label {
        font-size: 16px;
    }
    
    .fields {
        gap: 12px;
    }

    .promo__logo {
        width: 60px;
    }

    .promo__title {
        font-size: 48px;
    }

    .promo__sub-title {
        font-size: 42px;
    }

    .promo__description {
        font-size: 16px;
        max-width: 450px;
    }

    .nav {
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .catalog__box {
        padding: 32px 16px;
    }
}

@media screen and (max-width: 600px) {
    .products-list > *:nth-child(n) {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .btn {
        font-size: 14px;
        padding: 10px;
    }

    .popup-panel__content {
        padding: 24px;
        gap: 16px;
    }
    
    .popup-panel__icon-btns {
        gap: 16px;
    }
    
    .popup-panel__icon-btn {
        width: 20px;
        height: 20px;
    }
    
    .popup-panel__header {
        gap: 16px;
    }

    .form-group {
        gap: 16px;
    }

    .nav__btn {
        font-size: 14px;
    }

    .nav {
        gap: 14px;
    }

    .nav__item:not(:last-child) {
        padding-right: 14px;
    }

    .catalog__box {
        padding: 24px 16px;
    }

    .products-notice {
        margin-top: 24px;
        font-size: 14px;
    }

    .footer__wrap {
        grid-template-columns: 1fr;
    }

    .promo__title {
        font-size: 44px;
    }

    .promo__sub-title {
        font-size: 32px;
    }

    .promo__description {
        font-size: 14px;
    }

    .product-gallery {
        height: 420px;
        gap: 16px;
    }

    .product-thumbs .swiper-slide {
        height: 110px !important;
    }

    .product {
        gap: 30px;
    }

    .product__title {
        font-size: 22px;
    }

    .product__nutrition-lists {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-list__item-title {
        flex-shrink: inherit;
    }

    .product__name {
        font-size: 21px;
    }

    .product__flavor {
        font-size: 16px;
    }

    .product__price {
        font-size: 21px;
    }

    .product__price--old {
        font-size: 14px;
    }

    .info-list {
        font-size: 14px;
    }

    .info-list__item {
        gap: 10px;
    }

    .info-list__item-value {
        font-size: 14px;
    }
}