:root {
    --green: #B5D43D;
    --darkgreen: #253922;
    --pink: #E6698E;
    --gray: #253922;
}

/* Import font */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Baloo 2', sans-serif;
}

html {
    scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background-color: white;
    color: var(--gray);
    font-weight: 400;
}

.body-wrapper {
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.container {
    padding: 0;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

strong {
    font-weight: 700;
}

h1 {
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
}

h2 {
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

h5,
h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.625rem;
}

h6 {
    font-style: italic;
}

p,
li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}

p:last-of-type {
    margin-bottom: 0;
}

li {
    margin-left: 1rem;
    margin-bottom: 0;
}

ul {
    margin: 1.25rem 0;
}

section {
    padding: 140px 40px 100px;
    position: relative;
    overflow-x: clip;
}

.primary-link,
.btn-primary {
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    border-radius: 0.5rem;
    display: block;
    width: fit-content;
    background-color: var(--green);
    text-transform: uppercase;
    border: 1px solid var(--green);
    outline: none;
    white-space: nowrap;
    color: white;
}

.primary-link.center {
    margin: 4rem auto 0;
}

.form-control:focus {
    border-color: var(--darkgreen);
    box-shadow: none;
}

.primary-link:hover,
.primary-link.pink:hover,
.primary-link.light:hover,
.btn-primary:hover,
.btn-primary:not(:disabled):not(:disabled):active,
.btn-primary:not(:disabled):not(:disabled):focus,
.btn-primary:not(:disabled):not(:disabled):active:focus
 {
    border: 1px solid var(--darkgreen);
    background-color: var(--darkgreen);
    color: var(--white);
    box-shadow: none;
}

.primary-link.pink {
    background-color: var(--pink);
    border: 1px solid var(--pink);
    color: white;
}

.primary-link.light {
    background-color: transparent;
    border: 1px solid var(--darkgreen);
    color: var(--darkgreen);
}

.primary-link svg {
    height: 1rem;
    object-fit: contain;
    margin-right: 0.625rem;
    margin-top: -0.25rem;
}

.primary-link svg path {
    transition: fill 0.3s;
    fill: white;
}

::selection {
    background: #C7E552;
    color: var(--darkgreen);
}

::-moz-selection {
    background: #C7E552;
    color: var(--darkgreen);
}

.rccookie-container {
    background-color: #FFFFFFDD;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
}

.rccookie-container .primary-link,
.rccookie-modal .primary-link {
    background-color: var(--green);
    color: white;
}

.rccookie-container .secondary-link {
    color: var(--gray);
}

.rccookie-modal .modal-content {
    border-radius: 15px;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before,
.custom-control-input:not(:disabled):focus~.custom-control-label::before {
    border-color: var(--green) !important;
    box-shadow: none !important;
}

.custom-control-label::before {
    border: 1px solid var(--gray);
}

.slider {
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.slider:hover {
    background: var(--green);
    border-color: var(--green) !important;
    color: white;
}

.sliderMask {
    border-color: var(--green) !important;
    background-color: var(--green) !important;
}

.sliderContainer_success .slider {
    top: -1px;
    border: 1px solid var(--green);
    background-color: var(--green) !important;
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.4s;
    z-index: 996;
}

.overlay.active {
    opacity: 1;
}

a {
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
    color: var(--gray);
}

a:hover,
a:focus-visible {
    text-decoration: none;
    color: var(--green);
}

button {
    transition: background-color 0.3s, color 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
}

button:focus {
    outline: none !important;
}

.vbox-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vbox-close {
    padding: 20px !important;
    top: 10px !important;
    right: 20px !important;
}

.vbox-next {
    right: 40px !important;
}

.vbox-prev {
    left: 40px !important;
}

.vbox-title {
    display: none !important;
}

/* SIDEBAR OPEN */

.open-sidebar {
    width: 28px;
    height: 24px;
    position: relative;
    display: none;
}

.open-sidebar .hb {
    height: 3px;
    background-color: white;
    border-radius: 99px;
    transition: all 0.45s;
    position: absolute;
    right: 0;
}

.open-sidebar .hb1 {
    width: 28px;
    top: 0;
}

.open-sidebar .hb2 {
    width: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.open-sidebar .hb3 {
    width: 14px;
    bottom: 0;
}

.open-sidebar.closed .hb1 {
    top: 50%;
    transform: rotate(-45deg) translateY(-2px);
    width: 30px;
}

.open-sidebar.closed .hb2 {
    right: -100%;
    opacity: 0;
}

.open-sidebar.closed .hb3 {
    transform: rotate(45deg) translateY(2px);
    bottom: 50%;
    width: 30px;
}

/* SIDEBAR */

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1141px) {
    #sidebar {
        display: none;
    }
}

#sidebar,
.navbar-dropdown {
    width: 100%;
    position: fixed;
    right: -100vw;
    top: 66px;
    height: calc(100dvh - 66px);
    z-index: 999;
    background: #FFFFFFCC;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: right 0.45s ease-out;
    overflow: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding: 0 20px;
}

#sidebar.active,
.navbar-dropdown.active {
    right: 0;
}

#sidebar .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-top: -10px;
    height: 100%;
}

#sidebar .links {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sidebar .links .nav-item {
    width: 100vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

#sidebar .links a svg {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 18px;
}

