/*
 Theme Name:   BenHer Child
 Theme URI:    https://benher.wpengine.com/
 Description:  BenHer Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     benher
 Version:      1.0.0
 Text Domain:  benher-child
 Tested up to: 6.9 
 Requires PHP: 7.4
 Tags: Blog,Portfolio
 License: GNU General Public License v2 or later License URI: https: //www.gnu.org/licenses/gpl-2.0.html
 Copyright (C) 2026 buddhathemes. All rights reserved.
*/
/* ==========================================================
   Smart Color Quiz CSS - BenHer Child Theme
========================================================== */

body.page-template-color-genius .site-content,
body.page-template-color-genius main,
body.page-template-color-genius .content-area {
    overflow: visible !important;
}

body.page-template-color-genius .container {
    max-width: 1180px;
}

.quiz {
    margin: 70px 0;
    width: 100%;
}

.quiz-step {
    padding-bottom: 32px;
    display: none;
}

.quiz-step.is-visible,
.quiz-step[aria-hidden="false"] {
    display: block;
}

.quiz-step__inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.quiz-step__avatar {
    width: 44px;
    min-width: 44px;
    margin-top: 4px;
}

.quiz-step__avatar img,
.quiz-step__avatar svg {
    max-width: 44px;
    height: auto;
    display: block;
}

.quiz-step__content {
    width: 100%;
}

.quiz-step__text {
    background: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 1px 7px 13px 1px rgba(89, 122, 138, 0.08);
    max-width: 760px;
}

.quiz-step__text p {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #5a5a5a;
}

.quiz-step__text .question,
.quiz-step__text strong {
    color: #333;
    font-weight: 700;
}

.quiz-step__content.listing {
    max-width: 900px;
}

.quiz__buttons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px;
    margin-top: 22px;
    width: 100%;
}

.quiz__buttons .__button {
    width: 145px !important;
    height: 145px !important;
    min-width: 145px;
    padding: 14px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 34px;
    background: #003149;
    color: #fff;
    box-shadow: 1px 7px 13px 1px rgba(89, 122, 138, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz__buttons .__button:hover,
.quiz__buttons .__button.color-genius-selected,
.quiz__buttons .__button.is-selected {
    background: #6bc9ec;
    color: #003149;
    transform: translateY(-2px);
}

.quiz__buttons .__button__content {
    width: 100%;
    text-align: center;
}

.quiz__buttons .__button__content img {
    display: block;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.quiz__buttons .__button__content .__label,
.quiz__buttons .__button__content p {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.quiz__buttons .__button__content small {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 6px;
    color: inherit;
    opacity: 0.85;
}

/* Vibe and decor text buttons */
.vibe__list,
.step-list-listing {
    max-width: 900px;
}

.vibe__list .__button,
.step-list-listing .__button {
    width: auto !important;
    height: auto !important;
    min-width: auto;
    border-radius: 999px;
    padding: 12px 22px !important;
    background: #fff;
    color: #003149;
    border: 1px solid #003149 !important;
    box-shadow: none;
}

.vibe__list .__button:hover,
.vibe__list .__button.color-genius-selected,
.step-list-listing .__button:hover,
.step-list-listing .__button.color-genius-selected {
    background: #003149;
    color: #fff;
}

/* Color step */
#keyColor .quiz__buttons .__button {
    width: auto !important;
    height: auto !important;
    min-width: 95px;
    border-radius: 18px;
    background: #fff;
    color: #003149;
    border: 1px solid #ddd !important;
}

#keyColor .quiz__color__buttons .__button__color {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

#keyColorLightness .quiz__buttons .__button {
    width: 80px !important;
    min-width: 80px;
    height: 105px !important;
    padding: 0 !important;
    border-radius: 10px;
    overflow: hidden;
}

#keyColorLightness .color__bar {
    display: block;
    width: 100%;
    height: 100%;
}

/* Color attitude */
#colorAttitude .quiz__buttons .__button {
    width: 150px !important;
    height: 150px !important;
}

/* Newsletter/signup step */
.quiz-newsletter {
    padding: 60px 30px;
    text-align: center;
}

.quiz-newsletter h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.sign-quiz {
    background-size: cover !important;
    background-position: center !important;
    padding: 50px 30px;
    color: #fff;
}

.sign-quiz p,
.sign-quiz h2 {
    color: #fff;
}

.quiz-skip-link {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none;
}

/* Result products */
.colors-grid__css-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.colors-grid__css-grid .__item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 1px 7px 13px 1px rgba(89, 122, 138, 0.12);
    text-align: center;
}

.color__swatch {
    cursor: pointer;
}

.color__swatch img {
    width: 100%;
    height: auto;
    display: block;
}

.color-card__cta {
    padding: 18px;
}

.color-card__title {
    font-size: 18px;
    margin: 0 0 12px;
}

