/** Shopify CDN: Minification failed

Line 9:0 Unexpected "{"
Line 9:1 Expected identifier but found "%"
Line 161:0 Unexpected "{"
Line 161:1 Expected identifier but found "%"

**/
{% stylesheet %}
/* Dynamisches Padding wird durch Inline-Styling im Liquid gesetzt */

/* Section-Styling */
.model-viewer-section {
  position: relative;
  z-index: 2;
  background-color: var(--color-background);
  text-align: center;
  color: var(--color-foreground);
}

/* Dynamische Überschrift */
.heading-small {
  font-size: 1.2rem;
}

.heading-medium {
  font-size: 1.6rem;
}

.heading-large {
  font-size: 2.8rem;
}

.model-viewer-wrapper {
  aspect-ratio: 2 / 3;
  max-width: 450px;
  margin: 0 auto 20px;
  background: var(--color-foreground, #000);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

model-viewer {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  display: block;
  background-color: var(--color-foreground, #990000);
}

.model-switch-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Buttons wie im Screenshot */
.model-switch-buttons button {
  padding: 12px 24px;
  background-color: #2563eb; /* Tailwind blue-600 */
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.model-switch-buttons button:hover {
  background-color: #1e40af; /* Tailwind blue-800 */
}

.model-viewer-poster-wrapper {
  aspect-ratio: 2 / 3;
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 Aspect Ratio */
  background-color: #000; /* oder transparenter Platzhalter */
}

.model-viewer-poster-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xo-lazyload-overlay {
  display: none !important;
}

/* Desktop (default) */
[class*="padding-top-"][class*="-desktop"] {
  padding-top: calc(var(--padding-top, 50px));
}
[class*="padding-bottom-"][class*="-desktop"] {
  padding-bottom: calc(var(--padding-bottom, 50px));
}

.model-switch-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.variant-button,
.color-button {
  padding: 10px 16px;
  background-color: #eee;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.variant-button.active,
.color-button.active {
  background-color: white;
  color: #007aff;
  border: 2px solid #007aff;
  font-weight: 600;
}

.variant-button:hover,
.color-button:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .model-viewer-section h3 {
    padding-top: 40px;
  }
  .model-switch-buttons {
    margin-bottom: 40px;
  }
  .model-viewer-wrapper {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }
    [class*="padding-top-"][class*="-mobile"] {
    padding-top: calc(var(--padding-top-mobile, 50px));
  }
  [class*="padding-bottom-"][class*="-mobile"] {
    padding-bottom: calc(var(--padding-bottom-mobile, 50px));
  }
}
{% endstylesheet %}