#sidebar .links a svg path {
    stroke: var(--gray);
}

#sidebar .bottom {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 30px;
    gap: 20px;
}

#sidebar .bottom .primary-link {
    width: 200px;
    height: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

#sidebar .bottom>.buttons {
    display: flex;
    gap: 20px;
}

#sidebar .bottom .item>button {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DESKTOP NAVBAR */

.desktop-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 12px 20px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pink);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.5s;
}

.desktop-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.desktop-navbar .links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.desktop-navbar .logo {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-navbar .logo img {
    height: 3.5rem;
}

.body-wrapper.yellow .desktop-navbar .logo img {
    filter: invert(0.8);
}

.desktop-navbar .links .nav-item {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    color: white;
    text-transform: uppercase;
}

.desktop-navbar .links .nav-item:hover {
    color: var(--green);
}

.desktop-navbar .links .nav-item svg {
    width: 16px;
    margin-left: 10px;
    transition: transform 0.3s;
}

.desktop-navbar .links .nav-item.active svg {
    transform: rotate(180deg);
}

.desktop-navbar .links .nav-item svg path {
    transition: stroke 0.3s;
    stroke: white;
}

.desktop-navbar .links .nav-item:hover svg path {
    stroke: var(--green);
}

.desktop-navbar .buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.desktop-navbar .buttons svg {
    height: 2rem;
}

.desktop-navbar .buttons svg path,
.desktop-navbar .buttons svg circle {
    transition: fill 0.3s, stroke 0.3s;
}

.desktop-navbar .buttons .item:first-of-type svg:hover path {
    fill: var(--green);
}

.desktop-navbar .buttons .item:nth-of-type(2) svg:hover path,
.desktop-navbar .buttons .item:nth-of-type(2) svg:hover circle {
    stroke: var(--green);
}

/* NAVBAR DROPDOWN */

.desktop-navbar .navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: fit-content;
    overflow: hidden;
    z-index: 998;
    max-height: 0;
    background-color: #ecf5f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    transition: max-height 0.45s ease-out, background-color 0.3s;
}

.desktop-navbar .navbar-dropdown.active {
    z-index: 999;
}

.desktop-navbar.active .navbar-dropdown {
    background-color: #ecf5f0dd;
}

.navbar-dropdown .container {
    display: flex;
    padding: 30px 0;
    max-width: 1140px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

#sidebar .navbar-dropdown .container {
    padding: 20px 0 40px;
    flex-wrap: wrap;
    gap: 20px;
    align-items: auto;
}

.navbar-dropdown .container .item {
    position: relative;
    z-index: 1;
    max-width: 25%;
}

#sidebar .navbar-dropdown .container .item {
    width: 100%;
    max-width: calc(50% - 10px);
}

.navbar-dropdown .container .item h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--green);
    transition: color 0.3s;
    text-transform: none;
}

#sidebar .navbar-dropdown .container .item h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.navbar-dropdown .container .item h3:hover {
    color: #57AE6D;
}

.navbar-dropdown .container .item a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    font-weight: 600;
}

#sidebar .navbar-dropdown .container .item a {
    font-size: 14px;
    margin-bottom: 6px;
}

#sidebar .navbar-dropdown .arrow {
    transform: rotate(90deg);
    cursor: pointer;
    height: 12px;
    display: block;
    margin: 30px 0 5px -5px;
}

/* KIS LENYÍLÓK */

.desktop-modal {
    position: absolute;
    top: 100%;
    right: -20px;
    width: calc(100vw - 40px);
    max-width: 380px;
    background-color: #FFFFFFDD;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    display: none;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    padding: 20px;
}

.desktop-modal.active {
    transform: translateY(40px);
    opacity: 1;
}

.desktop-modal::before {
    content: '';
    position: absolute;
    top: -18px;
    width: 40px;
    height: 18px;
    background-color: #FFFFFFDD;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.desktop-modal.basket-modal::before {
    right: 68px;
}

.desktop-modal.login-modal::before {
    right: 13px;
}

.desktop-modal .cancel,
.navbar-dropdown .cancel {
    position: absolute;
    top: 15px;
    right: 12px;
    padding: 10px;
    cursor: pointer;
    width: 36px;
}

.desktop-modal h3 {
    margin: 0 0 1.25rem;
    text-transform: none;
    font-weight: 600;
    font-size: 1.375rem;
    text-align: center;
}

.desktop-modal form {
    padding: 0;
    width: 100%;
    background-color: transparent;
    gap: 0;
}

.desktop-modal form input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--green);
    border-radius: 0.5rem;
    margin-bottom: 0.875rem;
    line-height: 1;
    background-color: transparent;
}

.desktop-modal .primary-link {
    margin: 0 auto;
    padding: 0.625rem 1.25rem;
}

.desktop-modal.basket-modal .list {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--green) transparent;
}

