/*
Theme Name:    Ascotech Premium
Theme URI:     https://ascotech.ch
Description:   A bespoke, ultra-high-performance Block Theme for Ascotech.
Author:        Antigravity
Version:       1.0.0
Tested up to:  6.4
Requires at least: 6.2
Requires PHP:  7.4
License:       GNU General Public License v2 or later
License URI:   http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:   ascotech-premium
*/

:root {
	--primary-red: #ea1b25;
	--text-dark: #222;
	--text-grey: #777;
	--border-color: #eee;
}

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--text-dark);
}

/* Header Top Bar */
.ascotech-top-bar {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding: 8px 20px;
	background: #fff;
	color: var(--text-grey);
	font-size: 13px;
	border-bottom: 1px solid var(--border-color);
}

/* Main Header */
.ascotech-header-main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 25px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.ascotech-logo-link img {
	max-width: 180px;
}

/* Search Bar */
.ascotech-search-wrapper {
	flex-grow: 1;
	max-width: 800px;
}

.ascotech-search-wrapper .wp-block-search__inside-wrapper {
	display: flex;
	border: 2px solid var(--primary-red);
	border-radius: 30px;
	overflow: hidden;
}

.ascotech-search-wrapper input {
	border: none;
	padding: 12px 20px;
	width: 100%;
	outline: none;
	font-size: 14px;
}

.ascotech-search-wrapper button {
	background: var(--primary-red);
	color: white;
	border: none;
	padding: 0 25px;
	cursor: pointer;
}

.ascotech-header-icons {
	display: flex;
	gap: 20px;
	align-items: center;
}

.header-icon-link {
	text-decoration: none !important;
	color: #555 !important;
	transition: all 0.3s ease;
	display: inline-flex !important;
	align-items: center !important;
	vertical-align: middle !important;
}

.header-icon-link:hover {
	color: var(--primary-red) !important;
	transform: translateY(-2px);
}

.header-icon {
	position: relative;
	display: flex !important;
	align-items: center !important;
	gap: 12px;
	height: 32px !important;
}

.icon-svg {
	stroke-width: 1.5;
	/* Slightly thinner for a more elegant look */
}

.header-icon .badge {
	position: absolute;
	top: -10px;
	right: -10px;
	background: var(--primary-red);
	color: white;
	font-size: 10px;
	font-weight: 800;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(234, 27, 37, 0.3);
}

.cart-icon-main .badge {
	position: absolute !important;
	top: -10px !important;
	right: -10px !important;
	left: auto !important;
}

.cart-total {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #555 !important;
	line-height: 1 !important;
	margin-left: 10px !important;
	display: inline-block !important;
}

/* Custom Mega Menu Navigation */
.ascotech-menu-toggle {
	display: none;
}

.ascotech-nav-container {
	background: var(--primary-red);
	position: relative;
	z-index: 1000;
}

.ascotech-main-menu {
	width: 100% !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	box-sizing: border-box !important;
	list-style: none;
	display: flex;
	gap: 5px;
}

.ascotech-main-menu>li>a {
	display: block;
	padding: 15px 25px;
	color: white;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background 0.3s ease;
}

.ascotech-main-menu>li>a:hover {
	background: rgba(255, 255, 255, 0.1);
}

.ascotech-main-menu li .arrow {
	font-size: 10px;
	margin-left: 5px;
	opacity: 0.8;
}

/* Mega Menu Dropdown */
.has-mega-menu {
	position: static;
	/* Required for full-width dropdown */
}

.mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
	padding: 40px 0;
	display: none;
	border-top: 2px solid var(--primary-red);
}

.has-mega-menu:hover .mega-menu {
	display: block;
	animation: fadeInNav 0.3s ease;
}

.mega-menu-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.mega-column h3 {
	font-size: 16px;
	font-weight: 800;
	color: #000;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.mega-column ul {
	list-style: none;
	padding: 0;
}

.mega-column ul li {
	margin-bottom: 12px;
}

.mega-column ul li a {
	text-decoration: none;
	color: #666;
	font-size: 14px;
	transition: color 0.2s ease;
}

.mega-column ul li a:hover {
	color: var(--primary-red);
}

.mega-image-col {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mega-image-col img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

@keyframes fadeInNav {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}



/* Premium Features Bar (Below Nav) */
.ascotech-features-bar {
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 15px 20px !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	border: none !important;
	border-bottom: 0px none transparent !important;
	box-shadow: none !important;
	background: #fff !important;
}

.ascotech-features-bar::after,
.ascotech-features-bar::before {
	display: none !important;
	content: none !important;
}

/* Global Header & Main Cleanup */
header,
.wp-block-template-part header,
header.wp-block-group {
	border-bottom: none !important;
	box-shadow: none !important;
}

main.wp-block-group,
.entry-content {
	border-top: none !important;
	margin-top: 0 !important;
}

.feature-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 5px 15px !important;
}

.feature-emoji {
	font-size: 24px;
	line-height: 1;
}

.feature-text {
	color: #333 !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	white-space: nowrap !important;
	letter-spacing: -0.2px !important;
}



@media (max-width: 600px) {
	.feature-text {
		font-size: 12px !important;
	}

	.feature-emoji {
		font-size: 18px !important;
	}
}

/* Premium Steps Section */
.ascotech-steps-container {
	max-width: 1400px;
	margin: 80px auto;
	padding: 0 20px;
	text-align: center;
}

.ascotech-steps-container h2 {
	font-size: 36px;
	font-weight: 900;
	margin-bottom: 50px;
	color: #000;
	letter-spacing: -1px;
}

.ascotech-steps-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 30px !important;
}

.step-card {
	background: #fff;
	padding: 40px 25px;
	border-radius: 16px;
	border: 1px solid var(--border-color);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	position: relative;
	overflow: hidden;
}

.step-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
	border-color: var(--primary-red);
}

.step-number {
	font-size: 80px;
	font-weight: 900;
	color: rgba(0, 0, 0, 0.03);
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 1;
	line-height: 1;
}

.step-content {
	position: relative;
	z-index: 2;
}

.step-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 15px;
	color: var(--text-dark);
}

.step-title::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--primary-red);
	margin: 12px auto 0;
	border-radius: 2px;
}

.step-description {
	font-size: 14px;
	color: var(--text-grey);
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.ascotech-steps-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.ascotech-steps-grid {
		grid-template-columns: 1fr !important;
	}

	.ascotech-steps-container h2 {
		font-size: 28px;
	}
}

/* Premium Product Carousel */
.ascotech-premium-carousel {
	max-width: 1400px;
	margin: 60px auto !important;
	padding: 30px 20px !important;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #f0f0f0;
}

.carousel-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 30px !important;
	border-bottom: 1px solid var(--border-color) !important;
	padding-bottom: 12px !important;
}

.carousel-title {
	font-size: 24px !important;
	font-weight: 800 !important;
	margin: 0 !important;
	color: #000 !important;
	position: relative !important;
	letter-spacing: -0.5px !important;
}

.carousel-title::after {
	content: '' !important;
	position: absolute !important;
	bottom: -13px !important;
	left: 0 !important;
	width: 60px !important;
	height: 3px !important;
	background: var(--primary-red) !important;
	border-radius: 2px !important;
}

.carousel-nav {
	display: flex !important;
	gap: 12px !important;
	position: relative !important;
	z-index: 100 !important;
}

.carousel-nav button {
	background: #fff !important;
	border: 1px solid var(--border-color) !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	font-size: 18px !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.carousel-nav button:hover {
	background: var(--primary-red) !important;
	color: white !important;
	border-color: var(--primary-red) !important;
}

.ascotech-product-carousel-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 25px !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 10px 0 30px !important;
	margin: 0 !important;
	list-style: none !important;
	width: 100% !important;
	scrollbar-width: none;
}

.ascotech-product-carousel-inner::-webkit-scrollbar {
	display: none;
}

.ascotech-product-carousel-inner.active {
	cursor: grabbing;
	cursor: -webkit-grabbing;
}

.premium-carousel-item {
	flex: 0 0 250px !important;
	min-width: 250px !important;
	width: 250px !important;
	scroll-snap-align: start;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	background: #fff;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between;
	position: relative;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}

.premium-carousel-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
	border-color: rgba(234, 27, 37, 0.2);
}

.premium-carousel-item img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	display: block;
	border-radius: 6px;
}

.premium-carousel-item h3 {
	font-size: 13px !important;
	margin: 0 0 6px !important;
	font-weight: 700 !important;
	color: var(--text-dark) !important;
	line-height: 1.35 !important;
	min-height: 36px;
}

.premium-carousel-item .price {
	color: var(--primary-red) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	margin-bottom: 0 !important;
}

.premium-carousel-item .price del {
	font-size: 12px;
	color: var(--text-grey);
	margin-right: 4px;
	font-weight: 400;
}

/* Price + cart row — keeps price left, button right */
.premium-carousel-item>a+a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.premium-carousel-item .add_to_cart_button {
	background: var(--primary-red) !important;
	color: white !important;
	padding: 10px 20px !important;
	border-radius: 30px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	display: block !important;
	transition: all 0.3s ease !important;
	border: none !important;
	text-align: center !important;
}

.premium-carousel-item .add_to_cart_button:hover {
	background: #c1121b !important;
	box-shadow: 0 5px 15px rgba(234, 27, 37, 0.3);
}

.ascotech-cart-icon-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	background: #ebebeb !important;
	border-radius: 50% !important;
	border: none !important;
	color: #555 !important;
	margin: 8px 0 0 auto !important;
	transition: all 0.25s ease !important;
	text-decoration: none !important;
	flex-shrink: 0 !important;
}

.ascotech-cart-icon-btn:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
	transform: scale(1.08) !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.35) !important;
}

.ascotech-cart-icon-btn svg {
	width: 15px !important;
	height: 15px !important;
	display: block !important;
}

@media (max-width: 600px) {
	.premium-carousel-item {
		flex: 0 0 220px !important;
		min-width: 220px !important;
	}

	.carousel-title {
		font-size: 20px !important;
	}
}

/* Premium Deal Carousel with Sidebar */
.ascotech-deal-carousel-container {
	max-width: 1400px;
	margin: 80px auto;
	padding: 0 20px;
	display: flex;
	gap: 30px;
	align-items: stretch;
}

.deal-side-box {
	flex: 0 0 320px;
	background: #fff;
	border: 3px solid var(--primary-red);
	border-radius: 16px;
	padding: 25px;
	display: flex;
	flex-direction: column;
	text-align: center;
	position: relative;
}

.deal-label {
	background: var(--primary-red);
	color: white;
	padding: 8px 20px;
	font-weight: 900;
	font-size: 18px;
	border-radius: 30px;
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	box-shadow: 0 5px 15px rgba(234, 27, 37, 0.3);
}

.deal-featured-product {
	margin-top: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.deal-featured-product img {
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.deal-featured-product h4 {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 15px;
	color: var(--text-dark);
}

.deal-price {
	color: var(--primary-red);
	font-size: 28px;
	font-weight: 900;
	margin-bottom: 25px;
}

.deal-button {
	display: block;
	background: var(--primary-red);
	color: white;
	padding: 15px 20px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
	transition: all 0.3s ease;
}

.deal-button:hover {
	background: #c1121b;
	box-shadow: 0 8px 20px rgba(234, 27, 37, 0.4);
	transform: scale(1.02);
}

.deal-carousel-side {
	flex-grow: 1;
	min-width: 0;
	/* Important for flex carousel overflow */
	background: #f9f9f9;
	border-radius: 16px;
	padding: 30px;
	border: 1px solid #f0f0f0;
}

@media (max-width: 1000px) {
	.ascotech-deal-carousel-container {
		flex-direction: column;
	}

	.deal-side-box {
		flex: 0 0 auto;
		width: 100%;
		max-width: 400px;
		margin: 30px auto 40px;
	}

	.deal-label {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		transform: none !important;
		display: inline-block !important;
		margin: 0 auto 12px !important;
		align-self: center !important;
		font-size: 14px !important;
		padding: 5px 16px !important;
	}

	.deal-price {
		font-size: 20px !important;
	}

	/* Show 2 items at once in "Weitere Angebote" carousel on mobile */
	.deal-carousel-side .premium-carousel-item {
		flex: 0 0 calc(50% - 10px) !important;
		min-width: calc(50% - 10px) !important;
		width: calc(50% - 10px) !important;
	}
}

/* Fallbacks for other pages */
.ascotech-main-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 50px 20px 80px;
}

/* Live Search Results */
.ascotech-search-wrapper {
	position: relative;
}

.ascotech-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	margin-top: 10px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	display: none;
	overflow: hidden;
	max-height: 450px;
	overflow-y: auto;
}

.search-result-item {
	display: flex !important;
	align-items: center !important;
	gap: 15px !important;
	padding: 15px !important;
	text-decoration: none !important;
	color: var(--text-dark) !important;
	border-bottom: 1px solid #f9f9f9 !important;
}

.search-result-item:hover {
	background: #fdf2f2 !important;
}

.result-image img {
	width: 50px !important;
	height: 50px !important;
	object-fit: cover !important;
	border-radius: 4px !important;
}

.result-title {
	font-weight: 700 !important;
	font-size: 14px !important;
	margin-bottom: 4px !important;
	color: var(--text-dark) !important;
}

.result-price {
	color: var(--primary-red) !important;
	font-weight: 800 !important;
	font-size: 13px !important;
}

.no-results {
	padding: 20px !important;
	text-align: center !important;
	color: var(--text-grey) !important;
	font-size: 14px !important;
}

/* Product Archive / Category Page Styles */
.wp-block-woocommerce-product-collection ul.wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
	gap: 30px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 40px 0 !important;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product {
	background: #fff !important;
	border: 1px solid var(--border-color) !important;
	border-radius: 12px !important;
	padding: 20px !important;
	text-align: center !important;
	transition: all 0.3s ease !important;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
	border-color: var(--primary-red) !important;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product-image {
	margin-bottom: 15px !important;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin: 0 0 10px !important;
	color: var(--text-dark) !important;
}

.wp-block-woocommerce-product-collection .wc-block-grid__product-price {
	color: var(--primary-red) !important;
	font-weight: 800 !important;
	font-size: 18px !important;
	margin-bottom: 20px !important;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-add-to-cart {
	margin-top: auto !important;
}

.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-add-to-cart a {
	background: var(--primary-red) !important;
	color: white !important;
	padding: 10px 20px !important;
	border-radius: 30px !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	display: block !important;
}

/* Post Template Grid Fix */
ul.wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 30px !important;
	list-style: none !important;
	padding: 0 !important;
}

.wp-block-post-template li {
	background: #fff !important;
	border: 1px solid var(--border-color) !important;
	border-radius: 12px !important;
	padding: 20px !important;
	text-align: center !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
}

/* Premium Product Grid (3 Columns) */
.ascotech-product-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 40px !important;
	list-style: none !important;
	padding: 0 !important;
}

.product-card {
	background: #fff !important;
	border: 1px solid var(--border-color) !important;
	border-radius: 16px !important;
	padding: 30px !important;
	text-align: center !important;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
}

.product-card:hover {
	transform: translateY(-8px) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
	border-color: var(--primary-red) !important;
}

.product-card-title a {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--text-dark) !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
}

.product-card-price {
	margin: 15px 0 !important;
	font-size: 20px !important;
	font-weight: 900 !important;
	color: var(--primary-red) !important;
}

.product-card-button .add_to_cart_button {
	background: var(--primary-red) !important;
	color: #fff !important;
	padding: 12px 25px !important;
	border-radius: 30px !important;
	width: 100% !important;
	display: block !important;
	font-weight: 700 !important;
}

/* AGGRESSIVE GRID FIX (scoped: excludes magazin templates) */
.ascotech-product-grid,
ul.wp-block-post-template:not(.magazin-featured-list):not(.magazin-post-grid) {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
	gap: 40px !important;
	width: 100% !important;
	max-width: 1400px !important;
	margin: 40px auto !important;
	padding: 0 !important;
	list-style: none !important;
}

.product-card,
li.wp-block-post:not(.magazin-page li.wp-block-post) {
	width: 100% !important;
	min-width: 320px !important;
	max-width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important;
	background: #fff !important;
	padding: 25px !important;
	border: 1px solid #eee !important;
	border-radius: 12px !important;
}

