/* ===== Recipe Page Styles — Orggu ===== */

:root {
    --orggu-green: #006600;
    --orggu-green-dark: #004d00;
    --orggu-green-light: #e8f5e9;
    --orggu-orange: #ff6d00;
    --orggu-orange-dark: #e65100;
    --orggu-gold: #f5a623;
    --orggu-text: #222;
    --orggu-text-light: #555;
    --orggu-text-muted: #888;
    --orggu-border: #e8e8e8;
    --orggu-bg: #fafafa;
    --orggu-radius: 14px;
    --orggu-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --orggu-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== Scroll Progress Bar ===== */
.recipe-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orggu-green), #4CAF50, var(--orggu-gold));
    z-index: 9999;
    transition: width 0.1s linear;
    width: 0%;
}

/* ===== Push Content Below Fixed Header ===== */
.breadcrumb, .recipe-breadcrumb {
    margin-top: 120px;
}

/* ===== Breadcrumb ===== */
.breadcrumb, .recipe-breadcrumb {
    font-size: 13px;
    color: var(--orggu-text-muted);
    margin-bottom: 16px;
    padding: 0 16px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.breadcrumb ol li::before {
    content: '\203A';
    margin-right: 6px;
    color: #ccc;
    font-weight: 700;
}
.breadcrumb ol li:first-child::before {
    content: '';
    margin: 0;
}
.breadcrumb a, .recipe-breadcrumb a {
    color: var(--orggu-green);
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover, .recipe-breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Hero Section ===== */
.recipe-hero {
    background: linear-gradient(135deg, #f5f9f5 0%, var(--orggu-green-light) 50%, #c8e6c9 100%);
    border-radius: var(--orggu-radius);
    padding: 36px 28px 28px;
    margin: 0 auto 24px;
    max-width: 1000px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.recipe-hero::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(0,102,0,0.06);
    border-radius: 50%;
}
.recipe-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--orggu-text);
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.recipe-tagline {
    font-size: 15px;
    color: var(--orggu-text-light);
    margin: 0 0 16px;
    line-height: 1.5;
}
.recipe-meta, .recipe-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--orggu-text-light);
}
.recipe-meta span, .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.7);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.meta-icon {
    font-size: 16px;
}
.recipe-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: var(--orggu-text-light);
    margin: 8px 0;
}
.recipe-rating .stars, .recipe-rating .recipe-stars {
    color: var(--orggu-gold);
    font-size: 18px;
    letter-spacing: 1px;
}
.recipe-regional-names, .recipe-regional {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 8px 0;
}
.regional-tag {
    background: rgba(255,255,255,0.7);
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: var(--orggu-text-light);
    font-style: italic;
}
.recipe-nutrition-summary {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--orggu-text-muted);
    font-weight: 600;
}

/* ===== Two-Column Layout ===== */
.recipe-layout, .recipe-container, .recipe-two-col {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}
.recipe-content, .recipe-main-col {
    flex: 1;
    min-width: 0;
}
.recipe-sidebar, .recipe-ingredients-col {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

/* ===== Section Styling (generic) ===== */
.recipe-section, .recipe-tips, .recipe-pro-tips, .pro-tips,
.recipe-nutrition-section, .recipe-share, .recipe-share-section,
.recipe-faq, .recipe-celebration, .recipe-didyouknow,
.recipe-i-made-this, .i-made-this, .did-you-know,
.whatsapp-share, .recipe-whatsapp-share {
    margin: 0 0 28px;
}
.recipe-section h2, .recipe-section-title,
.recipe-tips h2, .recipe-tips h3,
.recipe-pro-tips h2, .pro-tips h2,
.recipe-faq h2, .recipe-share h2,
.recipe-share-section h2, .recipe-i-made-this h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--orggu-text);
    margin: 0 0 16px;
    letter-spacing: -0.2px;
}