.color-card__cta-hover .details {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #6bc9ec;
    color: #003149;
    font-weight: 700;
    text-decoration: none;
}

/* Remove BenHer floating cart overlap only on quiz page */
body.page-template-color-genius .cart-trigger,
body.page-template-color-genius .woo-floating-cart,
body.page-template-color-genius .side-cart,
body.page-template-color-genius .dt-sc-shop-cart-widget {
    z-index: 20;
}

/* Tablet */
@media (max-width: 991px) {
    .quiz {
        margin: 45px 0;
    }

    .quiz-step__inner {
        align-items: flex-start;
    }

    .quiz__buttons .__button {
        width: 130px !important;
        min-width: 130px;
        height: 130px !important;
    }

    .colors-grid__css-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 575px) {
    .quiz-step__inner {
        gap: 10px;
    }

    .quiz-step__avatar {
        width: 36px;
        min-width: 36px;
    }

    .quiz-step__avatar img,
    .quiz-step__avatar svg {
        max-width: 36px;
    }

    .quiz-step__text {
        padding: 14px 16px;
    }

    .quiz__buttons {
        gap: 10px;
    }

    .quiz__buttons .__button {
        width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px);
        height: 125px !important;
        border-radius: 26px;
    }

    .vibe__list .__button,
    .step-list-listing .__button {
        width: auto !important;
        min-width: auto;
        height: auto !important;
    }

    .colors-grid__css-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Smart Color Quiz - BenHer Layout Fix
   Add this AFTER the previous quiz CSS
========================================================== */

body.page-template-color-genius .main-title-section-wrapper {
    margin-bottom: 0 !important;
}

body.page-template-color-genius .wrapper,
body.page-template-color-genius .main,
body.page-template-color-genius #main,
body.page-template-color-genius .site-content,
body.page-template-color-genius .content,
body.page-template-color-genius .content-area,
body.page-template-color-genius .container {
    width: 100% !important;
    max-width: none !important;
}

body.page-template-color-genius .quiz {
    width: 100% !important;
    max-width: 980px !important;
    margin: 90px auto !important;
    padding: 0 20px !important;
}

body.page-template-color-genius .quiz-step {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__inner {
    width: 100% !important;
    max-width: 980px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

body.page-template-color-genius .quiz-step__content,
body.page-template-color-genius .quiz-step__content.listing {
    width: 100% !important;
    max-width: 900px !important;
    flex: 1 1 auto !important;
}

body.page-template-color-genius .quiz-step__text {
    max-width: 650px !important;
    width: fit-content !important;
}

body.page-template-color-genius .quiz__buttons {
    width: 100% !important;
    max-width: 900px !important;
    display: grid !important;
    grid-template-columns: repeat(5, 145px) !important;
    gap: 18px !important;
    justify-content: start !important;
    align-items: stretch !important;
    margin-top: 24px !important;
}

body.page-template-color-genius .quiz__buttons .__button {
    width: 145px !important;
    height: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
}

body.page-template-color-genius .quiz__buttons .__button__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body.page-template-color-genius .quiz__buttons .__button__content img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
}

/* Remove the narrow white card around the room buttons */
body.page-template-color-genius .quiz-step__content.listing {
    box-shadow: none !important;
    background: transparent !important;
}

/* Fix text-only choices like vibe and decor */
body.page-template-color-genius #vibe .quiz__buttons,
body.page-template-color-genius #decorStyle .quiz__buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
}

body.page-template-color-genius #vibe .quiz__buttons .__button,
body.page-template-color-genius #decorStyle .quiz__buttons .__button {
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

/* Tablet */
@media (max-width: 991px) {
    body.page-template-color-genius .quiz {
        max-width: 760px !important;
    }

    body.page-template-color-genius .quiz__buttons {
        grid-template-columns: repeat(4, 130px) !important;
        gap: 14px !important;
    }

    body.page-template-color-genius .quiz__buttons .__button {
        width: 130px !important;
        height: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius .quiz {
        margin: 45px auto !important;
        padding: 0 14px !important;
    }

    body.page-template-color-genius .quiz-step__inner {
        gap: 10px !important;
    }

    body.page-template-color-genius .quiz__buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body.page-template-color-genius .quiz__buttons .__button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 125px !important;
    }
}



/* Smart Color Quiz avatar replacement */
.quiz-avatar-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #003149;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}



/* ==========================================================
   Smart Color Quiz - Final Grid Fix for Current HTML
   Add this at the VERY BOTTOM of style.css
========================================================== */

body.page-template-color-genius .quiz {
    max-width: 980px !important;
    margin: 80px auto !important;
    padding: 0 20px !important;
}

