.product.ast-grid-common-col,
.product-item,
ul.products li.product {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product.ast-grid-common-col:hover,
.product-item:hover,
ul.products li.product:hover {
    border-color: #8b6f47;
    box-shadow: 0 8px 24px rgba(139, 111, 71, 0.15);
    transform: translateY(-6px);
}

/* Product Thumbnail Wrapper */
.astra-shop-thumbnail-wrap,
.product-image-wrapper {
    position: relative;
    background: #f9f9f9;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.astra-shop-thumbnail-wrap img,
.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product.ast-grid-common-col:hover .astra-shop-thumbnail-wrap img,
.product:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Product Summary Wrapper */
.astra-shop-summary-wrap,
.product-summary-wrapper {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
}

/* Product Category */
.ast-woo-product-category,
.product-category-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* Product Title */
.woocommerce-loop-product__title,
.ast-loop-product__link h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 6px 0;
    transition: color 0.3s ease;
}

.ast-loop-product__link:hover .woocommerce-loop-product__title {
    color: #8b6f47;
}

/* Product Price */
.price {
    font-size: 16px;
    font-weight: 700;
    color: #8b6f47;
    margin: 6px 0;
}

.price .woocommerce-Price-amount {
    font-size: 18px;
}

.woocommerce-Price-currencySymbol {
    font-size: 14px;
    margin-left: 2px;
}

/* Buttons Container */
.product .ast-card-action-tooltip,
.product-buttons-wrapper {
    display: flex;
    gap: 6px;
    margin-top: auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.button.add_to_cart_button,
.product_type_simple.add_to_cart_button,
.product_type_variable,
.ast-on-card-button {
    flex: 1;
    height: 12px;
    padding: 5px 5px;
    background-color: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(139, 111, 71, 0.15);
    text-align: center;
}

.button.add_to_cart_button:hover,
.product_type_simple.add_to_cart_button:hover,
.ast-on-card-button:hover {
    background-color: #9d7e54;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.25);
}

/* BUY NOW Button */
.product-buy-now-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 8px;
    background-color: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 2px 6px rgba(139, 111, 71, 0.15);
}

.product-buy-now-btn:hover {
    background-color: #9d7e54;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.25);
}

.product-buy-now-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
