/* =================================================================
   ATOS Product Single Page - Custom Layout
   ================================================================= */




/* Buttons ausblenden */
.related-fullwidth-container .product .button,
.related-fullwidth-container .product .add_to_cart_button,
.related-fullwidth-container .add_to_cart_button {
    display: none !important;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .related-fullwidth-container .product {
        flex: 0 0 360px !important;
        max-width: 360px !important;
        min-width: 360px !important;
    }
}

@media (max-width: 768px) {
    .related-fullwidth-container {
        padding: 0 15px !important;
    }
    
    .related-fullwidth-container .product {
        flex: 0 0 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
    }
}

/* WICHTIG: WooCommerce Grid überschreiben */
.related-fullwidth-container ul.products[class*="columns-"] li.product,
.related-fullwidth-container .woocommerce ul.products li.product,
.related-fullwidth-container li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
}

/* Hero Header */
.atos-hero-header {
	margin-bottom: 24px;
}

.atos-hero-header .woocommerce-breadcrumb {
	font-size: 13px;
	color: #2f2f2f;
	margin-bottom: 12px;
}

.atos-product-title {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
	color: #2f2f2f;
}

/* Hero Grid Layout */
.atos-hero-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	margin-bottom: 36px;
	align-items: start;
}

/* Galerie Links */
.atos-hero-left {
	min-width: 0;
}

.atos-hero-left .woocommerce-product-gallery {
	margin: 0;
	border-radius: 0px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.atos-hero-left .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.atos-hero-left .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Sale Badge */
.atos-hero-left .onsale {
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
	color: #2F2F2F;
	font-weight: 800;
	font-size: 18px;
	padding: 50px 20px 10px 20px;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
	z-index: 10;
	text-align: center;
	min-width: 100px;
	line-height: 1;
}

/* Lupe/Zoom-Icon IMMER entfernen */
.woocommerce-product-gallery__trigger,
a.woocommerce-product-gallery__trigger {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

/* Desktop: Bilder NICHT klickbar */
.woocommerce-product-gallery__image a {
	cursor: default !important;
	pointer-events: none !important;
}

.woocommerce-product-gallery__image img {
	cursor: default !important;
}

/* Thumbnails bleiben immer klickbar */
.woocommerce-product-gallery .flex-control-thumbs img {
	cursor: pointer !important;
	pointer-events: all !important;
}

/* Thumbnails - Alle Bilder anzeigen mit Scroll */
.woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	list-style: none;
	padding: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	
	/* SNAP zu ganzen Thumbnails */
	scroll-snap-type: x mandatory;
	
	/* Scrollbar verstecken */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
}

/* Scrollbar für Chrome/Safari/Edge verstecken */
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 calc(25% - 9px);
	min-width: calc(25% - 9px);
	margin: 0;
	list-style: none;
	
	/* Snap jedes Thumbnail */
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.woocommerce-product-gallery .flex-control-thumbs li::before,
.woocommerce-product-gallery .flex-control-thumbs li::marker {
	display: none !important;
	content: none !important;
}


.woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide img {
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	height: 8px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 0px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 0px;
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
	background: #999;
}

.woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 calc(25% - 9px);
	min-width: calc(25% - 9px);
	margin: 0;
	list-style: none;
}

.woocommerce-product-gallery .flex-control-thumbs li::before,
.woocommerce-product-gallery .flex-control-thumbs li::marker {
	display: none !important;
	content: none !important;
}

/* Thumbnails - VOLLE HÖHE */
.woocommerce-product-gallery .flex-control-thumbs img {
width: 100%;
margin-top: 10px !important;
height: auto;
max-height: 120px;
object-fit: cover;
border-radius: 0px;
border: 1px solid #ddd;
transition: all 0.2s ease;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: #2F2F2F;
	transform: scale(1.02);
}

