/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://ikondistributors.com
 Description:  Child theme de iKON Distributors — catálogo de productos
 Author:       iKON Distributors
 Template:     hello-elementor
 Version:      1.0.25
 Text Domain:  hello-elementor-child
*/

/* 1.0 General Layout */
body { font-family: 'Poppins', sans-serif; }
.content-area { max-width: 1140px; margin-left: auto; margin-right: auto; padding: 40px 20px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* 2.0 Catalog Filter Form — overrides for Elementor/theme button styles */
.catalog-filters {
	background: #f9fafb !important;
	padding: 18px 20px !important;
	border-radius: 0 !important;
	margin-bottom: 32px !important;
	border: 1px solid #e5e9ef !important;
	box-shadow: none !important;
}
.catalog-filters__header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	margin-bottom: 12px !important;
}
.catalog-filters__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #6b7280 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	line-height: 1.2 !important;
}
.catalog-filters__clear {
	display: inline !important;
	width: auto !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: #0b3e99 !important;
	border: none !important;
	border-radius: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	text-decoration: underline !important;
	text-transform: none !important;
	box-shadow: none !important;
}
.catalog-filters__clear:hover,
.catalog-filters__clear:focus {
	color: #092f73 !important;
	background: none !important;
}
.catalog-filters__clear[hidden] { display: none !important; }

