:root {
	--iz-blue: #009acc;
	--iz-blue-dark: #007fa8;
	--iz-blue-pale: #eaf8fc;
	--iz-gold: #c49a4b;
	--iz-gray: #f3f5f6;
	--iz-border: #d9e0e5;
	--iz-text: #25343d;
	--iz-copy: #4b5964;
	--iz-muted: #77838b;
}

/* =========================================================
   IZERWAREN CATALOG NAVIGATION + SHOP CARDS
   Version 1.1.8
   ========================================================= */

.iz-catalog-archive {
	color: var(--iz-copy);
}

.iz-catalog-sidebar-column {
	align-self: flex-start;
}

.iz-catalog-nav {
	font-family: Montserrat, Arial, sans-serif;
	color: var(--iz-text);
	background: #fff;
	border: 1px solid var(--iz-border);
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0,154,204,.08);
}

/* BLUE HEADER -------------------------------------------- */

.iz-catalog-nav__title {
	margin: 0;
	padding: 15px 17px 14px;
	background: var(--iz-blue);
	border-bottom: 3px solid var(--iz-gold);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

.iz-catalog-nav__drawer {
	margin: 0;
}

.iz-catalog-nav__drawer > summary {
	display: none;
}

.iz-catalog-nav__content {
	background: var(--iz-gray);
	padding: 20px 17px 18px;
}

/* SEARCH -------------------------------------------------- */

.iz-catalog-nav .woocommerce-product-search {
	display: flex;
	margin: 0 0 18px;
}

.iz-catalog-nav .woocommerce-product-search input[type="search"] {
	width: 100%;
	min-width: 0;
	height: 42px;
	background: #fff;
	border: 1px solid var(--iz-border);
	border-right: 0;
	border-radius: 4px 0 0 4px;
	color: var(--iz-text);
	font-size: 13px;
	padding: 0 11px;
}

.iz-catalog-nav .woocommerce-product-search input[type="search"]:focus {
	border-color: var(--iz-blue);
	box-shadow: inset 0 0 0 1px var(--iz-blue);
	outline: 0;
}

.iz-catalog-nav .woocommerce-product-search button {
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border: 0;
	border-radius: 0 4px 4px 0;
	background: var(--iz-blue);
	color: #fff;
	font-size: 0;
	cursor: pointer;
	transition: background .18s ease;
}

.iz-catalog-nav .woocommerce-product-search button::before {
	content: "\2192";
	font-size: 19px;
}

.iz-catalog-nav .woocommerce-product-search button:hover,
.iz-catalog-nav .woocommerce-product-search button:focus {
	background: var(--iz-blue-dark);
	outline: 0;
}

/* ALL PRODUCTS ------------------------------------------- */

.iz-catalog-nav__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border-bottom: 1px solid var(--iz-border);
	padding: 10px 6px 12px 30px;
	color: var(--iz-blue) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
}

.iz-catalog-nav__all:hover,
.iz-catalog-nav__all.is-current {
	color: var(--iz-blue-dark) !important;
}

.iz-catalog-nav__all.is-current {
	font-weight: 700;
}

/* CATEGORY TREE ------------------------------------------ */

.iz-category-tree,
.iz-category-tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.iz-category-tree > li {
	border-bottom: 1px solid var(--iz-border);
}

.iz-category-tree__row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	column-gap: 2px;
	align-items: stretch;
}

.iz-category-tree__row > a {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.iz-category-tree__row > .iz-category-tree__toggle {
	grid-column: 1;
	grid-row: 1;
}

.iz-category-tree li > a,
.iz-category-tree__row > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 5px;
	color: var(--iz-blue) !important;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color .18s ease, background .18s ease;
}

.iz-category-tree li > a:hover,
.iz-category-tree__row > a:hover {
	color: var(--iz-blue-dark) !important;
}

.iz-category-tree__toggle {
	position: relative;
	display: grid;
	place-items: center;
	align-self: stretch;
	width: 26px;
	min-height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--iz-blue);
	font: inherit;
	cursor: pointer;
	transition: color .18s ease, background .18s ease;
}

