/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

:root {
    --brown: #542c15;
}

/** PRODUKT -> MODUŁ PYTAŃ  **/

.tarot-questions-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tarot-question-block {
    flex: 1 1 calc(25% - 1rem);
    min-width: 250px;
    padding: 1.5rem;
    /* background: #FFF5F1; */

    background: radial-gradient(circle 30px at 50% 0px, transparent 50%, #FFF5F1 60%), linear-gradient(#FFF5F1, #FFF5F1) top / 100% 0px no-repeat, linear-gradient(#FFF5F1, #FFF5F1) bottom / 100% 1px no-repeat, linear-gradient(#FFF5F1, #FFF5F1) left / 10px 100% no-repeat, linear-gradient(#FFF5F1, #FFF5F1) right / 21px 100% no-repeat, white;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    color: #777777;
    font-style: italic;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    overflow: visible;
}



.tarot-question-block::before {
    content: ''; /* Puste! */
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: 
        url('./assets/star.svg') no-repeat center/contain, 
        transparent;
    background-size: contain;
    opacity: 1;
    z-index: 2;
    animation: pulseSparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(113, 87, 74, 0.7));
}

@keyframes pulseSparkle {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) scale(1);
        text-shadow: 0 0 3px rgba(113, 87, 74, 0.7), 0 0 6px rgba(255, 220, 180, 0.8);
    }
    50% { 
        opacity: 0.9;
        transform: translateX(-50%) scale(1.1);
        text-shadow: 0 0 5px rgba(113, 87, 74, 0.9), 0 0 10px rgba(255, 220, 180, 1);
    }
}


@media (max-width: 768px) {
    .tarot-question-block {
        flex: 1 1 100%;
    }
}
@media (max-width: 480px) {
    .tarot-question-block {
        flex: 1 1 calc(50% - 0.5rem);
    }
}


.tarot-questions-section {
    position: relative;
    overflow: hidden;
}


.tarot-questions-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.tarot-main-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}


.tarot-subtitle {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

/** -- PRODUKT -> MODUŁ PYTAŃ **/

.production-time-container {
    display: flex;
    align-items: center;
    gap: 0;
}
.tarot-production-time {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #333333;
    padding-left: 2px;
    margin-top: 1px;
}

.sticky-product .availability {
    display: none;
}


.shop_table .variation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
}

.tarot-custom-fields {
    width: 100%;
}

/** FAQ **/


details.faq-item {
    padding: 5px 0;
}

.faq-item > div {
    padding: 10px 0;
}

.faq-item summary::marker {
    color: var(--brown);
}
