/*
Theme Name: Sorex Child
Description: Custom presentation layer for Sorex.
Author: Sorex
Template: soledad
Version: 1.0.0
Text Domain: sorex-child
*/

/* ==========================================================================
   1. SOREX DESIGN TOKENS & GLOBAL ACCENTS
   ========================================================================== */
:root {
	--sorex-red: #e31e24;
	--sorex-red-dark: #b5151a;
	--sorex-red-subtle: #fff5f5;
	--sorex-red-border: #f8d7d9;
	--sorex-red-glow: rgba(227, 30, 36, 0.18);
	--sorex-text-dark: #232323;
	--sorex-text-muted: #5e5e5e;
	--sorex-card-bg: #ffffff;
	--sorex-border: #ede8e3;
	--sorex-radius: 18px;
	--sorex-radius-sm: 12px;
	--sorex-shadow-card: 0 10px 30px rgba(20, 20, 20, 0.04), 0 2px 8px rgba(20, 20, 20, 0.02);
	--sorex-shadow-hover: 0 18px 40px rgba(227, 30, 36, 0.12), 0 4px 12px rgba(20, 20, 20, 0.04);
	--sorex-transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

::selection {
	background-color: var(--sorex-red);
	color: #ffffff;
}

/* ==========================================================================
   2. TENTANG SOREX - HERO & TYPOGRAPHY
   ========================================================================== */
body.page-id-1717,
.elementor-1717 {
	font-family: inherit;
	color: var(--sorex-text-dark);
}

/* Hero Section Headline Accent */
.elementor-1717 .penci-custom-sliders,
body.page-id-1717 .elementor-section:first-of-type {
	position: relative;
}

/* Section Headings Modern Underline */
.elementor-1717 .penci-fancy_heading .penci-heading-title,
body.page-id-1717 h2 {
	letter-spacing: -0.3px;
	font-weight: 700;
	color: var(--sorex-text-dark);
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

.elementor-1717 .penci-fancy_heading .penci-heading-title::after,
body.page-id-1717 h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, var(--sorex-red), transparent);
	border-radius: 4px;
	margin-top: 10px;
}

/* ==========================================================================
   3. YOUTUBE "PERJALANAN SOREX" VIDEO PILL BUTTON (IN-CONTENT ONLY)
   ========================================================================== */
/* Strictly target the "Perjalanan Sorex" link inside page content, NOT in footer or social links */
.elementor-1717 .elementor-section .elementor-widget-text-editor a[href*="youtube.com"] {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	margin-bottom: 25px;
	padding: 12px 28px !important;
	background: var(--sorex-red) !important;
	color: #ffffff !important;
	border-radius: 50px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0.3px;
	text-decoration: none !important;
	box-shadow: 0 6px 20px var(--sorex-red-glow);
	transition: var(--sorex-transition);
}

.elementor-1717 .elementor-section .elementor-widget-text-editor a[href*="youtube.com"]::before {
	content: "▶";
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}

.elementor-1717 .elementor-section .elementor-widget-text-editor a[href*="youtube.com"]:hover {
	background: var(--sorex-red-dark) !important;
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(227, 30, 36, 0.3);
	color: #ffffff !important;
}

/* Explicit protection for footer & social media icons (never turn into buttons) */
footer a[href*="youtube.com"],
#footer a[href*="youtube.com"],
.footer-socials a,
.penci-footer-social a,
.penci-social-buttons a,
[class*="footer"] a[href*="youtube.com"],
[class*="social"] a[href*="youtube.com"] {
	display: inline-block !important;
	padding: initial !important;
	margin: initial !important;
	background: none !important;
	border-radius: initial !important;
	box-shadow: none !important;
	transform: none !important;
}

footer a[href*="youtube.com"]::before,
#footer a[href*="youtube.com"]::before,
.footer-socials a::before,
.penci-footer-social a::before,
.penci-social-buttons a::before,
[class*="footer"] a[href*="youtube.com"]::before,
[class*="social"] a[href*="youtube.com"]::before {
	content: none !important;
	display: none !important;
}


/* ==========================================================================
   4. MILESTONE CARDS (Group-9 to Group-13 Images)
   ========================================================================== */
.elementor-1717 .elementor-widget-image img[src*="Group-"] {
	border-radius: var(--sorex-radius) !important;
	box-shadow: var(--sorex-shadow-card);
	transition: var(--sorex-transition);
	border: 1px solid var(--sorex-border);
}

.elementor-1717 .elementor-widget-image img[src*="Group-"]:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: var(--sorex-shadow-hover);
	border-color: var(--sorex-red-border);
}

/* ==========================================================================
   5. FEATURED VALUE CARD ("KENYAMANAN NO.1 KELUARGA" & "KOMITMEN SOREX")
   ========================================================================== */
