
/* =========================================================
   9TH STREET PIZZA
   MASTER STYLESHEET
   ========================================================= */


/* =========================================================
   GOOGLE FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    --primary: #e63946;
    --primary-dark: #c92836;

    --orange: #ff7a00;
    --orange-dark: #e85f00;

    --yellow: #ffb703;
    --yellow-light: #ffd166;

    --dark: #171717;
    --dark-2: #222222;
    --dark-3: #303030;

    --white: #ffffff;
    --cream: #fff8ef;
    --cream-2: #fff1df;

    --gray: #777777;
    --gray-light: #eeeeee;
    --border: #e6e6e6;

    --green: #25a244;

    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --transition: all 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   SECTION
   ========================================================= */

.section-padding {
    padding: 110px 0;
}


/* =========================================================
   PRELOADER
   ========================================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: var(--dark);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    color: var(--white);

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-pizza {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    animation: loaderPulse 1.2s infinite;
}

.loader-pizza i {
    font-size: 32px;
    color: var(--yellow);
}

.preloader p {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;
}

.logo-nine {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    font-weight: 900;

    line-height: 1;

    transform: rotate(-7deg);

    box-shadow:
        4px 4px 0 var(--yellow);
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 0.9;
}

.logo-text strong {
    font-size: 16px;
    font-weight: 900;

    letter-spacing: 1px;
}

.logo-text small {
    font-size: 8px;
    font-weight: 800;

    letter-spacing: 4px;

    margin-top: 5px;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;

    font-size: 13px;
    font-weight: 700;

    color: #444;

    padding: 30px 0;

    transition: var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 3px;

    border-radius: 20px;

    background: var(--primary);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   NAV ACTIONS
   ========================================================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    position: relative;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--dark);

    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--dark);
    color: var(--white);

    transform: translateY(-2px);
}

.cart-count {
    position: absolute;

    top: -4px;
    right: -3px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    border-radius: 20px;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 9px;
    font-weight: 800;

    border: 2px solid var(--white);
}

.nav-order-btn {
    padding: 13px 21px;

    background: var(--primary);

    color: var(--white);

    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;

    transition: var(--transition);
}

.nav-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: none;

    background: var(--dark);

    border-radius: 50%;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 4px;
}

.menu-toggle span {
    width: 17px;
    height: 2px;

    background: var(--white);

    border-radius: 5px;

    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 780px;

    padding-top: 82px;

    background:
        radial-gradient(circle at 80% 40%,
        rgba(255, 183, 3, 0.16),
        transparent 28%),
        linear-gradient(135deg,
        var(--cream) 0%,
        #fff 65%);

    overflow: hidden;
}

.hero-container {
    min-height: 698px;

    display: grid;
    grid-template-columns: 1fr 0.95fr;

    align-items: center;

    gap: 50px;

    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    padding: 50px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 15px;

    background: var(--white);

    border-radius: 50px;

    box-shadow: var(--shadow-sm);

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 24px;
}

.hero-badge span {
    font-size: 17px;
}

.hero-content h1 {
    max-width: 650px;

    font-size: clamp(50px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 900;

    color: var(--dark);

    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;

    color: var(--primary);
}

.hero-content > p {
    max-width: 560px;

    font-size: 15px;
    line-height: 1.9;

    color: var(--gray);

    margin-bottom: 32px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 50px;

    padding: 15px 24px;

    font-size: 12px;
    font-weight: 800;

    transition: var(--transition);

    cursor: pointer;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 10px 25px rgba(230, 57, 70, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(230, 57, 70, 0.30);
}

.btn-outline {
    border: 1px solid #d7d7d7;

    background: var(--white);

    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--white);

    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);

    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--yellow);
    transform: translateY(-3px);
}

.btn-large {
    padding: 17px 30px;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 50px;
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 24px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature > i {
    width: 37px;
    height: 37px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream-2);

    color: var(--primary);

    font-size: 14px;
}

.hero-feature div {
    display: flex;
    flex-direction: column;
}

.hero-feature strong {
    font-size: 10px;
    font-weight: 800;
}

.hero-feature span {
    font-size: 9px;
    color: var(--gray);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    min-height: 580px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;

    width: min(520px, 90%);
    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--yellow);

    opacity: 0.9;

    box-shadow:
        0 0 0 25px rgba(255, 183, 3, 0.07),
        0 0 0 55px rgba(255, 183, 3, 0.04);

    animation: heroCircle 7s ease-in-out infinite;
}

@keyframes heroCircle {

    0%,
    100% {
        transform: scale(1) rotate(0);
    }

    50% {
        transform: scale(1.03) rotate(3deg);
    }
}

.hero-pizza-image {
    position: relative;

    width: min(490px, 90%);

    aspect-ratio: 1;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-pizza-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 30px 25px rgba(0, 0, 0, 0.22));

    animation: pizzaFloat 5s ease-in-out infinite;
}

@keyframes pizzaFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-16px) rotate(2deg);
    }
}

.pizza-placeholder {
    width: 75%;
    height: 75%;

    border-radius: 50%;

    background:
        radial-gradient(circle at 35% 35%,
        #f9ca78 0 8%,
        transparent 9%),
        radial-gradient(circle at 65% 65%,
        #a52a2a 0 7%,
        transparent 8%),
        radial-gradient(circle at 60% 30%,
        #a52a2a 0 7%,
        transparent 8%),
        #f4b860;

    border: 18px solid #d78a39;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 0 0 7px rgba(255, 216, 100, 0.7),
        0 30px 30px rgba(0, 0, 0, 0.2);

    color: rgba(230, 57, 70, 0.65);
}

.hero-pizza-image .pizza-placeholder {
    animation: pizzaFloat 5s ease-in-out infinite;
}

.pizza-placeholder i {
    font-size: 65px;
}


/* =========================================================
   HERO PRICE
   ========================================================= */