/* ===== Ingredients Section ===== */
.recipe-ingredients, .recipe-ingredients-card, .ingredients-card {
    background: #fff;
    border: 1px solid var(--orggu-border);
    border-radius: var(--orggu-radius);
    padding: 20px;
    margin: 0 0 24px;
}
.ingredient-list, .recipe-ingredients-list, .ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ingredient-item, .ingredient-list li, .recipe-ingredients-list li, .ingredients-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: transform 0.2s, opacity 0.3s;
    font-size: 15px;
    color: #333;
}
.ingredient-item:last-child, .ingredient-list li:last-child,
.recipe-ingredients-list li:last-child, .ingredients-list li:last-child {
    border-bottom: none;
}
.ingredient-item.checked, .ingredient-list li.checked {
    transform: translateX(8px);
    opacity: 0.5;
}
.ingredient-item.checked label {
    text-decoration: line-through;
    color: #999;
}
.ingredient-check {
    width: 20px;
    height: 20px;
    accent-color: var(--orggu-green);
    cursor: pointer;
}
.ingredient-product-link, .ingredient-link, .ingredient-orggu-link {
    display: inline-block;
    color: var(--orggu-green);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    margin-left: 4px;
}
.ingredient-product-link:hover, .ingredient-link:hover, .ingredient-orggu-link:hover {
    text-decoration: underline;
}

/* ===== Recipe Steps ===== */
.recipe-step {
    display: flex;
    gap: 14px;
    margin: 0 0 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.recipe-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #666;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}
.recipe-step.visible .step-number {
    background: var(--orggu-green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,102,0,0.3);
}
.step-content {
    flex: 1;
}
.step-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 8px;
}

/* ===== Step Completion Interaction ===== */
.step-done-btn-wrap {
    margin-top: 10px;
}
.step-done-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--orggu-green), var(--orggu-green-dark));
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 2px 8px rgba(0,102,0,0.25);
    letter-spacing: 0.3px;
}
.step-done-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,102,0,0.35);
}
.step-done-btn:disabled {
    cursor: default;
    opacity: 0.85;
}
.step-final-btn {
    background: linear-gradient(135deg, var(--orggu-orange), var(--orggu-orange-dark));
    box-shadow: 0 2px 8px rgba(255,109,0,0.3);
    font-size: 14px;
    padding: 10px 24px;
}
.step-completed {
    position: relative;
}
.step-completed .step-number {
    background: #4CAF50 !important;
    box-shadow: 0 2px 8px rgba(76,175,80,0.4);
}
.step-completed .step-number::after {
    content: ' \2713';
    font-size: 12px;
}
.step-completed .step-content p {
    color: #666;
}

/* Step toast notification */
.step-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f0faf0, var(--orggu-green-light));
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-toast-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.step-toast-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: toastBounce 0.6s ease 0.3s;
}
.step-toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.step-toast-text strong {
    font-size: 15px;
    color: var(--orggu-green);
}
.step-toast-text span {
    font-size: 13px;
    color: var(--orggu-text-light);
    line-height: 1.4;
}
@keyframes toastBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Step number pulse for next step highlight */
.step-number-pulse {
    animation: stepPulse 0.8s ease-out 2;
}
@keyframes stepPulse {
    0% { box-shadow: 0 0 0 0 rgba(0,102,0,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(0,102,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,102,0,0); }
}

/* ===== Inline Product Nudge ===== */
.inline-product-nudge, .recipe-product-nudge, .product-nudge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5f9f5, #e8f5e9);
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 8px 14px;
    margin: 8px 0;
    font-size: 13px;
    color: #333;
    transition: box-shadow 0.2s;
}
.inline-product-nudge:hover, .recipe-product-nudge:hover {
    box-shadow: 0 2px 8px rgba(0,102,0,0.1);
}
.inline-product-nudge img, .recipe-product-nudge img, .product-nudge img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}
.nudge-info, .recipe-product-nudge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nudge-link {
    color: var(--orggu-green);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}
.mini-add-btn {
    background: linear-gradient(135deg, var(--orggu-orange), var(--orggu-orange-dark));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s;
}
.mini-add-btn:active { transform: scale(0.93); }