/* Merge Card Styles */
li.wp-block-post {
	border: none !important;
	padding: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.product-card {
	border: 1px solid #eee !important;
	padding: 25px !important;
	background: #fff !important;
	border-radius: 16px !important;
	transition: all 0.4s ease !important;
}

/* Scope Product Grid to Archives Only */
.single-product li.wp-block-post {
	width: auto !important;
	min-width: 0 !important;
	background: none !important;
	padding: 0 !important;
	border: none !important;
}

.single-product main .wp-block-columns {
	display: flex !important;
	gap: 40px !important;
}

.wp-block-woocommerce-product-categories {
	background: #fff !important;
	padding: 20px !important;
	border-radius: 12px !important;
	border: 1px solid #eee !important;
}

/* Sidebar Category Menu Styles */
.ascotech-sidebar {
	border: 1px solid #eee !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.sidebar-header {
	background: #fff !important;
	padding: 15px !important;
	border-bottom: 1px solid #eee !important;
	font-size: 13px !important;
	color: #777 !important;
	font-weight: 500 !important;
}

.ascotech-sidebar .wc-block-product-categories {
	padding: 0 !important;
}

.ascotech-sidebar ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ascotech-sidebar li {
	border-bottom: 1px solid #eee !important;
	margin: 0 !important;
}

.ascotech-sidebar li:last-child {
	border-bottom: none !important;
}

.ascotech-sidebar .cat-item {
	position: relative !important;
}

.ascotech-sidebar .cat-row {
	display: grid !important;
	grid-template-areas: "link count toggle" !important;
	grid-template-columns: 1fr auto 40px !important;
	/* Slightly wider toggle area for better centering */
	grid-template-rows: 1fr !important;
	align-items: center !important;
	padding: 12px 15px 12px 25px !important;
	/* Vertical padding moved here */
	background: transparent !important;
	border: none !important;
	width: 100% !important;
	box-sizing: border-box !important;
	gap: 10px !important;
	white-space: normal !important;
	/* Allow wrapping */
}




/* If no toggle exists, make the count occupy the rightmost space */
.ascotech-sidebar .cat-row:not(:has(.menu-toggle)) {
	grid-template-columns: 1fr 40px !important;
	grid-template-areas: "link count" !important;
}



.ascotech-sidebar .cat-row a {
	grid-area: link !important;
	min-width: 0 !important;
	justify-self: start !important;
	/* Only clickable on the text itself */
	overflow: visible !important;
	text-overflow: clip !important;
	white-space: normal !important;
}


.ascotech-sidebar .cat-row .cat-count {
	grid-area: count !important;
	justify-self: center !important;
	/* Centered alignment */
}

.ascotech-sidebar .cat-row .menu-toggle {
	grid-area: toggle !important;
	justify-self: center !important;
}

.ascotech-sidebar .cat-row:hover {
	background: transparent !important;
}

.ascotech-sidebar a {
	display: inline-block !important;
	padding: 0 !important;
	/* Vertical padding removed here */
	color: #444 !important;
	text-decoration: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
}

.ascotech-sidebar .cat-row:hover a {
	color: var(--primary-red) !important;
}

.ascotech-sidebar .cat-count {
	margin: 0 !important;
	background: #f4f4f4 !important;
	color: #666 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	padding: 3px 8px !important;
	border-radius: 20px !important;
	transition: all 0.2s ease !important;
	line-height: 1.2 !important;
	align-self: center !important;
}

.ascotech-sidebar .cat-row:hover .cat-count {
	background: var(--primary-red) !important;
	color: #fff !important;
}

.ascotech-sidebar ul.children {
	width: 100% !important;
	order: 10 !important;
	/* Forces the sub-categories below the flex items */
}

.ascotech-sidebar ul.children a {
	padding-left: 30px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #666 !important;
}

.ascotech-sidebar ul.children ul.children a {
	padding-left: 45px !important;
}

/* Trust Checklist Cleanup */
.is-style-no-bullets {
	list-style: none !important;
	padding-left: 0 !important;
}

.wp-block-group.has-background {
	border: none !important;
	background: none !important;
	padding: 0 !important;
}

/* Sidebar Category Count Fix */
.ascotech-sidebar .wc-block-product-categories-list-item {
	display: block !important;
	position: relative !important;
}

.ascotech-sidebar .wc-block-product-categories-list-item__count {
	font-size: 11px !important;
	color: #999 !important;
	font-weight: 400 !important;
	margin-left: 5px !important;
}

.ascotech-sidebar .wc-block-product-categories-list-item>a {
	display: inline-block !important;
	width: auto !important;
	padding-bottom: 5px !important;
}

/* Checklist Icon Fix */
.is-style-no-bullets ul li {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin-bottom: 8px !important;
	font-size: 13px !important;
}

.is-style-no-bullets ul li::before {
	content: '?' !important;
	color: #4CAF50 !important;
	font-weight: bold !important;
}

/* Remove default checkbox boxes if any */
.is-style-no-bullets ul {
	list-style: none !important;
	padding: 0 !important;
}


/* Sidebar Category Layout Tweaks */
.ascotech-sidebar .cat-item {
	position: relative !important;
}

/* Adjust toggle position to fit the flexbox layout */
.ascotech-sidebar .menu-toggle {
	width: 24px !important;
	height: 24px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #f0f0f0 !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	color: #333 !important;
	z-index: 100 !important;
	transition: all 0.3s ease !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
	/* Prevents toggle from squishing */
}

.ascotech-sidebar .menu-toggle svg {
	transition: transform 0.3s ease !important;
}

.ascotech-sidebar .cat-item.is-expanded>.cat-row .menu-toggle {
	background: var(--primary-red) !important;
	color: #fff !important;
}

.ascotech-sidebar .cat-item.is-expanded>.cat-row .menu-toggle svg {
	transform: rotate(180deg) !important;
}

.ascotech-sidebar .cat-row:hover .menu-toggle {
	background: var(--primary-red) !important;
	color: #fff !important;
}

.ascotech-sidebar .cat-item.is-expanded .cat-row:hover .menu-toggle {
	background: var(--primary-red) !important;
}

.ascotech-sidebar .menu-toggle:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
	transform: scale(1.1) !important;
	/* Subtle pop effect on direct hover */
}

.ascotech-sidebar .wc-block-product-categories-list-item.is-expanded>.menu-toggle {
	transform: rotate(90deg);
}

.ascotech-sidebar .wc-block-product-categories-list .wc-block-product-categories-list a {
	padding-left: 30px !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}


/* Post Templates Constraints */
main.alignwide {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

/* Force text and groups to expand to the full 1400px wrapper */
main.alignwide .wp-block-group.alignwide>* {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

main.alignwide .wp-block-post-content>* {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Keep featured image constrained and centered (except in magazine featured card) */
.wp-block-post-featured-image:not(.magazin-featured-image),
main.alignwide figure.wp-block-post-featured-image:not(.magazin-featured-image),
main.alignwide .wp-block-post-featured-image:not(.magazin-featured-image),
main.alignwide .wp-block-group.alignwide>.wp-block-post-featured-image:not(.magazin-featured-image) {
	width: 100% !important;
	max-width: 800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: block !important;
}

.wp-block-post-featured-image img,
main.alignwide .wp-block-post-featured-image img,
main.alignwide .wp-block-group.alignwide>.wp-block-post-featured-image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: 8px !important;
}


/* ================================================================
   MAGAZIN / BLOG STYLES — Premium Editorial Design
   ================================================================ */

/* --- Hero Banner --- */
.magazin-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
	padding: 70px 20px 60px !important;
	position: relative;
	overflow: hidden;
}

.magazin-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(234, 27, 37, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.magazin-hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(234, 27, 37, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.magazin-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.magazin-hero-title {
	color: #fff !important;
	font-size: 52px !important;
	font-weight: 900 !important;
	letter-spacing: -1.5px !important;
	margin: 0 0 12px !important;
	line-height: 1.1 !important;
}

.magazin-hero-subtitle {
	color: rgba(255, 255, 255, 0.65) !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	margin: 0 0 35px !important;
	max-width: 600px;
	margin-left: auto !important;
	margin-right: auto !important;
	line-height: 1.6 !important;
}

/* --- Category Filter Pills --- */
.magazin-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.category-pill {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	letter-spacing: 0.3px;
}

.category-pill:hover,
.category-pill.active {
	background: var(--primary-red);
	color: #fff;
	border-color: var(--primary-red);
	box-shadow: 0 4px 20px rgba(234, 27, 37, 0.4);
	transform: translateY(-2px);
}

/* --- Featured Post Card --- */
.magazin-featured-query {
	margin-bottom: 0 !important;
}

.magazin-featured-list {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
}

.magazin-featured-card {
	position: relative !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	min-height: 420px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	background: #1a1a2e !important;
	transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.magazin-featured-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

.magazin-featured-image,
.magazin-featured-card>.wp-block-post-featured-image,
figure.magazin-featured-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 1 !important;
	overflow: hidden !important;
}

.magazin-featured-image a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.magazin-featured-image img,
.magazin-featured-card .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
	border-radius: 0 !important;
	max-width: none !important;
}

.magazin-featured-card:hover .magazin-featured-image img {
	transform: scale(1.05) !important;
}

.magazin-featured-overlay {
	position: relative !important;
	z-index: 3 !important;
	padding: 50px 45px 40px !important;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 0.85) 0%,
			rgba(0, 0, 0, 0.5) 50%,
			transparent 100%) !important;
	min-height: 250px !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	text-align: left !important;
}

.magazin-featured-meta {
	margin-bottom: 15px !important;
}

.magazin-featured-label {
	background: var(--primary-red) !important;
	color: #fff !important;
	padding: 4px 14px !important;
	border-radius: 30px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	margin: 0 !important;
}

.magazin-featured-card .magazin-cat-badge a {
	background: rgba(255, 255, 255, 0.15) !important;
	color: #fff !important;
	padding: 4px 14px !important;
	border-radius: 30px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	letter-spacing: 0.5px !important;
	backdrop-filter: blur(5px) !important;
}

.magazin-featured-title {
	margin: 0 0 12px !important;
}

.magazin-featured-title a {
	color: #fff !important;
	text-decoration: none !important;
}

.magazin-featured-title a:hover {
	color: var(--primary-red) !important;
}

.magazin-featured-excerpt {
	margin: 0 0 20px !important;
	max-width: 700px;
	line-height: 1.7 !important;
}

.magazin-featured-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	padding-top: 15px !important;
}

/* --- Section Title --- */
.magazin-grid-header {
	margin-bottom: 35px !important;
	padding-bottom: 15px !important;
	border-bottom: 2px solid #f0f0f0 !important;
}

.magazin-section-title {
	color: #111 !important;
	position: relative !important;
	margin: 0 !important;
	letter-spacing: -0.5px !important;
}

.magazin-section-title::after {
	content: '' !important;
	position: absolute !important;
	bottom: -17px !important;
	left: 0 !important;
	width: 50px !important;
	height: 3px !important;
	background: var(--primary-red) !important;
	border-radius: 2px !important;
}

/* --- Post Card Grid --- */
.magazin-post-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px !important;
	padding: 0 !important;
	list-style: none !important;
}

.magazin-post-card {
	background: #fff !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	border: 1px solid #eee !important;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease !important;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
}

.magazin-post-card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
	border-color: rgba(234, 27, 37, 0.2) !important;
}

/* Card Image */
.magazin-card-image-wrap {
	position: relative !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.magazin-card-image {
	margin: 0 !important;
	overflow: hidden !important;
}

.magazin-card-image img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16/9 !important;
	object-fit: cover !important;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
	display: block !important;
}

.magazin-post-card:hover .magazin-card-image img {
	transform: scale(1.04) !important;
}

/* Card Category Badge */
.magazin-card-cat {
	position: absolute !important;
	top: 14px !important;
	left: 14px !important;
	z-index: 10 !important;
	margin: 0 !important;
}

.magazin-card-cat a {
	display: inline-block !important;
	padding: 5px 14px !important;
	border-radius: 30px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	text-decoration: none !important;
	background: var(--primary-red) !important;
	color: #fff !important;
	box-shadow: 0 3px 12px rgba(234, 27, 37, 0.3) !important;
	transition: all 0.3s ease !important;
}

.magazin-card-cat a:hover {
	background: #c1121b !important;
	transform: scale(1.05) !important;
}

/* Card Body */
.magazin-card-body {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
}

.magazin-card-title {
	margin: 0 0 10px !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.magazin-card-title a {
	color: var(--text-dark) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.magazin-card-title a:hover {
	color: var(--primary-red) !important;
}

.magazin-card-excerpt {
	margin: 0 0 auto !important;
	line-height: 1.7 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	padding-bottom: 15px !important;
}

/* Card Footer */
.magazin-card-footer {
	border-top: 1px solid #f0f0f0 !important;
	padding: 14px 24px 20px !important;
	margin-top: auto !important;
	align-items: center !important;
}

.magazin-card-date {
	margin: 0 !important;
}

.magazin-read-more,
a.wp-block-read-more.magazin-read-more {
	color: var(--primary-red) !important;
	margin: 0 !important;
	transition: all 0.3s ease !important;
	white-space: nowrap !important;
	text-decoration: none !important;
}

.magazin-post-card:hover .magazin-read-more {
	transform: translateX(4px) !important;
}

/* --- Pagination --- */
.magazin-pagination {
	margin-top: 20px !important;
}

.magazin-pagination .wp-block-query-pagination-numbers {
	display: flex !important;
	gap: 6px !important;
}

.magazin-pagination a,
.magazin-pagination span {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 42px !important;
	height: 42px !important;
	padding: 0 14px !important;
	border-radius: 10px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	color: var(--text-dark) !important;
	background: #f5f5f5 !important;
}

.magazin-pagination a:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 15px rgba(234, 27, 37, 0.3) !important;
}

.magazin-pagination .current,
.magazin-pagination span[aria-current] {
	background: var(--primary-red) !important;
	color: #fff !important;
}

/* --- No Results --- */
.magazin-no-results {
	text-align: center;
}

/* --- Archive Hero Variant --- */
.magazin-hero-archive {
	padding: 55px 20px 50px !important;
}

.magazin-hero-archive .magazin-hero-title {
	font-size: 42px !important;
}

/* --- Posts with no featured image fallback --- */
.magazin-card-image-wrap:not(:has(img)) {
	background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.magazin-card-image-wrap:not(:has(img))::after {
	content: '📝';
	font-size: 48px;
	opacity: 0.3;
}

.magazin-featured-card:not(:has(.magazin-featured-image img)) {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
	.magazin-post-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 25px !important;
	}
}

@media (max-width: 768px) {
	.magazin-hero {
		padding: 50px 15px 45px !important;
	}

	.magazin-hero-title {
		font-size: 36px !important;
	}

	.magazin-hero-subtitle {
		font-size: 15px !important;
	}

	.category-pill {
		padding: 7px 16px;
		font-size: 12px;
	}

	.magazin-featured-card {
		min-height: 320px !important;
	}

	.magazin-featured-overlay {
		padding: 30px 25px !important;
	}

	.magazin-featured-title {
		font-size: 26px !important;
	}

	.magazin-post-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.magazin-section-title {
		font-size: 22px !important;
	}
}

@media (max-width: 480px) {
	.magazin-hero-title {
		font-size: 28px !important;
	}

	.magazin-featured-card {
		min-height: 280px !important;
		border-radius: 14px !important;
	}

	.magazin-featured-title {
		font-size: 22px !important;
	}

	.magazin-post-card {
		border-radius: 12px !important;
	}
}

/* --- Animations --- */
@keyframes magazinFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.magazin-post-card {
	animation: magazinFadeIn 0.6s ease forwards;
	opacity: 0;
}

.magazin-post-grid li:nth-child(1) .magazin-post-card {
	animation-delay: 0s;
}

.magazin-post-grid li:nth-child(2) .magazin-post-card {
	animation-delay: 0.1s;
}

.magazin-post-grid li:nth-child(3) .magazin-post-card {
	animation-delay: 0.2s;
}

.magazin-post-grid li:nth-child(4) .magazin-post-card {
	animation-delay: 0.15s;
}

.magazin-post-grid li:nth-child(5) .magazin-post-card {
	animation-delay: 0.25s;
}

.magazin-post-grid li:nth-child(6) .magazin-post-card {
	animation-delay: 0.35s;
}

.magazin-featured-card {
	animation: magazinFadeIn 0.7s ease forwards;
	opacity: 0;
}

/* ================================================================
   SINGLE POST STYLES — Premium Article Design
   ================================================================ */

/* --- Hero Header --- */
.single-post-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
	padding: 60px 20px 55px !important;
	position: relative;
	overflow: hidden;
}

.single-post-hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -15%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(234, 27, 37, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.single-post-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
}

.single-post-cat {
	margin: 0 0 0 !important;
}

.single-post-cat a {
	background: var(--primary-red) !important;
	color: #fff !important;
	padding: 5px 16px !important;
	border-radius: 30px !important;
	text-decoration: none !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	display: inline-block !important;
}

.single-post-title {
	color: #fff !important;
	letter-spacing: -1px !important;
}

.single-post-meta {
	opacity: 0.7;
}

.single-post-sep {
	margin: 0 !important;
}