body.page-template-color-genius .quiz > .container {
    width: 100% !important;
    max-width: 980px !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

/* Main chat rows */
body.page-template-color-genius .quiz-step {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto 32px !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__inner {
    width: 100% !important;
    max-width: 980px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

/* Text bubble */
body.page-template-color-genius .quiz-step__bubble,
body.page-template-color-genius .quiz-step__text:not(.listing):not(.color-listing):not(.color-bar-listing):not(.step-list-listing) {
    display: inline-block !important;
    width: auto !important;
    max-width: 680px !important;
    background: #ffffff !important;
    padding: 18px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
}

/* The important fix: make the listing box the actual grid */
body.page-template-color-genius .quiz-step__text.listing {
    display: grid !important;
    grid-template-columns: repeat(5, 145px) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 820px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Each Angular repeated wrapper becomes only a grid item */
body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons {
    display: block !important;
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    height: 145px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Actual card button */
body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons > .__button {
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    height: 145px !important;
    margin: 0 !important;
    padding: 16px !important;
    border-radius: 26px !important;
    background: #003149 !important;
    color: #ffffff !important;
    border: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    box-shadow: 0 10px 25px rgba(0,49,73,0.12) !important;
}

/* Button content */
body.page-template-color-genius .quiz-step__text.listing .__button__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

body.page-template-color-genius .quiz-step__text.listing .__button__content img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
}

body.page-template-color-genius .quiz-step__text.listing .__label,
body.page-template-color-genius .quiz-step__text.listing p {
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

body.page-template-color-genius .quiz-step__text.listing small {
    color: inherit !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-top: 6px !important;
    opacity: 0.85 !important;
}

/* Selected / hover */
body.page-template-color-genius .quiz-step__text.listing .__button:hover,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected {
    background: #6bc9ec !important;
    color: #003149 !important;
    transform: translateY(-2px) !important;
}

/* Vibe and decor text steps */
body.page-template-color-genius .quiz-step__text.step-list-listing {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 850px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__text.step-list-listing > .quiz__buttons {
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__text.step-list-listing .__button {
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 12px 22px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #003149 !important;
    border: 1px solid #003149 !important;
    box-shadow: none !important;
}

body.page-template-color-genius .quiz-step__text.step-list-listing .__button:hover,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected {
    background: #003149 !important;
    color: #ffffff !important;
}

/* Color listing step */
body.page-template-color-genius .quiz-step__text.color-listing {
    display: grid !important;
    grid-template-columns: repeat(6, 100px) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 700px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__text.color-listing > .quiz__buttons {
    display: block !important;
    width: 100px !important;
    height: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-template-color-genius .quiz-step__text.color-listing .__button {
    width: 100px !important;
    height: 110px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #003149 !important;
    border: 1px solid #dddddd !important;
}

body.page-template-color-genius .quiz-step__text.color-listing .__button__color {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    margin: 0 auto 8px !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
}

/* Avatar */
body.page-template-color-genius .quiz-avatar-dot {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #003149 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Remove extra loader SVG space */
body.page-template-color-genius .flipchar svg {
    display: none !important;
}

body.page-template-color-genius .loader,
body.page-template-color-genius .loader-bg,
body.page-template-color-genius .loader-bg span {
    width: 38px !important;
    height: 38px !important;
    display: block !important;
}

/* Tablet */
@media (max-width: 991px) {
    body.page-template-color-genius .quiz-step__text.listing {
        grid-template-columns: repeat(4, 130px) !important;
        max-width: 575px !important;
        gap: 14px !important;
    }

    body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons,
    body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons > .__button {
        width: 130px !important;
        max-width: 130px !important;
        min-width: 130px !important;
        height: 130px !important;
    }

    body.page-template-color-genius .quiz-step__text.color-listing {
        grid-template-columns: repeat(4, 100px) !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius .quiz {
        margin: 45px auto !important;
        padding: 0 14px !important;
    }

    body.page-template-color-genius .quiz-step__inner {
        gap: 10px !important;
    }

    body.page-template-color-genius .quiz-step__text.listing {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100% !important;
        gap: 12px !important;
    }

    body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons,
    body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons > .__button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 125px !important;
    }

    body.page-template-color-genius .quiz-step__text.color-listing {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100% !important;
    }

    body.page-template-color-genius .quiz-step__text.color-listing > .quiz__buttons,
    body.page-template-color-genius .quiz-step__text.color-listing .__button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}




/* ==========================================================
   Smart Color Quiz - Modern Signup Section Fix
   Add at VERY BOTTOM of style.css
========================================================== */

body.page-template-color-genius #registerForMore.sign-quiz {
    width: 100% !important;
    max-width: 720px !important;
    margin: 60px auto 80px !important;
    padding: 42px 44px !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 55px rgba(0, 49, 73, 0.10) !important;
    color: #003149 !important;
    text-align: left !important;
}

body.page-template-color-genius #registerForMore .newsletter-cta__text,
body.page-template-color-genius #registerForMore .newsletter-cta__text-inner,
body.page-template-color-genius #registerForMore .newsletter-cta__text-inner-area {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

body.page-template-color-genius #registerForMore h3,
body.page-template-color-genius #registerForMore .al {
    color: #003149 !important;
    font-size: 34px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    text-align: left !important;
}

body.page-template-color-genius #registerForMore p {
    color: #53676f !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 0 24px !important;
    text-align: left !important;
}

/* Email form wrapper */
body.page-template-color-genius #registerForMore form.newsletter {
    width: 100% !important;
    max-width: 580px !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Email input */
body.page-template-color-genius #registerForMore input#email,
body.page-template-color-genius #registerForMore input.reader {
    width: 100% !important;
    height: 58px !important;
    padding: 0 78px 0 22px !important;
    border: 1px solid #d8e2e6 !important;
    border-radius: 999px !important;
    background: #f8fbfc !important;
    color: #003149 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: none !important;
}

body.page-template-color-genius #registerForMore input#email::placeholder {
    color: #7b929c !important;
    opacity: 1 !important;
}

body.page-template-color-genius #registerForMore input#email:focus {
    border-color: #6bc9ec !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(107, 201, 236, 0.18) !important;
}

/* Submit arrow button */
body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    bottom: auto !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #003149 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transform: none !important;
}

body.page-template-color-genius #registerForMore form.newsletter button[type="submit"]:hover {
    background: #6bc9ec !important;
    color: #003149 !important;
}

/* Checkbox row */
body.page-template-color-genius #registerForMore .checkbox_one {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    color: #003149 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: transparent !important;
}

body.page-template-color-genius #registerForMore .checkbox_one input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    accent-color: #003149 !important;
    margin: 0 !important;
    opacity: 1 !important;
    position: static !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
}