.hero-price-tag {
    position: absolute;

    right: 4%;
    top: 18%;

    z-index: 5;

    width: 115px;
    height: 115px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: rotate(10deg);

    box-shadow: var(--shadow-md);

    animation: priceFloat 4s ease-in-out infinite;
}

.hero-price-tag small {
    font-size: 8px;
    font-weight: 700;
}

.hero-price-tag strong {
    font-size: 19px;
    font-weight: 900;
}

@keyframes priceFloat {

    0%,
    100% {
        transform: rotate(10deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-8px);
    }
}


/* =========================================================
   FLOATING INGREDIENTS
   ========================================================= */

.floating-ingredient {
    position: absolute;

    z-index: 5;

    font-size: 42px;

    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.12));

    animation: ingredientFloat 4s ease-in-out infinite;
}

.ingredient-tomato {
    left: 5%;
    top: 18%;
    animation-delay: -1s;
}

.ingredient-cheese {
    right: 5%;
    bottom: 18%;
    animation-delay: -2s;
}

.ingredient-pepper {
    left: 12%;
    bottom: 13%;
    animation-delay: -3s;
}

@keyframes ingredientFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-14px) rotate(8deg);
    }
}


/* =========================================================
   HERO SHAPES
   ========================================================= */

.hero-shapes .shape {
    position: absolute;

    border-radius: 50%;

    opacity: 0.5;
}

.shape-1 {
    width: 16px;
    height: 16px;

    background: var(--primary);

    left: 8%;
    top: 30%;
}

.shape-2 {
    width: 10px;
    height: 10px;

    background: var(--orange);

    left: 48%;
    top: 15%;
}

.shape-3 {
    width: 25px;
    height: 25px;

    border: 4px solid var(--yellow);

    right: 5%;
    top: 35%;
}

.shape-4 {
    width: 18px;
    height: 18px;

    background: var(--orange);

    right: 42%;
    bottom: 10%;
}


/* =========================================================
   QUICK INFO
   ========================================================= */

.quick-info {
    position: relative;
    z-index: 5;

    margin-top: -1px;

    background: var(--dark);

    color: var(--white);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    min-height: 105px;
}

.quick-info-item {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 20px;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-info-item:last-child {
    border-right: none;
}

.quick-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);
}

.quick-info-item div:last-child {
    display: flex;
    flex-direction: column;
}

.quick-info-item strong {
    font-size: 10px;
    font-weight: 800;
}

.quick-info-item span {
    color: #999;
    font-size: 8px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.section-label span {
    width: 25px;
    height: 2px;

    border-radius: 10px;

    background: var(--primary);
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 900;

    margin-bottom: 16px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    font-size: 13px;
    color: var(--gray);

    line-height: 1.8;
}


/* =========================================================
   MENU
   ========================================================= */

.menu-section {
    background: var(--white);
}

.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 42px;
}