.desktop-modal.basket-modal .list .item {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--green);
    border-radius: 0.375rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.desktop-modal.basket-modal .list .item .content {
    padding: 0.75rem;
    width: 73%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.desktop-modal.basket-modal .list .image {
    width: 27%;
    display: flex;
    align-items: center;
}

.desktop-modal.basket-modal .list .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.desktop-modal.basket-modal .list .item.pizza .image img {
    object-fit: contain;
    object-position: center left;
    max-height: 9rem;
    border-radius: 0;
}

.desktop-modal.basket-modal .content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.desktop-modal.basket-modal .content p {
    margin: 0;
    font-size: 0.875rem;
}

.desktop-modal.basket-modal .content .numbers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.625rem;
}

.desktop-modal.basket-modal .content .price {
    font-weight: 600;
    color: var(--pink);
    font-size: 1.125rem;
}

.desktop-modal.basket-modal .content .quantity,
.basket .quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--green);
    border-radius: 0.5rem;
    padding: 0 0.25rem;
    height: 2.125rem;
}

.desktop-modal.basket-modal .content .quantity input,
.basket .quantity input {
    width: 2rem;
    font-size: 1.25rem;
    text-align: center;
    background-color: transparent;
    border: none;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
    pointer-events: none;
}

.desktop-modal.basket-modal .content .quantity input::-webkit-inner-spin-button,
.desktop-modal.basket-modal .content .quantity input::-webkit-outer-spin-button,
.basket .quantity input::-webkit-inner-spin-button,
.basket .quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.desktop-modal.basket-modal .content .quantity button,
.basket .quantity button {
    padding: 0.375rem;
}

.desktop-modal.basket-modal .content .quantity button img,
.basket .quantity button img {
    width: 0.875rem;
}

.desktop-modal.basket-modal .content button.edit {
    background-color: var(--green);
    transition: background-color 0.3s;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 0.5rem
}

.desktop-modal.basket-modal .content button.delete,
.desktop-modal.basket-modal .content button.delete img {
    height: 1.5rem;
    margin-top: -0.1rem;
}