.iz-category-tree__toggle::before {
	content: "+";
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
}

.iz-category-tree__toggle[aria-expanded="true"]::before {
	content: "\2212";
	color: var(--iz-gold);
}

.iz-category-tree__toggle:hover,
.iz-category-tree__toggle:focus {
	background: rgba(0,154,204,.08);
	color: var(--iz-blue-dark);
	outline: 0;
}

.iz-category-tree__toggle:focus-visible {
	box-shadow: inset 0 0 0 2px var(--iz-blue);
}

.iz-category-tree__count {
	flex: 0 0 auto;
	color: var(--iz-muted);
	font-size: 10.5px;
	font-weight: 400;
	margin-left: auto;
}

/* CHILD CATEGORIES --------------------------------------- */

.iz-category-tree ul {
	border-left: 2px solid rgba(196,154,75,.45);
	margin: 0 0 8px 12px;
	padding-left: 11px;
}

.iz-category-tree ul li > a,
.iz-category-tree ul .iz-category-tree__row > a {
	font-size: 11.8px;
	font-weight: 500;
	padding: 8px 5px;
}

.iz-category-tree ul .iz-category-tree__row {
	grid-template-columns: 22px minmax(0, 1fr);
}

.iz-category-tree ul .iz-category-tree__toggle {
	width: 22px;
	min-height: 32px;
}

.iz-category-tree ul[hidden] {
	display: none !important;
}

/* CURRENT / HOVER STATES --------------------------------- */

.iz-category-tree__item.is-current > a,
.iz-category-tree__item.is-current > .iz-category-tree__row > a {
	color: var(--iz-blue-dark) !important;
	font-weight: 700;
}

.iz-category-tree__item.is-ancestor > .iz-category-tree__row > a {
	color: var(--iz-blue-dark) !important;
	font-weight: 700;
}

/* =========================================================
   SHOP / PRODUCT ARCHIVE
   Makes archive cards match the single-product design.
   ========================================================= */

.iz-products-column .elementor-heading-title,
.iz-v2-shop .elementor-heading-title,
body.woocommerce-shop .elementor-heading-title,
body.tax-product_cat .elementor-heading-title {
	color: var(--iz-blue) !important;
}

.iz-products-column .woocommerce-result-count,
.iz-products-column .woocommerce-ordering,
.iz-v2-shop .woocommerce-result-count,
.iz-v2-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 13px;
	color: var(--iz-copy);
}

/* Product cards */
.iz-products-column ul.products li.product,
.iz-v2-shop ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
	background: #fff !important;
	border: 2px solid var(--iz-blue) !important;
	border-radius: 7px !important;
	overflow: hidden;
	padding: 0 0 20px !important;
	box-shadow: 0 3px 10px rgba(0,154,204,.07);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.iz-products-column ul.products li.product:hover,
.iz-v2-shop ul.products li.product:hover,
body.woocommerce-shop ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
	border-color: var(--iz-blue-dark) !important;
	box-shadow: 0 10px 24px rgba(0,154,204,.15);
	transform: translateY(-2px);
}

.iz-products-column ul.products li.product img,
.iz-v2-shop ul.products li.product img,
body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img {
	width: 100% !important;
	height: 225px !important;
	object-fit: contain !important;
	background: #f7f8f8 !important;
	padding: 18px !important;
	margin: 0 0 14px !important;
}

/* Titles and links: force Izerwaren Blue Accent, never theme pink */
.iz-products-column ul.products li.product .woocommerce-loop-product__title,
.iz-v2-shop ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	color: var(--iz-blue) !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	margin: 0 18px 7px !important;
}

.iz-products-column ul.products li.product a,
.iz-v2-shop ul.products li.product a,
body.woocommerce-shop ul.products li.product a,
body.tax-product_cat ul.products li.product a {
	text-decoration: none;
}

