
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    cursor: pointer;
}


/* =========================
   NAVBAR
========================= */

.header {
    width: 100%;
    background: #ffffff;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
}

.order-btn {
    padding: 12px 20px;
    background: #f4511e;
    color: #ffffff;
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #171717;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 140;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 80vh;
    padding: 80px 30px;

    display: flex;
    align-items: center;

    background: #fff7ed;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 750px;
}

.hero-label {
    color: #f4511e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 750px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1;
    margin-bottom: 25px;
}

.hero-text {
    max-width: 550px;
    color: #555555;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary {
    background: #f4511e;
    color: #ffffff;
}

.btn-secondary {
    border: 1px solid #171717;
}


/* =========================
   SECTIONS
========================= */

.shop,
.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading p {
    color: #f4511e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 44px;
    line-height: 1.1;
}

/* =========================
   FOOTER
========================= */

.footer {
    padding: 50px 30px;
    background: #171717;
    color: #ffffff;
    text-align: center;
}

.footer h2 {
    margin-bottom: 10px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 14px 0 16px;
    font-size: 14px;
}

.footer-socials a:hover {
    text-decoration: underline;
}

.admin-link {
    background: none;
    border: none;
    color: #777777;
    font-size: 12px;
    margin-top: 6px;
    padding: 4px;
}

.admin-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* =========================
   CONTACT
========================= */

.contact-tagline {
    color: #555555;
    margin-bottom: 30px;
    max-width: 550px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 15px;
}

.contact-details a:hover {
    color: #f4511e;
}

.map-embed {
    width: 100%;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #eeeeee;
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-link {
    padding: 10px 18px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    border-color: #f4511e;
    color: #f4511e;
}

@media (max-width: 768px) {
    .map-embed {
        height: 240px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .navbar {
        padding: 18px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78%;
        max-width: 300px;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 26px;
        padding: 40px 32px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 150;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 17px;
    }

    .nav-links .order-btn {
        margin-top: 4px;
    }

    .hero {
        min-height: 70vh;
        padding: 70px 20px;
    }

    .hero-inner {
        text-align: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-buttons {
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 220px;
    }

    .btn {
        text-align: center;
    }

    .shop,
    .about,
    .gallery,
    .contact {
        padding: 70px 20px;
    }

    .section-heading h2 {
        font-size: 36px;
    }
}

.logo img {
    width: 120px;
    height: auto;
    display: block;
}

/* =========================
   MENU
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.product-image {
    height: 220px;
    background: #f3f3f3;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #888888;
    font-size: 14px;
}

.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.product-info p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 20px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-price {
    font-weight: 700;
}

.add-btn {
    border: none;
    background: #f4511e;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
}


/* MENU MOBILE */

@media (max-width: 1024px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 640px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

}

.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #888888;
    font-size: 15px;
    padding: 70px 20px;
}

.product-category {
    display: inline-block;
    color: #f4511e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image span {
    font-size: 13px;
    letter-spacing: 0.5px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.add-btn {
    transition: background 0.2s ease, transform 0.2s ease;
}

.add-btn:hover {
    transform: translateY(-1px);
}

/* =========================
   FILTER BAR
========================= */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-btn {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #555555;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
    border-color: #f4511e;
    color: #f4511e;
}

.filter-btn.active {
    background: #f4511e;
    border-color: #f4511e;
    color: #ffffff;
}

.product-card.is-hidden {
    display: none;
}

/* =========================
   CART
========================= */

.cart-fab {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 95;

    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;

    background: #f4511e;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 24px rgba(244, 81, 30, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px rgba(244, 81, 30, 0.5);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #171717;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

@media (max-width: 768px) {
    .cart-fab {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 21px;
    }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 90;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;

    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #eeeeee;
}

.cart-drawer-header h3 {
    font-size: 20px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 18px;
    padding: 4px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    color: #888888;
    font-size: 14px;
    text-align: center;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f3f3;
}

.cart-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.cart-item-info span {
    color: #666666;
    font-size: 13px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #dddddd;
    background: #ffffff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.qty-value {
    min-width: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #cc3333;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
}

.cart-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid #eeeeee;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 16px;
}

.cart-checkout {
    width: 100%;
    border: none;
    font-size: 15px;
}

.cart-checkout:disabled {
    opacity: 0.5;
}

.checkout-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.checkout-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.checkout-input:focus {
    outline: none;
    border-color: #f4511e;
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
        max-width: 100vw;
    }
}

/* =========================
   ORDER SUCCESS OVERLAY
========================= */

.order-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}

.order-success-overlay.open {
    display: flex;
}

.order-success-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 30px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.order-success-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.order-success-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.order-success-box p {
    color: #555555;
    font-size: 14px;
    margin-bottom: 24px;
}

.order-success-box .btn {
    border: none;
    width: 100%;
}

/* =========================
   ADMIN FORM & LIST
   (page layout lives in admin.css)
========================= */

.admin-hint {
    color: #888888;
    font-size: 13px;
}

.admin-error {
    color: #cc3333;
    font-size: 13px;
}

.admin-full-btn {
    width: 100%;
    border: none;
    font-size: 15px;
}

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

.admin-textarea {
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

.admin-file-label {
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-file-label input {
    font-size: 13px;
}

.admin-image-preview {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eeeeee;
}

.admin-divider {
    height: 1px;
    background: #eeeeee;
    margin: 10px 0;
}

.admin-list-title {
    font-size: 15px;
}

.admin-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
}

.admin-product-row img {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f3f3;
    flex-shrink: 0;
}

.admin-product-row-info {
    flex: 1;
    min-width: 0;
}

.admin-product-row-info h5 {
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-product-row-info span {
    font-size: 12px;
    color: #888888;
}

.admin-product-remove {
    background: none;
    border: none;
    color: #cc3333;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.admin-logout-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 13px;
    text-decoration: underline;
}
