/*
 Theme Name:   Limex Child
 Theme URI:    https://limex.at
 Description:  Limex Child Theme basierend auf Hello Elementor
 Author:       Limex
 Author URI:   https://limex.at
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  limex-child
*/

/* Eigene globale Styles hier einfügen.
   Shop-spezifische Styles sind in assets/css/shop.css */

/* ─── GLOBALE INPUT-STYLES ──────────────────────────────────
   Elementor ist auf "Randtyp: Keine" gesetzt.
   Wir definieren alle Borders selbst, sauber und einheitlich.
─────────────────────────────────────────────────────────── */

/* Alle Text/Number/Search Inputs + Select sitewide */
input[type="range"] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="url"],
textarea,
select {
  border: 1px solid #e0e0e0 !important;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  color: #1a202c;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
  box-shadow: none;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: #45ADAE !important;
  outline: none;
  box-shadow: none;
}

/* Buttons sitewide – kein pink vom Theme-Reset */
button,
input[type="submit"],
input[type="button"] {
  border: 1px solid #e0e0e0 !important;
  background: transparent;
  color: #6b7280;
  box-shadow: none;
  cursor: pointer;
}

/* Preis-Inputs: Border kommt vom Wrapper */
.price-input-wrap input[type="number"] {
  border: none !important;
  padding: 0 !important;
  font-size: 12px;
  background: transparent;
}

/* ─── SHOP-SPEZIFISCH ────────────────────────────────────── */

/* Preis-Inputs: Border kommt vom Wrapper, nicht vom Input selbst */
.price-input-wrap input[type="number"] {
  border: none;
  padding: 0;
  font-size: 12px;
  background: transparent;
}

/* Suchfeld – padding-left = Icon-Position (14px) + Icon-Breite (14px) + Abstand (12px) */
.shop-search__input {
  padding: 9px 36px 9px 40px !important;
  font-size: 13px;
}

/* ─── EINZELPRODUKT – Produktbild Maximalhöhe ─── */
.woocommerce-product-gallery .flex-viewport {
  max-height: 500px !important;
  overflow: hidden !important;
}
.woocommerce-product-gallery .flex-viewport img,
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
.woocommerce div.product .woocommerce-product-gallery__image img {
  max-height: 500px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}