/* Part number */
.iz-products-column .izer-loop-part-number,
.iz-v2-shop .izer-loop-part-number,
body.woocommerce-shop .izer-loop-part-number,
body.tax-product_cat .izer-loop-part-number {
	display: block !important;
	margin: 4px 18px 6px !important;
	color: var(--iz-gold) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

/* Price */
.iz-products-column ul.products li.product .price,
.iz-v2-shop ul.products li.product .price,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
.iz-products-column ul.products li.product .price .amount,
.iz-v2-shop ul.products li.product .price .amount,
body.woocommerce-shop ul.products li.product .price .amount,
body.tax-product_cat ul.products li.product .price .amount {
	color: var(--iz-blue) !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 15px !important;
	font-weight: 700 !important;
	margin-left: 18px;
	margin-right: 18px;
}

/* Buttons */
.iz-products-column ul.products li.product .button,
.iz-v2-shop ul.products li.product .button,
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
	margin: 13px 18px 0 !important;
	padding: 10px 14px !important;
	border: 1px solid var(--iz-blue) !important;
	border-radius: 4px !important;
	background: var(--iz-blue) !important;
	color: #fff !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .2px;
}

.iz-products-column ul.products li.product .button:hover,
.iz-v2-shop ul.products li.product .button:hover,
body.woocommerce-shop ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover {
	background: var(--iz-blue-dark) !important;
	border-color: var(--iz-blue-dark) !important;
	color: #fff !important;
}

/* Ordering dropdown */
.iz-products-column .woocommerce-ordering select,
.iz-v2-shop .woocommerce-ordering select,
body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select {
	border: 1px solid var(--iz-border);
	border-radius: 4px;
	background: #fff;
	color: var(--iz-text);
	padding: 8px 10px;
}

/* PAGINATION --------------------------------------------- */

.iz-products-column nav.woocommerce-pagination ul,
.iz-v2-shop nav.woocommerce-pagination ul,
body.woocommerce-shop nav.woocommerce-pagination ul,
body.tax-product_cat nav.woocommerce-pagination ul {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	border: 0 !important;
	margin: 26px 0 0 !important;
	padding: 0 !important;
}

.iz-products-column nav.woocommerce-pagination ul li,
.iz-v2-shop nav.woocommerce-pagination ul li,
body.woocommerce-shop nav.woocommerce-pagination ul li,
body.tax-product_cat nav.woocommerce-pagination ul li {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.iz-products-column nav.woocommerce-pagination ul li a,
.iz-products-column nav.woocommerce-pagination ul li span,
.iz-v2-shop nav.woocommerce-pagination ul li a,
.iz-v2-shop nav.woocommerce-pagination ul li span,
body.woocommerce-shop nav.woocommerce-pagination ul li a,
body.woocommerce-shop nav.woocommerce-pagination ul li span,
body.tax-product_cat nav.woocommerce-pagination ul li a,
body.tax-product_cat nav.woocommerce-pagination ul li span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 11px !important;
	border: 1px solid var(--iz-blue) !important;
	border-radius: 5px !important;
	background: #fff !important;
	color: var(--iz-blue) !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.iz-products-column nav.woocommerce-pagination ul li a:hover,
.iz-v2-shop nav.woocommerce-pagination ul li a:hover,
body.woocommerce-shop nav.woocommerce-pagination ul li a:hover,
body.tax-product_cat nav.woocommerce-pagination ul li a:hover {
	background: var(--iz-blue-pale) !important;
	color: var(--iz-blue-dark) !important;
}

.iz-products-column nav.woocommerce-pagination ul li span.current,
.iz-v2-shop nav.woocommerce-pagination ul li span.current,
body.woocommerce-shop nav.woocommerce-pagination ul li span.current,
body.tax-product_cat nav.woocommerce-pagination ul li span.current {
	background: var(--iz-blue) !important;
	color: #fff !important;
}

/* RESPONSIVE --------------------------------------------- */

@media (max-width: 1024px) {
	.iz-products-column ul.products li.product img,
	.iz-v2-shop ul.products li.product img,
	body.woocommerce-shop ul.products li.product img,
	body.tax-product_cat ul.products li.product img {
		height: 200px !important;
	}
}

@media (max-width: 767px) {
	.iz-catalog-nav__title {
		font-size: 17px;
		padding: 14px 16px;
	}

	.iz-catalog-nav__drawer > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #fff;
		color: var(--iz-blue);
		font-family: Montserrat, Arial, sans-serif;
		font-size: 13px;
		font-weight: 700;
		list-style: none;
		padding: 13px 16px;
		cursor: pointer;
		border-bottom: 1px solid var(--iz-border);
	}

	.iz-catalog-nav__drawer > summary::-webkit-details-marker {
		display: none;
	}

	.iz-catalog-nav__drawer > summary::after {
		content: "+";
		font-size: 18px;
		color: var(--iz-blue);
	}

	.iz-catalog-nav__drawer[open] > summary::after {
		content: "\2212";
		color: var(--iz-gold);
	}

	.iz-products-column ul.products li.product img,
	.iz-v2-shop ul.products li.product img,
	body.woocommerce-shop ul.products li.product img,
	body.tax-product_cat ul.products li.product img {
		height: 180px !important;
	}
}