/* ===== Cooking Timer ===== */
.recipe-timer-btn, .step-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 25px;
    padding: 8px 18px;
    margin: 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #1565c0;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(21,101,192,0.15);
}
.recipe-timer-btn:hover, .step-timer:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: translateY(-1px);
}
.step-timer.running, .recipe-timer-btn.running {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: var(--orggu-orange-dark);
}
.step-timer.done, .recipe-timer-btn.done {
    background: linear-gradient(135deg, var(--orggu-green-light), #a5d6a7);
    color: #2e7d32;
}
.timer-display {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--orggu-orange-dark);
}
.timer-stop-btn {
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* ===== Pro Tips — Stylish Card ===== */
.pro-tips-list, .recipe-tips-grid, .recipe-tips ul, .recipe-pro-tips ul, .pro-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#tips, .recipe-tips, .recipe-pro-tips, .pro-tips,
[id="tips"].recipe-section {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
    border: 1px solid #ffe082;
    border-radius: var(--orggu-radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
#tips::before, .recipe-tips::before, .recipe-pro-tips::before, .pro-tips::before,
[id="tips"].recipe-section::before {
    content: '\1F4A1';
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 48px;
    opacity: 0.12;
}
#tips h2, .recipe-tips h2, .recipe-tips h3, .recipe-pro-tips h2, .pro-tips h2,
[id="tips"].recipe-section h2 {
    color: #e65100;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pro-tips-list li, .recipe-tips li, .recipe-tips-grid > div,
.recipe-pro-tips li, .pro-tips li,
.recipe-tips ul li, .recipe-pro-tips ul li, .pro-tips ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    transition: transform 0.2s;
    border-left: 3px solid var(--orggu-gold);
}
.pro-tips-list li:hover, .recipe-tips li:hover, .recipe-pro-tips li:hover {
    transform: translateX(4px);
}
.pro-tips-list li::before, .recipe-tips ul li::before,
.recipe-pro-tips ul li::before, .pro-tips ul li::before {
    content: '\2728';
    flex-shrink: 0;
    font-size: 16px;
}
.pro-tips-list li a, .recipe-tips li a, .recipe-pro-tips li a {
    color: var(--orggu-green);
    font-weight: 600;
    text-decoration: none;
}
.pro-tips-list li a:hover, .recipe-tips li a:hover {
    text-decoration: underline;
}

/* ===== Nutrition — Flip Card ===== */
.nutrition-flip-card, .nutrition-card, .recipe-nutrition-flip,
.recipe-nutrition-flip-card, .recipe-nutrition-flipcard, .recipe-nutrition-card {
    perspective: 1000px;
    margin: 0 0 8px;
    cursor: pointer;
}
.nutrition-card-inner, .nutrition-inner, .recipe-nutrition-flip-inner, .recipe-nutrition-inner {
    position: relative;
    width: 100%;
    min-height: 200px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.nutrition-flip-card.flipped .nutrition-card-inner,
.nutrition-card.flipped .nutrition-inner,
.recipe-nutrition-flip.flipped .recipe-nutrition-flip-inner,
.recipe-nutrition-flip-card.flipped .recipe-nutrition-flip-inner,
.recipe-nutrition-flipcard.flipped .recipe-nutrition-flip-inner,
.recipe-nutrition-card.flipped .recipe-nutrition-inner {
    transform: rotateY(180deg);
}
.nutrition-card-front, .nutrition-front, .recipe-nutrition-front, .recipe-nutrition-flip-front {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: var(--orggu-radius);
    padding: 28px 24px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.nutrition-card-front h3, .nutrition-front h3, .recipe-nutrition-front h3 {
    font-size: 18px;
    font-weight: 800;
    color: #2e7d32;
    margin: 0 0 16px;
}
.nutrition-highlights, .nutrition-stats, .recipe-nutrition-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}
.nutrition-highlight-item, .nutrition-stat {
    text-align: center;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 70px;
}
.nutrition-value, .nutrition-highlight-item .nutrition-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1.2;
}
.nutrition-label, .nutrition-highlight-item .nutrition-label {
    display: block;
    font-size: 12px;
    color: var(--orggu-text-light);
    font-weight: 600;
    margin-top: 2px;
}
.flip-hint {
    font-size: 12px;
    color: var(--orggu-text-muted);
    margin: 8px 0 0;
    opacity: 0.7;
}
.flip-hint::before {
    content: '\1F504 ';
}

/* Nutrition back */
.nutrition-card-back, .nutrition-back, .recipe-nutrition-back, .recipe-nutrition-flip-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: var(--orggu-radius);
    padding: 24px;
    background: #fff;
    border: 2px solid #a5d6a7;
    transform: rotateY(180deg);
    box-sizing: border-box;
    box-shadow: var(--orggu-shadow);
}
.nutrition-card-back h3, .nutrition-back h3, .recipe-nutrition-back h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--orggu-text);
    margin: 0 0 16px;
    text-align: center;
}

