/* =========================================
   WORLD OF PADEL RACKET FINDER
   WHITE VERSION FOR BLACK BACKGROUND
   ========================================= */

#wop-racket-finder {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
    color: #ffffff !important;
}


/* =========================================
   QUESTION VISIBILITY
   IMPORTANT: ONLY ONE QUESTION AT A TIME
   ========================================= */

#wop-racket-finder .wop-rf-step {
    display: none !important;
}

#wop-racket-finder .wop-rf-step.active {
    display: block !important;
}


/* =========================================
   PROGRESS BAR
   ========================================= */

#wop-racket-finder .wop-rf-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.30) !important;
    margin-bottom: 35px;
    overflow: hidden;
}

#wop-racket-finder .wop-rf-progress-bar {
    display: block;
    width: 20%;
    height: 100%;
    background: #ffffff !important;
    transition: width 0.3s ease;
}


/* =========================================
   QUESTION HEADINGS
   ========================================= */

#wop-racket-finder .wop-rf-step h2 {
    font-family: inherit;
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 35px;
}


/* =========================================
   ANSWER BUTTONS
   ========================================= */

#wop-racket-finder .wop-rf-option {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    padding: 18px 25px;

    background: transparent !important;

    border: 1px solid #ffffff !important;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;

    box-shadow: none !important;
}


/* =========================================
   BUTTON HOVER
   WHITE BACKGROUND
   BLACK TEXT
   ========================================= */

#wop-racket-finder .wop-rf-option:hover,
#wop-racket-finder .wop-rf-option:focus {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    outline: none !important;
}


/* =========================================
   BACK BUTTON
   ========================================= */

#wop-racket-finder .wop-rf-back {
    background: transparent !important;
    border: 0 !important;
    color: #ffffff !important;

    font-family: inherit;
    font-size: 15px;

    cursor: pointer;

    margin-top: 15px;
    padding: 5px 0;

    box-shadow: none !important;
}


/* Back button hover */

#wop-racket-finder .wop-rf-back:hover {
    background: transparent !important;
    color: #ffffff !important;
    opacity: 0.7;
}


/* Disabled back button */

#wop-racket-finder .wop-rf-back:disabled {
    opacity: 0.45 !important;
    cursor: default;
}


/* =========================================
   RESULTS
   ========================================= */

#wop-racket-finder .wop-rf-results h2 {
    color: #ffffff !important;
}

#wop-racket-finder .wop-rf-loading {
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 25px;
}


/* =========================================
   PRODUCT GRID
   ========================================= */

#wop-racket-finder .wop-rf-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* =========================================
   PRODUCT CARD
   ========================================= */

#wop-racket-finder .wop-rf-product {
    border: 1px solid #ffffff !important;
    background: transparent !important;
    padding: 15px;
    color: #ffffff !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}


/* Product card hover */

#wop-racket-finder .wop-rf-product:hover {
    border-color: #ffffff !important;
}


/* =========================================
   PRODUCT IMAGE
   ========================================= */

#wop-racket-finder .wop-rf-product img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================
   PRODUCT TITLE
   ========================================= */

#wop-racket-finder .wop-rf-product-title {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 8px;
}


/* =========================================
   PRODUCT PRICE
   ========================================= */

#wop-racket-finder .wop-rf-product-price {
    color: #ffffff !important;
    margin-bottom: 15px;
}


/* Make WooCommerce price white */

#wop-racket-finder .wop-rf-product-price,
#wop-racket-finder .wop-rf-product-price *,
#wop-racket-finder .price,
#wop-racket-finder .price * {
    color: #ffffff !important;
}


/* =========================================
   VIEW RACKET LINK
   ========================================= */

#wop-racket-finder .wop-rf-product-link {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: underline;
}

#wop-racket-finder .wop-rf-product-link:hover {
    color: #ffffff !important;
    opacity: 0.7;
}


/* =========================================
   RESTART BUTTON
   ========================================= */

#wop-racket-finder .wop-rf-restart {
    background: transparent !important;

    border: 1px solid #ffffff !important;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 15px;

    cursor: pointer;

    padding: 12px 25px;
    margin-top: 25px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Restart hover */

#wop-racket-finder .wop-rf-restart:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}


/* =========================================
   REMOVE THEME / ELEMENTOR BUTTON STYLING
   ========================================= */

#wop-racket-finder button {
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none !important;
}

#wop-racket-finder button::before,
#wop-racket-finder button::after {
    display: none !important;
}


/* =========================================
   MOBILE TABLET
   ========================================= */

@media (max-width: 768px) {

    #wop-racket-finder .wop-rf-step h2 {
        font-size: 24px;
    }

    #wop-racket-finder .wop-rf-products {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

    #wop-racket-finder .wop-rf-step h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    #wop-racket-finder .wop-rf-option {
        padding: 15px 18px;
        font-size: 15px;
    }

    #wop-racket-finder .wop-rf-products {
        grid-template-columns: 1fr;
    }

}