.filter-btn {
    border: 1px solid var(--border);

    background: var(--white);

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;

    color: #666;

    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.filter-btn.active {
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   PIZZA GRID
   ========================================================= */

.pizza-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.pizza-card {
    position: relative;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    overflow: hidden;

    transition: var(--transition);
}

.pizza-card:hover {
    transform: translateY(-8px);

    border-color: transparent;

    box-shadow: var(--shadow-lg);
}

.pizza-card.hidden {
    display: none;
}


/* =========================================================
   PIZZA CARD IMAGE
   ========================================================= */

.pizza-card-image {
    height: 245px;

    position: relative;

    overflow: hidden;

    background: var(--cream);

    display: flex;
    align-items: center;
    justify-content: center;
}

.pizza-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.pizza-card:hover .pizza-card-image img {
    transform: scale(1.06);
}

.pizza-card-image .pizza-placeholder {
    width: 170px;
    height: 170px;

    border-width: 10px;

    position: absolute;
}

.pizza-card-image .pizza-placeholder i {
    font-size: 42px;
}


/* =========================================================
   PIZZA BADGE
   ========================================================= */

.pizza-badge {
    position: absolute;

    left: 15px;
    top: 15px;

    z-index: 3;

    background: var(--primary);

    color: var(--white);

    padding: 7px 10px;

    border-radius: 5px;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.5px;
}

.badge-orange {
    background: var(--orange);
}

.badge-yellow {
    background: var(--yellow);
    color: var(--dark);
}

.badge-red {
    background: #d62828;
}

.badge-dark {
    background: var(--dark);
}


/* =========================================================
   QUICK VIEW
   ========================================================= */

.quick-view-btn {
    position: absolute;

    right: 15px;
    top: 15px;

    width: 37px;
    height: 37px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    color: var(--dark);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    transform: translateY(-8px);

    transition: var(--transition);

    z-index: 4;
}

.pizza-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   PIZZA CARD CONTENT
   ========================================================= */

.pizza-card-content {
    padding: 22px;
}

.pizza-rating {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 7px;
}

.pizza-rating span {
    color: var(--yellow);

    font-size: 11px;

    letter-spacing: -1px;
}

.pizza-rating small {
    font-size: 9px;
    font-weight: 700;
    color: var(--gray);
}

.pizza-card-content h3 {
    font-size: 18px;
    font-weight: 800;

    margin-bottom: 7px;
}

.pizza-card-content > p {
    min-height: 57px;

    color: var(--gray);

    font-size: 10px;

    line-height: 1.7;

    margin-bottom: 17px;
}

.pizza-card-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 15px;

    border-top: 1px solid var(--border);
}

.pizza-price {
    display: flex;
    flex-direction: column;
}

.pizza-price small {
    font-size: 8px;
    color: var(--gray);
}

.pizza-price strong {
    font-size: 17px;
    font-weight: 900;
}

.add-to-cart-btn {
    border: none;

    background: var(--dark);

    color: var(--white);

    border-radius: 50px;

    padding: 10px 15px;

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 9px;
    font-weight: 800;

    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary);

    transform: translateY(-2px);
}


/* =========================================================
   MENU BOTTOM
   ========================================================= */

.menu-bottom {
    text-align: center;

    margin-top: 45px;
}


/* =========================================================
   PROMO
   ========================================================= */

.promo-section {
    padding: 0 0 110px;
}

.promo-card {
    position: relative;

    min-height: 370px;

    border-radius: var(--radius-xl);

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            var(--primary),
            #ee4d34
        );

    color: var(--white);

    display: grid;

    grid-template-columns: 1fr 0.8fr;

    align-items: center;

    padding: 60px 70px;
}

.promo-card::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    right: 28%;
    top: -150px;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-label {
    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;

    color: var(--yellow);

    margin-bottom: 14px;

    display: block;
}

.promo-content h2 {
    font-size: clamp(34px, 4vw, 54px);

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 900;

    margin-bottom: 18px;
}

.promo-content h2 span {
    display: block;
    color: var(--yellow);
}

.promo-content p {
    max-width: 470px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 25px;
}

.promo-visual {
    position: relative;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-circle {
    width: 270px;
    height: 270px;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.16);
}

.promo-emoji {
    position: absolute;

    font-size: 175px;

    filter: drop-shadow(
        0 20px 15px rgba(0, 0, 0, 0.18)
    );

    transform: rotate(-12deg);

    animation: pizzaFloat 5s ease-in-out infinite;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;

    grid-template-columns: 0.95fr 1fr;

    align-items: center;

    gap: 90px;
}

.about-visual {
    position: relative;

    padding: 25px;
}

