/*
Theme Name: Amazonia Theme
Theme URI: https://github.com/canon4/amazonia-theme
Author: Diego Fernando Cañon Perez
Author URI: https://github.com/canon4
Description: A custom multi-vendor marketplace theme built for WooCommerce and WCFM.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amazonia-theme
*/

/* Add your custom styles below */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* La regla .material-symbols-outlined (font-variation-settings) vive en
   assets/css/material-symbols.css para no duplicarla. */

/* Ocultar la X nativa en inputs de búsqueda (para Chrome/Safari) */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

/* ── Product Card Image Fix ── */
/* Override WooCommerce inline width/height on product card images */
.woocommerce ul.products li.product .aspect-square img,
.woocommerce-page ul.products li.product .aspect-square img,
.aspect-square img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  max-width: none !important;
}

/* Ensure the image container fills its parent */
.aspect-square {
  position: relative;
  overflow: hidden;
}

.aspect-square a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Fix WooCommerce default image wrapper styles */
ul.products li.product a img {
  margin: 0 !important;
  padding: 0 !important;
}