/* =========================================================
   ELEMENTOR ARCHIVE PRODUCTS — HIGH-SPECIFICITY OVERRIDES
   Ensures Elementor/WooCommerce theme styles do not replace
   the Izerwaren blue/gold catalog presentation.
   ========================================================= */

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:26px 20px !important;
    margin:0 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products::before,
body.woocommerce .elementor-widget-woocommerce-archive-products ul.products::after {
    display:none !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product {
    float:none !important;
    width:auto !important;
    margin:0 !important;
    padding:0 0 20px !important;
    background:#fff !important;
    border:2px solid #009ACC !important;
    border-radius:7px !important;
    overflow:hidden !important;
    box-shadow:0 3px 10px rgba(0,154,204,.08) !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product:hover {
    border-color:#007FA8 !important;
    box-shadow:0 10px 24px rgba(0,154,204,.15) !important;
    transform:translateY(-2px);
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product img {
    display:block !important;
    width:100% !important;
    height:220px !important;
    object-fit:contain !important;
    margin:0 0 14px !important;
    padding:18px !important;
    background:#F7F8F8 !important;
    border-radius:0 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .woocommerce-loop-product__title {
    margin:0 18px 7px !important;
    padding:0 !important;
    color:#009ACC !important;
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .izer-loop-part-number {
    margin:5px 18px 6px !important;
    color:#C49A4B !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .price,
body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .price .amount {
    margin-left:18px !important;
    margin-right:18px !important;
    color:#009ACC !important;
    font-size:15px !important;
    font-weight:700 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .button {
    margin:13px 18px 0 !important;
    padding:10px 14px !important;
    background:#009ACC !important;
    border:1px solid #009ACC !important;
    border-radius:4px !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:700 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products ul.products li.product .button:hover {
    background:#007FA8 !important;
    border-color:#007FA8 !important;
    color:#fff !important;
}

/* Pagination */
body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul {
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    gap:7px !important;
    border:0 !important;
    margin:28px 0 0 !important;
    padding:0 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul li {
    border:0 !important;
    margin:0 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul li a,
body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul li span {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:38px !important;
    height:38px !important;
    padding:0 11px !important;
    background:#fff !important;
    border:1px solid #009ACC !important;
    border-radius:5px !important;
    color:#009ACC !important;
    font-size:13px !important;
    font-weight:700 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul li a:hover {
    background:#EAF8FC !important;
    color:#007FA8 !important;
}

body.woocommerce .elementor-widget-woocommerce-archive-products nav.woocommerce-pagination ul li span.current {
    background:#009ACC !important;
    color:#fff !important;
}

@media(max-width:1024px){
    body.woocommerce .elementor-widget-woocommerce-archive-products ul.products{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:767px){
    body.woocommerce .elementor-widget-woocommerce-archive-products ul.products{
        grid-template-columns:1fr !important;
    }
}
