/**
 * Theme Name: Twenty Twenty-Five Child Theme
 * Template: twentytwentyfive
 */

/* =========================================================
   Product Attributes (Custom WooCommerce Output)
   ========================================================= */

/**
 * Main container (large + default)
 */
.custom-product-attributes {
    margin: 2rem 0;
}

/**
 * Attribute row (default / large)
 */
.custom-product-attribute {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-size: 1rem;
    line-height: 1.4;
}

/**
 * Force consistent icon sizing for ALL product attribute icons
 * (works regardless of variant or context)
 */
.custom-product-attribute__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

/* =========================================================
   SMALL VARIANT (Shop / Category Grid)
   ========================================================= */

/**
 * Small container (IMPORTANT: matches PHP modifier)
 */
.custom-product-attributes.small {
    margin: 5px 0;
}

/**
 * Small attribute row
 */
.custom-product-attribute-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;

    font-size: 0.8rem;
    line-height: 1.3;
    height: 2rem;
}

/**
 * Small variant spacing + alignment tuning
 */
.custom-product-attribute--small {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

/* =========================================================
   WooCommerce Germanized adjustments
   ========================================================= */

.wc-gzd-additional-info.wc-gzd-additional-info-loop.product-units-wrapper.product-units,
.wc-gzd-additional-info.wc-gzd-additional-info-loop.shipping-costs-info {
    font-size: 0.75rem !important;
}

/* =========================================================
   WooCommerce Product Blocks (Category Pages)
   ========================================================= */

.wc-block-product {
    background-color: #e5e0d6;
    padding: 15px;
    border-radius: 10px;
}

/* =========================================================
   Product Meta (Brand / Category info)
   ========================================================= */

.posted_in {
    font-weight: bold;
    font-size: 0.9rem !important;
}

/* =========================================================
   Layout Tweaks
   ========================================================= */

.product-template-row {
    gap: 0.5em;
}

/* =========================================================
   Add to Cart Button
   ========================================================= */

.add_to_cart_button:hover {
    background-color: #e5e0d6 !important;
}