/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
Description: Child theme for Hello Elementor
*/

/* Define CSS variables for repeated colors */
:root {
  --primary-color: #d0168a;
  --secondary-color: #6d245d;
  --hover-color: #ffe100;
  --light-bg: #f8f8f8;
  --white: #fff;
}

/* Base Card Styling */
.form-card,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-EditAccountForm,
.woocommerce-ResetPassword,
#gform_2,
.woocommerce-MyAccount-navigation {
  /*max-width: 500px;*/
  /*margin: 30px auto;*/
  padding: 25px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

/* Labels */
.form-card label,
.woocommerce-form-login label,
.woocommerce-form-register label,
.woocommerce-EditAccountForm label,
.woocommerce-ResetPassword label,
#gform_2 .gfield_label,
#gform_2 .gform-field-label {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required,
.gfield_required {
  color: #d0168a;
}

/* Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
.woocommerce input.input-text,
.woocommerce input.woocommerce-Input,
.woocommerce select,
#gform_2 input[type="text"],
#gform_2 input[type="password"],
.select2-container .select2-selection--single {
  width: 100%!important;
  padding: 14px!important;
  border: 1px solid #e0e0e0!important;
  border-radius: 6px!important;
  font-size: 15px;
  background: #fafafa;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
.woocommerce input.input-text:focus,
.woocommerce input.woocommerce-Input:focus,
.select2-container .select2-selection--single:focus {
  border-color: #d0168a;
  box-shadow: 0 0 6px rgba(208,22,138,0.2);
  outline: none;
}

::placeholder {
  color: #aaa;
  opacity: 1;
}

/* Password toggle */
.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.show-password-input {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 14px;
  color: #d0168a;
  font-size: 13px;
  transition: color 0.3s;
}

.show-password-input:hover {
  color: #b01276;
}

.page-content .woocommerce {
  margin: 0 0 1em 0;
}

/* Buttons */

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #d0168a;
    color: #fff;
    text-decoration: none;
}

button,
input[type="submit"],
.woocommerce .button,
.gform_button,
.custom-shortcode-atc .button {
  display: inline-block;
  background: #d0168a;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  /*width: 100%;*/
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none!important;
}

button:hover,
input[type="submit"]:hover,
.woocommerce .button:hover,
.gform_button:hover,
.custom-shortcode-atc .button:hover {
  background: #6d245d;
  box-shadow: 0 2px 8px rgba(109,36,93,0.3);
  transform: translateY(-2px);
}

button:disabled,
.woocommerce .button.loading,
.custom-shortcode-atc .button:disabled,
.custom-shortcode-atc .button.loading {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

input.gform_button {
  background-color: var(--primary-color)!important;
  color: white!important;
  font-weight: bold!important;
  border-radius: 5px!important;
  padding: .5rem 1rem!important;
  text-align: center;
  transition: all .3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
}

input.gform_button:hover {
  background-color: var(--secondary-color);
}

button.woocommerce-form-login__submit, button.woocommerce-form-register__submit {
  background-color: transparent!important;
  border: 1px solid #d0168a!important;
  border-radius: 3px;
  color: #d0168a!important;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  padding: .5rem 1rem;
  text-align: center;
  transition: all .3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  white-space: nowrap;
}

button.woocommerce-form-login__submit:hover, button.woocommerce-form-register__submit:hover {
  background: var(--primary-color)!important;
  color: #fff!important;
}

/* Woocommerce Info Box */

/* Style WooCommerce info box under My Account > Orders */
.woocommerce-info {
    background-color: #f1f1f1;
    border-left: 5px solid #d0168a;
    border-top: 0;
    color: #d0168a;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.woocommerce-info a {
    color: #d0168a;
    font-weight: 600;
    text-decoration: underline;
}

.woocommerce-info::before {
   display: none;
}

.woocommerce-info .woocommerce-Button {
    background-color: #d0168a!important; 
    color: #ffe100!important;
    border-radius: 25px;
    padding: 10px 18px;
    font-weight: 600;
    border: none;
    margin-left: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-info .woocommerce-Button:hover {
    background-color: #6d245d; 
    color: #ffe100 !important; 
}

.woocommerce-info .woocommerce-Button:active {
    background-color: #febe10; 
    color: #6d245d !important;
}

/* Links */
a {
  color: #d0168a;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #6d245d;
}

/* My Account Menu */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  padding: 5px 0;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 15px;
  font-size: 1em;
  font-weight: bold;
  color: #6d245d;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover {
  background: #fafafa;
  color: #d0168a;
}

.woocommerce-MyAccount-navigation .is-active a {
  background: #d0168a;
  color: #fff;
}

/* My Addresses Page */
.woocommerce-MyAccount-content p {
    color: #6d245d;
    font-size: 16px;
    margin-bottom: 20px;
}

.woocommerce-Address {
    background-color: #f1f1f1;
    border-left: 2px solid #d0168a;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    color: #6d245d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-Address:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);
}

.woocommerce-account .addresses .title .edit {
  float: unset;
}

.woocommerce-Address-title {
    margin-bottom: 15px;
}

.woocommerce-Address-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #d0168a;
    margin: 0 0 5px;
}

