/**
 * Custom overrides for Codazon ThemeLayoutPro generated stylesheets.
 *
 * The theme's product-view-styles.css / main-styles.css under
 * pub/media/codazon/themelayout/ are regenerated whenever the theme layout is
 * saved in admin, so overrides must not be made there. Those files are injected
 * after theme assets by Codazon\ThemeLayoutPro\Helper\Data::getCssScript(),
 * hence !important is required here.
 */

/* Drop the reviews-summary bottom padding on desktop. */
@media only screen and (min-width: 768px) {
    .product-view-style-01 .product-main-wrapper .product-reviews-summary {
        padding-bottom: 0 !important;
    }
}

/* Unify image swatch sizing on the product page. Magento_Swatches::css/swatches.css
   is removed in default_head_blocks.xml, so sizes must be stated explicitly. */
body.catalog-product-view .swatch-attribute .swatch-attribute-options .swatch-option.image,
body.catalog-product-view .product-options-wrapper .swatch-option.image {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    background-size: contain !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 6px !important;
}