/* ===== Nutrition Table — Stylish Design ===== */
.nutrition-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}
.nutrition-table tr {
    transition: background 0.2s;
}
.nutrition-table tr:nth-child(even) {
    background: #f8faf8;
}
.nutrition-table tr:hover {
    background: var(--orggu-green-light);
}
.nutrition-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eeeeee;
}
.nutrition-table td:first-child {
    font-weight: 600;
    color: var(--orggu-text);
    text-align: left;
}
.nutrition-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--orggu-green);
    font-size: 14px;
}
.nutrition-table tr:last-child td {
    border-bottom: none;
}

/* ===== "I Made This" Section ===== */
.celebration-section, .recipe-celebration, .recipe-i-made-this, .i-made-this {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f5f9f5, var(--orggu-green-light));
    border-radius: var(--orggu-radius);
    border: 1px dashed #a5d6a7;
}
.celebration-section h2, .recipe-i-made-this h2, .i-made-this h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--orggu-text);
    margin: 0 0 8px;
}
.i-made-this-btn, .imadethis-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--orggu-green), var(--orggu-green-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,102,0,0.3);
    letter-spacing: 0.3px;
}
.i-made-this-btn:hover, .imadethis-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,102,0,0.4);
}
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== Did You Know ===== */
.did-you-know, .recipe-didyouknow {
    background: linear-gradient(135deg, var(--orggu-green-light), #c8e6c9);
    border-radius: var(--orggu-radius);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.did-you-know::before, .recipe-didyouknow::before {
    content: '\1F331';
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 32px;
    opacity: 0.15;
}
.did-you-know h2, .recipe-didyouknow h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--orggu-green);
    margin: 0 0 10px;
}
.did-you-know p, .recipe-didyouknow p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ===== Share Section — Multi-Platform ===== */
.recipe-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.share-btn.copy-link { background: #607D8B; }
.share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
/* Legacy WhatsApp-only styles */
.whatsapp-share-btn, .recipe-whatsapp-btn, .whatsapp-btn, .recipe-share-whatsapp {
    display: none; /* Hidden when JS builds the new share section */
}

/* ===== Related Recipes ===== */
.related-recipes-grid, .related-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}
.related-recipe-card, .related-card {
    min-width: 160px;
    max-width: 200px;
    background: #fff;
    border-radius: var(--orggu-radius);
    box-shadow: var(--orggu-shadow);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}
