/* Product Page Specific Styles */
.product-hero {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem var(--spacing-medium) 3rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Shop Hero Spezifikationen */
.shop-hero { min-height: 16vh !important; padding: 6.8rem var(--spacing-medium) 1rem !important; }
.shop-hero .hero-content .company-name{ font-size: .8rem !important; letter-spacing: 2px; }
.shop-hero .hero-content h1{ font-size: 2rem !important; }
.shop-hero .hero-content .subtitle{ display: none !important; }

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.product-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Cursor Styles für Product Hero */
.product-hero,
.product-hero * {
    cursor: none;
}

.product-hero ~ .custom-cursor,
.product-hero:hover ~ .custom-cursor,
.product-hero *:hover ~ .custom-cursor {
    background-color: var(--secondary-color) !important;
}

.product-hero ~ .cursor-border,
.product-hero:hover ~ .cursor-border,
.product-hero *:hover ~ .cursor-border {
    border-color: var(--secondary-color) !important;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-large) var(--spacing-medium);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-large);
    align-items: start;
}

/* Image Slider */
.product-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--gray-light);
    cursor: white;
}

/* Product Image (for single images like Aero Blades) */
.product-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--gray-light);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Viewer Container */
#3d-moos-viewer {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: var(--border-radius);
}

.product-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    filter: none !important;
    opacity: 1 !important;
    background: transparent !important;
    transition: none !important;
    transform: none !important;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    cursor: white;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-image.active {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--secondary-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}


/* Compact Configuration Layout */
.product-config {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-width: 300px;
}

.config-section {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-sizing: border-box;
}

.config-section h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Options - Compact Design */
.form-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.form-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-option:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

.form-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.form-preview {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.wing-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 8px;
    background: linear-gradient(45deg, #333, #666);
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
}

.swan-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 8px;
    background: linear-gradient(45deg, #333, #666);
    clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
}

.form-option.selected .form-preview::before {
    background: linear-gradient(45deg, white, #ccc);
}

/* Color Options - Compact Design */
.color-options {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    width: 100%;
    flex-shrink: 0;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.color-option.white {
    background-color: #ffffff;
    border: 2px solid #dee2e6;
}

.color-option.black {
    background-color: #000000;
    border: 2px solid #dee2e6;
}

.color-option:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-option.selected {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-option::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.color-option.white.selected::after {
    color: black;
    opacity: 1;
}

.color-option.black.selected::after {
    color: white;
    opacity: 1;
}

/* Compact Text Input */
.text-input-section {
    margin-bottom: 1rem;
}

.text-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

/* Moosbuchstaben: Keine erzwungene Großschreibung nur auf dieser Seite */
.page-moosbuchstaben .text-input {
    text-transform: none;
    font-weight: 500;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Compact Validation Message */
.validation-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validation-message::before {
    content: '⚠️';
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-options {
        grid-template-columns: 1fr;
    }
    
    .color-options {
        justify-content: center;
    }
    
    .config-section {
        padding: 0.75rem;
    }
}


.char-counter {
    text-align: right;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.char-counter.warning {
    color: #ff6b6b;
}

.text-note {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-top: 5px;
    font-style: italic;
}

.price-section {
    background-color: var(--secondary-color);
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: var(--spacing-medium);
    border: 2px solid var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-small);
}

.price-note {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Stock Status Styles */
.stock-section {
    margin-bottom: var(--spacing-medium);
}

.stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-small);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
}

.stock-status.in-stock {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.stock-status.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.stock-icon {
    margin-right: 8px;
    font-size: 1.2rem;
    font-weight: bold;
}

.stock-text {
    font-size: 1rem;
}

/* Widerrufsrecht Styles */
.widerrufsrecht-section {
    margin-bottom: var(--spacing-medium);
    padding: var(--spacing-small);
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.widerrufsrecht-checkbox {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.widerrufsrecht-label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--gray-dark);
    cursor: pointer;
    user-select: none;
}

.widerrufsrecht-hinweis {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: var(--spacing-medium);
    margin: var(--spacing-medium) 0;
    text-align: left;
}

.widerrufsrecht-hinweis h4 {
    color: #856404;
    margin-bottom: var(--spacing-small);
    font-size: 1.1rem;
}

.widerrufsrecht-hinweis p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 3D Viewer Styles */
.product-viewer-section {
    margin: var(--spacing-large) 0;
    text-align: center;
}

.product-viewer-section h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-small);
}

/* Hilfsklasse für CSP-Hinweise: kein Inline-Style notwendig */
.mt-large-center {
    margin-top: var(--spacing-large);
    text-align: center;
}

/* Zentrierte Listen in zentriertem Textbereich verhindern herausstehende Aufzählungspunkte links */
.mt-large-center ul {
	list-style-type: disc;
	list-style-position: inside;
	padding-left: 0;
	margin-left: 0;
	display: inline-block;
	text-align: left;
	max-width: 560px;
	width: 100%;
	margin: 0 auto var(--spacing-medium);
}

/* Falls die Klasse direkt am UL hängt (wie auf der Moosbuchstaben-Seite) */
ul.mt-large-center {
	list-style-type: disc;
	list-style-position: inside;
	padding-left: 0;
	margin-left: 0;
	display: inline-block;
	text-align: left;
	max-width: 560px;
	width: 100%;
	margin: 0 auto var(--spacing-medium);
}

.mt-large-center li {
	margin: 6px 0;
	line-height: 1.6;
}

.product-viewer-section p {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-medium);
}

.viewer-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.viewer-3d {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.viewer-controls {
    padding: var(--spacing-medium);
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    gap: var(--spacing-small);
}

.viewer-btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.viewer-btn:hover {
    background-color: var(--gray-dark);
}

.viewer-btn.active {
    background-color: #28a745;
}

/* Hinweis links neben den Umschalt-Buttons (nur auf Moosbuchstaben-Seite sichtbar) */
.page-moosbuchstaben .viewer-hint {
    font-size: 0.95rem;
    color: var(--primary-color);
    background: rgba(255,255,255,0.8);
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Loading indicator */
.viewer-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Error message */
.viewer-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc3545;
    font-size: 1rem;
    text-align: center;
    max-width: 300px;
}

.product-description {
    margin-top: var(--spacing-large);
    padding: var(--spacing-medium);
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-description h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-medium);
}

.product-description h3 {
    color: var(--secondary-color);
    margin-top: var(--spacing-medium);
    margin-bottom: var(--spacing-small);
}

.product-description.black-titles h3 {
    color: #000;
}

.product-description p {
    margin-bottom: var(--spacing-small);
    line-height: 1.6;
}

.product-description ul {
    margin-bottom: var(--spacing-medium);
    padding-left: var(--spacing-medium);
}

.product-description li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.buy-button {
    width: 100%;
    padding: var(--spacing-medium);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button:disabled {
    background-color: var(--gray-medium);
    color: var(--gray-dark);
    cursor: not-allowed;
    transform: none;
}

.buy-button:not(:disabled):hover {
    background-color: var(--gray-dark);
    transform: translateY(-2px);
}

.validation-message {
    background-color: #ffebee;
    color: #c62828;
    padding: var(--spacing-small);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-small);
    font-size: 0.9rem;
    display: none;
}

/* Responsive Design for Product Page */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-medium);
    }

    .slider-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    
    .product-image {
        height: 300px;
    }

    .price {
        font-size: 2rem;
    }

    .color-options {
        justify-content: center;
    }
} 