/* --- Content Area --- */
.single-post-content-area,
.single-post-nav-inner,
.single-post-comments-area {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.single-post-content-area {
	background: #fff;
}

.single-post-featured {
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	overflow: hidden !important;
}

.single-post-featured img {
	width: 100% !important;
	max-height: 500px !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	border-radius: 14px !important;
}

/* --- Article Body Typography --- */
.single-post-body .wp-block-post-content {
	font-size: 17px !important;
	line-height: 1.85 !important;
	color: #333 !important;
}

.single-post-body .wp-block-post-content>* {
	max-width: 1400px;
}

.single-post-body .wp-block-post-content p {
	margin-bottom: 1.5em !important;
}

.single-post-body .wp-block-post-content h2 {
	font-size: 28px !important;
	font-weight: 800 !important;
	margin-top: 55px !important;
	margin-bottom: 20px !important;
	color: #111 !important;
	letter-spacing: -0.5px !important;
	line-height: 1.3 !important;
	padding-bottom: 12px !important;
	border-bottom: 2px solid #f0f0f0 !important;
}

.single-post-body .wp-block-post-content h3 {
	font-size: 22px !important;
	font-weight: 700 !important;
	margin-top: 45px !important;
	margin-bottom: 16px !important;
	color: #222 !important;
	line-height: 1.35 !important;
}

.single-post-body .wp-block-post-content h4 {
	font-size: 18px !important;
	font-weight: 700 !important;
	margin-top: 35px !important;
	margin-bottom: 12px !important;
	color: #333 !important;
}

.single-post-body .wp-block-post-content a {
	color: var(--primary-red) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 1px !important;
	transition: color 0.2s ease !important;
}

.single-post-body .wp-block-post-content a:hover {
	color: #c1121b !important;
}

.single-post-body .wp-block-post-content blockquote {
	border-left: 4px solid var(--primary-red) !important;
	padding: 20px 28px !important;
	margin: 35px 0 !important;
	background: #fdf2f2 !important;
	border-radius: 0 14px 14px 0 !important;
	font-style: italic !important;
	color: #444 !important;
	line-height: 1.7 !important;
}

.single-post-body .wp-block-post-content ul,
.single-post-body .wp-block-post-content ol {
	padding-left: 24px !important;
	margin-bottom: 1.5em !important;
}

.single-post-body .wp-block-post-content li {
	margin-bottom: 8px !important;
	line-height: 1.7 !important;
}

.single-post-body .wp-block-post-content li strong {
	color: #111 !important;
}

.single-post-body .wp-block-post-content img {
	border-radius: 12px !important;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.single-post-body .wp-block-post-content figure {
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

.single-post-body .wp-block-post-content figcaption {
	font-size: 13px !important;
	color: #999 !important;
	text-align: center !important;
	margin-top: 10px !important;
}

/* --- Tags --- */
.single-post-tag-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

.single-post-tag-list a {
	background: #f5f5f5 !important;
	color: #555 !important;
	padding: 6px 16px !important;
	border-radius: 30px !important;
	text-decoration: none !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	transition: all 0.3s ease !important;
	border: 1px solid #eee !important;
}

.single-post-tag-list a:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
	border-color: var(--primary-red) !important;
}

/* --- Post Navigation --- */
.single-post-nav-area {
	background: #f8f8fa !important;
	border-top: 1px solid #eee !important;
	border-bottom: 1px solid #eee !important;
}

.single-post-nav {
	width: 100% !important;
}

.single-post-nav a {
	color: var(--text-dark) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.single-post-nav a:hover {
	color: var(--primary-red) !important;
}

.single-nav-prev,
.single-nav-next {
	max-width: 45% !important;
}

/* --- Comments --- */
.single-post-comments-area {
	border-top: 1px solid #eee;
}

.single-post-comments-area .comment-reply-link {
	color: var(--primary-red) !important;
	text-decoration: none !important;
	font-weight: 700 !important;
}

.single-post-comments-area .comment-reply-link:hover {
	text-decoration: underline !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.single-post-hero {
		padding: 45px 15px 40px !important;
	}

	.single-post-title {
		font-size: 30px !important;
	}

	.single-post-body .wp-block-post-content h2 {
		font-size: 24px !important;
		margin-top: 40px !important;
	}

	.single-post-body .wp-block-post-content h3 {
		font-size: 20px !important;
	}
}

@media (max-width: 480px) {
	.single-post-title {
		font-size: 26px !important;
	}

	.single-post-body .wp-block-post-content {
		font-size: 16px !important;
	}
}

/* Fix: Prevent magazin grid from bleeding into wp-block-post defaults */
.magazin-page .wp-block-post {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	min-width: 0 !important;
	width: auto !important;
}

/* Featured card MUST be full-width — ultra-high specificity override */
ul.wp-block-post-template.magazin-featured-list,
.magazin-featured-query ul.wp-block-post-template,
ul.magazin-featured-list.wp-block-post-template {
	display: block !important;
	grid-template-columns: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	gap: 0 !important;
	padding: 0 !important;
}

.magazin-featured-list>li,
.magazin-featured-list>li.wp-block-post,
.magazin-featured-query .wp-block-post {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	border-radius: 0 !important;
}

/* Post grid items need clean slate */
ul.wp-block-post-template.magazin-post-grid,
.magazin-grid-query ul.wp-block-post-template {
	grid-template-columns: repeat(3, 1fr) !important;
	max-width: 100% !important;
	margin: 0 !important;
	gap: 30px !important;
	display: grid !important;
}

.magazin-post-grid>li,
.magazin-post-grid>li.wp-block-post {
	min-width: 0 !important;
	width: auto !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	border-radius: 0 !important;
}

/* ================================================================
   VISIBILITY OVERRIDES
   ================================================================ */
/* Only show the Trust/Features Bar on the Main Homepage */
.ascotech-features-bar {
	display: none !important;
}

body.home .ascotech-features-bar {
	display: flex !important;
}

/* ================================================================
   GLOBAL LAYOUT CONSTRAINTS & FIXES
   ================================================================ */
/* 1. Header Constraints */
/* 1. Header Constraints */
.ascotech-header-main {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 25px 20px !important;
	box-sizing: border-box !important;
}

/* 2. Main Content Constraints
   Forces all page content to align with the 1400px magazin layout,
   even if database templates have full-width settings. */
body:not(.wp-admin) .wp-site-blocks>main {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	box-sizing: border-box !important;
}

.wp-block-post-content {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Allow intended full-width elements to break out safely */
.wp-site-blocks>main>.alignfull,
.wp-block-post-content>.alignfull {
	max-width: 100vw !important;
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

footer.alignfull,
footer.wp-block-template-part {
	background-color: #f0f0f0;
	max-width: 100vw !important;
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Force footer columns to stretch and spread evenly */
footer .wp-block-columns {
	width: 100% !important;
	max-width: 1400px !important;
	justify-content: space-between !important;
}

footer .wp-block-column {
	flex-grow: 1 !important;
	flex-basis: 0 !important;
}

/* Footer List Styling */
.ascotech-footer-list {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 !important;
}

.ascotech-footer-list li {
	margin-bottom: 8px !important;
}

.ascotech-footer-list a {
	color: #555 !important;
	text-decoration: none !important;
	font-size: 14px !important;
	transition: color 0.2s ease !important;
}

.ascotech-footer-list a:hover {
	color: #ea1b25 !important;
}

/* ================================================================
   SINGLE PRODUCT PAGE STYLING
   ================================================================ */

/* 1. Breadcrumbs - simple text trail */
.ascotech-breadcrumb-row {
	padding: 15px 0 !important;
	font-size: 14px !important;
	color: #666 !important;
	margin-bottom: 30px !important;
}

.ascotech-breadcrumb-row .woocommerce-breadcrumb {
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 14px !important;
	color: #666 !important;
	font-weight: 500 !important;
}

.ascotech-breadcrumb-row .woocommerce-breadcrumb a {
	color: #333 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.ascotech-breadcrumb-row .woocommerce-breadcrumb a:hover {
	color: #ea1b25 !important;
	text-decoration: underline !important;
}

/* Product cats area in summary */
.ascotech-product-cats .woocommerce-breadcrumb {
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 12px !important;
	color: #999 !important;
}

.ascotech-product-cats .woocommerce-breadcrumb a {
	color: #999 !important;
	text-decoration: none !important;
}

.ascotech-product-cats .woocommerce-breadcrumb a:hover {
	color: #ea1b25 !important;
}

/* Product title */
.single-product .product_title,
.single-product .wp-block-post-title {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #222 !important;
	line-height: 1.3 !important;
}

/* Product image gallery */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex !important;
	gap: 8px !important;
	margin-top: 10px !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover {
	border-color: #ccc;
}

/* Sale badge */
.single-product .onsale {
	background: #ea1b25 !important;
	color: #fff !important;
	font-weight: 700 !important;
	border-radius: 50% !important;
	z-index: 5;
}

/* Price styling */
.single-product .price {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #ea1b25 !important;
}

.single-product .price del {
	color: #aaa !important;
	font-size: 16px !important;
	font-weight: 400 !important;
}

.single-product .price ins {
	text-decoration: none !important;
}

/* 2. Trust Section */
.ascotech-trust-section {
	margin-bottom: 25px;
	overflow: hidden;
	padding: 15px;
	background: #fafafa;
	border-radius: 6px;
	border: 1px solid #f0f0f0;
}

.ascotech-trust-badges-float {
	float: right;
	margin-left: 15px;
	margin-bottom: 5px;
}

.ascotech-trust-badges-float img {
	display: block;
	margin-bottom: 5px;
	width: 110px;
	height: auto;
	border-radius: 4px;
}

.ascotech-trust-item {
	font-size: 13px !important;
	line-height: 2.2 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #444 !important;
}

/* 3. Add to Cart */
.single-product form.cart {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin-bottom: 15px !important;
}

.single-product .quantity input.qty {
	border: 2px solid #eee !important;
	border-radius: 6px !important;
	padding: 13px !important;
	width: 65px !important;
	text-align: center !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #333 !important;
	transition: border-color 0.2s ease;
}

.single-product .quantity input.qty:focus {
	border-color: #ea1b25 !important;
	outline: none !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce button.button.single_add_to_cart_button,
.woocommerce-page button.button.single_add_to_cart_button,
.single_add_to_cart_button,
.single-product .single_add_to_cart_button {
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #fff !important;
	padding: 16px 35px !important;
	border-radius: 6px !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	flex-grow: 1;
	box-shadow: 0 8px 20px rgba(234, 27, 37, 0.15) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce button.button.single_add_to_cart_button:hover,
.woocommerce-page button.button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button:hover {
	background: #222 !important;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18) !important;
	transform: translateY(-2px) !important;
	color: #fff !important;
}

/* 4. Product Tabs */
.woocommerce-tabs {
	margin-top: 50px !important;
	padding-top: 10px;
}

.woocommerce-tabs ul.tabs {
	border-bottom: 1px solid #eee !important;
	margin-bottom: 40px !important;
	padding: 0 !important;
	display: flex !important;
	justify-content: center !important;
	gap: 25px !important;
	list-style: none !important;
	background: none !important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.woocommerce-tabs ul.tabs li {
	background: none !important;
	border: none !important;
	border-bottom: 4px solid transparent !important;
	padding: 10px 5px !important;
	margin: 0 !important;
	box-shadow: none !important;
	transition: all 0.3s ease;
	border-radius: 0 !important;
}

.woocommerce-tabs ul.tabs li:hover {
	background-color: transparent !important;
}

.woocommerce-tabs ul.tabs li a {
	color: #999 !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	text-decoration: none !important;
	padding: 0 !important;
	white-space: nowrap;
	letter-spacing: -0.3px;
	transition: color 0.3s ease;
}

.woocommerce-tabs ul.tabs li:hover a {
	color: #666 !important;
}

.woocommerce-tabs ul.tabs li.active {
	border-bottom-color: #ea1b25 !important;
}

.woocommerce-tabs ul.tabs li.active a {
	color: #111 !important;
	font-weight: 700 !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
	padding: 25px 0 !important;
	line-height: 1.8;
	color: #444;
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 18px !important;
	color: #222 !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel p {
	color: #555;
	font-size: 14px;
	line-height: 1.8;
}

/* 4b. Reviews / Ratings Section */
#tab-reviews {
	background: #f7f7f7 !important;
	border-radius: 12px !important;
	padding: 35px 40px !important;
}

/* Reviews title */
#tab-reviews .woocommerce-Reviews-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #222 !important;
	margin-bottom: 20px !important;
}

/* No-reviews notice — red banner */
#tab-reviews .woocommerce-noreviews {
	background: #ea1b25 !important;
	color: #fff !important;
	padding: 14px 22px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	margin-top: 25px !important;
	border-left: 5px solid #c1121b !important;
}

/* Review form title */
#tab-reviews .comment-reply-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #333 !important;
	display: block !important;
	margin-bottom: 20px !important;
}

/* Form labels */
#tab-reviews .comment-form label {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #333 !important;
	display: block !important;
	margin-bottom: 6px !important;
}

/* Form inputs & textarea */
#tab-reviews .comment-form input[type="text"],
#tab-reviews .comment-form input[type="email"],
#tab-reviews .comment-form textarea {
	width: 100% !important;
	border: 1.5px solid #ddd !important;
	border-radius: 8px !important;
	padding: 12px 15px !important;
	font-size: 14px !important;
	color: #333 !important;
	background: #fff !important;
	transition: border-color 0.2s ease !important;
	box-sizing: border-box !important;
}

#tab-reviews .comment-form input[type="text"]:focus,
#tab-reviews .comment-form input[type="email"]:focus,
#tab-reviews .comment-form textarea:focus {
	border-color: #ea1b25 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(234, 27, 37, 0.08) !important;
}

#tab-reviews .comment-form textarea {
	min-height: 120px !important;
	resize: vertical !important;
}

/* Form field spacing */
#tab-reviews .comment-form p {
	margin-bottom: 18px !important;
}

/* Star rating selector */
#tab-reviews .comment-form-rating {
	margin-bottom: 20px !important;
}

#tab-reviews .comment-form-rating .stars a {
	color: #ffc107 !important;
	text-decoration: none !important;
}

/* Submit button — red rounded CTA */
#tab-reviews .form-submit input[type="submit"],
#tab-reviews .form-submit .submit {
	background-color: #ea1b25 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 25px !important;
	padding: 12px 35px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	letter-spacing: 0.3px !important;
}

#tab-reviews .form-submit input[type="submit"]:hover,
#tab-reviews .form-submit .submit:hover {
	background-color: #c1121b !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.35) !important;
	transform: translateY(-1px) !important;
}

/* Customer Reviews plugin — rating summary graph (if plugin active) */
#tab-reviews .cr-overall-rating-graph,
#tab-reviews .cr-ajax-reviews-summary {
	background: transparent !important;
}

#tab-reviews .cr-overall-rating-graph .cr-bar {
	background: #e0e0e0 !important;
	border-radius: 4px !important;
	overflow: hidden;
}

#tab-reviews .cr-overall-rating-graph .cr-bar .cr-bar-fill {
	background: #ffc107 !important;
}

/* 4c. Additional Information Section */
/* 4c. Tab Content Modernization (Cards) */
#tab-description,
#tab-additional_information,
#tab-produktsicherheit {
	background: #f7f7f7 !important;
	border-radius: 12px !important;
	padding: 35px 40px !important;
}

/* Hide redundant titles inside tabs */
#tab-description h2,
#tab-additional_information h2,
#tab-produktsicherheit h2 {
	display: none !important;
}

#tab-description {
	line-height: 1.8 !important;
	color: #555 !important;
	font-size: 15px !important;
}

#tab-description p {
	margin-bottom: 1.5em !important;
}

#tab-description p:last-child {
	margin-bottom: 0 !important;
}




.shop_attributes {
	width: 100% !important;
	border: none !important;
	margin-bottom: 0 !important;
	border-collapse: collapse !important;
}

.shop_attributes tr {
	border-bottom: 1px solid #eee !important;
	background: none !important;
}

.shop_attributes tr:last-child {
	border-bottom: none !important;
}

.shop_attributes th {
	padding: 14px 0 !important;
	width: 30% !important;
	font-weight: 600 !important;
	color: #333 !important;
	text-align: left !important;
	background: none !important;
	border: none !important;
	font-size: 14px !important;
}

.shop_attributes td {
	padding: 14px 0 !important;
	font-style: normal !important;
	color: #666 !important;
	background: none !important;
	border: none !important;
	font-size: 14px !important;
}

.shop_attributes td p {
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400 !important;
}

@media (max-width: 768px) {

	#tab-description,
	#tab-additional_information {
		padding: 25px 20px !important;
	}

	.shop_attributes th {
		width: 40% !important;
	}
}

/* 5. Express Checkout */
.wcpay-express-checkout-wrapper {
	margin-top: 12px !important;
	border-radius: 6px;
	overflow: hidden;
}

/* 6. Product meta */
.single-product .product_meta {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
	font-size: 13px;
	color: #999;
}

.single-product .product_meta a {
	color: #666;
	text-decoration: none;
}

.single-product .product_meta a:hover {
	color: #ea1b25;
}

/* 7. Wishlist */
.single-product .yith-wcwl-add-to-wishlist a {
	color: #888 !important;
	text-decoration: none !important;
	font-size: 13px !important;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.2s ease;
}

.single-product .yith-wcwl-add-to-wishlist a:hover {
	color: #ea1b25 !important;
}

.single-product .yith-wcwl-add-to-wishlist svg {
	width: 18px;
	height: 18px;
}

/* 8. Related & Upsell */
.single-product .related.products h2,
.single-product .up-sells h2 {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin-bottom: 20px !important;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f0;
}