.woocommerce-Address-title a.edit {
    background-color: #d0168a;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    display: inline-block;
}

.woocommerce-Address-title a.edit:hover {
    background-color: #6d245d;
    color: #febe10 !important;
}

.woocommerce-Address-title a.edit:active {
    background-color: #febe10;
    color: #6d245d !important;
}

.woocommerce-Address address {
    font-size: 15px;
    line-height: 1.5;
    color: #6d245d;
}


/* Custom Notifications */
.custom-woocommerce-info {
  background: #f8f8f8;
  border: 2px solid #d0168a;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-woocommerce-button {
  background: #d0168a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.custom-woocommerce-button:hover {
  background: #b01276;
  transform: translateY(-2px);
}

/* Product Showcase */
.custom-product-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.custom-product-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.custom-product-card .product-image img {
  max-width: 300px;
  border-radius: 1rem;
}

.custom-product-card .product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-product-card .product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d0168a;
  border-bottom: 2px solid #ffe100;
  padding-bottom: 8px;
}

.custom-product-card .variation-buttons button.active {
  background: #d0168a!important;
  color: white;
}

.custom-product-card .variation-details {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #4a1f3d;
}

/* Columns */
.custom-product-card .variation-details .col1,
.custom-product-card .variation-details .col2 {
  flex: 1 1 45%;
  min-width: 250px;
}


.custom-product-card .variation-description {
  display: flex;
}

/* Product description section styling */
.custom-product-card .variation-details {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #4a1f3d; /* a little darker for readability */
}

/* Section titles inside product-description */
.custom-product-card .variation-details strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d0168a; /* base color */
  margin: 1.5rem 0 0.5rem;
  border-left: 4px solid #ffe100;
  padding-left: 0.5rem;
}

/* Clean list style */
.custom-product-card .variation-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

/* Minimal list items */
.custom-product-card .variation-details ul li {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Custom checkmark bullet */
.custom-product-card .variation-description ul li::before {
  content: "✔"!important;
  color: #6d245d;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.custom-product-card .variation-description ul li.free::before {
  content: "[FREE]"!important;
  color: #d0168a;
  font-weight: bold!important;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.custom-product-card .variation-description ul.forSell li::before {
  content: "💲"!important;
  color: #2e7d32;
  font-size: 1rem;
  font-weight: normal;
}

/* Price styling */
.custom-product-showcase .variation-price {
  display: block;
  font-size: 2rem!important;
  font-weight: 700;
  color: #6d245d; /* accent */
  margin-bottom: 0.25rem;
}

/* Subtext styling */
.custom-product-showcase .price-note {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}

.custom-product-showcase button.single_add_to_cart_button {
  font-size: 1.3em;
  border-radius: 50px;
  padding: 15px 20px;
}

.variation-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;

    /* Spotlight hole */
    -webkit-mask: radial-gradient(circle, transparent 98%, black 100%) no-repeat;
    mask: radial-gradient(circle, transparent 98%, black 100%) no-repeat;
}

.variation-overlay {
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;

    /* Use custom properties from JS */
    -webkit-mask: none;
    mask: none;
    background: rgba(0,0,0,0.7);
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% 100%, 
        0 100%,
        0 0,
        var(--hole-left) var(--hole-top),
        calc(var(--hole-left) + var(--hole-width)) var(--hole-top),
        calc(var(--hole-left) + var(--hole-width)) calc(var(--hole-top) + var(--hole-height)),
        var(--hole-left) calc(var(--hole-top) + var(--hole-height))
    );
}

