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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f0f;
    color: #fff;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
    border-bottom: 3px solid #ff8c00;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header {
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.text-success {
    color: #25D366;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    max-height: 50px;
}

.logo h1 {
    font-size: 24px;
    color: #ff8c00;
}

.logo h3 {
    font-size: 16px;
    color: #b9b9b9;
}

.brand-name {
    font-size: 20px;
    font-weight: bold;
}

.brand-name small {
    display: block;
    font-size: 12px;
    color: #ff8c00;
    margin-top: -5px;
}

.user-link {
    background-color: #2d2d2d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.user-link:hover {
    background-color: #EC1D2A;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 6px 10px;
}

/* when shown as dropdown on mobile */
.user-link.show {
    display: flex !important;
    position: absolute;
    top: 64px;
    right: 20px;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.search-section {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.search-section h1 {
    margin: 0;
    font-size: 28px;
}

.search-bar {
    width: 360px;
    max-width: 50%;
    padding: 15px;
    background-color: #2d2d2d;
    border: 2px solid #404040;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}

.search-bar::placeholder {
    color: #999;
}

.categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 10px 20px;
    background-color: #2d2d2d;
    color: #a5a5a5;
    border-radius: 100px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
    flex: 0 0 auto;
}

.category-btn:hover {

    color: #fff;
}

.category-btn.active {
    background-color: #EC1D2A;

    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid #404040;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    border-color: #ff8c00;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #404040 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #ff8c00;
}

.product-content {
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
}

.product-description {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 12px;
    min-height: 30px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #D4AF37;
}

.btn-details {
    background-color: #EC1D2A;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: background-color 0.3s;
}

.btn-details:hover {
    background-color: #EC1D2A;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ccc;
}

.empty-state p {
    color: #999;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .header {
        flex-direction: row;
        gap: 0;
        padding: 12px 16px;
    }

    .brand-name {
        display: none;
    }

    .hamburger {
        display: inline-block;
    }

    .user-link {
        display: none;
    }

    .categories {
        justify-content: flex-start;
    }

    .product-card .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    /* make room for absolute-positioned button */
    .product-card {
        position: relative;
    }

    /* keep content above the fixed button */
    .product-content {
        padding-bottom: 78px;
    }

    /* fix the details button to the bottom of the card */
    .product-card .btn-details {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: block;
        width: auto;
        text-align: center;
        padding: 12px 14px;
        border-radius: 50px;
        font-size: 14px;
        margin-top: 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
        -webkit-tap-highlight-color: transparent;
        z-index: 5;
    }

    .product-card .product-price {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .search-section {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
    }

    .product-card .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-card .btn-details {
        display: block;
        text-align: center;
    }
}

/* Spacing utilities (mt / mb) similar to Bootstrap */
.mt-0 {
    margin-top: 0.2rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0.2rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}


.footer-yuna {
    background-color: #1a1a1a;
    /* Um tom de grafite escuro, elegante para sushi bar */
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 3px solid #e63946;
    /* Um detalhe em vermelho "sushi" para dar destaque */
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 300;
}

/* Efeito opcional para o nome da marca */
.footer-content p::first-letter {
    color: #e63946;
    font-weight: bold;
}

a {
    text-decoration: none;
}

.product-show {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

/* Imagem */
.product-image-large {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.product-image-placeholder {
    width: 100%;
    height: 320px;
    background: #f2f2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* Conteúdo */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-description {
    font-size: 12px;
    line-height: 1.6;
    color: #ccc;
}

.product-ingredients h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.product-ingredients p {
    color: #555;
}

/* Footer */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #D4AF37;
}

.btn-add-cart {
    background: #1e7f43;
    color: #fff;
    padding: 10px 18px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-cart:hover {
    opacity: 0.9;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}


</style>