body.page-template-color-genius #registerForMore .checkbox_one span,
body.page-template-color-genius #registerForMore .checkbox_one .inline-block,
body.page-template-color-genius #registerForMore .checkbox_one .rel {
    color: #003149 !important;
    background: transparent !important;
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide old custom checkbox decoration if theme creates it */
body.page-template-color-genius #registerForMore .checkbox_one .__check {
    display: none !important;
}

/* Sign in text as button */
body.page-template-color-genius #registerForMore .tac__account {
    margin: 22px 0 0 !important;
    color: #53676f !important;
    font-size: 0 !important;
}

body.page-template-color-genius #registerForMore .tac__account br {
    display: none !important;
}

body.page-template-color-genius #registerForMore .tac__account::before {
    content: "Already have an account?";
    display: inline-block;
    color: #53676f;
    font-size: 15px;
    margin-right: 12px;
}

body.page-template-color-genius #registerForMore .tac__account a,
body.page-template-color-genius #registerForMore .tac__account a.is-quiet {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 24px !important;
    border-radius: 999px !important;
    background: #eef8fb !important;
    color: #003149 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid #ccecf7 !important;
}

body.page-template-color-genius #registerForMore .tac__account a:hover {
    background: #003149 !important;
    color: #ffffff !important;
}

/* Skip button */
body.page-template-color-genius #registerForMore .quiz-skip-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 30px 0 0 !important;
    min-height: 52px !important;
    padding: 14px 32px !important;
    border-radius: 999px !important;
    background: #003149 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.page-template-color-genius #registerForMore .quiz-skip-link:hover {
    background: #6bc9ec !important;
    color: #003149 !important;
}

/* Remove random dot/loading mark beside signup section */
body.page-template-color-genius #registerForMore + .filter-panel__content,
body.page-template-color-genius #registerForMore .rel::after,
body.page-template-color-genius #registerForMore .rel::before {
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius #registerForMore.sign-quiz {
        max-width: calc(100% - 28px) !important;
        margin: 40px auto 60px !important;
        padding: 30px 22px !important;
        border-radius: 22px !important;
    }

    body.page-template-color-genius #registerForMore h3,
    body.page-template-color-genius #registerForMore .al {
        font-size: 26px !important;
    }

    body.page-template-color-genius #registerForMore .tac__account::before {
        display: block;
        margin: 0 0 10px;
    }

    body.page-template-color-genius #registerForMore .quiz-skip-link {
        width: 100% !important;
    }
}

/* ==========================================================
   Smart Color Quiz - Mobile Overlap + Email Arrow Fix
   Add at VERY BOTTOM of style.css
========================================================== */

/* Fix color attitude cards on all devices */
body.page-template-color-genius #colorAttitude .quiz-step__text.listing {
    display: grid !important;
    grid-template-columns: repeat(4, 155px) !important;
    gap: 22px !important;
    max-width: 710px !important;
    width: 100% !important;
}

body.page-template-color-genius #colorAttitude .quiz-step__text.listing > .quiz__buttons,
body.page-template-color-genius #colorAttitude .quiz-step__text.listing > .quiz__buttons > .__button {
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    height: 170px !important;
    min-height: 170px !important;
    margin: 0 !important;
}

