/* ==========================================
   PRINT GEEK — HEADER CART FINAL OVERRIDE
   Handles shortcode cart and fallback header cart links
   ========================================== */

.elementor-location-header .pg-header-cart,
.elementor-location-header a.pg-header-cart,
.elementor-location-header a[href*="/cart"]{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#8224e3,#5b14a8)!important;
  color:#ffffff!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:950!important;
  border:0!important;
  box-shadow:0 10px 24px rgba(130,36,227,.22)!important;
  white-space:nowrap!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important;
}

.elementor-location-header .pg-header-cart:hover,
.elementor-location-header a.pg-header-cart:hover,
.elementor-location-header a[href*="/cart"]:hover{
  background:linear-gradient(135deg,#6c1cc0,#4a0f8c)!important;
  color:#ffffff!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 32px rgba(130,36,227,.32)!important;
}

.elementor-location-header .pg-header-cart *,
.elementor-location-header a.pg-header-cart *,
.elementor-location-header a[href*="/cart"] *{
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
  text-decoration:none!important;
}

.elementor-location-header .pg-header-cart svg,
.elementor-location-header a.pg-header-cart svg,
.elementor-location-header a[href*="/cart"] svg,
.elementor-location-header a[href*="/cart"] i{
  display:inline-flex!important;
  width:19px!important;
  height:19px!important;
  margin:0!important;
  color:#ffffff!important;
  fill:#ffffff!important;
  stroke:#ffffff!important;
}

.elementor-location-header .pg-cart-label,
.elementor-location-header .pg-cart-subtotal{
  display:inline-flex!important;
  align-items:center!important;
  color:#ffffff!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  opacity:1!important;
}

.elementor-location-header .pg-cart-count{
  min-width:22px!important;
  height:22px!important;
  padding:0 6px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#06111f!important;
  color:#ffffff!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.25)!important;
}

.elementor-location-header .pg-cart-subtotal .woocommerce-Price-amount,
.elementor-location-header .pg-cart-subtotal bdi,
.elementor-location-header a[href*="/cart"] .woocommerce-Price-amount,
.elementor-location-header a[href*="/cart"] bdi{
  color:#ffffff!important;
  font-size:12px!important;
  font-weight:900!important;
}

/* In case the cart text is split over lines by Elementor/shortcode output */
.elementor-location-header .pg-header-cart br,
.elementor-location-header a.pg-header-cart br,
.elementor-location-header a[href*="/cart"] br{
  display:none!important;
}

/* Do not let generic header link styling flatten the cart button */
.elementor-location-header a[href*="/cart"]:not(.elementor-button){
  border-radius:999px!important;
}

/* Mobile */
@media(max-width:768px){
  .elementor-location-header .pg-header-cart,
  .elementor-location-header a.pg-header-cart,
  .elementor-location-header a[href*="/cart"]{
    min-height:42px!important;
    padding:10px 13px!important;
    gap:7px!important;
  }

  .elementor-location-header .pg-cart-subtotal{
    display:none!important;
  }

  .elementor-location-header .pg-cart-count{
    min-width:24px!important;
    height:24px!important;
    font-size:13px!important;
  }
}

@media(max-width:430px){
  .elementor-location-header .pg-header-cart,
  .elementor-location-header a.pg-header-cart,
  .elementor-location-header a[href*="/cart"]{
    min-width:72px!important;
    padding:10px 14px!important;
  }

  .elementor-location-header .pg-cart-label{
    display:none!important;
  }

  .elementor-location-header .pg-header-cart svg,
  .elementor-location-header a.pg-header-cart svg,
  .elementor-location-header a[href*="/cart"] svg,
  .elementor-location-header a[href*="/cart"] i{
    width:22px!important;
    height:22px!important;
  }
}

