/*
Theme Name:     KadenceBDC
Theme URI:      n/a
Template:       kadence
Author:         Barndog Creative
Author URI:     https://barndogcreative.com
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/*@media (max-width: 1024px) {
	.kadence-column5_4c371f-b6 > .kt-inside-inner-col {
    padding-top: 90px;
}
}*/


/* gravity forms fields fields: White background */
.gfield input:not(.valid):not(.invalid),
.gfield select:not(.valid):not(.invalid),
.gfield textarea:not(.valid):not(.invalid) {
background-color: #F7F8F9; /* Default white */
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background: #ffffff !important;
}

/* Default desktop style (wraps or displays at normal size) */
.custom-inline-img {
    display: inline-block;
    max-width: 100%;
}

/* Mobile override (screens under 768px) */
@media screen and (max-width: 767px) {
    .custom-inline-img {
        width: 80%; /* Adjust mobile width here */
    }
}

/* Force the dynamic archive query grid images into perfect circles */
.wp-block-kadence-advancedqueryloop class[class*="archive-loop"],
.wp-block-query ul.products li.product a img,
.archive-query-loop .loop-thumbnail,
.archive-query-loop img {
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    overflow: hidden !important;
}

/* Ensure the outer link wrapper scales as a square container */
.archive-query-loop ul.products li.product a:first-of-type,
.wp-block-post-featured-image {
    display: block !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
}