.about-image-main {
    position: relative;

    aspect-ratio: 1;

    border-radius: var(--radius-xl);

    overflow: hidden;

    background: var(--yellow);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-placeholder {
    width: 65%;
    height: 65%;

    border-radius: 50%;

    background: #f4b860;

    border: 16px solid #d78a39;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    color: var(--primary);
}

.about-placeholder i {
    font-size: 55px;
}

.about-placeholder span {
    font-size: 12px;
    font-weight: 900;
    margin-top: 8px;
}

.about-experience {
    position: absolute;

    bottom: 0;
    right: 0;

    width: 135px;
    height: 135px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    transform: rotate(8deg);

    border: 8px solid var(--cream);

    box-shadow: var(--shadow-md);
}

.about-experience strong {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.about-experience span {
    text-align: center;

    font-size: 8px;
    font-weight: 800;

    line-height: 1.3;

    margin-top: 5px;
}

.left-label {
    justify-content: flex-start;
}

.about-content h2 {
    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 900;

    margin-bottom: 22px;
}

.about-content h2 span {
    display: block;
    color: var(--primary);
}

.about-content > p {
    color: var(--gray);

    font-size: 12px;

    line-height: 1.9;

    margin-bottom: 14px;

    max-width: 540px;
}

.about-points {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin: 28px 0;
}

.about-point {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 9px;

    font-weight: 700;
}

.about-point i {
    color: var(--green);
}


/* =========================================================
   SIZES
   ========================================================= */

.sizes-section {
    padding: 110px 0;

    background: var(--dark);

    color: var(--white);

    position: relative;

    overflow: hidden;
}

.sizes-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(230, 57, 70, 0.09);

    left: -200px;
    bottom: -300px;
}

.sizes-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(255, 183, 3, 0.06);

    right: -150px;
    top: -150px;
}

.light-heading {
    position: relative;
    z-index: 2;
}

.light-heading h2 {
    color: var(--white);
}

.light-heading p {
    color: #999;
}

.size-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 950px;

    margin: 0 auto;
}

.size-card {
    position: relative;

    min-height: 270px;

    padding: 35px 25px;

    border-radius: var(--radius-lg);

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(255, 255, 255, 0.04);

    text-align: center;

    transition: var(--transition);

    overflow: hidden;
}

.size-card:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.07);

    border-color: rgba(255, 255, 255, 0.15);
}

.size-card.featured-size {
    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(230, 57, 70, 0.25);
}

.size-card.featured-size:hover {
    transform: translateY(-17px);
}

.size-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);

    font-size: 28px;
}

.featured-size .size-icon {
    background: rgba(255, 255, 255, 0.15);
}

.size-card h3 {
    font-size: 20px;
    font-weight: 900;

    margin-bottom: 5px;
}

.size-description {
    display: block;

    color: #888;

    font-size: 9px;
}

.featured-size .size-description {
    color: rgba(255, 255, 255, 0.75);
}

.size-diameter {
    position: absolute;

    right: 20px;
    bottom: 18px;

    font-size: 11px;
    font-weight: 900;

    color: rgba(255, 255, 255, 0.2);
}

.featured-size .size-diameter {
    color: rgba(255, 255, 255, 0.3);
}

.size-popular {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 12px;

    border-radius: 0 0 10px 10px;

    background: var(--yellow);

    color: var(--dark);

    font-size: 7px;

    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.review-card {
    padding: 30px;

    border-radius: var(--radius-lg);

    background: var(--cream);

    border: 1px solid transparent;

    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-6px);

    background: var(--white);

    border-color: var(--border);

    box-shadow: var(--shadow-md);
}

.featured-review {
    background: var(--dark);
    color: var(--white);
}

.featured-review:hover {
    background: var(--dark);
}

.review-stars {
    color: var(--yellow);

    font-size: 12px;

    letter-spacing: 1px;

    margin-bottom: 20px;
}

.review-card > p {
    font-size: 12px;

    line-height: 1.9;

    color: var(--gray);

    margin-bottom: 25px;
}

.featured-review > p {
    color: #aaa;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
}

.review-author div:last-child {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    font-size: 10px;
    font-weight: 800;
}

.review-author span {
    color: var(--gray);

    font-size: 8px;

    margin-top: 2px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    position: relative;

    padding: 115px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #f24e3d
        );

    color: var(--white);

    text-align: center;

    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 700px;

    margin: 0 auto;
}

.cta-label {
    display: inline-block;

    color: var(--yellow);

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 900;

    margin-bottom: 15px;
}

.cta-content h2 {
    font-size: clamp(48px, 6vw, 75px);

    line-height: 0.95;

    letter-spacing: -4px;

    font-weight: 900;

    margin-bottom: 20px;
}

.cta-content h2 span {
    display: block;
    color: var(--yellow);
}

.cta-content p {
    max-width: 530px;

    margin: 0 auto 28px;

    font-size: 12px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.8);
}

.cta-decoration {
    position: absolute;

    font-size: 65px;

    opacity: 0.25;

    animation: ingredientFloat 5s ease-in-out infinite;
}

.cta-decoration-1 {
    left: 7%;
    top: 25%;
}

