/*
Theme Name: DigitalTienda
Theme URI: https://digitaltienda.com/
Description: Standalone WooCommerce theme for DigitalTienda.
Author: DigitalTienda
Version: 1.0.2
Text Domain: digitaltienda
Requires at least: 6.0
Requires PHP: 7.4
*/

/* Base theme styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #222; font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container, .site-container { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.site-main { min-height: 60vh; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { border-bottom: 1px solid #eee; background: #fff; }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo { max-height: 54px; width: auto; }
.site-title { margin: 0; font-size: 24px; line-height: 1.2; }
.site-title a { text-decoration: none; }
.primary-navigation ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-navigation a { text-decoration: none; }
.site-footer { margin-top: 60px; padding: 32px 0; border-top: 1px solid #eee; }
.site-content { padding: 40px 0; }

@media (max-width: 768px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .primary-navigation ul { flex-wrap: wrap; gap: 12px 18px; }
  .container, .site-container { width: min(100% - 24px, 1280px); }
}

/* Preserved child-theme rules */
.woocommerce-page ul.products.columns-4 li.product{width: 100% !important; max-width: 100% !important;}
.tax-product_cat a.button.product_type_simple { display: none !important; }
.edit-with-elementor-link { margin: 20px 0; text-align: center; }
.edit-with-elementor-link .button { background-color: #4CAF50; color: #fff; padding: 10px 20px; border-radius: 5px; text-decoration: none; }
.edit-with-elementor-link .button:hover { background-color: #45a049; }
.wpfFilterWrapper .wfpTitle { font-size: 20px !important; }
.wpfFilterWrapper .wpfFilterTaxNameWrapper { font-size: 16px !important; }
div.woo_search_bar { width: 100% !important; max-width: 100%!important; position: relative; }
.woocommerce ul.products.columns-4 li.product { max-width: max-content; }