/* 10. Trust Section */
.ascotech-trust-section {
	margin: 25px 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

.ascotech-trust-item {
	font-size: 14px !important;
	color: #555 !important;
	margin: 0 0 10px 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	line-height: 1.4 !important;
}

.ascotech-trust-badges-float {
	display: flex !important;
	gap: 15px !important;
	margin-top: 20px !important;
	padding-top: 10px !important;
}

.ascotech-trust-badges-float img {
	height: 60px !important;
	width: auto !important;
	filter: grayscale(0.2) contrast(1.1);
	transition: filter 0.3s ease;
}

.ascotech-trust-badges-float img:hover {
	filter: grayscale(0);
}

/* 11. Sale Badge Redesign */
.single-product span.onsale {
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	height: 45px !important;
	width: 45px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	box-shadow: 0 5px 15px rgba(234, 27, 37, 0.4) !important;
	border: 2px solid #fff !important;
	top: 15px !important;
	left: 15px !important;
	padding: 0 !important;
	text-align: center !important;
	z-index: 10 !important;
}

/* 12. Mini Cart Dropdown */
.ascotech-mini-cart-dropdown {
	position: absolute !important;
	top: 100% !important;
	right: 0 !important;
	width: 360px !important;
	background: #fff !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
	border-top: 3px solid var(--primary-red) !important;
	padding: 0 !important;
	/* Remove padding to handle internal scroll better */
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translateY(20px) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 9999 !important;
	pointer-events: none !important;
	border-radius: 0 0 8px 8px !important;
	overflow: hidden !important;
}

.cart-icon:hover .ascotech-mini-cart-dropdown {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
	pointer-events: auto !important;
}

/* Ensure a hover bridge */
.cart-icon::after {
	content: "" !important;
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	width: 100% !important;
	height: 30px !important;
}

/* Mini Cart Content Styling */
.ascotech-mini-cart-dropdown .widget_shopping_cart_content {
	display: flex !important;
	flex-direction: column !important;
}

.ascotech-mini-cart-dropdown .cart_list {
	list-style: none !important;
	padding: 20px !important;
	margin: 0 !important;
	max-height: 400px !important;
	overflow-y: auto !important;
}

/* Custom Scrollbar */
.ascotech-mini-cart-dropdown .cart_list::-webkit-scrollbar {
	width: 5px !important;
}

.ascotech-mini-cart-dropdown .cart_list::-webkit-scrollbar-track {
	background: #f1f1f1 !important;
}

.ascotech-mini-cart-dropdown .cart_list::-webkit-scrollbar-thumb {
	background: #ccc !important;
	border-radius: 10px !important;
}

.ascotech-mini-cart-dropdown .cart_list::-webkit-scrollbar-thumb:hover {
	background: #999 !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item {
	display: block !important;
	padding: 15px 20px !important;
	border-bottom: 1px solid #f0f0f0 !important;
	position: relative !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item:last-child {
	border-bottom: none !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item a:not(.remove) {
	display: flex !important;
	gap: 15px !important;
	align-items: center !important;
	font-weight: 700 !important;
	color: #222 !important;
	text-decoration: none !important;
	font-size: 14px !important;
	line-height: 1.3 !important;
	padding-right: 25px !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item img {
	width: 50px !important;
	height: 50px !important;
	object-fit: contain !important;
	border-radius: 4px !important;
	background: #fff !important;
	flex-shrink: 0 !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item .quantity {
	display: block !important;
	font-size: 13px !important;
	color: #777 !important;
	margin-top: 5px !important;
	margin-left: 65px !important;
}

/* Fix for variations like Sprache: Deutsch on one line */
.ascotech-mini-cart-dropdown .variation {
	display: block !important;
	margin: 5px 0 0 65px !important;
	padding: 0 !important;
	line-height: 1.4 !important;
}

.ascotech-mini-cart-dropdown .variation dt,
.ascotech-mini-cart-dropdown .variation dd,
.ascotech-mini-cart-dropdown .variation p {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
	color: #777 !important;
}

.ascotech-mini-cart-dropdown .variation dt {
	font-weight: 700 !important;
}

.ascotech-mini-cart-dropdown .variation dd {
	margin-right: 10px !important;
}

.ascotech-mini-cart-dropdown .variation dt::after {
	content: " " !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item a.remove {
	position: absolute !important;
	top: 15px !important;
	right: 15px !important;
	color: #ccc !important;
	font-size: 18px !important;
	text-decoration: none !important;
	line-height: 1 !important;
	transition: color 0.2s ease !important;
}

.ascotech-mini-cart-dropdown .mini_cart_item a.remove:hover {
	color: var(--primary-red) !important;
}


.ascotech-mini-cart-dropdown .total {
	margin: 0 !important;
	padding: 20px !important;
	background: #fafafa !important;
	border-top: 1px solid #eee !important;
	display: flex !important;
	justify-content: space-between !important;
	font-weight: 800 !important;
	color: #222 !important;
	font-size: 16px !important;
}

.ascotech-mini-cart-dropdown .buttons {
	display: flex !important;
	gap: 10px !important;
	padding: 0 20px 20px !important;
	background: #fafafa !important;
}

.ascotech-mini-cart-dropdown .buttons a {
	flex: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 14px 10px !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	transition: all 0.2s ease !important;
	line-height: 1 !important;
}

.ascotech-mini-cart-dropdown .buttons a.wc-forward:not(.checkout) {
	background: #fff !important;
	color: #333 !important;
	border: 1px solid #ddd !important;
}

.ascotech-mini-cart-dropdown .buttons a.checkout {
	background: var(--primary-red) !important;
	color: #fff !important;
}

.ascotech-mini-cart-dropdown .buttons a:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* 13. Cart Page Styling */
.woocommerce-cart .woocommerce {
	padding: 80px 20px;
	max-width: 1400px !important;
	margin: 0 auto !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 60px !important;
	align-items: flex-start !important;
}

/* Premium WooCommerce Notices - Clean & Integrated */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	background: #fff !important;
	border: 1px solid #f0f0f0 !important;
	border-left: 5px solid var(--primary-red) !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05) !important;
	border-radius: 12px !important;
	padding: 25px 35px !important;
	margin-bottom: 50px !important;
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	font-weight: 700 !important;
	color: #222 !important;
	font-size: 15px !important;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
	font-family: "WooCommerce" !important;
	font-size: 20px !important;
	color: var(--primary-red) !important;
}

.woocommerce-cart-form {
	flex: 1 !important;
	min-width: 600px !important;
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	box-shadow: var(--shadow-premium) !important;
	overflow: hidden;
	transition: all 0.3s ease !important;
}

.woocommerce-cart-form:hover {
	border-color: rgba(234, 27, 37, 0.1) !important;
	box-shadow: var(--shadow-card-hover) !important;
}

.woocommerce-cart-form table.shop_table {
	border: none !important;
	border-collapse: collapse !important;
	width: 100% !important;
	margin: 0 !important;
	table-layout: fixed !important;
}

.woocommerce-cart-form table.shop_table thead {
	background: #ffffff !important;
}

.woocommerce-cart-form table.shop_table th {
	padding: 16px 20px !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	text-transform: uppercase !important;
	font-size: 10px !important;
	letter-spacing: 1px !important;
	border-bottom: 1px solid var(--border-light) !important;
}

.woocommerce-cart-form table.shop_table td {
	padding: 20px !important;
	border-bottom: 1px solid var(--border-light) !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	color: var(--text-main) !important;
	vertical-align: middle !important;
}

/* Show Zwischensumme column */
.woocommerce-cart-form .product-subtotal {
	display: table-cell !important;
}

.woocommerce-cart-form th.product-name {
	width: 50% !important;
}

.woocommerce-cart-form .product-remove {
	width: 60px !important;
	padding-right: 0 !important;
}

.woocommerce-cart-form .product-thumbnail {
	width: 130px !important;
	padding-left: 10px !important;
}

.woocommerce-cart-form .cart_item:hover {
	background: #fffafa !important;
}

/* Product Info */
.woocommerce-cart-form .product-thumbnail img {
	width: 110px !important;
	height: auto !important;
	border-radius: var(--radius-sm) !important;
	background: #ffffff !important;
	box-shadow: var(--shadow-sm) !important;
}

.woocommerce-cart-form .product-name a {
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	color: var(--text-dark) !important;
	text-decoration: none !important;
	font-size: 16px !important;
	display: block !important;
	margin-bottom: 5px !important;
	transition: color 0.2s ease !important;
}

.woocommerce-cart-form .product-name a:hover {
	color: var(--accent-red) !important;
}

/* Fix for variations in main cart table */
.woocommerce-cart-form .product-name .variation {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
}

.woocommerce-cart-form .product-name .variation dt,
.woocommerce-cart-form .product-name .variation dd {
	font-family: var(--font-family-premium) !important;
	font-size: 12px !important;
	color: var(--text-muted) !important;
	margin: 0 !important;
}

.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	color: var(--text-dark) !important;
}

.woocommerce-cart-form .product-subtotal {
	color: var(--accent-red) !important;
}

/* Quantity Input - Modern & Tactile */
.woocommerce-cart-form .quantity {
	display: inline-flex !important;
	background: #f8fafc !important;
	border-radius: var(--radius-sm) !important;
	padding: 2px !important;
	border: 1px solid #cbd5e1 !important;
}

.woocommerce-cart-form .quantity input {
	width: 50px !important;
	height: 36px !important;
	border: none !important;
	background: transparent !important;
	text-align: center !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	color: var(--text-dark) !important;
	font-family: var(--font-family-premium) !important;
}

/* Actions & Coupon Area Refinement */
.woocommerce-cart-form .actions {
	background: var(--card-bg) !important;
	padding: 30px 40px !important;
	border-top: 1px solid var(--border-light) !important;
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 20px !important;
}

.woocommerce-cart-form .coupon {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}

.woocommerce-cart-form .coupon label {
	display: none !important;
}

.woocommerce-cart-form .coupon input#coupon_code {
	font-family: var(--font-family-premium) !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 18px !important;
	font-size: 14px !important;
	outline: none !important;
	color: var(--text-dark) !important;
	background: #ffffff !important;
	transition: all 0.3s ease !important;
	height: 50px !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
	box-sizing: border-box !important;
}

.woocommerce-cart-form .coupon input#coupon_code:focus {
	border-color: var(--accent-red) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(234, 27, 37, 0.08), inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

.woocommerce button.button {
	background: #ffffff !important;
	color: var(--text-dark) !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
	padding: 14px 24px !important;
	border-radius: var(--radius-sm) !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: var(--shadow-sm) !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: auto !important;
	line-height: 1.2 !important;
}

.woocommerce button.button:hover {
	background: var(--text-dark) !important;
	color: #ffffff !important;
	border-color: var(--text-dark) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
}

.woocommerce button.button[name="update_cart"] {
	background: var(--accent-red) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.15) !important;
}

.woocommerce button.button[name="update_cart"]:hover {
	background: var(--text-dark) !important;
	color: #ffffff !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15) !important;
}

/* Disabled States for Buttons */
.woocommerce button.button:disabled,
.woocommerce button.button[disabled],
.woocommerce button.button:disabled:hover {
	background: #f8fafc !important;
	color: var(--text-muted-light) !important;
	border: 1px solid var(--border-light) !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
	transform: none !important;
	opacity: 1 !important;
}

/* Primary Action Button (Checkout) */
.woocommerce a.checkout-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px !important;
	padding: 18px 30px !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	margin-top: 25px !important;
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #fff !important;
	border-radius: var(--radius-md) !important;
	box-shadow: 0 8px 25px rgba(234, 27, 37, 0.2) !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	font-family: var(--font-family-premium) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce a.checkout-button::after {
	content: "🔒" !important;
	font-size: 16px !important;
}

.woocommerce a.checkout-button:hover {
	background: #111111 !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
	transform: translateY(-2px) !important;
}

/* Trust Badges in Sidebar */
.cart-sidebar-trust {
	margin-top: 30px !important;
	padding-top: 30px !important;
	border-top: 1px solid var(--border-light) !important;
	text-align: center !important;
}

.cart-sidebar-trust p {
	font-family: var(--font-family-premium) !important;
	font-size: 11px !important;
	color: var(--text-muted) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	margin-bottom: 15px !important;
}

.cart-sidebar-trust img {
	max-width: 100% !important;
	height: auto !important;
	opacity: 0.8 !important;
	filter: grayscale(100%) !important;
	transition: all 0.3s ease !important;
}

.cart-sidebar-trust img:hover {
	opacity: 1 !important;
	filter: grayscale(0%) !important;
}

/* Cart Totals Section - Moved to Sidebar */
.cart-collaterals {
	flex: 0 0 320px !important;
	margin-top: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.cart_totals {
	order: -1 !important;
	width: 100% !important;
	background: var(--card-bg) !important;
	padding: 40px !important;
	border-radius: var(--radius-lg) !important;
	border: 1px solid var(--border-light) !important;
	box-shadow: var(--shadow-premium) !important;
	transition: all 0.3s ease !important;
}

.cart_totals:hover {
	border-color: rgba(234, 27, 37, 0.1) !important;
	box-shadow: var(--shadow-card-hover) !important;
}

.cart_totals h2 {
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	color: var(--text-dark) !important;
	margin-top: 0 !important;
	margin-bottom: 25px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid var(--border-light) !important;
	position: relative !important;
	text-transform: uppercase !important;
	font-size: 14px !important;
	letter-spacing: 0.8px !important;
}

.cart_totals h2::after {
	content: "" !important;
	position: absolute !important;
	bottom: -1px !important;
	left: 0 !important;
	width: 40px !important;
	height: 3px !important;
	background: var(--accent-red) !important;
	border-radius: 2px !important;
}

.cart_totals table {
	width: 100% !important;
	border-collapse: collapse !important;
}

.cart_totals table th {
	width: 40% !important;
	padding: 10px 12px !important;
	font-weight: 700 !important;
	color: #999 !important;
	text-transform: uppercase !important;
	font-size: 10px !important;
	letter-spacing: 1.2px !important;
	border-bottom: 1px solid #f8f8f8 !important;
	vertical-align: top !important;
}

.cart_totals td {
	padding: 10px 12px !important;
	text-align: right !important;
	border-bottom: 1px solid #f8f8f8 !important;
	font-weight: 700 !important;
	color: #222 !important;
	font-size: 15px !important;
}

/* Premium Shipping Card UI */
.woocommerce-shipping-methods {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-shipping-methods li {
	margin-bottom: 8px !important;
	padding: 12px 15px !important;
	border: 1px solid #eee !important;
	border-radius: 12px !important;
	background: #fff !important;
	transition: all 0.2s ease !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	cursor: pointer !important;
	font-size: 13px !important;
	color: #333 !important;
	text-align: left !important;
}

.woocommerce-shipping-methods li:hover {
	border-color: #ccc !important;
	background: #f9f9f9 !important;
}

.woocommerce-shipping-methods li:has(input:checked) {
	border-color: var(--primary-red) !important;
	background: #fffafa !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.05) !important;
}

.woocommerce-shipping-methods li label {
	margin: 0 !important;
	cursor: pointer !important;
	flex: 1 !important;
	font-weight: 600 !important;
}

.woocommerce-shipping-methods li input {
	margin: 0 !important;
	accent-color: var(--primary-red) !important;
	width: 18px !important;
	height: 18px !important;
	cursor: pointer !important;
}

.woocommerce-shipping-destination {
	font-size: 11px !important;
	color: #888 !important;
	margin-top: 15px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	text-align: right !important;
}

.shipping-calculator-button {
	color: var(--primary-red) !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin-top: 10px !important;
	padding: 8px 14px !important;
	background: #fffafa !important;
	border-radius: 8px !important;
	transition: all 0.2s ease !important;
}

.shipping-calculator-button:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
}

.shipping-calculator-button::after {
	content: "\f469" !important;
	/* Truck icon if available, or just a chevron */
	font-family: "WooCommerce" !important;
	font-size: 14px !important;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
	padding: 15px 12px !important;
	border-bottom: none !important;
}

.cart_totals .order-total .amount {
	font-size: 26px !important;
	font-weight: 900 !important;
	color: var(--primary-red) !important;
	letter-spacing: -1px !important;
}

.cart_totals .includes_tax {
	font-size: 11px !important;
	color: #999 !important;
	font-weight: 600 !important;
	display: block !important;
	margin-top: 2px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.cart_totals .includes_tax .amount {
	font-size: 11px !important;
	color: #777 !important;
	font-weight: 700 !important;
}

/* Remove Link - Custom Trash Icon */
.woocommerce-cart-form .product-remove a {
	display: block !important;
	width: 36px !important;
	height: 36px !important;
	line-height: 34px !important;
	text-align: center !important;
	border-radius: 50% !important;
	background: #fff !important;
	border: 1px solid #eee !important;
	color: #ccc !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	font-size: 0 !important;
	/* Hide the X */
}

.woocommerce-cart-form .product-remove a::before {
	content: "\e013" !important;
	font-family: "WooCommerce" !important;
	font-size: 14px !important;
	font-weight: 400 !important;
}

.woocommerce-cart-form .product-remove a:hover {
	background: #fffafa !important;
	border-color: var(--primary-red) !important;
	color: var(--primary-red) !important;
	transform: rotate(10deg);
}

/* Cross Sells in Sidebar - High-End Compact List */
.cross-sells {
	width: 100% !important;
	margin-top: 20px !important;
}

.cross-sells h2 {
	font-size: 18px !important;
	font-weight: 800 !important;
	margin-bottom: 25px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: #333 !important;
}

.cross-sells ul.products {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.cross-sells ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 20px !important;
	background: #fff !important;
	padding: 15px !important;
	border-radius: 12px !important;
	border: 1px solid #f0f0f0 !important;
	transition: all 0.3s ease !important;
	position: relative !important;
}

.cross-sells ul.products li.product:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
	border-color: #e0e0e0 !important;
}

.cross-sells ul.products li.product .woocommerce-loop-product__link {
	display: flex !important;
	align-items: center !important;
	gap: 15px !important;
	text-decoration: none !important;
	flex: 1 !important;
}

.cross-sells ul.products li.product img {
	width: 70px !important;
	height: 70px !important;
	object-fit: contain !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
	background: #fff !important;
}

.cross-sells ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #222 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
}

.cross-sells ul.products li.product .price {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	margin: 5px 0 0 0 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--primary-red) !important;
}