.desktop-modal.basket-modal .summary {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.desktop-modal.basket-modal .summary .price {
    color: var(--pink);
    font-size: 1.25rem;
    font-weight: 700;
}

.desktop-modal.basket-modal .buttons {
    flex-direction: column;
    gap: 0.625rem;
}

.desktop-modal.login-modal .lostpassword {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.desktop-modal.login-modal .logged-in a {
    display: block;
    text-align: center;
    margin-bottom: 0.625rem;
}

/* HERO */

.hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 10;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    background-color: var(--green);
}

.hero .image {
    position: absolute;
    bottom: -8vw;
    right: -8vw;
    width: 45vw;
    aspect-ratio: 1;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero .image .pizza {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero .image .slice {
    position: absolute;
    right: 44%;
    bottom: 47%;
    width: 54%;
    rotate: 7deg;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container .content {
    width: 59%;
    padding-top: 80px;
}

.hero h1 {
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--pink);
    display: block;
}

.hero p {
    font-size: 1.75rem;
    color: white;
    font-weight: 500;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.ponyva {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100vw;
    height: 3.5vw;
    transform-origin: top;
    pointer-events: none;
    user-select: none;
}

.online {
    background-color: var(--darkgreen);
    color: white;
    z-index: 9;
}

.online h2 {
    margin-bottom: 6rem;
}

.items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.items .item {
    width: calc(33.3333% - 0.667rem);
}

.online .items {
    justify-content: space-between;
}

.online .items .item {
    width: auto;
    max-width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.online .items .item svg {
    height: 4rem;
    margin-bottom: 2rem;
}

.online .items .item svg path {
    fill: transparent;
    stroke-width: 0;
    stroke: var(--green);
}

.online .items .item h4 {
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
}

.online .items .item p {
    font-size: 1.25rem;
}

.menu {
    z-index: 8;
}

.menu h2 {
    color: var(--pink);
}

.menu .nav-line {
    display: flex;
    justify-content: space-around;
    background-color: var(--green);
    width: 100%;
    position: sticky;
    top: 75px;
    z-index: 99;
}

.menu .nav-line .item {
    color: white;
    min-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    transition: color 0.3s;
    cursor: pointer;
}

.menu .nav-line .item svg {
    width: 2.5rem;
    height: 2.5rem;
}

.menu .nav-line .item svg path {
    stroke: white;
    fill: var(--green);
}

.menu .nav-line .item span {
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
}

.menu .nav-line .item.hoverable:hover {
    color: #31502d;
}

.menu .nav-line .item.hoverable.active {
    color: var(--darkgreen);
}

.menu .nav-line .item.hoverable svg path {
    transition: fill 0.3s;
}

.menu .nav-line .item.hoverable:hover svg path {
    fill: #31502d !important;
}

.menu .nav-line .item.hoverable.active svg path {
    fill: var(--darkgreen) !important;
}

.menu .type {
    margin: 60px 0;
}

.menu .type h3 {
    font-size: 2.5rem;
    color: var(--green);
}

.menu .type .item {
    border: 2px solid var(--pink);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 0.5rem;
    overflow: hidden;
    width: calc(50% - 0.667rem);
    min-height: 250px;
}

.menu .type.pizzas .item {
    width: calc(33.3333% - 0.667rem);
}

.menu .type .item.discount::before {
    content: "Akció";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--green);
    width: 5rem;
    height: 4rem;
    padding: 1rem 0.75rem;
    border-bottom-right-radius: 5rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
}


.menu .type .item .image {
    width: 40%;
}

.menu .type.pizzas .item .image {
    width: 30%;
}

.menu .type .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0.5rem 0.5rem 0;
}

.menu .type.pizzas .item .image img {
    object-fit: contain;
    object-position: center left;
}


.menu .type .item .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    width: 60%;
}

.menu .type.pizzas .item .content {
    width: 70%;
}

.menu .type .item h4 {
    text-transform: uppercase;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.menu .type .item .desc {
    font-size: 0.875rem;
    line-height: 1.3;
}

.menu .type .item .allergen {
    font-size: 0.75rem;
    line-height: 1.3;
}

.menu .type .item .content .lower {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu .type.pizzas .item .content .lower {
    gap: 1.5rem;
    display: block;
}

.menu .type .item .content .line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu .type .item .content .line:first-of-type {
    gap: 1rem;
}

.menu .type .item.discount .content .line:first-of-type {
    align-items: flex-end;
}

.menu .type.pizzas .item .content .line:first-of-type {
    margin-bottom: 0.5rem;
}

.menu .type .item .content .price {
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
}

.menu .type .item.discount .content .price {
    color: var(--green);
}

.menu .type .item.discount .content .price span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

.menu .type .item .content .size {
    display: flex;
    align-items: center;
}

.menu .type .item .content .size::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background: url('../images/diameter.svg') no-repeat center / contain;
    display: inline-block;
    margin-right: 0.5rem;
}

.menu .type .item .primary-link {
    font-size: 0.875rem;
    padding: 0.625rem;
    font-weight: 500;
}

.menu .type .item .primary-link svg {
    height: 0.75rem;
    margin-right: 0.25rem;
}

.ad {
    padding-top: 0;
    z-index: 7;
}

.ad .container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background-color: var(--green);
    padding: 60px 80px;
    border-radius: 0.5rem;
}

.ad .container>img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-30%, -50%);
    border-radius: 999px;
    width: 40%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.ad .container .content {
    width: 68%;
    text-align: center;
}

.ad .container .content h2 {
    color: var(--pink);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.ad .container .content h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.ad .container .content p {
    font-weight: 500;
}

.ad .container .content .primary-link {
    margin-top: 2.5rem;
}

.about {
    background-color: var(--pink);
    color: white;
    z-index: 6;
}

.about .image {
    border-radius: 50%;
    width: 45vw;
    aspect-ratio: 1;
    object-fit: cover;
    position: absolute;
    top: 100px;
    right: -8vw;
    z-index: 2;
}

.about .content {
    max-width: 60%;
}

.relative {
    position: relative;
}

.swiper {
    width: 100%;
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 28px !important;
    font-weight: 500;
    color: var(--green);
}

.swiper-button-prev {
    left: -50px !important;
}

.swiper-button-next {
    right: -50px !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTACT */

.contact {
    background-color: var(--green);
    color: white;
    margin: 0;
}

.contact .content {
    display: flex;
    gap: 40px;
}

.contact .content .left,
.contact .content form {
    width: 50%;
}

.contact .content .left p {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact .content .left img {
    width: 2rem;
}

.contact .content .left a {
    color: white;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: none;
}

form input,
form textarea,
form select,
.new-address-modal input,
.new-address-modal textarea,
.new-address-modal select {
    padding: 1rem;
    border: none;
    outline: none;
    background-color: white;
    color: var(--gray) !important;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    resize: none;
}

select {
    appearance: none;
    background-image: url("../images/angle-down-gray.svg");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}

form input::placeholder,
form textarea::placeholder,
form select::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.form-check {
    padding-left: 37px !important;
    width: fit-content;
}

.form-check:first-of-type {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:first-of-type {
    margin-top: 20px;
}

.form-check-input {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.form-check-input+label a {
    text-decoration: underline;
}

.form-check-input+label {
    position: relative;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
}

.form-check-input+label::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-left: -37px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s ease;
}

.form-check-input:checked+label::before {
    background-color: var(--pink);
}

.form-check-input+label::after {
    content: " ";
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center center;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -37px;
    left: 0;
    top: -10px;
    text-align: center;
    background-color: transparent;
    font-size: 10px;
    height: 24px;
    width: 24px;
    transition: 0.3s ease;
    opacity: 0;
}

.form-check-input:checked+label::after {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+");
    opacity: 1;
    top: 0.5px;
}

.contact form .primary-link {
    margin-top: 1.25rem;
}

/* FOOTER */

footer {
    position: relative;
    z-index: 1;
    padding: 140px 25px 60px;
    background-color: var(--darkgreen);
    color: white;
}

footer .ponyva {
    bottom: auto;
    top: 0;
    transform: none;
}

footer .container {
    display: flex;
    justify-content: space-between;
}

footer .item:first-of-type img {
    height: 6rem;
}

footer .item {
    display: flex;
    flex-direction: column;
    max-width: 23%;
    padding-right: 1.25rem;
}

footer .item:first-of-type {
    flex-direction: row;
    gap: 1.5rem;
}

footer .item h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: none;
}

footer .item p,
footer .item a {
    display: block;
    width: fit-content;
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
}

footer .item a:hover {
    color: var(--green);
}

footer .item a img {
    width: 32px;
    margin-bottom: 0;
}

footer .item:last-of-type a {
    display: inline;
    width: fit-content;
}

footer .item .raccoon {
    margin-top: 20px;
}

.customize-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    border: 1px solid var(--pink);
    background-color: #FFFFFFDD;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    width: calc(100vw - 40px);
    max-width: 1140px;
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.customize-modal.active {
    opacity: 1;
}

.customize-modal .cancel {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem;
    cursor: pointer;
}

.customize-modal .content {
    width: 70%;
    padding: 30px;
    padding-right: 5rem;
}

.customize-modal .image {
    width: 30%;
    aspect-ratio: 2/1;
}

.customize-modal .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.customize-modal .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--green);
    padding-bottom: 1.25rem;
}

.customize-modal .header h3 {
    font-size: 2.25rem;
    margin-bottom: 0;
}

.customize-modal .header .price {
    font-size: 2rem;
    color: var(--pink);
    font-weight: 700;
    white-space: nowrap;
}

.customize-modal .item p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.customize-modal .item .group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customize-modal .item .group .form-check {
    width: calc(25% - 1rem);
}

.customize-modal .item.color .group .form-check {
    width: fit-content;
}

.customize-modal .item .group .form-check:first-of-type {
    margin-top: 0;
}

.customize-modal .item .group .form-check input[type="radio"]+label {
    padding-right: 1.75rem;
}

.customize-modal .item .group .form-check input[type="radio"]+label .circle {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% - 1px));
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
}

