@charset "UTF-8";

/* Recipe Detail Page Styles */

/* Breadcrumb */
.breadcrumb-section {
    background-color: #f5f5f5;
    padding: 1.5rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #999;
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

/* Recipe Hero */
.recipe-hero {
    padding: 60px 0;
    background-color: #fff;
}

.recipe-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.recipe-hero__content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000;
    line-height: 1.2;
}

.recipe-hook {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.recipe-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
}

.meta-item i {
    font-size: 1.8rem;
    color: #e74c3c;
}

.meta-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1.1rem;
    color: #000;
    font-weight: 700;
}

.recipe-hero__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    height: 400px;
}

.recipe-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Recipe Content */
.recipe-content {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.recipe-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

.recipe-section {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recipe-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.recipe-section h2 i {
    color: #e74c3c;
}

/* Ingredients */
.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.05rem;
    color: #333;
    padding-left: 2rem;
    position: relative;
}

.ingredients-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.swap-options {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.swap-options h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.swap-options ul {
    list-style: none;
    padding: 0;
}

.swap-options ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Steps */
.steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.steps-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

.tips-callout {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff9f0;
    border-radius: 8px;
    border-left: 4px solid #ff9900;
}

.tips-callout h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-callout h3 i {
    color: #ff9900;
}

.tips-callout ul {
    list-style: none;
    padding: 0;
}

.tips-callout ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.tips-callout ul li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Macros */
.macros-note {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.macros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.macro-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.macro-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.macro-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.macro-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.macro-tag {
    padding: 0.5rem 1.2rem;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question i {
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.25rem;
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    background-color: #f8f8f8;
}

/* Sidebar */
.recipe-sidebar {
    position: sticky;
    top: 20px;
}

.addon-module,
.boost-module,
.save-module {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.addon-module h3,
.boost-module h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    text-align: center;
}

.product-used {
    text-align: center;
}

.product-image {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.product-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
}

.product-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.product-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background-color: #ff9900;
    color: #000;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.btn-buy:hover {
    background-color: #e88b00;
    transform: translateY(-2px);
}

.optional-note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.boost-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.boost-item i {
    font-size: 2rem;
    color: #e74c3c;
}

.boost-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #000;
}

.boost-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.save-module {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-save,
.btn-print {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background-color: #fff;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-save:hover,
.btn-print:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Related Recipes */
.related-recipes {
    padding: 80px 0;
    background-color: #fff;
}

.related-recipes h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #000;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-card__image {
    height: 200px;
    background-color: #000;
    overflow: hidden;
}

.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card__image img {
    transform: scale(1.05);
}

.related-card h3 {
    padding: 1.25rem 1.25rem 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
}

.related-meta {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.related-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.related-meta i {
    color: #e74c3c;
}

/* Recipe Disclaimer */
.recipe-disclaimer {
    padding: 40px 0;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
}

.disclaimer-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recipe-hero__content h1 {
        font-size: 2rem;
    }

    .recipe-hero__image {
        height: 300px;
    }

    .recipe-layout {
        grid-template-columns: 1fr;
    }

    .recipe-sidebar {
        position: static;
    }

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

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

    .related-grid {
        grid-template-columns: 1fr;
    }

    .recipe-section {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .recipe-layout {
        grid-template-columns: 1fr;
    }

    .recipe-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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