.cross-sells ul.products li.product .price del {
	font-size: 12px !important;
	color: #bbb !important;
	font-weight: 400 !important;
}

.cross-sells ul.products li.product .price ins {
	text-decoration: none !important;
}

.cross-sells ul.products li.product .button {
	background: #f9f9f9 !important;
	color: #444 !important;
	border: 1px solid #eee !important;
	padding: 8px 12px !important;
	font-size: 11px !important;
	border-radius: 6px !important;
	margin: 0 !important;
	min-width: 90px !important;
	text-align: center !important;
}

.cross-sells ul.products li.product .button:hover {
	background: var(--primary-red) !important;
	color: #fff !important;
	border-color: var(--primary-red) !important;
}

/* Percentage Badge in Cross Sells - Matching Product Detail Style */
.cross-sells .onsale {
	position: absolute !important;
	top: -10px !important;
	left: -10px !important;
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	height: 40px !important;
	width: 40px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	box-shadow: 0 5px 15px rgba(234, 27, 37, 0.4) !important;
	border: 2px solid #fff !important;
	z-index: 10 !important;
	padding: 0 !important;
	text-align: center !important;
	min-height: auto !important;
	min-width: auto !important;
	line-height: 1 !important;
}

.cross-sells .star-rating {
	display: none !important;
}