.customize-modal .form-check-input:checked+label::before {
    background-color: var(--darkgreen);
}

.customize-modal .form-check-input+label::before {
    border: 1.5px solid var(--darkgreen);
}

.customize-modal .item .group .form-check input+label {
    line-height: 1;
}

.customize-modal .primary-link.center {
    margin-top: 0;
}

/* KOSÁR */

section.header {
    height: 50vh;
    padding: 0 40px;
    margin: 0;
    background-color: var(--green);
    position: relative;
    z-index: 10;
}

.header .container {
    margin-top: 80px;
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header .container .nav {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 1rem;
}

.header .container .nav a:hover {
    color: var(--pink);
}

.header .container .nav a:last-of-type {
    font-weight: 700;
}

.header .container h1 {
    color: white;
    font-weight: 700;
}

.basket {
    position: relative;
    z-index: 9;
}

.basket .items {
    gap: 0rem;
}

.basket .items .item {
    width: 100%;
    display: flex;
    gap: 1rem;
    border: 1px solid var(--green);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.basket .items .item .left {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.basket .items .item .image {
    width: 23%;
    display: flex;
    align-items: center;
}

.basket .items .item .image img {
    width: 100%;
    min-height: 100%;
    max-height: 12rem;
    object-fit: cover;
    border-radius: 0.625rem;
}

.basket .items .item.pizza .image img {
    aspect-ratio: 1/2;
    object-fit: contain;
    object-position: center left;
    border-radius: 0;
}

.basket .items .item .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    max-width: 650px;
    width: 60%;
}

.basket .items .item .text .line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.basket .items .item .text h4 {
    display: inline-block;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.basket .items .item .text .size {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    font-size: 1.125rem;
    white-space: nowrap;
    padding-left: 1.5rem;
    position: relative;
    margin-left: 1.25rem;
}

.basket .items .item .text .size::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background: url('../images/diameter.svg') no-repeat center / contain;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.basket .items .item .numbers {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.basket .items .item .numbers .upper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.basket .items .item .numbers .delete img {
    height: 2rem;
}

.basket .items .item .numbers .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink);
}

.basket .summary {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0 2.5rem;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.basket .summary .price {
    color: var(--pink);
    font-size: 2rem;
    font-weight: 700;
}

.basket .buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 3rem;
}

.basket .buttons .right {
    display: flex;
    gap: 1rem;
}

.basket .buttons .right .primary-link.light {
    border-color: var(--green);
    color: var(--green);
}

.basket .buttons .right .primary-link.light:hover {
    color: white;
}

.basket form {
    border: 1px solid var(--pink);
    padding: 0;
    border-radius: 0.5rem;
}

.basket form.for-guests {
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    transition: max-height 0.8s cubic-bezier(0, 0.6, 0.6, 1);
}

.basket form.for-guests.active {
    border: 1px solid var(--pink);
}

.basket form .content {
    padding: 2rem 3rem;
}

.basket form .item {
    margin-bottom: 1.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--green);
}

.basket form .checks {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.basket form .delivery .form-check {
    width: 30%;
}

.basket form .checks .form-check:first-of-type {
    margin-top: 0;
}

.basket form .form-check-input+label {
    font-size: 1rem;
}

.basket form .form-check-input+label span {
    font-size: 0.875rem;
    display: block;
    font-weight: 400;
}

.basket form .form-check-input+label::before {
    border: 1px solid var(--darkgreen);
}

.basket form .form-check-input:checked+label::before {
    background-color: var(--darkgreen);
}

.basket form .line {
    display: flex;
    margin-bottom: 1.5rem;
}

.basket form .for-delivery {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 0.69, 0.6, 1);
}

.basket form .line .input {
    width: calc(33.33% - 0.75rem);
    margin-right: 1.5rem;
}

.basket form .line .input:last-of-type {
    margin-right: 0;
}

.basket form .line:first-of-type .input {
    width: 33.33%;
}

.basket form .line .input input,
.basket form .line .input select,
.basket form .line .input textarea {
    border: 1px solid var(--darkgreen);
    padding: 0.625rem 1rem;
}

.basket form .line .input label {
    font-weight: 600;
}

.basket form .for-delivery .line .input {
    width: calc(33.33% - 0.75rem);
}

.basket form.for-users .for-delivery .line .input {
    width: 100%;
}

.basket form .for-delivery .line .input:nth-of-type(2) {
    width: 66.66%;
}

.basket form .afa {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 0.69, 0.6, 1);
}