.related-recipe-card:hover, .related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--orggu-shadow-lg);
}
.related-recipe-img-placeholder, .related-card-img {
    height: 100px;
    background: linear-gradient(135deg, #f5f9f5, var(--orggu-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.related-recipe-card h3, .related-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--orggu-text);
    margin: 10px 12px 4px;
}
.related-recipe-tag, .related-card-body span {
    display: inline-block;
    font-size: 11px;
    color: var(--orggu-green);
    font-weight: 600;
    background: var(--orggu-green-light);
    padding: 2px 10px;
    border-radius: 10px;
    margin: 0 12px 12px;
}

/* ===== Explore More ===== */
.explore-links, .explore-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.explore-link-card, .explore-grid a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid var(--orggu-green);
    border-radius: 30px;
    color: var(--orggu-green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}
.explore-link-card:hover, .explore-grid a:hover {
    background: var(--orggu-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,0,0.25);
}

/* ===== FAQ — Stylish Accordion ===== */
.faq-list, .recipe-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* Style native <details> elements */
.faq-item, .recipe-faq-item {
    background: #fff;
    border: 1px solid var(--orggu-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open], .faq-item.open, .recipe-faq-item[open], .recipe-faq-item.open {
    border-color: var(--orggu-green);
    box-shadow: 0 4px 16px rgba(0,102,0,0.1);
}
.faq-item summary, .recipe-faq-item summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--orggu-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color 0.2s, background 0.2s;
    -webkit-user-select: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker,
.recipe-faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after, .recipe-faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--orggu-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orggu-green-light);
    border-radius: 50%;
}
.faq-item[open] summary::after, .recipe-faq-item[open] summary::after {
    content: '\2212';
    transform: rotate(180deg);
    background: var(--orggu-green);
    color: #fff;
}
.faq-item[open] summary, .recipe-faq-item[open] summary {
    color: var(--orggu-green);
    background: #f8fdf8;
}
.faq-item summary:hover, .recipe-faq-item summary:hover {
    background: #fafafa;
}
.faq-item p, .faq-item .faq-answer, .recipe-faq-item p {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--orggu-text-light);
    margin: 0;
    animation: faqSlideDown 0.3s ease-out;
}
/* Custom div FAQ (non-details) */
.faq-question, .recipe-faq-question {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--orggu-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color 0.2s, background 0.2s;
}
.faq-icon, .recipe-faq-icon, .recipe-faq-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orggu-green-light);
    border-radius: 50%;
    font-size: 18px;
    color: var(--orggu-green);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.faq-item.open .faq-icon, .faq-item.open .recipe-faq-icon,
.recipe-faq-item.open .recipe-faq-icon, .recipe-faq-item.open .recipe-faq-arrow {
    background: var(--orggu-green);
    color: #fff;
    transform: rotate(180deg);
}
.faq-item.open .faq-question, .recipe-faq-item.open .recipe-faq-question {
    color: var(--orggu-green);
    background: #f8fdf8;
}
.faq-answer, .recipe-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.3s ease;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--orggu-text-light);
}
.faq-item.open .faq-answer, .recipe-faq-item.open .recipe-faq-answer {
    padding: 0 20px 16px;
}
@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Shop Sidebar ===== */
.shop-sidebar, .sidebar-shop {
    background: #fff;
    border: 1px solid var(--orggu-border);
    border-radius: var(--orggu-radius);
    padding: 18px;
    box-shadow: var(--orggu-shadow);
}
.shop-sidebar h3, .sidebar-shop h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--orggu-text);
    margin: 0 0 14px;
    text-align: center;
}
.shop-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.shop-product:last-of-type { border-bottom: none; }
.shop-product img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.shop-product-info { flex: 1; }
.shop-product-info .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--orggu-text);
}
.shop-product-info .price {
    font-size: 12px;
    color: var(--orggu-green);
    font-weight: 700;
}
.shop-add-btn {
    background: linear-gradient(135deg, var(--orggu-orange), var(--orggu-orange-dark));
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.shop-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255,109,0,0.35);
}
.shop-add-btn:active { transform: scale(0.93); }
.shop-add-btn.added { background: #4CAF50; }
.shop-trust {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--orggu-text-muted);
}