.cta-decoration-2 {
    right: 8%;
    top: 20%;
    animation-delay: -2s;
}

.cta-decoration-3 {
    left: 16%;
    bottom: 10%;
    animation-delay: -3s;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.contact-content h2 {
    font-size: clamp(38px, 4vw, 54px);

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 900;

    margin-bottom: 18px;
}

.contact-content h2 span {
    color: var(--primary);
}

.contact-content > p {
    max-width: 480px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.9;

    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 17px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 13px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow-sm);
}

.contact-item div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 10px;
    font-weight: 800;
}

.contact-item span {
    color: var(--gray);
    font-size: 9px;
    margin-top: 2px;
}


/* =========================================================
   FORMS
   ========================================================= */

.contact-form-wrapper {
    background: var(--white);

    padding: 35px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {
    font-size: 9px;
    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--white);

    color: var(--dark);

    padding: 13px 14px;

    font-size: 10px;

    outline: none;

    resize: vertical;

    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(230, 57, 70, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-submit {
    align-self: flex-start;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--dark);

    color: var(--white);

    padding-top: 75px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;

    gap: 45px;

    padding-bottom: 55px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-brand > p {
    max-width: 270px;

    color: #888;

    font-size: 10px;

    line-height: 1.8;

    margin-bottom: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h4 {
    font-size: 11px;

    font-weight: 800;

    margin-bottom: 10px;
}

.footer-column > a {
    color: #888;

    font-size: 9px;

    transition: var(--transition);
}

.footer-column > a:hover {
    color: var(--yellow);

    transform: translateX(3px);
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.07);

    color: #aaa;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;

    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.footer-newsletter p {
    color: #888;

    font-size: 9px;

    margin-bottom: 5px;
}

.newsletter-form {
    width: 100%;

    max-width: 260px;

    display: flex;

    border-radius: 50px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-form input {
    min-width: 0;

    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    color: var(--white);

    padding: 12px 14px;

    font-size: 9px;
}

.newsletter-form input::placeholder {
    color: #777;
}

.newsletter-form button {
    width: 40px;

    flex-shrink: 0;

    border: none;

    background: var(--primary);

    color: var(--white);

    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--orange);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.footer-bottom p {
    color: #666;

    font-size: 8px;
}

.footer-bottom p:last-child span {
    color: var(--primary);
}


/* =========================================================
   CART OVERLAY
   ========================================================= */

.cart-overlay,
.modal-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);

    z-index: 1990;
}

.cart-overlay.active,
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {
    position: fixed;

    right: 0;
    top: 0;

    width: min(430px, 100%);

    height: 100vh;

    background: var(--white);

    z-index: 2000;

    transform: translateX(100%);

    transition:
        transform 0.4s cubic-bezier(.77, 0, .18, 1);

    display: flex;

    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}


/* =========================================================
   CART HEADER
   ========================================================= */

.cart-header {
    min-height: 90px;

    padding: 20px 25px;

    border-bottom: 1px solid var(--border);

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.cart-header > div {
    display: flex;
    flex-direction: column;
}

.cart-header span {
    color: var(--primary);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}

.cart-header h3 {
    font-size: 20px;

    font-weight: 900;
}

.close-cart,
.modal-close {
    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: var(--cream);

    color: var(--dark);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: var(--transition);
}

.close-cart:hover,
.modal-close:hover {
    background: var(--primary);
    color: var(--white);

    transform: rotate(90deg);
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.empty-cart {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    padding: 30px;

    text-align: center;
}

.empty-cart.hidden {
    display: none;
}

.empty-cart-icon {
    width: 85px;
    height: 85px;

    border-radius: 50%;

    background: var(--cream);

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    font-size: 30px;

    margin-bottom: 20px;
}

.empty-cart h4 {
    font-size: 17px;

    font-weight: 800;

    margin-bottom: 6px;
}

.empty-cart p {
    max-width: 260px;

    color: var(--gray);

    font-size: 10px;

    margin-bottom: 22px;
}


/* =========================================================
   CART ITEMS
   ========================================================= */

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 20px 25px;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ddd;

    border-radius: 10px;
}

.cart-item {
    display: grid;

    grid-template-columns: 65px 1fr auto;

    align-items: center;

    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 65px;
    height: 65px;

    border-radius: 12px;

    overflow: hidden;

    background: var(--cream);

    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-image i {
    color: var(--primary);
    font-size: 22px;
}

.cart-item-info h4 {
    font-size: 11px;

    font-weight: 800;

    margin-bottom: 3px;
}

.cart-item-info span {
    color: var(--gray);

    font-size: 8px;
}

.cart-item-price {
    font-size: 11px;

    font-weight: 900;

    white-space: nowrap;
}

.cart-item-controls {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 8px;
}

.cart-quantity-btn {
    width: 22px;
    height: 22px;

    border: 1px solid var(--border);

    background: var(--white);

    border-radius: 50%;

    font-size: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity {
    min-width: 18px;

    text-align: center;

    font-size: 9px;

    font-weight: 800;
}

.remove-cart-item {
    border: none;

    background: transparent;

    color: #aaa;

    font-size: 11px;

    transition: var(--transition);
}

.remove-cart-item:hover {
    color: var(--primary);
}


/* =========================================================
   CART SUMMARY
   ========================================================= */

.cart-summary {
    padding: 20px 25px 25px;

    border-top: 1px solid var(--border);

    background: var(--cream);
}

.cart-summary.hidden {
    display: none;
}

.summary-row {
    display: flex;

    justify-content: space-between;

    margin-bottom: 10px;

    color: var(--gray);

    font-size: 10px;
}

.summary-row strong {
    color: var(--dark);

    font-weight: 800;
}

.total-row {
    padding-top: 12px;

    margin-top: 8px;

    border-top: 1px dashed #ddd;

    color: var(--dark);

    font-size: 13px;
}

.total-row strong {
    font-size: 18px;
    font-weight: 900;
}

.checkout-btn {
    width: 100%;

    margin-top: 12px;
}


/* =========================================================
   MODALS
   ========================================================= */

.pizza-modal,
.checkout-modal,
.success-modal {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -45%);

    width: min(900px, calc(100% - 30px));

    max-height: calc(100vh - 30px);

    overflow-y: auto;

    background: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.modal-overlay.active .pizza-modal,
.modal-overlay.active .checkout-modal,
.modal-overlay.active .success-modal {
    opacity: 1;

    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;

    right: 18px;
    top: 18px;

    z-index: 10;
}


/* =========================================================
   PIZZA MODAL
   ========================================================= */

.pizza-modal {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    overflow: hidden;
}

.modal-image {
    min-height: 520px;

    background: var(--cream);

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-placeholder {
    width: 270px;
    height: 270px;

    border-width: 15px;
}

.modal-placeholder i {
    font-size: 65px;
}

.modal-content {
    padding: 55px 45px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

.modal-label {
    display: block;

    color: var(--primary);

    font-size: 8px;

    letter-spacing: 2px;

    font-weight: 900;

    margin-bottom: 9px;
}

.modal-content h2,
.checkout-header h2,
.success-modal h2 {
    font-size: 32px;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -1px;

    margin-bottom: 12px;
}

.modal-content > p {
    color: var(--gray);

    font-size: 11px;

    line-height: 1.8;

    margin-bottom: 14px;
}

.modal-rating {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 25px;
}

.modal-rating span {
    color: var(--yellow);

    letter-spacing: 1px;

    font-size: 12px;
}

.modal-rating small {
    font-size: 9px;

    color: var(--gray);

    font-weight: 700;
}


/* =========================================================
   SIZE SELECTION
   ========================================================= */

.size-selection h4 {
    font-size: 10px;

    font-weight: 800;

    margin-bottom: 10px;
}

.size-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 24px;
}

.size-option {
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option span {
    min-height: 65px;

    border: 1px solid var(--border);

    border-radius: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    transition: var(--transition);
}

.size-option span strong {
    font-size: 9px;
    font-weight: 800;
}

.size-option span small {
    font-size: 8px;
    color: var(--gray);
}

.size-option input:checked + span {
    border-color: var(--primary);

    background: rgba(230, 57, 70, 0.05);

    color: var(--primary);

    box-shadow:
        0 0 0 2px rgba(230, 57, 70, 0.08);
}


/* =========================================================
   MODAL ORDER
   ========================================================= */

.modal-order-row {
    display: flex;

    align-items: center;

    gap: 10px;
}

.quantity-control {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 110px;

    height: 50px;

    border: 1px solid var(--border);

    border-radius: 50px;

    padding: 0 7px;
}

.quantity-control button {
    width: 35px;
    height: 35px;

    border: none;

    background: var(--cream);

    border-radius: 50%;

    font-size: 9px;
}

.quantity-control span {
    font-size: 11px;

    font-weight: 900;
}

.modal-add-btn {
    flex: 1;

    height: 50px;

    justify-content: space-between;
}


/* =========================================================
   CHECKOUT MODAL
   ========================================================= */

.checkout-modal {
    max-width: 720px;

    padding: 45px;
}

.checkout-header {
    margin-bottom: 28px;
}

.checkout-header p {
    color: var(--gray);

    font-size: 10px;
}

.checkout-form {
    display: flex;

    flex-direction: column;

    gap: 28px;
}

.checkout-section {
    padding-bottom: 25px;

    border-bottom: 1px solid var(--border);
}

.checkout-section h4 {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 12px;

    margin-bottom: 18px;
}

.checkout-section h4 span {
    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 8px;
}


/* =========================================================
   PAYMENT OPTIONS
   ========================================================= */

.payment-options {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-card {
    min-height: 72px;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 12px;

    display: flex;

    align-items: center;

    gap: 12px;

    transition: var(--transition);
}

.payment-card > i {
    color: var(--primary);

    font-size: 18px;
}

.payment-card span {
    display: flex;
    flex-direction: column;
}

.payment-card strong {
    font-size: 9px;
}

.payment-card small {
    color: var(--gray);

    font-size: 7px;

    margin-top: 3px;
}

.payment-option input:checked + .payment-card {
    border-color: var(--primary);

    background: rgba(230, 57, 70, 0.04);
}


/* =========================================================
   CHECKOUT TOTAL
   ========================================================= */

.checkout-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 5px;
}

.checkout-total > div {
    display: flex;

    flex-direction: column;
}

.checkout-total span {
    color: var(--gray);

    font-size: 9px;
}

.checkout-total strong {
    font-size: 22px;

    font-weight: 900;
}


/* =========================================================
   SUCCESS MODAL
   ========================================================= */

.success-modal {
    width: min(480px, calc(100% - 30px));

    padding: 50px 40px;

    text-align: center;
}

.success-icon {
    width: 75px;
    height: 75px;

    border-radius: 50%;

    background: #e9f8ee;

    color: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    margin: 0 auto 20px;
}

.success-modal .modal-label {
    margin-bottom: 10px;
}

.success-modal h2 {
    font-size: 28px;
}

.success-modal > p {
    color: var(--gray);

    font-size: 10px;

    line-height: 1.8;

    margin-bottom: 20px;
}

.order-number {
    padding: 13px 20px;

    background: var(--cream);

    border-radius: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}

.order-number span {
    font-size: 9px;
    color: var(--gray);
}

.order-number strong {
    color: var(--primary);

    font-size: 12px;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 5000;

    min-width: 300px;

    padding: 13px 15px;

    background: var(--dark);

    color: var(--white);

    border-radius: 13px;

    box-shadow: var(--shadow-lg);

    display: flex;

    align-items: center;

    gap: 11px;

    transform: translateY(120px);

    opacity: 0;

    visibility: hidden;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.toast.show {
    transform: translateY(0);

    opacity: 1;

    visibility: visible;
}

.toast-icon {
    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--green);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
}

.toast-content {
    flex: 1;

    display: flex;

    flex-direction: column;
}

.toast-content strong {
    font-size: 9px;
}

.toast-content span {
    font-size: 8px;
    color: #aaa;
}

.toast > button {
    border: none;

    background: transparent;

    color: #888;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 100;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    box-shadow:
        0 8px 20px rgba(230, 57, 70, 0.25);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--dark);

    transform: translateY(-3px);
}


/* =========================================================
   SCROLL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE — 1100PX
   ========================================================= */

@media (max-width: 1100px) {

    .navbar {
        gap: 20px;
    }

    .nav-link {
        font-size: 11px;
    }

    .pizza-grid {
        gap: 18px;
    }

    .hero-content h1 {
        font-size: 65px;
    }

    .hero-container {
        gap: 25px;
    }

    .about-grid {
        gap: 55px;
    }

}


/* =========================================================
   RESPONSIVE — 900PX
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        position: fixed;

        top: 82px;
        left: 0;

        width: 100%;

        background: var(--white);

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow-md);

        transform: translateY(-120%);

        opacity: 0;

        visibility: hidden;

        transition: var(--transition);
    }

    .navbar.active {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .nav-link {
        padding: 14px 10px;

        border-bottom: 1px solid var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-order-btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 55px 0 70px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 20px 0 0;
    }

    .hero-content h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-visual {
        min-height: 480px;
    }

    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-info-item:nth-child(2) {
        border-right: none;
    }

    .quick-info-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pizza-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 60px;

        max-width: 650px;
    }

    .about-content {
        text-align: center;
    }

    .left-label {
        justify-content: center;
    }

    .about-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-points {
        text-align: left;
    }

    .about-content .btn {
        margin-top: 5px;
    }

    .size-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;

        max-width: 650px;

        margin: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;

        max-width: 700px;
    }

    .contact-content {
        text-align: center;
    }

    .contact-content .left-label {
        justify-content: center;
    }

    .contact-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pizza-modal {
        grid-template-columns: 1fr;

        max-width: 550px;
    }

    .modal-image {
        min-height: 280px;

        max-height: 280px;
    }

    .modal-content {
        padding: 35px;
    }

}


/* =========================================================
   RESPONSIVE — 650PX
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section-padding {
        padding: 75px 0;
    }

    .nav-container {
        min-height: 72px;
    }

    .logo-nine {
        width: 40px;
        height: 40px;

        font-size: 23px;
    }

    .logo-text strong {
        font-size: 14px;
    }

    .logo-text small {
        font-size: 7px;
    }

    .navbar {
        top: 72px;
    }

    .cart-btn {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-container {
        padding: 40px 0 50px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 13vw, 60px);

        letter-spacing: -2.5px;
    }

    .hero-content > p {
        font-size: 11px;
    }

    .hero-features {
        gap: 12px;

        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .hero-feature {
        justify-content: center;
    }

    .hero-visual {
        min-height: 380px;
    }

    .hero-circle {
        width: 330px;
    }

    .hero-pizza-image {
        width: 320px;
    }

    .hero-price-tag {
        width: 90px;
        height: 90px;

        right: 0;
        top: 12%;
    }

    .hero-price-tag strong {
        font-size: 15px;
    }

    .floating-ingredient {
        font-size: 30px;
    }

    .quick-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-info-item {
        padding: 15px 10px;
    }

    .quick-icon {
        width: 35px;
        height: 35px;

        font-size: 11px;
    }

    .quick-info-item strong {
        font-size: 8px;
    }

    .quick-info-item span {
        font-size: 7px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 35px;

        letter-spacing: -1.5px;
    }

    .menu-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 9px 12px;

        font-size: 8px;
    }

    .pizza-grid {
        grid-template-columns: 1fr;

        max-width: 440px;

        margin: 0 auto;
    }

    .pizza-card-image {
        height: 260px;
    }

    .promo-section {
        padding-bottom: 75px;
    }

    .promo-card {
        grid-template-columns: 1fr;

        padding: 45px 28px;

        text-align: center;
    }

    .promo-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .promo-visual {
        min-height: 250px;

        margin-top: 10px;
    }

    .promo-circle {
        width: 200px;
        height: 200px;
    }

    .promo-emoji {
        font-size: 130px;
    }

    .about-grid {
        gap: 35px;
    }

    .about-visual {
        padding: 10px;
    }

    .about-experience {
        width: 105px;
        height: 105px;

        border-width: 5px;
    }

    .about-experience strong {
        font-size: 23px;
    }

    .about-experience span {
        font-size: 7px;
    }

    .about-content h2 {
        font-size: 37px;
    }

    .about-points {
        grid-template-columns: 1fr;

        max-width: 300px;

        margin-left: auto;
        margin-right: auto;
    }

    .sizes-section {
        padding: 75px 0;
    }

    .size-grid {
        grid-template-columns: 1fr;

        max-width: 330px;
    }

    .size-card {
        min-height: 220px;
    }

    .size-card.featured-size {
        transform: none;
    }

    .size-card.featured-size:hover {
        transform: translateY(-7px);
    }

    .contact-form-wrapper {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand > p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column {
        align-items: center;

        text-align: center;
    }

    .newsletter-form {
        margin: auto;
    }

    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

    .pizza-modal,
    .checkout-modal {
        width: calc(100% - 20px);

        border-radius: 18px;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .modal-content h2 {
        font-size: 27px;
    }

    .size-options {
        grid-template-columns: 1fr;
    }

    .size-option span {
        min-height: 52px;

        flex-direction: row;

        justify-content: space-between;

        padding: 0 15px;
    }

    .modal-order-row {
        flex-direction: column;

        align-items: stretch;
    }

    .quantity-control {
        width: 100%;
    }

    .modal-add-btn {
        width: 100%;
    }

    .checkout-modal {
        padding: 35px 20px;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .checkout-total {
        flex-direction: column;

        align-items: stretch;
    }

    .checkout-total .btn {
        width: 100%;
    }

    .success-modal {
        padding: 40px 22px;
    }

    .toast {
        left: 15px;
        right: 15px;

        min-width: auto;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

}


/* =========================================================
   RESPONSIVE — 400PX
   ========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        justify-content: flex-start;

        max-width: 190px;

        margin: auto;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-circle {
        width: 285px;
    }

    .hero-pizza-image {
        width: 275px;
    }

    .floating-ingredient {
        font-size: 25px;
    }

    .pizza-card-content {
        padding: 18px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        animation-duration: 0.01ms ;
        animation-iteration-count: 1;
        transition-duration: 0.01ms ;
    }

}