.woocommerce-product-gallery .flex-control-thumbs li.flex-active-slide img {
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

/* Company Box Rechts */
.atos-company-box {
	background: #fff;
	border-radius: 0px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	position: sticky;
	top: 20px;
}

.atos-company-header {
	background: #111;
	color: #fff;
	padding: 25px 20px;
}

.atos-company-name {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px 0;
	color: #fff;
}

.atos-company-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.atos-company-rating .stars {
	display: flex;
	gap: 2px;
}

.atos-company-rating .star-icon {
	width: 16px;
	height: 16px;
	color: #ffd700;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.atos-company-rating .rating-text {
	color: #fff;
	opacity: 0.9;
}

.atos-company-body {
	padding: 24px 20px 33px 20px;
}

/* Phone Contact */
.atos-contact-phone {
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.phone-label {
	display: block;
	font-size: 13px;
	color: #2F2F2F;
	margin-bottom: 6px;
	font-weight: 600;
}

.phone-number {
	display: inline-flex;
	align-items: center;
	gap: 0px;
	font-size: 24px;
	font-weight: 800;
	color: #e74c3c;
	text-decoration: none;
	transition: color 0.2s ease;
}

.phone-number::before {
	font-size: 20px;
}

.phone-number:hover {
	color: #c0392b;
}

/* CTA Buttons */
.atos-cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 0px;
	font-weight: 500;
	font-size: 14px;
        font-family: montserrat;
        border: 1px solid #e0e0e0;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: center;
}

.btn-red {
	background: #27A02D;
	color: #fff;
        font-family: montserrat;
        font-size: 14px;
        font-weight: 500;

}

.btn-red:hover {
	background: #1E7C23;
	color: #fff;
        font-family: montserrat;
        font-size: 14px;
        font-weight: 500;
	
}

.btn-outline {
	background: #fff;
	color: #2F2F2F;
	border-color: #2F2F2F;
}

.btn-outline:hover {
	background: #111;
	color: #fff;
}

.btn-block {
	width: 100%;
}

/* Share & Datasheet */
.atos-share-datasheet {
	display: flex;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.btn-icon {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 8px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 0px;
	font-size: 11px;
	font-weight: 600;
	color: #2F2F2F;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-icon:hover {
	background: #e0e0e0;
	color: #2F2F2F;
	border-color: #ddd;
}

.btn-icon:active {
	background: #e0e0e0;
	color: #2F2F2F;
	border-color: #ddd;
}


.btn-icon .icon {
	font-size: 20px;
}


/* Key Facts Grid */
.atos-key-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
	padding: 24px;
	background: #f8f8f8;
	border-radius: 0px;
        margin-top: -40px;
}

.fact-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 12px;
	background: #fff;
	border-radius: 0px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fact-icon {
	font-size: 32px;
	margin-bottom: 8px;
}

.fact-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #2F2F2F;
	margin-bottom: 4px;
	letter-spacing: 0.3px;
}

.fact-value {
	font-size: 15px;
	font-weight: 700;
	color: #2F2F2F;
}

/* Tabs Section */
.atos-tabs-section {
	margin-bottom: 48px;
        margin-top: 60px;
}

.atos-tab-nav {
	display: flex;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}






.atos-tab-nav li {
	margin: 0;
}

.atos-tab-nav li a {
	display: block;
	padding: 14px 24px;
	font-size: 14px;
	font-weight: 700;
	color: #2F2F2F;
	text-decoration: none;
	border-radius: 0px;
	transition: all 0.2s ease;
	position: relative;
	top: 2px;
border: 1px solid #ddd;
}

.atos-tab-nav li.active a {
	background: #e74c3c;
	color: #fff;
	
}

.atos-tab-content {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 0px;
	padding: 28px;
	min-height: 300px;
        color: #2F2F2F;
        font-family: "Inter", Sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
}

.atos-tab-panel {
	display: none;
}

.atos-tab-panel.active {
	display: block;
}

/* Tech Table */
.atos-tech-table {
	width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
background: #fff;
}


.atos-tech-table th,
.atos-tech-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #eee;
	font-size: 14px;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
}

.atos-tech-table th {
	width: 20%;
	font-weight: 700;
	color: #2F2F2F;
background: #fdfdfd;
 border-bottom: 1px solid #eee;
}

.atos-tech-table td {
	color: #2F2F2F;
background: #fdfdfd;
 border-bottom: 1px solid #eee;

}