body.page-template-color-genius #colorAttitude .quiz-step__text.listing .__button__content img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    margin-bottom: 16px !important;
}

body.page-template-color-genius #colorAttitude .quiz-step__text.listing .__label {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

body.page-template-color-genius #colorAttitude .quiz-step__text.listing small {
    font-size: 12px !important;
    line-height: 1.35 !important;
}


/* Fix newsletter input + arrow alignment */
body.page-template-color-genius #registerForMore form.newsletter {
    position: relative !important;
    max-width: 100% !important;
}

body.page-template-color-genius #registerForMore input#email,
body.page-template-color-genius #registerForMore input.reader {
    height: 64px !important;
    line-height: 64px !important;
    padding: 0 78px 0 26px !important;
    border-radius: 999px !important;
}

body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] {
    top: 50% !important;
    right: 8px !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 50% !important;
    line-height: 1 !important;
}

body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}


/* Mobile-specific fixes */
@media (max-width: 575px) {

    /* Prevent quiz cards from touching/overlapping */
    body.page-template-color-genius #colorAttitude .quiz-step__text.listing {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing > .quiz__buttons {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing > .quiz__buttons > .__button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 178px !important;
        min-height: 178px !important;
        border-radius: 28px !important;
        padding: 18px 10px !important;
        overflow: hidden !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing .__button__content {
        height: 100% !important;
        justify-content: center !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing .__button__content img {
        width: 54px !important;
        height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
        margin: 0 auto 14px !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing .__label {
        font-size: 15px !important;
        line-height: 1.2 !important;
        margin: 0 0 7px !important;
        white-space: normal !important;
    }

    body.page-template-color-genius #colorAttitude .quiz-step__text.listing small {
        font-size: 11px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    /* Make signup card fit mobile better */
    body.page-template-color-genius #registerForMore.sign-quiz {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        padding: 30px 20px !important;
        overflow: hidden !important;
    }

    body.page-template-color-genius #registerForMore h3,
    body.page-template-color-genius #registerForMore .al {
        font-size: 25px !important;
        line-height: 1.22 !important;
        word-break: normal !important;
    }

    body.page-template-color-genius #registerForMore p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body.page-template-color-genius #registerForMore input#email,
    body.page-template-color-genius #registerForMore input.reader {
        height: 58px !important;
        line-height: 58px !important;
        padding: 0 68px 0 20px !important;
        font-size: 15px !important;
    }

    body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        right: 5px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    body.page-template-color-genius #registerForMore .checkbox_one {
        align-items: flex-start !important;
        gap: 12px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    body.page-template-color-genius #registerForMore .checkbox_one input[type="checkbox"] {
        margin-top: 3px !important;
    }
}

/* ==========================================================
   Smart Color Quiz - Email Arrow Exact Alignment Fix
   Add at VERY BOTTOM of style.css
========================================================== */

/* Make the newsletter form a grid so the button aligns only with input */
body.page-template-color-genius #registerForMore form.newsletter {
    display: grid !important;
    grid-template-columns: 1fr !important;
    position: relative !important;
    width: 100% !important;
    max-width: 580px !important;
}

/* Email input stays first row */
body.page-template-color-genius #registerForMore input#email,
body.page-template-color-genius #registerForMore input.reader {
    grid-row: 1 !important;
    grid-column: 1 !important;
    width: 100% !important;
    height: 58px !important;
    line-height: 58px !important;
    padding: 0 76px 0 22px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
}

/* Arrow button aligns to email input row only */
body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] {
    grid-row: 1 !important;
    grid-column: 1 !important;
    align-self: center !important;
    justify-self: end !important;

    position: relative !important;
    top: auto !important;
    right: 6px !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
    margin: 0 !important;

    border-radius: 50% !important;
    background: #003149 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
}

/* SVG centered inside arrow circle */
body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] svg {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    display: block !important;
}

/* Checkbox row starts below input */
body.page-template-color-genius #registerForMore .checkbox_one {
    grid-row: 2 !important;
    grid-column: 1 !important;
    margin-top: 18px !important;
}

/* Mobile adjustment */
@media (max-width: 575px) {
    body.page-template-color-genius #registerForMore input#email,
    body.page-template-color-genius #registerForMore input.reader {
        height: 58px !important;
        line-height: 58px !important;
        padding-right: 70px !important;
    }

    body.page-template-color-genius #registerForMore form.newsletter button[type="submit"] {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        right: 6px !important;
    }
}
/* Smart Color Quiz - Result Message */
body.page-template-color-genius .quiz-result-message {
    width: 100%;
    margin: 30px 0 22px;
    padding: 18px 24px;
    border-radius: 18px;
    background: #eef8fb;
    color: #003149;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
}

body.page-template-color-genius .quiz-result-message.partial-match {
    background: #fff8e8;
}

body.page-template-color-genius .quiz-result-message.fallback-match {
    background: #f4f7f8;
}

