/*
 Theme Name:   hello-elementor-child
 Description:  Child theme of Hello Elementor
 Author:       bwa
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/*
--------------------------------------
réglages Hello Elementor
--------------------------------------
*/

#wpadminbar {
    z-index : 999999;
}

.site-header:not(.dynamic-header),
.site-footer:not(.dynamic-footer) {
    max-width : 100% !important;
    padding   : 0;
}

/*
--------------------------------------
custom Template
--------------------------------------
*/

.content-container {
    width : 100%;
}

/*
--------------------------------------
elements
--------------------------------------
*/

header ul, footer ul {
    margin          : 0;
    list-style-type : none;
}

.entry-content ul {
    margin-left     : 1em;
    list-style-type : disc;
}

p {
    margin-bottom    : 0;
    margin-block-end : 0 !important;
}

/*
--------------------------------------
btns
--------------------------------------
*/

.um input[type=submit].um-button,
.um .um-field a,
a.custom-btn,
button.custom-btn,
a.elementor-button,
a.wp-element-button,
.button {
    font-family      : var(--e-global-typography-text-font-family) !important;
    font-size        : var(--e-global-typography-accent-font-size) !important;
    font-weight      : 400 !important;
    line-height      : var(--e-global-typography-accent-line-height) !important;
    color            : #FFFFFF !important;

    text-align       : center;
    display          : flex;
    justify-content  : center;
    align-items      : center;
    gap              : 8px;
    min-width        : 220px !important;
    padding          : 12px 32px !important;
    transition       : 0.3s !important;
    border           : 1px solid var(--e-global-color-primary) !important;

    border-radius    : 50px !important;
    background-color : var(--e-global-color-primary) !important;
}

.um input[type=submit].um-button:hover,
.um .um-field a:hover,
a.custom-btn:hover,
button.custom-btn:hover,
a.elementor-button:hover,
a.wp-element-button:hover,
.button:hover {
    color            : var(--e-global-color-primary) !important;
    background-color : transparent !important;
}


.btn-secondary button.custom-btn,
.btn-secondary a.elementor-button,
.btn-secondary a.wp-element-button,
button.custom-btn.btn-secondary,
a.elementor-button.btn-secondary,
a.wp-element-button.btn-secondary {
    border           : 1px solid var(--e-global-color-accent) !important;
    background-color : var(--e-global-color-accent) !important;
}

.btn-secondary button.custom-btn:hover,
.btn-secondary a.elementor-button:hover,
.btn-secondary a.wp-element-button:hover,
button.custom-btn.btn-secondary:hover,
a.elementor-button.btn-secondary:hover,
a.wp-element-button.btn-secondary:hover {
    color            : var(--e-global-color-accent) !important;
    background-color : transparent !important;
}


/*
--------------------------------------
wave button
--------------------------------------
*/
.btn-wave a.elementor-button {
    color            : #FFFFFF !important;
    position         : relative;
    overflow         : hidden;
    background-color : var(--e-global-color-primary) !important;
}

/* texte au-dessus des vagues */
.btn-wave a span {
    position : relative;
    z-index  : 2;
}

/* base des vagues */
.btn-wave a::before,
.btn-wave a::after {
    position            : absolute;
    bottom              : -160px;
    transform           : translateX(-50%);
    z-index             : 1;
    width               : 600px;
    height              : 150px;
    content             : "";
    user-select         : none;
    transition          : bottom 1.8s ease, transform 1.8s ease;
    pointer-events      : none;
    background-repeat   : repeat-x;
    background-position : center bottom;
    background-size     : cover;
}

/* wave 1 */
.btn-wave a::before {
    opacity          : 0.8;
    left             : 0%;
    background-image : url("assets/img/wave_1.svg");
}

/* wave 2 (par dessus) */
.btn-wave a::after {
    left             : 100%;
    transition-delay : 0.05s;
    background-image : url("assets/img/wave_2.svg");
}

.btn-wave a:hover::before {
    bottom    : -70px;
    transform : translateX(0%);
}

.btn-wave a:hover::after {
    bottom    : -70px;
    transform : translateX(-90%);
}

/*
--------------------------------------
image-hover-zoom
--------------------------------------
*/

.image-hover-zoom:hover {
    box-shadow : 0 315px 88px 0 rgba(0, 0, 0, 0.01), 0 202px 81px 0 rgba(0, 0, 0, 0.07), 0 114px 68px 0 rgba(0, 0, 0, 0.23), 0 50px 50px 0 rgba(0, 0, 0, 0.38), 0 13px 28px 0 rgba(0, 0, 0, 0.44);
}

.image-hover-zoom .elementor-widget-image {
    overflow      : hidden;
    border-radius : 15px;
}


