/*
Theme Name: Shade Sport Child
Theme URI: https://shade-sport.com.ar
Template: astra
Author: Shade Sport
Description: Child theme de Astra personalizado para Shade Sport (Sport Actitud), generado por la skill sportswear-ecommerce-builder.
Version: 1.1.6
Text Domain: shade-sport-child
*/

:root {
  --brand-primary: #FF6A00;
  --brand-primary-dark: #CC5500;
  --brand-secondary: #0D0D0D;
  --brand-surface: #1A1A1A;
  --brand-accent: #FFFFFF;
  --brand-muted: #A3A3A3;
  --brand-heading-font: 'Bebas Neue', sans-serif;
  --brand-body-font: 'Inter', sans-serif;
}

body,
p,
li,
a,
.woocommerce ul.products li.product .price {
  font-family: var(--brand-body-font);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--brand-heading-font);
  letter-spacing: 0.01em;
}

/* ---- Global dark theme: black background, white text, orange accents ---- */
html, body {
  background-color: var(--brand-secondary) !important;
}

body,
p, li, label, dt, dd,
.woocommerce-Price-amount {
  color: var(--brand-accent) !important;
}

/* span intentionally excluded above: spans are used as inline badges/eyebrows/labels
   with their own deliberate colors (e.g. orange eyebrow text, dark text on white
   category-tile labels) - forcing them all to brand-accent white broke those. */

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.entry-content h1, .entry-content h2, .entry-content h3,
.wp-block-heading,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--brand-accent) !important;
}

a {
  color: var(--brand-accent);
}
a:hover,
a:focus {
  color: var(--brand-primary);
}

/* Header: white bar, dark nav (Nike-style) */
.ast-primary-header-bar,
.main-header-bar,
.ast-above-header-bar,
.ast-below-header-bar,
.site-header,
#masthead,
.ast-mobile-header-wrap {
  background-color: #ffffff !important;
  border-color: rgba(0,0,0,0.08) !important;
}

.main-header-menu > li > a.menu-link,
.ast-header-navigation-arrow {
  color: #111111 !important;
}

.main-header-menu > li.current-menu-item > a.menu-link {
  color: var(--brand-primary) !important;
}

@media (hover: hover) {
  .main-header-menu > li > a.menu-link:hover {
    color: var(--brand-primary) !important;
  }
}

.dropdown-menu-toggle {
  background-color: transparent !important;
}

.sub-menu,
.ast-mega-menu-wrapper {
  background-color: #ffffff !important;
  border-color: rgba(0,0,0,0.08) !important;
}

.sub-menu a.menu-link {
  color: #111111 !important;
}

@media (hover: hover) {
  .sub-menu a.menu-link:hover {
    color: var(--brand-primary) !important;
  }
}

.astra-icon svg path,
.ast-icon svg path {
  fill: var(--brand-accent) !important;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-description {
  color: #111111 !important;
}

/* Primary brand color across buttons, links, and price accents */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.sw-btn {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #ffffff !important;
  font-family: var(--brand-body-font);
  font-weight: 600;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover,
.sw-btn:hover {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .price {
  color: var(--brand-primary);
  font-weight: 700;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--brand-accent);
}

.woocommerce ul.products li.product {
  padding: 0;
}

.woocommerce span.onsale {
  background-color: var(--brand-primary);
  color: #ffffff;
  font-family: var(--brand-body-font);
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background-color: var(--brand-surface) !important;
  color: var(--brand-accent) !important;
  border-color: rgba(255,255,255,0.1) !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
}

footer.site-footer,
.ast-small-footer {
  background-color: #000000;
  color: var(--brand-muted);
}

footer.site-footer a,
.ast-small-footer a {
  color: var(--brand-accent);
}
footer.site-footer a:hover,
.ast-small-footer a:hover {
  color: var(--brand-primary);
}

.site-below-footer-wrap,
.ast-builder-grid-row-container.site-below-footer-wrap,
.ast-small-footer .ast-builder-grid-row-container,
.ast-builder-footer-grid-columns,
.site-below-footer-inner-wrap {
  background-color: #000000 !important;
  color: var(--brand-muted) !important;
}
.site-below-footer-wrap a,
.ast-small-footer .ast-builder-grid-row-container a {
  color: var(--brand-accent) !important;
}
.site-below-footer-wrap a:hover,
.ast-small-footer .ast-builder-grid-row-container a:hover {
  color: var(--brand-primary) !important;
}

/* WooCommerce Blocks (Cart & Checkout block) buttons - "Pasar al pago", "Aplicar" cupon, "Realizar el pedido" -
   these use wc-block-components-button classes, NOT covered by classic .woocommerce button selectors above */
.wc-block-components-button,
.wc-block-components-button.wp-element-button {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  font-family: var(--brand-body-font);
  font-weight: 600;
}
.wc-block-components-button:hover,
.wc-block-components-button.wp-element-button:hover {
  background-color: var(--brand-primary-dark) !important;
  color: #ffffff !important;
}
.wc-block-components-button:disabled,
.wc-block-components-button.wp-element-button:disabled {
  background-color: var(--brand-muted) !important;
  color: #666666 !important;
  opacity: 0.6;
}

/* Product grid: a bit more breathing room, sportswear catalogs read better spacious */
.woocommerce ul.products li.product {
  margin-bottom: 4px;
}

.woocommerce ul.products li.product img {
  border-radius: 0;
}

/* Form fields (search, checkout, cart, quantity, select2) legible on dark background */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="url"],
textarea,
select,
.select2-container .select2-selection--single,
.woocommerce table.shop_table {
  background-color: var(--brand-surface) !important;
  color: var(--brand-accent) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}

::placeholder {
  color: var(--brand-muted) !important;
  opacity: 1;
}

.select2-container .select2-selection__rendered {
  color: var(--brand-accent) !important;
}

.select2-dropdown {
  background-color: var(--brand-surface) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
.select2-results__option {
  color: var(--brand-accent) !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255,255,255,0.1) !important;
  color: var(--brand-accent);
}

.woocommerce-checkout-review-order,
.woocommerce-checkout #order_review,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  background-color: var(--brand-surface);
  padding: 20px;
  border-radius: 10px;
}

