/*
Theme Name: Vivere
Theme URI: https://example.com/vivere
Author: Vivere
Description: Custom WordPress theme for Vivere.
Version: 1.0.0
Text Domain: vivere
*/

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
}

body {
    font-family: 'Quicksand', sans-serif;
}

h1,
h2,
h3,
h4,
.font-headline {
    font-family: 'Fredoka', sans-serif;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fef9f2;
}

::-webkit-scrollbar-thumb {
    background: #dfc0b4;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a33e00;
}

/* Avoid conflict with WordPress body class "page". */
.custom-page {
    display: none;
}

.custom-page.active {
    display: block;
}

.badge {
    display: inline-block;
    padding: 2px 12px;
    background: #fff3ee;
    color: #a33e00;
    border: 1px solid #ffb596;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stat-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(163, 62, 0, .07);
}

.card-hover {
    transition: transform .2s, box-shadow .2s;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(163, 62, 0, .13);
}

.step-num {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: #ffb596;
    font-weight: 700;
    line-height: 1;
}

.gradient-hero {
    background: linear-gradient(135deg, #fff7f2 0%, #fef9f2 60%, #ffe8d8 100%);
}

.orange-dot {
    width: 8px;
    height: 8px;
    background: #ff7f41;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
}

.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    background: #fff3ee;
    color: #a33e00;
    border: 1px solid #ffdbcd;
    margin: 3px;
}

.nav-link-active {
    color: #a33e00 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-in {
    animation: fadeIn .5s ease forwards;
}

.sale-bar {
    background: linear-gradient(90deg, #a33e00, #ff7f41);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.science-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(163, 62, 0, .07);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.science-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(163, 62, 0, .14);
}

.science-card .sci-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: #ffe8d8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(163, 62, 0, .07);
    transition: transform .2s;
}

.bio-card:hover {
    transform: translateY(-5px);
}

.story-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(163, 62, 0, .08);
    border-left: 4px solid #ff7f41;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7f41, #a33e00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Fredoka', sans-serif;
    flex-shrink: 0;
}

.price-cross {
    text-decoration: line-through;
    color: #aaa;
}

.price-main {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    color: #a33e00;
}

.green-check::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    margin-right: 8px;
}

.nad-feature {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2ede7;
    align-items: flex-start;
}

.nad-feature:last-child {
    border-bottom: none;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}


.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}


.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Slide Up Animation */

.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.animate-slide-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 0.2s;
}


 .tab-btn {
                padding: 10px 18px;
                border: 1px solid #000;
                border-radius: 999px;
                font-size: 14px;
                transition: 0.3s;
            }

            .tab-btn.active {
                background: #000;
                color: #fff;
            }

            .tab-content {
                opacity: 0;
                transform: translateY(20px);
                transition: all 0.6s ease;
            }

            .tab-content.active {
                display: block;
                opacity: 1;
                transform: translateY(0);
            }

            .animate-fade {
                animation: fadeInSoft 0.6s ease;
            }

            @keyframes fadeInSoft {
                from {
                    opacity: 0;
                    transform: translateY(20px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .reveal {
                animation: slideIn 0.8s ease;
            }

            @keyframes slideIn {
                from {
                    opacity: 0;
                    transform: translateX(-30px);
                }

                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }

            @keyframes fadeUp {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .animate-fade-up {
                opacity: 0;
                animation: fadeUp 0.8s ease forwards;
            }

            .delay-100 {
                animation-delay: 0.1s;
            }

            .delay-200 {
                animation-delay: 0.2s;
            }

            .delay-300 {
                animation-delay: 0.3s;
            }

            .delay-500 {
                animation-delay: 0.5s;
            }



    .pill {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid black;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .pill {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        font-size: 1rem;
    }
}

.pill:hover {
    border-color: #f97316;
    color: #f97316;
}


.thumb {
    width: 78px;
    height: 83px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: 0.2s;
}

@media (min-width: 1024px) {
    .thumb {
        width: 105px;
        height: 110px;
    }
}

.active-thumb {
    border: 2px solid #f97316;
}

.option-btn {
    height: 40px;
    padding: 0 16px;
    border: 1px solid #f97316;
    border-radius: 8px;
    background: white;
    transition: 0.2s;
}

.option-btn.active {
    background: #ffe8d6;
}

/* WooCommerce product grid layout (matches Shop card style). */
ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    list-style: none;
}

ul.products li.product .button {
    background: #ff7f41;
    color: #fff;
    border-radius: 9999px;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

ul.products li.product .button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    display: none !important;
}
/* Fix quantity and button layout */
.single-product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-product .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.single-product .quantity input[type="number"] {
    border: none !important;
    width: 70px !important;
    padding: 10px 8px !important;
    text-align: center;
    font-size: 16px;
}

.single_add_to_cart_button {
    background-color: #ff772e !important;
    color: white !important;
    border: none !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    font-size: 16px !important;
}

.single_add_to_cart_button:hover {
    background-color: #e5682a !important;
}

/* Variable product options styling */
.variations {
    margin-bottom: 20px;
}

.variation {
    margin-bottom: 20px;
}

.variation label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1d1b18;
    font-family: 'Fredoka', sans-serif;
}

.variation select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ff772e !important;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    color: #1d1b18;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
}

.variation select:hover {
    border-color: #e5682a !important;
}

.variation select:focus {
    outline: none;
    border-color: #ff772e !important;
    box-shadow: 0 0 0 3px rgba(255, 119, 46, 0.1);
}


/* Fix quantity and button layout */
.single-product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single_add_to_cart_button {
    background-color: #ff772e !important;
    color: white !important;
    padding: 12px 32px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.single_add_to_cart_button:hover {
    background-color: #e5682a !important;
}

/* Variable product styling */
.variation select {
    border: 2px solid #ff772e !important;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
}

.variation label {
    font-weight: 600;
    color: #1d1b18;
    font-family: 'Fredoka', sans-serif;
}




 @keyframes fadeIn {
                        from {
                            opacity: 0;
                            transform: scale(0.95);
                        }

                        to {
                            opacity: 1;
                            transform: scale(1);
                        }
                    }

                    .animate-fadeIn {
                        animation: fadeIn 0.25s ease-out;
                    }





/* Contact Form 7 Responsive Fix */

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.wpcf7-form textarea {
    min-height: 140px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #14b8a6;
}

/* Button */

.wpcf7-submit {
    width: 100%;
    background: #ff772f;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
}

.wpcf7-submit:hover {
    opacity: 0.9;
}





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




/* Mobile par 1 product per row */
@media (max-width: 640px) {

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
  }

}

/* Cart + Checkout buttons */
.woocommerce a.checkout-button,
.woocommerce button.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background-color: #ff772e !important;
  border-color: #ff772e !important;
  color: #ffffff !important;
}

.woocommerce a.checkout-button:hover {
  background-color: #e5671f !important;
  border-color: #e5671f !important;
}