/*
Theme Name: Sauter Theme
Theme URI: http://2026.sauter-stetten.com/
Description: Divi Child Theme für sauter-stetten.com.
Author: Sauter Stetten
Template: Divi
Version: 1.0.7
Text Domain: sauter-theme
*/

/* Login rechts in der klassischen Divi-Footerleiste. */
#footer-info:has(.pew-footer-account-link) {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px 24px;
	float: none;
	width: 100%;
	text-align: left;
}

#footer-info .pew-footer-account-link {
	float: none;
	flex: 0 0 auto;
	width: auto;
	margin: 0;
}

#footer-info .sauter-footer-credits {
	min-width: 0;
}

@media (max-width: 767px) {
	#footer-info:has(.pew-footer-account-link) {
		flex-direction: column;
		align-items: stretch;
	}
	#footer-info .pew-footer-account-link {
		float: none;
		width: 100%;
		margin: 0;
	}
}

/* Login-Optik: Diese Werte nach Wunsch anpassen. */
#footer-info .pew-footer-account-link {
	font-size: 13px;
	line-height: 1.5;
	color: #d3d3d3;
	gap: 0 .4em;
}

#footer-info .pew-footer-account-link a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
	transition: color .2s ease;
}

#footer-info .pew-footer-account-link a:hover,
#footer-info .pew-footer-account-link a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

/* Produkt-Hauptbild bei jeder Bildschirmbreite quadratisch halten. */
body.single-product #wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
}

body.single-product #wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel .spswiper-wrapper,
body.single-product #wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel .spswiper-slide,
body.single-product #wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel .wcgs-slider-image {
	height: 100% !important;
	min-height: 0 !important;
}

body.single-product #wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel .wcgs-slider-image-tag {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover !important;
	object-position: center !important;
}
