/* Core Marketplace Product Card v5.3.4 — final buybox isolation.
   Scope: ONLY right purchase box. Do not touch gallery, parameters or description. */

body.single-product.woocommerce.amui-product-card-v534 .amui-product-main{
  grid-template-columns:minmax(0, 1fr) 340px!important;
  gap:12px!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary{
  width:100%!important;
  min-width:0!important;
  max-width:340px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* Legacy / accidental blocks in the right column. Parameters live in their own section. */
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .woocommerce-breadcrumb,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .ast-breadcrumbs,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > nav.woocommerce-breadcrumb,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .amui-product-highlights,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .woocommerce-product-details__short-description,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .product_meta,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary > .stock{
  display:none!important;
}

/* Seller header, top of Allegro-like purchase card. */
body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline{
  display:block!important;
  width:100%!important;
  min-height:86px!important;
  margin:0!important;
  padding:18px 20px 16px!important;
  border:1px solid var(--cmp-product-line)!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__left{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  align-items:start!important;
  width:100%!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__badge{
  display:block!important;
  color:#111827!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:900!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__badge::before{
  content:'od '!important;
  color:#111827!important;
  font-weight:900!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__seller{
  display:block!important;
  color:#111827!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__brand{
  display:inline-block!important;
  width:max-content!important;
  color:#00796b!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__sep,
body.single-product.woocommerce.amui-product-card-v534 .amui-product-shopline__actions{
  display:none!important;
}

/* Price area. It must be a rectangular card, not a pill. */
body.single-product.woocommerce.amui-product-card-v534 div.product .summary .price{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:16px 20px 4px!important;
  border:1px solid var(--cmp-product-line)!important;
  border-top:1px solid var(--cmp-product-line)!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#078600!important;
  font-size:30px!important;
  line-height:1.06!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  white-space:normal!important;
}

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

body.single-product.woocommerce.amui-product-card-v534 div.product .summary .price del{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 7px 2px 0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:500!important;
  opacity:1!important;
  vertical-align:baseline!important;
}

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

body.single-product.woocommerce.amui-product-card-v534 .amui-product-buybox-context{
  width:100%!important;
  margin:0!important;
  padding:8px 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;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}

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

body.single-product.woocommerce.amui-product-card-v534 .amui-product-buybox-context__line{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.35!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-buybox-context__line span::after{content:':'!important;}
body.single-product.woocommerce.amui-product-card-v534 .amui-product-buybox-context__line strong{
  color:#078600!important;
  font-weight:900!important;
}

/* Quantity + buttons. */
body.single-product.woocommerce.amui-product-card-v534 div.product form.cart{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0 20px 18px!important;
  border:1px solid var(--cmp-product-line)!important;
  border-top:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart::before{
  content:'Liczba sztuk';
  display:inline-flex!important;
  align-items:center!important;
  margin:0 4px 9px 0!important;
  min-height:0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-transform:none!important;
  letter-spacing:0!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buybox-limit-note{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 9px 0!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.2!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buybox-limit-note::before{
  content:'|';
  margin:0 6px 0 2px;
  color:#cbd5e1;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buybox-qty-line{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 10px!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart div.quantity{
  display:grid!important;
  grid-template-columns:40px 48px 40px!important;
  flex:0 0 auto!important;
  width:128px!important;
  height:38px!important;
  margin:0!important;
  border:1px solid #a8b0ba!important;
  background:#fff!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart div.quantity .minus,
body.single-product.woocommerce.amui-product-card-v534 div.product form.cart div.quantity .plus{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:#00796b!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:400!important;
  box-shadow:none!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart div.quantity input.qty{
  width:48px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid #a8b0ba!important;
  border-right:1px solid #a8b0ba!important;
  border-radius:0!important;
  background:#fff!important;
  color:#111827!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:36px!important;
  text-align:center!important;
  box-shadow:none!important;
  appearance:textfield!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buybox-stock-note{
  display:inline-flex!important;
  align-items:center!important;
  min-height:38px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .single_add_to_cart_button,
body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buy-now-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  margin:0 0 8px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:0!important;
  background:#ff5a00!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

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

body.single-product.woocommerce.amui-product-card-v534 div.product form.cart .amui-buy-now-button{
  margin-bottom:0!important;
}

body.single-product.woocommerce.amui-product-card-v534 .amui-product-compare-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:0 18px!important;
  border:1px solid var(--cmp-product-line)!important;
  border-top:0!important;
  background:#fff!important;
  color:#00796b!important;
  font-size:12px!important;
  font-weight:800!important;
  text-align:center!important;
  text-decoration:underline!important;
  box-sizing:border-box!important;
}

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

@media (max-width:980px){
  body.single-product.woocommerce.amui-product-card-v534 .amui-product-main{
    grid-template-columns:1fr!important;
  }
  body.single-product.woocommerce.amui-product-card-v534 .amui-product-main > div.summary{
    max-width:none!important;
  }
}