.basket form .line.message .input {
    width: 100%;
}

.basket form .item.checkout {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
}

.basket form .item.checkout .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    text-align: right;
}

.basket form .item.checkout .right h5 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.basket form .item.checkout .right p {
    font-size: 1rem;
    margin-bottom: 0;
}

.basket form .originalPriceText,
.basket form .deliveryPriceText {
    display: none;
}

.basket form .item.checkout .right h4 {
    font-size: 1.375rem;
    color: var(--pink);
    text-transform: uppercase;
}

.basket form .primary-link.disabled {
    background-color: #999;
    border-color: #999;
    color: #DDD;
    cursor: default;
    pointer-events: none;
}

.basket form .new-address {
    position: relative;
    color: var(--pink);
    margin-top: 0.625rem;
    font-weight: 600;
}

.basket form .new-address::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--pink);
    transition: width 0.3s;
}

.basket form .new-address:hover::after {
    width: 100%;
}

.new-address-modal,
.success-modal,
.closed-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    border: 1px solid var(--pink);
    background-color: #FFFFFFDD;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    width: calc(100vw - 40px);
    max-width: 950px;
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.new-address-modal.active {
    opacity: 1;
}

.success-modal,.closed-modal {
    display: block;
    opacity: 0;
    max-width: 700px;
    z-index: -2;
}

.success-modal.active, .closed-modal.active {
    z-index: 1000;
    opacity: 1;
}

.new-address-modal .cancel,
.success-modal img.cancel
.closed-modal .cancel {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem;
    cursor: pointer;
}

.new-address-modal h3,
.success-modal h3,
.closed-modal h3 {
    color: var(--pink);
    font-size: 1.75rem;
    line-height: 1.3;
}

.success-modal h3,
.closed-modal h3 {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
}

.new-address-modal .content,
.success-modal .content,
.closed-modal .content {
    padding: 30px;
    width: 100%;
}

.new-address-modal .line {
    display: flex;
    gap: 1rem;
}

.new-address-modal .line .input {
    width: 33.33%;
}

.new-address-modal .line .input:nth-of-type(2) {
    width: 66.66%;
}

.new-address-modal label {
    font-weight: 600;
}

.new-address-modal input,
.new-address-modal select {
    padding: 0.625rem 1rem;
    border: 1px solid var(--darkgreen);
    border-radius: 0.5rem;
    background-color: white;
    width: 100%;
}

.success-modal .image,
.closed-modal .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: top left;
}

.success-modal .buttons,
.closed-modal .buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.article {
    z-index: 6;
}

.article h2 {
    font-size: 5rem;
    color: var(--green);
    margin-bottom: 2.5rem;
}

.article h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.article h4 {
    font-size: 1.5rem;
}

.article h5 {
    font-size: 1.25rem;
}

.article h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

