@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@font-face {
    font-family: 'Aqum2';
    src: url('../fonts/Aqum2.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
}
:root {
    --black: #171717;
    --light-gray: #EEEEEE;
    --light-orange: #FFEDDC;
    --main: #FF5D01;
    --white: #fff;
    --light-black: #222222;
    --gray: #5C5C5C;
    --light-second-gray: #B7B7B7;
    --dirt-white: #F4F4F4;
    --border: #CDCDCD;
    transition: .3s;
}
body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--black);
}
.slogan > span:first-child {
    font-family: 'Aqum2', sans-serif;
    text-transform: uppercase;
}
.slogan > span:nth-child(2) {
    font-size: .75rem;
}
a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    line-height: 1.5rem;
}
a:hover, a.nav-link:hover {
    color: var(--main);
}
nav#w1 {
    border-bottom: 1px solid #E8E8E8;
}
.nav-link {
    color: var(--black);
}
.logo * {
    transition: .15s ease-in-out;
}
.header-logo {
    max-width: 74px;
    width: 100%;
}
span.logo-text__top {
    display: block;
    font-family: 'Aqum2', sans-serif;
    font-size: clamp(10px, 3vw, 20px);
    font-weight: 400;
    text-transform: uppercase;
}
span.logo-text__bottom {
    display: block;
    font-size: clamp(6px, 2vw, 12px);
}
.contacts {
    display: flex;
    gap: 20px;
}
.contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contacts a span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: 0.15s ease-in-out;
}
.contacts a svg circle {
    fill: var(--main);
    transition: 0.15s ease-in-out;
}
.contacts a svg path {
    fill: white;
    transition: 0.15s ease-in-out;
}
.contacts a:hover svg circle {
    fill: white;
    stroke: var(--main);
}
.contacts a:hover svg path {
    fill: var(--main);
}
h1.home-header, p.home-header {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
}
.btn {
    font-size: clamp(8px, 2vw, 16px) !important;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 60px;
    border: none;
}
.text-lg-right {
    text-align: right;
}
.text-right {
    text-align: right;
}
.btn.btn-secondary {
    background-color: var(--light-gray);
    color: var(--black);
}
.btn.btn-secondary:hover {
    background-color: var(--main);
    color: var(--white);
}
.btn.btn-primary {
    background-color: var(--light-orange);
    color: var(--main);
}
.btn.btn-primary:hover, .btn.btn-primary.selected, .nav-link.btn-primary.active {
    background-color: var(--main);
    color: var(--white);
    opacity: .9;
}
.nav-link.btn-primary {
    margin-right: 1rem;
}
.cart-btn {
    min-width: 165px;
    font-weight: 700;
}
.cart-btn:hover {
    background-color: var(--light-orange) !important;
    color: var(--main) !important;
}
h4.product-name {
    font-size: clamp(12px, 3vw, 20px);
    font-weight: 600;
    margin-bottom: 8px;
}
h3.section-name {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 40px;
}
footer {
    background-color: var(--light-black);
    color: var(--white);
    padding: 70px 0 25px 0;
}
footer a, footer a.nav-link {
    color: var(--white);
    padding: 0;
}
footer .logo {
    width: 250px;
}
.footer-navbar .nav {
    flex-direction: column;
}
footer .top-menu {
    text-transform: uppercase;
}
.mobile-app {
    width: 125px;
    margin-top: .5rem;
}
footer .inn, footer .inn a {
    color: var(--gray);
    transition: .15s ease-in-out;
}
footer .inn a {
    text-decoration: underline;
}
footer .inn a:hover {
    color: var(--white);
}
.navbar-expand .navbar-collapse {
    flex-wrap: wrap;
}
.days-of-week {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.product-card-header {
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.product-card-header > img {
    width: 100%;
    object-fit: contain;
    transition: .15s ease-in-out;
}
.product:hover .product-card-header > img {
    transform: scale(1.1)
}
.description p {
    margin-bottom: 6px;
    font-size: clamp(8px, 2vw, 16px);
    line-height: 140%;
}
.product-card-body .description {
    color: var(--light-second-gray);
    font-weight: 500;
    font-size: 16px;
}
.product-card-footer .price{
    margin: 0;
}
.price {
    font-weight: 600;
    font-size: 1.25rem;
}
.f-6 {
    font-weight: 600;
}
.cart {
    -webkit-box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);

    padding: 50px;
    margin-bottom: 6rem;

    border-radius: 20px;
}

.cart .submit-btn {
    display: flex;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-field label, .form-label, .form-check-label {
    margin-bottom: .5rem;
    font-weight: 600;
    font-size: clamp(10px, 2vw, 16px) !important;
}

.form-field input, .form-field textarea, .form-control {
    background-color: var(--dirt-white);
    border: none;
    outline: none;
    padding: 20px;
    border-radius: 8px;
}
.form-field.checkbox {
    flex-direction: row;
}
.product-info > p {
    margin-bottom: 0;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 600;
}
.form-field.checkbox label {
    order: 2;
}
.cart-items {
    margin-bottom: 54px;
}
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dirt-white);
    border-radius: 60px;
    overflow: hidden;
}
.quantity-control input[type="number"] {
    max-width: 32px;
    text-align: center;
    border: none;
    background-color: var(--dirt-white);
    font-size: 16px;
    font-weight: 600;
}
.quantity-control input[type="number"]::-webkit-outer-spin-button,
.quantity-control input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
.quantity-control input[type="number"] {
    -moz-appearance: textfield;
}
.calc {
    color: var(--main);
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 16px;
    font-weight: 600;
}
.calc:hover {
    background-color: var(--main);
    color: var(--white);
}
.calc-minus {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.calc-plus {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
input[type="checkbox"] {
    padding: 0 !important;
    flex: 0 0 auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s ease-in-out;
}
input[type="checkbox"]:hover {
    border-color: var(--main);
}
input[type="checkbox"]:checked {
    background-color: var(--main);
    border-color: var(--main);
}
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.form-field input {
    font-size: 16px;
    font-weight: 500;
}
.form-field input::placeholder, .form-field textarea::placeholder, #w0 input::placeholder, #w0 textarea::placeholder {
    color: #B9B9B9;
    font-size: 16px;
    font-weight: 500;
}
.form-field input:focus, .form-field textarea:focus, .form-control:focus {
    box-shadow: 0 0 0 3px rgb(255 94 0 / 30%);
    border: 1px solid var(--main);
}
button:disabled {
    filter: opacity(.25);
    pointer-events: none;
}
label a {
    font-weight: 600;
    text-decoration: underline;
    transition: .15s ease-in-out;
}
label a:hover {
    color: var(--main)
}
button.get-order.btn.btn-primary.selected.m-auto:hover, #w0 button:hover {
    background-color: var(--light-orange);
    color: var(--main);
}
.form-check .form-check-input {
    margin-left: -2.5em;
}
.form-check {
    padding-left: 2.5em;
}
.area-place {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}
.area-place-content {
    width: 75%;
    text-align: center;
    padding: .5rem 1rem;
    white-space: nowrap;
    overflow: hidden;
}
.area-place-content > div {
    overflow: hidden;
    font-weight: 500;
}
.delivery-disclaimer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    font-weight: 500;
}
.area-place-content-price {
    width: 25%;
    text-align: center;
    padding: .5rem 0;
    background-color: var(--light-orange);
    border-radius: 20px;
    color: var(--main);
    font-weight: 600;
    white-space: nowrap;
}
.phone-app {
    background-color: var(--main);
    padding: 1rem 0;
}
.phone-app p {
    margin: auto;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--white);
}
.phone-app img {
    width: 8rem;
}
h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.areas-subtitle {
    color: var(--main);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.cart-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.notice {
    font-size: .75rem;
}
#w0 .form-check-input.is-valid ~ .form-check-label {
    color: black;
}
#w0 .form-check-input.is-valid:checked {
    background: var(--main);
}
#w0 .form-check-input.is-valid:checked {
    background: var(--main);
}
#w0 .form-check-input.is-valid:focus, #w0 .form-check-input.is-valid:checked {
    box-shadow: 0 0 0 3px rgb(255 94 0 / 30%) !important;
    border: 1px solid var(--main);
}