.woocommerce-breadcrumb {
  color: var(--brand-muted);
}
.woocommerce-breadcrumb a {
  color: var(--brand-muted);
}
.woocommerce-breadcrumb a:hover {
  color: var(--brand-primary);
}

/* Sportswear-store-kit homepage HTML block scoping (see homepage-content.html) */
.sw-hero {
  background: linear-gradient(120deg, var(--brand-secondary), #000000);
  color: #ffffff;
}

.sw-category-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.sw-category-tile img {
  transition: transform 0.4s ease;
}

.sw-category-tile:hover img {
  transform: scale(1.05);
}

.sw-trust-badges {
  background-color: var(--brand-surface);
  border-radius: 10px;
}

.sw-section {
  background-color: var(--brand-secondary);
}

.sw-section h2 {
  color: var(--brand-accent);
}

.sw-card {
  background-color: var(--brand-surface);
  border-radius: 10px;
}


/* Button polish: .sw-btn had no structural styling (display/padding/decoration) */
.sw-btn {
  display: inline-block;
  padding: 16px 38px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.sw-btn:hover {
  transform: translateY(-1px);
}

/* Outline variant for use on photo/dark backgrounds where a solid block would compete with the image */
.sw-btn-outline {
  display: inline-block;
  padding: 14px 34px;
  background-color: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sw-btn-outline:hover {
  background-color: #ffffff !important;
  color: var(--brand-secondary) !important;
}

/* Hero v2: full-bleed photo hero with pill CTA and embedded trust-badge row */
.sw-btn-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--brand-primary);
  color: #ffffff !important;
  padding: 18px 40px;
  border-radius: 999px;
  text-decoration: none !important;
  font-family: var(--brand-heading-font);
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.sw-btn-pill:hover {
  background-color: var(--brand-primary-dark);
  transform: translateY(-1px);
}
.sw-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.12);
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* Editorial / manifesto section signature */
.sw-editorial {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}
.sw-editorial .sw-editorial-inner {
  position: relative;
  z-index: 1;
}
.sw-editorial::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  background: var(--brand-primary);
  opacity: 0.08;
  transform: skewX(-12deg);
}


/* Header full-width so logo sits at the far left, cart/social at far right (Nike-style) */
header.site-header .ast-builder-grid-row-container,
header.site-header .site-primary-header-wrap,
header.site-header .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}


/* Product grid (loop): bigger images via 3 columns instead of 4 on desktop/large screens only. Below 922px, Astra's own native responsive columns (3 tablet, 2 mobile) are left untouched. */
@media (min-width: 922px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-4 {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

.woocommerce ul.products li.product a.button.add_to_cart_button:not(.ast-on-card-button) {
	font-size: 13px !important;
	padding: 10px 18px !important;
	line-height: 1.3 !important;
	margin-top: 8px !important;
	white-space: nowrap;
}


/* Mobile: full-width columns shouldn't waste ~30px of side padding on a narrow screen, and the 3 big homepage category tiles (Hombre/Mujer/Accesorios) are too tall relative to phone viewport height */
@media (max-width: 544px) {
	.wp-block-columns.alignfull {
		padding: 24px 12px;
	}
	.sw-tile-accent.sw-fix-cover {
		min-height: 420px !important;
	}
}

/* SW_MOBILE_PRODUCT_PAD */
@media (max-width: 544px) {
	.woocommerce ul.products li.product {
		padding: 0 !important;
	}
}



/* SW_UNIFIED_PRODUCT_GRID */
@media (min-width: 922px) {
	.woocommerce ul.products,
	.woocommerce ul.products.columns-4 {
		grid-template-columns: repeat(4, 1fr) !important;
		width: 100vw !important;
		position: relative !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		justify-content: center;
	}
}

/* SW_NO_BORDER_GAP */
.woocommerce ul.products {
	column-gap: 4px !important;
	row-gap: 4px !important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product img {
	border: none !important;
	border-radius: 0 !important;
}

/* SW_HIDE_ADD_TO_CART_BUTTONS */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.ast-on-card-button,
.woocommerce ul.products li.product .ast-loop-product__link + a.button {
	display: none !important;
}