.atos-tech-table tr:last-child th,
.atos-tech-table tr:last-child td {
	border-bottom: none;
}

.atos-tech-table th:last-child,
.atos-tech-table td:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .atos-tech-table {
        font-size: 13px;
    }
    .atos-tech-table th,
    .atos-tech-table td {
        padding: 10px 12px;
    }
}

/* Google Maps */
.atos-map {
	width: 100%;
	height: 360px;
	border-radius: 0px;
	overflow: hidden;
}

/* =================================================================
   ÄHNLICHE FAHRZEUGE SECTION
   ================================================================= */

.atos-related-section {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 40px !important;
    border-radius: 0px;
    margin-bottom: 30px !important;
}

.atos-related-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2F2F2F;
    margin-bottom: 30px;
    text-align: left;
}


/* =================================================================
   CONTENT CONTAINER - GLEICHE BREITE WIE HEADER
   ================================================================= */

/* Main Product Container */
.atos-product-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
}

/* Related Products Section - GLEICHE BREITE */
body.single-product .atos-related-section {
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 40px 0 !important;
    border-radius: 0 !important;
    margin: 0 0 30px 0 !important;
    box-shadow: none !important;
}

/* Inner Container für Related Products */
.atos-related-section .section-title,
.atos-related-section .related.products {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}

/* Titel */
.atos-related-section h2.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2F2F2F;
    margin: 0 0 30px 20px;
    padding: 0;
    text-align: left;
}

/* Horizontal Scroll Container */
.related.products ul.products,
.woocommerce .related.products ul.products,
.atos-related-section ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 0 10px 0 !important;
    margin: 0 !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Scrollbar Styling */
.related.products ul.products::-webkit-scrollbar,
.atos-related-section ul.products::-webkit-scrollbar {
    height: 8px;
}

.related.products ul.products::-webkit-scrollbar-track,
.atos-related-section ul.products::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0px;
}

.related.products ul.products::-webkit-scrollbar-thumb,
.atos-related-section ul.products::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 0px;
}

.related.products ul.products::-webkit-scrollbar-thumb:hover,
.atos-related-section ul.products::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

/* Produkt Card */
.related.products .product,
.woocommerce .related.products .product,
.atos-related-section .product {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 0px;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin: 0 !important;
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.related.products .product:hover,
.atos-related-section .product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px) !important;
    border-color: #e74c3c !important;
}

/* Link Wrapper */
.related.products .product a,
.atos-related-section .product a {
    display: block !important;
    text-decoration: none !important;
}

/* Bild */
.related.products .product img.attachment-woocommerce_thumbnail,
.atos-related-section .product img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: contain !important;
    display: block !important;
}


.related.products .product:hover img,
.atos-related-section .product:hover img {
    transform: scale(1.05) !important;
}

/* Titel */
.related.products .product .woocommerce-loop-product__title,
.atos-related-section .product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2F2F2F !important;
    padding: 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    height: 60px !important;
    text-align: left !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-wrap: break-word !important;
}

.related.products .product .woocommerce-loop-product__title:hover,
.atos-related-section .product .woocommerce-loop-product__title:hover {
    color: #e74c3c !important;
}

/* Preis */
.related.products .product .price,
.atos-related-section .product .price {
    padding: 0 15px 15px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #e74c3c !important;
    margin: 0 !important;
    display: block !important;
}

/* Button ausblenden */
.related.products .product .button,
.related.products .product .add_to_cart_button,
.atos-related-section .product .button,
.atos-related-section .product .add_to_cart_button {
    display: none !important;
}

/* Sale Badge */
.related.products .product .onsale,
.atos-related-section .product .onsale {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #ffd700 !important;
    color: #2F2F2F !important;
    padding: 8px 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    z-index: 2 !important;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 90% 100%, 0 75%) !important;
}