body.page-template-color-genius .color-card__price {
    margin: 6px 0 12px;
    color: #53676f;
    font-size: 14px;
    font-weight: 600;
}

body.page-template-color-genius .quiz-product-placeholder {
    min-height: 180px;
    padding: 30px;
    background: #eef8fb;
    color: #003149;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================
   Smart Color Quiz - Final Product Result Layout Fix
========================================================== */

body.page-template-color-genius .filter-panel__content {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 50px auto 90px !important;
    padding: 0 20px !important;
    display: block !important;
}

body.page-template-color-genius .filter-panel__content:not(.ng-hide) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.page-template-color-genius #products-html {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
}

/* Result heading */
body.page-template-color-genius #products-html .quiz-result-message {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto 30px !important;
    padding: 22px 28px !important;
    border-radius: 24px !important;
    background: #eef8fb !important;
    color: #003149 !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    text-align: center !important;
}

/* Product grid */
body.page-template-color-genius #products-html .colors-grid__css-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Product card */
body.page-template-color-genius #products-html .colors-grid__css-grid .__item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 36px rgba(0, 49, 73, 0.10) !important;
    text-align: center !important;
}

/* Product image */
body.page-template-color-genius #products-html .color__swatch {
    width: 100% !important;
    height: 260px !important;
    overflow: hidden !important;
    background: #f4f7f8 !important;
    cursor: pointer !important;
}

body.page-template-color-genius #products-html .color__swatch img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
}

/* Product content */
body.page-template-color-genius #products-html .color-card__cta {
    padding: 22px 20px 0 !important;
}

body.page-template-color-genius #products-html .color-card__title {
    margin: 0 0 12px !important;
    color: #003149 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

body.page-template-color-genius #products-html .color-card__price {
    margin: 0 0 18px !important;
    color: #53676f !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

body.page-template-color-genius #products-html .color-card__price del {
    color: #7d8b91 !important;
    opacity: 0.9 !important;
    margin-right: 8px !important;
}

body.page-template-color-genius #products-html .color-card__price ins {
    color: #003149 !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* View button */
body.page-template-color-genius #products-html .color-card__cta-hover .details {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 12px 26px !important;
    border-radius: 999px !important;
    background: #6bc9ec !important;
    color: #003149 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.page-template-color-genius #products-html .color-card__cta-hover .details:hover {
    background: #003149 !important;
    color: #ffffff !important;
}

/* Tablet */
@media (max-width: 991px) {
    body.page-template-color-genius #products-html .colors-grid__css-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 720px !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius .filter-panel__content {
        padding: 0 16px !important;
        margin: 40px auto 70px !important;
    }

    body.page-template-color-genius #products-html .quiz-result-message {
        font-size: 22px !important;
        padding: 20px !important;
        margin-bottom: 24px !important;
    }

    body.page-template-color-genius #products-html .colors-grid__css-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 360px !important;
    }

    body.page-template-color-genius #products-html .color__swatch {
        height: 240px !important;
    }

    body.page-template-color-genius #products-html .color-card__title {
        font-size: 20px !important;
    }
}

/* ==========================================================
   Smart Color Quiz - Make Option Icons White / More Visible
   Add at VERY BOTTOM of style.css
========================================================== */

/* Make all icon images inside dark quiz cards white */
body.page-template-color-genius .quiz-step__text.listing .__button__content img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Keep icon visible on hover/selected light-blue background */
body.page-template-color-genius .quiz-step__text.listing .__button:hover .__button__content img,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected .__button__content img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(52%) saturate(1403%) hue-rotate(162deg) brightness(88%) contrast(101%) !important;
    opacity: 1 !important;
}

/* Improve dark card contrast */
body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons > .__button {
    background: #003149 !important;
    color: #ffffff !important;
}