/* Empty Cart Styling */
.cart-empty {
	text-align: center !important;
	padding: 100px 20px !important;
	background: #fff !important;
	border-radius: 16px !important;
	width: 100% !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.cart-empty::before {
	content: "\f174" !important;
	font-family: "WooCommerce" !important;
	font-size: 80px !important;
	color: #eee !important;
	display: block !important;
	margin-bottom: 30px !important;
}

.cart-empty .return-to-shop {
	margin-top: 40px !important;
}

.cart-empty .return-to-shop a.button {
	background: var(--primary-red) !important;
	color: #fff !important;
	padding: 18px 40px !important;
	font-size: 16px !important;
	border-radius: 10px !important;
}

/* 14. Checkout Progress Bar & Trust Bar */
.ascotech-checkout-progress {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 80px !important;
	margin: 0 auto 10px !important;
	max-width: 800px !important;
	position: relative !important;
}

.ascotech-checkout-progress::before {
	content: "" !important;
	position: absolute !important;
	top: 16px !important;
	/* Perfectly centered with circles */
	left: 10% !important;
	right: 10% !important;
	height: 4px !important;
	border-radius: 2px !important;
	background: #e2e8f0 !important;
	z-index: 1 !important;
	transition: background 0.4s ease !important;
}

/* Dynamic progress line fills */
.ascotech-checkout-progress.step-2::before {
	background: linear-gradient(to right, var(--accent-red, #ea1b25) 50%, #e2e8f0 50%) !important;
}

.ascotech-checkout-progress.step-3::before {
	background: var(--accent-red, #ea1b25) !important;
}

.progress-step {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 15px !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	color: #bbb !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	position: relative !important;
	z-index: 2 !important;
	background: transparent !important;
	padding: 0 !important;
}

.progress-step.active {
	color: var(--accent-red, #ea1b25) !important;
}

.progress-step span {
	width: 36px !important;
	height: 36px !important;
	background: var(--steps-bg, #ffffff) !important;
	border: 2px solid #e2e8f0 !important;
	color: #cbd5e1 !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 0 0 4px var(--steps-bg, #ffffff) !important;
	/* Gap between circle and line */
}

.progress-step.active span {
	background: var(--accent-red, #ea1b25) !important;
	border-color: var(--accent-red, #ea1b25) !important;
	color: #fff !important;
	box-shadow: 0 10px 20px rgba(234, 27, 37, 0.2), 0 0 0 6px var(--steps-bg, #ffffff) !important;
	transform: scale(1.1);
}

.progress-step.completed {
	color: #1e293b !important;
}

.progress-step.completed span {
	background: var(--steps-bg, #ffffff) !important;
	border-color: var(--accent-red, #ea1b25) !important;
	color: var(--accent-red, #ea1b25) !important;
	box-shadow: 0 4px 10px rgba(234, 27, 37, 0.08), 0 0 0 4px var(--steps-bg, #ffffff) !important;
}

.progress-step.completed:hover span {
	background: var(--accent-red, #ea1b25) !important;
	color: #fff !important;
	transform: scale(1.05);
	box-shadow: 0 8px 16px rgba(234, 27, 37, 0.15), 0 0 0 6px var(--steps-bg, #ffffff) !important;
}


/* Page Footer Trust Bar Optimization for Cart */
.woocommerce-cart .product-trust-checklist {
	margin: 80px auto 0 !important;
	padding: 60px !important;
	background: #fff !important;
	border-radius: 24px !important;
	border: 1px solid #f0f0f0 !important;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03) !important;
	max-width: 1400px !important;
}

/* 15. Premium Unified E-Commerce Buttons - Fully Optimised */
/* Make block-based recommendation, search, list, and cross-sell buttons look high-end, cohesive, and tactile */
.wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .button,
.wp-block-button__link.wp-element-button,
.cross-sells ul.products li.product .button,
.cross-sells .add_to_cart_button {
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #fff !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
	padding: 14px 28px !important;
	border-radius: 30px !important;
	border: none !important;
	box-shadow: 0 8px 20px rgba(234, 27, 37, 0.15) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	line-height: 1 !important;
	text-decoration: none !important;
	width: auto !important;
	min-width: 140px !important;
	max-width: 100% !important;
	height: auto !important;
	outline: none !important;
}

/* Ensure proper width & alignment on product grids */
.ascotech-product-grid .add_to_cart_button,
.wc-block-grid__product-add-to-cart .button,
.wc-block-components-product-button__button {
	width: 100% !important;
	display: flex !important;
	margin-top: 15px !important;
}

/* Premium Hover Transitions */
.wc-block-components-product-button__button:hover,
.wc-block-grid__product-add-to-cart .button:hover,
.wp-block-button__link.wp-element-button:hover,
.cross-sells ul.products li.product .button:hover,
.cross-sells .add_to_cart_button:hover {
	background: #222 !important;
	color: #fff !important;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18) !important;
	transform: translateY(-2px) !important;
	border: none !important;
}

/* Tactile Active/Press State */
.wc-block-components-product-button__button:active,
.wc-block-grid__product-add-to-cart .button:active,
.wp-block-button__link.wp-element-button:active,
.cross-sells ul.products li.product .button:active,
.cross-sells .add_to_cart_button:active {
	transform: translateY(-1px) !important;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   16. My Account Page (Mein Konto) Styles
   ========================================================================== */

:root {
	--portal-bg: #f8fafc;
	/* Slate 50 background */
	--card-bg: #ffffff;
	--steps-bg: #ffffff;
	--accent-red: #ea1b25;
	/* Brand primary red */
	--accent-hover: #c1121c;
	--accent-light: rgba(234, 27, 37, 0.04);
	--accent-glow: rgba(234, 27, 37, 0.08);
	--text-dark: #0f172a;
	/* Slate 900 */
	--text-main: #334155;
	/* Slate 700 */
	--text-muted: #64748b;
	/* Slate 500 */
	--text-muted-light: #94a3b8;
	/* Slate 400 */
	--border-light: #e2e8f0;
	/* Slate 200 */
	--border-focus: #cbd5e1;
	/* Slate 300 */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
	--shadow-premium: 0 12px 24px -4px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
	--shadow-card-hover: 0 20px 40px -8px rgba(234, 27, 37, 0.06), 0 4px 16px -4px rgba(15, 23, 42, 0.02);
	--radius-lg: 16px;
	--radius-md: 12px;
	--radius-sm: 8px;
	--font-family-premium: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Kill stray br tags injected by WordPress wpautop */
.woocommerce-MyAccount-navigation-link a br,
.ascotech-dashboard-card br,
.ascotech-account-dashboard-cards br,
.woocommerce-MyAccount-content br {
	display: none !important;
}

/* Page Header */
.account-header {
	margin-bottom: 40px !important;
	text-align: left !important;
}

.account-title {
	font-family: var(--font-family-premium) !important;
	font-size: 36px !important;
	font-weight: 900 !important;
	letter-spacing: -1.2px !important;
	color: var(--text-dark) !important;
	margin-top: 0 !important;
	margin-bottom: 8px !important;
	line-height: 1.1 !important;
}

.account-subtitle {
	font-family: var(--font-family-premium) !important;
	font-size: 15px !important;
	color: var(--text-muted) !important;
	margin: 0 !important;
	line-height: 1.6 !important;
	font-weight: 500 !important;
}

/* Center title and add premium details on logged-out view */
.woocommerce-account:not(:has(.woocommerce-MyAccount-navigation)) .account-header {
	text-align: center !important;
	max-width: 600px !important;
	margin: 0 auto 50px !important;
}

.woocommerce-account:not(:has(.woocommerce-MyAccount-navigation)) .account-title::after {
	content: "" !important;
	position: absolute !important;
	bottom: -10px !important;
	left: 25% !important;
	width: 50% !important;
	height: 4px !important;
	background: var(--accent-red) !important;
	border-radius: 2px !important;
	display: none !important;
	/* Hide old generic underline */
}

/* Logged-out view (Login & Registration forms) */
.woocommerce-account .u-columns.col2-set {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
	gap: 32px !important;
	max-width: 1000px !important;
	width: 100% !important;
	margin: 0 auto !important;
	align-items: stretch !important;
}

/* Premium Trust & Benefits Bar below login forms */
.woocommerce-account .u-columns.col2-set::after {
	content: "🔒  100% Sichere SSL-Verschlüsselung   •   ⚡  Sofort-Download nach Kauf   •   📞  24/7 Premium Support" !important;
	grid-column: 1 / -1 !important;
	display: block !important;
	text-align: center !important;
	margin-top: 40px !important;
	padding: 16px 24px !important;
	background: #f8fafc !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-md) !important;
	font-family: var(--font-family-premium) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	letter-spacing: 0.5px !important;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 40px !important;
	box-shadow: var(--shadow-premium) !important;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.woocommerce-account .u-column1:hover,
.woocommerce-account .u-column2:hover {
	transform: translateY(-4px) !important;
	box-shadow: var(--shadow-card-hover) !important;
	border-color: rgba(234, 27, 37, 0.2) !important;
}

.woocommerce-account h2 {
	font-family: var(--font-family-premium) !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	letter-spacing: -0.5px !important;
	margin-top: 0 !important;
	margin-bottom: 24px !important;
	color: var(--text-dark) !important;
	position: relative !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid var(--border-light) !important;
}

.woocommerce-account h2::after {
	content: "" !important;
	position: absolute !important;
	bottom: -1px !important;
	left: 0 !important;
	width: 40px !important;
	height: 3px !important;
	background: var(--accent-red) !important;
	border-radius: 2px !important;
}

/* Forms general styling */
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account form.edit-account,
.woocommerce-account .woocommerce-address-fields {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.woocommerce-account .form-row {
	margin-bottom: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	float: none !important;
}

.woocommerce-account .form-row label {
	font-family: var(--font-family-premium) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	margin-bottom: 8px !important;
	color: var(--text-main) !important;
}

.woocommerce-account .form-row label .required {
	color: var(--accent-red) !important;
	text-decoration: none !important;
}

.woocommerce-account .form-row input.input-text,
.woocommerce-account .form-row select {
	font-family: var(--font-family-premium) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 18px !important;
	font-size: 14px !important;
	outline: none !important;
	color: var(--text-dark) !important;
	background: #fafafa !important;
	transition: all 0.3s ease !important;
	width: 100% !important;
	box-sizing: border-box !important;
	box-shadow: var(--shadow-sm) !important;
}

.woocommerce-account .form-row input.input-text:focus,
.woocommerce-account .form-row select:focus {
	border-color: var(--accent-red) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 4px var(--accent-glow) !important;
}

/* Remember me & lost password inline */
.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex !important;
	align-items: center !important;
	flex-direction: row !important;
	gap: 8px !important;
	margin-bottom: 20px !important;
	cursor: pointer !important;
	font-family: var(--font-family-premium) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--text-muted) !important;
	transition: color 0.3s ease !important;
}

.woocommerce-account .woocommerce-form-login__rememberme:hover {
	color: var(--accent-red) !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	accent-color: var(--accent-red) !important;
	cursor: pointer !important;
}

.woocommerce-account .woocommerce-LostPassword {
	margin-top: 18px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 13px !important;
	text-align: center !important;
}

.woocommerce-account .woocommerce-LostPassword a {
	color: var(--text-muted) !important;
	transition: color 0.3s ease !important;
	font-weight: 500 !important;
	text-decoration: none !important;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
	color: var(--accent-red) !important;
	text-decoration: underline !important;
}

/* Logged-out & General Buttons */
.woocommerce-account button.button,
.woocommerce-account a.button,
.woocommerce-account input.button {
	background: var(--accent-red) !important;
	color: #fff !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
	padding: 14px 28px !important;
	border-radius: var(--radius-sm) !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.15) !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	line-height: 1 !important;
	width: 100% !important;
	text-decoration: none !important;
}

.woocommerce-account button.button:hover,
.woocommerce-account a.button:hover,
.woocommerce-account input.button:hover {
	background: var(--text-dark) !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15) !important;
	transform: translateY(-1px) !important;
}

.woocommerce-account button.button:active,
.woocommerce-account a.button:active,
.woocommerce-account input.button:active {
	transform: translateY(0px) !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1) !important;
}


/* ==========================================
   Logged-in Portal Layout (Dashboard)
   ========================================== */
.woocommerce-account .woocommerce {
	width: 100% !important;
	max-width: 100% !important;
}

.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: flex !important;
	flex-direction: row !important;
	align-items: start !important;
	gap: 32px !important;
	margin-top: 20px !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Sidebar Navigation */
.woocommerce-MyAccount-navigation {
	flex: 0 0 280px !important;
	width: 280px !important;
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 20px 12px !important;
	box-shadow: var(--shadow-premium) !important;
	float: none !important;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

/* Premium Greeting Card at the top of sidebar navigation */
.woocommerce-MyAccount-navigation ul::before {
	content: "Kundenportal" !important;
	display: block !important;
	padding: 12px 16px !important;
	margin-bottom: 12px !important;
	background: #f8fafc !important;
	border-radius: var(--radius-sm) !important;
	border: 1px solid var(--border-light) !important;
	color: var(--text-dark) !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	font-size: 11px !important;
	text-align: center !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
}

.woocommerce-MyAccount-navigation-link a {
	display: flex !important;
	align-items: center !important;
	padding: 10px 16px !important;
	color: var(--text-main) !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	border-radius: var(--radius-sm) !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-decoration: none !important;
	position: relative !important;
	line-height: 1.3 !important;
}

.woocommerce-MyAccount-navigation-link a:hover {
	background: var(--portal-bg) !important;
	color: var(--accent-red) !important;
	transform: translateX(3px) !important;
}

.woocommerce-MyAccount-navigation-link.is-active a {
	background: var(--accent-light) !important;
	color: var(--accent-red) !important;
	font-weight: 700 !important;
}

/* Premium micro-interactive Chevron revealing on hover */
.woocommerce-MyAccount-navigation-link a::after {
	content: "\203A" !important;
	/* Elegant arrow › */
	margin-left: auto !important;
	font-size: 18px !important;
	color: var(--text-muted-light) !important;
	transition: all 0.2s ease !important;
	opacity: 0 !important;
	transform: translateX(-6px) !important;
}

.woocommerce-MyAccount-navigation-link a:hover::after,
.woocommerce-MyAccount-navigation-link.is-active a::after {
	opacity: 1 !important;
	transform: translateX(0) !important;
	color: var(--accent-red) !important;
}

/* Add custom color-reactive outline SVGs via CSS masks for a high-end feel */
.woocommerce-MyAccount-navigation-link a::before {
	content: "" !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	flex-shrink: 0 !important;
	margin-right: 10px !important;
	background-color: currentColor !important;
	-webkit-mask-size: contain !important;
	mask-size: contain !important;
	-webkit-mask-position: center !important;
	mask-position: center !important;
	-webkit-mask-repeat: no-repeat !important;
	mask-repeat: no-repeat !important;
	transition: background-color 0.25s ease !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v4a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v4a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v4a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v4a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--orders a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--payment-methods a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect width='22' height='16' x='1' y='4' rx='2' ry='2'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M1 10h22M5 15h2M11 15h4'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Crect width='22' height='16' x='1' y='4' rx='2' ry='2'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M1 10h22M5 15h2M11 15h4'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E") !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1'/%3E%3C/svg%3E") !important;
}


/* Main content area */
.woocommerce-MyAccount-content {
	flex: 1 !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 40px !important;
	box-shadow: var(--shadow-premium) !important;
	float: none !important;
}

/* Ensure all children span the full container width */
.woocommerce-MyAccount-content>* {
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Dashboard welcome text & greeting banner */
.woocommerce-MyAccount-content p {
	font-family: var(--font-family-premium) !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: var(--text-main) !important;
	margin-top: 0 !important;
	margin-bottom: 25px !important;
}

.woocommerce-MyAccount-content p strong {
	color: var(--text-dark) !important;
}

/* Luxury Dashboard Welcome Panel — only on dashboard (has cards) */
.woocommerce-MyAccount-content:has(.ascotech-account-dashboard-cards)>p:first-of-type {
	background-image: radial-gradient(circle at top right, rgba(234, 27, 37, 0.12), transparent 50%), linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: var(--radius-lg) !important;
	padding: 30px !important;
	color: #e2e8f0 !important;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05) !important;
	font-family: var(--font-family-premium) !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	position: relative !important;
	overflow: hidden !important;
	margin-bottom: 35px !important;
	display: block !important;
}

.woocommerce-MyAccount-content:has(.ascotech-account-dashboard-cards)>p:first-of-type strong {
	color: #ffffff !important;
	font-weight: 800 !important;
	font-size: 18px !important;
	display: inline-block !important;
}

/* Sleek Logout button in greeting banner */
.woocommerce-MyAccount-content:has(.ascotech-account-dashboard-cards)>p:first-of-type a[href*="customer-logout"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 6px 14px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 20px !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	text-decoration: none !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	float: right !important;
	margin-top: -3px !important;
}

.woocommerce-MyAccount-content:has(.ascotech-account-dashboard-cards)>p:first-of-type a[href*="customer-logout"]:hover {
	background: var(--accent-red) !important;
	border-color: var(--accent-red) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.2) !important;
}

.woocommerce-MyAccount-content p a:not([href*="customer-logout"]):not(.button) {
	color: var(--accent-red) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent !important;
	transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-content p a:not([href*="customer-logout"]):not(.button):hover {
	border-bottom-color: var(--accent-red) !important;
	opacity: 0.9 !important;
}

/* Quick Action Cards in Dashboard */
.ascotech-account-dashboard-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
	gap: 14px !important;
	margin-top: 24px !important;
	width: 100% !important;
	justify-items: stretch !important;
	align-items: stretch !important;
}

@media (max-width: 550px) {
	.ascotech-account-dashboard-cards {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
}

.ascotech-dashboard-card {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-md) !important;
	padding: 20px 18px !important;
	text-align: left !important;
	background: var(--card-bg) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	text-decoration: none !important;
	box-shadow: var(--shadow-sm) !important;
}

.ascotech-dashboard-card:hover {
	transform: translateY(-3px) !important;
	border-color: rgba(234, 27, 37, 0.2) !important;
	box-shadow: var(--shadow-card-hover) !important;
}

.ascotech-dashboard-card .card-icon-container {
	width: 40px !important;
	height: 40px !important;
	border-radius: var(--radius-sm) !important;
	background: var(--accent-light) !important;
	color: var(--accent-red) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 14px !important;
	transition: all 0.3s ease !important;
}

.ascotech-dashboard-card:hover .card-icon-container {
	background: var(--accent-red) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 10px rgba(234, 27, 37, 0.15) !important;
}

.ascotech-dashboard-card .card-svg-icon {
	width: 20px !important;
	height: 20px !important;
	stroke-width: 1.5 !important;
}

.ascotech-dashboard-card .card-title {
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	margin: 0 0 6px !important;
	color: var(--text-dark) !important;
	display: block !important;
}

.ascotech-dashboard-card .card-desc {
	font-family: var(--font-family-premium) !important;
	font-size: 11px !important;
	color: var(--text-muted) !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	display: block !important;
	font-weight: 500 !important;
}


/* ==========================================
   Order tables, Address blocks, Form adjustments
   ========================================== */

/* Elegant Order Lists & Tables */
.woocommerce-orders-table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	margin: 20px 0 0 !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	overflow: hidden !important;
	box-shadow: var(--shadow-sm) !important;
}

.woocommerce-orders-table thead th {
	background: #f8fafc !important;
	padding: 16px 20px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	color: var(--text-muted) !important;
	text-align: left !important;
	border-bottom: 2px solid var(--border-light) !important;
	border-top: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content table tbody tr th:first-child,
.woocommerce-account .woocommerce-MyAccount-content table tbody tr td:first-child,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders tbody th,
.woocommerce-account .woocommerce-MyAccount-content table.my_account_orders tbody td,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody th,
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number,
.woocommerce-account .woocommerce-MyAccount-content [data-title="Bestellung"],
.woocommerce-orders-table td,
.woocommerce-orders-table tbody th {
	background: #ffffff !important;
	background-color: #ffffff !important;
	padding: 18px 20px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	color: var(--text-main) !important;
	border-bottom: 1px solid var(--border-light) !important;
	vertical-align: middle !important;
	font-weight: 500 !important;
	text-align: left !important;
}

.woocommerce-orders-table tbody th a {
	color: var(--text-dark) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.woocommerce-orders-table tbody th a:hover {
	color: var(--accent-red) !important;
}

.woocommerce-orders-table tr:last-child td,
.woocommerce-orders-table tr:last-child th {
	border-bottom: none !important;
}

.woocommerce-orders-table tr:hover td,
.woocommerce-orders-table tr:hover th {
	background: #fafafa !important;
	background-color: #fafafa !important;
}

.woocommerce-account .woocommerce-orders-table a.button,
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-orders-table td a.button,
.woocommerce-orders-table td .button {
	background: transparent !important;
	color: var(--accent-red) !important;
	border: 1.5px solid rgba(234, 27, 37, 0.25) !important;
	border-radius: 30px !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	letter-spacing: 0.5px !important;
	padding: 8px 18px !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	width: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.woocommerce-account .woocommerce-orders-table a.button:hover,
.woocommerce-account .woocommerce-orders-table .button:hover,
.woocommerce-orders-table td a.button:hover,
.woocommerce-orders-table td .button:hover {
	background: var(--accent-red) !important;
	color: #fff !important;
	border-color: var(--accent-red) !important;
	box-shadow: 0 4px 10px rgba(234, 27, 37, 0.15) !important;
	transform: translateY(-1px) !important;
}

/* Beautiful badges for order status */
.woocommerce-orders-table mark.order-status {
	padding: 6px 12px !important;
	border-radius: 30px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	background: #f1f5f9 !important;
	color: #475569 !important;
	border: 1px solid #e2e8f0 !important;
}

.woocommerce-orders-table mark.order-status::before {
	content: "•" !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

.woocommerce-orders-table mark.order-status.completed {
	background: #f0fdf4 !important;
	color: #166534 !important;
	border-color: #dcfce7 !important;
}

.woocommerce-orders-table mark.order-status.processing {
	background: #fffbeb !important;
	color: #92400e !important;
	border-color: #fef3c7 !important;
}

.woocommerce-orders-table mark.order-status.on-hold {
	background: #eff6ff !important;
	color: #1e40af !important;
	border-color: #dbeafe !important;
}

.woocommerce-orders-table mark.order-status.cancelled,
.woocommerce-orders-table mark.order-status.failed {
	background: #fef2f2 !important;
	color: #991b1b !important;
	border-color: #fee2e2 !important;
}


/* Address blocks */
.woocommerce-Addresses.addresses,
.u-columns.col2-set.addresses,
.woocommerce-MyAccount-content .addresses {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 24px !important;
	margin-top: 25px !important;
	max-width: 100% !important;
	width: 100% !important;
	float: none !important;
}

/* Force explicit grid row and columns for the two address cards to make it 100% bulletproof */
.woocommerce-Addresses.addresses .woocommerce-Address:nth-child(1),
.u-columns.col2-set.addresses .woocommerce-Address:nth-child(1),
.woocommerce-Addresses.addresses .col-1,
.u-columns.col2-set.addresses .col-1,
.woocommerce-MyAccount-content .addresses .woocommerce-Address:nth-child(1),
.woocommerce-MyAccount-content .addresses .col-1 {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

.woocommerce-Addresses.addresses .woocommerce-Address:nth-child(2),
.u-columns.col2-set.addresses .woocommerce-Address:nth-child(2),
.woocommerce-Addresses.addresses .col-2,
.u-columns.col2-set.addresses .col-2,
.woocommerce-MyAccount-content .addresses .woocommerce-Address:nth-child(2),
.woocommerce-MyAccount-content .addresses .col-2 {
	grid-column: 2 !important;
	grid-row: 1 !important;
}

/* Ensure non-card elements (like description paragraphs/headings) inside the grid span the full width */
.woocommerce-Addresses.addresses>*:not(.woocommerce-Address):not(.col-1):not(.col-2),
.u-columns.col2-set.addresses>*:not(.woocommerce-Address):not(.col-1):not(.col-2),
.woocommerce-MyAccount-content .addresses>*:not(.woocommerce-Address):not(.col-1):not(.col-2) {
	grid-column: 1 / -1 !important;
}

/* Ensure two columns down to 768px (overriding the 900px mobile wrap from parent layout) */
@media (max-width: 900px) {

	.woocommerce-Addresses.addresses,
	.u-columns.col2-set.addresses,
	.woocommerce-MyAccount-content .addresses {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

.woocommerce-Addresses.addresses .woocommerce-Address,
.u-columns.col2-set.addresses .woocommerce-Address,
.woocommerce-Addresses.addresses .col-1,
.woocommerce-Addresses.addresses .col-2,
.u-columns.col2-set.addresses .col-1,
.u-columns.col2-set.addresses .col-2,
.woocommerce-MyAccount-content .addresses .woocommerce-Address,
.woocommerce-MyAccount-content .addresses .col-1,
.woocommerce-MyAccount-content .addresses .col-2 {
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 30px !important;
	box-shadow: var(--shadow-sm) !important;
	position: relative !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	box-sizing: border-box !important;
}

@media (max-width: 768px) {

	.woocommerce-Addresses.addresses,
	.u-columns.col2-set.addresses,
	.woocommerce-MyAccount-content .addresses {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.woocommerce-Addresses.addresses .woocommerce-Address:nth-child(1),
	.u-columns.col2-set.addresses .woocommerce-Address:nth-child(1),
	.woocommerce-Addresses.addresses .col-1,
	.u-columns.col2-set.addresses .col-1,
	.woocommerce-MyAccount-content .addresses .woocommerce-Address:nth-child(1),
	.woocommerce-MyAccount-content .addresses .col-1 {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}

	.woocommerce-Addresses.addresses .woocommerce-Address:nth-child(2),
	.u-columns.col2-set.addresses .woocommerce-Address:nth-child(2),
	.woocommerce-Addresses.addresses .col-2,
	.u-columns.col2-set.addresses .col-2,
	.woocommerce-MyAccount-content .addresses .woocommerce-Address:nth-child(2),
	.woocommerce-MyAccount-content .addresses .col-2 {
		grid-column: 1 !important;
		grid-row: 2 !important;
	}
}

.woocommerce-Address:hover {
	border-color: rgba(234, 27, 37, 0.2) !important;
	box-shadow: var(--shadow-premium) !important;
}

.woocommerce-Address-title {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	margin-bottom: 20px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid var(--border-light) !important;
	position: relative !important;
}

.woocommerce-Address-title h3,
.woocommerce-Address-title h2 {
	font-family: var(--font-family-premium) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	margin: 0 !important;
	color: var(--text-dark) !important;
	line-height: 1.2 !important;
	flex: 0 0 auto !important;
	width: auto !important;
	float: none !important;
}

.woocommerce-Address-title p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
}

.woocommerce-Address-title br {
	display: none !important;
}

.woocommerce-Address .edit {
	position: static !important;
	display: inline-block !important;
	color: var(--accent-red) !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.woocommerce-Address .edit:hover {
	color: var(--text-dark) !important;
	text-decoration: underline !important;
}

.woocommerce-Address address,
.woocommerce-customer-details address,
.woocommerce-MyAccount-content address {
	font-family: var(--font-family-premium) !important;
	font-style: normal !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: var(--text-main) !important;
	font-weight: 500 !important;
	display: block !important;
	white-space: normal !important;
}

.woocommerce-Address address br,
.woocommerce-customer-details address br,
.woocommerce-MyAccount-content address br {
	display: block !important;
}

/* Spacing and margins for phone number and email inside address cards */
address p:empty,
.woocommerce-customer-details address p:empty {
	display: none !important;
}

address .woocommerce-customer-details--phone,
address .woocommerce-customer-details--email,
.woocommerce-customer-details address .woocommerce-customer-details--phone,
.woocommerce-customer-details address .woocommerce-customer-details--email {
	margin: 0 !important;
	padding: 0 0 0 24px !important;
	/* Left padding for perfect icon alignment */
	line-height: 1.6 !important;
	position: relative !important;
	display: block !important;
}

address .woocommerce-customer-details--phone::before,
address .woocommerce-customer-details--email::before,
.woocommerce-customer-details address .woocommerce-customer-details--phone::before,
.woocommerce-customer-details address .woocommerce-customer-details--email::before {
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin: 0 !important;
	display: inline-block !important;
	line-height: 1 !important;
}

address .woocommerce-customer-details--phone,
.woocommerce-customer-details address .woocommerce-customer-details--phone {
	margin-top: 12px !important;
	/* Perfect visual separation from street/place */
}

address .woocommerce-customer-details--email,
.woocommerce-customer-details address .woocommerce-customer-details--email {
	margin-top: 6px !important;
	/* Perfect visual separation from phone number */
}



/* Profile details edit form buttons */
.woocommerce-account .woocommerce-MyAccount-content form.edit-account .woocommerce-Button {
	width: auto !important;
	display: inline-flex !important;
	margin-top: 20px !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 30px !important;
	background: var(--accent-red) !important;
	color: #ffffff !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit-account .woocommerce-Button:hover {
	background: var(--text-dark) !important;
}


/* Alerts & Info Messages */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info {
	border-radius: var(--radius-md) !important;
	padding: 18px 24px 18px 50px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	margin-bottom: 30px !important;
	position: relative !important;
	list-style: none !important;
	box-shadow: var(--shadow-sm) !important;
}

.woocommerce-account .woocommerce-message {
	background: #f0fdf4 !important;
	color: #166534 !important;
	border-left: 4px solid #166534 !important;
}

.woocommerce-account .woocommerce-error {
	background: #fef2f2 !important;
	color: #991b1b !important;
	border-left: 4px solid #991b1b !important;
}

.woocommerce-account .woocommerce-info {
	background: #eff6ff !important;
	color: #1e40af !important;
	border-left: 4px solid #1e40af !important;
}

/* WooCommerce Block Notice Banners (payment methods, etc.) */
.woocommerce-MyAccount-content .wc-block-components-notice-banner,
.woocommerce-account .wc-block-components-notice-banner {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 18px 24px !important;
	border-radius: var(--radius-md) !important;
	font-family: var(--font-family-premium) !important;
	background: #eff6ff !important;
	color: #1e40af !important;
	border: none !important;
	border-left: 4px solid #3b82f6 !important;
	box-shadow: var(--shadow-sm) !important;
	margin-bottom: 24px !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

.woocommerce-MyAccount-content .wc-block-components-notice-banner p:empty,
.woocommerce-account .wc-block-components-notice-banner p:empty {
	display: none !important;
}

.woocommerce-MyAccount-content .wc-block-components-notice-banner svg,
.woocommerce-account .wc-block-components-notice-banner svg {
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	fill: currentColor !important;
	color: #3b82f6 !important;
	margin: 0 !important;
}

.woocommerce-MyAccount-content .wc-block-components-notice-banner__content,
.woocommerce-account .wc-block-components-notice-banner__content {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1e40af !important;
	line-height: 1.5 !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
}

.woocommerce-MyAccount-content .wc-block-components-notice-banner__content a.button,
.woocommerce-account .wc-block-components-notice-banner__content a.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--text-dark) !important;
	color: #ffffff !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	padding: 10px 18px !important;
	border-radius: var(--radius-sm) !important;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	border: none !important;
	box-shadow: none !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.woocommerce-MyAccount-content .wc-block-components-notice-banner__content a.button:hover,
.woocommerce-account .wc-block-components-notice-banner__content a.button:hover {
	background: var(--accent-red) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 600px) {

	.woocommerce-MyAccount-content .wc-block-components-notice-banner,
	.woocommerce-account .wc-block-components-notice-banner {
		align-items: flex-start !important;
		padding: 16px 20px !important;
	}

	.woocommerce-MyAccount-content .wc-block-components-notice-banner__content,
	.woocommerce-account .wc-block-components-notice-banner__content {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 14px !important;
	}

	.woocommerce-MyAccount-content .wc-block-components-notice-banner__content a.button,
	.woocommerce-account .wc-block-components-notice-banner__content a.button {
		width: 100% !important;
	}
}

/* Content-area action buttons (auto width, not full-stretch) */
.woocommerce-MyAccount-content p a.button,
.woocommerce-MyAccount-content>a.button {
	width: auto !important;
	display: inline-flex !important;
	padding: 12px 24px !important;
	font-size: 13px !important;
	border-radius: var(--radius-sm) !important;
}

/* ==========================================
   Mobile Adaptability & Responsiveness
   ========================================== */
@media (max-width: 900px) {
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
		flex-direction: column !important;
		gap: 24px !important;
	}

	.woocommerce-MyAccount-navigation {
		width: 100% !important;
		flex: none !important;
		padding: 12px !important;
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 4px !important;
	}

	.woocommerce-MyAccount-navigation ul::before {
		display: none !important;
	}

	.woocommerce-MyAccount-navigation-link a {
		padding: 10px 14px !important;
		font-size: 13px !important;
	}

	.woocommerce-MyAccount-navigation-link a::after {
		display: none !important;
		/* Hide carets on mobile layout */
	}

	.woocommerce-MyAccount-navigation-link a::before {
		margin-right: 6px !important;
	}

	.woocommerce-MyAccount-content {
		width: 100% !important;
		padding: 30px 24px !important;
	}

	.woocommerce-account .u-columns.col2-set {
		grid-template-columns: 1fr !important;
		padding: 0 10px !important;
	}
}

@media (max-width: 600px) {
	.woocommerce-MyAccount-navigation ul {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.woocommerce-MyAccount-navigation-link a {
		justify-content: center !important;
	}

	.woocommerce-orders-table th {
		display: none !important;
	}

	.woocommerce-orders-table td {
		display: block !important;
		text-align: right !important;
		padding: 12px 16px !important;
		border: none !important;
	}

	.woocommerce-orders-table td::before {
		content: attr(data-title) ": " !important;
		font-weight: 700 !important;
		float: left !important;
		color: var(--text-muted) !important;
	}

	.woocommerce-orders-table td:last-child {
		border-bottom: 1px solid var(--border-light) !important;
		text-align: center !important;
		padding-top: 15px !important;
		width: 100% !important;
	}

	.woocommerce-orders-table td:last-child::before {
		display: none !important;
	}
}

/* ==========================================
   Premium Downloads Grid & Card Styles
   ========================================== */

table.woocommerce-MyAccount-downloads {
	display: block !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin-top: 25px !important;
	width: 100% !important;
}

table.woocommerce-MyAccount-downloads thead {
	display: none !important;
	/* Hide traditional table header */
}

table.woocommerce-MyAccount-downloads tbody {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
	gap: 24px !important;
	width: 100% !important;
	padding: 0 !important;
}

table.woocommerce-MyAccount-downloads tbody tr {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 30px !important;
	box-shadow: var(--shadow-sm) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	position: relative !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

table.woocommerce-MyAccount-downloads tbody tr:hover {
	border-color: rgba(234, 27, 37, 0.2) !important;
	box-shadow: var(--shadow-premium) !important;
	transform: translateY(-2px) !important;
}

/* Individual card fields styling */
table.woocommerce-MyAccount-downloads td {
	display: block !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	margin-bottom: 12px !important;
	font-family: var(--font-family-premium) !important;
	text-align: left !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Card title (Product Link) */
table.woocommerce-MyAccount-downloads td.download-product {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: var(--text-dark) !important;
	line-height: 1.3 !important;
	border-bottom: 1px solid var(--border-light) !important;
	padding-bottom: 15px !important;
	margin-bottom: 18px !important;
}

table.woocommerce-MyAccount-downloads td.download-product a {
	color: var(--text-dark) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

table.woocommerce-MyAccount-downloads td.download-product a:hover {
	color: var(--accent-red) !important;
}

/* Metadata fields styling (remaining downloads / expires) */
table.woocommerce-MyAccount-downloads td.download-remaining,
table.woocommerce-MyAccount-downloads td.download-expires {
	font-size: 13px !important;
	color: var(--text-main) !important;
	font-weight: 600 !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	border-bottom: 1px dashed var(--border-light) !important;
	padding-bottom: 8px !important;
	margin-bottom: 8px !important;
}

/* Field labels using standard attributes */
table.woocommerce-MyAccount-downloads td.download-remaining::before,
table.woocommerce-MyAccount-downloads td.download-expires::before {
	content: attr(data-title) !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

/* File download action block */
table.woocommerce-MyAccount-downloads td.download-file {
	margin-top: 15px !important;
	margin-bottom: 0 !important;
	padding-top: 10px !important;
	width: 100% !important;
}

/* Button inside download cell */
table.woocommerce-MyAccount-downloads td.download-file a.button,
table.woocommerce-MyAccount-downloads td.download-file .woocommerce-MyAccount-downloads-button {
	display: inline-flex !important;
	width: 100% !important;
	justify-content: center !important;
	align-items: center !important;
	background: var(--accent-red) !important;
	color: #ffffff !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	padding: 14px 24px !important;
	border-radius: var(--radius-sm) !important;
	border: none !important;
	box-shadow: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
}

table.woocommerce-MyAccount-downloads td.download-file a.button:hover,
table.woocommerce-MyAccount-downloads td.download-file .woocommerce-MyAccount-downloads-button:hover {
	background: var(--text-dark) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.15) !important;
	transform: translateY(-1px) !important;
}

/* Alert box styling for empty state button alignment */
.woocommerce-account .woocommerce-info .woocommerce-Button,
.woocommerce-account .woocommerce-info a.button {
	float: right !important;
	margin-top: -6px !important;
	margin-bottom: -6px !important;
	background: var(--text-dark) !important;
	color: #ffffff !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	padding: 10px 18px !important;
	border-radius: var(--radius-sm) !important;
	border: none !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	text-decoration: none !important;
}

.woocommerce-account .woocommerce-info .woocommerce-Button:hover,
.woocommerce-account .woocommerce-info a.button:hover {
	background: var(--accent-red) !important;
	color: #ffffff !important;
}

@media (max-width: 480px) {
	table.woocommerce-MyAccount-downloads tbody tr {
		padding: 20px !important;
	}

	table.woocommerce-MyAccount-downloads tbody {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
}

/* 13. Header Cart Icon Alignment & Spacing Adjustments */
.cart-icon.ascotech-cart-fragment {
	margin: 0 !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
}

.cart-icon-link {
	height: 100% !important;
	display: inline-flex !important;
	align-items: center !important;
}

.cart-icon-main {
	display: flex !important;
	align-items: center !important;
}

/* ==========================================================================
   17. Premium Checkout & Payment Page Styles
   ========================================================================== */

body.woocommerce-checkout,
body.woocommerce-cart {
	background-color: #ffffff !important;
}

/* Dynamic full-width layout for the promo/coupon banner */
.woocommerce-checkout .woocommerce-info {
	background: #fffbfb !important;
	border: 1px solid #fecaca !important;
	border-left: 4px solid var(--accent-red) !important;
	border-radius: var(--radius-md) !important;
	padding: 16px 20px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	color: #1e293b !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 auto 30px !important;
	max-width: 1400px !important;
	width: 100% !important;
	box-shadow: var(--shadow-sm) !important;
}

.woocommerce-checkout .woocommerce-info::before {
	content: "🏷️" !important;
	font-size: 16px !important;
}

.woocommerce-checkout .woocommerce-info a {
	color: var(--accent-red) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
}

.woocommerce-checkout .woocommerce-info a:hover {
	color: var(--accent-hover) !important;
	text-decoration: underline !important;
}

/* Stacking subcolumns inside #customer_details to prevent squished layouts */
#customer_details {
	display: flex !important;
	flex-direction: column !important;
	gap: 30px !important;
	width: 100% !important;
}

#customer_details .col-1,
#customer_details .col-2 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	float: none !important;
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (min-width: 992px) {
	form.checkout.woocommerce-checkout {
		display: grid !important;
		grid-template-columns: 1fr 480px !important;
		gap: 40px !important;
		align-items: start !important;
		max-width: 1400px !important;
		margin: 0 auto !important;
	}

	#customer_details {
		grid-column: 1 !important;
		grid-row: 1 / 3 !important;
	}

	#order_review_heading {
		grid-column: 2 !important;
		grid-row: 1 !important;
		margin: 0 0 15px 0 !important;
	}

	#order_review {
		grid-column: 2 !important;
		grid-row: 2 !important;
		position: sticky !important;
		top: 40px !important;
		width: 100% !important;
	}
}

/* Card Wrappers for Form Sections */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 40px !important;
	box-shadow: var(--shadow-premium) !important;
	margin-bottom: 0 !important;
	/* Spacing handled by customer_details flex gap */
	transition: all 0.3s ease !important;
}

.woocommerce-billing-fields:hover,
.woocommerce-shipping-fields:hover,
.woocommerce-additional-fields:hover {
	border-color: rgba(234, 27, 37, 0.1) !important;
	box-shadow: var(--shadow-card-hover) !important;
}

/* Premium CSS Grid Layout for Checkout Form Fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 20px 24px !important;
	width: 100% !important;
}

/* Form row elements setup inside grid */
.woocommerce-checkout .form-row {
	margin-bottom: 0 !important;
	/* Handled by grid gap */
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	float: none !important;
	grid-column: span 2 !important;
}

.woocommerce-checkout .form-row label {
	font-family: var(--font-family-premium) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	margin-bottom: 8px !important;
	color: #1e293b !important;
}

.woocommerce-checkout .form-row label .required {
	color: var(--accent-red) !important;
	text-decoration: none !important;
}

/* Premium Form Input Fields Design */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	font-family: var(--font-family-premium) !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 18px !important;
	font-size: 14px !important;
	outline: none !important;
	color: var(--text-dark) !important;
	background: #ffffff !important;
	transition: all 0.3s ease !important;
	width: 100% !important;
	box-sizing: border-box !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
	border-color: var(--accent-red) !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(234, 27, 37, 0.08), inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

/* Half-width Form Rows side-by-side positioning in grid */
.woocommerce-checkout .form-row-first {
	grid-column: span 1 !important;
	width: 100% !important;
	float: none !important;
}

.woocommerce-checkout .form-row-last {
	grid-column: span 1 !important;
	width: 100% !important;
	float: none !important;
}

.woocommerce-checkout .form-row-wide {
	grid-column: span 2 !important;
	width: 100% !important;
}

/* Mobile-responsive stacking of form fields */
@media (max-width: 600px) {

	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper,
	.woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
}

/* Select2 Custom Premium Dropdowns matching white background input fields */
.select2-container--default .select2-selection--single {
	background-color: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: var(--radius-sm) !important;
	height: 50px !important;
	display: flex !important;
	align-items: center !important;
	transition: all 0.3s ease !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 48px !important;
	padding-left: 18px !important;
	padding-right: 40px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	color: var(--text-dark) !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 48px !important;
	right: 15px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
	border-color: var(--accent-red) !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(234, 27, 37, 0.08), inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

/* Headings Styling */
#customer_details h3,
#order_review_heading {
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	color: var(--text-dark) !important;
	margin-top: 0 !important;
	margin-bottom: 25px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid var(--border-light) !important;
	position: relative !important;
	text-transform: uppercase !important;
	font-size: 14px !important;
	letter-spacing: 0.8px !important;
}

#customer_details h3::after,
#order_review_heading::after {
	content: "" !important;
	position: absolute !important;
	bottom: -1px !important;
	left: 0 !important;
	width: 40px !important;
	height: 3px !important;
	background: var(--accent-red) !important;
	border-radius: 2px !important;
}

/* Order Review Box */
#order_review {
	background: var(--card-bg) !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-lg) !important;
	padding: 35px !important;
	box-shadow: var(--shadow-premium) !important;
}

.woocommerce-checkout-review-order-table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-bottom: 25px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--border-light) !important;
	font-family: var(--font-family-premium) !important;
	font-size: 14px !important;
	color: var(--text-main) !important;
	text-align: left !important;
	vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table th {
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	text-transform: uppercase !important;
	font-size: 10px !important;
	letter-spacing: 1px !important;
}

.woocommerce-checkout-review-order-table td.product-name {
	font-weight: 600 !important;
	color: var(--text-dark) !important;
	line-height: 1.4 !important;
}

.woocommerce-checkout-review-order-table td.product-name strong.product-quantity {
	color: var(--text-muted) !important;
	font-weight: 700 !important;
	margin-left: 6px !important;
}

.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout-review-order-table th.product-total {
	text-align: right !important;
	font-weight: 700 !important;
	color: var(--text-dark) !important;
}

/* Custom premium styling for shipping methods list in checkout review */
.woocommerce-checkout-review-order-table ul#shipping_method {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li {
	margin-bottom: 8px !important;
	padding: 10px 12px !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-sm) !important;
	background: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	color: var(--text-main) !important;
	transition: all 0.2s ease !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li:has(input:checked) {
	border-color: var(--accent-red) !important;
	background: #fffafa !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li input[type="radio"] {
	accent-color: var(--accent-red) !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li label {
	font-weight: 600 !important;
	color: var(--text-dark) !important;
	cursor: pointer !important;
	margin: 0 !important;
	font-size: 12px !important;
}

/* Custom Checkbox styles for WooCommerce checkout */
.woocommerce-checkout input[type="checkbox"] {
	accent-color: var(--accent-red) !important;
	width: 16px !important;
	height: 16px !important;
	margin-right: 8px !important;
	vertical-align: middle !important;
	cursor: pointer !important;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
	display: inline-flex !important;
	align-items: center !important;
	cursor: pointer !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	color: var(--text-dark) !important;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
	border-bottom: none !important;
	padding-top: 20px !important;
}

.woocommerce-checkout-review-order-table tr.order-total th {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: var(--text-dark) !important;
	text-transform: uppercase;
}

.woocommerce-checkout-review-order-table tr.order-total td {
	text-align: right !important;
}

.woocommerce-checkout-review-order-table tr.order-total td .amount {
	font-size: 26px !important;
	font-weight: 900 !important;
	color: var(--accent-red) !important;
	letter-spacing: -0.8px !important;
}

/* Payment Methods Accordion */
#payment {
	background: #f8fafc !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-md) !important;
	padding: 20px !important;
	margin-top: 10px !important;
}

#payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

#payment ul.payment_methods li {
	background: #ffffff !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-sm) !important;
	padding: 14px 16px !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
}

#payment ul.payment_methods li:hover {
	border-color: var(--border-focus) !important;
	background: #fffafa !important;
}

#payment ul.payment_methods li:has(input:checked) {
	border-color: var(--accent-red) !important;
	background: #fffafa !important;
	box-shadow: 0 4px 12px rgba(234, 27, 37, 0.04) !important;
}

#payment ul.payment_methods li input[type="radio"] {
	accent-color: var(--accent-red) !important;
	width: 16px !important;
	height: 16px !important;
	margin-right: 10px !important;
	vertical-align: middle !important;
	cursor: pointer !important;
}

#payment ul.payment_methods li label {
	font-family: var(--font-family-premium) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	color: var(--text-dark) !important;
	cursor: pointer !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

#payment ul.payment_methods li img {
	max-height: 22px !important;
	width: auto !important;
	margin-left: 10px !important;
	vertical-align: middle !important;
	display: inline-block !important;
}

#payment ul.payment_methods li div.payment_box {
	background: #f8fafc !important;
	border: 1px solid var(--border-light) !important;
	border-radius: var(--radius-sm) !important;
	padding: 12px 15px !important;
	margin-top: 10px !important;
	font-size: 13px !important;
	color: var(--text-main) !important;
	line-height: 1.5 !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

/* Place Order Button Section */
#payment .place-order {
	padding: 20px 0 0 0 !important;
	margin: 0 !important;
}

#payment #place_order {
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #ffffff !important;
	font-family: var(--font-family-premium) !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	padding: 18px 30px !important;
	border-radius: var(--radius-md) !important;
	border: none !important;
	width: 100% !important;
	box-shadow: 0 8px 25px rgba(234, 27, 37, 0.2) !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
	cursor: pointer !important;
	text-align: center !important;
	display: block !important;
}

#payment #place_order:hover {
	background: #111111 !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
}

#payment #place_order:active {
	transform: translateY(-0.5px) !important;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

#payment .place-order::after {
	content: "🔒 256-Bit SSL Verschlüsselte Sichere Kasse" !important;
	display: block !important;
	text-align: center !important;
	margin-top: 18px !important;
	font-family: var(--font-family-premium) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: var(--text-muted) !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
}

/* ==========================================================================
   MOBILE & TABLET VIEWPORT OPTIMIZATIONS (Antigravity Premium Mobile Fixes)
   ========================================================================== */

/* Prevent horizontal scroll leakage globally on mobile viewports */
html,
body {
	overflow-x: hidden !important;
	width: 100% !important;
}

@media (max-width: 900px) {

	/* 1. Header Main Layout - Premium Asymmetric Grid with Burger Menu */
	.ascotech-header-main {
		flex-wrap: wrap !important;
		padding: 15px 15px !important;
		gap: 15px 10px !important;
		justify-content: space-between !important;
		align-items: center !important;
	}

	/* Sleek modern 3-bar burger button toggle */
	.ascotech-menu-toggle {
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		width: 22px !important;
		height: 16px !important;
		background: transparent !important;
		border: none !important;
		cursor: pointer !important;
		padding: 0 !important;
		z-index: 100000 !important;
		order: 1 !important;
		position: relative !important;
	}

	.ascotech-menu-toggle .burger-line {
		display: block !important;
		width: 100% !important;
		height: 2px !important;
		background-color: #222 !important;
		border-radius: 2px !important;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
		transform-origin: left center !important;
	}

	/* Burger morphs into a modern close "X" when active */
	.ascotech-menu-toggle.active {
		position: fixed !important;
		top: 30px !important;
		left: 24px !important;
	}

	.ascotech-menu-toggle.active .burger-line:nth-child(1) {
		transform: rotate(45deg) translate(1px, -1px) !important;
		background-color: #fff !important;
	}

	.ascotech-menu-toggle.active .burger-line:nth-child(2) {
		width: 0% !important;
		opacity: 0 !important;
	}

	.ascotech-menu-toggle.active .burger-line:nth-child(3) {
		transform: rotate(-45deg) translate(1px, 1px) !important;
		background-color: #fff !important;
	}

	.ascotech-logo-link {
		order: 2 !important;
		flex: 0 0 auto !important;
		margin-left: 10px !important;
	}

	.ascotech-logo-link img {
		max-width: 120px !important;
		height: auto !important;
	}

	/* Top right icon row, aligned neatly */
	.ascotech-header-icons {
		order: 3 !important;
		flex: 0 0 auto !important;
		gap: 14px !important;
		margin-left: auto !important;
	}

	/* Full-width Search Bar wrapped perfectly underneath */
	.ascotech-search-wrapper {
		order: 4 !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
		margin-top: 5px !important;
	}

	/* Slide-out Off-Canvas Drawer Container */
	.ascotech-nav-container {
		position: fixed !important;
		top: 0 !important;
		left: -100% !important;
		width: 320px !important;
		max-width: 85% !important;
		height: 100vh !important;
		background: rgba(18, 18, 18, 0.98) !important;
		backdrop-filter: blur(20px) !important;
		-webkit-backdrop-filter: blur(20px) !important;
		box-shadow: 15px 0 50px rgba(0, 0, 0, 0.5) !important;
		z-index: 99999 !important;
		transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
		padding: 80px 24px 40px 24px !important;
		box-sizing: border-box !important;
		overflow-y: auto !important;
		display: block !important;
	}

	.ascotech-nav-container.active {
		left: 0 !important;
	}

	body.menu-open {
		overflow: hidden !important;
	}

	body.menu-open::before {
		content: "" !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: rgba(0, 0, 0, 0.6) !important;
		backdrop-filter: blur(6px) !important;
		-webkit-backdrop-filter: blur(6px) !important;
		z-index: 99998 !important;
		animation: fadeInOverlay 0.3s ease forwards !important;
	}

	@keyframes fadeInOverlay {
		from {
			opacity: 0;
		}

		to {
			opacity: 1;
		}
	}

	/* Vertical Menu inside Drawer */
	.ascotech-main-menu {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		width: 100% !important;
		overflow-x: visible !important;
		white-space: normal !important;
	}

	.ascotech-main-menu>li {
		width: 100% !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	}

	.ascotech-main-menu>li>a {
		padding: 16px 0 !important;
		color: rgba(255, 255, 255, 0.9) !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: 0.5px !important;
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		background: transparent !important;
		transition: color 0.2s ease !important;
	}

	.ascotech-main-menu>li>a:hover {
		background: transparent !important;
		color: var(--primary-red) !important;
	}

	/* Submenu Accordion Customization on Mobile */
	.has-mega-menu {
		position: relative !important;
	}

	.mega-menu {
		position: static !important;
		display: none !important;
		background: rgba(255, 255, 255, 0.03) !important;
		box-shadow: none !important;
		padding: 15px 15px 25px 15px !important;
		border-top: none !important;
		border-radius: 8px !important;
		margin-top: 5px !important;
		margin-bottom: 15px !important;
		border-left: 2px solid var(--primary-red) !important;
	}

	.has-mega-menu.is-expanded>a {
		color: var(--primary-red) !important;
	}

	.has-mega-menu.is-expanded>a .arrow {
		transform: rotate(180deg) !important;
		color: var(--primary-red) !important;
	}

	.mega-menu-inner {
		display: flex !important;
		flex-direction: column !important;
		gap: 25px !important;
		padding: 0 !important;
	}

	.mega-column h3 {
		font-size: 14px !important;
		color: #fff !important;
		margin: 0 0 12px 0 !important;
		padding-bottom: 6px !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	}

	.mega-column ul {
		padding-left: 5px !important;
	}

	.mega-column ul li {
		margin-bottom: 10px !important;
	}

	.mega-column ul li a {
		color: rgba(255, 255, 255, 0.6) !important;
		font-size: 13px !important;
		display: block !important;
	}

	.mega-column ul li a:hover {
		color: var(--primary-red) !important;
	}

	.mega-image-col {
		display: none !important;
		/* Hide massive images inside accordion */
	}

	.ascotech-search-wrapper .wp-block-search__inside-wrapper {
		border-radius: 20px !important;
		border-width: 1.5px !important;
	}

	.ascotech-search-wrapper input {
		padding: 8px 15px !important;
		font-size: 13px !important;
	}

	.ascotech-search-wrapper button {
		padding: 0 15px !important;
	}

	/* Elegant, distraction-free icon adjustments for mobile screen sizes */
	.cart-total {
		display: none !important;
	}

	.header-icon-link {
		gap: 0 !important;
	}

	.header-icon {
		gap: 0 !important;
		height: 28px !important;
	}

	.icon-svg {
		width: 20px !important;
		height: 20px !important;
	}

	.header-icon .badge {
		top: -8px !important;
		right: -8px !important;
		width: 16px !important;
		height: 16px !important;
		font-size: 8px !important;
	}

	/* 2. Gutenberg Columns Overrides on Mobile (Fix Squeezed Main & Sidebar) */
	.single-product main .wp-block-columns {
		display: flex !important;
		flex-direction: column !important;
		gap: 30px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	.single-product main .wp-block-columns .wp-block-column {
		flex-basis: 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	/* Hide categories menu sidebar on mobile viewports */
	.ascotech-sidebar {
		display: none !important;
	}

	/* 3. Product Gallery Thumbnails wrapping */
	.single-product .woocommerce-product-gallery .flex-control-thumbs {
		flex-wrap: wrap !important;
	}
}

/* Desktop Footer layout centering safeguard */
@media (min-width: 901px) {
	footer .wp-block-columns {
		max-width: 1400px !important;
		margin: 0 auto !important;
		padding: 0 20px !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 768px) {

	/* 4. Footer layout columns spacing and horizontal margins on smaller viewports */
	footer,
	footer .wp-block-group {
		padding-left: 24px !important;
		padding-right: 24px !important;
		box-sizing: border-box !important;
	}

	footer .wp-block-columns {
		flex-direction: column !important;
		gap: 45px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	footer .wp-block-column {
		flex-basis: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.ascotech-footer-list {
		list-style: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.ascotech-footer-list li {
		margin-bottom: 14px !important;
	}

	.ascotech-footer-list li a {
		font-size: 15px !important;
		color: #555 !important;
		display: inline-block !important;
		text-decoration: none !important;
		transition: color 0.2s ease !important;
	}

	.ascotech-footer-list li a:hover {
		color: var(--primary-red) !important;
	}

	/* 4b. Smooth, premium horizontally-scrollable tab headers on mobile viewports */
	.woocommerce-tabs ul.tabs {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
		justify-content: flex-start !important;
		gap: 15px !important;
		padding: 0 10px 8px 10px !important;
		margin-bottom: 25px !important;
		white-space: nowrap !important;
		scrollbar-width: none !important;
	}

	.woocommerce-tabs ul.tabs::-webkit-scrollbar {
		display: none !important;
	}

	.woocommerce-tabs ul.tabs li {
		flex: 0 0 auto !important;
		padding: 6px 2px !important;
	}

	.woocommerce-tabs ul.tabs li a {
		font-size: 14px !important;
	}
}

@media (max-width: 600px) {

	/* 5. Top Bar - Keep on one line but scale down */
	.ascotech-top-bar {
		flex-direction: row !important;
		justify-content: space-between !important;
		font-size: 11px !important;
		padding: 6px 12px !important;
		gap: 8px !important;
	}

	/* 6. Clean up single product title & price spacing */
	.single-product .product_title,
	.single-product .wp-block-post-title {
		font-size: 24px !important;
		margin-bottom: 15px !important;
	}

	.single-product .price {
		font-size: 20px !important;
	}

	/* 7. Float-free, beautifully centered trust badge block on mobile viewports */
	.ascotech-trust-badges-float {
		float: none !important;
		margin: 15px 0 !important;
		display: flex !important;
		justify-content: center !important;
		gap: 15px !important;
	}

	.ascotech-trust-badges-float img {
		display: inline-block !important;
		margin-bottom: 0 !important;
		height: 45px !important;
		width: auto !important;
	}

	.ascotech-trust-item {
		justify-content: center !important;
		font-size: 13px !important;
	}

	/* 8. Make the single add-to-cart form fully responsive */
	.single-product form.cart {
		flex-wrap: wrap !important;
		gap: 10px !important;
	}

	.single-product .quantity input.qty {
		padding: 10px !important;
		height: 48px !important;
		box-sizing: border-box !important;
	}

	.single-product .single_add_to_cart_button {
		padding: 14px 20px !important;
		height: 48px !important;
		font-size: 14px !important;
		box-sizing: border-box !important;
	}
}

/* ==========================================================================
   HOMEPAGE CUSTOM LAYOUT & STYLES (ASCOTECH HOME REDESIGN)
   ========================================================================== */

/* Robust overrides to neutralize WordPress's wpautop paragraph injections in headers */
.header-icon p,
.ascotech-header-icons p {
	margin: 0 !important;
	padding: 0 !important;
	display: inline !important;
}

/* 1. Hero Section */
.ascotech-hero-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, #111116 0%, #1e1e24 100%);
	border-radius: 20px;
	padding: 60px 50px;
	margin: 40px auto;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
	position: relative;
	overflow: hidden;
	gap: 40px;
	box-sizing: border-box;
}

.ascotech-hero-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(234, 27, 37, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.hero-content {
	flex: 1;
	max-width: 600px;
	position: relative;
	z-index: 2;
}

.hero-content h1 {
	font-size: 56px !important;
	font-weight: 900 !important;
	color: #ffffff !important;
	margin: 0 0 10px 0 !important;
	letter-spacing: -2px !important;
	line-height: 1.1 !important;
}

.hero-content h2 {
	font-size: 32px !important;
	font-weight: 700 !important;
	color: var(--primary-red) !important;
	margin: 0 0 15px 0 !important;
	letter-spacing: -0.5px !important;
	text-transform: uppercase !important;
}

.hero-content h3 {
	font-size: 18px !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.7) !important;
	margin: 0 0 35px 0 !important;
	line-height: 1.5 !important;
}

.hero-btn {
	display: inline-block !important;
	background: linear-gradient(135deg, #ea1b25 0%, #c1121c 100%) !important;
	color: #ffffff !important;
	padding: 16px 40px !important;
	border-radius: 30px !important;
	font-weight: 800 !important;
	font-size: 15px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	letter-spacing: 1px !important;
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
	box-shadow: 0 8px 25px rgba(234, 27, 37, 0.4) !important;
}

.hero-btn:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 15px 35px rgba(234, 27, 37, 0.6) !important;
	background: #ffffff !important;
	color: #111116 !important;
}

.hero-products {
	display: flex;
	gap: 25px;
	flex: 1;
	justify-content: flex-end;
	position: relative;
	z-index: 2;
}

.hero-product-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 24px;
	width: 180px;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-sizing: border-box;
}

.hero-product-card:hover {
	transform: translateY(-8px);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(234, 27, 37, 0.3);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-product-card img {
	width: 100% !important;
	height: auto !important;
	margin-bottom: 15px !important;
	display: block !important;
	border-radius: 8px !important;
}

.hero-product-price {
	font-size: 14px !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	background: rgba(234, 27, 37, 0.15);
	border: 1px solid rgba(234, 27, 37, 0.3);
	padding: 6px 12px;
	border-radius: 20px;
	display: inline-block;
}

/* 2. Section Header */
.ascotech-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 50px 0 30px;
	border-bottom: 2px solid #eee;
	padding-bottom: 15px;
}

.section-title-line {
	height: 3px;
	background: var(--primary-red);
	width: 60px;
	border-radius: 2px;
}

.section-link {
	color: #555 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.section-link:hover {
	color: var(--primary-red) !important;
}

/* 3. Deals Layout Grid */
.ascotech-deals-layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 40px;
	align-items: stretch;
	margin-bottom: 60px;
	box-sizing: border-box;
}

.super-deal-box {
	background: #ffffff;
	border: 3px solid var(--primary-red);
	border-radius: 20px;
	padding: 40px 25px;
	display: flex;
	flex-direction: column;
	text-align: center;
	position: relative;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-sizing: border-box;
}

.super-deal-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 25px 50px rgba(234, 27, 37, 0.1);
}

.deal-badge {
	background: var(--primary-red);
	color: #ffffff;
	padding: 8px 24px;
	font-weight: 900;
	font-size: 16px;
	border-radius: 30px;
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	box-shadow: 0 5px 15px rgba(234, 27, 37, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.super-deal-box img {
	width: 100% !important;
	height: auto !important;
	margin: 20px 0 !important;
	display: block !important;
}

.super-deal-box h4 {
	font-size: 18px !important;
	font-weight: 800 !important;
	margin: 0 0 15px !important;
	color: var(--text-dark) !important;
	line-height: 1.4 !important;
}

.price-container {
	margin-top: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.sale-price {
	color: var(--primary-red) !important;
	font-size: 24px !important;
	font-weight: 900 !important;
}

.regular-price {
	color: #aaa !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	text-decoration: line-through !important;
}

/* 4. Deals Grid */
.deals-grid {
	min-width: 0;
	/* Prevents overflow */
}

.deals-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 30px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

/* ==========================================================================
   HOMEPAGE MOBILE & RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 900px) {
	.ascotech-hero-section {
		flex-direction: column !important;
		padding: 40px 24px !important;
		gap: 30px !important;
		text-align: center !important;
		margin: 20px 0 !important;
	}

	.hero-content h1 {
		font-size: 38px !important;
		letter-spacing: -1px !important;
	}

	.hero-content h2 {
		font-size: 22px !important;
	}

	.hero-content h3 {
		font-size: 15px !important;
		margin-bottom: 25px !important;
	}

	.hero-products {
		justify-content: center !important;
		width: 100% !important;
		flex-wrap: wrap !important;
		gap: 15px !important;
	}

	.hero-product-card {
		width: calc(50% - 10px) !important;
		box-sizing: border-box !important;
		padding: 16px !important;
	}

	.ascotech-deals-layout {
		grid-template-columns: 1fr !important;
		gap: 30px !important;
	}

	.super-deal-box {
		max-width: 400px !important;
		margin: 20px auto 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.deals-grid ul.products {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 32px !important;
	}

	.hero-product-card {
		width: 100% !important;
	}
}

/* Global Responsive & Carousel Width Fixes (Prevents horizontal overflow and 3700px page stretch on mobile) */
html,
body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

@media (max-width: 900px) {
	.ascotech-deal-carousel-container {
		flex-direction: column !important;
		gap: 30px !important;
		margin: 40px auto !important;
		padding: 0 15px !important;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.deal-side-box {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		box-sizing: border-box !important;
	}

	.deal-carousel-side {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 20px 10px !important;
		overflow: hidden !important;
		background: #f9f9f9 !important;
	}

	.ascotech-premium-carousel {
		margin: 30px auto !important;
		padding: 20px 15px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.ascotech-product-carousel-inner {
		gap: 15px !important;
		padding: 10px 0 20px !important;
		width: 100% !important;
		overflow-x: auto !important;
		display: flex !important;
		flex-wrap: nowrap !important;
	}

	.premium-carousel-item {
		flex: 0 0 220px !important;
		min-width: 220px !important;
		width: 220px !important;
		padding: 15px !important;
		box-sizing: border-box !important;
	}
}

/* Hide trust features bar on all mobile and tablet viewports under 1100px */
@media (max-width: 1100px) {
	html body .ascotech-features-bar {
		display: none !important;
	}
}