/* ===== Mobile Shop Strip ===== */
.mobile-shop-strip, .recipe-mobile-shop-strip {
    display: none;
    overflow-x: auto;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 0 20px;
    -webkit-overflow-scrolling: touch;
}
.strip-product {
    min-width: 130px;
    background: #fff;
    border: 1px solid var(--orggu-border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.strip-product img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 6px;
}
.strip-product .name {
    font-size: 11px;
    font-weight: 600;
    color: var(--orggu-text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.strip-product .price {
    font-size: 12px;
    color: var(--orggu-green);
    font-weight: 700;
    margin-bottom: 8px;
}

/* ===== Sticky Cart Bar ===== */
.sticky-cart-bar, .recipe-sticky-cart, .recipe-sticky-cart-bar {
    display: none !important;
}
.sticky-cart-inner, .recipe-sticky-cart-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}
.sticky-cart-count, .sticky-cart-text, .recipe-sticky-cart-info, .recipe-sticky-cart-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.sticky-cart-btn, .recipe-sticky-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--orggu-green);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
}
.sticky-cart-btn:hover, .recipe-sticky-cart-btn:hover {
    transform: scale(1.03);
}
.sticky-cart-bar button {
    display: block;
    width: 100%;
    background: #fff;
    color: var(--orggu-green);
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s;
}

/* ===== Footer — Proper Styled Layout ===== */
.recipe-footer {
    background: linear-gradient(135deg, #1a3a1a, #0d260d);
    color: #c8e6c9;
    padding: 0;
    margin-top: 40px;
}
.footer-inner, .recipe-footer-inner, .recipe-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 24px;
}
.footer-col {
    min-width: 0;
}
.footer-col h4, .recipe-footer h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--orggu-gold);
    border-radius: 2px;
}
.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #a5d6a7;
    margin: 0;
}
.footer-col ul, .recipe-footer-links ul, .recipe-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li, .recipe-footer-links li {
    margin-bottom: 8px;
}
.footer-col ul li a, .footer-col a, .recipe-footer-links a, .recipe-footer a {
    color: #a5d6a7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-col ul li a:hover, .recipe-footer-links a:hover, .recipe-footer a:hover {
    color: #fff;
    padding-left: 4px;
}
.footer-bottom, .recipe-footer-copy {
    text-align: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1000px;
    margin: 0 auto;
}
.footer-bottom p, .recipe-footer-copy p, .recipe-footer-copy {
    font-size: 13px;
    color: #7cb07e;
    margin: 0;
}
.recipe-footer-brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.recipe-footer-tagline {
    font-size: 13px;
    color: #a5d6a7;
    margin-bottom: 16px;
}
.recipe-footer-contact {
    font-size: 13px;
    color: #7cb07e;
    margin-top: 12px;
}

/* ===== Mobile Full Shop ===== */
.mobile-full-shop, .recipe-mobile-full-shop, .recipe-mobile-shop {
    background: linear-gradient(135deg, #f5f9f5, var(--orggu-green-light));
    border-radius: var(--orggu-radius);
    padding: 24px 16px;
    margin: 0 0 24px;
}
.mobile-full-shop h2, .mobile-full-shop h3,
.recipe-mobile-full-shop h2, .recipe-mobile-full-shop h3 {
    text-align: center;
    color: var(--orggu-text);
    font-weight: 800;
    margin: 0 0 16px;
}

/* ===== Recipe Index Page ===== */
.recipes-index {
    max-width: 900px;
    margin: 110px auto 60px;
    padding: 0 16px;
}
.recipes-index h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--orggu-text);
    text-align: center;
    margin: 0 0 8px;
}
.recipes-index .subtitle {
    font-size: 15px;
    color: var(--orggu-text-light);
    text-align: center;
    margin: 0 0 24px;
}
.recipe-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 24px;
}
.recipe-filter-btn {
    padding: 8px 18px;
    border: 2px solid var(--orggu-green);
    border-radius: 25px;
    background: #fff;
    color: var(--orggu-green);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
}
.recipe-filter-btn.active {
    background: var(--orggu-green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,102,0,0.3);
}
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.recipe-card {
    background: #fff;
    border-radius: var(--orggu-radius);
    box-shadow: var(--orggu-shadow);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--orggu-shadow-lg);
}
.recipe-card-img {
    height: 140px;
    background: linear-gradient(135deg, #f5f9f5, var(--orggu-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.recipe-card-body { padding: 14px; }
.recipe-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--orggu-text);
    margin: 0 0 6px;
}
.recipe-card-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--orggu-text-muted);
    margin: 0 0 8px;
}
.recipe-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--orggu-green);
}