.variation-tooltip {
    position: absolute;
    background: #d0168a;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 300px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.variation-tooltip .tooltip-close {
    position: absolute;
    top: 5px; right: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.tooltip-pointer {
    position: absolute;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #d0168a;
    z-index: 9999;
}

.earnings {
    padding: 0.5em;
    border-radius: 20px;
    border: 2px solid #d0168a;
}

p.potential {
    background: var(--hover-color);
    padding: 0.5em;
    border-radius: 15px;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8em;
}

p.amount {
    text-align: center;
    font-size: 1.5em;
    margin: 0;
}

/* Agreement */
.gptos_terms_container {
  height: 30em!important;
}


/* Responsive */
@media (max-width: 768px) {
  .custom-woocommerce-info {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

}

@media (max-width: 600px) {
  .form-card,
  .woocommerce-form-login,
  .woocommerce-form-register,
  .woocommerce-EditAccountForm,
  .woocommerce-ResetPassword,
  #gform_2,
  .woocommerce-MyAccount-navigation {
    padding: 15px;
    /*margin: 15px;*/
  }
  .afreg_half_field,
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last {
    width: 100%;
    margin: 0 0 15px;
  }
}

/* Throbber on Add to Cart Button */
.add-to-cart .button.loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.add-to-cart .button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid #fff;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Target the View Cart link specifically inside your shortcode */
.custom-shortcode-atc .added_to_cart {
  display: inline-block !important;
  margin-left: 1rem !important;
  padding: 0.4rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #6d245d !important; /* accent */
  background-color: #f8f0f5 !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  vertical-align: middle !important;
}

.custom-shortcode-atc .added_to_cart:hover {
  background-color: #6d245d !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Mobile-First Collapsible My Account Menu */
@media (max-width: 767px) {
    /* Hide the navigation menu by default on mobile */
    .woocommerce-MyAccount-navigation {
        display: none;
        width: 100%;
    }

    /* Show navigation when toggled */
    .woocommerce-MyAccount-navigation.active {
        display: block;
    }

    /* Hamburger Toggle Button with Text */
    .my-account-mobile-toggle {
        display: flex;
        align-items: center;
        margin: 1em;
        cursor: pointer;
    }

    .my-account-mobile-toggle input[type="checkbox"] {
        display: none;
    }

    .hamburger-label {
        display: flex;
        align-items: center;
        position: relative;
        padding: 1em;
        width: 100%;
        border: 1px solid #d0168a;
        border-radius: 15px;
    }

    /* Toggle text between Account Menu and Close Menu */
    .my-account-mobile-toggle input[type="checkbox"]:checked + .hamburger-label .menu-text::before {
        content: "Close Menu";
        color: #d0168a;
        font-weight: bold;
    }

    .my-account-mobile-toggle input[type="checkbox"]:not(:checked) + .hamburger-label .menu-text::before {
        content: "Account Menu";
        color: #d0168a;
        font-weight: bold;
    }

    span.menu-text {
      margin: 5px 0 0 10px
    }

    /* Hamburger lines */
    .hamburger-lines {
        position: relative;
        width: 20px;
        height: 16px;
    }

    .hamburger-lines span {
        display: block;
        width: 20px;
        height: 2px;
        background: #d0168a;
        margin: 4px 0;
        transition: 0.3s;
    }

    /* Animate hamburger to X when open */
    .my-account-mobile-toggle input[type="checkbox"]:checked ~ .hamburger-label .hamburger-lines span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .my-account-mobile-toggle input[type="checkbox"]:checked ~ .hamburger-label .hamburger-lines span:nth-child(2) {
        opacity: 0;
    }

    .my-account-mobile-toggle input[type="checkbox"]:checked ~ .hamburger-label .hamburger-lines span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .woocommerce-MyAccount-content {
        margin-top: 10px;
    }
}

/* Desktop: Show sidebar, hide toggle */
@media (min-width: 768px) {
    .my-account-mobile-toggle {
        display: none;
    }

    .woocommerce-MyAccount-navigation {
        display: block;
        width: auto;
        padding: 1em;
        background: transparent;
    }
}

/* EventOn Overrides */

/* Hide elements */
.evoau_submission_form h2,
.evoau_manager h2.title,
.evoau_manager p.evoau_intro {
  display: none !important;
}

/* Buttons and interactive elements */
.evoau_submission_form button.evoau_button,
.evoRS_status_option_selection .evors_rsvped_status_user,
.evcal_evdata_row .evors_attendance_count_data .evors_remaining_spots,
.evcal_evdata_row .evors_checkmark.fa,
#evorsvp_form p.evors_rsvpid_tag,
#evorsvp_form .rsvp_status span.set,
.evors_forms .form_row .evo_plusminus_adjuster b.plu,
.eventon_events_list .eventon_list_event .evoet_cx .evoet_dayblock,
.evors_findrsvp_form_btn {
  background: var(--primary-color) !important;
}

#evorsvp_form .rsvp_status span.set,
#evorsvp_form .evors_gen_form .rsvp_status p span.evors_rsvp_select_box .evors_choices.set:hover,
#evorsvp_form .rsvp_status span.set.evors_choices:hover,
.evcal_evdata_row .evors_attendance_count_data .remaining_count,
.evo_start,
.evors_findrsvp_form_btn {
  color: var(--white) !important;
}

/* Social media and icons */
.evo_metarow_socialmedia a.evo_ss i,
.evocard_row .evcal_evdata_icons i {
  color: var(--secondary-color);
}

.evo_metarow_socialmedia a.evo_ss:hover {
  color: var(--hover-color);
  background: var(--secondary-color);
}

/* Event list and sections */
.eventon_events_list .eventon_list_event .evoet_cx .evoet_b1 {
  background: var(--light-bg);
}

.eventon_main_section {
  padding: 1em;
}

.evosin_event_title,
#evorsvp_form h3 {
  color: var(--primary-color);
}

/* Form elements */
.evors_incard_form #evorsvp_form,
#evorsvp_form .rsvp_status .evors_choices,
.evors_incard_form #evorsvp_form .form_row input,
#evorsvp_form .form_row textarea {
  border: 1px solid var(--secondary-color);
}

#evorsvp_form .form_row.req.err input {
  border: 2px solid var(--primary-color);
}

.evors_incard_form #evorsvp_form p {
  color: var(--secondary-color) !important;
}

.evors_incard_form.error {
  background: var(--white);
}

/* Notifications */
#evorsvp_form .notification.err p {
  background: var(--primary-color);
  color: var(--white) !important;
  font-weight: bold;
  border-radius: 25px;
}

/* Event day block */
.eventon_events_list .eventon_list_event .evoet_cx .evoet_dayblock {
  padding: 20px;
  border-radius: 25px;
}

/* Custom Attributes for Personal Sampler */
.custom-attributes {
    margin-bottom: 20px;
}
.custom-attributes label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.custom-attributes select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {

  #evcal_list .evorow.getdirections .evo_get_direction_content {
    flex-direction: column;
  }

  .evors_change_rsvp span.change {
    font-size: 1.5em;
    padding: 1em;
    border-radius: 50px;
    border: none;
  }

  .variation-description {
    flex-direction: column;
  }

}