/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.2.16
*/
dt.variation-CaseType {
  display: none !important;
}

dd.variation-CaseType {
  margin-left: 0 !important;
}

dl.variation {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

/* 
 * Acrylic case price switcher
 */
.product-card .price-with-acrylic-case,
.product-card .price-without-acrylic-case {
  display: none !important;
}

.product-card:not(
    :has(
      input[type="radio"][value="Without Acrylic Case"],
      input[type="radio"][value="With Acrylic Case"]
    )
  )
  .price-without-acrylic-case {
  display: block !important;
}

.product-card:has(input[type="radio"][value="Without Acrylic Case"]:checked)
  .price-without-acrylic-case {
  display: block !important;
}

.product-card:has(input[type="radio"][value="With Acrylic Case"]:checked)
  .price-with-acrylic-case {
  display: block !important;
}

.product-card:has(input[type="radio"][value="With Acrylic Case"]:checked)
  .price-without-acrylic-case {
  display: none !important;
}

/* Hide WITH acrylic rows by default */
.elementor-widget-jet-listing-dynamic-repeater
  .jet-listing-dynamic-repeater__item:has([data-variant="With Acrylic Case"]) {
  display: none !important;
}

/* Show WITHOUT acrylic rows by default */
.elementor-widget-jet-listing-dynamic-repeater
  .jet-listing-dynamic-repeater__item:has(
    [data-variant="Without Acrylic Case"]
  ) {
  display: block !important;
}

/* When JS adds show-with-acrylic, show WITH acrylic rows */
.elementor-widget-jet-listing-dynamic-repeater.show-with-acrylic
  .jet-listing-dynamic-repeater__item:has([data-variant="With Acrylic Case"]) {
  display: block !important;
}

/* When JS adds show-with-acrylic, hide WITHOUT acrylic rows */
.elementor-widget-jet-listing-dynamic-repeater.show-with-acrylic
  .jet-listing-dynamic-repeater__item:has(
    [data-variant="Without Acrylic Case"]
  ) {
  display: none !important;
}

/*
 * Product image zoom
 */
.ect-product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  place-content: center;
}

.elementor-nav-menu > li.menu-item-has-children > a.has-submenu {
  cursor: pointer;
}

.woocommerce-checkout #place_order {
  width: 100% !important;
  display: block;
}

#temp-woopay-connect-iframe {
  display: none !important;
}

/* Center the login area */
#customer_login {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 2rem 1rem !important;
}

/* Hide both cols, show only active one */
#customer_login .col-1,
#customer_login .col-2 {
  display: none !important;
  float: none !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#customer_login .col-1.active,
#customer_login .col-2.active {
  display: block !important;
}

/* Hide the h2 Login/Register inside each col */
#customer_login h2 {
  display: none !important;
}

/* Switch link at the bottom */
.auth-switch {
  margin-top: 1.5rem;
  font-size: 14px;
  color: #555;
  text-align: center;
}
.auth-switch a {
  color: #e07620 !important;
  cursor: pointer;
  text-decoration: none;
}

/* Orange buttons */
#customer_login .woocommerce-button,
#customer_login .woocommerce-Button {
  background: #e07620 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}

/* Orange links */
#customer_login a {
  color: #e07620 !important;
}
