/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra Child Theme para Tienda Fitness con WooCommerce custom.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ═══════════════════════════════════════════════════════
   BASE OVERRIDES — Astra + WooCommerce Compatibility
═══════════════════════════════════════════════════════ */

/* Reset Astra wrappers */
body, body.woocommerce, body.page, body.single-product,
body.woocommerce-cart, body.woocommerce-checkout {
  padding: 0 !important;
  margin: 0 !important;
}

#page, .site, .hfeed, #content, .site-content,
.content-area, .entry-content, .ast-container,
.woocommerce-page .site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Hide Astra native header/footer */
#masthead, .site-header, .ast-above-header,
.ast-primary-header, .ast-main-header-wrap,
.ast-desktop-header {
  display: none !important;
}

#colophon, .site-footer, .ast-site-footer,
.footer-widget-area {
  display: none !important;
}

/* WooCommerce native form compatibility */
.woocommerce form .form-row {
  padding: 0;
  margin: 0 0 10px;
}

.woocommerce form .form-row label {
  font-size: .72rem;
  font-weight: 700;
  color: #0d1940;
  letter-spacing: .02em;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  height: 44px;
  border: 1.5px solid rgba(13,25,64,.08);
  border-radius: 8px;
  padding: 0 14px;
  font-size: .88rem;
  color: #0d1940;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  background: white;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: #53C4D1;
  box-shadow: 0 0 0 3px rgba(83,196,209,.12);
}

/* WC notices outside checkout context */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  max-width: 1200px;
  margin: 12px auto;
  padding: 14px 24px;
  font-size: .84rem;
  font-weight: 600;
  border-radius: 10px;
  list-style: none;
}

.woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.woocommerce-message {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid #16a34a;
}

.woocommerce-info {
  background: #eff6ff;
  color: #1e40af;
  border-left: 4px solid #53C4D1;
}

/* WC Block overlay styling */
.woocommerce .blockUI.blockOverlay {
  background: rgba(255,255,255,.7) !important;
}

/* Ensure WC scripts process the checkout form correctly */
.woocommerce-checkout .woocommerce-checkout-review-order {
  position: relative;
}