@font-face {
    font-family: 'RobotoExtraBold';
    src: url(../../fonts/Roboto-ExtraBold.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoRegular';
    src: url(../../fonts/Roboto-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'RobotoBold';
    src: url(../../fonts/Roboto-Bold.ttf) format('truetype');
}

.header {
    background-color: #1F2937;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header h1 {
    font-family: 'RobotoExtraBold', sans-serif;
    color: #F9FaF8;
}

.nav {
    display: block; 
    position: relative;
    z-index: 10000;
}

.nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}


.nav a {
    font-family: 'RobotoRegular', sans-serif;
    color: #E5E7EB;
    text-decoration: none;
    font-size: 16px;
}

.nav a:hover {
    color: #F9FAF8;
}

.dropdown-content a {
    color: #1F2937;
}

.detail-main {
    background-color: #F6F0E6;
    padding: 48px 0 100px;
    min-height: 80vh;
    position: relative;
    z-index: 1
}

.back-link {
    display: inline-block;
    font-family: 'RobotoBold', sans-serif;
    font-size: 13px;
    color: #2E4A3A;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #C89B3C;
}

.detail-layout {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.detail-image-wrap {
    position: relative;
    flex: 1;
    max-width: 480px;
}

.detail-image {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 32px rgba(46, 74, 58, 0.15);
}

.detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #2E4A3A;
    color: #F6F0E6;
    font-family: 'RobotoBold', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 4px;
}

.detail-info {
    flex: 1;
}

.detail-category {
    font-family: 'RobotoExtraBold', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C89B3C;
    margin-bottom: 12px;
}

.detail-name {
    font-family: 'RobotoBold', sans-serif;
    font-size: 42px;
    color: #1F1F1F;
    line-height: 1.2;
    margin-bottom: 16px;
}

.detail-price {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 28px;
    color: #2E4A3A;
    margin-bottom: 24px;
}

.detail-divider {
    border: none;
    border-bottom: 1px solid #D8C3A5;
    margin-bottom: 24px;
}

.detail-description {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 15px;
    color: #1F1F1F;
    line-height: 1.8;
    margin-bottom: 32px;
}

.detail-section {
    margin-bottom: 28px;
}

.detail-section-title {
    font-family: 'RobotoBold', serif;
    font-size: 18px;
    color: #2E4A3A;
    margin-bottom: 10px;
}

.detail-ingredients {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 14px;
    color: #1F1F1F;
    line-height: 1.7;
}

.detail-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-highlights li {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 14px;
    color: #1F1F1F;
    padding: 5px 0;
    line-height: 1.5;
}

.detail-highlights li::before {
    content: "✓ ";
    color: #2E4A3A;
    font-weight: 600;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.tag {
    font-family: 'RobotoBold', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #2E4A3A;
    border: 1px solid #2E4A3A;
    padding: 5px 14px;
    border-radius: 20px;
    list-style: none;
}

footer {
    background-color: #1F2937;
    padding: 8px 0;
    text-align: center;
}

.footer p {
    font-family: 'RobotoLight', sans-serif;
    color: #E5E7EB;
}

@media (max-width: 768px) {
    .detail-layout {
        flex-direction: column;
        gap: 32px;
    }

    .detail-image-wrap {
        max-width: 100%;
    }

    .detail-name {
        font-size: 32px;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        color: #F9FAF8;
        cursor: pointer;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #F9FAF8;
        text-align: center;
        z-index: 10000;
    }

    .nav a {
        color: #1F2937;
    }

    .nav a:hover {
        color: #3882F6;
    }
    .nav ul {
        flex-direction: column;
        gap: 16px;
        padding: 20px 0;
        color: #1F2937;
    }

    #menu-toggle:checked ~ .nav {
        display: block;
    }
}