/* Mobile */
@media (max-width: 767px) {
    .atos-product-wrap {
        padding: 0 15px;
    }
    
    body.single-product .atos-related-section {
        padding: 30px 0 !important;
    }
    
    .atos-related-section .section-title,
    .atos-related-section .related.products {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .atos-related-section h2.section-title {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    
    .related.products .product,
    .atos-related-section .product {
        flex: 0 0 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }
    
    .related.products .product img,
    .atos-related-section .product img {
        height: auto !important;
    max-height: 240px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .atos-product-wrap {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .atos-related-section .section-title,
    .atos-related-section .related.products {
        max-width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .related.products .product,
    .atos-related-section .product {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}


/* WooCommerce Defaults überschreiben */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 10px 0 0 0 !important;
    float: none !important;
    clear: none !important;
padding: 20px !important;
    background: #fff !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}



/* ============================================
   RESPONSIVE: Lightbox nur auf Mobile/Tablet
   ============================================ */

/* Tablet Portrait (768px - 1024px im Portrait-Modus) */
@media (max-width: 1024px) and (orientation: portrait) {
	.woocommerce-product-gallery__image a {
		cursor: zoom-in !important;
		pointer-events: all !important;
	}
	
	.woocommerce-product-gallery__image img {
		cursor: zoom-in !important;
	}
}

/* Mobile Portrait (bis 768px) */
@media (max-width: 768px) and (orientation: portrait) {
	.woocommerce-product-gallery__image a {
		cursor: zoom-in !important;
		pointer-events: all !important;
	}
	
	.woocommerce-product-gallery__image img {
		cursor: zoom-in !important;
	}
}

/* Mobile Landscape (bis 1024px im Querformat) */
@media (max-width: 1024px) and (orientation: landscape) {
	.woocommerce-product-gallery__image a {
		cursor: zoom-in !important;
		pointer-events: all !important;
	}
	
	.woocommerce-product-gallery__image img {
		cursor: zoom-in !important;
	}
}

/* Standard Responsive */
@media (max-width: 1024px) {
	.atos-hero-grid {
		grid-template-columns: 1fr;
	}

	.atos-company-box {
		position: static;
	}

	.atos-related-section .products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.atos-product-title {
		font-size: 28px;
	}

	.atos-key-facts {
		grid-template-columns: repeat(2, 1fr);
	}

	.atos-tab-nav {
		flex-wrap: wrap;
	}

	.woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 calc(50% - 6px);
		min-width: calc(50% - 6px);
	}

	.woocommerce-product-gallery .flex-control-thumbs img {
		height: 100px;
	}

	.atos-related-section .products {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.atos-cta-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}
}

/* =================================================================
   GALERIE NAVIGATION PFEILE - PERFEKT ZENTRIERT
   ================================================================= */

.woocommerce-product-gallery {
	position: relative;
}

.atos-gallery-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 12px;
	pointer-events: none;
	z-index: 20;
}

.atos-gallery-nav button {
	pointer-events: all;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e74c3c;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.atos-gallery-nav button:hover {
	background: #c0392b;
	transform: scale(1.15);
	box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.atos-gallery-nav button:active {
	transform: scale(0.95);
}

.atos-gallery-nav button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Font Awesome Icons - PERFEKT ZENTRIERT */
.atos-gallery-nav button i {
	font-size: 18px;
	line-height: 1;
	color: #fff;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* CSS Pfeile Fallback */
.atos-gallery-nav button:not(:has(i))::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-style: solid;
}

.atos-gallery-prev:not(:has(i))::before {
	border-width: 7px 10px 7px 0;
	border-color: transparent #fff transparent transparent;
	margin-left: -1px;
}

.atos-gallery-next:not(:has(i))::before {
	border-width: 7px 0 7px 10px;
	border-color: transparent transparent transparent #fff;
	margin-left: 1px;
}

/* Desktop: Minimal größer */
@media (min-width: 1025px) {
	.atos-gallery-nav button {
		width: 40px;
		height: 40px;
	}
	
	.atos-gallery-nav button i {
		font-size: 20px;
	}
	
	.atos-gallery-nav {
		padding: 0 16px;
	}
}

/* Tablet: Klein */
@media (min-width: 768px) and (max-width: 1024px) {
	.atos-gallery-nav button {
		width: 38px;
		height: 38px;
	}
	
	.atos-gallery-nav button i {
		font-size: 19px;
	}
}

/* Mobile: Extra klein */
@media (max-width: 767px) {
	.atos-gallery-nav button {
		width: 36px;
		height: 36px;
	}
	
	.atos-gallery-nav button i {
		font-size: 18px;
	}
	
	.atos-gallery-nav {
		padding: 0 10px;
	}
}

/* Sehr kleine Screens: Minimal */
@media (max-width: 480px) {
	.atos-gallery-nav button {
		width: 32px;
		height: 32px;
	}
	
	.atos-gallery-nav button i {
		font-size: 16px;
	}
	
	.atos-gallery-prev:not(:has(i))::before {
		border-width: 6px 9px 6px 0;
	}
	
	.atos-gallery-next:not(:has(i))::before {
		border-width: 6px 0 6px 9px;
	}
	
	.atos-gallery-nav {
		padding: 0 8px;
	}
}

/* =================================================================
   KEY FACTS ICONS - PNG Bilder
   ================================================================= */

.atos-key-facts .fact-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* Desktop: Größere Icons */
@media (min-width: 1025px) {
	.atos-key-facts .fact-icon img {
		width: 56px;
		height: 56px;
	}
}

/* Mobile: Kleinere Icons */
@media (max-width: 767px) {
	.atos-key-facts .fact-icon img {
		width: 40px;
		height: 40px;
	}
}


/* =================================================================
   ADDITIONAL ICONS - Telefon, Share, Datenblatt
   ================================================================= */

/* Telefon Icon bei Nummer */
.atos-contact-phone .phone-number {
	
	align-items: center;
	gap: 0px;
}

.atos-contact-phone .phone-icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* Share & Datenblatt Icons */
.atos-share-datasheet .btn-icon {
	display: flex;
	align-items: center;
	gap: 8px;
}

.atos-share-datasheet .btn-icon-img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	flex-shrink: 0;
}

.atos-share-datasheet .btn-text {
	flex: 1;
}

/* Standardtitel "Related products" ausblenden */
body.single-product .related.products > h2 {
    display: none !important;
}


/* Salesperson Card horizontal layout */
.salesperson-card {
    display: flex !important;
    align-items: center;
    gap: 15px;
    padding: 10px 0px 30px 0px;
}

.salesperson-photo {
    flex-shrink: 0;
    width: 130px !important;
    height: 130px !important;
    border-radius: 0px;
    object-fit: cover;
    margin: 0 !important;
    border: 1px solid #ccc !important;
}

.salesperson-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.salesperson-title {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    color: #2F2F2F;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.salesperson-name {
    margin: 0 !important;
    font-size: 20px;
    font-weight: 600;
    color: #2F2F2F;
}


.phone-number {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 500;
    text-decoration: none;
}

.phone-icon {
    width: 30px;
    height: 30px;
}

/* Mobile: vertikal stapeln */
@media (max-width: 768px) {
    .salesperson-card {
        flex-direction: column;
        text-align: center;
    }
    .salesperson-photo {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 10px;
        border: 1px solid #ccc !important;
    }
}



/* Zoom nur direkt auf dem Bild */
.atos-related-shortcode ul.products li.product img {
transition: transform 0.25s ease;
}

.atos-related-shortcode ul.products li.product img:hover {
transform: scale(1.08);
}


/* Cards  hnliche Produkte */

.atos-related-shortcode .atos-card-facts {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px 30px;
padding: 10px 0px 15px 0px;
margin-left: -10px;
}

.atos-related-shortcode .card-fact {
display: flex;
align-items: center;
font-size: 12px;
color: #2d2d2d;
font-weight: 500;
gap: 2px;
white-space: nowrap;
}


.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 1em;
    font-family: 'Poppins';
    color: #2f2f2f;
}



.atos-related-heading {
    text-align: center;
    margin: 70px 0 25px 0;
}

.atos-title {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2F2F2F;
}

.atos-title span {
    color: #CD0616;
}

.atos-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #606060;
    margin: 0;
font-weight: 500;
}


.phone-section {
display: flex;
align-items: center;
gap: 6px;
margin-left: -10px;
margin-top: 12px;
}

.email-section {
display: flex;
align-items: center;
gap: 6px;
margin-left: -10px;
margin-top: -5px;
}

.email-address {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 500;
color: #e74c3c;
text-decoration: none;
}

.email-address:hover {
color: #c03925;
}

.email-icon {
width: 30px;
height: 30px;
}


.atos-related-shortcode {
position: relative;
max-width: 1400px;
margin: 0 auto;
}

.atos-related-track {
width: 100%;
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
}

.atos-related-track::-webkit-scrollbar {
display: none;
}


.atos-related-shortcode .card-fact-icon {
width: 40px;
height: 40px;
flex-shrink: 0;
object-fit: contain;
}

/* Styles für Tablet Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.atos-related-shortcode .card-fact-icon {
width: 30px;
height: 30px;
flex-shrink: 0;
object-fit: contain;
}

}


/* Styles für IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.atos-related-shortcode .card-fact-icon {
width: 30px;
height: 30px;
flex-shrink: 0;
object-fit: contain;
}

}


/* Tablet: 3 Karten passen exakt */
@media only screen and (min-width: 768px) and (max-width: 1024px)  {
.atos-related-shortcode .card-fact-icon {
width: 30px;
height: 30px;
flex-shrink: 0;
object-fit: contain;
}

}








.atos-related-shortcode ul.products {
display: flex !important;
flex-wrap: nowrap !important;
justify-content: flex-start !important;
gap: 20px;
margin: 0;
padding: 0 0 40px 0;
list-style: none;
}



/* Styles für Tablet Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.atos-related-shortcode ul.products {
display: flex !important;
flex-wrap: nowrap !important;
justify-content: flex-start !important;
gap: 10px !important;
margin: 0;
padding: 0 0 40px 0;
list-style: none;
}

}


/* Styles für IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.atos-related-shortcode ul.products {
display: flex !important;
flex-wrap: nowrap !important;
justify-content: flex-start !important;
gap: 10px !important;
margin: 0;
padding: 0 0 40px 0;
list-style: none;
}

}


/* Tablet: 3 Karten passen exakt */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.atos-related-shortcode ul.products {
display: flex !important;
flex-wrap: nowrap !important;
justify-content: flex-start !important;
gap: 10px !important;
margin: 0;
padding: 0 0 40px 0;
list-style: none;
}

}


/* Handy Poertrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.atos-related-shortcode ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 5px;
  margin: 0px;
  padding: 0 0 40px 0;
  list-style: none;
}

.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product, .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  width: 100% !important;
  margin: 10px 10px 10px 10px !important;
  float: none !important;
  clear: none !important;
  padding: 20px !important;
  background: #fff !important;
  border-radius: 0px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}
}





/* Standard: 4 Karten nebeneinander */
.atos-related-shortcode ul.products li.product {
box-sizing: border-box;

}

/* Desktop: 4 Karten passen exakt */
@media only screen and (min-width: 1025px) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 23% !important;
max-width: 23% !important;
}
}

