/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/hello-elementor-child
 Description:  Child theme of Hello Elementor – Print checkout (banner, login/register, delivery options, coupon).
 Author:       Print
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* Parent styles are loaded automatically. Loaded after Elementor/WooCommerce via functions.php */

#header-printing {
  display: none !important;
}

.elementor-56124 .elementor-element.elementor-element-1e108105 {
  display: none;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a.elementor-button--view-cart {
  padding: 15px;
}

/* ==========================================================================
   Global table cleanup
   ========================================================================== */

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th,
table tbody > tr:nth-child(odd) > td:hover,
table tbody > tr:nth-child(odd) > th:hover {
  background-color: transparent;
}

/* ==========================================================================
   Single Product - Print Product Details Variations
   ========================================================================== */
/* 
.single-product .print-product-details-variations .quantity {
  display: none !important;
} */

.single-product .print-product-details-variations form.cart {
  margin: 0;
}

.single-product .print-product-details-variations table.variations {
  width: 100%;
  margin: 0 0 24px;
  border: 0;
  border-collapse: collapse;
}

.single-product .print-product-details-variations table.variations tbody {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.single-product .print-product-details-variations table.variations tr {
  display: flex;
  flex: 1 1 calc(50% - 16px);
  flex-direction: column;
}

.single-product .print-product-details-variations table.variations tr:nth-child(3) {
  flex-basis: 100%;
}

.single-product .print-product-details-variations table.variations th.label {
  padding: 0 0 4px;
  color: #000;
  font-family: "Lufga", sans-serif !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.single-product .print-product-details-variations table.variations td.value {
  padding: 0;
}

.single-product .print-product-details-variations table.variations td.value select {
  background-color: #fff !important;
}

.single-product .print-product-details-variations .single_variation_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.single-product .print-product-details-variations .woocommerce-variation {
  margin: 0;
}

.single-product .print-product-details-variations .single_variation_wrap .woocommerce-variation .price {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background-color: #1a1a1a !important;
  color: #fff !important;
  font-family: "Lufga", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
}

.single-product .print-product-details-variations .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  margin: 0;
}

.single-product .print-product-details-variations .single_add_to_cart_button {
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background-color: #e91e8c;
  color: #fff;
  font-family: "Lufga", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.single-product .print-product-details-variations .single_add_to_cart_button:hover {
  background-color: #c41a75;
  color: #fff;
}

.single-product .print-product-details-variations .single_variation_wrap .woocommerce-variation-price,
button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
  border-radius: 8px !important;
  font-size: 20px !important;
}

@media (max-width: 767px) {
  .single-product .print-product-details-variations table.variations tbody {
    gap: 12px;
  }

  .single-product .print-product-details-variations table.variations tr {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   WooCommerce Cart - Custom Layout
   ========================================================================== */

.woocommerce-cart .woocommerce-cart-form__contents.shop_table.cart {
  width: 100%;
  border-spacing: 0 12px;
  border-collapse: separate;
}

/* Remove button */
.woocommerce-cart .woocommerce-cart-form__contents .product-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  color: #000;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

/* Product image */
.woocommerce-cart .woocommerce-cart-form__contents .product-thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}

.woocommerce table.cart img,
.woocommerce-page #content table.cart img,
.woocommerce-page table.cart img {
  width: auto;
  height: 150px;
}

/* Product name and variations */
.woocommerce-cart .woocommerce-cart-form__contents .product-name {
  vertical-align: top;
}

.woocommerce-cart .woocommerce-cart-form__contents .product-name > a {
  display: block;
  margin-bottom: 8px;
  color: #262223 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  text-decoration: none;
}

.woocommerce-cart .woocommerce-cart-form__contents .product-name > a:hover {
  text-decoration: underline;
}

.woocommerce-cart .woocommerce-cart-form__contents .product-name dl.variation {
  margin: 0;
  padding: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents .product-name dl.variation dt,
.woocommerce-cart .woocommerce-cart-form__contents .product-name dl.variation dd {
  display: inline;
  margin: 0;
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: 14px;
}

.woocommerce-cart .woocommerce-cart-form__contents .product-name dl.variation dt::after {
  content: " ";
}

/* Cart page title */
.woocommerce-cart .woocommerce-cart-page-title,
.woocommerce-cart .entry-title,
.woocommerce-cart h1,
.woocommerce-cart .page-title,
.woocommerce-cart .post-title {
  color: var(--color-text-dark) !important;
  font-family: var(--font-heading) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 120% !important;
  text-align: left !important;
}

h1.woocommerce-cart-page-title {
  padding-bottom: 30px !important;
}

/* Table headers */
.woocommerce-cart .woocommerce-cart-form__contents thead th {
  color: #262223;
  font-family: "Lufga" !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 120% !important;
  text-align: center !important;
}

.woocommerce-cart .woocommerce-cart-form__contents thead th.product-name {
  text-align: left !important;
}

/* Table rows */
.woocommerce-cart .woocommerce-cart-form__contents tbody tr.cart_item,
.woocommerce-cart .woocommerce-cart-form__contents tbody td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--color-border);
}

/* Prices */
.woocommerce-cart .woocommerce-cart-form__contents .product-price,
.woocommerce-cart .woocommerce-cart-form__contents .product-subtotal {
  color: var(--color-text-body);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* Quantity */
.woocommerce-cart .woocommerce-cart-form__contents .product-quantity {
  vertical-align: middle;
  text-align: center;
}

.woocommerce-cart .woocommerce-cart-form__contents .quantity .qty {
  width: 70px;
  text-align: center;
}

/* Actions */
.woocommerce-cart .woocommerce-cart-form__contents .actions {
  padding-top: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.woocommerce-cart .woocommerce-cart-form__contents .actions .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.woocommerce-cart .woocommerce-cart-form__contents .actions .coupon input.input-text {
  min-width: 180px;
}

.woocommerce-cart .woocommerce-cart-form__contents .actions .button {
  border-radius: 5px;
}

/* Totals */
.woocommerce-cart .cart_totals .shipping,
.woocommerce-cart .cart_totals .order-total,
.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cart_totals table tr.order-total {
  display: none !important;
}

.woocommerce-cart .cart-collaterals {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.woocommerce-cart .cart_totals {
  float: none !important;
  margin-left: auto !important;
}

/* Checkout button */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body[data-button-style^="rounded"].woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  max-width: 300px !important;
  margin-left: auto !important;
  border-radius: 5px !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  text-align: center !important;
}

/* Responsive cart */
@media screen and (max-width: 768px) {
  .woocommerce-cart .woocommerce-cart-form__contents thead {
    display: none !important;
  }

  .woocommerce-cart .woocommerce-cart-form__contents tbody tr.cart_item {
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .woocommerce-cart .woocommerce-cart-form__contents .product-thumbnail,
  .woocommerce-cart .woocommerce-cart-form__contents .product-remove {
    display: inline-block;
    margin-right: 8px;
  }

  .woocommerce-cart .woocommerce-cart-form__contents .actions {
    text-align: left !important;
  }
}
.shopengine-icon-add_to_favourite_1::before {
	color: #c36;
}
.shopengine-wishlist:hover .shopengine-icon-add_to_favourite_1::before {
	color: #fff;
}
.woocommerce-notices-wrapper > .shopengine-woocommerce-info, .woocommerce-notices-wrapper > .woocommerce-message[role="alert"]:nth-child(2) {
	display: none;
}
.shopengine-template .woocommerce-notices-wrapper {
	max-width: 100%;
}
.woocommerce-message .button.wc-forward {
    padding: 16px;
    background: #ffffff;
    color: #01B2E6;
    font-weight: 500;
    line-height: 1;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
	margin-left: auto;
}
.woocommerce-message {
	background-color: #01B2E6;
    color: #ffffff;
	border-top-color: transparent;
	display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.woocommerce-message::before {
    color: #fff;
	top: 1rem;
}
/* ===== Thumbnail strip: single scrollable row, no visible scrollbar ===== */
.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 0 0;
  padding: 0;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* old Edge/IE */
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, new Edge */
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
  display: inline-block !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: 90px !important;
  margin-right: 8px !important;
  list-style: none;
}

.woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li:last-child {
  margin-right: 0 !important;
}

/* ===== Arrow wrapper + buttons ===== */
.woocommerce-thumb-nav-wrap {
  position: relative;
}

.custom-gallery-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 20%;
  background: #00A5E3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
}

.custom-gallery-arrows button:hover {
  opacity: 0.9;
}

.custom-gallery-arrows button svg {
  width: 24px;
  height: 24px;
  display: block;
}

.custom-gallery-prev {
  left: -6px;
}

.custom-gallery-next {
  right: -6px;
}

.custom-gallery-next svg {
  transform: scaleX(-1);
}

/* Wrap the thumbnail row so arrows can be positioned relative to it */
.woocommerce-thumb-nav-wrap {
  position: relative;
}

.custom-gallery-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: unset;
  cursor: pointer;
  padding: 0;
}

.custom-gallery-arrows button:hover {
  box-shadow:unset;
	background: transparent;
}

.custom-gallery-prev { left: -6px; }
.custom-gallery-next { right: -6px; }

/* .custom-gallery-prev:before,
.custom-gallery-next:before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}
 */
.custom-gallery-prev:before { transform: rotate(-135deg); margin-left: 2px; }
.custom-gallery-next:before { transform: rotate(45deg); margin-right: -2px; }
.dropdown-left-img {
	height: 250px;
}
.shopengine-comparison, .shopengine-quickview-trigger {
	display: none!important;
}
.woocommerce-product-gallery__trigger {
    display: none !important;
}
.single-product .shopengine-wishlist {
	margin-right: 10px;
}
.elementor-menu-cart__product-name, .elementor-menu-cart__product-price {
    font-size: 14px;
    padding-inline-start: 10px;
}
.elementor-menu-cart__main {
	padding: 10px;
}
.elementor-menu-cart__product .variation {
    color: var(--product-variations-color, #1f2124);
    display: grid;
    grid-template-columns: 40% 60%;
    margin: 10px 0;
}
#buttons-container,
#buttons-container > div,
#buttons-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

@media only screen and (min-width: 500px) {
   .cart_totals  .wc-proceed-to-checkout {
		max-width: 750px;
	   margin-left: auto;
	}
}
.woocommerce ul.products li.product a img {
    transition: opacity 0.4s ease-in-out;
}

.woocommerce ul.products li.product a {
    position: relative;
    display: block;
}
.woocommerce ul.products li.product a.shopengine-wishlist {
	display: inline-block;
}
.woocommerce ul.products li.product a img.hover-secondary-image {
    position: absolute;
    top: 0;
    left: 0;
/*     width: 100%;
    height: 100%; */
    object-fit: cover;
    opacity: 0;
}

.woocommerce ul.products li.product a:hover img.hover-secondary-image {
    opacity: 1;
}

.woocommerce ul.products li.product a:hover img:not(.hover-secondary-image) {
    opacity: 0;
}

.single-product .print-product-details-variations .single_variation_wrap .woocommerce-variation-price {   
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.single-product .print-product-details-variations .single_variation_wrap .woocommerce-variation-price .price {
    display: inline-block;
    background-color: #1a1a1a !important;
    color: #fff;
    padding: 16px 20px;
	border-radius: 8px !important;
    font-size: 20px !important;
}

.single-product .print-product-details-variations .single_variation_wrap .woocommerce-variation-price square-placement {
    display: block;
    margin-top: 8px;
    background: transparent !important;
}

/* Optional: if the Afterpay text still looks visually "boxed"
   because of Afterpay's own shadow-DOM styling, you can also
   try forcing its inner padding to 0 (safe to leave commented
   out if not needed): */
/*
.woocommerce-variation-price square-placement::part(container) {
    padding: 0;
    background: transparent;
}
*/
body.single-product .single_variation_wrap .quantity input[type="number"]{
	width: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-right: 15px;
}
body.single-product .single_variation_wrap .quantity {
	position: relative;
}
body.single-product .single_variation_wrap .quantity::before {
    content: "Quantity";
    position: absolute;
    top: -25px;
    left: 10px;
}
.single-product .single_variation_wrap .single_add_to_cart_button {
    padding: 15px 28px !important;
}
.woocommerce-checkout .elementor-shortcode .woocommerce-message {
	    max-width: 1120px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 4vw, 40px) !important;
    padding-right: clamp(16px, 4vw, 40px) !important;
    box-sizing: border-box;
    width: 100%;
}