/* Core Marketplace Product Card v5.3.3 — buybox only.
   Benefits/confidence cards live in amui-product-card-benefits.css. */

body.single-product.woocommerce div.product .summary .price{
  margin:18px 20px 0!important;
  padding:0!important;
  color:#0f172a!important;
  font-size:clamp(28px, 2.7vw, 40px)!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.035em;
}

body.single-product.woocommerce div.product .summary .price del{
  display:inline-flex!important;
  margin-right:8px;
  color:#64748b!important;
  font-size:14px!important;
  font-weight:500!important;
  opacity:1!important;
}

body.single-product.woocommerce div.product .summary .price ins{
  color:#078600!important;
  text-decoration:none!important;
}

body.single-product.woocommerce div.product form.cart{
  margin:22px 20px 0!important;
  padding-top:16px!important;
  border-top:1px solid var(--cmp-product-line)!important;
}

body.single-product.woocommerce div.product form.cart::before{
  content:'Liczba sztuk';
  display:block;
  margin:0 0 8px;
  color:var(--cmp-product-muted);
  font-size:12px;
  font-weight:800;
}

body.single-product.woocommerce div.product form.cart div.quantity{
  display:inline-grid!important;
  grid-template-columns:44px 48px 44px!important;
  height:40px!important;
  margin:0 0 10px!important;
  border:1px solid #a8b0ba!important;
  background:#fff!important;
  vertical-align:top;
}

body.single-product.woocommerce div.product form.cart div.quantity .minus,
body.single-product.woocommerce div.product form.cart div.quantity .plus{
  width:44px!important;
  height:38px!important;
  min-height:38px!important;
  border:0!important;
  background:#fff!important;
  color:#00796b!important;
  font-size:24px!important;
  line-height:1!important;
  box-shadow:none!important;
}

body.single-product.woocommerce div.product form.cart div.quantity input.qty{
  width:48px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid #a8b0ba!important;
  border-right:1px solid #a8b0ba!important;
  background:#fff!important;
  color:#0f172a!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:none!important;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product.woocommerce div.product form.cart .amui-buy-now-button{
  width:100%!important;
  min-height:44px!important;
  margin:0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--cmp-product-accent)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:950!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

body.single-product.woocommerce div.product form.cart .amui-buy-now-button{
  background:#ff6a00!important;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.single-product.woocommerce div.product form.cart .amui-buy-now-button:hover{
  filter:brightness(.96);
}


@media (max-width: 560px){
  body.single-product.woocommerce div.product .summary .price,
  body.single-product.woocommerce div.product form.cart{
    margin-left:14px!important;
    margin-right:14px!important;
  }
}

/* v5.3.1 — buybox closer to clean marketplace card */
body.single-product.woocommerce div.product .summary .price{
  margin:18px 20px 0!important;
  padding:14px 0 4px!important;
  border-top:1px solid #eef2f7!important;
}

body.single-product.woocommerce div.product .summary .price::before{
  content:'Cena produktu';
  display:block;
  margin:0 0 8px;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.02em;
}

body.single-product.woocommerce div.product .summary .price .amount{
  color:#008a00!important;
}

.amui-product-buybox-context{
  margin:10px 20px 0!important;
  padding:12px 0 0!important;
  border-top:1px solid #eef2f7!important;
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}

.amui-product-buybox-context__sales{
  margin-bottom:12px;
  color:#64748b;
}

.amui-product-buybox-context__line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.amui-product-buybox-context__line strong{
  color:#008a00;
  font-weight:900;
}

body.single-product.woocommerce div.product form.cart{
  margin-top:14px!important;
  padding-top:12px!important;
}

body.single-product.woocommerce div.product form.cart::before{
  content:'Liczba sztuk';
  display:inline-flex;
  align-items:center;
  min-height:22px;
  margin:0 10px 9px 0;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

body.single-product.woocommerce div.product form.cart::after{
  content:'Oferta sklepu';
  display:inline-flex;
  align-items:center;
  min-height:22px;
  margin-bottom:9px;
  color:#64748b;
  font-size:12px;
}

body.single-product.woocommerce div.product form.cart div.quantity{
  display:grid!important;
  margin:0 0 12px!important;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product.woocommerce div.product form.cart .amui-buy-now-button{
  height:42px!important;
  min-height:42px!important;
  letter-spacing:.10em!important;
}

body.single-product.woocommerce div.product form.cart .single_add_to_cart_button::before{
  content:'🛒';
  margin-right:8px;
  font-size:13px;
  line-height:1;
}

body.single-product.woocommerce div.product .amui-buy-now-button{
  margin-top:0!important;
}


@media (min-width: 981px){
  body.single-product.woocommerce .amui-product-main > div.summary{
    position:sticky!important;
    top:18px!important;
  }
}

/* v5.3.2 — buybox and right-side benefit card as separate visual blocks */
body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price,
body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context,
body.single-product.woocommerce.amui-product-card-v532 div.product form.cart{
  background:#fff!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price{
  margin:0!important;
  padding:18px 20px 0!important;
  border-left:1px solid var(--cmp-product-line)!important;
  border-right:1px solid var(--cmp-product-line)!important;
  border-top:0!important;
  font-size:clamp(30px, 2.5vw, 42px)!important;
  color:#078600!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price::before{
  content:''!important;
  display:none!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price del{
  display:block!important;
  margin:0 0 2px!important;
  font-size:12px!important;
  line-height:1.2!important;
  color:#64748b!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price ins,
body.single-product.woocommerce.amui-product-card-v532 div.product .summary .price .amount{
  color:#078600!important;
  text-decoration:none!important;
}

body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context{
  margin:0!important;
  padding:6px 20px 14px!important;
  border-left:1px solid var(--cmp-product-line)!important;
  border-right:1px solid var(--cmp-product-line)!important;
  border-top:0!important;
}

body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context__sales{
  margin:8px 0 14px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid var(--cmp-product-line)!important;
  color:#64748b!important;
  font-size:12px!important;
}

body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context__line{
  justify-content:flex-start!important;
  gap:6px!important;
  font-size:12px!important;
}

body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context__line span::after{
  content:':';
}

body.single-product.woocommerce.amui-product-card-v532 .amui-product-buybox-context__line strong{
  color:#078600!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart{
  margin:0!important;
  padding:0 20px 18px!important;
  border:1px solid var(--cmp-product-line)!important;
  border-top:0!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart::before{
  content:'Liczba sztuk';
  display:block!important;
  margin:0 0 8px!important;
  min-height:0!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:800!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart::after{
  content:''!important;
  display:none!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart div.quantity{
  margin:0 0 10px!important;
  width:126px!important;
  grid-template-columns:42px 42px 42px!important;
  height:38px!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart div.quantity .minus,
body.single-product.woocommerce.amui-product-card-v532 div.product form.cart div.quantity .plus,
body.single-product.woocommerce.amui-product-card-v532 div.product form.cart div.quantity input.qty{
  height:36px!important;
  min-height:36px!important;
}

body.single-product.woocommerce.amui-product-card-v532 div.product form.cart .single_add_to_cart_button,
body.single-product.woocommerce.amui-product-card-v532 div.product form.cart .amui-buy-now-button{
  height:42px!important;
  min-height:42px!important;
  margin:0 0 8px!important;
  font-size:14px!important;
  letter-spacing:.12em!important;
}