.article .container img {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

@media (max-width: 1140px) {

    .desktop-navbar {
        padding: 10px 0;
        height: 66px;
    }

    .desktop-navbar .container {
        max-width: 100%;
    }

    .desktop-navbar .logo img {
        height: 46px;
    }

    .desktop-navbar .links {
        display: none;
    }

    .desktop-navbar .open-sidebar {
        display: flex;
    }

    .desktop-navbar .buttons {
        gap: 15px;
    }

    .desktop-navbar .buttons svg {
        height: 28px;
    }

    .desktop-modal {
        right: 0;
    }

    .desktop-modal.active {
        transform: translateY(37px);
    }

    .desktop-modal.basket-modal::before {
        right: 77px;
    }

    .desktop-modal.login-modal::before {
        right: 35px;
    }

    .menu .nav-line {
        top: 66px;
        width: 100vw;
        margin-left: -40px;
    }
}

@media (max-width: 1079px) {

    p,
    li {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }

    h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    h4 {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }

    h5 {
        font-size: 0.875rem;
    }

    h6 {
        font-size: 0.875rem;
    }

    section {
        padding: 60px 20px 45px;
    }

    ul {
        margin-bottom: 0.625rem;
    }

    .primary-link {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }

    .primary-link.center {
        margin: 30px auto 0;
    }

    .vbox-close {
        padding: 20px !important;
        top: 5px !important;
        right: 5px !important;
    }

    .vbox-next {
        right: 25px !important;
    }

    .vbox-prev {
        left: 25px !important;
    }

    .container {
        max-width: 650px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 22px !important;
    }

    .swiper-button-prev {
        left: -36px !important;
    }

    .swiper-button-next {
        right: -36px !important;
    }

    /******************************************/

    .hero {
        padding: 0 20px;
        display: block;
        height: 85vh;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.25rem;
        margin-bottom: 2.5vh;
    }

    .hero p {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 3vh;
    }

    .hero .image {
        bottom: -15vh;
        right: -8vh;
        width: 40vh;
    }

    .hero .container .content {
        width: 100%;
        padding-top: 96px;
        height: 55vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero .primary-link {
        margin: 0 auto;
        font-size: 1.0625rem;
    }

    .ponyva {
        width: 140vw;
        left: -40vw;
        height: 5vw;
    }

    .online {
        padding-top: 20vh;
    }

    .online h2 {
        margin-bottom: 3rem;
        text-align: center;
    }

    .items .item {
        width: 100%;
    }

    .online .items .item {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .online .items .item:last-of-type {
        margin-bottom: 0;
    }

    .online .items .item svg {
        height: 3rem;
        margin-bottom: 1.5rem;
    }

    .online .items .item h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .online .items .item p {
        font-size: 1rem;
    }

    .menu h2 {
        font-size: 2.625rem;
    }

    .menu .nav-line {
        top: 65px;
        margin-left: -20px;
        /* flex-wrap: wrap; */
        gap: 0;
    }

    .menu .nav-line .item {
        min-width: none;
        width: 20%;
        padding: 0.875rem 1.25rem;
    }

    .menu .nav-line .item svg {
        width: 2rem;
        height: 2rem;
    }

    .menu .nav-line .item span {
        display: none;
    }

    .menu .type {
        margin: 40px 0;
    }

    .menu .type h3 {
        font-size: 2rem;
    }

    .menu .type .item,
    .menu .type.pizzas .item {
        width: 100%;
        min-height: 0;
    }

    .menu .type .item.discount::before {
        width: 4.5rem;
        height: 3.25rem;
        font-size: 0.875rem;
        padding: 0.875rem 0.625rem;
    }

    .menu .type .item .image {
        width: 35%;
    }

    .menu .type.pizzas .item .image {
        width: 25%;
    }

    .menu .type .item .content {
        width: 65%;
        padding: 1rem;
        gap: 0.875rem;
    }

    .menu .type .item .content .lower {
        gap: 1rem;
    }

    .menu .type .item.discount .lower {
        align-items: flex-end;
    }

    .menu .type.pizzas .item .content {
        width: 75%;
    }

    .menu .type .item h4 {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }

    .menu .type .item.discount .content .price {
        max-width: 75px;
    }

    .menu .type .item.discount .content .price span {
        font-size: 0.75rem;
        white-space: break-spaces;
        line-height: 1.25;
    }

    .menu .type .item .desc {
        font-size: 0.825rem;
    }

    .ad .container {
        flex-direction: column;
        gap: 2rem;
        padding: 20px;
    }

    .ad .container>img {
        position: static;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        aspect-ratio: 1/1;
        transform: none;
        margin-top: -60px;
    }

    .ad .container .content {
        width: 100%;
    }

    .ad .container .content h2 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .ad .container .content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .ad .container .content .primary-link {
        margin-top: 1.5rem;
    }

    .about .image {
        position: static;
        width: 70%;
        max-width: 300px;
        margin: 0 auto;
    }

    .about .content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact .content {
        flex-direction: column;
        gap: 25px;
    }

    .contact .content .left,
    .contact .content form {
        width: 100%;
    }

    .contact .content .left p {
        font-size: 1.125rem;
        gap: 1.25rem;
        margin-bottom: 1.75rem;
    }

    form h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    form input,
    form textarea,
    form select,
    form option {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    form select {
        background-size: 1rem;
        padding-right: 2.25rem;
    }

    .form-check-input+label {
        font-size: 0.825rem;
    }

    .form-check:first-of-type {
        margin-top: 0;
    }

    form .primary-link {
        margin: 20px auto 0;
    }

    footer {
        padding: 0;
    }

    footer .content {
        padding: 60px 20px;
    }

    footer .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    footer .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    footer .item:first-of-type {
        justify-content: center;
    }

    footer .item:first-of-type p {
        font-size: 13px;
    }

    footer .item h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    footer .item a,
    footer .item p {
        margin-bottom: 0.375rem;
        font-size: 0.875rem;
    }

    footer .item .raccoon {
        margin-top: 3rem;
    }

    footer .item .raccoon a {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0;
        text-align: center;
        font-size: 0.9375rem;
    }

    .customize-modal .content {
        width: 100%;
        padding: 20px;
        padding-top: 70px;
    }

    .customize-modal .image {
        position: absolute;
        top: 0;
        left: 0;
        transform: translateY(-50%);
        width: auto;
        height: 130px;
    }

    .customize-modal .header {
        padding-bottom: 1rem;
    }

    .customize-modal .header h3 {
        font-size: 1.25rem;
        padding-right: 0.5rem;
    }

    .customize-modal .header .price {
        font-size: 1.25rem;
    }

    .customize-modal .item p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .customize-modal .item .group {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .customize-modal .item .group .form-check {
        width: calc(50% - 0.75rem);
    }

    .customize-modal .item .group .form-check input[type="radio"]+label {
        padding-right: 0.5rem;
    }

    .customize-modal .item:first-of-type .group .form-check input[type="radio"]+label {
        padding-right: 1.25rem;
    }

    .customize-modal .primary-link.center {
        margin-top: 0.625rem;
        margin-bottom: 20px;
    }

    section.header {
        padding: 0 20px;
        height: 38vh;
    }

    .header .container {
        margin-top: 66px;
        height: calc(100% - 50px);
    }

    .header .container .nav {
        font-size: 0.875rem;
    }

    .basket .items .item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .basket .items .item .image {
        aspect-ratio: 2/3;
        max-height: 6rem;
    }

    .basket .items .item .left {
        gap: 0.5rem;
    }

    .basket .items .item .text {
        width: 75%;
        padding: 0.75rem;
    }

    .basket .items .item .text .line {
        display: block;
    }

    .basket .items .item .text h4 {
        font-size: 1.125rem;
    }

    .basket .items .item .text .size {
        margin-left: 0.75rem;
        font-size: 0.875rem;
        margin-bottom: -0.125rem;
    }

    .basket .items .item .numbers {
        margin-left: 0;
        padding: 0.75rem;
        flex-direction: row;
    }

    .basket .items .item .numbers .upper {
        gap: 1rem;
    }

    .basket .items .item .numbers .delete img {
        height: 1.5rem;
    }

    .basket .items .item .numbers .price {
        font-size: 1.25rem;
    }

    .basket .summary {
        font-size: 1.5rem;
        margin: 1.25rem 0 2.5rem;
    }

    .basket .summary .price {
        font-size: 1.75rem;
    }

    .basket .buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .basket .buttons .right {
        gap: 0.75rem;
        flex-direction: column;
    }

    .basket .buttons .primary-link {
        width: 200px;
        text-align: center;
    }

    .basket form .content {
        padding: 20px;
    }

    .basket form .item {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .basket form h5 {
        font-size: 1rem;
    }

    .basket form .checks {
        flex-direction: column;
        gap: 1rem;
    }

    .basket form .delivery .form-check {
        width: 100%;
    }

    .basket form .form-check-input+label {
        font-size: 0.875rem;
    }
    
    .basket form .form-check-input+label span {
        font-size: 0.75rem;
        display: block;
        font-weight: 400;
    }

    .basket form .line {
        flex-direction: column;
        margin-bottom: 0;
    }

    .basket form .line .input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.625rem;
    }

    .basket form .line .input select {
        padding-right: 2.5rem;
    }

    .basket form .line:first-of-type .input,
    .basket form .for-delivery .line .input:nth-of-type(2),
    .basket form .for-delivery .line .input {
        width: 100%;
    }

    .basket form .item.checkout {
        flex-direction: column;
        gap: 2rem;
    }

    .basket form .item.checkout .right {
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    .basket form .item.checkout .right h5 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .basket form .item.checkout .right p {
        font-size: 0.875rem;
        margin-bottom: 0;
    }
    
    .basket form .item.checkout .right h4 {
        font-size: 1.25rem;
        color: var(--pink);
        text-transform: uppercase;
    }

    .new-address-modal .content {
        padding: 20px;
    }

    .new-address-modal .line {
        flex-direction: column;
        gap: 1rem;
    }

    .new-address-modal .line .input,
    .new-address-modal .line .input:nth-of-type(2) {
        width: 100%;
    }

    .new-address-modal h3 {
        font-size: 1.375rem;
    }

    .success-modal .buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .success-modal .buttons .primary-link {
        width: 11.375rem;
    }

    .article h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .article h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .article h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .article h5 {
        font-size: 1.125rem;
    }

    .article h6 {
        font-size: 1rem;
    }

}

@media (min-width: 690px) and (max-width: 1079px) {

    section {
        padding: 95px 20px 75px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .hero {
       height: 80vh;
    }

    section.header {
        height: 30vh;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 3.5vh;
    }

    .hero p {
        font-size: 1.5rem;
        margin-bottom: 4vh;
    }

    .online h2 {
        text-align: left;
    }

    .online .items {
        justify-content: center;
    }

    .online .items .item {
        width: 45%;
    }

    .menu h2 {
        font-size: 3rem;
    }

    .menu .nav-line {
        width: 100%;
        margin-left: 0;
    }

    .menu .type .item,
    .menu .type.pizzas .item {
        width: calc(50% - 0.5rem);
    }

    footer .content {
        padding: 95px 20px 60px;
    }
}

@media (min-width: 1080px) and (max-width: 1299px) {
    .swiper-button-prev {
        left: -40px !important;
    }

    .swiper-button-next {
        right: -40px !important;
    }

    h1 {
        font-size: 4rem;
        margin-top: -15vh;
    }

    .menu .type.pizzas .item .content {
        padding: 1rem;
        padding-left: 0.75rem;
    }

    .menu .type .item .primary-link svg {
        display: none;
    }

}