/* Make text brighter too */
body.page-template-color-genius .quiz-step__text.listing .__label,
body.page-template-color-genius .quiz-step__text.listing small {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Text/icon color after hover or selected */
body.page-template-color-genius .quiz-step__text.listing .__button:hover .__label,
body.page-template-color-genius .quiz-step__text.listing .__button:hover small,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected .__label,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected small {
    color: #003149 !important;
}
/* ==========================================================
   Smart Color Quiz - Better Hover / Selected Contrast
   Add at VERY BOTTOM of style.css
========================================================== */

/* Default option card */
body.page-template-color-genius .quiz-step__text.listing > .quiz__buttons > .__button {
    background: #003149 !important;
    color: #ffffff !important;
    border: 3px solid transparent !important;
    box-shadow: 0 12px 28px rgba(0, 49, 73, 0.14) !important;
}

/* Keep all option icons white */
body.page-template-color-genius .quiz-step__text.listing .__button__content img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Hover: do NOT turn light blue, use border/glow instead */
body.page-template-color-genius .quiz-step__text.listing .__button:hover {
    background: #003149 !important;
    color: #ffffff !important;
    border-color: #6bc9ec !important;
    box-shadow: 0 16px 34px rgba(107, 201, 236, 0.35) !important;
    transform: translateY(-3px) !important;
}

/* Selected option: stronger visible state */
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected {
    background: #00283d !important;
    color: #ffffff !important;
    border-color: #6bc9ec !important;
    box-shadow:
        0 0 0 5px rgba(107, 201, 236, 0.22),
        0 18px 40px rgba(0, 49, 73, 0.22) !important;
    transform: translateY(-3px) !important;
}

/* Keep icon white on hover and selected */
body.page-template-color-genius .quiz-step__text.listing .__button:hover .__button__content img,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected .__button__content img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* Keep label and description white on hover/selected */
body.page-template-color-genius .quiz-step__text.listing .__button:hover .__label,
body.page-template-color-genius .quiz-step__text.listing .__button:hover small,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected .__label,
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected small {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Optional selected check mark */
body.page-template-color-genius .quiz-step__text.listing .__button.color-genius-selected::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #6bc9ec;
    color: #003149;
    font-size: 16px;
    font-weight: 900;
    line-height: 26px;
    text-align: center;
}

/* Text-only options like vibe/decor */
body.page-template-color-genius .quiz-step__text.step-list-listing .__button:hover,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected {
    background: #003149 !important;
    color: #ffffff !important;
    border-color: #6bc9ec !important;
    box-shadow: 0 10px 24px rgba(107, 201, 236, 0.24) !important;
}

/* ==========================================================
   Smart Color Quiz - Vibe Selected Text White Fix
========================================================== */

body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected:hover {
    background: #003149 !important;
    color: #ffffff !important;
    border-color: #6bc9ec !important;
}

body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected p,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected span,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button.color-genius-selected small {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Also fix hover text */
body.page-template-color-genius .quiz-step__text.step-list-listing .__button:hover p,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button:hover span,
body.page-template-color-genius .quiz-step__text.step-list-listing .__button:hover small {
    color: #ffffff !important;
}

/* ==========================================================
   Smart Color Quiz - Color Selection + 5 Palette Styling
========================================================== */

/* Main color selector layout */
body.page-template-color-genius .quiz-step__text.color-listing {
    display: grid !important;
    grid-template-columns: repeat(6, 95px) !important;
    gap: 28px 18px !important;
    max-width: 760px !important;
    padding: 34px 36px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(0, 49, 73, 0.08) !important;
}

/* Color option wrapper */
body.page-template-color-genius .quiz-step__text.color-listing > .quiz__buttons {
    width: 95px !important;
    height: 95px !important;
}

/* Color option button */
body.page-template-color-genius .quiz-step__text.color-listing .__button {
    width: 95px !important;
    height: 95px !important;
    min-width: 95px !important;
    max-width: 95px !important;
    background: transparent !important;
    border: 2px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #555555 !important;
    padding: 12px 8px !important;
}

/* Color dot */
body.page-template-color-genius .quiz-step__text.color-listing .__button__color {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    margin: 0 auto 10px !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
}

/* Color label */
body.page-template-color-genius .quiz-step__text.color-listing .__label {
    color: #555555 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

/* Selected/hover color option */
body.page-template-color-genius .quiz-step__text.color-listing .__button:hover,
body.page-template-color-genius .quiz-step__text.color-listing .__button.color-genius-selected {
    background: #c8dce2 !important;
    color: #003149 !important;
    border-color: #c8dce2 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.page-template-color-genius .quiz-step__text.color-listing .__button:hover .__label,
body.page-template-color-genius .quiz-step__text.color-listing .__button.color-genius-selected .__label {
    color: #003149 !important;
}

/* Remove check mark from color selector if previous CSS added it */
body.page-template-color-genius .quiz-step__text.color-listing .__button.color-genius-selected::after {
    display: none !important;
}

/* 5 shade palette container */
body.page-template-color-genius .quiz-step__text.color-bar-listing {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: auto !important;
    max-width: 520px !important;
    padding: 18px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 34px rgba(0, 49, 73, 0.08) !important;
}

/* Each shade wrapper */
body.page-template-color-genius .quiz-step__text.color-bar-listing > .quiz__buttons {
    width: 82px !important;
    height: 90px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Shade button */
body.page-template-color-genius .quiz-step__text.color-bar-listing .__button {
    width: 82px !important;
    height: 90px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Shade color block */
body.page-template-color-genius .quiz-step__text.color-bar-listing .color__bar {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Selected shade */
body.page-template-color-genius .quiz-step__text.color-bar-listing .__button.color-genius-selected {
    border-color: #003149 !important;
    box-shadow: 0 0 0 3px rgba(107, 201, 236, 0.55) !important;
    z-index: 2 !important;
}

/* Remove selected check mark from shade blocks */
body.page-template-color-genius .quiz-step__text.color-bar-listing .__button.color-genius-selected::after {
    display: none !important;
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius .quiz-step__text.color-listing {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px 10px !important;
        padding: 24px 16px !important;
        max-width: 100% !important;
    }

    body.page-template-color-genius .quiz-step__text.color-listing > .quiz__buttons,
    body.page-template-color-genius .quiz-step__text.color-listing .__button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    body.page-template-color-genius .quiz-step__text.color-bar-listing {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px !important;
    }

    body.page-template-color-genius .quiz-step__text.color-bar-listing > .quiz__buttons,
    body.page-template-color-genius .quiz-step__text.color-bar-listing .__button {
        width: 20% !important;
        min-width: 20% !important;
        max-width: 20% !important;
        height: 78px !important;
    }
}
/* Smart Color Quiz - Cleaner Original-like Color Selector */
body.page-template-color-genius .quiz-step__text.color-listing .__button {
    border: 0 !important;
    background: transparent !important;
}

body.page-template-color-genius .quiz-step__text.color-listing .__button:hover,
body.page-template-color-genius .quiz-step__text.color-listing .__button.color-genius-selected {
    background: #c8dce2 !important;
    border: 0 !important;
}

body.page-template-color-genius .quiz-step__text.color-listing .__button__color {
    border: 1px solid rgba(0,0,0,0.12) !important;
}

body.page-template-color-genius .quiz-step__text.color-bar-listing {
    justify-content: center !important;
}

/* ==========================================================
   Smart Color Quiz - Force Dynamic Palette Blocks Visible
   Add at VERY BOTTOM of style.css
========================================================== */

body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;

    width: auto !important;
    max-width: 560px !important;
    min-height: 120px !important;

    padding: 18px !important;
    margin: 0 auto !important;

    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 34px rgba(0, 49, 73, 0.08) !important;
    overflow: visible !important;
}

body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing > .quiz__buttons {
    display: block !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 100px !important;
    min-height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button {
    display: block !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 100px !important;
    min-height: 100px !important;
    padding: 0 !important;
    margin: 0 !important;

    border-radius: 0 !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    position: relative !important;
}

body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button__content {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .color__bar {
    display: block !important;
    width: 100% !important;
    height: 100px !important;
    min-height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 49, 73, 0.08) !important;
}

/* Selected palette shade */
body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button.color-genius-selected {
    border-color: #003149 !important;
    box-shadow: 0 0 0 4px rgba(107, 201, 236, 0.45) !important;
    z-index: 5 !important;
}

/* Remove global selected check mark from these palette blocks */
body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button.color-genius-selected::after {
    display: none !important;
}

/* Mobile */
@media (max-width: 575px) {
    body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px !important;
    }

    body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing > .quiz__buttons,
    body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button {
        width: 20% !important;
        min-width: 20% !important;
        max-width: 20% !important;
        height: 82px !important;
        min-height: 82px !important;
    }

    body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .__button__content,
    body.page-template-color-genius #keyColorLightness .quiz-step__text.color-bar-listing .color__bar {
        height: 82px !important;
        min-height: 82px !important;
    }
}


/* Hide duplicate WooCommerce variation output */
.single-product .single_variation_wrap .woocommerce-variation,
.single-product .single_variation_wrap .woocommerce-variation-price,
.single-product .single_variation_wrap .woocommerce-variation-description,
.single-product .single_variation_wrap .woocommerce-variation-availability,
.single-product .wdt-swatch-product-price {
    display: none !important;
}

/* Keep variation row clean */
.single-product .wdt-proswatch-button {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}

.single-product .wdt-swatches-title {
    min-width: 110px;
    display: flex;
    align-items: center;
}

.single-product .wdt-swatches-label {
    font-weight: 700;
    color: #003b54;
}

.single-product .wdt-swatches-label::after {
    content: " :";
}

.single-product .wdt-swatches-support {
    display: none !important;
}

.single-product .wdt-swatches-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.single-product .product_swatch {
    min-width: 88px;
    height: 34px;
    padding: 0 20px;
    border-radius: 5px;
    background: #fff;
    color: #003b54;
    border: 1px solid #d5d5d5;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.single-product .product_swatch.selected,
.single-product .product_swatch.attribute-selectedswatches {
    background: #003b54;
    border-color: #003b54;
    color: #fff;
}

/* One clean variation description */
.single-product .bh-selected-variation-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 12px 0 20px;
}

/* Price style */
.single-product .wdt-single-product-price .price del,
.single-product .bh-price-wrap del {
    color: #666;
    font-size: 24px;
    margin-right: 6px;
}

.single-product .wdt-single-product-price .price ins,
.single-product .bh-price-wrap ins {
    color: #000;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 767px) {
    .single-product .wdt-proswatch-button {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .single-product .wdt-swatches-title {
        min-width: 0;
    }

    .single-product .product_swatch {
        min-width: 95px;
    }
}