/* ===== FAB Cart Button ===== */
.fab_cart {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orggu-green), var(--orggu-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,102,0,0.4);
    z-index: 997;
    text-decoration: none;
    transition: transform 0.2s;
}
.fab_cart:hover { transform: scale(1.1); }
.fab_cart_badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--orggu-orange);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Animations ===== */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,0,0.3); }
    50% { box-shadow: 0 0 0 10px rgba(0,102,0,0); }
}
.green-pulse { animation: pulse 0.6s ease-out; }

/* ===== Responsive — Mobile ===== */
@media (max-width: 767px) {
    .breadcrumb, .recipe-breadcrumb {
        margin-top: 130px;
    }
    .recipe-hero {
        padding: 20px 16px;
        border-radius: 0;
        margin: 0 0 16px;
    }
    .recipe-hero h1 { font-size: 22px; }
    .recipe-layout, .recipe-container, .recipe-two-col {
        flex-direction: column;
        padding: 0 12px;
    }
    .recipe-sidebar, .recipe-ingredients-col {
        display: none;
    }
    .mobile-shop-strip, .recipe-mobile-shop-strip {
        display: flex;
    }
    .sticky-cart-bar, .recipe-sticky-cart, .recipe-sticky-cart-bar {
        display: none !important;
    }
    .recipe-meta, .recipe-meta-row {
        gap: 8px;
        font-size: 13px;
    }
    .meta-item {
        padding: 3px 10px;
        font-size: 12px;
    }
    .nutrition-card-front, .nutrition-front, .recipe-nutrition-front,
    .nutrition-card-back, .nutrition-back, .recipe-nutrition-back,
    .recipe-nutrition-flip-front, .recipe-nutrition-flip-back {
        position: relative;
    }
    .nutrition-card-back, .nutrition-back, .recipe-nutrition-back, .recipe-nutrition-flip-back {
        display: none;
        transform: none;
    }
    .nutrition-flip-card.flipped .nutrition-card-front,
    .nutrition-card.flipped .nutrition-front,
    .recipe-nutrition-flip.flipped .recipe-nutrition-front,
    .recipe-nutrition-flip-card.flipped .recipe-nutrition-flip-front,
    .recipe-nutrition-flipcard.flipped .recipe-nutrition-front,
    .recipe-nutrition-card.flipped .recipe-nutrition-front {
        display: none;
    }
    .nutrition-flip-card.flipped .nutrition-card-back,
    .nutrition-card.flipped .nutrition-back,
    .recipe-nutrition-flip.flipped .recipe-nutrition-back,
    .recipe-nutrition-flip-card.flipped .recipe-nutrition-flip-back,
    .recipe-nutrition-flipcard.flipped .recipe-nutrition-back,
    .recipe-nutrition-card.flipped .recipe-nutrition-back {
        display: block;
    }
    .nutrition-highlights, .nutrition-stats, .recipe-nutrition-grid {
        gap: 10px;
    }
    .nutrition-highlight-item, .nutrition-stat {
        padding: 8px 12px;
        min-width: 60px;
    }
    .nutrition-value {
        font-size: 20px;
    }
    .recipes-index { margin-top: 130px; }
    .footer-inner, .recipe-footer-inner, .recipe-footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 20px 16px;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col, .recipe-footer-links {
        text-align: center;
    }
    .recipe-share-buttons {
        gap: 8px;
    }
    .share-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    .share-btn span.share-label {
        display: none;
    }
    .related-recipes-grid, .related-grid {
        gap: 10px;
    }
    .related-recipe-card, .related-card {
        min-width: 140px;
    }
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mobile-full-shop, .recipe-mobile-full-shop, .recipe-mobile-shop {
        display: none;
    }
}