.image-hover-zoom .elementor-widget-image img {
    transition : 0.3s;
}

.image-hover-zoom:hover .elementor-widget-image img {
    scale : 1.05;
}


/*forminator*/


.forminator-ui.forminator-custom-form {
    margin-top    : 20px !important;
    margin-bottom : 15px !important;
}

.forminator-row {
    margin-bottom : 1em !important;
}


.forminator-row label,
.forminator-row span.forminator-label,
.um .um-field-label label {
    font-family : "Gotham Rounded" !important;
    font-size   : 15px !important;
    font-weight : 400 !important;
    font-style  : normal !important;
    line-height : normal !important;
    color       : var(--Color-2, #750031) !important;
}

.forminator-row input,
.forminator-row textarea,
.um .um-field .select2.select2-container .select2-selection,
.um .um-search-filter .select2.select2-container .select2-selection,
.um .um-form input[type=password],
.um .um-form input[type=search],
.um .um-form input[type=tel],
.um .um-form input[type=text],
.um .um-form textarea {
    font-family   : "Gotham Rounded" !important;
    font-size     : 15px !important;
    font-weight   : 500 !important;
    font-style    : normal !important;
    line-height   : normal !important;
    color         : #3C322F !important;
    min-height    : 3rem !important;
    padding-left  : 15px !important;
    border        : 1px solid #BBB0AA !important;
    border-radius : 10px !important;
    outline       : none !important;
    background    : #FFFFFF !important;
}


/* Ultimate member*/

.forminator-row input::placeholder,
.forminator-row textarea::placeholder,
.um .um-form input[type=password]::placeholder,
.um .um-form input[type=search]::placeholder,
.um .um-form input[type=tel]::placeholder,
.um .um-form input[type=text]::placeholder,
.um .um-form textarea::placeholder {
    font-family : "Gotham Rounded" !important;
    font-size   : 15px !important;
    font-weight : 400 !important;
    font-style  : normal !important;
    line-height : normal !important;
    color       : #BBB0AA !important;
    opacity     : 1 !important;
}

input[type=radio],
.forminator-row .forminator-radio-label {
    font-family : var(--e-global-typography-secondary-font-family), Sans-serif !important;
    font-size   : .8rem !important;
    font-weight : 500 !important;
    color       : var(--e-global-color-primary);
}


.forminator-row .forminator-field-radio .forminator-field {
    display         : flex;
    flex-direction  : row;
    flex-wrap       : wrap;
    justify-content : flex-start;
    align-items     : center;
    gap             : 1em;
}

.forminator-row .forminator-field-radio .forminator-field label {
    margin : 0 !important;
}

.forminator-row input:checked + .forminator-radio-bullet {
    border-color : var(--e-global-color-primary) !important;
}

.forminator-row input:checked + .forminator-radio-bullet:before {
    background-color : var(--e-global-color-primary) !important;
}

.forminator-row .forminator-multi-upload a {
    color : var(--e-global-color-accent) !important;
}

.forminator-row .forminator-uploaded-file--delete {
    background-color : var(--e-global-color-primary) !important;
}

.forminator-row-last .forminator-field {
    text-align : center !important;
}

.forminator-ui.forminator-custom-form[data-design=default] button.forminator-button-submit {
    font-family      : var(--e-global-typography-text-font-family) !important;
    font-size        : var(--e-global-typography-accent-font-size) !important;
    font-weight      : 400 !important;
    line-height      : var(--e-global-typography-accent-line-height) !important;
    color            : #FFFFFF !important;
    text-align       : center;
    text-transform   : initial !important;
    display          : flex;
    justify-content  : center;
    align-items      : center;
    gap              : 8px;
    width            : 100% !important;
    min-width        : 220px !important;
    max-width        : 300px !important;
    margin           : 10px auto 0 !important;
    padding          : 12px 32px !important;
    transition       : 0.3s !important;
    border           : 1px solid var(--e-global-color-primary) !important;
    border-radius    : 50px !important;
    background-color : var(--e-global-color-primary) !important;
    box-shadow       : none !important;
}

.forminator-ui.forminator-custom-form[data-design=default] button.forminator-button-submit:before {
    content : none;
}

.forminator-ui.forminator-custom-form[data-design=default] button.forminator-button-submit:hover {
    color            : var(--e-global-color-primary) !important;
    background-color : transparent !important;
}


.forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid=open] .forminator-row .forminator-no-margin,
.forminator-ui.forminator-custom-form:not(.forminator-size--small)[data-grid=open] .forminator-row .forminator-no-margin .forminator-col {
    margin-bottom : 0 !important;
}

.forminator-edit-module {
    position : absolute;
    bottom   : 5px;
}


