
/* phadin-product-card-frame-fix-20260618:start */
body.tax-product_cat .products,
body.post-type-archive-product .products,
body.tax-product_cat .shop-container .products.row,
body.post-type-archive-product .shop-container .products.row {
  align-items: stretch !important;
  max-width: 100% !important;
}

body.tax-product_cat .products > .product,
body.tax-product_cat .products > .product-small,
body.tax-product_cat .products > .col,
body.tax-product_cat .shop-container .products.row > .product-small.col,
body.post-type-archive-product .products > .product,
body.post-type-archive-product .products > .product-small,
body.post-type-archive-product .products > .col,
body.post-type-archive-product .shop-container .products.row > .product-small.col {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.tax-product_cat .product-small,
body.post-type-archive-product .product-small,
body.tax-product_cat .phadin-product-card,
body.post-type-archive-product .phadin-product-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.tax-product_cat .box-image,
body.post-type-archive-product .box-image,
body.tax-product_cat .phadin-product-card-image,
body.post-type-archive-product .phadin-product-card-image,
body.tax-product_cat .shop-container .products.row > .product-small.col .box-image,
body.post-type-archive-product .shop-container .products.row > .product-small.col .box-image {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

body.tax-product_cat .box-image > a,
body.tax-product_cat .box-image .image-zoom,
body.tax-product_cat .box-image .image-cover,
body.post-type-archive-product .box-image > a,
body.post-type-archive-product .box-image .image-zoom,
body.post-type-archive-product .box-image .image-cover {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.tax-product_cat .box-image img,
body.post-type-archive-product .box-image img,
body.tax-product_cat .phadin-product-card-image img,
body.post-type-archive-product .phadin-product-card-image img,
body.tax-product_cat .shop-container .products.row > .product-small.col .box-image img,
body.post-type-archive-product .shop-container .products.row > .product-small.col .box-image img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  position: static !important;
}

/* Higher specificity for inline category CSS that appears later in the DOM. */
html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .product-small.box,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .product-small.box {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image > a,
html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image .image-zoom,
html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image .image-cover,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image > a,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image .image-zoom,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image .image-cover {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image img,
html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  position: static !important;
}

body.tax-product_cat .product-title,
body.post-type-archive-product .product-title,
body.tax-product_cat .phadin-product-card-title,
body.post-type-archive-product .phadin-product-card-title {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (max-width: 767px) {
  body.tax-product_cat .box-image,
  body.post-type-archive-product .box-image,
  body.tax-product_cat .phadin-product-card-image,
  body.post-type-archive-product .phadin-product-card-image {
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
  }

  body.tax-product_cat .box-image img,
  body.post-type-archive-product .box-image img,
  body.tax-product_cat .phadin-product-card-image img,
  body.post-type-archive-product .phadin-product-card-image img {
    max-width: 94% !important;
    max-height: 94% !important;
    width: 94% !important;
    height: 94% !important;
    object-fit: contain !important;
  }

  html body.tax-product_cat.term-may-pha-ca-phe #main .shop-container .products.row > .product-small.col .box-image img,
  html body.post-type-archive-product #main .shop-container .products.row > .product-small.col .box-image img {
    max-width: 94% !important;
    max-height: 94% !important;
    width: 94% !important;
    height: 94% !important;
    object-fit: contain !important;
  }
}
/* phadin-product-card-frame-fix-20260618:end */