/* Styles für Tablet Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 20% !important;
max-width: 20% !important;
}

}

/* Styles für IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 24% !important;
max-width: 24% !important;
}

}

/* Tablet: 3 Karten passen exakt */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 32% !important;
max-width: 32% !important;
}
}

/* Handy Landscape */
@media only screen and (min-width: 480px) and (max-width: 767px) and (orientation: landscape) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 40% !important;
max-width: 40% !important;

}}

/* Handy: 1 Karte breit (Slider) */
@media only screen and (max-width: 767px) {
.atos-related-shortcode ul.products li.product {
flex: 0 0 91% !important;
max-width: 91% !important;
}
}

.atos-related-nav {
display: none;
}



/* Styles für IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.atos-related-nav {
display: none;
}
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.atos-related-nav {
position: absolute;
top: 28%;
left: 0;
right: 0;
transform: translateY(-50%);
display: flex;
justify-content: space-between;
align-items: center;
pointer-events: none;
z-index: 20;
padding: 0 12px;
}

.atos-related-arrow {
    pointer-events: all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.atos-related-arrow:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.atos-related-arrow:active {
    transform: scale(0.95);
}

.atos-related-prev:before,
.atos-related-next:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 18px;
color: #fff;
line-height: 1;
}

.atos-related-arrow i {
font-size: 22px;
color: #ffffff;
pointer-events: none;
}

.atos-related-prev:before {
    border-width: 7px 10px 7px 0;
    border-color: transparent #fff transparent transparent;
    margin-left: -2px;
}

.atos-related-next:before {
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
}

/* Handy Landscape */
@media only screen and (min-width: 480px) and (max-width: 767px) and (orientation: landscape) {
.atos-related-nav {
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
display: flex;
justify-content: space-between;
align-items: center;
pointer-events: none;
z-index: 20;
padding: 0 12px;
}

.atos-related-arrow {
    pointer-events: all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.atos-related-arrow:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.atos-related-arrow:active {
    transform: scale(0.95);
}

.atos-related-prev:before,
.atos-related-next:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 18px;
color: #fff;
line-height: 1;
}

.atos-related-arrow i {
font-size: 22px;
color: #ffffff;
pointer-events: none;
}

.atos-related-prev:before {
    border-width: 7px 10px 7px 0;
    border-color: transparent #fff transparent transparent;
    margin-left: -2px;
}

.atos-related-next:before {
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
}

/* Handy: 1 Karte breit (Slider) */
@media only screen and (max-width: 767px) {
.atos-related-nav {
position: absolute;
top: 35%;
left: 0;
right: 0;
transform: translateY(-50%);
display: flex;
justify-content: space-between;
align-items: center;
pointer-events: none;
z-index: 20;
padding: 0 12px;
}

.atos-related-arrow {
    pointer-events: all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.atos-related-arrow:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.atos-related-arrow:active {
    transform: scale(0.95);
}

.atos-related-prev:before,
.atos-related-next:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
font-size: 18px;
color: #fff;
line-height: 1;
}

.atos-related-arrow i {
font-size: 22px;
color: #ffffff;
pointer-events: none;
}

.atos-related-prev:before {
    border-width: 7px 10px 7px 0;
    border-color: transparent #fff transparent transparent;
    margin-left: -2px;
}

.atos-related-next:before {
    border-width: 7px 0 7px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}
}



/* Galerie Tablet Landscape */

@media (min-width: 1024px) and (max-width: 1400px) { 
.atos-hero-left .woocommerce-product-gallery__image img { height: 436px !important; object-fit: cover; 
} 
} 



@media (min-width: 1024px) and (max-width: 1400px) { 
.atos-hero-grid { display: grid; gap: 20px !important; 
}
}

@media (min-width: 1024px) and (max-width: 1400px) { 
.salesperson-photo {
  flex-shrink: 0;
  width: 120px !important;
  height: 120px !important;
  border-radius: 0px;
  object-fit: cover;
  margin: 0 !important;
  border: 1px solid #ccc !important;
}
}

/* Galerie Tablet Portrait */

@media (min-width: 768px) and (max-width: 1023px) {

  /* Grid auf eine Spalte umstellen */
  .atos-hero-grid,
.atos-company-box {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center;
  }

  /* Galerie und Box auf 100 Prozent Breite */
  .atos-hero-left
  {
    width: 100% !important;
    margin: 0 auto;
  }

 /* Galerie und Box auf 100 Prozent Breite */
  .atos-hero-right
  {
    width: 100% !important;
    margin: 0 auto;
margin-top: -40px;
  }


  /* Abstand zwischen Galerie und Box */
  .atos-hero-left {
    margin-bottom: 20px !important;
  }

  /* Hauptbild schön responsiv */
  .atos-hero-left .woocommerce-product-gallery__image img {
    height: auto !important;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
  }

}


 /* Tablet Portrait Keyfacts */
@media (min-width: 768px) and (max-width: 1023px) {

.atos-hero-grid {
grid-template-columns: 1fr !important;
gap: 20px !important;
justify-items: center;
}

.atos-key-facts {
width: 100% !important;
margin-top: 40px;
margin-left: auto !important;
margin-right: auto !important;
}
}


 /* Tablet Portrait Tabs */
@media (min-width: 768px) and (max-width: 1023px) {

  /* TAB SECTION Breite */
  .atos-tabs-section {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Tabs in 2 Spalten aufteilen */
  .atos-tab-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px 20px !important;
  }

  .atos-tab-nav li {
    width: 100% !important;
    text-align: center;
  }
}


.atos-tab-nav li:not(.active) a:hover {
background: #f8f8f8 !important;
color: #2F2F2F;
}

@media (min-width: 768px) and (max-width: 1023px) {
.atos-tab-nav li a:hover,
.atos-tab-nav li:not(.active) a:hover {
background: #f8f8f8 !important;
color: #2F2F2F !important;
}
}


/* Galerie Handy Portrait */

@media only screen and (max-width: 767px) {

  /* Grid auf eine Spalte umstellen */
  .atos-hero-grid,
.atos-company-box {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center;
  }

  /* Galerie und Box auf 100 Prozent Breite */
  .atos-hero-left
  {
    width: 100% !important;
    margin: 0 auto;
  }

 /* Galerie und Box auf 100 Prozent Breite */
  .atos-hero-right
  {
    width: 100% !important;
    margin: 0 auto;
margin-top: -40px;
  }

.atos-company-body {
  width: 100% !important;
}

.atos-share-datasheet {
  width: 100% !important;
}

.atos-share-datasheet .btn-icon {
  width: 100% !important;
}

.atos-company-header {
  width: 100% !important;
}


  /* Abstand zwischen Galerie und Box */
  .atos-hero-left {
    margin-bottom: 20px !important;
  }

  /* Hauptbild schön responsiv */
  .atos-hero-left .woocommerce-product-gallery__image img {
    height: auto !important;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
  }

.salesperson-photo {
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto 10px;
    border: 1px solid #ccc !important;
  }

}


/* Handy Portrait Keyfacts */
@media only screen and (max-width: 767px) {

.atos-hero-grid {
grid-template-columns: 1fr !important;
gap: 20px !important;
justify-items: center;
}

.atos-key-facts {
width: 100% !important;
margin-top: 40px;
margin-left: auto !important;
margin-right: auto !important;
padding: 15px !important;
}
.fact-value {
  font-size: 12px !important;
  font-weight: 700;
  color: #2F2F2F;
}
}


/* Handy Portrait Tabs */
@media only screen and (max-width: 767px) {

  /* TAB SECTION Breite */
  .atos-tabs-section {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Tabs in 2 Spalten aufteilen */
  .atos-tab-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 10px !important;
  }

  .atos-tab-nav li {
    width: 100% !important;
    text-align: center;
  }
.atos-tab-nav li a {
  display: block;
  padding: 15px 5px;
  font-size: 14px;
  font-weight: 700;
  color: #2F2F2F;
  text-decoration: none;
  border-radius: 0px;
  transition: all 0.2s ease;
  position: relative;
  top: 2px;
border: 1px solid #ddd;
}

.atos-tab-content {
  padding: 5px !important;
}

}



/* Tabs IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.atos-tab-nav {
       gap: 12px !important;
  }

}



.atos-product-title {
  font-size: 42px !important;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: #2f2f2f;
}

/* Handy Portrait Produkttitel */
@media only screen and (max-width: 767px) {

.atos-product-title {
  font-size: 36px !important;
}
}

/* Handy Landscape Produkttitel */
@media only screen and (max-width: 1200px) {

.atos-product-title {
  font-size: 36px !important;
}
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    height: 575px;
}

/* Tabs IPAD Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    height: 566px;
}
}


/* Galerie Tablet Landscape */

@media (min-width: 1024px) and (max-width: 1400px) { 
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    height: 566px;
}
} 


/* Galerie Tablet Portrait */

@media (min-width: 768px) and (max-width: 1023px) {
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    height: 560px;
}
} 


/* Galerie Handy Portrait */

@media only screen and (max-width: 767px) {
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
    height: 392px;
}
} 