.forminator-field-consent .forminator-label {
    display : none !important;
}

/*forminator*/

select {
    color                 : var(--e-global-color-5a1aba2);
    position              : relative;
    padding-right         : 25px;
    border                : none;
    border-radius         : 10px;
    background-image      : url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==) !important;
    background-repeat     : no-repeat !important;
    background-position-x : 95% !important;
    background-position-y : 50% !important;
    background-size       : 20px !important;
    -moz-appearance       : none; /* Firefox */
    -webkit-appearance    : none; /* Safari and Chrome */
    appearance            : none;
}


/*
--------------------------------------
VVV Form Styles
--------------------------------------
*/

/* Required field indicator */
.vvv-required {
    color       : #750031;
    margin-left : 2px;
}

/* Wine form styling */
.vvv-wine-row {
    margin-bottom : 20px;
    padding       : 30px;
    border        : 1px solid #E5E5E5;
    border-radius : 15px;
    background    : #FFFFFF;
}

.vvv-wine-header {
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    margin-bottom   : 25px;
    padding-bottom  : 15px;
    border-bottom   : 1px solid #E5E5E5;
}

.vvv-wine-header h4 {
    font-family : "Gotham Rounded" !important;
    font-size   : 18px !important;
    font-weight : 500 !important;
    color       : #750031 !important;
    margin      : 0 !important;
}

.vvv-wine-actions {
    display : flex;
    gap     : 8px;
}

.vvv-btn-icon {
    display         : flex;
    justify-content : center;
    align-items     : center;
    width           : 22px;
    height          : 22px;
    cursor          : pointer;
    transition      : all 0.3s ease;
    border          : none;
    border-radius   : 8px;
    background      : #F5F5F5;
}

.vvv-btn-icon:hover {
    color      : #FFFFFF;
    background : #750031;
}

.vvv-btn-icon .dashicons {
    font-size : 18px;
}

.vvv-btn-icon.vvv-delete-btn:hover {
    background : #D32F2F;
}

.vvv-btn-icon.vvv-scan-btn:hover {
    background : #F39200;
}

/* Form groups and labels */
.vvv-form-group {
    margin-bottom : 20px;
}

.vvv-form-group label {
    font-family   : "Gotham Rounded" !important;
    font-size     : 15px !important;
    font-weight   : 500 !important;
    color         : #750031 !important;
    display       : block;
    margin-bottom : 8px;
}

.vvv-form-row {
    display               : grid;
    gap                   : 20px;
    margin-bottom         : 0;
    grid-template-columns : 1fr 1fr;
}

@media (max-width : 768px) {
    .vvv-form-row {
        gap                   : 0;
        grid-template-columns : 1fr;
    }
}

/* Input and select styling - ensuring consistency with existing theme */
.vvv-wine-row input[type="text"],
.vvv-wine-row input[type="number"],
.vvv-wine-row select,
.vvv-wine-row textarea {
    font-family   : "Gotham Rounded" !important;
    font-size     : 15px !important;
    font-weight   : 400 !important;
    color         : #3C322F !important;
    width         : 100%;
    min-height    : 50px !important;
    padding       : 12px 15px !important;
    transition    : border-color 0.3s ease;
    border        : 1px solid #BBB0AA !important;
    border-radius : 10px !important;
    outline       : none !important;
    background    : #FFFFFF !important;
}

.vvv-wine-row input[type="text"]:focus,
.vvv-wine-row input[type="number"]:focus,
.vvv-wine-row select:focus,
.vvv-wine-row textarea:focus {
    border-color : #750031 !important;
}

.vvv-wine-row input::placeholder,
.vvv-wine-row textarea::placeholder {
    color   : #BBB0AA !important;
    opacity : 1 !important;
}

/* Select dropdown arrow positioning */
.vvv-wine-row select {
    padding-right       : 40px !important;
    background-image    : url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNiA2TDExIDEiIHN0cm9rZT0iIzc1MDAzMSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==) !important;
    background-repeat   : no-repeat !important;
    background-position : right 15px center !important;
    background-size     : 12px !important;
}

/* Photo upload area */
.vvv-photo-upload {
    display        : flex;
    flex-direction : column;
    gap            : 12px;
}

.vvv-photo-preview {
    position        : relative;
    overflow        : hidden;
    display         : flex;
    justify-content : center;
    align-items     : center;
    width           : 100%;
    min-height      : 150px;
    border          : 2px dashed #BBB0AA;
    border-radius   : 10px;
    background      : #F9F9F9;
}

.vvv-photo-preview img {
    max-width  : 100%;
    max-height : 200px;
    object-fit : contain;
}

.vvv-photo-row {
    grid-template-columns : 1fr !important;
}

