/* 
Theme Name: Vealacademy
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.wpfm-results,
.wpmf-container, .facetly-container{
	padding: 0 !important; 
}

/* ─── WP Filter Magic overrides ───────────────────────────────────────────── */
:root {
    --wpmf-primary: #ff6653;
    --wpmf-primary-dark: #e55543;
}

/* Add your custom styles here */

/* ─── Recipe Instructions ─────────────────────────────────────────────────── */
.recipe-instructions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.recipe-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

/* ─── Recipe Ingredients ───────────────────────────────────────────────────── */
.recipe-ingredients {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-ingredients-section {
    margin: 16px 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.recipe-ingredients-section:first-child {
    margin-top: 0;
}

.recipe-ingredient {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}


.recipe-ingredient input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #FF6653;
    cursor: pointer;
}

.recipe-ingredient label {
    cursor: pointer;
}

.recipe-ingredient input[type="checkbox"]:checked + label,
.recipe-equipment-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    opacity: 0.5;
}

/* ─── Recipe Equipment ────────────────────────────────────────────────────── */
.recipe-equipment {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recipe-equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}


.recipe-equipment-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #FF6653;
    cursor: pointer;
}

.recipe-equipment-item label {
    cursor: pointer;
}

.recipe-step-text {
    margin: 0;
    padding-top: 8px;
    font-size: 16px;
    line-height: 1.6;
}

/* ─── Recipe Print Button ─────────────────────────────────────────────────── */
.recipe-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid #555;
    border-radius: 999px;
    background: transparent;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.recipe-print-btn:hover {
    background: #333;
    color: #fff;
}

.recipe-print-btn svg {
    display: block;
}

/* ─── Recipe Tags ─────────────────────────────────────────────────────────── */
.recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recipe-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #C8CECD;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* ─── Recipe Servings Calculator ───────────────────────────────────────────── */
.recipe-servings-calc {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.recipe-servings-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #FF6653;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s;
}

.recipe-servings-btn:hover {
    opacity: 0.85;
}

.recipe-servings-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.recipe-servings-btn svg {
    display: block;
}

.recipe-servings-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    min-width: 100px;
    text-align: center;
}

/* ─── Recipe Meta ─────────────────────────────────────────────────────────── */
.recipe-meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.recipe-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.recipe-meta-item svg {
    display: block;
    flex-shrink: 0;
}

/* ─── Print Styles ────────────────────────────────────────────────────────── */
@media print {
    /* Hide everything except recipe content */
    header, footer, nav, aside,
    .elementor-location-header,
    .elementor-location-footer,
    .site-header, .site-footer,
    .recipe-print-btn,
    .recipe-ingredient input[type="checkbox"],
    .recipe-equipment-item input[type="checkbox"],
    #wpadminbar {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Clean up recipe elements for print */
    .recipe-step-number {
        background-color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .recipe-ingredient,
    .recipe-equipment-item {
        border-bottom-color: #ccc !important;
    }

    .recipe-ingredient label,
    .recipe-equipment-item label {
        padding-left: 0;
    }

    /* Checked items stay struck through in print */
    .recipe-ingredient input[type="checkbox"]:checked + label,
    .recipe-equipment-item input[type="checkbox"]:checked + label {
        text-decoration: line-through;
        opacity: 0.5;
    }

    /* Avoid page breaks inside steps */
    .recipe-step {
        break-inside: avoid;
    }
}



/* ─── Cooking Technique Pages ─────────────────────────────────────────────── */
.technique-description {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    max-width: 720px;
}

.technique-video {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.technique-video iframe,
.technique-video video {
    border-radius: 12px;
}

.technique-recipe-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.technique-recipe-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.technique-recipe-title {
    font-size: 17px;
    font-weight: 700;
    color: #FF6653;
    margin: 12px 16px 4px;
}

.technique-recipe-meta {
    display: flex;
    gap: 12px;
    padding: 4px 16px 16px;
    font-size: 14px;
    color: #777;
}

.technique-recipe-meta-item {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 640px) {
    .technique-recipes {
        grid-template-columns: 1fr !important;
    }
}


.gt_selector{
    font-size: 14px;
    padding: 5px 10px;
background-position: right 5px center !important;

    appearance: none;
    -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}


.product-card:hover a{
	text-decoration: none !important;
}