/* orders.php и связанные стили */
.orders-page {
    padding: 30px 0;
}

.orders-list {
    margin-top: 30px;
}

.order-item {
    margin-bottom: 20px;
}

.empty-orders {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-size: 18px;
}

/* Стили для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-item {
    margin: 0 3px;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.page-link.disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}
.top-header, .bottom-header, .sections-section {
    margin-bottom: 1.5rem;
}
.nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}
.fw-6 {
    font-weight: 600;
}
.days-of-week {
    margin-bottom: 2rem;
}
.days-of-week button {
    font-size: 14px;
}
.product {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card-footer {
    margin-top: auto;
}
.products {
    margin-bottom: 4rem;
}
.content-block {
    margin-bottom: 6rem;
}
.contact-form-h2 {
    width: 100%;
    font-size: clamp(10px, 3vw, 28px);
}
.contact-info-footer-block p {
    margin-bottom: .5rem;
}
.areas-title {
    font-size: 2rem;
}
.menu-links .menu-link {
    font-weight: 600;
    margin-right: 1.25rem;
}
.form-field label[for=send-email] {
    margin-top: auto;
    margin-bottom: auto;
}
img.webmaster-logo {
    max-width: 160px;
    display: block;
    margin-bottom: 24px;
}
h4.product-header {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 600;
}
.scroll-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--main);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    opacity: 0.7;
    transition: opacity .15s;
}
.scroll-top-button:hover {
    opacity: 1;
    color: white;
}
.total-price h4 {
    font-size: clamp(16px, 3vw, 28px);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 38px;
}
button.burger {
    background-color: transparent;
    border: none;
    padding: 0;
}
.burger ul {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    width: 21px;
    height: 15px;
}
.burger ul li {
    display: block;
    width: 21px;
    height: 3px;
    background: var(--main);
    border-radius: 3px;
    position: absolute;
}
.burger ul li:first-child {
    left: 0;
    top: 0;
}
.burger ul li:nth-child(2) {
    left: 0;
    top: calc(50% - 1.5px);
}
.burger ul li:last-child {
    left: 0;
    bottom: 0;
}
.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 2;
}
.mobile-menu ul#w4 {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 40px !important;
}
.mobile-menu ul#w4 li {
    width: 100%;
    text-align: center;
}
.mobile-menu ul#w4 li a {
    font-size: 14px;
    font-weight: 800;
    line-height: 17px;
    text-transform: uppercase;
    padding: 12px;
    border-top: 1px solid #EDEDED;
}
.mobile-menu ul#w4 li:last-child a {
    border-bottom: 1px solid #EDEDED;
}
.mobile-menu ul#w4 li a:hover {
    background-color: var(--main);
    color: white;
}
.mobile-menu .contact-info .contacts {
    align-items: center;
}
.mobile-menu .contact-info .contacts a span {
    font-size: 18px;
    font-weight: 500;
}
.mobile-menu__header > div {
    padding: 11px 0 1px 0;
}
.mobile-menu__header h4 {
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 0;
}
button.burger-close {
    padding: 0;
    border: none;
    background-color: transparent;
}
button.burger-close ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 14px;
    height: 14px;
}
button.burger-close ul li:first-child, button.burger-close ul li:last-child {
    position: absolute;
    top: 7px;
    left: 0;
    width: 14px;
    height: 2px;
    background-color: #171717;
}
button.burger-close ul li:first-child {
    transform: rotate(45deg);
}
button.burger-close ul li:last-child {
    transform: rotate(-45deg);
}
.cart-link {
    transition: .2s ease-in-out;
}
@media(max-width: 991px) {
    span.logo-text__top, span.logo-text__bottom {
        line-height: 150%;
    }
}
@media screen and (width > 787px) {
    .menu-lins__dropdown {
        display: none;
    }
    .contact-form-h2 {
        max-width: 80%;
    }
    .cart-link.is-fixed {
        position: fixed;
        bottom: 20px;
        right: 100px;
    }
}
@media screen and (width < 787px) {
    body {
        font-size: 12px;
    }
    .total-price h4 {
        text-align: center;
        margin-top: 20px;
    }
    .cart-items {
        margin-bottom: 16px;
    }
    .menu-links {
        background-color: var(--light-orange);
        padding: 10px 40px 10px 16px;
        border-radius: 20px;
        max-height: 40px;
        overflow: hidden;
        position: relative;
        transition: .15s ease-in-out;
    }
    .menu-links.active {
        max-height: 400px;
    }
    .contact-form-h2 {
        text-align: center;
        margin-bottom: 0;
    }
    form#w0 .row {
        -webkit-box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 0px 0px 14px 0px rgba(34, 60, 80, 0.2);
        padding: 20px 10px;
        margin-bottom: 6rem;
        border-radius: 20px;
        margin-left: 2px;
        margin-right: 2px;
    }
    .menu-links .menu-link {
        color: var(--main);
        margin-top: -6px;
        display: inline-block;
        line-height: 32px;
    }
    .menu-lins__dropdown {
        position: absolute;
        top: 0;
        right: 0;
        background-color: transparent;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNC4wMDAwMDAiIGhlaWdodD0iMjQuMDAwMDAwIiBmaWxsPSJub25lIiBjdXN0b21GcmFtZT0iIzAwMDAwMCI+Cgk8ZyBpZD0iR3JvdXAgMTk2Ij4KCQk8Y2lyY2xlIGlkPSJFbGxpcHNlIDMxIiBjeD0iMTIiIGN5PSIxMiIgcj0iMTIiIGZpbGw9InJnYigyNTUsOTMsMSkiIC8+CgkJPHBhdGggaWQ9IlZlY3RvciIgZD0iTTQuODAxMiA0Ljk5OTkyTDAuOTYwMTA0IDlMMCA4LjAwMDE2TDMuMzYxMDQgNC41TDAgMC45OTk4NDNMMC45NjAxMDQgMEw0LjgwMTIgNC4wMDAwOEM0LjkyODQ5IDQuMTMyNjggNSA0LjMxMjUgNSA0LjVDNSA0LjY4NzUgNC45Mjg0OSA0Ljg2NzMyIDQuODAxMiA0Ljk5OTkyWiIgZmlsbD0icmdiKDI1NSwyNTUsMjU1KSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09Im1hdHJpeCg2LjEyMzIzZS0xNywxLDEsLTYuMTIzMjNlLTE3LDcsMTApIiAvPgoJPC9nPgo8L3N2Zz4K);
        width: 40px;
        height: 40px;
        background-size: cover;
        padding: 0;
        border: none;
        transition: .15s ease-in-out;
    }
    .menu-lins__dropdown.active {
        transform: rotate(-180deg)
    }
    .days-of-week {
        gap: 10px;
    }
    .scroll-top-button {
        bottom: 70px;
    }
    .cart {
        padding: 1rem;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    footer {
        padding: 1rem 0
    };
    .contact-info-footer-block * {
        text-align: left !important;
    }
    header .navbar-collapse {
        flex-direction: column;
    }
    header .contact-info {
        width: 100%;
    }
    header .contacts {
        flex-direction: column;
    }
    footer .contact-info-footer-block p {
        text-align: left !important;
    }
    .cart-link {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
    }
    .cart {
        margin-bottom: 3rem;
    }
    .product-card-header {
        height: 148px;
    }
    .product-card-header > img {
        height: 100%;
    }
    .price {
        font-size: 1rem;
    }
    .text-left {
        text-align: left;
    }
}