.elementor-1717 .elementor-element-e0035b4,
.elementor-1717 .elementor-element-442fcee {
	background: linear-gradient(145deg, #ffffff 0%, #fffafa 100%);
	border-radius: 24px;
	padding: 40px 30px !important;
	border: 1px solid var(--sorex-border);
	box-shadow: var(--sorex-shadow-card);
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

.elementor-1717 .elementor-widget-image img[src*="foto-kenaymanan"] {
	border-radius: 20px;
	box-shadow: var(--sorex-shadow-card);
	transition: var(--sorex-transition);
}

.elementor-1717 .elementor-widget-image img[src*="foto-kenaymanan"]:hover {
	transform: scale(1.015);
	box-shadow: var(--sorex-shadow-hover);
}

/* ==========================================================================
   6. SUB-BRAND / LOGO COLLECTION STRIP (RESPONSIVE FLEX GRID)
   ========================================================================== */
.elementor-1717 .elementor-widget-text-editor center {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 28px 36px;
	padding: 30px 24px !important;
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid var(--sorex-border);
	box-shadow: var(--sorex-shadow-card);
	margin: 20px auto !important;
}

.elementor-1717 .elementor-widget-text-editor center img {
	max-height: 46px !important;
	width: auto !important;
	filter: grayscale(40%) opacity(80%);
	transition: var(--sorex-transition);
}

.elementor-1717 .elementor-widget-text-editor center img:hover {
	filter: grayscale(0%) opacity(100%);
	transform: scale(1.12);
}

/* ==========================================================================
   7. MODERN FAQ ACCORDIONS (FIX GAPS & SMOOTH ANIMATION)
   ========================================================================== */

/* 1. Fix Container Grid: Change from buggy CSS grid to unified Flex Column */
.elementor-1717 .elementor-element.elementor-element-02783d1,
body.page-id-1717 .elementor-element-02783d1 {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	--gap: 16px !important;
	--e-con-grid-template-columns: none !important;
	--e-con-grid-template-rows: none !important;
	grid-template-columns: none !important;
	grid-template-rows: none !important;
	max-width: 900px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* 2. Normalize All 6 Accordion Widgets to have identical 0 margins */
.elementor-1717 .elementor-element.elementor-element-02783d1 > .elementor-element,
.elementor-1717 .elementor-element.elementor-element-02783d1 > .elementor-widget-accordion,
.elementor-1717 .elementor-element.elementor-element-02783d1 .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

/* Heading space above first accordion */
.elementor-1717 .elementor-element.elementor-element-02783d1 > .elementor-element:first-child {
	margin-bottom: 8px !important;
}

/* 3. Unified Card Container (No 20px chunky borders) */
.elementor-1717 .elementor-accordion,
.elementor-1717 .elementor-accordion-item {
	margin: 0 !important;
	border-width: 1px !important;
	border-style: solid !important;
	border-color: var(--sorex-border) !important;
	border-radius: var(--sorex-radius) !important;
	overflow: hidden;
	background: #ffffff !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
	/* Only transition color/border/shadow, no layout transitions */
	transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.elementor-1717 .elementor-accordion-item:hover {
	border-color: var(--sorex-red-border) !important;
	box-shadow: var(--sorex-shadow-hover) !important;
	transform: none !important;
}

/* 4. Question Header (Clean White / Soft Styling) */
.elementor-1717 .elementor-accordion .elementor-tab-title,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-title {
	padding: 18px 24px !important;
	font-size: 15.5px !important;
	font-weight: 600 !important;
	color: var(--sorex-text-dark) !important;
	background-color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	cursor: pointer;
	border: none !important;
	border-bottom: 1px solid transparent !important;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-title a,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-title a {
	color: inherit !important;
	text-decoration: none !important;
}

/* 5. Active Question Header */
.elementor-1717 .elementor-accordion .elementor-tab-title.elementor-active,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-title.elementor-active {
	background-color: var(--sorex-red-subtle) !important;
	color: var(--sorex-red) !important;
	border-bottom: 1px solid var(--sorex-red-border) !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-title.elementor-active a,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-title.elementor-active a {
	color: var(--sorex-red) !important;
}

/* 6. Smooth Rotating Icon */
.elementor-1717 .elementor-accordion .elementor-tab-title .elementor-accordion-icon,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-accordion-icon {
	color: var(--sorex-text-muted) !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease !important;
	display: flex;
	align-items: center;
}

.elementor-1717 .elementor-accordion .elementor-tab-title .elementor-accordion-icon svg,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-accordion-icon svg {
	fill: currentColor !important;
	transition: fill 0.25s ease !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon {
	color: var(--sorex-red) !important;
	transform: rotate(180deg);
}

/* 7. Answer Body - Stutter-Free Smooth Animation (Zero vertical padding on slide container) */
.elementor-1717 .elementor-accordion .elementor-tab-content,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-content {
	padding: 0 28px !important; /* CRITICAL: 0 top and bottom padding prevents 44px jump */
	margin: 0 !important;
	background-color: #ffffff !important;
	color: var(--sorex-text-muted) !important;
	font-size: 14.5px !important;
	line-height: 1.8 !important;
	border: none !important;
	border-width: 0 !important;
	transition: none !important;
	overflow: hidden;
	box-sizing: border-box !important;
	will-change: height;
}

/* Internal vertical spacing placed on children so slide starts and ends at exact 0px */
.elementor-1717 .elementor-accordion .elementor-tab-content > *:first-child,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-content > *:first-child {
	padding-top: 18px !important;
	margin-top: 0 !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-content > *:last-child,
.elementor-1717 .elementor-element.elementor-widget-accordion .elementor-tab-content > *:last-child {
	padding-bottom: 22px !important;
	margin-bottom: 0 !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-content ul {
	margin: 0 0 0 18px !important;
	padding-left: 10px !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-content ul + p {
	margin-top: 10px !important;
}

.elementor-1717 .elementor-accordion .elementor-tab-content li {
	margin-bottom: 8px !important;
	line-height: 1.6 !important;
}


/* ==========================================================================
   8. TESTIMONIALS MODERN BUBBLE CARDS
   ========================================================================== */
.elementor-1717 .penci-testimonials .penci-testimonial-item {
	background: #ffffff !important;
	border-radius: var(--sorex-radius) !important;
	padding: 30px !important;
	border: 1px solid var(--sorex-border) !important;
	box-shadow: var(--sorex-shadow-card) !important;
	transition: var(--sorex-transition);
}

.elementor-1717 .penci-testimonials .penci-testimonial-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--sorex-shadow-hover) !important;
	border-color: var(--sorex-red-border) !important;
}

/* ==========================================================================
   9. GOOGLE SOCIAL LOGIN STYLING
   ========================================================================== */
.sorex-social-divider {
	display: flex;
	align-items: center;
	text-align: center;
	margin: 20px 0 16px;
	color: var(--sorex-text-muted, #717171);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.2px;
}

.sorex-social-divider::before,
.sorex-social-divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid #ebebeb;
}

.sorex-social-divider:not(:empty)::before {
	margin-right: 14px;
}

.sorex-social-divider:not(:empty)::after {
	margin-left: 14px;
}

.sorex-social-login-container {
	margin-bottom: 14px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.sorex-social-login-container div.nsl-container {
	width: 100% !important;
	max-width: 100% !important;
}

.sorex-social-login-container div.nsl-container .nsl-container-buttons {
	width: 100%;
	display: flex;
	justify-content: center;
}

.sorex-social-login-container div.nsl-container .nsl-container-buttons a {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: var(--sorex-radius-sm, 12px) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
	border: 1px solid #e0e0e0 !important;
	transition: var(--sorex-transition) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 600 !important;
	height: 44px !important;
}

.sorex-social-login-container div.nsl-container .nsl-container-buttons a:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
	border-color: #d0d0d0 !important;
	transform: translateY(-1px);
}

/* Penyesuaian tombol Google di popup XootiX */
.xoo-el-modal .sorex-social-login-container {
	padding: 0 4px;
}

/* ==========================================================================
   10. MOBILE NAVBAR REFINEMENT (CLEAN, PROPORTIONAL & ALIGNED)
   ========================================================================== */
@media (max-width: 960px) {
	/* 1. Header Bar Structure & Spacing */
	.penci_navbar_mobile {
		background: #ffffff !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
		border-bottom: 1px solid var(--sorex-border, #ede8e3) !important;
	}

	.penci_navbar_mobile .penci-mobile-midbar {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		background: #ffffff !important;
	}

	.penci_navbar_mobile .container {
		padding-left: 14px !important;
		padding-right: 14px !important;
		max-width: 100% !important;
	}

	.penci_navbar_mobile .penci_nav_row {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		margin: 0 !important;
		height: 44px !important;
	}

	/* 2. Left Column - Hamburger Menu */
	.penci_navbar_mobile .penci_nav_left {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex: 0 0 auto !important;
		padding: 0 !important;
		margin: 0 !important;
		min-width: 36px !important;
	}

	.penci_navbar_mobile .navigation.mobile-menu,
	.penci_navbar_mobile .button-menu-mobile {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 36px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		font-size: 20px !important;
		color: var(--sorex-text-dark, #232323) !important;
		cursor: pointer;
		line-height: 1 !important;
	}

	.penci_navbar_mobile .button-menu-mobile svg,
	.penci_navbar_mobile .button-menu-mobile i {
		display: block !important;
		margin: auto !important;
	}

	/* 3. Center Column - Sorex Logo */
	.penci_navbar_mobile .penci_nav_center {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex: 1 1 auto !important;
		padding: 0 8px !important;
		margin: 0 !important;
		text-align: center !important;
	}

	.penci_navbar_mobile .pb-logo-mobile,
	.penci_navbar_mobile .pc-logo {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 auto !important;
		padding: 0 !important;
	}

	.penci_navbar_mobile .pb-logo-mobile a,
	.penci_navbar_mobile .pc-logo a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		line-height: 1 !important;
	}

	.penci_navbar_mobile .penci-mainlogo,
	.penci_navbar_mobile .pb-logo-mobile img {
		max-height: 34px !important;
		width: auto !important;
		object-fit: contain !important;
		display: block !important;
	}

	/* 4. Right Column - Navigation Icons (Search, User, Cart, Wishlist) */
	.penci_navbar_mobile .penci_nav_right {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		flex: 0 0 auto !important;
		gap: 6px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.penci_navbar_mobile .penci_nav_right > * {
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Target each icon item wrapper */
	.penci_navbar_mobile #top-search,
	.penci_navbar_mobile .pc-login-register,
	.penci_navbar_mobile .pc-login-register-mobile,
	.penci_navbar_mobile #top-header-cart,
	.penci_navbar_mobile #top-header-wishlist {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		position: relative !important;
		width: 32px !important;
		height: 36px !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1 !important;
	}

	/* Clear default list and wrapper quirks */
	.penci_navbar_mobile .pctopbar-login-btn,
	.penci_navbar_mobile #top-header-cart ul,
	.penci_navbar_mobile #top-header-cart li,
	.penci_navbar_mobile .pctopbar-login-btn li {
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100% !important;
		line-height: 1 !important;
	}

	/* Icon Clickable Links */
	.penci_navbar_mobile #top-search a,
	.penci_navbar_mobile .pc-login-register a,
	.penci_navbar_mobile .pc-login-register-mobile a,
	.penci_navbar_mobile #top-header-cart a.cart-contents,
	.penci_navbar_mobile #top-header-wishlist a.wishlist-contents {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 100% !important;
		line-height: 1 !important;
		font-size: 17px !important;
		color: var(--sorex-text-dark, #232323) !important;
		position: relative !important;
		text-decoration: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.penci_navbar_mobile #top-search i,
	.penci_navbar_mobile .pc-login-register i,
	.penci_navbar_mobile .pc-login-register-mobile i,
	.penci_navbar_mobile #top-header-cart i,
	.penci_navbar_mobile #top-header-wishlist i {
		font-size: 17px !important;
		line-height: 1 !important;
		width: auto !important;
		height: auto !important;
		display: inline-block !important;
		color: var(--sorex-text-dark, #232323) !important;
	}

	/* Badges on Cart & Wishlist */
	.penci_navbar_mobile #top-header-cart a.cart-contents > span,
	.penci_navbar_mobile #top-header-wishlist a.wishlist-contents > span {
		position: absolute !important;
		top: 2px !important;
		right: -2px !important;
		background: var(--sorex-red, #e31e24) !important;
		color: #ffffff !important;
		font-size: 9px !important;
		font-weight: 700 !important;
		line-height: 14px !important;
		width: 14px !important;
		height: 14px !important;
		min-width: 14px !important;
		border-radius: 50% !important;
		text-align: center !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		border: 1.5px solid #ffffff !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
		z-index: 2 !important;
		pointer-events: none;
	}

	/* 5. Mobile Bottombar (Black Category Bar: All, Man, Junior) */
	.penci_navbar_mobile .penci-mobile-bottombar {
		background-color: #000000 !important;
		padding: 8px 14px !important;
		border: none !important;
	}

	.penci_navbar_mobile .penci-mobile-bottombar .penci_nav_row {
		height: auto !important;
		justify-content: center !important;
	}

	.penci_navbar_mobile .penci-mobile-bottombar .penci_nav_col {
		justify-content: center !important;
		width: 100% !important;
	}

	.penci_navbar_mobile .penci-mobile-bottombar ul,
	.penci_navbar_mobile .penci-mobile-bottombar .menu {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 24px !important;
		margin: 0 !important;
		padding: 0 !important;
		list-style: none !important;
	}

	.penci_navbar_mobile .penci-mobile-bottombar a {
		color: #ffffff !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		letter-spacing: 0.3px !important;
		text-decoration: none !important;
		padding: 4px 0 !important;
		transition: color 0.2s ease !important;
	}

	.penci_navbar_mobile .penci-mobile-bottombar a:hover {
		color: var(--sorex-red, #e31e24) !important;
	}
}

/* ==========================================================================
   11. MOBILE PRODUCT GRID (2-COLUMN CARDS WITH DESKTOP RATIO)
   ========================================================================== */
@media (max-width: 767px) {
	/* 1. Grid Container: 2-Column Grid */
	.woocommerce ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper),
	.woocommerce-page ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper),
	.elementor-products ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper),
	.product-layout-grid ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper),
	.penci-custom-products ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: start !important;
		gap: 12px 10px !important;
		padding: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-top: 10px !important;
		margin-bottom: 24px !important;
		box-sizing: border-box !important;
		list-style: none !important;
		width: 100% !important;
	}

	/* Clear pseudo-elements from WooCommerce grid */
	.woocommerce ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper)::before,
	.woocommerce ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper)::after,
	.woocommerce-page ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper)::before,
	.woocommerce-page ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper)::after {
		display: none !important;
	}

	/* 2. Grid Item (li.product) */
	.woocommerce ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) li.product,
	.woocommerce-page ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) li.product,
	.woocommerce .penci_sidebar ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) li.product,
	.woocommerce-page .penci_sidebar ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) li.product,
	.elementor-products ul.products:not(.penci-owl-carousel):not(.product-list):not(.swiper-wrapper) li.product {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none !important;
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
		min-height: 0 !important;
	}

	/* 3. Product Card Container - Compact & Snug Framing */
	.woocommerce ul.products li.product .penci-soledad-product,
	.woocommerce-page ul.products li.product .penci-soledad-product {
		background: #ffffff !important;
		border-radius: var(--sorex-radius-sm, 14px) !important;
		border: 1px solid var(--sorex-border, #ede8e3) !important;
		box-shadow: 0 2px 8px rgba(20, 20, 20, 0.04) !important;
		overflow: hidden !important;
		display: flex !important;
		flex-direction: column !important;
		height: auto !important;
		min-height: 0 !important;
		box-sizing: border-box !important;
		padding: 6px 6px 8px !important;
		transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	}

	.woocommerce ul.products li.product .penci-product-loop-inner-content {
		display: flex !important;
		flex-direction: column !important;
		flex-grow: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		width: 100% !important;
	}

	/* 4. Product Image Container & Desktop Portrait Ratio (3:4) */
	.woocommerce ul.products li.product .penci-product-loop-top {
		position: relative !important;
		background: #f5f5f5 !important;
		overflow: hidden !important;
		border-radius: 10px !important;
		width: 100% !important;
		flex-shrink: 0 !important;
	}

	.woocommerce ul.products li.product .penci-product-loop-image,
	.woocommerce ul.products li.product .penci-product-loop-image a {
		display: block !important;
		width: 100% !important;
		line-height: 0 !important;
		position: relative !important;
	}

	/* Maintain desktop 3:4 portrait ratio uncropped, showing full model */
	.woocommerce ul.products li.product .penci-product-loop-image img {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 3 / 4 !important;
		object-fit: cover !important;
		object-position: top center !important;
		display: block !important;
		border-radius: 10px !important;
	}

	/* Prevent mobile touch flicker from hover image */
	.woocommerce ul.products li.product .penci-product-loop-image .hover-img {
		display: none !important;
	}

	/* Hide hover action buttons on mobile touch cards */
	.woocommerce ul.products li.product .penci-product-loop-buttons,
	.woocommerce ul.products li.product .penci-product-loop-extra-buttons {
		display: none !important;
	}

	/* 5. Product Card Details (Content Below Image) */
	.woocommerce ul.products li.product .penci-product-loop-title {
		padding: 6px 2px 0 2px !important;
		display: flex !important;
		flex-direction: column !important;
		flex-grow: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		justify-content: flex-start !important;
		text-align: left !important;
		margin: 0 !important;
	}

	/* Category meta */
	.woocommerce ul.products li.product .penci-product-cats,
	.woocommerce ul.products li.product .penci-product-cats a {
		font-size: 10px !important;
		color: var(--sorex-text-muted, #777777) !important;
		text-align: left !important;
		margin-bottom: 2px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		display: block !important;
		text-decoration: none !important;
		font-weight: 400 !important;
		line-height: 1.2 !important;
	}

	/* Product Title - Clean 2-line uniform display */
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h3 {
		font-size: 11.5px !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		color: var(--sorex-text-dark, #232323) !important;
		margin: 0 0 3px 0 !important;
		text-align: left !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		min-height: 30px !important;
		height: auto !important;
	}

	/* Price - Snug against title and card bottom */
	.woocommerce ul.products li.product .price,
	.woocommerce ul.products li.product .price * {
		font-size: 12.5px !important;
		font-weight: 700 !important;
		color: var(--sorex-red, #e31e24) !important;
		text-align: left !important;
		margin-top: 2px !important;
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
		line-height: 1.2 !important;
	}

	.woocommerce ul.products li.product .price del,
	.woocommerce ul.products li.product .price del * {
		font-size: 10.5px !important;
		font-weight: 400 !important;
		color: #999999 !important;
	}

	/* Eliminate excessive bottom gap: collapse all trailing elements after price */
	.woocommerce ul.products li.product .penci-product-loop-title br,
	.woocommerce ul.products li.product br,
	.woocommerce ul.products li.product .wc-custom-button-view-product,
	.woocommerce ul.products li.product a.button,
	.woocommerce ul.products li.product button.button,
	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product [itemprop="description"],
	.woocommerce ul.products li.product .penci-stock-progress-bar,
	.woocommerce ul.products li.product .star-rating,
	.woocommerce ul.products li.product .woocommerce-product-details__short-description {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 0 !important;
		min-height: 0 !important;
		max-height: 0 !important;
		line-height: 0 !important;
		border: none !important;
		overflow: hidden !important;
	}
}

/* ==========================================================================
   12. MOBILE BREADCRUMBS & SUB-HEADER SPACING
   ========================================================================== */
@media (max-width: 767px) {
	/* Breadcrumbs */
	.container.penci-breadcrumb,
	.penci-woo-breadcrumb,
	.woocommerce .penci-breadcrumb {
		padding: 10px 14px !important;
		font-size: 12px !important;
		color: var(--sorex-text-muted, #777777) !important;
		margin: 0 !important;
		width: 100% !important;
	}

	.penci-breadcrumb a {
		color: var(--sorex-text-dark, #333333) !important;
		text-decoration: none !important;
	}

	.penci-breadcrumb i {
		font-size: 10px !important;
		margin: 0 4px !important;
	}

	/* Banner Images on mobile */
	.elementor-widget-image img,
	.penci-archive-banner img {
		max-width: 100% !important;
		height: auto !important;
		display: block !important;
	}
}

/* ==========================================================================
   13. OUT-OF-STOCK / SOLD-OUT PRODUCT CATALOG STYLING
   ========================================================================== */
/* Keep the native Soledad sold-out badge anchored to the product image. */
.woocommerce ul.products li.product .product-labels .out-of-stock,
.woocommerce .product-labels .out-of-stock {
	white-space: nowrap;
	width: max-content;
}

/* ==========================================================================
   14. MODERN PRODUCT FILTER SYSTEM (BAR, DROPDOWNS & SLIDE-OVER DRAWER)
   ========================================================================== */

/* Prevent scroll when drawer modal is open */
body.sorex-drawer-locked {
	overflow: hidden !important;
}

/* 14.1 FILTER BAR CONTAINER */
.sorex-filter-bar {
	width: 100%;
	background: #ffffff;
	border: 1px solid var(--sorex-border, #ede8e3);
	border-radius: 14px;
	padding: 12px 18px;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	clear: both;
}

.sorex-filter-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
}

.sorex-filter-bar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sorex-filter-bar-right {
	display: flex;
	align-items: center;
	margin-left: auto;
}

/* 14.2 MAIN FILTER TRIGGER BUTTON */
.sorex-filter-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f8f9fa;
	border: 1px solid #e2e4e8;
	border-radius: 30px;
	padding: 8px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sorex-text-dark, #232323);
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.sorex-filter-trigger-btn svg {
	stroke: currentColor;
	flex-shrink: 0;
}

.sorex-filter-trigger-btn:hover {
	background: var(--sorex-red, #e31e24);
	color: #ffffff;
	border-color: var(--sorex-red, #e31e24);
	box-shadow: 0 4px 12px rgba(227, 30, 36, 0.25);
}

.sorex-active-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sorex-red, #e31e24);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 10px;
	line-height: 1;
	transition: all 0.2s ease;
}

.sorex-filter-trigger-btn:hover .sorex-active-count-badge {
	background: #ffffff;
	color: var(--sorex-red, #e31e24);
}

/* 14.3 DESKTOP QUICK CHIPS & DROPDOWNS */
.sorex-desktop-quick-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.sorex-quick-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 30px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.sorex-quick-chip:hover {
	border-color: #cbd5e1;
	background: #f9fafb;
	color: #111827;
}

.sorex-quick-chip.is-active {
	background: var(--sorex-red-subtle, #fff5f5);
	border-color: var(--sorex-red, #e31e24);
	color: var(--sorex-red, #e31e24);
	font-weight: 600;
}

/* Stock Status Dot */
.sorex-status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #10b981;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.sorex-chip-stock.is-active .sorex-status-dot {
	background-color: #059669;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

/* Quick Dropdown Menus */
.sorex-quick-dropdown {
	position: relative;
}

.sorex-dropdown-toggle svg {
	transition: transform 0.2s ease;
	stroke: currentColor;
}

.sorex-quick-dropdown.is-open .sorex-dropdown-toggle svg {
	transform: rotate(180deg);
}

.sorex-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 1000;
	background: #ffffff;
	border: 1px solid var(--sorex-border, #ede8e3);
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 14px;
	min-width: 220px;
}

.sorex-quick-dropdown.is-open .sorex-dropdown-menu {
	display: block;
	animation: sorexDropdownFade 0.2s ease;
}

@keyframes sorexDropdownFade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sorex-dropdown-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #9ca3af;
	margin-bottom: 10px;
	padding: 0 4px;
}

.sorex-dropdown-item {
	display: block;
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	color: #374151;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.sorex-dropdown-item:hover {
	background: #f3f4f6;
	color: #111827;
}

.sorex-dropdown-item.is-selected {
	background: var(--sorex-red-subtle, #fff5f5);
	color: var(--sorex-red, #e31e24);
	font-weight: 600;
}

/* Dropdown Size Grid */
.sorex-dropdown-size-grid {
	min-width: 260px;
}

.sorex-size-chips-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.sorex-size-chip {
	height: 34px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
	font-size: 12px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.sorex-size-chip:hover {
	border-color: var(--sorex-red, #e31e24);
	color: var(--sorex-red, #e31e24);
}

.sorex-size-chip.is-selected {
	background: var(--sorex-red, #e31e24);
	border-color: var(--sorex-red, #e31e24);
	color: #ffffff;
}

/* 14.4 SORT DROPDOWN SELECT */
.sorex-sort-box {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sorex-sort-box label {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	margin: 0;
	white-space: nowrap;
}

.sorex-select-wrapper {
	position: relative;
}

.sorex-custom-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 8px 32px 8px 14px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 24px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center !important;
	cursor: pointer;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	line-height: 1.2;
}

.sorex-custom-select:hover,
.sorex-custom-select:focus {
	border-color: var(--sorex-red, #e31e24) !important;
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.08);
}

/* 14.5 ACTIVE FILTER PILLS STRIP */
.sorex-active-filters-strip {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 12px;
	margin-top: 12px;
	border-top: 1px dashed #e5e7eb;
	width: 100%;
}

.sorex-active-filters-label {
	font-size: 12px;
	font-weight: 600;
	color: #9ca3af;
	margin-right: 2px;
}

.sorex-active-pills-list {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.sorex-pill-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 20px;
	background: #fff1f2;
	border: 1px solid #ffe4e6;
	color: var(--sorex-red, #e31e24);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.15s ease;
	line-height: 1.2;
}

.sorex-pill-tag:hover {
	background: #ffe4e6;
	border-color: #fecdd3;
	color: #be123c;
}

.sorex-pill-remove {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.7;
}

.sorex-pill-tag:hover .sorex-pill-remove {
	opacity: 1;
}

.sorex-clear-all-btn {
	font-size: 12px;
	font-weight: 600;
	color: #ef4444;
	text-decoration: underline !important;
	margin-left: 6px;
	cursor: pointer;
	transition: color 0.15s ease;
}

.sorex-clear-all-btn:hover {
	color: #b91c1c;
}

/* 14.6 SLIDE-OVER FILTER DRAWER (MODAL) */
.sorex-drawer-backdrop {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: none;
	justify-content: flex-end;
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.sorex-drawer-backdrop.is-open {
	opacity: 1;
}

.sorex-drawer-panel {
	position: relative;
	width: 420px;
	max-width: 92vw;
	height: 100%;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.sorex-drawer-backdrop.is-open .sorex-drawer-panel {
	transform: translateX(0);
}

.sorex-drawer-header {
	padding: 18px 24px;
	border-bottom: 1px solid #f1f3f5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	flex-shrink: 0;
}

.sorex-drawer-title-box {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sorex-drawer-title-box h4 {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 !important;
	letter-spacing: -0.2px;
}

.sorex-drawer-badge {
	background: var(--sorex-red, #e31e24);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 12px;
	line-height: 1;
}

.sorex-drawer-close-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f3f4f6;
	border: none;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	padding: 0;
}

.sorex-drawer-close-btn:hover {
	background: #e5e7eb;
	color: #111827;
}

/* Drawer Form & Body */
#sorex-drawer-filter-form {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	margin: 0;
}

.sorex-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px;
	-webkit-overflow-scrolling: touch;
}

.sorex-drawer-section {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
}

.sorex-drawer-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sorex-section-heading {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #1f2937 !important;
	margin: 0 0 12px 0 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.sorex-section-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.sorex-section-header-row .sorex-section-heading {
	margin-bottom: 0 !important;
}

.sorex-hint-text {
	font-size: 11.5px;
	color: #9ca3af;
}

/* Toggle Switch Row */
.sorex-switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sorex-switch-info {
	display: flex;
	flex-direction: column;
}

.sorex-switch-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #1f2937;
}

.sorex-switch-subtitle {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.sorex-toggle-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.sorex-toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.sorex-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 24px;
}

.sorex-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.sorex-toggle-switch input:checked + .sorex-slider {
	background-color: var(--sorex-red, #e31e24);
}

.sorex-toggle-switch input:checked + .sorex-slider:before {
	transform: translateX(20px);
}

/* Radio Grid for Sorting */
.sorex-radio-grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sorex-radio-pill {
	display: flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	font-size: 13px;
	color: #374151;
	cursor: pointer;
	transition: all 0.15s ease;
	margin: 0 !important;
	user-select: none;
}

.sorex-radio-pill input[type="radio"] {
	display: none;
}

.sorex-radio-pill:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.sorex-radio-pill.is-checked {
	border-color: var(--sorex-red, #e31e24);
	background: var(--sorex-red-subtle, #fff5f5);
	color: var(--sorex-red, #e31e24);
	font-weight: 600;
}

/* Drawer Size Multi-Select Grid */
.sorex-drawer-size-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.sorex-drawer-size-btn {
	height: 38px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	transition: all 0.15s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.sorex-drawer-size-btn:hover {
	border-color: var(--sorex-red, #e31e24);
	color: var(--sorex-red, #e31e24);
}

.sorex-drawer-size-btn.is-active {
	background: var(--sorex-red, #e31e24);
	border-color: var(--sorex-red, #e31e24);
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(227, 30, 36, 0.25);
}

/* Drawer Price Presets */
.sorex-price-presets-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.sorex-price-preset-btn {
	padding: 7px 12px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	font-size: 12px;
	font-weight: 500;
	color: #4b5563;
	cursor: pointer;
	transition: all 0.15s ease;
}

.sorex-price-preset-btn:hover {
	border-color: #cbd5e1;
	background: #ffffff;
	color: #111827;
}

.sorex-price-preset-btn.is-active {
	border-color: var(--sorex-red, #e31e24);
	background: var(--sorex-red-subtle, #fff5f5);
	color: var(--sorex-red, #e31e24);
	font-weight: 600;
}

/* Custom Price Input Fields */
.sorex-custom-price-inputs {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sorex-price-field {
	display: flex;
	align-items: center;
	flex: 1;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 0 10px;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sorex-price-field:focus-within {
	border-color: var(--sorex-red, #e31e24);
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.sorex-currency-prefix {
	font-size: 12.5px;
	font-weight: 600;
	color: #9ca3af;
	margin-right: 4px;
	user-select: none;
}

.sorex-price-field input[type="number"] {
	width: 100% !important;
	border: none !important;
	background: transparent !important;
	padding: 9px 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	outline: none !important;
	box-shadow: none !important;
	line-height: 1.2;
}

.sorex-price-field input[type="number"]::-webkit-outer-spin-button,
.sorex-price-field input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.sorex-price-dash {
	color: #9ca3af;
	font-weight: 600;
}

/* Drawer Footer */
.sorex-drawer-footer {
	padding: 16px 24px;
	border-top: 1px solid #f1f3f5;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	flex-shrink: 0;
}

.sorex-drawer-reset-btn {
	flex: 1;
	text-align: center;
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	color: #4b5563;
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.15s ease;
	line-height: 1.2;
}

.sorex-drawer-reset-btn:hover {
	background: #f9fafb;
	border-color: #cbd5e1;
	color: #111827;
}

.sorex-drawer-apply-btn {
	flex: 2;
	text-align: center;
	padding: 12px;
	border-radius: 10px;
	border: none;
	background: var(--sorex-red, #e31e24);
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(227, 30, 36, 0.3);
	transition: all 0.2s ease;
	line-height: 1.2;
}

.sorex-drawer-apply-btn:hover {
	background: var(--sorex-red-dark, #b5151a);
	box-shadow: 0 6px 18px rgba(227, 30, 36, 0.4);
	transform: translateY(-1px);
}

/* 14.7 MOBILE ADAPTATIONS */
@media (max-width: 767px) {
	.sorex-filter-bar {
		padding: 10px 12px;
		margin-bottom: 16px;
		border-radius: 12px;
	}

	.sorex-desktop-quick-chips {
		display: none !important;
	}

	.sorex-filter-trigger-btn {
		padding: 7px 12px;
		font-size: 12.5px;
	}

	.sorex-sort-box label {
		display: none;
	}

	.sorex-custom-select {
		font-size: 12px !important;
		padding: 7px 26px 7px 10px !important;
		max-width: 155px;
		background-position: right 8px center !important;
	}

	.sorex-drawer-panel {
		width: 100%;
		max-width: 100%;
	}

	.sorex-drawer-header {
		padding: 16px 20px;
	}

	.sorex-drawer-body {
		padding: 16px 20px;
	}

	.sorex-drawer-footer {
		padding: 14px 20px;
	}
}

/* ==========================================================================
   SOREX RESPONSIVE MOBILE FIXES (HERO SLIDER & FOOTER)
   ========================================================================== */

/* 1. Enforce Elementor responsive visibility states */
@media (max-width: 767px) {
	.elementor-hidden-mobile,
	.elementor .elementor-hidden-mobile,
	.elementor-hidden-phone,
	.elementor .elementor-hidden-phone,
	.elementor-section.elementor-hidden-mobile,
	.elementor-widget.elementor-hidden-mobile {
		display: none !important;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.elementor-hidden-tablet,
	.elementor .elementor-hidden-tablet,
	.elementor-section.elementor-hidden-tablet,
	.elementor-widget.elementor-hidden-tablet {
		display: none !important;
	}
}

@media (min-width: 1025px) {
	.elementor-hidden-desktop,
	.elementor .elementor-hidden-desktop,
	.elementor-section.elementor-hidden-desktop,
	.elementor-widget.elementor-hidden-desktop {
		display: none !important;
	}
}

/* 2. Top Mobile Hero Slider & Header Gap Elimination */
@media (max-width: 767px) {
	/* Eliminate white gap below mobile header on homepage */
	.home .penci-header-wrap,
	.home .pc-wrapbuilder-header {
		margin-bottom: 0 !important;
	}

	.home .container-single-page,
	.home #main,
	.home .theiaStickySidebar,
	.home article,
	.home .post-entry,
	.home .inner-post-entry {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.elementor-element-9b99267 {
		margin-top: 0 !important;
		padding-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.elementor-element-dd64b66 .penci-ctslide-wrap {
		height: auto !important;
	}

	.elementor-element-dd64b66 .penci-ctslide-wrap:before {
		content: "" !important;
		display: block !important;
		padding-top: 100% !important; /* Perfect 1:1 square aspect ratio for 1200x1200 mobile banners */
	}

	.elementor-element-dd64b66 .penci-ctslide-bg {
		background-size: cover !important;
		background-position: center top !important;
		background-repeat: no-repeat !important;
	}

	.elementor-element-dd64b66 .penci-ctslide-inner {
		display: flex !important;
		align-items: flex-start !important;
		justify-content: center !important;
		padding-top: 28% !important; /* Positions the Shop Now button right below the text and above the models */
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-bottom: 0 !important;
		text-align: center !important;
	}

	.elementor-element-dd64b66 .penci-ctslider-content {
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 auto !important;
		text-align: center !important;
	}

	.elementor-element-dd64b66 .pencislider-title,
	.elementor-element-dd64b66 .pencislider-caption {
		display: none !important; /* Text is already high-res & embedded in the mobile banner image */
	}

	.elementor-element-dd64b66 .penci-slider_btnwrap {
		margin: 0 auto !important;
		text-align: center !important;
		display: flex !important;
		justify-content: center !important;
	}

	.elementor-element-dd64b66 .pencislider-btn-1,
	.elementor-element-e86b5be .pencislider-btn-1 {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: max-content !important;
		min-width: unset !important;
		background-color: #e5002b !important;
		color: #ffffff !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: normal !important;
		height: auto !important;
		padding: 9px 24px !important;
		border-radius: 4px !important;
		text-transform: uppercase !important;
		letter-spacing: 0.6px !important;
		box-shadow: 0 4px 14px rgba(229, 0, 43, 0.35) !important;
		border: none !important;
		text-align: center !important;
		white-space: nowrap !important;
		transition: background-color 0.2s ease, transform 0.2s ease !important;
	}

	.elementor-element-dd64b66 .pencislider-btn-1 > span,
	.elementor-element-e86b5be .pencislider-btn-1 > span {
		line-height: inherit !important;
		height: auto !important;
		width: auto !important;
		display: inline-block !important;
		text-align: center !important;
	}

	.elementor-element-dd64b66 .pencislider-btn-1:hover,
	.elementor-element-e86b5be .pencislider-btn-1:hover {
		background-color: #c00024 !important;
		transform: translateY(-1px) !important;
	}

	/* Mobile Slider 2 (Section 3: e86b5be) */
	.elementor-element-7f6b25a {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
	}

	.elementor-element-e86b5be .penci-ctslide-wrap:before {
		content: "" !important;
		display: block !important;
		padding-top: 100% !important;
	}

	.elementor-element-e86b5be .penci-ctslide-bg {
		background-size: cover !important;
		background-position: center center !important;
	}

	/* 3. Footer E-Commerce Icons (Mobile) */
	.elementor-element-5daea8f {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		margin: 0 auto !important;
	}

	.elementor-element-5f25b21 {
		columns: unset !important;
		column-count: unset !important;
		width: 100% !important;
		margin-top: 12px !important;
		text-align: center !important;
	}

	.sorex-footer-ecommerce,
	.elementor-element-5f25b21 .elementor-widget-container > div {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: center !important;
		flex-wrap: nowrap !important;
		gap: 16px !important;
		text-align: center !important;
		width: 100% !important;
		margin: 8px auto 0 !important;
		padding: 0 !important;
	}

	.sorex-footer-ecommerce a,
	.elementor-element-5f25b21 a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-shrink: 0 !important;
		padding: 4px !important;
	}

	.sorex-footer-ecommerce img,
	.elementor-element-5f25b21 img {
		height: 24px !important;
		max-height: 24px !important;
		width: auto !important;
		object-fit: contain !important;
		display: block !important;
		transition: transform 0.2s ease !important;
	}

	.sorex-footer-ecommerce a:hover img,
	.elementor-element-5f25b21 a:hover img {
		transform: scale(1.08) !important;
	}
}

