/*!
Theme Name: Custom Theme
Theme URI: aufwind.co.at
Author: Aufwind
Author URI: aufwind.co.at
Description: Eigenständiges, modernes Custom Theme.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: custom-theme
*/

:root {
  /* Hauptfarben */
  --color-primary: #333f49; /* Dunkleres Blau */
  --color-secondary: #d9a65f; /* Gold */
  --color-white: #fff;
  --color-dark: #1f272d;
}

/* anton-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/anton-v26-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/roboto-v48-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Headlines mit Anton */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  line-height: 1.2em;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}

* {
  box-sizing: border-box;
}

/* Basisgrößen */
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

/* Roboto für Fließtext */
body,
html {
  margin: 0;
  padding: 0;
}
body,
p,
li,
span,
a,
input,
textarea {
  font-family: "Roboto", sans-serif;
  line-height: 1.5em;
  font-size: 16px;
  color: var(--color-primary);
}

/* Medium Screens (Tablets) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  h5 {
    font-size: 1.1rem;
  }
  h6 {
    font-size: 0.95rem;
  }
}

/* Kleine Screens (Smartphones) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 0.9rem;
  }
  h6 {
    font-size: 0.85rem;
  }

  body,
  p,
  li,
  span,
  a,
  input,
  textarea {
    font-size: 0.9rem;
    color: var(--color-primary);
  }
}

a {
  color: var(--color-secondary);
}

.rounded .elementor-flip-box__front,
.rounded .elementor-flip-box__back,
.rounded .elementor-flip-box,
.elementor-widget-video .elementor-custom-embed-image-overlay img {
  border-radius: 18px !important;
}

.jet-carousel__item img {
  width: 100% !important;
}
.jet-carousel {
  margin: 0 !important;
}

/* Grid-Anpassung */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 16px !important;
  background-color: #f8f9fa;
  list-style: none !important;
}

ul.products li.product {
  grid-column: span 2;
}

@media (max-width: 1200px) {
  ul.products li.product {
    grid-column: span 3;
  }
}

/* Tablet: 2 Produkte pro Reihe */
@media (max-width: 768px) {
  ul.products li.product {
    grid-column: span 6;
  }
}

/* Mobile: 1 Produkt pro Reihe */
/*
@media (max-width: 480px) {
  ul.products li.product {
    grid-column: span 12;
  }
}
*/

ul.products::before,
ul.products::after {
  display: none !important;
}

/* Einzelnes Produkt modern */
ul.products li.product {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: all 0.2s ease;
  width: auto !important;
}

ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Produktbild */
ul.products li.product img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

/* Titel */
.woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #222;
}

/* Preis */
ul.products li.product .price {
  font-size: 0.95rem;
  font-weight: bold;
  color: #007aff;
  margin-bottom: 12px;
}

/* In den Warenkorb Button */
ul.products li.product .button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

ul.products li.product .button:hover {
  background-color: var(--color-dark);
}

/*chips*/
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 0 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: #f4f4f4;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  font-size: 0.9rem;
}

.chip input[type="checkbox"] {
  display: none;
}

.chip:has(input:checked),
.chip input:checked + span {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Skeleton Loader Styles */
.skeleton-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
}

.skeleton-card {
  flex: 0 0 200px;
  height: 300px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eee 25%, #ddd 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/*Multistep checkout start*/
.checkout-steps-wrapper {
  text-align: center;
  margin-bottom: 20px;
  background-color: var(--color-primary);
  padding-bottom: 10px;
}
.checkout-logo img {
  max-height: 100px;
  height: auto;
  width: auto;
  object-fit: contain;
  padding: 10px;
}
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 5px;
}

.checkout-steps a {
  text-decoration: none !important;
  color: var(--color-dark);
}
.step {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #eee;
  align-items: center;
  display: flex;
}
.step.active {
  background: var(--color-secondary) !important;
  color: white;
}

@media (max-width: 480px) {
  .step {
    font-size: 10px;
  }
}

.checkout-navigation {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.checkout-navigation .button {
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.checkout-navigation .button:hover {
  background: darken(var(--color-primary), 10%);
}

/*MUltistep checkout end*/

.site-main {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 1rem;
  box-sizing: border-box;
}

/*Footer start*/
.footer {
  background-color: var(--color-primary); /* Beispiel: dunkler Hintergrund */
  color: var(--color-white); /* Textfarbe */
  padding: 50px 0;
  width: 100%;
}

.footer p,
.footer a,
.footer span {
  color: var(--color-white);
}

.footer a {
  font-size: 14px;
}

.footer h3 {
  margin: 0;
}

.footer__wrapper {
  max-width: 1200px; /* z.B. max Breite des Inhalts */
  margin: 0 auto;
  padding: 0 1rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; /* Abstand zwischen den Spalten */
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Optional: Mobile Responsive (einspaltig unter 768px) */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .woocommerce-loop-product__title {
    font-size: 13px !important;
  }
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.social-icons li a {
  display: inline-block;
  width: 24px;
  height: 24px;
}

.social-icons li svg {
  width: 100%;
  height: 100%;
  display: block;
}
.footer_button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  text-decoration: none;
  max-width: 180px;
}

.footer_logo {
  max-width: 170px !important;
}

.footer_button:hover {
  color: var(--color-dark);
}
/*Footer end*/

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ccc;
}

.copyright-links {
  list-style: none;
  padding: 50px 0 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  justify-content: center; /* zentriert horizontal */
  font-size: 0.9rem;
}

.copyright-links li {
  margin: 0;
}

.copyright-links li a {
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.copyright-links li a:hover,
.copyright-links li a:focus {
  color: var(--color-secondary); /* Beispiel Hover-Farbe */
  outline: none;
}

@media (max-width: 768px) {
  .copyright-links {
    flex-wrap: wrap;
  }
}
