/*
Theme Name: PrintSpace - Child
Theme URI: https://harutheme.com/printspace
Author: HaruTheme
Author URI: https://harutheme.com/
Description: This is child theme of PrintSpace
Template: printspace
Version: 1.0.0
*/

/*---------------------------------
  	Write your css code from here
------------------------------------*/

/* Complianz: manage cookies button — left, mini circle */
#cmplz-manage-consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  right: auto;
  z-index: 9999;
}

#cmplz-manage-consent .cmplz-manage-consent {
  position: relative !important;
  right: auto !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #e8e8e8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  white-space: nowrap;
  animation: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

#cmplz-manage-consent .cmplz-manage-consent::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #222;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01'/%3E%3Cpath d='M16 15.5v.01'/%3E%3Cpath d='M12 12v.01'/%3E%3Cpath d='M7 16v.01'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01'/%3E%3Cpath d='M16 15.5v.01'/%3E%3Cpath d='M12 12v.01'/%3E%3Cpath d='M7 16v.01'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus {
  animation: none !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  #cmplz-manage-consent {
    left: 12px;
    bottom: 12px;
  }

  #cmplz-manage-consent .cmplz-manage-consent {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }

  #cmplz-manage-consent .cmplz-manage-consent::before {
    width: 18px;
    height: 18px;
  }
}

body.admin-bar #cmplz-manage-consent {
  bottom: 48px;
}

@media (max-width: 782px) {
  body.admin-bar #cmplz-manage-consent {
    bottom: 62px;
  }
}

/* Cart: override global `.quantity { display: none }` from Additional CSS */
.woocommerce-cart .product-quantity .quantity {
  display: inline-flex !important;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
}

.woocommerce-cart .product-quantity .input-text[type="number"] {
  color: #000;
}

.woocommerce-cart .product-quantity .input-button {
  color: #333;
  opacity: 1;
}

.woocommerce-cart .quantity:has(.qty[type="hidden"]) .qty-display {
  display: inline-block;
  min-width: 28px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

.woocommerce-cart .wc-block-components-quantity-selector {
  background: #f5f5f5;
  border-color: #dcdcdc !important;
}

.woocommerce-cart .wc-block-components-quantity-selector__input,
.woocommerce-cart .wc-block-components-quantity-selector__button {
  color: #000 !important;
  opacity: 1 !important;
}

/* Cart buttons: guard against wpautop <p>/<br> breaking flex button layout */
.woocommerce-cart .woocommerce-cart-form .cart-actions > p {
  display: contents;
  margin: 0;
}

.woocommerce-cart .wc-proceed-to-checkout > p {
  display: contents;
  margin: 0;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button br {
  display: none;
}

/* Footer: hide center logo in bottom bar (keep company-column logo) */
#haru-footer .elementor-element-64b31a9 {
  display: none !important;
}

#haru-footer .elementor-element-d5674e5 > .e-con-inner {
  justify-content: space-between;
  align-items: center;
}

#haru-footer .elementor-element-1bd4c78 {
  margin-left: auto;
}

/* Footer: normalize payment method icon heights */
#haru-footer .haru-footer-payment-icons {
  gap: 8px;
}

#haru-footer .haru-footer-payment-icon {
  min-height: 36px;
  min-width: 52px;
  padding: 6px 10px;
}

#haru-footer .haru-footer-payment-icon img {
  display: block;
  height: 24px !important;
  width: auto !important;
  max-width: 56px !important;
  object-fit: contain;
}
