/*
Theme Name: Tryhard Gear Theme
Theme URI: https://tryhard-gear.com/
Author: Ultimate Clone Engine
Description: Automatically cloned WooCommerce WordPress theme
Version: 1.0.0
Text Domain: tryhard-gear-theme
*/
/* ==========================================================================
   Universal Autonomous E-Commerce Reset & Containment (Apex Engine)
   ========================================================================== */
html, body {{
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}}

*, *::before, *::after {{
  box-sizing: border-box;
}}

img, video, svg, iframe {{
  max-width: 100%;
  height: auto;
}}

/* Ensure sliders and hero elements don't collapse or overflow */
.swiper, .swiper-container, .slick-slider {{
  overflow: hidden;
  max-width: 100vw;
  position: relative;
}}

/* Universal Product Card Flex Layout */
.product-card, .product-item, .card-wrapper, [data-product-handle] {{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}}

.product-card .card-bottom,
.product-item .product-info-wrapper,
.product-card .price-wrapper {{
  margin-top: auto;
}}

/* Reactive Swatches Styling */
.product-color-swatch-wrapper .swatch, .swatches-item {{
  cursor: pointer;
  transition: transform 0.2s ease, outline 0.2s ease;
}}
.product-color-swatch-wrapper .swatch:hover, .swatches-item:hover {{
  transform: scale(1.15);
}}
.product-color-swatch-wrapper .swatch.active, .swatches-item.active {{
  outline: 2px solid #000000;
  outline-offset: 2px;
}}

/* Universal Typography & Spacing Normalizer (Split-Words) */
split-words .whitespace, .split-words .whitespace, [data-split-words] .whitespace {{
  display: inline !important;
  width: auto !important;
  white-space: pre !important;
}}
split-words .whitespace::after, .split-words .whitespace::after {{
  content: ' ' !important;
}}

/* Universal Centered Announcement Bar Slider */
.announce-slider .swiper-wrapper, .announcement-bar .swiper-wrapper {{
  transform: none !important;
  justify-content: center !important;
}}
.announce-slider .swiper-slide, .announcement-bar .swiper-slide {{
  width: auto !important;
  margin: 0 !important;
}}

/* Ensure lazyload-hidden and GemPages invisible images are ALWAYS visible */
.gp-invisible, .lazyload-hidden {{
  visibility: visible !important;
  opacity: 1 !important;
}}
img[loading="lazy"] {{
  display: inline-block;
}}