.vvv-form-group-full {
    grid-column : 1 / -1;
}

.vvv-photo-placeholder {
    text-align : center;
    padding    : 20px;
}

.vvv-photo-placeholder .dashicons {
    font-size     : 48px;
    color         : #BBB0AA;
    width         : 48px;
    height        : 48px;
    margin-bottom : 10px;
}

.vvv-photo-placeholder p {
    font-family : "Gotham Rounded" !important;
    font-size   : 14px !important;
    color       : #BBB0AA !important;
    margin      : 0;
}

.vvv-photo-preview:not(.empty) .vvv-photo-placeholder {
    display : none;
}

.vvv-photo-input {
    display : none !important;
}

.vvv-btn-small {
    font-size : 14px !important;
    min-width : auto !important;
    padding   : 8px 16px !important;
}

/* Help link for niveau */
.vvv-niveau-help-link {
    font-family     : "Gotham Rounded" !important;
    font-size       : 15px !important;
    font-weight     : 400 !important;
    color           : #750031 !important;
    text-decoration : underline !important;
    display         : inline-block;
    margin-top      : 5px;
    transition      : opacity 0.3s ease;
}

.vvv-niveau-help-link:hover {
    color   : #750031 !important;
    opacity : 0.7;
}

/* Form actions */
.vvv-form-actions {
    text-align : center;
    margin     : 30px 0;
}

/* Add wine button container */
.vvv-add-wine-btn-container {
    display         : flex;
    flex-wrap       : wrap;
    gap             : 16px;
    justify-content : center;
    width           : 100%;
    margin          : 30px 0;
}

.vvv-add-wine-btn {
    width     : 100% !important;
    max-width : 480px !important;
}

/* Mode tabs */
.vvv-mode-tabs {
    display       : flex;
    gap           : 10px;
    margin-bottom : 30px;
    border-bottom : 2px solid #E5E5E5;
}

.vvv-tab-btn {
    font-family   : "Gotham Rounded" !important;
    font-size     : 16px !important;
    font-weight   : 500 !important;
    color         : #3C322F !important;
    display       : flex;
    align-items   : center;
    gap           : 8px;
    padding       : 12px 24px;
    cursor        : pointer;
    transition    : all 0.3s ease;
    border        : none;
    border-bottom : 3px solid transparent;
    background    : transparent;
}

.vvv-tab-btn.active {
    color               : #750031 !important;
    border-bottom-color : #750031;
}

.vvv-tab-btn:hover {
    color : #750031 !important;
}

/* Tab content */
.vvv-tab-content {
    display : none;
}

.vvv-tab-content.active {
    display : block;
}

/* Modal */
.vvv-modal {
    position        : fixed;
    top             : 0;
    right           : 0;
    bottom          : 0;
    left            : 0;
    z-index         : 9999;
    display         : flex;
    justify-content : center;
    align-items     : center;
}

.vvv-modal-overlay {
    position   : absolute;
    top        : 0;
    right      : 0;
    bottom     : 0;
    left       : 0;
    background : rgba(0, 0, 0, 0.5);
}

.vvv-modal-content {
    position      : relative;
    z-index       : 10000;
    overflow-y    : auto;
    width         : 90%;
    max-width     : 600px;
    max-height    : 80vh;
    padding       : 30px;
    border-radius : 15px;
    background    : #FFFFFF;
}

.vvv-modal-close {
    font-size     : 24px;
    line-height   : 1;
    position      : absolute;
    top           : 15px;
    right         : 15px;
    width         : 32px;
    height        : 32px;
    cursor        : pointer;
    transition    : background 0.3s ease;
    border        : none;
    border-radius : 50%;
    background    : #F5F5F5;
}

.vvv-modal-close:hover {
    color      : #FFFFFF;
    background : #750031;
}

.vvv-modal-content h3 {
    font-family   : "Gotham Rounded" !important;
    font-size     : 20px !important;
    font-weight   : 500 !important;
    color         : #750031 !important;
    margin-bottom : 20px;
}

/* Success message */
.vvv-success-message {
    text-align : center;
    padding    : 60px 20px;
}

.vvv-success-icon {
    font-size     : 64px;
    color         : #4CAF50;
    margin-bottom : 20px;
}

.vvv-success-message h2 {
    font-family   : "Gotham Rounded" !important;
    font-size     : 28px !important;
    font-weight   : 500 !important;
    color         : #750031 !important;
    margin-bottom : 15px;
}

.vvv-success-message p {
    font-family   : "Gotham Rounded" !important;
    font-size     : 16px !important;
    color         : #3C322F !important;
    margin-bottom : 10px;
}

.elementor-widget-text-editor p:not(:last-child) {
    padding-bottom : 20px;
}
