/* Product purchase panel. Scoped to the shared single-product layout. */
.cro-buy-box__single-product-template > .elementor-container > .elementor-column > .elementor-widget-wrap {
  container-name: ariete-buybox;
  container-type: inline-size;
  padding: 22px !important;
  border-radius: 22px !important;
  background: #eff4ff;
}
.cro-buy-box__single-product-template > .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-element {
  margin-bottom: 0;
}
.cro-buy-box__single-product-template .wd-single-price {
  margin-bottom: 12px !important;
}
.cro-buy-box__single-product-template form.cart {
  margin: 0 !important;
  gap: 12px;
  align-items: stretch;
}
.cro-buy-box__single-product-template .wd-single-add-cart {
  margin-bottom: 18px !important;
}
.cro-buy-box__single-product-template table.variations {
  width: 100%;
  margin-bottom: 12px;
}
.cro-buy-box__single-product-template table.variations .cell {
  display: block;
  width: 100%;
  padding: 0;
}
.cro-buy-box__single-product-template table.variations .label {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
}
.cro-buy-box__single-product-template table.variations label {
  font-weight: 400;
}
.cro-buy-box__single-product-template table.variations label::before {
  content: "Избери ";
}
.cro-buy-box__single-product-template .wd-attr-selected {
  font-weight: 600;
}
.cro-buy-box__single-product-template .wd-swatches-single {
  gap: 14px 20px;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch.wd-bg {
  --wd-swatch-brd-color: #dce2ec;
  width: 54px;
  height: 54px;
  padding: 4px;
  border-width: 3px !important;
  background: transparent;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch.wd-bg.wd-active {
  --wd-swatch-brd-color: #747b82;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch.wd-bg:hover {
  --wd-swatch-brd-color: #9aa3af;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch:focus-visible {
  outline: 2px solid #303030;
  outline-offset: 3px;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch img {
  object-fit: contain;
}
.cro-buy-box__single-product-template .wd-swatches-single .wd-swatch-bg::before {
  display: none;
}
.cro-buy-box__single-product-template .wd-reset-var,
.cro-buy-box__single-product-template .reset_variations,
.cro-buy-box__single-product-template .custom-stock-status .shipping-estimate {
  display: none !important;
}
.cro-buy-box__single-product-template .custom-stock-status {
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.cro-buy-box__single-product-template .in-stock-text {
  font-weight: 400;
}
.cro-buy-box__single-product-template .img__custom-stock-status {
  width: 13px;
  height: 13px;
  transform: none;
}
.cro-buy-box__single-product-template .woocommerce-variation > .woocommerce-variation-availability {
  margin: 0 0 12px;
}
.cro-buy-box__single-product-template .woocommerce-variation-add-to-cart {
  gap: 12px;
  align-items: stretch;
}
.cro-buy-box__single-product-template .aew-warranty-slot {
  margin-bottom: 0;
}
.cro-buy-box__single-product-template form.cart div.quantity {
  --wd-form-height: 50px;
  flex: 0 0 auto;
  margin: 0;
}
.cro-buy-box__single-product-template div.quantity input {
  background: #fff;
  font-size: 16px;
}
.cro-buy-box__single-product-template div.quantity input.qty {
  width: 34px;
}
.cro-buy-box__single-product-template div.quantity .btn {
  min-width: 28px;
}
.cro-buy-box__single-product-template form.cart .single_add_to_cart_button {
  position: relative;
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 10px 14px;
  padding-inline-start: 64px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.cro-buy-box__single-product-template form.cart .single_add_to_cart_button::before {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inset-inline-end: auto;
  width: 50px;
  height: auto;
  margin: 0;
  background-color: #b70001;
  background-size: 28px;
}
.cro-buy-box__single-product-template .ariete-payment-section {
  margin: 0 0 12px !important;
}
.cro-buy-box__single-product-template .ariete-payment-section .elementor-widget-wrap {
  justify-content: center;
  padding: 0;
}
.cro-buy-box__single-product-template .ariete-payment-section .elementor-widget {
  width: 100%;
  max-width: 100%;
}
.cro-buy-box__single-product-template .ariete-payments {
  width: 100%;
  margin: 0;
  text-align: center;
  color: #303030;
}
.cro-buy-box__single-product-template .ariete-payments p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
}
.cro-buy-box__single-product-template .ariete-payments strong {
  font-weight: 700;
}
.cro-buy-box__single-product-template .ariete-payment-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 340px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.cro-buy-box__single-product-template .ariete-payment-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin: 0;
  padding: 7px;
  border: 1px solid #dfe4ed;
  border-radius: 6px;
  background: #fff;
}
.cro-buy-box__single-product-template .ariete-payment-logos img {
  display: block;
  width: 42px;
  max-width: 100%;
  height: 24px;
  object-fit: contain;
}
.cro-buy-box__single-product-template .ariete-payment-logos .ariete-payment-symbol {
  width: 32px;
}
.cro-buy-box__single-product-template .ariete-buybox-actions {
  margin: 0 0 14px !important;
}
.cro-buy-box__single-product-template .ariete-buybox-actions .elementor-widget-wrap {
  justify-content: space-between !important;
  align-items: center;
  gap: 8px 12px;
  padding: 0;
}
.cro-buy-box__single-product-template .fast-order-widget-container {
  margin: 0 !important;
}
.cro-buy-box__single-product-template .fast-order-widget-container > .elementor-widget-container {
  margin: 0 !important;
}
.cro-buy-box__single-product-template a.cro__fast-order-btn,
.cro-buy-box__single-product-template .wd-wishlist-btn a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #414142;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
}
.cro-buy-box__single-product-template .wd-wishlist-btn .wd-action-text {
  font-size: inherit !important;
}
.cro-buy-box__single-product-template .wd-wishlist-btn .wd-action-text,
.cro-buy-box__single-product-template .cro__fast-order-btn span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cro-buy-box__single-product-template .wd-wishlist-btn a::before,
.cro-buy-box__single-product-template .wd-wishlist-btn .wd-action-icon {
  font-size: 22px;
}
.cro-buy-box__single-product-template .ariete-fast-order-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits {
  margin: 0 !important;
  padding: 15px !important;
  border-radius: 18px !important;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits .elementor-icon-list-items {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits .elementor-icon-list-item {
  align-items: center;
  gap: 13px;
  margin: 0 !important;
  padding: 0 !important;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits .elementor-icon-list-icon {
  width: 27px;
  flex: 0 0 27px;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits .elementor-icon-list-icon svg {
  flex: 0 0 27px;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
}
.cro-buy-box__single-product-template .ariete-buybox-benefits .elementor-icon-list-text {
  padding: 0;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.4 !important;
}
@media (max-width: 767px) {
  .cro-buy-box__single-product-template {
    width: calc(100% + 16px) !important;
    max-width: none;
    margin-inline: -8px !important;
  }
  .cro-buy-box__single-product-template > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 18px !important;
  }
  .cro-buy-box__single-product-template form.cart,
  .cro-buy-box__single-product-template .woocommerce-variation-add-to-cart {
    gap: 10px;
  }
  .cro-buy-box__single-product-template form.cart .single_add_to_cart_button {
    gap: 6px;
    padding-inline: 8px;
    padding-inline-start: 50px;
    font-size: clamp(14px, 4vw, 18px) !important;
  }
  .cro-buy-box__single-product-template form.cart .single_add_to_cart_button::before {
    width: 42px;
    background-size: 24px;
  }
  .cro-buy-box__single-product-template .ariete-buybox-actions .elementor-widget-wrap {
    column-gap: 8px;
  }
  .cro-buy-box__single-product-template .ariete-payments p {
    font-size: 14px;
  }
  .cro-buy-box__single-product-template div.quantity input.qty {
    width: 30px;
  }
  .cro-buy-box__single-product-template div.quantity .btn {
    min-width: 25px;
  }
  .cro-buy-box__single-product-template a.cro__fast-order-btn,
  .cro-buy-box__single-product-template .wd-wishlist-btn a {
    font-size: 17px;
  }
}
@media (max-width: 359px) {
  .cro-buy-box__single-product-template > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 14px !important;
  }
  .cro-buy-box__single-product-template form.cart .single_add_to_cart_button {
    gap: 5px;
    padding-inline: 7px;
    padding-inline-start: 43px;
    font-size: 13px !important;
  }
  .cro-buy-box__single-product-template form.cart .single_add_to_cart_button::before {
    width: 36px;
    background-size: 22px;
  }
  .cro-buy-box__single-product-template a.cro__fast-order-btn,
  .cro-buy-box__single-product-template .wd-wishlist-btn a {
    gap: 5px;
    font-size: 14px;
  }
  .cro-buy-box__single-product-template .ariete-buybox-benefits {
    padding: 12px !important;
  }
  .cro-buy-box__single-product-template .aew-warranty .aew-choice {
    grid-template-columns: 19px minmax(0, 1fr);
  }
  .cro-buy-box__single-product-template .aew-warranty .aew-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }
  .cro-buy-box__single-product-template .aew-warranty .aew-recommended {
    margin-left: 18px;
  }
}
/* Use the panel's available width, including wide tablets and landscape phones. */
@container ariete-buybox (min-width: 440px) {
  .cro-buy-box__single-product-template form.cart,
  .cro-buy-box__single-product-template .woocommerce-variation-add-to-cart {
    justify-content: flex-start;
  }
  .cro-buy-box__single-product-template form.cart .single_add_to_cart_button {
    flex: 0 1 340px;
  }
  .cro-buy-box__single-product-template .ariete-payment-section .elementor-widget-wrap {
    justify-content: flex-start;
  }
  .cro-buy-box__single-product-template .ariete-payments {
    text-align: left;
  }
  .cro-buy-box__single-product-template .ariete-payment-logos {
    margin-inline: 0;
  }
  .cro-buy-box__single-product-template .ariete-buybox-actions .elementor-widget-wrap {
    justify-content: flex-start !important;
    column-gap: 40px;
  }
}