.catalog-filters .search-form {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	align-items: stretch !important;
	margin: 0 !important;
	padding: 0 !important;
}
.catalog-filters .filter-item--actions {
	display: flex !important;
	flex-direction: row !important;
	gap: 8px !important;
	align-items: center !important;
}
.catalog-filters .filter-item--actions .search-submit,
.catalog-filters .filter-item--actions .filter-reset {
	flex: 1 1 0 !important;
}
.catalog-filters__close {
	display: none !important;
	font-size: 24px !important;
	line-height: 1 !important;
	color: #4b5563 !important;
	cursor: pointer !important;
	padding: 0 4px !important;
}
.catalog-filters .filter-item {
	display: flex !important;
	flex-direction: column !important;
	gap: 5px !important;
	min-width: 0 !important;
}
.catalog-filters .filter-item label {
	font-size: 12px !important;
	font-weight: 600 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #5b6470 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	line-height: 1.2 !important;
}
.catalog-filters .filter-item input[type="text"],
.catalog-filters .filter-item input[type="search"],
.catalog-filters .filter-item select {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 9px 12px !important;
	border-radius: 0 !important;
	border: 1px solid #d1d9e3 !important;
	background-color: #fff !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.catalog-filters .filter-item input:focus,
.catalog-filters .filter-item select:focus {
	outline: none !important;
	border-color: #0b3e99 !important;
	box-shadow: none !important;
}

/* Action inputs — NOT <button> to dodge Elementor */
.catalog-filters .search-submit,
.catalog-filters .filter-reset {
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border-radius: 0 !important;
	border: none !important;
	cursor: pointer !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 42px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.catalog-filters .search-submit {
	background-color: #0b3e99 !important;
	color: #fff !important;
}
.catalog-filters .search-submit:hover {
	background-color: #092f73 !important;
	color: #fff !important;
}
.catalog-filters .filter-reset {
	background-color: #eef2f6 !important;
	color: #4b5563 !important;
	border: 1px solid #d1d9e3 !important;
}
.catalog-filters .filter-reset:hover {
	background-color: #e2e8f0 !important;
	color: #4b5563 !important;
}

/* Category autocomplete */
.catalog-filters .category-autocomplete { position: relative !important; }
.catalog-filters .category-suggestions {
	position: absolute !important;
	top: calc(100% + 2px) !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 100 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background: #fff !important;
	border: 1px solid #d1d9e3 !important;
	border-radius: 0 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
	max-height: 180px !important;
	overflow-y: auto !important;
}
.catalog-filters .category-suggestions[hidden] { display: none !important; }
.catalog-filters .category-suggestions li {
	padding: 9px 12px !important;
	cursor: pointer !important;
	font-size: 15px !important;
	color: #333 !important;
}
.catalog-filters .category-suggestions li:hover,
.catalog-filters .category-suggestions li.is-active {
	background: #eef2f8 !important;
	color: #0b3e99 !important;
}
.catalog-filters .category-suggestions li mark {
	background: transparent !important;
	color: #0b3e99 !important;
	font-weight: 600 !important;
}

/* Category chips — <span> not <button> */
.catalog-filters .catalog-category-chips {
	display: flex !important;
	align-items: flex-start !important;
	flex-wrap: wrap !important;
	gap: 6px 10px !important;
	margin-top: 14px !important;
	padding-top: 14px !important;
	border-top: 1px solid #e8edf2 !important;
}
.catalog-filters .catalog-category-chips__label {
	flex: 0 0 auto !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #7b8490 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	white-space: nowrap !important;
	margin: 6px 0 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}
.catalog-filters .catalog-category-chips__list {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	align-items: center !important;
	min-width: 0 !important;
}
.catalog-filters .category-chip {
	display: inline-block !important;
	width: auto !important;
	max-width: 100% !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 6px 12px !important;
	background: #fff !important;
	border: 1px solid #d1d9e3 !important;
	border-radius: 0 !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	color: #4b5563 !important;
	cursor: pointer !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	white-space: nowrap !important;
	user-select: none !important;
}
.catalog-filters .category-chip:hover {
	border-color: #0b3e99 !important;
	color: #0b3e99 !important;
	background: #f5f7fb !important;
}
.catalog-filters .category-chip.is-active {
	background: #0b3e99 !important;
	border-color: #0b3e99 !important;
	color: #fff !important;
}
.catalog-filters .category-chip:focus {
	outline: 2px solid #0b3e99 !important;
	outline-offset: 0 !important;
}

.catalog-filters .category-chip.is-unavailable {
	display: none !important;
}

/* Custom select — replaces native <select> to avoid upward opening in sticky sidebar */
.catalog-filters .catalog-custom-select {
	position: relative !important;
	width: 100% !important;
}
.catalog-filters .catalog-custom-select__trigger {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	min-height: 42px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 9px 36px 9px 12px !important;
	border: 1px solid #d1d9e3 !important;
	border-radius: 0 !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: #333 !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.catalog-filters .catalog-custom-select__trigger:hover,
.catalog-filters .catalog-custom-select__trigger:focus {
	border-color: #0b3e99 !important;
	outline: none !important;
	background-color: #fff !important;
	color: #333 !important;
}
.catalog-filters .catalog-custom-select.is-open .catalog-custom-select__trigger {
	border-color: #0b3e99 !important;
}
.catalog-filters .catalog-custom-select__list {
	position: absolute !important;
	top: calc(100% + 2px) !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 200 !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	list-style: none !important;
	background: #fff !important;
	border: 1px solid #d1d9e3 !important;
	border-radius: 0 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
	max-height: 260px !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}
.catalog-filters .catalog-custom-select__list[hidden] {
	display: none !important;
}
.catalog-filters .catalog-custom-select__list li {
	padding: 10px 12px !important;
	font-size: 14px !important;
	line-height: 1.35 !important;
	color: #374151 !important;
	cursor: pointer !important;
}
.catalog-filters .catalog-custom-select__list li:hover,
.catalog-filters .catalog-custom-select__list li.is-active {
	background: #eef2f8 !important;
	color: #0b3e99 !important;
}
.catalog-filters .catalog-custom-select__list li.is-selected {
	font-weight: 600 !important;
	color: #0b3e99 !important;
}

.catalog-grid.is-loading {
	opacity: 0.45 !important;
	pointer-events: none !important;
	transition: opacity 0.2s !important;
}

/* 2.1 Catalog sidebar layout */
.catalog-page.content-area,
.post-type-archive-product .content-area.catalog-page {
	max-width: 1520px !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
}

.catalog-layout {
	display: grid !important;
	grid-template-columns: 300px minmax(0, 1fr) !important;
	gap: 40px !important;
	align-items: start !important;
}

.catalog-sidebar {
	position: sticky !important;
	top: 100px !important;
	align-self: start !important;
	overflow: visible !important;
	z-index: 20 !important;
}

.catalog-sidebar .catalog-filters {
	margin-bottom: 0 !important;
}

.catalog-main {
	min-width: 0 !important;
}

.catalog-main__toolbar {
	display: none !important;
	margin-bottom: 16px !important;
}

.catalog-filters-toggle {
	display: none !important;
	width: 100% !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid #0b3e99 !important;
	background: #0b3e99 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	border-radius: 0 !important;
}

.catalog-filters-bar {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px 12px !important;
	padding: 10px 12px !important;
	border: 1px solid #e5e9ef !important;
	background: #f9fafb !important;
}

.catalog-filters-bar[hidden] {
	display: none !important;
}

.catalog-filters-bar__label {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #6b7280 !important;
	text-transform: uppercase !important;
}

.catalog-filters-bar__items {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	flex: 1 1 auto !important;
}

.catalog-filters-bar__tag {
	display: inline-block !important;
	padding: 4px 8px !important;
	border: 1px solid #d1d9e3 !important;
	background: #fff !important;
	font-size: 12px !important;
	color: #374151 !important;
}

.catalog-filters-bar__edit {
	font-size: 12px !important;
	color: #0b3e99 !important;
	text-decoration: underline !important;
	cursor: pointer !important;
	white-space: nowrap !important;
}

.catalog-filters-backdrop {
	position: fixed !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, 0.45) !important;
	z-index: 9998 !important;
}

.catalog-filters-backdrop[hidden] {
	display: none !important;
}

body.catalog-filters-open {
	overflow: hidden !important;
}

/* 3.0 Catalog Archive Page */
.post-type-archive-product .site-main {
    max-width: 1520px; 
    margin: 0 auto;
}
.catalog-page .page-header {
	margin-bottom: 56px;
	margin-top: 40px;
}
.page-header { border-bottom: none; text-align: center; margin-bottom: 36px; margin-top: 40px; }
.page-title { font-size: 2.8em; font-weight: 600; color: #1a1a1a; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.catalog-item { background-color: #fff; text-align: center; transition: all 0.3s ease; overflow: hidden; border-radius: 0; border: 1px solid #eaeaea; }
.catalog-item:hover { box-shadow: 0 12px 25px rgba(0,0,0,0.08); transform: translateY(-8px); border-color: transparent; }
.catalog-item a { text-decoration: none; color: #333; display: block; }
.catalog-item .product-image { background-color: #f5f5f5; transition: transform 0.4s ease; }
.catalog-item:hover .product-image { transform: scale(1.03); }
.catalog-item .product-image img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; }
.catalog-item .placeholder-image { width: 100%; height: auto; aspect-ratio: 1 / 1; background-color: #f0f0f0; }
.catalog-item .product-info-wrap { padding: 25px 20px; }
.catalog-item .product-title { text-transform: capitalize; font-size: 1.3em; font-weight: 600; margin: 0 0 15px 0; color: #222; }
.card-swatches { display: flex; justify-content: center; gap: 8px; margin-bottom: 15px; }
.card-swatch-item { width: 20px; height: 20px; border-radius: 50%; display: block; border: 1px solid #ddd; }
.card-swatch-item.is-match { border: 2px solid #0b3e99; box-shadow: 0 0 0 2px #fff inset; transform: scale(1.1); }
.catalog-item .view-product-button { font-size: 0.9em; font-weight: 500; color: #777; text-decoration: none; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.catalog-item:hover .view-product-button { color: #1a1a1a; border-color: #1a1a1a; }
.catalog-no-results { text-align: center; padding: 40px; }

/* 4.0 Single Product Page */
.catalog-single.content-area {
	max-width: 1320px !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
}

.product-top-bar {
	margin-bottom: 28px !important;
}

.back-to-catalog {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 10px 14px !important;
	border: 1px solid #d1d9e3 !important;
	background: #fff !important;
	color: #374151 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: border-color 0.2s, color 0.2s !important;
	border-radius: 0 !important;
}
.back-to-catalog:hover {
	border-color: #0b3e99 !important;
	color: #0b3e99 !important;
	transform: none !important;
}
.back-to-catalog__icon {
	font-size: 18px !important;
	line-height: 1 !important;
}
.back-to-catalog__text {
	line-height: 1.2 !important;
}

.single-product .entry-header { margin-bottom: 20px; }
.single-product .entry-title { font-size: 2.4em; margin-top: 0; font-weight: 700; text-align: left; line-height: 1.15; }
.product-layout { display: flex; flex-wrap: nowrap; gap: 48px; align-items: flex-start; }
.product-gallery { 
    flex: 1 1 52%;
    min-width: 0;
    max-width: 100%;
    position: -webkit-sticky; 
    position: sticky; 
    top: 120px;
    align-self: flex-start;
}
.product-info { 
    flex: 1 1 48%;
    min-width: 0;
}
.product-gallery img { max-width: 100%; height: auto; border: 1px solid #f0f0f0; border-radius: 0; }
.product-gallery img.drift-trigger { cursor: crosshair; }

.product-gallery__main {
	position: relative !important;
	background: #f7f7f7 !important;
}
.product-gallery__main > img#product-main-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	background: #f7f7f7 !important;
}
.product-gallery__nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 3 !important;
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: rgba(255, 255, 255, 0.55) !important;
	color: rgba(26, 26, 26, 0.55) !important;
	font-size: 18px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	opacity: 0.65 !important;
	transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}
.product-gallery__main:hover .product-gallery__nav {
	opacity: 1 !important;
}
.product-gallery__nav:hover {
	background: rgba(255, 255, 255, 0.85) !important;
	color: #0b3e99 !important;
	border: none !important;
}
.product-gallery__nav--prev { left: 8px !important; }
.product-gallery__nav--next { right: 8px !important; }
.product-gallery__nav[hidden] { display: none !important; }

.product-gallery__thumbs-wrap {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 6px !important;
	margin-top: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
}
.product-gallery__thumbs-wrap.is-carousel {
	grid-template-columns: 24px minmax(0, 1fr) 24px !important;
}
.product-gallery__thumbs-wrap[hidden] {
	display: none !important;
}
.product-gallery__thumbs-nav {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: rgba(26, 26, 26, 0.4) !important;
	font-size: 16px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: color 0.2s ease !important;
}
.product-gallery__thumbs-nav:hover:not(:disabled) {
	border: none !important;
	color: #0b3e99 !important;
	background: transparent !important;
}
.product-gallery__thumbs-nav:disabled {
	opacity: 0.2 !important;
	cursor: default !important;
}
.product-gallery__thumbs-nav[hidden] {
	display: none !important;
}
.product-gallery__thumbs {
	overflow: hidden !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
.product-gallery__thumbs-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	width: max-content !important;
	max-width: none !important;
	transition: transform 0.25s ease !important;
	will-change: transform !important;
}
.product-gallery__thumb {
	flex: 0 0 auto !important;
	width: 72px !important;
	height: 72px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #e5e9ef !important;
	border-radius: 0 !important;
	background: #fff !important;
	cursor: pointer !important;
	overflow: hidden !important;
	box-shadow: none !important;
	min-width: 0 !important;
}
.product-gallery__thumb img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border: none !important;
}
.product-gallery__thumb:hover {
	border-color: #0b3e99 !important;
}
.product-gallery__thumb.is-active {
	border-color: #0b3e99 !important;
	box-shadow: inset 0 0 0 1px #0b3e99 !important;
}
.product-gallery__lightbox-pool { display: none !important; }
.product-info h3 { font-size: 1.25em; font-weight: 600; border-bottom: 2px solid #1a1a1a; padding-bottom: 10px; margin-top: 0; margin-bottom: 20px; }
.product-info h4 { font-size: 1em; margin-top: 28px; margin-bottom: 12px; color: #374151; font-weight: 600; text-transform: none; letter-spacing: normal; }
.product-specifications ul, .variation-swatches { list-style: none; padding: 0; margin: 0; }
.product-specifications li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.product-specifications li strong { color: #6b7280; font-weight: 600; flex-shrink: 0; }
.product-specifications li span { text-align: right; color: #1a1a1a; word-break: break-word; }

/* Variation swatches — grid layout for sizes */
.variation-swatches {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}
.size-swatches {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
	gap: 8px !important;
}
.variation-swatches li {
	margin: 0 !important;
	min-width: 0 !important;
}
.variation-swatches a {
	text-decoration: none !important;
	color: #374151 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-height: 42px !important;
	padding: 8px 12px !important;
	border: 1px solid #d1d9e3 !important;
	border-radius: 0 !important;
	background: #fff !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
	text-align: center !important;
	transition: border-color 0.2s, background 0.2s !important;
	word-break: break-word !important;
}
.color-swatches a {
	justify-content: flex-start !important;
}
.size-swatches a {
	font-weight: 500 !important;
}
.variation-swatches a:hover {
	border-color: #0b3e99 !important;
	color: #0b3e99 !important;
}
.variation-swatches a.active-variation {
	border-color: #0b3e99 !important;
	background-color: #eef2f8 !important;
	color: #0b3e99 !important;
	box-shadow: inset 0 0 0 1px #0b3e99 !important;
}
.color-swatch { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #ddd; flex-shrink: 0; }
.product-description { margin-top: 36px; }
.product-variations + .product-description { margin-top: 24px; }

/* --- Action Buttons --- */
.actions-wrapper { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.quote-button.style-2, .whatsapp-button { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; padding: 14px 25px; border-radius: 0; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 15px; }
.quote-button.style-2 { background-color: #0b3e99; color: #fff; }
.quote-button.style-2 .arrow { margin-left: 8px; transition: transform 0.3s; }
.quote-button.style-2:hover { background-color: #092f73; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(11, 62, 153, 0.25); color: #fff; }
.quote-button.style-2:hover .arrow { transform: translateX(5px); }
.whatsapp-button { background-color: #25D366; color: #fff; }
.whatsapp-button:hover { background-color: #1EBE57; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.whatsapp-icon { width: 1.2em; height: 1.2em; margin-right: 8px; vertical-align: middle; }

/* 5.0 Layout Fixes & Helpers */
.post-type-archive-product .site-main, .single-product .site-main { padding-top: 60px; padding-bottom: 60px; }
.catalog-item footer.entry-footer, .single-product footer.entry-footer { display: none !important; }

/* 6.0 Zoom, Lightbox & Responsive Fix */
.product-gallery { position: relative; } 
.expand-icon { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; opacity: 0; transform: scale(0.8); }
.product-gallery:hover .expand-icon { opacity: 1; transform: scale(1); }
.expand-icon img { width: 20px; height: 20px; }
.drift-zoom-pane.drift-open { border: 1px solid #eee; box-shadow: 0 0 10px rgba(0,0,0,0.1); }

@media (min-width: 901px) {
    .size-swatches {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .catalog-page.content-area,
    .catalog-single.content-area {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .catalog-layout {
        display: block !important;
    }
    .catalog-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(340px, 92vw) !important;
        max-height: none !important;
        z-index: 9999 !important;
        background: #fff !important;
        transform: translateX(-105%) !important;
        transition: transform 0.25s ease !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-right: 1px solid #e5e9ef !important;
        box-shadow: 4px 0 24px rgba(0,0,0,0.12) !important;
        padding-top: env(safe-area-inset-top, 0) !important;
    }
    .catalog-sidebar .catalog-filters {
        padding-top: 16px !important;
    }
    .catalog-custom-select__list {
        max-height: min(240px, 40vh) !important;
        z-index: 10000 !important;
    }
    body.catalog-filters-open .catalog-sidebar {
        transform: translateX(0) !important;
    }
    .catalog-filters__close {
        display: inline !important;
    }
    .catalog-main__toolbar {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: #fff !important;
        padding: 10px 0 !important;
        margin: 0 -16px 16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-bottom: 1px solid #eee !important;
    }
    .catalog-filters-toggle {
        display: block !important;
    }
    .product-layout { 
        flex-direction: column;
        gap: 24px;
    } 
    .product-gallery { 
        position: static;
        width: 100%;
        flex: none;
    }
    .product-info {
        width: 100%;
        flex: none;
    }
    .single-product .entry-title {
        font-size: 1.75em;
    }
    .size-swatches {
        grid-template-columns: 1fr !important;
    }
    .product-top-bar {
        margin-top: 56px !important;
        margin-bottom: 16px !important;
        padding-left: 0 !important;
    }
    .back-to-catalog__text {
        display: inline !important;
    }
    .product-gallery__thumbs-wrap.is-carousel {
        grid-template-columns: 22px minmax(0, 1fr) 22px !important;
        gap: 4px !important;
    }
    .product-gallery__thumbs-nav {
        width: 22px !important;
        height: 22px !important;
        font-size: 15px !important;
    }
    .product-gallery__thumb {
        width: 64px !important;
        height: 64px !important;
    }
    .product-gallery__nav {
        width: 26px !important;
        height: 26px !important;
        font-size: 16px !important;
        opacity: 0.85 !important;
    }
    .drift-zoom-pane, .expand-icon { display: none !important; } 
    .single-product .site-main, .post-type-archive-product .site-main { padding-top: 20px; }
    .actions-wrapper { 
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .actions-wrapper > a {
        width: 100%;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
}