/* =====================================================
   BIG STACK BURGERS
   Bold • Reward Yourself • Poster Hero
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff7ed;
    color: #1f1f1f;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

/* HEADER */

.burger-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 247, 237, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 31, 31, 0.1);
}

.burger-nav {
    width: min(1180px, 92%);
    min-height: 76px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.burger-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.burger-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1f1f1f, #f97316);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.35rem;
}

.burger-brand strong,
.burger-brand span {
    display: block;
}

.burger-brand span {
    color: #f97316;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.burger-links {
    display: flex;
    gap: 24px;
    font-weight: 900;
}

/* HERO */

.burger-hero {
    min-height: 660px;
    padding: 88px 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(249, 115, 22, 0.42), transparent 26%),
        linear-gradient(135deg, #111111, #1f1f1f 55%, #3b2216);
    color: white;
    overflow: hidden;
}

.burger-hero-inner {
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 46px;
    align-items: center;
}

.burger-badge {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.burger-copy h1 {
    max-width: 720px;
    font-size: clamp(3.3rem, 7vw, 6.3rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    text-transform: uppercase;
}

.burger-copy p {
    max-width: 560px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.07rem;
    line-height: 1.75;
}

.burger-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.burger-btn {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.burger-btn.primary {
    background: #f97316;
    color: white;
}

.burger-btn.secondary {
    border: 2px solid rgba(255, 255, 255, 0.72);
    color: white;
}

/* HERO SHOWCASE */

.burger-showcase {
    position: relative;
}

.burger-showcase img {
    height: 440px;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
    transform: rotate(-2deg);
}

.craving-card {
    position: absolute;
    right: -14px;
    bottom: -24px;
    width: 210px;
    padding: 22px;
    border-radius: 24px;
    background: #fff7ed;
    color: #1f1f1f;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.craving-card span {
    color: #f97316;
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.craving-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2.3rem;
    line-height: 1;
}

.craving-card p {
    margin-top: 6px;
    color: #6b7280;
    font-weight: 900;
}

/* STRIP */

.burger-container {
    width: min(1180px, 92%);
    margin: auto;
}

.burger-strip {
    padding: 0 0 18px;
}

.strip-grid {
    margin-top: -44px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.strip-grid article {
    padding: 24px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 16px 38px rgba(31, 31, 31, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.14);
}

.strip-grid strong {
    display: block;
    color: #f97316;
    font-size: 2rem;
}

.strip-grid span {
    color: #6b7280;
    font-weight: 900;
}

/* SECTIONS */

.burger-section {
    padding: 72px 0;
}

.section-kicker {
    color: #f97316;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.section-title {
    margin-top: 10px;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.section-text {
    max-width: 720px;
    margin-top: 12px;
    color: #6b7280;
    line-height: 1.7;
}

/* PRODUCTS */

.burger-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(31, 31, 31, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.product-photo {
    height: 145px;
    background: #fed7aa;
    overflow: hidden;
}

.product-photo img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.product-body h3 {
    min-height: 44px;
    font-size: 1rem;
    line-height: 1.2;
}

.product-body p {
    min-height: 42px;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.45;
}

.product-price {
    margin-top: 14px;
}

.product-price strong {
    color: #1f1f1f;
    font-size: 1.15rem;
}

.product-price span {
    margin-left: 6px;
    color: #9ca3af;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.qty-control {
    margin: 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: #1f1f1f;
    color: white;
    font-weight: 950;
    cursor: pointer;
}

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 950;
}

.add-cart-btn {
    margin-top: auto;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f97316, #fdba74);
    color: #1f1f1f;
    font-weight: 950;
    cursor: pointer;
}

/* CART */

.cart-box {
    margin-top: 34px;
    padding: 26px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 18px 44px rgba(31, 31, 31, 0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item span {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.92rem;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
}

.loading-text {
    color: #6b7280;
}

/* FOOTER */

.burger-footer {
    padding: 34px 20px;
    text-align: center;
    background: #111111;
    color: white;
    font-weight: 900;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .burger-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .burger-hero-inner {
        grid-template-columns: 1fr;
    }

    .burger-showcase img {
        height: 340px;
    }

    .strip-grid,
    .burger-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .burger-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
    }

    .burger-links {
        gap: 16px;
        font-size: 0.9rem;
    }

    .burger-hero {
        min-height: auto;
        padding: 58px 0;
    }

    .burger-showcase img {
        height: 260px;
        transform: none;
    }

    .craving-card {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .strip-grid,
    .burger-grid {
        grid-template-columns: 1fr;
    }

    .burger-actions,
    .cart-summary {
        flex-direction: column;
    }

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

.buildframe-footer {
    width: 100%;
    padding: 14px 5%;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cdefff;
    background: #061525;
}

.buildframe-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
}

.buildframe-chat-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid #66d9ff;
    background: #071a2f;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 0 22px rgba(79, 195, 255, 0.55);
}

.buildframe-chat-panel {
    display: block;
    position: absolute;
    right: 0;
    bottom: 72px;
    width: 260px;
    padding: 18px;
    border-radius: 18px;
    background: #071a2f;
    border: 1px solid #66d9ff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    color: #eaf8ff;
}

.buildframe-chat-panel.active {
    display: block;
}

.buildframe-chat-panel strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

.buildframe-chat-panel p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #bfefff;
    margin-bottom: 12px;
}

.buildframe-chat-panel a {
    display: block;
    color: #66d9ff;
    font-weight: 800;
    margin-top: 8px;
    text-decoration: none;
}

.buildframe-logo-bubble {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(79, 195, 255, .6);
    transition: .3s;
}

.buildframe-logo-bubble:hover {
    transform: scale(1.08);
}

.buildframe-logo-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.buildframe-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    cursor: pointer;
}

.buildframe-footer a:hover {
    color: #4fc3ff !important;
    text-decoration: underline !important;
}