
body.phadin-global-layout {
  --phadin-card-action-height: 48px;
  --phadin-card-cart-width: 56px;
  --phadin-card-action-gap: 10px;
}

body.phadin-global-layout .products.row > .product-small.col,
body.phadin-global-layout .products.row > .product.col,
body.phadin-global-layout ul.products > li.product {
  display: flex !important;
  min-width: 0 !important;
}

body.phadin-global-layout .products.row > .product-small.col > .col-inner,
body.phadin-global-layout .products.row > .product.col > .col-inner,
body.phadin-global-layout ul.products > li.product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.phadin-global-layout .product-small .phadin-product-card,
body.phadin-global-layout .product-small .box.phadin-product-card,
body.phadin-global-layout ul.products li.product .phadin-product-card {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.phadin-global-layout .phadin-product-card .box-image {
  aspect-ratio: 1 / 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

body.phadin-global-layout .phadin-product-card .box-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

body.phadin-global-layout .phadin-product-card .box-text,
body.phadin-global-layout .phadin-product-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

body.phadin-global-layout .phadin-product-card .title-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
}

body.phadin-global-layout .phadin-product-card .woocommerce-loop-product__title,
body.phadin-global-layout .phadin-product-card .product-title,
body.phadin-global-layout .phadin-product-card .name {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-height: 1.32 !important;
}

body.phadin-global-layout .phadin-product-card .price-wrapper,
body.phadin-global-layout .phadin-product-card .price {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
}

body.phadin-global-layout .phadin-product-card-actions,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions,
body.phadin-global-layout .product-small .box-text > .phadin-product-card-actions,
body.phadin-global-layout .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout #main .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout #js-append .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions,
body.phadin-global-layout.home .phadin-product-card .phadin-product-card-actions,
body.phadin-global-layout.single-product .related-products-wrapper .product-small .box-text > .phadin-product-card-actions,
body.phadin-global-layout.single-product .product-section .product-small .box-text > .phadin-product-card-actions {
  align-self: stretch !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) var(--phadin-card-cart-width) !important;
  gap: var(--phadin-card-action-gap) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: var(--phadin-card-action-height) !important;
  min-height: var(--phadin-card-action-height) !important;
  max-height: var(--phadin-card-action-height) !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  position: relative !important;
}

body.phadin-global-layout .phadin-product-card-actions > *,
body.phadin-global-layout .phadin-product-card-actions > a,
body.phadin-global-layout .phadin-product-card-actions > .button {
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

body.phadin-global-layout .phadin-product-card-actions > .phadin-card-detail,
body.phadin-global-layout .phadin-product-card-actions > .phadin-product-detail-button,
body.phadin-global-layout .phadin-product-card-actions > .product-detail-button,
body.phadin-global-layout .phadin-product-card-actions > .view-detail,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions > .phadin-card-detail,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions > .phadin-product-detail-button,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-detail,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-detail-button,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-detail,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-detail-button,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-detail,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-detail-button {
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  height: var(--phadin-card-action-height) !important;
  min-height: var(--phadin-card-action-height) !important;
  max-height: var(--phadin-card-action-height) !important;
  padding: 0 16px !important;
  border: 1px solid #01774e !important;
  border-radius: 8px !important;
  background: #01774e !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

body.phadin-global-layout .phadin-product-card-actions > .phadin-card-add-cart,
body.phadin-global-layout .phadin-product-card-actions > .phadin-product-cart-icon,
body.phadin-global-layout .phadin-product-card-actions > .phadin-card-cart,
body.phadin-global-layout .phadin-product-card-actions > .add-to-cart-grid,
body.phadin-global-layout .phadin-product-card-actions > .add_to_cart_button,
body.phadin-global-layout .phadin-product-card-actions > a.add_to_cart_button,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions > .phadin-card-add-cart,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions > .phadin-product-cart-icon,
body.phadin-global-layout .phadin-product-card .phadin-product-card-actions > .phadin-card-cart,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-add-cart,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-cart-icon,
body.phadin-global-layout.tax-product_cat .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-cart,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-add-cart,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-cart-icon,
body.phadin-global-layout.post-type-archive-product .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-cart,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-add-cart,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-product-cart-icon,
body.phadin-global-layout.search .shop-container .products.row > .product-small.col .box-text > .phadin-product-card-actions > .phadin-card-cart {
  grid-column: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: stretch !important;
  flex: 0 0 var(--phadin-card-cart-width) !important;
  width: var(--phadin-card-cart-width) !important;
  min-width: var(--phadin-card-cart-width) !important;
  max-width: var(--phadin-card-cart-width) !important;
  height: var(--phadin-card-action-height) !important;
  min-height: var(--phadin-card-action-height) !important;
  max-height: var(--phadin-card-action-height) !important;
  padding: 0 !important;
  border: 2px solid #ed6d46 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #ed6d46 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.phadin-global-layout .phadin-product-card-actions svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  color: inherit !important;
  stroke: currentColor !important;
}

body.phadin-global-layout .phadin-product-card-actions .cart-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  color: inherit !important;
}

body.phadin-global-layout .phadin-product-card-actions .cart-icon strong {
  display: none !important;
}

@media (max-width: 480px) {
  body.phadin-global-layout {
    --phadin-card-action-height: 44px;
    --phadin-card-cart-width: 48px;
    --phadin-card-action-gap: 8px;
  }

  body.phadin-global-layout .phadin-product-card-actions > .phadin-card-detail,
  body.phadin-global-layout .phadin-product-card-actions > .phadin-product-detail-button,
  body.phadin-global-layout .phadin-product-card-actions > .product-detail-button,
  body.phadin-global-layout .phadin-product-card-actions > .view-detail {
    padding: 0 8px !important;
    font-size: 13px !important;
  }

  body.phadin-global-layout .phadin-product-card-actions svg,
  body.phadin-global-layout .phadin-product-card-actions .cart-icon {
    width: 22px !important;
    height: 22px !important;
  }
}
