/* ===============================
   RESET & BASE
================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font, system-ui);
	line-height: 1.6;
	color: var(--text, #0f172a);
	background: var(--bg, #ffffff);
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ===============================
   VARIABLES
================================ */
:root {
	--primary: #111827;
	--accent: #2563eb;
	--bg: #ffffff;
	--text: #0f172a;
	--header-height: 80px;
	--perfecto-primary: #7B3FF2;
	--perfecto-primary-light: #9D6FF5;
	--perfecto-primary-dark: #5E2AC0;
	--perfecto-accent: #00D9D9;
	--perfecto-dark: #1a1a1a;
	--perfecto-border: #e0e0e0;
	--perfecto-hover: #f8f9fa;
	--pf-btn-h: 46px;
	--pf-radius: 8px;
	--pf-btn-height: 46px;
}

/* ===============================
   LAYOUT
================================ */
.container {
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}

/* ===============================
   ACCESSIBILITY
================================ */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ===============================
   FOCUS & OUTLINE RESET
================================ */
*:focus,
*:focus-visible {
	outline: none;
}

button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
a:focus,
a:focus-visible {
	outline: none;
	box-shadow: none;
}

/* ===============================
   HEADER
================================ */
#site-header {
	position: relative;
	width: 100%;
	background: var(--header-bg, #fff);
	z-index: 999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	/* transform: translateZ(0) removed — it creates a stacking context that
	   clips mega-menu panels and prevents dropdowns rendering above page content */
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	height: auto;
	gap: 24px;
	max-width: var(--header-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Centered layout */
.header-layout-centered .header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.header-layout-centered .header-left { justify-content: flex-start; }
.header-layout-centered .header-center {
	display: flex;
	justify-content: center;
}
.header-layout-centered .header-right { justify-content: flex-end; }

/* Left */
.header-left {
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Hamburger */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	color: #111;
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

/* Logo */
.header-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-logo {
	display: block;
	height: var(--logo-height-desktop);
	width: auto;
	object-fit: contain;
}

/* Main Nav */
.main-nav { display: block; }

.main-nav ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	font-weight: 500;
	font-size: 15px;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--menu-color, #111827);
	transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--menu-hover, var(--accent));
}

/* ============================================================
   PRIMARY NAV — Perfecto Premium Walker
   ============================================================ */
.pf-main-menu {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-main-menu > li {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0;
}

/* Top-level link */
.pf-nav-top {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--menu-color, #111827);
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
	position: relative;
}

.pf-nav-top:hover,
.pf-main-menu > li:hover > .pf-nav-top,
.pf-main-menu > li.pf-hovered > .pf-nav-top,
.pf-main-menu > li.pf-kb-open > .pf-nav-top {
	background: rgba(0,0,0,0.045);
	color: var(--menu-hover, var(--accent, #2563eb));
}

.pf-nav-top.is-active {
	font-weight: 700;
	background: transparent;
}

/* Chevron animation */
.pf-nav-chevron {
	transition: transform 0.22s ease;
	flex-shrink: 0;
	opacity: 0.55;
}

.pf-main-menu > li:hover > .pf-nav-top .pf-nav-chevron,
.pf-main-menu > li.pf-hovered > .pf-nav-top .pf-nav-chevron,
.pf-main-menu > li.pf-kb-open > .pf-nav-top .pf-nav-chevron {
	transform: rotate(180deg);
	opacity: 0.9;
}

/* ── STANDARD DROPDOWN ─────────────────────────────────────── */
.pf-sub-menu.pf-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--pf-dropdown-bg, #fff);
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
	padding: 10px;
	min-width: 220px;
	list-style: none;
	margin: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	border: 1px solid rgba(0,0,0,0.06);
	pointer-events: none;
}

/* Hover bridge — invisible strip above dropdown so mouse can travel */
.pf-sub-menu.pf-dropdown::after {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	right: 0;
	height: 10px;
	background: transparent;
	pointer-events: auto;
}

/* Small notch arrow */
.pf-sub-menu.pf-dropdown::before {
	content: '';
	position: absolute;
	top: -7px;
	left: 22px;
	width: 14px;
	height: 14px;
	background: var(--pf-dropdown-bg, #fff);
	border-left: 1px solid rgba(0,0,0,0.06);
	border-top: 1px solid rgba(0,0,0,0.06);
	transform: rotate(45deg);
	border-radius: 2px 0 0 0;
}

.pf-main-menu > li:hover > .pf-sub-menu.pf-dropdown,
.pf-main-menu > li.pf-hovered > .pf-sub-menu.pf-dropdown,
.pf-main-menu > li.pf-kb-open > .pf-sub-menu.pf-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.pf-sub-menu.pf-dropdown > li {
	display: block;
	margin: 0;
}

.pf-nav-sub {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--pf-dropdown-link-color, #374151);
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
	white-space: nowrap;
}

.pf-nav-sub:hover {
	background: var(--pf-dropdown-link-hover-bg, #f5f5f7);
	color: var(--pf-dropdown-link-hover, #111);
	transform: translateX(3px);
}

.pf-sub-menu.pf-dropdown > li.pf-menu-divider {
	height: 1px;
	background: #f0f0f0;
	margin: 6px 10px;
	pointer-events: none;
}



/* ===============================
   FOOTER SUBMENU FIX - HOVER ACCORDION
================================ */

/* Add a visual cue (+) to parent items */
.pf-menu li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    color: #aaa;
}

.pf-menu li.menu-item-has-children > a::after {
    content: '+';
    font-size: 16px;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

/* Parent hover state */
.pf-menu li.menu-item-has-children:hover > a {
    color: #fff;
}

/* Spin the + into an x on hover */
.pf-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(45deg);
}

/* Submenu container: Hidden by default using max-height for smooth sliding */
.pf-menu .sub-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0 0 0 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease, 
                margin 0.3s ease;
}

/* Reveal Submenu on Hover */
.pf-menu li.menu-item-has-children:hover .sub-menu {
    max-height: 250px; /* Adjust this if you have a massive list of sub-items */
    opacity: 1;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* Submenu links styling */
.pf-menu .sub-menu li a {
    font-size: 12.5px;
    color: #888;
    padding: 4px 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    transform: none;
}

/* Animated line indicator for submenu links */
.pf-menu .sub-menu li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--pf-accent, #2563eb);
    transition: width 0.3s ease;
}

/* Hover effect on actual submenu links */
.pf-menu .sub-menu li a:hover {
    color: #fff;
    transform: translateX(6px);
}

.pf-menu .sub-menu li a:hover::before {
    width: 6px;
}



/* 3rd level dropdown */
.pf-sub-menu.pf-dropdown .pf-sub-menu.pf-dropdown {
	top: 0;
	left: calc(100% + 6px);
	transform: translateX(6px) translateY(0);
}

.pf-sub-menu.pf-dropdown .pf-sub-menu.pf-dropdown::before {
	left: -7px;
	top: 14px;
	transform: rotate(-45deg);
	border-left: none;
	border-bottom: 1px solid rgba(0,0,0,0.06);
	border-right: 1px solid rgba(0,0,0,0.06);
}

.pf-sub-menu.pf-dropdown li:hover > .pf-sub-menu.pf-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
}


/* =========================================================
   PERFECTO: RTL ONLY - STANDARD DROPDOWN MENU
========================================================= */

/* 1. Align main dropdown to the right */
body.rtl .pf-sub-menu.pf-dropdown {
	left: auto;
	right: 0;
}

/* 2. Move top notch arrow to the right side */
body.rtl .pf-sub-menu.pf-dropdown::before {
	left: auto;
	right: 22px;
}

/* 3. Sub-menu link hover: Slide left instead of right */
body.rtl .pf-nav-sub:hover {
	transform: translateX(-3px); 
}

/* 4. 3rd-level dropdown: Open to the left side */
body.rtl .pf-sub-menu.pf-dropdown .pf-sub-menu.pf-dropdown {
	left: auto;
	right: calc(100% + 6px);
	transform: translateX(-6px) translateY(0); /* Offset for the entrance animation */
}

/* 5. 3rd-level notch arrow: Move to the right edge and point right */
body.rtl .pf-sub-menu.pf-dropdown .pf-sub-menu.pf-dropdown::before {
	left: auto;
	right: -7px;
	transform: rotate(45deg);
	border-left: none;
	border-bottom: none;
	border-top: 1px solid rgba(0,0,0,0.06);
	border-right: 1px solid rgba(0,0,0,0.06);
}

/* 6. 3rd-level hover: Reset transform to 0 */
body.rtl .pf-sub-menu.pf-dropdown li:hover > .pf-sub-menu.pf-dropdown {
	transform: translateX(0) translateY(0);
}



/* ═══════════════════════════════════════════════════════════
   PERFECTO MEGA MENU — Full Flexible System
   ═══════════════════════════════════════════════════════════ */

/* ── Panel anchoring ── */
.pf-mega-parent {
	position: static !important;
}

/* ── The panel itself ── */
.pf-sub-menu.pf-mega-panel {
	position: absolute;
	top: 100%;         /* 100% of #site-header = flush to header bottom */
	left: 0;           /* JS overrides this per-panel */
	transform: translateY(0);
	width: max-content;
	max-width: min(1400px, 96vw);
	background: var(--pf-dropdown-bg, #fff);
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
	list-style: none;
	margin: 0;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	border: 1px solid rgba(0,0,0,0.07);
	overflow: hidden;
	pointer-events: none;
}


/* Hover bridge on the parent li — sits between the nav link and the panel.
   Zero height when closed so it never intercepts mouse events. */
.pf-mega-parent::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0;
	background: transparent;
	pointer-events: none;
	z-index: 10000;
}
.pf-mega-parent:hover::after,
.pf-mega-parent.pf-hovered::after,
.pf-mega-parent.pf-kb-open::after {
	height: 24px;
	pointer-events: auto;
}

/* Per-menu full-width override — panel already relative to #site-header via static parent */
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] {
	left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 0 !important;
}
.pf-mega-parent:hover > .pf-sub-menu.pf-mega-panel[data-mega-width='full'],
.pf-mega-parent.pf-hovered > .pf-sub-menu.pf-mega-panel[data-mega-width='full'],
.pf-mega-parent.pf-kb-open > .pf-sub-menu.pf-mega-panel[data-mega-width='full'] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
/* In full-width: only visual columns (image/promo/cat/video) stretch — text link columns keep natural width */
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] > li.col-image,
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] > li.col-video,
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] > li.col-promo,
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] > li.col-cat,
.pf-sub-menu.pf-mega-panel[data-mega-width='full'] > li.col-cats {
	flex: 1 !important;
}

/* Panel overflow:hidden now safe — border-radius handled by panel itself */
.pf-sub-menu.pf-mega-panel > li:first-child { border-radius: 0; overflow: hidden; }
.pf-sub-menu.pf-mega-panel > li:last-child  { border-radius: 0; overflow: hidden; }
.pf-sub-menu.pf-mega-panel > li:only-child  { border-radius: 0; overflow: hidden; }

/* Cards-per-row wrapping mode — panel wraps and scrolls */
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1'] {
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
	padding: 16px;
	max-height: 520px;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #d1d5db transparent;
}
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1']::-webkit-scrollbar { width: 4px; }
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1']::-webkit-scrollbar-track { background: transparent; }
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1']::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
/* In wrap mode: only image/video columns use the per-row sizing — text link columns keep natural width */
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1'] > li.col-image,
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1'] > li.col-video {
	flex: 0 0 calc(100% / var(--cards-per-row, 4) - 8px) !important;
	max-width: calc(100% / var(--cards-per-row, 4) - 8px) !important;
	border-right: none;
	padding: 0;
}
/* Other column types keep their natural sizing in wrap mode */
.pf-sub-menu.pf-mega-panel[data-cards-wrap='1'] > li:not(.col-image):not(.col-video) {
	border-right: 1px solid #f0f0f0;
}

/* ── Open state — :hover on the li itself is safe (nav link is small, no phantom trigger)
   The panel's ::after bridge only activates via JS class so no phantom opening ── */
.pf-mega-parent:hover > .pf-sub-menu.pf-mega-panel,
.pf-mega-parent.pf-hovered > .pf-sub-menu.pf-mega-panel,
.pf-mega-parent.pf-kb-open > .pf-sub-menu.pf-mega-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* ── Column base ── */
.pf-mega-panel > li {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 150px;
	padding: 28px 22px;
	border-right: 1px solid #f0f0f0;
	gap: 0;
}
.pf-mega-panel > li:last-child { border-right: none; }

/* dark / accent column variants */
.pf-mega-panel > li.col-dark   { background: #111827; }
.pf-mega-panel > li.col-accent { background: var(--accent, #2563eb); }
.pf-mega-panel > li.col-dark .pf-mega-col-heading,
.pf-mega-panel > li.col-accent .pf-mega-col-heading { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
.pf-mega-panel > li.col-dark .pf-mega-col-list > li > a,
.pf-mega-panel > li.col-accent .pf-mega-col-list > li > a { color: rgba(255,255,255,0.85); }
.pf-mega-panel > li.col-dark .pf-mega-col-list > li > a:hover,
.pf-mega-panel > li.col-accent .pf-mega-col-list > li > a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Column heading ── */
.pf-mega-col-heading {
	display: block;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--pf-dropdown-heading-color, #9ca3af);
	padding: 0 0 10px !important;
	margin-bottom: 6px;
	border-bottom: 1px solid #f0f0f0;
	pointer-events: none;
	cursor: default;
	white-space: nowrap;
}

/* ── Links list inside a column ── */
.pf-mega-col-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.pf-mega-col-list > li { position: relative; }

.pf-mega-col-list > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 7px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--pf-dropdown-link-color, #374151);
	text-decoration: none;
	transition: background 0.14s, color 0.14s;
	white-space: nowrap;
	position: relative;
}

.pf-mega-col-list > li > a:hover {
	background: var(--pf-dropdown-link-hover-bg, #f5f5f7);
	color: var(--pf-dropdown-link-hover, #111);
}

/* Sub-chevron (depth 3 flyout indicator) */
.pf-nav-sub-chevron {
	margin-left: auto;
	flex-shrink: 0;
	opacity: 0.4;
	transition: opacity 0.14s, transform 0.14s;
}
.pf-mega-col-list > li:hover > a .pf-nav-sub-chevron,
.pf-sub-menu.pf-dropdown > li:hover > a .pf-nav-sub-chevron {
	opacity: 0.85;
	transform: translateX(2px);
}

/* ── Sub-sub-menu (depth 3 flyout) ── */
.pf-sub-menu.pf-dropdown.pf-mega-sub {
	position: absolute;
	top: 0;
	left: calc(100% + 6px);
	transform: translateX(6px);
	min-width: 200px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 14px rgba(0,0,0,0.06);
	border: 1px solid rgba(0,0,0,0.07);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 10000;
}
.pf-mega-col-list > li:hover > .pf-sub-menu.pf-dropdown.pf-mega-sub {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   IMAGE CARD COLUMN  (col-image)
   ═══════════════════════════════════════════════════════════ */
.pf-mega-panel > li.col-image { padding: 0; min-width: 180px; flex: 0 0 220px; }
.pf-mega-panel > li.col-cat   { padding: 0; flex: 0 0 200px; min-width: 160px; align-self: flex-start; }
.pf-mega-panel > li.col-cats  {
	/* Match normal column padding so heading/links align perfectly with left side */
	padding: 28px 22px;
	align-self: stretch;
	min-width: 0;
	max-width: 760px;
	width: 100%;
	display: flex;
	flex-direction: column;
}

/* Inner scrollable container */
.pf-mega-panel > li.col-cats .pf-col-cats {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

/* Heading — parent li already gives 28px top gap, just add bottom border */
.pf-mega-panel > li.col-cats .pf-col-cats__heading {
	flex-shrink: 0;
	padding: 0 0 10px;
	margin-bottom: 6px;
}

/* List — no extra padding, parent li handles horizontal spacing */
.pf-mega-panel > li.col-cats .pf-col-cats__list {
	flex: 1;
	min-height: 0;
	max-height: 420px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0;
	scrollbar-width: thin;
	scrollbar-color: #d1d5db transparent;
}

/* Card/square grids: small top gap so they breathe after heading */
.pf-mega-panel > li.col-cats .pf-col-cats__list--card,
.pf-mega-panel > li.col-cats .pf-col-cats__list--square {
	padding-top: 4px;
}
.pf-mega-panel > li.col-cats .pf-col-cats__list::-webkit-scrollbar { width: 4px; }
.pf-mega-panel > li.col-cats .pf-col-cats__list::-webkit-scrollbar-track { background: transparent; }
.pf-mega-panel > li.col-cats .pf-col-cats__list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.pf-mega-panel > li.col-cats .pf-col-cats__list::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Cap card image height so they never become massive regardless of column width */
.pf-col-cats__card-img {
	display: block;
	width: 100%;
	aspect-ratio: unset;
	height: 160px;
	overflow: hidden;
	background: #f3f4f6;
	flex-shrink: 0;
	position: relative;
}

.pf-mc-image-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.18s;
}
.pf-mc-image-card:hover { opacity: 0.9; }

/* ── OVERLAY variant ── */
.pf-mc-image-card--overlay {
	position: relative;
	overflow: hidden;
	min-height: 280px;
	opacity: 1;
	border-radius: inherit;
}
.pf-mc-image-card--overlay:hover { opacity: 1; }
.pf-mc-image-card--overlay:hover .pf-mc-overlay-img { transform: scale(1.04); }
.pf-mc-overlay-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-mc-overlay-grad {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
	pointer-events: none;
}
.pf-mc-overlay-body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 20px 20px;
	pointer-events: none;
}
.pf-mc-overlay-title {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	margin: 0;
}
.pf-mc-overlay-sub {
	font-size: 13px;
	color: rgba(255,255,255,0.88);
	line-height: 1.4;
	margin: 0;
}
.pf-mc-overlay-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	align-self: flex-start;
	background: rgba(255,255,255,0.15);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.35);
	font-size: 12px;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 20px;
	letter-spacing: 0.03em;
	pointer-events: auto;
	transition: background 0.18s;
}
.pf-mc-image-card--overlay:hover .pf-mc-overlay-btn {
	background: #fff;
	color: #111;
	border-color: #fff;
}

.pf-mc-img-wrap {
	position: relative;
	overflow: hidden;
	flex: 1;
	min-height: 160px;
	background: #f3f3f3;
}
.pf-mc-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
/* zoom removed */

.pf-mc-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fff;
}
.pf-mc-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
}
.pf-mc-sub {
	font-size: 12px;
	color: #6b7280;
	line-height: 1.4;
}
.pf-mc-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--accent, #2563eb);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   PROMO / BANNER COLUMN  (col-promo)
   ═══════════════════════════════════════════════════════════ */
.pf-mega-panel > li.col-promo { padding: 0; min-width: 200px; }

.pf-mc-promo {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 220px;
	text-decoration: none;
	color: inherit;
	position: relative;
	background: #f5f5f7;
	overflow: hidden;
	transition: opacity 0.18s;
}
.pf-mc-promo:hover { opacity: 0.92; }

/* Background image variant */
.pf-mc-promo--bg {
	background-size: cover;
	background-position: center;
}
.pf-mc-promo--bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
	z-index: 1;
	transition: opacity 0.3s;
}
.pf-mc-promo--bg:hover::before { opacity: 0.85; }
.pf-mc-promo--bg .pf-mc-promo-body { position: relative; z-index: 2; margin-top: auto; }
.pf-mc-promo--bg .pf-mc-promo-title { color: #fff; }
.pf-mc-promo--bg .pf-mc-promo-sub   { color: rgba(255,255,255,0.82); }
.pf-mc-promo--bg .pf-mc-promo-btn   { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.pf-mc-promo--bg .pf-mc-promo-btn:hover { background: #fff; color: #111; }

/* Side image variants */
.pf-mc-promo--left,
.pf-mc-promo--right { flex-direction: row; align-items: stretch; min-height: unset; }
.pf-mc-promo--right { flex-direction: row-reverse; }

.pf-mc-promo-img { overflow: hidden; flex: 0 0 45%; }
.pf-mc-promo--left .pf-mc-promo-img,
.pf-mc-promo--right .pf-mc-promo-img { max-width: 120px; }
.pf-mc-promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
/* zoom removed */

/* Top image variant */
.pf-mc-promo--top .pf-mc-promo-img { flex: none; }
.pf-mc-promo--top .pf-mc-promo-img img { height: 160px; }

/* Body */
.pf-mc-promo-body {
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	/* justify-content and align-items set inline from content_pos */
}
.pf-mc-promo--bg .pf-mc-promo-body { padding: 24px 20px 20px; }

.pf-mc-promo-title {
	font-size: 17px;
	font-weight: 800;
	color: #111827;
	line-height: 1.25;
	margin: 0;
}
.pf-mc-promo-sub {
	font-size: 12.5px;
	color: #6b7280;
	line-height: 1.45;
	margin: 0;
}
.pf-mc-promo-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	align-self: flex-start;
	background: var(--pf-pri-bg, #111827);
	color: var(--pf-pri-txt, #fff);
	font-size: 11.5px;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 20px;
	letter-spacing: 0.03em;
	transition: background 0.18s, transform 0.18s;
}
.pf-mc-promo-btn:hover { background: #374151; transform: translateY(-1px); }
.pf-mc-promo-btn svg  { transition: transform 0.18s; }
.pf-mc-promo-btn:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   CUSTOM HTML COLUMN  (col-html)
   ═══════════════════════════════════════════════════════════ */
.pf-mega-panel > li.col-html { padding: 0; }
.pf-mc-html { padding: 24px; width: 100%; }

/* ═══════════════════════════════════════════════════════════
   VIDEO CARD COLUMN  (col-video)
   Full-cover autoplay video — zero gaps on all sides
   ═══════════════════════════════════════════════════════════ */
.pf-mega-panel > li.col-video {
	padding: 0;
	min-width: 200px;
	flex: 0 0 260px;
	overflow: hidden;
}

.pf-mc-video-card {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 240px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	background: #111;
}

/* The video itself — fills every pixel of the column */
.pf-mc-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.pf-mc-video-card:hover .pf-mc-video { transform: scale(1.04); }

/* Gradient overlay — always readable text */
.pf-mc-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s;
}
.pf-mc-video-card:hover .pf-mc-video-overlay { opacity: 0.85; }

/* Text body — sits above overlay */
.pf-mc-video-body {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 20px 18px;
	pointer-events: none;
}

.pf-mc-video-title {
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	margin: 0;
}
.pf-mc-video-sub {
	font-size: 12.5px;
	color: rgba(255,255,255,0.85);
	line-height: 1.4;
	margin: 0;
}
.pf-mc-video-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	align-self: flex-start;
	background: rgba(255,255,255,0.15);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.3);
	font-size: 11.5px;
	font-weight: 700;
	padding: 6px 13px;
	border-radius: 20px;
	letter-spacing: 0.03em;
	pointer-events: auto;
	transition: background 0.18s;
}
.pf-mc-video-card:hover .pf-mc-video-btn { background: #fff; color: #111; }
.pf-mc-video-btn svg { transition: transform 0.18s; }
.pf-mc-video-card:hover .pf-mc-video-btn svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════
   AUTO-CATEGORY COUNT BADGE
   ═══════════════════════════════════════════════════════════ */
.pf-auto-cat-count {
	margin-left: auto;
	flex-shrink: 0;
	font-size: 10.5px;
	font-weight: 600;
	color: #9ca3af;
	background: #f3f4f6;
	padding: 1px 6px;
	border-radius: 10px;
	line-height: 1.6;
}
.pf-mega-col-list > li > a:hover .pf-auto-cat-count {
	background: #e5e7eb;
	color: #374151;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY CARD  (col-cat) — single category, big image top
   ═══════════════════════════════════════════════════════════ */
.pf-col-cat {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 14px rgba(0,0,0,0.08);
	transition: box-shadow 0.3s cubic-bezier(0.25,0.8,0.25,1), transform 0.3s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-col-cat:hover {
	box-shadow: 0 14px 40px rgba(0,0,0,0.16);
	transform: translateY(-4px);
}
.pf-col-cat__img {
	position: relative;
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: #f1f5f9;
	flex-shrink: 0;
}
.pf-col-cat__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-col-cat:hover .pf-col-cat__img img {
	transform: scale(1.06);
}
.pf-col-cat__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 50%);
	pointer-events: none;
}
.pf-col-cat__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
}
.pf-col-cat__name {
	font-size: 14px;
	font-weight: 700;
	color: #111;
	line-height: 1.3;
}
.pf-col-cat__desc {
	font-size: 12px;
	color: #6b7280;
	line-height: 1.5;
}
.pf-col-cat__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid #f3f4f6;
}
.pf-col-cat__count {
	font-size: 11px;
	color: #9ca3af;
	font-weight: 500;
}
.pf-col-cat__btn {
	font-size: 12px;
	font-weight: 700;
	color: var(--color-primary, #2563eb);
	transition: letter-spacing 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.pf-col-cat:hover .pf-col-cat__btn {
	letter-spacing: 0.03em;
}


/* ═══════════════════════════════════════════════════════════
   CATEGORY SHOWCASE  (col-cats) — subcategory grid/list
   ═══════════════════════════════════════════════════════════ */
.pf-col-cats {
	width: 100%;
}
.pf-col-cats__heading {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--pf-dropdown-heading-color, #9ca3af);
	padding: 0 0 10px;
	margin-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
	pointer-events: none;
	cursor: default;
	white-space: nowrap;
}

/* When heading IS a clickable link (e.g. links to parent category archive) */
a.pf-col-cats__heading {
	pointer-events: auto;
	cursor: pointer;
}
a.pf-col-cats__heading:hover {
	color: var(--pf-dropdown-link-hover, #111);
}

/* ── LIST (remove default UL styles) ── */
.pf-col-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Override pf-nav-sub padding to match mega col list links exactly */
.pf-col-cats__list .pf-nav-sub {
	padding: 7px 10px;
	white-space: normal;
}

/* ── PILL: vertical list with small thumbnail ── */
.pf-col-cats__list--pill {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pf-col-cats__pill-item {
	gap: 10px;
	border-radius: 9px;
}

.pf-col-cats__pill-thumb {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f3f4f6;
	border: 1px solid rgba(0,0,0,0.07);
}
.pf-col-cats__pill-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.22s ease;
}
.pf-col-cats__pill-item:hover .pf-col-cats__pill-thumb img {
	transform: scale(1.08);
}
.pf-col-cats__pill-name {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--pf-dropdown-link-color, #374151);
	flex: 1;
	line-height: 1.3;
}
.pf-col-cats__pill-arrow {
	color: #9ca3af;
	flex-shrink: 0;
	transition: transform 0.18s ease, color 0.18s ease;
}
.pf-col-cats__pill-item:hover .pf-col-cats__pill-arrow {
	transform: translateX(3px);
	color: var(--color-primary, #2563eb);
}

/* ── SQUARE: compact grid of square thumbnails ── */
.pf-col-cats__list--square {
	display: grid;
	grid-template-columns: repeat(var(--cats-cols, 3), 1fr);
	gap: 10px;
	padding: 2px 0;
}
.pf-col-cats__square-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: inherit;
	padding: 8px 4px;
	border-radius: 10px;
	transition: background 0.18s ease;
}
.pf-col-cats__square-item:hover {
	background: rgba(0,0,0,0.04);
}
.pf-col-cats__square-img {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid rgba(0,0,0,0.07);
	flex-shrink: 0;
}
.pf-col-cats__square-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.26s ease;
}
.pf-col-cats__square-item:hover .pf-col-cats__square-img img {
	transform: scale(1.08);
}
.pf-col-cats__square-name {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--pf-dropdown-link-color, #374151);
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
}

/* ── CARD: portrait cards in a grid ── */
.pf-col-cats__list--card {
	display: grid;
	grid-template-columns: repeat(var(--cats-cols, 3), 1fr);
	gap: 12px;
	padding: 4px 0;
}
.pf-col-cats__card-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	transition: box-shadow 0.28s cubic-bezier(0.25,0.8,0.25,1), transform 0.28s cubic-bezier(0.25,0.8,0.25,1);
	position: relative;
}
.pf-col-cats__card-item:hover {
	box-shadow: 0 12px 36px rgba(0,0,0,0.15);
	transform: translateY(-4px);
}
.pf-col-cats__card-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.12) 0%, transparent 45%);
	pointer-events: none;
	transition: opacity 0.28s ease;
}
.pf-col-cats__card-item:hover .pf-col-cats__card-img::after {
	opacity: 0.6;
}
.pf-col-cats__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.42s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-col-cats__card-item:hover .pf-col-cats__card-img img {
	transform: scale(1.07);
}
.pf-col-cats__card-name {
	display: block; /* span → block so padding/text work correctly */
	padding: 11px 10px 13px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--pf-dropdown-link-color, #111);
	line-height: 1.3;
	text-align: center;
	letter-spacing: -0.01em;
	background: var(--pf-dropdown-bg, #fff);
}
.pf-col-cats__card-name small {
	display: block;
	font-size: 10px;
	font-weight: 500;
	color: #9ca3af;
	margin-top: 3px;
	letter-spacing: 0.02em;
}








/* ═══════════════════════════════════════════════════════════
   AUTO-CATEGORY IMAGE STYLES
   3 modes: pill (inline thumb), card (tall grid), square (grid)
   ═══════════════════════════════════════════════════════════ */

/* ── PILL: small rounded thumbnail left of link text ── */
.pf-cat-pill-link {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pf-cat-pill-thumb {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid rgba(0,0,0,0.07);
	background: #f3f4f6;
	transition: transform 0.22s ease;
}
.pf-cat-pill-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pf-cat-pill-link:hover .pf-cat-pill-thumb {
	transform: scale(1.08);
}

/* ── CARD: tall image with name below in a multi-column grid ── */
.pf-cat-card-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 12px !important;
	padding: 4px 0 !important;
}
.pf-cat-card-grid > li { position: relative; }
.pf-cat-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	text-decoration: none;
	color: inherit;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	transition: box-shadow 0.28s cubic-bezier(0.25,0.8,0.25,1), transform 0.28s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-cat-card:hover {
	background: #fff;
	box-shadow: 0 10px 32px rgba(0,0,0,0.16);
	transform: translateY(-4px);
}
.pf-cat-card__img {
	width: 100%;
	aspect-ratio: 3/4;
	border-radius: 0;
	overflow: hidden;
	background: #f1f5f9;
	border: none;
	position: relative;
	flex-shrink: 0;
}
.pf-cat-card__img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.10) 0%, transparent 50%);
	pointer-events: none;
	transition: opacity 0.28s ease;
}
.pf-cat-card:hover .pf-cat-card__img::after {
	opacity: 0.5;
}
.pf-cat-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.42s cubic-bezier(0.25,0.8,0.25,1);
}
.pf-cat-card:hover .pf-cat-card__img img {
	transform: scale(1.07);
}
.pf-cat-card__name {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--pf-dropdown-link-color, #111);
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
	padding: 10px 8px 12px;
	background: #fff;
	letter-spacing: -0.01em;
}
.pf-cat-card__name small {
	display: block;
	font-size: 10px;
	font-weight: 500;
	color: #9ca3af;
	margin-top: 3px;
	letter-spacing: 0.02em;
}

/* ── SQUARE: compact fixed-size thumbnails in a flex-wrap grid ── */
.pf-cat-square-grid {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px !important;
	padding: 4px 0 !important;
}
.pf-cat-square {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	text-decoration: none;
	color: inherit;
	width: 72px;
	padding: 6px 4px;
	border-radius: 8px;
	transition: background 0.18s ease;
}
.pf-cat-square:hover {
	background: rgba(0,0,0,0.04);
}
.pf-cat-square__img {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
	background: #f1f5f9;
	border: 1px solid rgba(0,0,0,0.07);
}
.pf-cat-square__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.28s ease;
}
.pf-cat-square:hover .pf-cat-square__img img {
	transform: scale(1.08);
}
.pf-cat-square__name {
	font-size: 11px;
	font-weight: 600;
	color: var(--pf-dropdown-link-color, #374151);
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
}
.pf-cat-square__count {
	font-size: 10px;
	margin-left: 0;
	padding: 1px 5px;
}




/* ── TEXT: multi-column text list ── */
.pf-col-cats__list--text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 0;
}

.pf-col-cats__text-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px; /* Matches left side spacing */
	border-radius: 7px;
	font-size: 13.5px !important; /* Forces size to match left side */
	font-weight: 500 !important;  /* Forces weight to match left side */
	color: var(--pf-dropdown-link-color, #374151);
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}




/* ═══════════════════════════════════════════════════════════
   THUMBNAIL GALLERY COLUMN  (col-thumbs)
   ═══════════════════════════════════════════════════════════ */
.pf-mega-panel > li.col-thumbs { padding: 20px 18px; }

.pf-mc-thumbs { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.pf-mc-thumbs-heading {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #9ca3af;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 4px;
}

.pf-mc-thumbs-grid {
	display: grid;
	grid-template-columns: repeat( var(--thumbs-cols, 2), 1fr );
	gap: 8px;
}

/* Vertical ladder: 1 per row = image on left, label on right */
.pf-mc-thumbs--vertical .pf-mc-thumbs-grid {
	grid-template-columns: 1fr;
	gap: 6px;
}
.pf-mc-thumbs--vertical .pf-mc-thumb-item {
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
.pf-mc-thumbs--vertical .pf-mc-thumb-img {
	flex: 0 0 var(--thumb-h, 80px);
	width: var(--thumb-h, 80px);
	height: var(--thumb-h, 80px);
	aspect-ratio: unset;
}
.pf-mc-thumbs--vertical .pf-mc-thumb-label {
	text-align: left;
	white-space: normal;
	flex: 1;
}

.pf-mc-thumb-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.pf-mc-thumb-img {
	position: relative;
	overflow: hidden;
	border-radius: var(--thumb-r, 8px);
	background: #f3f3f3;
	aspect-ratio: 1 / 1;
	height: var(--thumb-h, 100px);
}

.pf-mc-thumb-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease;
}
.pf-mc-thumb-item:hover .pf-mc-thumb-img img { opacity: 0.85; }

.pf-mc-thumb-label {
	font-size: 12px;
	font-weight: 600;
	color: #374151;
	text-align: center;
	line-height: 1.3;
	transition: color 0.15s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pf-mc-thumb-item:hover .pf-mc-thumb-label { color: var(--accent, #2563eb); }

/* ═══════════════════════════════════════════════════════════
   SHARED BADGE PILL
   ═══════════════════════════════════════════════════════════ */
.pf-mc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 9px;
	border-radius: 20px;
	line-height: 1.6;
	pointer-events: none;
}

/* ── RTL ── */
body.rtl .pf-sub-menu.pf-dropdown.pf-mega-sub {
	left: auto;
	right: calc(100% + 6px);
	transform: translateX(-6px);
}
body.rtl .pf-mega-col-list > li:hover > .pf-sub-menu.pf-dropdown.pf-mega-sub {
	transform: translateX(0);
}

body.rtl .pf-mega-banner-badge {
	left: auto;
	right: 14px;
}

body.rtl .pf-sub-menu.pf-dropdown.pf-mega-sub {
	left: auto;
	right: calc(100% + 6px);
	transform: translateX(-6px);
}

body.rtl .pf-mega-col-list > li:hover > .pf-sub-menu.pf-dropdown.pf-mega-sub {
	transform: translateX(0);
}

/* Badge labels */
.pf-nav-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 20px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.5;
	flex-shrink: 0;
	margin-left: 4px;
}



/* ══════════════════════════════════════════════════════════
   MENU HIGHLIGHTS — works on ANY nav item, ANY depth
   Set via WP Admin → Mega Menu Options → Menu Highlight
   ══════════════════════════════════════════════════════════ */

/* li needs position:relative for floating pill + overflow visible so pill isn't clipped */
.pf-main-menu > li.pf-has-hl,
.pf-sub-menu li.pf-has-hl {
	position: relative;
}

/* When pill floats above, give the li a bit of top padding so there's breathing room */
.pf-main-menu > li.pf-has-hl-float {
	padding-top: 10px;
	overflow: visible;
}

/* ── hl-float: floating pill ABOVE the link text ──
   Looks exactly like the screenshot — "HOT" above "Sale" */
.pf-hl-float {
	position: absolute;
	top: -1px;
	left: 50%;
	transform: translateX(-50%) translateY(-100%);
	display: inline-block;
	padding: 2px 7px;
	border-radius: 20px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	line-height: 1.6;
	pointer-events: none;
	z-index: 2;
	/* tiny bounce-in animation */
	animation: pfHlPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pfHlPop {
	from { transform: translateX(-50%) translateY(calc(-100% + 4px)) scale(0.85); opacity: 0; }
	to   { transform: translateX(-50%) translateY(-100%) scale(1); opacity: 1; }
}

/* On sub-menu items the pill sits to the right of the text instead */
.pf-sub-menu li.pf-has-hl-float .pf-hl-float {
	position: static;
	transform: none;
	animation: none;
	margin-left: 6px;
	vertical-align: middle;
}

/* ── hl-wrap: wraps the <a> for bg-pill and glow styles ── */
.pf-hl-wrap {
	display: inline-flex;
	align-items: center;
}

/* ── hl-color: colored link text ── */
.pf-hl-wrap.pf-hl-hl-color .pf-nav-label {
	color: var(--hl-color, #ef4444);
}
.pf-hl-wrap.pf-hl-hl-color:hover .pf-nav-label {
	color: var(--hl-color, #ef4444);
	opacity: 0.8;
}

/* ── hl-bg: background pill wrapping the link ── */
.pf-hl-wrap.pf-hl-hl-bg > a {
	background: var(--hl-color, #ef4444) !important;
	color: #fff !important;
	border-radius: 6px;
	padding-left: 12px !important;
	padding-right: 12px !important;
}
.pf-hl-wrap.pf-hl-hl-bg > a:hover {
	opacity: 0.88;
}
.pf-hl-wrap.pf-hl-hl-bg > a .pf-nav-label,
.pf-hl-wrap.pf-hl-hl-bg > a .pf-nav-chevron {
	color: #fff !important;
}

/* ── hl-dot: small colored dot in top-right corner ── */
.pf-hl-dot {
	position: absolute;
	top: 7px;
	right: 5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hl-color, #ef4444);
	pointer-events: none;
	flex-shrink: 0;
}
/* for sub-menu items the dot goes inline */
.pf-sub-menu .pf-hl-dot {
	position: static;
	margin-left: auto;
	flex-shrink: 0;
}

/* ── hl-underline: accent line under the label ── */
.pf-hl-wrap.pf-hl-hl-underline > a {
	position: relative;
}
.pf-hl-wrap.pf-hl-hl-underline > a::after {
	content: '';
	position: absolute;
	bottom: 3px;
	left: 10px;
	right: 10px;
	height: 2px;
	border-radius: 2px;
	background: var(--hl-color, #ef4444);
}

/* ── hl-glow: outline around the link ── */
.pf-hl-wrap.pf-hl-hl-glow > a {
	box-shadow: 0 0 0 1.5px var(--hl-color, #ef4444) !important;
	border-radius: 6px;
}
.pf-hl-wrap.pf-hl-hl-glow > a .pf-nav-label {
	color: var(--hl-color, #ef4444);
}
.pf-hl-wrap.pf-hl-hl-glow > a:hover {
	background: color-mix(in srgb, var(--hl-color, #ef4444) 8%, transparent) !important;
}

/* Fallback: also support old WP sub-menu class (non-walker pages) */
.pf-main-menu li {
	position: relative;
}
.pf-main-menu ul.sub-menu {
	position: absolute;
	display: none;
	background: #fff;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	padding: 15px;
	z-index: 999;
	list-style: none;
	min-width: 200px;
}
.pf-main-menu li:hover > ul.sub-menu { display: block; }
.pf-main-menu ul.sub-menu li { display: block; margin: 0 0 10px 0; }

/* Right */
.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Separator */
.header-separator {
	width: 1px;
	height: 28px;
	background: #e5e7eb;
}

/* Icons */
.header-icons {
	display: flex;
	align-items: center;
	gap: 18px;
	color: var(--icon-color, #000);
}

.header-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	color: inherit;
	transition: background 0.2s ease, color 0.2s ease;
	position: relative;
}

.header-icons svg,
.header-search svg {
	width: 24px;
	height: 24px;
	stroke-width: 2.2;
}

.header-icons a:hover,
.header-search button:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--icon-hover, var(--accent));
}

/* Icon Tooltips */
.header-icons a::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: -34px;
	left: 50%;
	transform: translateX(-50%);
	background: #0a0a0a;
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-icons a:hover::after {
	opacity: 1;
	transform: translateX(-50%) translateY(4px);
}

/* Icon Counters */
.header-icon-count,
.header-icons .count,
.header-icons .badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	background: var(--header-counter-bg);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	border-radius: 50%;
}

.header-wishlist-count,
.header-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 17px;
	height: 17px;
	padding: 0 3px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-sizing: border-box;
	pointer-events: none;
	white-space: nowrap;
}

/* Full-width mode */
body.header-full-width .header-inner {
	max-width: 100%;
	padding-left: 32px;
	padding-right: 32px;
}

/* ===============================
   STICKY HEADER
================================ */
body.has-sticky-header #site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--header-bg, #fff);
	width: 100%;
	transition: box-shadow 0.3s ease;
}

body.has-sticky-header #site-header.is-sticky {
	position: sticky;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	top: 0;
}

body.admin-bar.has-sticky-header #site-header { top: 32px; }





/* ===============================
   AJAX SEARCH
================================ */
.header-search { position: relative; }

.header-search form {
	display: flex;
	align-items: center;
	width: 280px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	position: relative;
	z-index: 2;
}

.header-search input {
	flex: 1;
	border: 0;
	outline: none;
	font-size: 14px;
	background: transparent;
	color: #111;
}

.header-search input::placeholder { color: #9ca3af; }

.header-search button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--icon-color, #000);
}

/* ===============================
   PREMIUM SEARCH RESULTS DROPDOWN (FIXED)
================================ */
.pf-search-results {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(229, 231, 235, 0.6);
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 20px 40px -10px rgba(0, 0, 0, 0.08);
	z-index: 1000;
	display: none;
}

.pf-search-results.active {
	display: block;
	max-height: 420px;
	overflow-y: auto;
	overflow-x: hidden; /* KILLS the horizontal scrollbar bug */
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	transform-origin: top center;
	animation: premiumSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Sleek Scrollbar */
.pf-search-results::-webkit-scrollbar {
	width: 5px;
}
.pf-search-results::-webkit-scrollbar-track {
	background: transparent;
	margin: 8px 0;
}
.pf-search-results::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 10px;
}
.pf-search-results::-webkit-scrollbar-thumb:hover {
	background: #9ca3af;
}

@keyframes premiumSlideDown {
	from { 
		opacity: 0; 
		transform: translateY(-12px) scale(0.98); 
	}
	to { 
		opacity: 1; 
		transform: translateY(0) scale(1); 
	}
}

.pf-search-results-inner { padding: 8px; }

.pf-search-results .pf-search-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	background: transparent;
	margin-bottom: 4px;
}

.pf-search-results .pf-search-item:last-child { margin-bottom: 0; }

.pf-search-results .pf-search-item:hover {
	background: #f8fafc; /* Just a smooth color change, no shifting left/right */
}

.pf-search-results .pf-search-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: #111827;
	border-radius: 10px 0 0 10px;
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-search-results .pf-search-item:hover::before { width: 3px; }

.pf-search-results .pf-search-thumb {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	background: #f3f4f6;
	flex-shrink: 0;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.03);
}

.pf-search-results .pf-search-item:hover .pf-search-thumb {
	transform: scale(1.08) rotate(1deg); 
	border-color: #ffffff;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.pf-search-results .pf-search-info {
	flex: 1;
	min-width: 0;
}

.pf-search-results .pf-search-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--pf-search-title-color, #374151);
	margin: 0 0 4px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
	line-height: 1.4;
}

.pf-search-results .pf-search-item:hover .pf-search-title { 
	color: var(--pf-dropdown-link-hover, #111827);
}

.pf-search-results .pf-search-price {
	font-size: 14px;
	font-weight: 700;
	color: var(--pf-search-price-color, #111827);
	transition: color 0.2s ease;
	display: inline-block;
}

.pf-search-results .pf-search-price del {
	color: #9ca3af;
	font-weight: 500;
	margin-right: 6px;
	font-size: 13px;
}

.pf-search-results .pf-no-results,
.pf-search-results .pf-search-loading {
	padding: 40px 20px;
	text-align: center;
	color: #6b7280;
	font-size: 14px;
	font-weight: 500;
}

.pf-search-loading::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid #e5e7eb;
	border-radius: 50%;
	border-top-color: #111827;
	animation: premiumSpin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	vertical-align: middle;
}

@keyframes premiumSpin { 
	to { transform: rotate(360deg); } 
}

.pf-search-results .pf-view-all {
	display: block;
	margin: 10px 8px 8px;
	padding: 14px 20px;
	text-align: center;
	color: var(--pf-pri-txt, #ffffff);
	background: var(--pf-pri-bg, #111827);
	text-decoration: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.pf-search-results .pf-view-all:hover {
	background: var(--pf-pri-h-bg, #000000);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pf-search-results .pf-view-all:active {
	transform: translateY(0);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* ===============================
   DESKTOP SEARCH SUGGESTIONS ONLY
   (This will not affect mobile)
================================ */
.desktop-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 300px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 99999; 
    text-align: left;
}

.desktop-search-suggestions .pf-suggestions-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-dropdown-heading-color, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.desktop-search-suggestions .pf-suggestions-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Forcefully stop the theme from overlapping the chips */
.header-search .desktop-search-suggestions button.pf-suggestion-chip,
.pf-gr-search .desktop-search-suggestions button.pf-suggestion-chip {
    position: relative !important; 
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.header-search .desktop-search-suggestions button.pf-suggestion-chip:hover,
.pf-gr-search .desktop-search-suggestions button.pf-suggestion-chip:hover {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #111827 !important;
}

/* Fix the magnifying glass inside the desktop chips */
.header-search .desktop-search-suggestions button.pf-suggestion-chip svg,
.pf-gr-search .desktop-search-suggestions button.pf-suggestion-chip svg {
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.6 !important;
    display: block !important;
}


/* ===============================
   ICON MODE SEARCH SUGGESTIONS
================================ */
/* Strip the floating box look so it sits natively inside the panel */
.pf-search-icon-panel .desktop-search-suggestions {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid #f3f4f6 !important; /* Subtle separator line */
    border-radius: 0 !important;
    padding: 16px 0 0 0 !important;
    margin-top: 16px !important;
    background: transparent !important;
}

/* Ensure the panel can fit the suggestions without cutting them off */
.pf-search-icon-panel {
    display: flex;
    flex-direction: column;
}

/* Make sure the results dropdown in icon mode covers the suggestions when searching */
.pf-search-icon-panel .pf-search-results {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    z-index: 1001; /* Higher than the panel contents */
}




/* =========================================================
   PERFECTO: RTL ONLY - ICON SEARCH PANEL & SUGGESTIONS
========================================================= */

/* 1. Flip the panel opening direction */
body.rtl .header-search.pf-search-icon-wrap .pf-search-icon-panel {
    right: auto !important; 
    left: 0 !important; 
    transform-origin: top left;
}

/* 2. Flip Text Alignments for Dropdown & Suggestions */
body.rtl .pf-search-results,
body.rtl .desktop-search-suggestions,
body.rtl .desktop-search-suggestions .pf-suggestions-title {
    left: auto !important; 
    right: 0 !important; 
    text-align: right;
}

/* 3. Layout: Make room for the 'X' on the left side */
body.rtl .pf-search-icon-panel .pf-ajax-search-form {
    margin-right: 0 !important; /* Remove LTR right margin */
    margin-left: 46px !important; /* Add gap on the LEFT for the X button */
}

/* 4. Layout: Pin the 'X' button to the far left wall */
body.rtl .pf-search-icon-panel .pf-search-icon-close {
    right: auto !important;
    left: 24px !important; 
}

/* 5. Layout: Move Magnifying Glass inside the LEFT side of the input */
body.rtl .pf-search-icon-panel .pf-ajax-search-form button[type="submit"] {
    right: auto !important;
    left: 16px !important; 
}

/* 6. Input Padding: Fix text typing space so it doesn't overlap the left icon */
body.rtl .pf-search-icon-panel .pf-search-input {
    padding-right: 16px !important; /* Text starts typing from here on the right */
    padding-left: 30px !important;  /* Dead space on the left for the magnifying glass */
}

/* 7. Flip suggestion chips (Icon on right, text on left) */
body.rtl .desktop-search-suggestions button.pf-suggestion-chip {
    flex-direction: row-reverse !important;
}

/* 8. Fix Search Results layout (Hover line & Price spacing) */
body.rtl .pf-search-results .pf-search-item::before {
    left: auto; 
    right: 0; 
    border-radius: 0 10px 10px 0;
}
body.rtl .pf-search-results .pf-search-price del {
    margin-right: 0; 
    margin-left: 6px;
}

/* ===============================
   TOP BAR - DESKTOP ONLY
================================ */
.perfecto-topbar {
    background: var(--topbar-bg, #111827);
    color: var(--topbar-text, #fff);
    font-size: var(--topbar-font-size, 13px);
    width: 100%;
}

.topbar-inner {
    display: flex;
    align-items: stretch;
    min-height: var(--topbar-height, 40px);
    height: var(--topbar-height, 40px);
    max-width: var(--header-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Three sections */
.topbar-left,
.topbar-center,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    height: 100%;
    min-width: 0;
}

.topbar-left {
    justify-content: flex-start;
    flex: 1 1 0;
}

.topbar-center {
    justify-content: center;
    flex: 2 1 0;
}

.topbar-right {
    justify-content: flex-end;
    flex: 1 1 0;
}

/* ── Promo Slider ── */
.pf-topbar-slider {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    max-width: 100%;
    min-width: 0;
}

.pf-tslider-track {
    position: relative;
    height: 40px;
    overflow: hidden;
    min-width: 0;
    z-index: 1;
    /* width set by JS based on widest slide content */
    flex-shrink: 1;
}

/* Hidden sizer - measures text width naturally */
.pf-tslider-sizer {
    visibility: hidden;
    white-space: nowrap;
    position: absolute;
    pointer-events: none;
    font-size: inherit;
    padding: 0 8px;
}

.pf-tslider-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    white-space: nowrap;
    /* Do NOT clip text — the track width expands to fit the widest slide */
}

.pf-tslider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.pf-tslider-slide.prev {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}


/* ===============================
   DEDICATED MARQUEE LAYOUT
================================ */
.pf-dedicated-marquee {
    width: 100%;
    height: 100%;
    min-height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.pf-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-wrap: nowrap;
    /* Speed is calculated by JS so it never gets too fast/slow */
    animation: pf-dedicated-scroll var(--marquee-speed, 15s) linear infinite;
}

.pf-marquee-track.pause-on-hover:hover {
    animation-play-state: paused;
}

.pf-marquee-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: var(--pf-marquee-icon-gap, 8px); /* icon ↔ text gap, overridden by spacing control */
    padding: 0 var(--pf-marquee-item-padding, 20px);
    white-space: nowrap;
}

.pf-marquee-item a,
.pf-marquee-item span {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    display: inline-flex;
    align-items: center;
}

.pf-marquee-item a:hover {
    text-decoration: underline;
}

/* Icon always vertically centered, never touches text */
.pf-marquee-item .pf-pmq-icon,
.pf-marquee-item i,
.pf-marquee-item svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.pf-marquee-sep {
    margin-inline-start: 20px; /* RTL-aware: works for both LTR and RTL */
    margin-inline-end: 0;
    opacity: 0.4;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    -webkit-user-select: none; user-select: none;
}

/* RTL is handled by JS — it sets --marquee-start to +width and --marquee-shift to 0
   so the same keyframe works for both LTR and RTL without any CSS override needed */

@keyframes pf-dedicated-scroll {
    0%   { transform: translate3d(var(--marquee-start, 0px), 0, 0); }
    100% { transform: translate3d(var(--marquee-shift, -200px), 0, 0); }
}


/* Fade animation mode */
.pf-topbar-slider[data-animation="fade"] .pf-tslider-slide {
    transform: translateX(0) !important;
}
.pf-topbar-slider[data-animation="fade"] .pf-tslider-slide.active {
    opacity: 1;
    visibility: visible;
}
.pf-topbar-slider[data-animation="fade"] .pf-tslider-slide:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.pf-tslider-slide a,
.pf-tslider-slide span {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    /* Let text flow naturally — track width is driven by JS measurement */
    display: inline-block;
}

.pf-tslider-slide a:hover { text-decoration: underline; }

/* Nav arrows */
.pf-tslider-arrow {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #CDD1CA;
    transition: opacity 0.2s;
    padding: 0;
    line-height: 1;
}

.pf-tslider-arrow:hover  { opacity: 0.8; }
.pf-tslider-arrow:focus  { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 2px; }

/* ─────────────────────────────────────────────
   PROMO SLIDER — INLINE BUTTON STYLES
   Use these classes inside your slide HTML.
   Example: Free shipping! <a href="/shop" class="pf-promo-btn-arrow">Shop now</a>
───────────────────────────────────────────── */

/* 1. Arrow / underline link button */
.pf-tslider-slide .pf-promo-btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 1px;
    margin-left: 8px;
    transition: gap 0.2s ease, border-color 0.2s ease;
    vertical-align: middle;
    white-space: nowrap;
}
.pf-tslider-slide .pf-promo-btn-arrow::after {
    content: '→';
    font-size: 13px;
    transition: transform 0.2s ease;
    display: inline-block;
}
.pf-tslider-slide .pf-promo-btn-arrow:hover {
    border-color: #fff;
    text-decoration: none;
}
.pf-tslider-slide .pf-promo-btn-arrow:hover::after {
    transform: translateX(4px);
}

/* 2. Pill / ghost button */
.pf-tslider-slide .pf-promo-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 20px;
    margin-left: 10px;
    background: rgba(255,255,255,0.18);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.38);
    transition: background 0.2s ease, transform 0.18s ease;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.6;
}
.pf-tslider-slide .pf-promo-btn:hover {
    background: rgba(255,255,255,0.32);
    transform: translateY(-1px);
    text-decoration: none;
}

/* 3. Solid / filled button */
.pf-tslider-slide .pf-promo-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 13px;
    border-radius: 5px;
    margin-left: 10px;
    background: #fff;
    color: #111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.7;
}
.pf-tslider-slide .pf-promo-btn-solid:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Social icons */
.pf-topbar-social { display: flex; align-items: center; gap: 10px; }
.pf-topbar-social a { color: inherit; font-size: 13px; transition: opacity 0.2s; }
.pf-topbar-social a:hover { opacity: 0.7; }

/* Phone / Email */
.pf-topbar-phone i,
.pf-topbar-email i { margin-right: 5px; font-size: 11px; }
.pf-topbar-text a { color: inherit; text-decoration: none; }
.pf-topbar-text a:hover { text-decoration: underline; }

/* Topbar menu */
.pf-topbar-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
}
.pf-topbar-menu a { color: inherit; text-decoration: none; font-size: 12px; }
.pf-topbar-menu a:hover { text-decoration: underline; }


/* ==========================================================
   PERFECTO - NATIVE TOPBAR DROPDOWNS (LANG & CURRENCY)
   ========================================================== */

/* Main wrappers */
.pf-topbar-item,
.pf-custom-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/* The visible topbar text */
.pf-custom-dropdown .current-selected {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff; /* White for your dark topbar */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.pf-custom-dropdown .current-selected:hover {
    opacity: 0.8;
}

/* Arrow rotation animation */
.pf-custom-dropdown .current-selected svg {
    transition: transform 0.2s ease;
}

.pf-custom-dropdown:hover .current-selected svg {
    transform: rotate(180deg);
}



/* 1. Target ONLY the topbar dropdowns (Base Setup) */
.pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    position: absolute !important;
    top: 100% !important;
    background-color: #ffffff !important;
    min-width: 150px !important;
    padding: 8px 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    z-index: 99999 !important;
    
    /* Animation setup */
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.2s ease !important;
    pointer-events: none !important;
}



/* If widget is on the LEFT side: anchor left, open right */
.topbar-left .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
}

/* If widget is on the RIGHT side: anchor right, open left */
.topbar-right .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    right: 0 !important;
    left: auto !important;
    margin-left: 0 !important;
}

/* If widget is in the CENTER: center perfectly */
.topbar-center .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    left: 50% !important;
    right: auto !important;
    margin-left: -75px !important; /* Half of the 150px min-width */
}




/* ==========================================================
   RTL (ARABIC) DROPDOWN ALIGNMENT FIX
========================================================== */

/* In RTL, the "left" section is physically on the RIGHT side of the monitor */
body.rtl .topbar-left .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    right: 0 !important;
    left: auto !important;
    margin-left: 0 !important;
}

/* In RTL, the "right" section is physically on the LEFT side of the monitor */
body.rtl .topbar-right .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
}

/* Center stays centered */
body.rtl .topbar-center .pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    left: 50% !important;
    right: auto !important;
    margin-left: -75px !important;
}




/* 2. Show on hover */
.pf-topbar-item .pf-custom-dropdown:hover .pf-dropdown-list {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown list items */
.pf-custom-dropdown .pf-dropdown-list li {
    margin: 0;
    display: block;
    width: 100%;
}

/* Links inside the dropdown */
.pf-custom-dropdown .pf-dropdown-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: #333333;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Hover effect for links */
.pf-custom-dropdown .pf-dropdown-list a:hover {
    background-color: #f7f7f7;
    color: #000000;
}

/* Active/current language highlight */
.pf-custom-dropdown .pf-dropdown-list a.pf-lang-active,
.pf-custom-dropdown .pf-dropdown-list a[aria-current="true"] {
    background-color: #f0f5ff;
    color: var(--primary, #2563eb);
    font-weight: 600;
    pointer-events: none;
}

/* Small spacing for currency symbol */
.pf-custom-dropdown .pf-dropdown-list .curr-symbol {
    color: #999999;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}


/* Show dropdown on hover OR keyboard focus (Envato A11y Requirement) */
.pf-topbar-item .pf-custom-dropdown:hover .pf-dropdown-list,
.pf-topbar-item .pf-custom-dropdown:focus-within .pf-dropdown-list {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Optional: Add a nice outline when using the keyboard so users know where they are */
.pf-custom-dropdown .current-selected:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 2px;
}


/* Desktop main nav font size */
.pf-main-menu > li > a { font-size: 15px; }

/* ── IMPORTANT: Keep topbar sections visible on desktop, 
   only hide on mobile via the pf-desktop-only class 
   (already handled in header.php inline style) ── */

/* ===============================
   PAGE HEADER
================================ */

/*
 * Vertical centering via equal padding-top/bottom.
 * This works 100% reliably across all browsers — no % height issues,
 * no CSS variable inheritance bugs, no flex-child height problems.
 * The padding value comes from the PHP inline style override.
 */
.page-header {
	background-color: var(--pf-page-bg, #f8fafc); /* fallback; overridden by inline style */
	padding: 40px 20px;           /* fallback; overridden by inline style */
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

/* 404 page — .page-header sits inside .perfecto-404-section, remove its own bg so the section bg shows */
.perfecto-404-section .page-header {
	background-color: transparent;
	padding: 0;
}

.page-header-inner {
	width: 100%;
	max-width: var(--page-boxed-width, 1200px);
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.page-title {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.page-breadcrumbs {
	margin: 0;
	font-size: 14px;
	opacity: 0.8;
	text-align: center;
}

body.page-width-full .page-header-inner,
body.pf-page-width-full .page-header-inner {
	max-width: 100%;
	padding: 0 20px;
}

/* ===============================
   PAGE WIDTH
================================ */
.site-content {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.page-width-full .site-content  { max-width: 100%; }
.page-width-boxed .site-content { max-width: var(--page-boxed-width); }

/* ===============================
   WOOCOMMERCE – GENERAL
================================ */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product img {
	width: 100%;
	transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img { transform: scale(1.05); }

.woocommerce ul.products li.product .price {
	color: var(--accent);
	font-weight: 600;
}

.woocommerce a.button {
	background: var(--accent);
	color: #fff;
	border-radius: 6px;
	padding: 10px 16px;
}

.woocommerce a.button:hover { opacity: 0.9; }

.woocommerce span.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #ef4444;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 4px;
}

/* Hide default WC star rating (replaced by custom) */
.woocommerce .star-rating { display: none; }

/* Hide "View Cart" after add to cart */
.added_to_cart,
a.added_to_cart.wc-forward { display: none; }

/* ===============================
   SINGLE PRODUCT – LAYOUT
================================ */
.pf-single {
	background: #fff;
	padding: 20px 0 60px;
}

.product-type,
.product_type,
.woocommerce-product-type,
span.product-type-text { display: none; }

.pf-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Top grid */
.pf-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	margin-bottom: 60px;
	align-items: flex-start;
}

/* ===============================
   BREADCRUMB
================================ */
.pf-breadcrumb {
	font-size: 14px;
	color: #666;
}

.pf-breadcrumb a {
	color: #111;
	transition: color 0.3s;
}

.pf-breadcrumb a:hover { color: #000; }

.pf-breadcrumb .separator {
	margin: 0 8px;
	color: #999;
}

/* ===============================
   PRODUCT GALLERY
================================ */
.pf-gallery {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.pf-gallery-inner {
	display: flex;
	gap: 20px;
}

/* Thumbnails */
.pf-thumbnails {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 95px;
	min-width: 95px;
	order: 1;
}

.pf-thumbnails-wrapper {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 600px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 4px 0 4px 8px;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.pf-thumbnails-wrapper::-webkit-scrollbar { display: none; }

.pf-thumb {
	cursor: pointer;
	border-radius: 8px;
	overflow: hidden;
	border: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: #fff;
	flex-shrink: 0;
	position: relative;
	opacity: 0.5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pf-thumb::before {
	content: '';
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 0;
	background: #1a1a1a;
	border-radius: 2px;
	transition: all 0.3s ease;
	z-index: 10;
}

.pf-thumb:hover {
	opacity: 0.8;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pf-thumb.active {
	opacity: 1;
	transform: translateY(-4px) scale(1.03);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pf-thumb.active::before { height: 100%; }

.pf-thumb img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 1;
	transition: transform 0.3s ease;
}

.pf-thumb:hover img { transform: scale(1.05); }

/* Main image */
.pf-main-image {
	flex: 1;
	order: 2;
	max-width: 600px;
	border-radius: 8px;
	overflow: hidden;
	background: #f9fafb;
	height: auto;
	max-height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.pf-main-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	max-height: 650px;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Gallery nav arrows */
.pf-gallery-nav {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	z-index: 10;
}

.pf-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.95);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	pointer-events: auto;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
}

.pf-main-image:hover .pf-gallery-arrow { opacity: 1; }

.pf-gallery-arrow svg {
	width: 24px;
	height: 24px;
	color: #1a1a1a;
}

.pf-gallery-arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pf-gallery-arrow:active { transform: translateY(-50%) scale(0.95); }

.pf-gallery-arrow.disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

.pf-gallery-prev { left: 16px; }
.pf-gallery-next { right: 16px; }

/* Counter */
.pf-gallery-counter {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	z-index: 11;
	backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pf-main-image:hover .pf-gallery-counter { opacity: 1; }

/* Slide animations */
@keyframes slideInFromRight {
	from { transform: translateX(100%); }
	to   { transform: translateX(0); }
}

@keyframes slideInFromLeft {
	from { transform: translateX(-100%); }
	to   { transform: translateX(0); }
}

@keyframes slideInLeft {
	from { transform: translateX(30px); opacity: 0; }
	to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
	from { transform: translateX(-30px); opacity: 0; }
	to   { transform: translateX(0); opacity: 1; }
}

.pf-main-image img.pf-slide-left  { animation: slideInLeft  0.3s ease; }
.pf-main-image img.pf-slide-right { animation: slideInRight 0.3s ease; }

/* ===============================
   PRODUCT SUMMARY
================================ */
.pf-summary { position: relative; }

.pf-title {
	font-size: 32px;
	font-weight: 700;
	color: #111;
	margin: 0 0 8px 0;
	line-height: 1.2;
}

/* Price + Rating Row */
.pf-price-rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 24px 0;
	padding-bottom: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.pf-price {
	flex: 0 0 50%;
	max-width: 50%;
	margin: 0;
}

.pf-price .price {
	font-size: 28px;
	font-weight: 700;
	color: #111;
}

.pf-price .price del {
	font-size: 20px;
	color: #999;
	margin-right: 8px;
}

.pf-rating-stars {
	flex: 0 0 50%;
	max-width: 50%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.pf-rating-stars .woocommerce-product-rating {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #f9fafb;
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.pf-rating-stars .star-rating {
	position: relative;
	display: inline-flex;
	width: 100px;
	height: 20px;
	font-size: 0;
	overflow: hidden;
	flex-shrink: 0;
}

.pf-rating-stars .star-rating::before {
	content: "★★★★★";
	position: absolute;
	top: 0; left: 0;
	color: #d1d5db;
	font-size: 19px;
	letter-spacing: 4px;
	font-family: Arial, sans-serif;
	line-height: 1;
}

.pf-rating-stars .star-rating span {
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	overflow: hidden;
	font-size: 0;
}

.pf-rating-stars .star-rating span strong { display: none; }

.pf-rating-stars .star-rating span::before {
	content: "★★★★★";
	position: absolute;
	top: 0; left: 0;
	color: #fbbf24;
	font-size: 19px;
	letter-spacing: 4px;
	font-family: Arial, sans-serif;
	line-height: 1;
}

.pf-rating-stars .woocommerce-review-link {
	font-size: 16px;
	font-weight: 700;
	color: #6b7280;
	white-space: nowrap;
}

.pf-rating-stars .woocommerce-review-link:hover {
	color: #111;
	text-decoration: underline;
}

/* Viewers badge */
.pf-viewers {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
	border-radius: 8px;
	margin: 0 12px 24px 0;
	font-size: 14px;
	color: #1e40af;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
	transition: all 0.3s ease;
}

.pf-viewers:hover {
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
	transform: translateY(-2px);
}

.pf-viewers svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: #3b82f6;
}

.pf-viewers strong {
	color: #1e40af;
	font-weight: 800;
	font-size: 16px;
}

/* Stock status */
.pf-stock-status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 8px;
	margin: 0 0 24px 0;
	font-size: 14px;
	font-weight: 700;
	transition: all 0.3s ease;
}

.pf-stock-status:hover { transform: translateY(-2px); }

.pf-stock-status.in-stock {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	color: #065f46;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}

.pf-stock-status.in-stock svg {
	width: 20px;
	height: 20px;
	color: #10b981;
}

.pf-stock-status.out-of-stock {
	background: #fff;
	border: 2px solid #ef4444;
	color: #991b1b;
}

.pf-stock-status.out-of-stock svg {
	width: 20px;
	height: 20px;
	color: #ef4444;
}

/* ===============================
   VARIATIONS
================================ */
.pf-variations { margin-bottom: 24px; }
.pf-variation-item { margin-bottom: 20px; }

.pf-variation-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.pf-variation-label label {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-transform: capitalize; /* remove uppercase if you have it */

}

.pf-variation-label .selected-value {
	font-weight: 400;
	color: #666;
}

/* Hide native select */
select.pf-hidden-select,
.pf-hidden-select { display: none; }

/* WC variation table reset */
.variations_form table.variations {
	border: none;
	margin-bottom: 0;
}

.variations_form table.variations tr,
.variations_form table.variations td,
.variations_form table.variations th {
	border: none;
	padding: 0;
	display: block;
}

.variations_form table.variations tr { margin-bottom: 20px; }

.variations_form table.variations label {
	font-size: 15px;
	font-weight: 600;
	color: #111;
	margin-bottom: 12px;
	display: block;
}

.variations_form .variations select {
	width: 100%;
	padding: 12px 40px 12px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	color: #111;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance:none;-moz-appearance:none;appearance: none;
	cursor: pointer;
	transition: all 0.3s;
}

.variations_form .variations select:hover,
.variations_form .variations select:focus {
	border-color: #0a0a0a;
	outline: none;
}

.variations_form .reset_variations {
	font-size: 14px;
	color: #666;
	margin-top: 12px;
	display: inline-block;
}

.variations_form .reset_variations:hover {
	color: #111;
	text-decoration: underline;
}

.variations_form .single_variation_wrap { margin-top: 0; }
.variations_form .single_variation .price {
	font-size: 24px;
	font-weight: 700;
	color: #111;
	margin-bottom: 12px;
}

.variations_form .out-of-stock { color: #c62828; font-weight: 600; }
.variations_form .woocommerce-variation-add-to-cart { margin-top: 16px; }
/* Do NOT hide .quantity inside variation ATC — pf-qty handles layout */
.variations_form .woocommerce-variation-add-to-cart .quantity { display: flex; }

/* Color swatches */
.pf-color-swatches {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.pf-color-swatch {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    cursor: pointer;
    display: inline-block;
}

.pf-color-swatch:hover {
	transform: scale(1.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pf-color-swatch.selected,
.pf-color-swatch.active {
    outline: 2px solid #111;
    border-color: #fff; /* creates the gap ring effect */
    transform: scale(1.1);
}

.pf-color-swatch .checkmark {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	opacity: 0;
	transition: opacity 0.2s ease;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.pf-color-swatch .checkmark {
    display: none !important;
}

.pf-color-swatch.selected .checkmark,
.pf-color-swatch.active .checkmark { opacity: 1; display: block; }

/* Size buttons */
.pf-size-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.pf-size-btn,
.pf-attribute-btn {
 min-width: 52px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;      /* softer corners */
    font-size: 12px;
    font-weight: 550;        /* less heavy */
    text-transform: uppercase;
    background: #fff;
    color: #111;
            cursor: pointer;

}

.pf-size-btn:hover,
.pf-attribute-btn:hover {
	border-color: #1a1a1a;
	background: #f8f9fa;
}

.pf-size-btn.selected,
.pf-size-btn.active,
.pf-attribute-btn.active {
 background: #fff;
    border-color: #0a0a0a;
    border-width: 2px;
    color: #111;
}

.pf-size-btn.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.reset_variations {
	font-size: 13px;
	color: #999;
	text-decoration: underline;
	cursor: pointer;
	margin-top: 8px;
}

.reset_variations:hover { color: #1a1a1a; }

.pf-color-swatch,
.pf-size-btn,
.pf-attribute-btn,
button {
    -webkit-user-select:none;user-select: none;
    -webkit-user-select: none;
}

/* Size chart link */
.pf-variation-item.has-size-chart .pf-variation-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 12px;
}

.pf-variation-item.has-size-chart .pf-variation-label label { margin: 0; }

.pf-size-chart-trigger {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.pf-size-chart-trigger:hover {
	color: #111;
	text-decoration: underline;
}

/* ===============================
   CART FORM
================================ */
.pf-cart-form { margin-bottom: 20px; }

.pf-cart-actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: stretch;
	width: 100%;
	margin-bottom: 12px;
}

/* Quantity box */
.pf-cart-actions .quantity {
	flex: 0 0 120px;
	height: var(--pf-btn-h);
	display: flex;
	border: 1px solid #e2e8f0;
	border-radius: var(--pf-radius);
	background: #fff;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.pf-cart-actions .quantity .qty-btn {
	flex: 0 0 36px;
	background: #f8fafc;
	border: none;
	font-size: 20px;
	font-weight: 600;
	color: #111;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	transition: background 0.2s;
}

.pf-cart-actions .quantity .qty-btn:hover { background: #e2e8f0; }

.pf-cart-actions .quantity input.qty {
	flex: 1;
	width: 100%;
	height: 100%;
	border: none;
	border-left: 1px solid #e2e8f0;
	border-right: 1px solid #e2e8f0;
	border-radius: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin: 0;
	padding: 0;
	background: #fff;
	-moz-appearance: textfield;
}

.pf-cart-actions .quantity input.qty::-webkit-outer-spin-button,
.pf-cart-actions .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add to cart button */
.pf-cart-actions .single_add_to_cart_button {
	flex: 1;
	height: var(--pf-btn-h);
	background: var(--pf-atc-bg, #0a0a0a);
	color: var(--pf-atc-txt, #fff);
	border: 1px solid var(--pf-atc-bg, #0a0a0a);
	border-radius: var(--pf-radius);
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pf-cart-actions .single_add_to_cart_button:hover {
	background: var(--pf-atc-h-bg, #0a0a0a);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.pf-cart-actions .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Wishlist button */
/* ================================================================
   WISHLIST BUTTON — GLOBAL BASE
   Default:  white bg, red border, outline heart
   Active:   light-red bg, red border, filled heart
   This is the single source of truth. shop.css only adds .action-btn overrides.
================================================================ */
.pf-wishlist-btn {
	width: var(--pf-btn-h);
	height: var(--pf-btn-h);
	background: #ffffff;
	border: 1.5px solid #ef4444;
	border-radius: var(--pf-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s ease;
	flex-shrink: 0;
	padding: 0;
}

.pf-wishlist-btn svg {
	width: 20px;
	height: 20px;
	fill: transparent;
	stroke: #ef4444;
	stroke-width: 2;
	transition: all 0.25s ease;
}

.pf-wishlist-btn:hover {
	background: #fef2f2;
	border-color: #ef4444;
	transform: scale(1.06);
}

/* Active / added / in-wishlist — filled heart, light red bg */
.pf-wishlist-btn.added,
.pf-wishlist-btn.in-wishlist,
.pf-wishlist-btn.active {
	background: #fef2f2;
	border-color: #ef4444;
}

.pf-wishlist-btn.added svg,
.pf-wishlist-btn.in-wishlist svg,
.pf-wishlist-btn.active svg {
	fill: #ef4444;
	stroke: #ef4444;
}

/* Buy now */
.pf-buy-now {
    font-family: var(--font, system-ui);
	width: 100%;
	height: var(--pf-btn-h);
	background: #ef4444;
	color: #fff;
	border: 2px solid #ef4444;
	border-radius: var(--pf-radius);
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 4px 0 0 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pf-buy-now:hover {
	background: #c62828;
	border-color: #c62828;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

/* Action buttons row */
.pf-action-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 24px 0;
	padding: 20px 0;
	border-top: 1px solid #e5e7eb;
}

.pf-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pf-action-btn:hover {
	border-color: #3b82f6;
	color: #3b82f6;
	background: #eff6ff;
	transform: translateY(-2px);
}

.pf-action-btn svg { width: 18px; height: 18px; }

/* Qty label hidden */
.pf-qty-label { display: none; }

/* ===============================
   DELIVERY INFO
================================ */
.pf-delivery-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 30px 0;
}

.pf-info-item {
	background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.pf-info-item::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pf-info-item:hover {
	border-color: #3b82f6;
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
	transform: translateY(-4px);
}

.pf-info-item:hover::before { opacity: 1; }

.pf-info-item svg {
	width: 32px;
	height: 32px;
	color: #3b82f6;
	margin-bottom: 12px;
	transition: transform 0.3s ease;
}

.pf-info-item:hover svg { transform: scale(1.1) rotate(5deg); }

.pf-info-item strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin-bottom: 6px;
}

/* Payment section */
.pf-payment {
	background: linear-gradient(135deg, #f9fafb 0%, #fff 100%);
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	margin: 30px 0;
	text-align: center;
}

.pf-payment strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin-bottom: 16px;
}

.pf-payment .payment-icons {
	margin: 16px 0;
	padding: 12px;
	background: #fff;
	border-radius: 10px;
}

.pf-payment .payment-icons img { max-width: 100%; height: auto; }
.pf-payment .payment-text { font-size: 13px; color: #6b7280; margin-top: 12px; }

/* Meta */
.pf-meta {
	font-size: 14px;
	color: #666;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.pf-meta .sku_wrapper,
.pf-meta .posted_in,
.pf-meta .tagged_as {
	margin: 8px 0;
	display: inline-block;
}

.pf-meta .sku_wrapper::after,
.pf-meta .posted_in::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 12px;
	background: #e5e7eb;
	margin: 0 12px;
	vertical-align: middle;
}

.pf-meta a { color: #666; transition: color 0.3s; }
.pf-meta a:hover { color: #111; }

/* ===============================
   PRODUCT TABS
================================ */
.pf-tabs { margin-bottom: 60px; clear: both; }

.woocommerce-tabs .wc-tabs {
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: 2px solid #e5e7eb;
	margin: 0 0 30px 0;
	padding: 0;
	list-style: none;
}

.woocommerce-tabs .wc-tabs li {
	margin: 0;
	padding: 0;
	float: none;
	display: inline-block;
}

.woocommerce-tabs .wc-tabs li::before,
.woocommerce-tabs .wc-tabs li::after { display: none; }

.woocommerce-tabs .wc-tabs li a {
	display: block;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 600;
	color: #9ca3af;
	border: none;
	background: transparent;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
}

.woocommerce-tabs .wc-tabs li a:hover {
	color: #111;
	border-bottom-color: #e5e7eb;
}

.woocommerce-tabs .wc-tabs li.active a {
	color: #111;
	border-bottom-color: #000;
}

.pf-tabs .woocommerce-Tabs-panel { padding: 30px 0; }
.pf-tabs .woocommerce-Tabs-panel h2 { font-size: 24px; margin-bottom: 20px; font-weight: 600; }
.pf-tabs .woocommerce-Tabs-panel p {
	font-size: 15px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 16px;
}

/* Additional Information Tab */
.woocommerce-Tabs-panel--additional_information {
	padding: 40px 20px;
	max-width: 900px;
	margin: 0 auto;
}

.woocommerce-Tabs-panel--additional_information h2 {
	font-size: 24px;
	font-weight: 700;
	color: #111;
	margin: 0 0 32px 0;
	text-align: center;
}

.woocommerce-product-attributes {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	border: none;
	background: transparent;
	border-collapse: separate;
	border-spacing: 0 12px;
}

.woocommerce-product-attributes tbody { display: block; }

.woocommerce-product-attributes tr {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 180px 1fr;
	transition: all 0.2s ease;
	margin-bottom: 12px;
	background: #fff;
}

.woocommerce-product-attributes tr:hover {
	border-color: #d1d5db;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.woocommerce-product-attributes th {
	background: #f9fafb;
	color: #111;
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	padding: 18px 24px;
	border: none;
	display: flex;
	align-items: center;
	border-right: 1px solid #e5e7eb;
}

.woocommerce-product-attributes td {
	background: #fff;
	color: #374151;
	font-size: 15px;
	font-weight: 500;
	padding: 18px 24px;
	border: none;
	display: flex;
	align-items: center;
}

.woocommerce-product-attributes td p { margin: 0; }

/* ===============================
   STAR RATINGS (GLOBAL)
================================ */
.pf-star-rating {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.pf-star {
	font-size: 18px;
	color: #d1d5db;
	line-height: 1;
}

.pf-star.filled { color: #fbbf24; }

.pf-star.half {
	background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pf-rating-count { font-size: 13px; color: #6b7280; margin-left: 4px; }

/* ===============================
   REVIEWS
================================ */
/* ===============================
   REVIEWS — Perfecto Premium
================================ */

/* Layout */
.pf-reviews {
	margin: 32px 0 0;
}
.pf-reviews__layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 36px;
	align-items: start;
}
@media (max-width: 768px) {
	.pf-reviews__layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ── Sidebar ── */
.pf-reviews__sidebar {
	position: sticky;
	top: 80px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (max-width: 768px) {
	.pf-reviews__sidebar { position: static; }
}

/* Summary card */
.pf-rv-summary {
	background: var(--pf-bg-alt, #f9fafb);
	border: 1px solid var(--pf-border, #e5e7eb);
	border-radius: 16px;
	padding: 22px 20px;
	text-align: center;
}
.pf-rv-summary__score {
	font-size: 52px;
	font-weight: 900;
	line-height: 1;
	color: var(--pf-dark, #0a0a0a);
	margin-bottom: 8px;
	font-family: var(--pf-font);
}
.pf-rv-summary__stars {
	display: flex;
	justify-content: center;
	gap: 3px;
	margin-bottom: 8px;
}
.pf-rv-star { flex-shrink: 0; }
.pf-rv-star--filled polygon { fill: #fbbf24; stroke: #fbbf24; }
.pf-rv-star--half polygon  { fill: url(#pf-star-half); stroke: #fbbf24; }
.pf-rv-star--empty polygon { fill: none; stroke: #d1d5db; }
.pf-rv-summary__count {
	font-size: 12px;
	font-weight: 600;
	color: var(--pf-muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Rating bars */
.pf-rv-bars {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pf-rv-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	padding: 6px 8px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s, transform 0.12s;
	width: 100%;
	text-align: left;
	font-family: var(--pf-font);
}
.pf-rv-bar:not(.is-disabled):hover {
	background: var(--pf-bg-alt, #f3f4f6);
}
.pf-rv-bar.is-active {
	background: var(--pf-accent-light, #fff1f2);
	transform: none;
}
.pf-rv-bar.is-active .pf-rv-bar__label,
.pf-rv-bar.is-active .pf-rv-bar__count {
	color: var(--pf-accent, #e53935);
	font-weight: 700;
}
.pf-rv-bar.is-active .pf-rv-bar__fill {
	background: var(--pf-accent, #e53935);
}
.pf-rv-bar.is-disabled {
	opacity: 0.4;
	cursor: default;
}
.pf-rv-bar__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--pf-muted, #6b7280);
	min-width: 30px;
	flex-shrink: 0;
}
.pf-rv-bar__track {
	flex: 1;
	height: 7px;
	background: var(--pf-border, #e5e7eb);
	border-radius: 20px;
	overflow: hidden;
}
.pf-rv-bar__fill {
	height: 100%;
	background: linear-gradient(90deg, #fbbf24, #f59e0b);
	border-radius: 20px;
	transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.pf-rv-bar__count {
	font-size: 11px;
	font-weight: 700;
	color: var(--pf-muted, #9ca3af);
	min-width: 22px;
	text-align: right;
	flex-shrink: 0;
}

/* Clear filter button */
.pf-rv-clear {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 9px;
	background: #fff;
	border: 1px solid var(--pf-border, #e5e7eb);
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--pf-muted, #6b7280);
	cursor: pointer;
	transition: all 0.15s;
	font-family: var(--pf-font);
	letter-spacing: 0.3px;
}
.pf-rv-clear:hover { background: var(--pf-bg-alt, #f9fafb); color: var(--pf-dark); }
.pf-rv-clear svg { color: var(--pf-accent, #e53935); flex-shrink: 0; }

/* Write review button */
.pf-rv-write-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	background: var(--pf-dark, #0a0a0a);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.18s, transform 0.15s;
	font-family: var(--pf-font);
	letter-spacing: 0.3px;
}
.pf-rv-write-btn:hover { background: #1f2937; transform: translateY(-1px); }
.pf-rv-write-btn.is-cancel { background: var(--pf-muted, #6b7280); }

/* ── Review list ── */
.pf-rv-list { display: flex; flex-direction: column; }
.pf-rv-list .commentlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }

/* Individual review card */
.commentlist .comment {
	background: #fff;
	border: 1px solid var(--pf-border, #e5e7eb);
	border-radius: 16px;
	padding: 20px;
	list-style: none;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.commentlist .comment:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.07);
	border-color: #d1d5db;
}
.comment-text { padding: 0; border: none; background: transparent; }

/* Avatar */
.avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	float: left;
	margin-right: 14px;
	border: 2px solid var(--pf-border, #e5e7eb);
	background: var(--pf-bg-alt, #f3f4f6);
	flex-shrink: 0;
}
.woocommerce-review__author {
	font-size: 14px; font-weight: 700;
	color: var(--pf-dark, #0a0a0a);
	display: block; margin: 0 0 2px;
}
.woocommerce-review__published-date {
	font-size: 12px; color: var(--pf-muted, #9ca3af);
	display: block; margin: 0 0 10px;
}

/* WooCommerce star rating */
.commentlist .star-rating {
	position: relative; display: inline-block;
	width: 80px; height: 16px;
	font-size: 0; overflow: hidden; margin: 0 0 10px;
}
.commentlist .star-rating::before {
	content: "★★★★★";
	position: absolute; top: 0; left: 0;
	color: #e5e7eb; font-size: 16px;
	letter-spacing: 1px; font-family: Arial, sans-serif;
}
.commentlist .star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; }
.commentlist .star-rating span strong { display: none; }
.commentlist .star-rating span::before {
	content: "★★★★★";
	position: absolute; top: 0; left: 0;
	color: #fbbf24; font-size: 16px;
	letter-spacing: 1px; font-family: Arial, sans-serif;
}
.woocommerce-review__verified {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11px; color: #10b981; font-weight: 700;
	background: #d1fae5; padding: 3px 8px; border-radius: 6px;
	margin: 0 0 10px; letter-spacing: 0.2px;
}
.woocommerce-review__verified::before { content: "✓"; }
.description { font-size: 14px; line-height: 1.7; color: #374151; margin: 0; clear: both; }
.description p { margin: 0 0 10px; }
.description p:last-child { margin-bottom: 0; }

/* ── Review media gallery (on each card) ── */
.pf-rv-media-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.pf-rv-media-item {
	position: relative;
	width: 72px; height: 72px;
	border-radius: 10px;
	overflow: hidden;
	border: 1.5px solid var(--pf-border, #e5e7eb);
	background: var(--pf-bg-alt, #f3f4f6);
	padding: 0; cursor: pointer;
	transition: transform 0.18s, box-shadow 0.18s;
	flex-shrink: 0;
}
.pf-rv-media-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 14px rgba(0,0,0,0.14);
	border-color: var(--pf-dark, #0a0a0a);
}
.pf-rv-media-thumb {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.pf-rv-media-play {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,0.32);
}
@media (max-width: 768px) {
	.pf-rv-media-item { width: 60px; height: 60px; }
}

/* ── Empty states ── */
.pf-rv-empty-filter {
	display: none;
	flex-direction: column; align-items: center; justify-content: center;
	padding: 40px 20px; text-align: center; gap: 12px;
	color: var(--pf-muted, #9ca3af);
}
.pf-rv-empty-filter svg { opacity: 0.35; }
.pf-rv-empty-filter p { font-size: 14px; margin: 0; }

.pf-rv-empty {
	text-align: center;
	padding: 48px 24px;
	background: var(--pf-bg-alt, #f9fafb);
	border-radius: 16px;
	border: 1px solid var(--pf-border, #e5e7eb);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pf-rv-empty svg { opacity: 0.3; color: var(--pf-muted); }
.pf-rv-empty h3 { font-size: 18px; font-weight: 800; color: var(--pf-dark); margin: 0; }
.pf-rv-empty p  { font-size: 14px; color: var(--pf-muted); margin: 0; }

.pf-rv-end {
	text-align: center; font-size: 12px;
	color: var(--pf-muted, #9ca3af); margin: 20px 0 0;
	letter-spacing: 0.4px;
}

/* ── Pagination ── */
.pf-rv-pagination { text-align: center; margin-top: 20px; }
.pf-show-more-reviews {
	background: #fff; border: 1.5px solid var(--pf-border, #e5e7eb);
	color: var(--pf-dark); padding: 12px 28px; border-radius: 10px;
	font-size: 14px; font-weight: 700; cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px;
	transition: all 0.18s; font-family: var(--pf-font);
}
.pf-show-more-reviews:hover { background: var(--pf-bg-alt); border-color: #d1d5db; }

/* ── Review form ── */
.pf-rv-form-wrap {
	margin-top: 24px;
	padding: 24px;
	background: var(--pf-bg-alt, #f9fafb);
	border-radius: 16px;
	border: 1px solid var(--pf-border, #e5e7eb);
}
.pf-rv-form__title {
	font-size: 18px; font-weight: 800;
	color: var(--pf-dark); margin: 0 0 20px;
}

/* Star picker */
.pf-rv-star-picker { margin-bottom: 16px; }
.pf-rv-star-picker > label {
	display: block; font-size: 13px; font-weight: 700;
	color: var(--pf-dark); margin-bottom: 10px;
}
.pf-star-input {
	display: flex; gap: 4px;
}
.pf-star-input__star {
	background: none; border: none; cursor: pointer;
	padding: 2px; transition: transform 0.12s;
	width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
}
.pf-star-input__star svg {
	width: 28px; height: 28px;
	transition: fill 0.14s, stroke 0.14s;
}
.pf-star-input__star:hover,
.pf-star-input__star.is-hover { transform: scale(1.15); }
.pf-star-input__star.is-hover svg,
.pf-star-input__star.is-selected svg {
	fill: #fbbf24; stroke: #f59e0b;
}

/* Form fields */
#review_form_wrapper #respond { padding: 0; margin: 0; }
#review_form_wrapper .comment-reply-title { display: none; } /* title via .pf-rv-form__title */
#review_form_wrapper p { margin: 0 0 14px; }
#review_form_wrapper label {
	display: block; font-size: 12px; font-weight: 700;
	color: var(--pf-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px;
}
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"] {
	width: 100%; padding: 12px 14px;
	border: 1.5px solid var(--pf-border, #e5e7eb);
	border-radius: 10px; font-size: 14px;
	background: #fff; font-family: var(--pf-font);
	transition: border-color 0.18s, box-shadow 0.18s;
	box-sizing: border-box;
}
#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus {
	border-color: var(--pf-dark); outline: none;
	box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
#review_form_wrapper textarea#comment {
	width: 100%; min-height: 120px; padding: 12px 14px;
	border: 1.5px solid var(--pf-border, #e5e7eb);
	border-radius: 10px; font-size: 14px; resize: vertical;
	background: #fff; font-family: var(--pf-font);
	transition: border-color 0.18s, box-shadow 0.18s;
	box-sizing: border-box;
}
#review_form_wrapper textarea#comment:focus {
	border-color: var(--pf-dark); outline: none;
	box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
#review_form_wrapper .form-submit { margin: 0; }
#review_form_wrapper .form-submit input[type="submit"] {
	width: 100%; padding: 13px 24px;
	background: var(--pf-dark, #0a0a0a); color: #fff;
	border: none; border-radius: 8px;
	font-size: 15px; font-weight: 800; cursor: pointer;
	font-family: var(--pf-font);
	transition: background 0.18s, transform 0.15s;
}
#review_form_wrapper .form-submit input[type="submit"]:hover {
	background: #1f2937; transform: translateY(-1px);
}
#review_form_wrapper .required { color: var(--pf-accent, #e53935); }

/* Media upload area */
.pf-rv-media-upload { margin-bottom: 16px; }
.pf-rv-media-label {
	display: block; font-size: 12px; font-weight: 700;
	color: var(--pf-dark); margin-bottom: 8px;
	text-transform: uppercase; letter-spacing: 0.4px;
}
.pf-rv-media-hint { font-weight: 400; color: var(--pf-muted); text-transform: none; }
.pf-rv-media-preview {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin-bottom: 10px;
}
.pf-rv-thumb {
	position: relative; width: 68px; height: 68px;
	border-radius: 10px; overflow: hidden;
	border: 1.5px solid var(--pf-border, #e5e7eb);
	background: var(--pf-bg-alt, #f3f4f6);
	flex-shrink: 0;
}
.pf-rv-thumb__media {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.pf-rv-thumb__play {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,0.3); pointer-events: none;
}
.pf-rv-thumb__remove {
	position: absolute; top: 4px; right: 4px;
	width: 20px; height: 20px;
	background: rgba(0,0,0,0.6); border: none;
	border-radius: 50%; cursor: pointer; padding: 0;
	display: flex; align-items: center; justify-content: center;
	transition: background 0.14s;
}
.pf-rv-thumb__remove:hover { background: var(--pf-accent, #e53935); }
.pf-rv-media-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 16px;
	background: #fff; border: 1.5px solid var(--pf-border, #e5e7eb);
	border-radius: 10px; font-size: 13px; font-weight: 700;
	color: var(--pf-dark); cursor: pointer;
	transition: all 0.15s; font-family: var(--pf-font);
}
.pf-rv-media-btn:hover { background: var(--pf-bg-alt); border-color: var(--pf-dark); }

/* ── Lightbox ── */
.pf-rv-lightbox {
	position: fixed; inset: 0; z-index: 99999;
	display: none; align-items: center; justify-content: center;
}
.pf-rv-lb__overlay {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.92);
}
.pf-rv-lb__box {
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; padding: 48px 60px;
	box-sizing: border-box;
}
.pf-rv-lb__media {
	max-width: 90vw; max-height: 85vh;
	display: flex; align-items: center; justify-content: center;
}
.pf-rv-lb__img {
	max-width: 100%; max-height: 85vh;
	border-radius: 8px; display: block;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.pf-rv-lb__video {
	max-width: 90vw; max-height: 85vh;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.pf-rv-lb__close {
	position: fixed; top: 16px; right: 20px;
	background: rgba(255,255,255,0.1); border: none;
	width: 44px; height: 44px; border-radius: 50%;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background 0.18s; z-index: 2;
}
.pf-rv-lb__close:hover { background: rgba(255,255,255,0.2); }
.pf-rv-lb__prev,
.pf-rv-lb__next {
	position: fixed; top: 50%; transform: translateY(-50%);
	background: rgba(255,255,255,0.1); border: none;
	width: 48px; height: 48px; border-radius: 50%;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background 0.18s; z-index: 2;
}
.pf-rv-lb__prev { left: 16px; }
.pf-rv-lb__next { right: 16px; }
.pf-rv-lb__prev:hover,
.pf-rv-lb__next:hover { background: rgba(255,255,255,0.22); }
.pf-rv-lb__dots {
	position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px; z-index: 2;
}
.pf-rv-lb__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: rgba(255,255,255,0.35); cursor: pointer;
	transition: background 0.18s, transform 0.18s;
}
.pf-rv-lb__dot.is-active { background: #fff; transform: scale(1.3); }
@media (max-width: 640px) {
	.pf-rv-lb__box { padding: 60px 8px 48px; }
	.pf-rv-lb__prev { left: 6px; }
	.pf-rv-lb__next { right: 6px; }
}


/* ===============================
   GROUPED PRODUCTS
================================ */
.pf-grouped-products {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.pf-grouped-item {
	display: grid;
	grid-template-columns: 80px 1fr auto auto auto;
	gap: 16px;
	align-items: center;
	padding: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.pf-grouped-item:hover {
	border-color: #d1d5db;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pf-grouped-item.out-of-stock { opacity: 0.6; }

.pf-grouped-image { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; }
.pf-grouped-image img { width: 100%; height: 100%; object-fit: cover; }

.pf-grouped-info { display: flex; flex-direction: column; gap: 6px; }

.pf-grouped-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.pf-grouped-title a { color: #1a1a1a; }

.pf-stock-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 4px;
	width: fit-content;
}

.pf-stock-badge.in-stock  { color: #10b981; background: #ecfdf5; }
.pf-stock-badge.out-of-stock { color: #ef4444; background: #fef2f2; }

.pf-grouped-price { font-size: 18px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.pf-grouped-price del { color: #9ca3af; font-size: 14px; font-weight: 400; margin-right: 6px; }
.pf-grouped-price ins { text-decoration: none; color: #ef4444; }

/* Grouped qty */
.pf-quantity-input {
	display: flex;
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	width: 130px;
	height: 46px;
}

.pf-qty-btn {
	width: 38px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9fafb;
	border: none;
	cursor: pointer;
	color: #6b7280;
	flex-shrink: 0;
}

.pf-qty-input {
	width: 48px;
	height: 46px;
	border: none;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	-moz-appearance: textfield;
	flex-shrink: 0;
}

.pf-qty-input::-webkit-outer-spin-button,
.pf-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pf-qty-input:focus { outline: none; }

/* Grouped wishlist */
.pf-grouped-wishlist .pf-wishlist-btn { width: 52px; height: 46px; border-radius: 8px; }
.pf-grouped-wishlist .pf-wishlist-btn svg { width: 20px; height: 20px; }

/* Grouped form action buttons */
.pf-grouped-form .pf-product-actions {
	display: flex;
	gap: 10px;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 24px;
}

.pf-grouped-form .pf-add-to-cart,
.pf-grouped-form .pf-buy-now {
	flex: 1;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pf-grouped-form .pf-add-to-cart {
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
}

.pf-grouped-form .pf-add-to-cart:hover { background: #1a1a1a; color: #fff; }

.pf-grouped-form .pf-buy-now {
	background: var(--pf-buy-bg) !important;
	color: var(--pf-buy-txt) !important;
	border: 2px solid var(--pf-buy-bg) !important;
}

.pf-grouped-form .pf-buy-now:hover { background: var(--pf-buy-h-bg) !important; }

/* Product actions */
.pf-product-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 24px 0;
	width: 100%;
}

.pf-product-actions .pf-add-to-cart,
.pf-product-actions .pf-buy-now {
	flex: 1;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0 24px;
}

.pf-product-actions .pf-add-to-cart {
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
}

.pf-product-actions .pf-add-to-cart:hover { background: #1a1a1a; color: #fff; }

.pf-product-actions .pf-buy-now {
	background: var(--pf-buy-bg) !important;
	color: var(--pf-buy-txt) !important;
	border: 2px solid var(--pf-buy-bg) !important;
}

.pf-product-actions .pf-buy-now:hover {
	background: var(--pf-buy-h-bg) !important;
	border-color: var(--pf-buy-h-bg) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===============================
   MODALS
================================ */
.pf-modal {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.pf-modal.active { display: flex; }

.pf-modal-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.pf-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 700px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	padding: 40px;
	z-index: 1;
}

.pf-modal-close {
	position: absolute;
	top: 16px; right: 16px;
	background: none;
	border: none;
	font-size: 32px;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
}

.pf-modal-close:hover { color: #000; }
.pf-modal-body h3 { font-size: 24px; margin-bottom: 20px; font-weight: 600; }

.pf-question-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pf-question-form input,
.pf-question-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
}

.pf-question-form button {
	background: var(--pf-pri-bg) !important;
	color: var(--pf-pri-txt) !important;
	border: none;
	padding: 14px 24px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
}

.pf-question-form button:hover { background: var(--pf-pri-h-bg) !important; }

/* ===============================
   RELATED PRODUCTS
================================ */
.related.products,
.upsells.products { margin: 60px 0; clear: both; }

.related.products > h2,
.upsells.products > h2 { font-size: 28px; font-weight: 700; margin: 0 0 30px 0; color: #111; }

/* ===============================
   FOOTER – PERFECTO
================================ */
.site-footer {
	width: 100%;
	font-family: var(--font-body, 'Inter', sans-serif);
	font-size: var(--font-size-base, 14px);
	font-weight: var(--font-weight-body, 400);
	line-height: var(--line-height-body, 1.5);
	margin-top: 60px;
	color: #999;
}

.site-footer * { box-sizing: border-box; }
.site-footer a { text-decoration: none; color: inherit; transition: 0.3s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

.pf-wrap {	max-width: var(--header-max-width); padding: 0 30px; margin: 0 auto; }

/* Table layout */
.pf-footer-table {
	background: linear-gradient(180deg, #0a0a0a, #222222);
	border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.pf-newsletter {
	border-bottom: 2px solid rgba(255, 255, 255, 0.12);
	padding: 30px 0;
}

/* Newsletter variants — TABLE FOOTER */
/* Style 1: Split */
.pf-news-split { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.pf-news-split > div { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.pf-news-split strong { font-size: 18px; font-weight: 700; color: #fff; }
.pf-news-split span { font-size: 13px; color: #777; }
.pf-news-split form { display: flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 4px 4px 4px 16px; flex: 1; min-width: 0; max-width: 520px; }
.pf-news-split input { background: none; border: 0; color: #fff; padding: 9px 0; flex: 1; outline: 0; font-size: 14px; min-width: 0; }
.pf-news-split input::placeholder { color: #555; }
.pf-news-split button { background: #fff; color: #000; border: 0; padding: 9px 22px; border-radius: 6px; font-weight: 700; font-size: 12px; text-transform: uppercase; cursor: pointer; white-space: nowrap; flex-shrink: 0; letter-spacing: 0.5px; }
.pf-news-split button:hover { background: #e0e0e0; }

/* Style 2: Centered */
.pf-news-center { text-align: center; max-width: 580px; margin: 0 auto; }
.pf-news-center strong { font-size: 20px; font-weight: 700; color: #fff; display: block; margin-bottom: 18px; }
.pf-news-center form { display: flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 50px; padding: 5px; margin-top: 18px; }
.pf-news-center input { background: none; border: 0; color: #fff; padding: 10px 20px; flex: 1; outline: 0; min-width: 0; }
.pf-news-center input::placeholder { color: #555; }
.pf-news-center button { background: #fff; color: #000; padding: 10px 28px; border-radius: 50px; font-weight: 700; font-size: 12px; text-transform: uppercase; border: 0; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.pf-news-center button:hover { background: #e0e0e0; }

/* Style 3: Inline */
.pf-news-inline { display: flex; align-items: center; gap: 24px; }
.pf-news-inline i { font-size: 22px; color: #fff; flex-shrink: 0; }
.pf-news-inline .pf-news-inline-text { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
.pf-news-inline span.pf-news-label { font-size: 15px; color: #fff; font-weight: 700; white-space: nowrap; display: block; }
.pf-news-inline span.pf-news-sub { font-size: 12px; color: #666; white-space: nowrap; display: block; }
/* Keep old single-span support */
.pf-news-inline > span { font-size: 14px; color: #fff; font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.pf-news-inline form { display: flex; align-items: center; width: 420px; flex-shrink: 0; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 4px 4px 4px 16px; min-width: 0; }
.pf-news-inline input { background: none; border: 0; color: #fff; padding: 9px 0; flex: 1; outline: 0; font-size: 14px; min-width: 0; }
.pf-news-inline input::placeholder { color: #555; }
.pf-news-inline button { background: #fff; color: #000; padding: 9px 22px; border-radius: 6px; font-weight: 700; font-size: 12px; border: 0; cursor: pointer; white-space: nowrap; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.pf-news-inline button:hover { background: #e0e0e0; }

/* Main grid */
.pf-main { padding: 45px 0; }
.pf-grid { display: grid; gap: 0; }
.pf-cols-4 { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
.pf-cols-3 { grid-template-columns: 1.8fr 1.2fr 1.2fr; }
.pf-cols-2 { grid-template-columns: 1.6fr 1fr; }

.pf-col {
	display: flex;
	flex-direction: column;
	padding: 0 40px;
	border-right: 2px solid rgba(255, 255, 255, 0.12);
	min-height: 200px;
}

.pf-col:first-child { padding-left: 0; }
.pf-col:last-child  { border-right: none; padding-right: 0; }

.pf-col h4 {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #fff;
	margin: 0 0 20px;
	opacity: 0.9;
}

.pf-logo { max-width: 140px; height: auto; margin-bottom: 20px; display: block; }
.pf-logo-text { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 20px; text-transform: uppercase; }
.pf-about { margin: 0 0 22px; color: #888; font-size: 13px; line-height: 1.6; max-width: auto; }



.pf-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }

.pf-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: #aaa; }
.pf-contact-item i { width: 16px; font-size: 13px; color: #fff; margin-top: 2px; }
.pf-contact-item a { color: #aaa; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 1px; }
.pf-contact-item a:hover { color: #fff; border-color: #fff; }

.pf-menu { display: flex; flex-direction: column; gap: 2px; }
.pf-menu a { padding: 6px 0; display: inline-block; font-size: 13px; transition: 0.3s; }
.pf-menu a:hover { transform: translateX(4px); }

.pf-social { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-social a {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	background: rgba(255,255,255,0.03);
}

.pf-social a:hover {
	background: #fff;
	color: #000;
	border-color: #fff;
	transform: translateY(-3px);
}

/* Bottom bar */
.pf-bottom {
	border-top: 2px solid rgba(255, 255, 255, 0.12);
	padding: 25px 0;
}

.pf-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 25px;
}

.pf-bottom-right { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.pf-copy { font-size: 12px; color: #666; }

.pf-apps { display: flex; gap: 12px; }
.pf-apps a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}
.pf-apps a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.pf-apps i { font-size: 16px; }

.pf-payments { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-payments img { height: 24px; background: #fff; padding: 3px 7px; border-radius: 4px; opacity: 0.9; }
.pf-payments img:hover { opacity: 1; transform: translateY(-2px); }

/* Card layout */
.pf-footer-card { padding: 0 20px 40px; position: relative; }

.pf-card {
	background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
	border-radius: 20px;
	padding: 60px 45px 35px;
	max-width: 1340px;
	margin: 0 auto;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-card .pf-grid { margin-bottom: 35px; gap: 40px; }

.pf-card .pf-col { padding: 0; border-right: none; min-height: auto; }

.pf-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
	margin: 30px 0;
}

.pf-social-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }

/* Pill newsletter — CARD FOOTER */
.pf-pill {
	position: absolute;
	top: -28px; left: 0; right: 0;
	max-width: 680px;
	margin: 0 auto;
	padding: 0 45px;
	z-index: 20;
}

.pf-pill form { background: #fff; border-radius: 50px; padding: 6px 6px 6px 24px; display: flex; align-items: center; box-shadow: 0 8px 40px rgba(0,0,0,0.25); gap: 0; }
.pf-pill input { flex: 1; border: 0; outline: 0; padding: 10px 0; font-size: 14px; color: #000; background: none; min-width: 0; }
.pf-pill input::placeholder { color: #aaa; }
.pf-pill button { background: var(--pf-dark, #0a0a0a); color: #fff; border: 0; padding: 10px 28px; border-radius: 50px; font-weight: 700; font-size: 12px; text-transform: uppercase; cursor: pointer; white-space: nowrap; flex-shrink: 0; letter-spacing: 0.5px; transition: background 0.2s; }
.pf-pill button:hover { background: var(--pf-dark-hover, #333); }
.pf-pill button i { font-size: 14px; }

.pf-fancy { background: #fff; border-radius: 50px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.pf-fancy i { width: 42px; height: 42px; background: var(--pf-dark, #0a0a0a); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.pf-fancy > div { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.pf-fancy strong { font-size: 14px; font-weight: 800; color: #000; white-space: nowrap; }
.pf-fancy span { font-size: 11px; color: #666; white-space: nowrap; }
.pf-fancy form { display: flex; align-items: center; flex: 1; gap: 8px; min-width: 0; }
.pf-fancy input { flex: 1; border: 1px solid #e5e5e5; outline: 0; padding: 10px 18px; font-size: 13px; border-radius: 50px; background: #f9f9f9; min-width: 0; color: #000; transition: border 0.2s; }
.pf-fancy input:focus { border-color: #bbb; background: #fff; }
.pf-fancy input::placeholder { color: #aaa; }
.pf-fancy button { background: var(--pf-dark, #0a0a0a); color: #fff; border: 0; padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; }
.pf-fancy button:hover { background: var(--pf-dark-hover, #333); }

.pf-bold { background: #fff; border-radius: 50px; padding: 6px 6px 6px 20px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.pf-bold span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #000; padding: 6px 16px; background: #f3f4f6; border-radius: 50px; white-space: nowrap; flex-shrink: 0; }
.pf-bold input { flex: 1; border: 0; outline: 0; padding: 10px 8px; font-size: 14px; background: none; color: #000; min-width: 0; }
.pf-bold input::placeholder { color: #aaa; }
.pf-bold button { background: var(--pf-dark, #0a0a0a); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: background 0.2s; }
.pf-bold button:hover { background: var(--pf-dark-hover, #333); }

/* CF7 / Plugin newsletter integration */
.pf-newsletter .wpcf7-form,
.pf-newsletter .newsletter-form,
.pf-pill .wpcf7-form,
.pf-pill .newsletter-form {
	display: flex;
	width: 100%;
	gap: 8px;
	margin: 0;
}

.pf-newsletter .wpcf7-form input[type="email"],
.pf-newsletter .wpcf7-form input[type="text"],
.pf-newsletter .newsletter-form input[type="email"],
.pf-pill .wpcf7-form input[type="email"],
.pf-pill .newsletter-form input[type="email"] {
	flex: 1;
	border: 0;
	outline: 0;
	padding: 10px 20px;
	font-size: 14px;
	background: transparent;
	color: inherit;
	margin: 0;
}

.pf-newsletter .wpcf7-form input[type="submit"],
.pf-newsletter .newsletter-form input[type="submit"],
.pf-pill .wpcf7-form input[type="submit"],
.pf-pill .newsletter-form input[type="submit"] {
	border: 0;
	padding: 10px 28px;
	border-radius: 40px;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
	background: inherit;
	color: inherit;
	margin: 0;
}

.pf-newsletter .wpcf7-response-output,
.pf-newsletter .wpcf7-spinner,
.pf-pill .wpcf7-response-output,
.pf-pill .wpcf7-spinner { display: none; }

/* Social icons */
.footer-socials { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; width: 100%; margin-top: 10px; }

.footer-socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.footer-socials i { font-size: 14px; color: var(--footer-text); }
.footer-socials a:hover { background: var(--footer-heading); border-color: var(--footer-heading); }
.footer-socials a:hover i { color: var(--footer-bg); }

.pf-lang-list { margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; }
.pf-lang-list li { display: flex; align-items: center; }
.pf-lang-list a { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }

.pf-currency-switcher,
.pf-custom-dropdown { position: relative; display: inline-flex; align-items: center; height: 100%; }

.pf-custom-dropdown .current-selected { font-size: 13px; font-weight: 500; color: var(--topbar-text, #ffffff); cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 0; white-space: nowrap; }
.pf-custom-dropdown .current-selected i { font-size: 11px; opacity: 0.7; transition: transform 0.2s ease; }
.pf-custom-dropdown:hover .current-selected i { transform: rotate(180deg); }

/* The hidden dropdown list */
/* ==========================================================
   PERFECTO - TOPBAR DROPDOWNS ONLY (PROTECTS FOOTER)
   ========================================================== */

/* 1. Target ONLY the topbar dropdowns */
.pf-topbar-item .pf-custom-dropdown .pf-dropdown-list {
    position: absolute !important;
    top: 100% !important;
    
    /* Anchor to the right edge of the trigger so it never goes off-screen */
    right: 0 !important;
    left: auto !important;
    margin-left: 0 !important;
    
    background-color: #ffffff !important;
    min-width: 150px !important;
    padding: 8px 0 !important;
    border-radius: 4px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
    list-style: none !important;
    z-index: 99999 !important;
    
    /* Animation setup */
    display: flex !important;
    flex-direction: column !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.2s ease !important;
    pointer-events: none !important;
}

/* 2. Show on hover */
.pf-topbar-item .pf-custom-dropdown:hover .pf-dropdown-list {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}


.pf-custom-dropdown .pf-dropdown-list li { display: block; margin: 0; }
.pf-custom-dropdown .pf-dropdown-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; color: #333333; font-size: 13px; transition: background 0.2s; }
.pf-custom-dropdown .pf-dropdown-list a:hover { background-color: #f7f7f7; color: #000000; }
.pf-custom-dropdown .pf-dropdown-list .curr-symbol { color: #999; font-size: 11px; font-weight: 600; }

/* ================================================
   MOBILE MODERN PRODUCT PAGE
================================================ */
@media (max-width: 1024px) {

	/* Hide topbar + header in modern layout */
	body:has(.pf-single-mobile-modern) .perfecto-topbar,
	body:has(.pf-single-mobile-modern) .pf-topbar,
	body:has(.pf-single-mobile-modern) .topbar,
	body:has(.pf-single-mobile-modern) .top-bar,
	body:has(.pf-single-mobile-modern) header,
	body:has(.pf-single-mobile-modern) .site-header,
	body:has(.pf-single-mobile-modern) .pf-header,
	body:has(.pf-single-mobile-modern) #masthead {
		display: none;
		visibility: hidden;
		opacity: 0;
		height: 0;
	}

	body:has(.pf-single-mobile-modern) { padding-top: 0; margin-top: 0; }

	/* Hero image */
	.pf-hero-image {
		position: relative;
		width: 100%;
		height: 70vh;
		overflow: hidden;
		background: #0a0a0a;
		touch-action: pan-y;
	}

	.pf-hero-slide {
		position: absolute;
		top: 0; left: 0;
		width: 100%; height: 100%;
		opacity: 0;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	.pf-hero-slide.active { opacity: 1; pointer-events: auto; }
	.pf-hero-slide img { width: 100%; height: 100%; object-fit: cover; }

	/* Hero rating badge */
	.pf-hero-rating {
		position: absolute;
		bottom: 8px; left: 8px;
		padding: 3px 8px;
		border-radius: 2px;
		background: #ffffff;
		border: 1px solid #d4d5d9;
		display: inline-flex;
		align-items: center;
		gap: 5px;
		z-index: 5;
	}

	.pf-hero-rating .rating-number { font-size: 11px; font-weight: 700; color: #282c3f; line-height: 1; }
	.pf-hero-rating .rating-star { width: 10px; height: 10px; }
	.pf-hero-rating .rating-separator { font-size: 11px; color: #d4d5d9; }
	.pf-hero-rating .rating-count { font-size: 10px; color: #535766; font-weight: 500; }

	/* Hero overlay buttons */
	.pf-hero-back,
	.pf-hero-wishlist,
	.pf-hero-share {
		position: absolute;
		width: 40px;
		height: 40px;
		background: rgba(0, 0, 0, 0.4);
		border: none;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 10;
		backdrop-filter: blur(10px);
		transition: all 0.2s ease;
	}

	.pf-hero-back   { top: 20px; left: 16px; }
	.pf-hero-wishlist { top: 20px; right: 16px; }
	.pf-hero-share  { top: 70px; right: 16px; }

	.pf-hero-back svg, .pf-hero-share svg { color: #fff; }
	.pf-hero-wishlist svg { stroke: #fff; fill: transparent; }

	.pf-hero-wishlist.in-wishlist,
	.pf-hero-wishlist.active,
	.pf-hero-wishlist.added { background: rgba(239, 68, 68, 0.9); }

	.pf-hero-wishlist.in-wishlist svg,
	.pf-hero-wishlist.active svg,
	.pf-hero-wishlist.added svg { fill: #fff; stroke: #fff; }

	/* Gallery dots */
	.pf-hero-dots { position: absolute; bottom: 12px; right: 12px; display: flex; gap: 6px; z-index: 10; }
	.pf-hero-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; }
	.pf-hero-dots .dot.active { background: #fff; width: 20px; border-radius: 3px; }

	/* Content */
	.pf-mobile-content { padding: 20px 16px 100px; background: #fff; }

	.pf-mobile-category { margin-bottom: 10px; }
	.category-badge { display: inline-block; background: #3b82f6; color: #fff; font-size: 7px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 0.5px; text-transform: uppercase; }

	.pf-mobile-title { font-size: 24px; font-weight: 700; line-height: 1.3; color: #000; margin: 0 0 12px 0; }

	.pf-mobile-price { font-size: 36px; font-weight: 800; color: #000; margin-bottom: 12px; }
	.pf-mobile-price del { font-size: 20px; color: #9ca3af; margin-right: 8px; }
	.pf-mobile-price ins { text-decoration: none; color: #ef4444; }

	.pf-mobile-reviews { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
	.pf-mobile-reviews .stars { display: flex; gap: 2px; }
	.pf-mobile-reviews .star { font-size: 16px; color: #d1d5db; }
	.pf-mobile-reviews .star.filled { color: #fbbf24; }
	.pf-mobile-reviews .rating-text { font-size: 14px; color: #6b7280; }

	.pf-mobile-stock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
	.pf-mobile-stock.in-stock  { background: #d1fae5; color: #065f46; }
	.pf-mobile-stock.out-stock { background: #fee2e2; color: #991b1b; }

	/* Variations block */
	.pf-mobile-variations { margin: 20px 0; padding: 0; background: transparent; border-radius: 0; }

	.pf-mobile-variations .single_add_to_cart_button,
	.pf-mobile-variations .pf-buy-now,
	.pf-mobile-variations button[type="submit"],
	.pf-mobile-variations .woocommerce-variation-add-to-cart,
	.pf-mobile-variations .quantity,
	.pf-mobile-variations label[for*="quantity"],
	.pf-mobile-variations table.variations select { display: none; }

	.pf-mobile-variations .variations,
	.pf-mobile-variations table.variations,
	.pf-mobile-variations .pf-variation-swatches,
	.pf-mobile-variations .reset_variations { display: block; }

	.pf-mobile-variations table.variations td,
	.pf-mobile-variations table.variations th { padding: 12px 0; background: transparent; border: none; }
	.pf-mobile-variations table.variations { border: none; background: transparent; }

	.pf-mobile-variations table.variations label,
	.pf-mobile-variations .variations label { display: block; font-size: 14px; font-weight: 600; color: #111; margin-bottom: 8px; }

	.pf-mobile-variations .pf-variation-swatches,
	.pf-mobile-variations .pf-color-swatches,
	.pf-mobile-variations .pf-size-buttons { display: flex; }

	/* Hide wishlist in content (use hero one) */
	.pf-mobile-variations .pf-wishlist-btn,
	.pf-mobile-content .pf-product-wishlist,
	.pf-mobile-content .pf-wishlist-button,
	.pf-mobile-content > .pf-wishlist-btn { display: none; }

	.pf-hero-wishlist { display: flex; }

	/* Delivery */
	.pf-mobile-delivery { margin: 20px 0; padding: 16px; background: #f9fafb; border-radius: 8px; }
	.delivery-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e5e7eb; }
	.delivery-item:last-child { border-bottom: none; padding-bottom: 0; }
	.delivery-item svg { color: #3b82f6; flex-shrink: 0; margin-top: 2px; }
	.delivery-item strong { display: block; font-size: 14px; color: #111; margin-bottom: 2px; }
	.delivery-item span { font-size: 12px; color: #6b7280; }

	/* Trust badges */
	.pf-trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
	.trust-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; background: #f0fdf4; border-radius: 8px; text-align: center; }
	.trust-item svg { color: #10b981; flex-shrink: 0; }
	.trust-item span { font-size: 11px; color: #065f46; font-weight: 600; line-height: 1.3; }

	/* Payment methods */
	.pf-payment-methods { margin: 20px 0; padding: 16px; background: #fef3c7; border-radius: 8px; }
	.payment-label { display: block; font-size: 12px; color: #92400e; margin-bottom: 10px; font-weight: 600; }
	.payment-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.payment-icon { font-size: 10px; padding: 6px 4px; background: #fff; border-radius: 4px; color: #78350f; text-align: center; font-weight: 600; }

	/* Description */
	.pf-mobile-description { margin: 20px 0; padding-top: 20px; border-top: 1px solid #e5e7eb; }
	.pf-mobile-description h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px 0; }
	.pf-mobile-description p { font-size: 15px; line-height: 1.7; color: #374151; }

	/* Accordion */
	.pf-mobile-accordions { margin: 30px 0; }
	.pf-accordion-item { border-bottom: 1px solid #e5e7eb; }
	.pf-accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; -webkit-user-select:none;user-select: none; }
	.pf-accordion-header h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0; }
	.pf-accordion-header .accordion-icon { color: #6b7280; transition: transform 0.3s ease; flex-shrink: 0; }
	.pf-accordion-item.active .accordion-icon { transform: rotate(180deg); }
	.pf-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
	.pf-accordion-item.active .pf-accordion-content { max-height: 5000px; padding-bottom: 20px; }
	.pf-accordion-content p { font-size: 15px; line-height: 1.7; color: #374151; margin: 0 0 12px 0; }
	.pf-accordion-content p:last-child { margin-bottom: 0; }

	/* Sticky bar */
	.pf-mobile-sticky-bar {
		position: fixed;
		bottom: 0; left: 0; right: 0;
		width: 100vw;
		max-width: 100%;
		background: #fff;
		padding: 10px;
		padding-bottom: calc(10px + env(safe-area-inset-bottom));
		display: flex;
		gap: 8px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		z-index: 1000;
		box-sizing: border-box;
		overflow: hidden;
	}

	.pf-sticky-qty {
		width: 20%;
		max-width: 80px;
		min-width: 65px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #f5f5f5;
		border-radius: 6px;
		height: 44px;
		overflow: hidden;
		flex-shrink: 0;
		padding: 0;
	}

	.pf-sticky-qty .qty-btn {
		width: 22px;
		min-width: 22px;
		height: 100%;
		background: transparent;
		border: none;
		font-size: 16px;
		font-weight: 700;
		color: #333;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		padding: 0;
		margin: 0;
	}

	.pf-sticky-qty .qty-input {
		width: calc(100% - 44px);
		max-width: 36px;
		height: 100%;
		border: none;
		background: transparent;
		text-align: center;
		font-size: 13px;
		font-weight: 700;
		color: #111;
		padding: 0;
		margin: 0;
		-webkit-appearance: none;
		-moz-appearance: textfield;
		flex-shrink: 1;
	}

	.pf-sticky-qty .qty-input::-webkit-inner-spin-button,
	.pf-sticky-qty .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; display: none; }

	.pf-sticky-btn {
		width: 40%;
		flex: 1 1 40%;
		height: 44px;
		border: none;
		border-radius: 6px;
		font-size: 13px;
		font-weight: 700;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 4px;
		transition: transform 0.2s ease;
		white-space: nowrap;
		padding: 0 6px;
		box-sizing: border-box;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.pf-sticky-cart { background: var(--pf-atc-bg, #0a0a0a); color: var(--pf-atc-txt, #fff); }
	.pf-sticky-cart svg { stroke: var(--pf-atc-txt, #fff); fill: none; width: 15px; height: 15px; flex-shrink: 0; }
	.pf-sticky-buy { background: #ef4444; color: #fff; }
	.pf-sticky-btn:active { transform: scale(0.96); }

	/* Related products (mobile) */
	.pf-mobile-related { margin: 30px 0; }
	.pf-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

	/* Wishlist in cart-actions context */
	.pf-cart-actions .pf-wishlist-btn {
		flex: 0 0 var(--pf-btn-h);
		max-width: var(--pf-btn-h);
	}

}

/* ================================================
   RESPONSIVE – BREAKPOINTS
================================================ */

/* Tablet */
@media (max-width: 1024px) {

	.pf-top { grid-template-columns: 1fr; gap: 40px; }
	.pf-gallery { position: relative; top: 0; }

	.pf-gallery-inner { flex-direction: column; gap: 16px; }

	.pf-main-image {
		order: 1;
		width: 100%;
		max-width: 100%;
		min-height: 350px;
		max-height: 500px;
	}

	.pf-main-image img { max-height: 500px; }

	.pf-thumbnails {
		order: 2;
		display: block;
		flex-direction: row;
		width: 100%;
		min-width: 100%;
		height: 85px;
	}

	.pf-thumbnails-wrapper {
		display: flex;
		flex-direction: row;
		gap: 10px;
		width: 100%;
		height: 80px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 0;
		-webkit-overflow-scrolling: touch;
	}

	.pf-thumb {
		min-width: 75px;
		max-width: 75px;
		width: 75px;
		height: 75px;
		flex-shrink: 0;
	}

	.pf-thumb::before {
		left: 50%;
		top: auto;
		bottom: -2px;
		transform: translateX(-50%);
		width: 0;
		height: 3px;
		border-radius: 0;
	}

	.pf-thumb.active::before { width: 60%; }
	.pf-thumb::after { display: none; }

	.pf-gallery-arrow { width: 40px; height: 40px; opacity: 0.9; }
	.pf-gallery-arrow svg { width: 20px; height: 20px; }
	.pf-gallery-prev { left: 12px; }
	.pf-gallery-next { right: 12px; }
	.pf-gallery-counter { opacity: 1; bottom: 12px; }

	.header-icons a::after { display: none; }

	.pf-reviews-container { grid-template-columns: 1fr; gap: 30px; }
	.pf-reviews-sidebar { position: static; }
}

/* Mobile 900px (header) */
@media (max-width: 900px) {

	.header-layout-centered .header-inner { grid-template-columns: auto 1fr auto; }
	.header-layout-centered .header-center { order: -1; }
	.header-layout-centered .header-left  { order: 0; }
	.header-layout-centered .header-right { order: 1; }

	.menu-toggle { display: flex; align-items: center; justify-content: center; }

	.main-nav {
		display: none;
		position: fixed;
		top: var(--header-height, 80px);
		left: 0;
		width: 100%;
		background: #fff;
		border-bottom: 1px solid #e5e7eb;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		z-index: 998;
	}

	.main-nav.is-open { display: block; }

	.main-nav ul { flex-direction: column; padding: 20px; gap: 0; }
	.main-nav li { border-bottom: 1px solid #f3f4f6; }
	.main-nav li:last-child { border-bottom: none; }
	.main-nav a { display: block; padding: 14px 12px; border-radius: 0; }

	.header-search,
	.header-separator { display: none; }

	.header-inner { gap: 12px; padding: 0 16px; }
	.header-left { gap: 16px; }
	.site-logo { height: var(--logo-height-mobile, 36px); }
	.header-icons { gap: 12px; }
	.header-icons a { width: 44px; height: 44px; }
}

/* Admin bar */
@media (max-width: 782px) {
	body.admin-bar.has-sticky-header #site-header { top: 46px; }
}

/* Mobile 768px */
@media (max-width: 768px) {

	.site-footer { margin-top: 40px; }
	.pf-wrap { padding: 0 20px; }

	/* Newsletter */
	.pf-newsletter { padding: 25px 0; }
	.pf-news-split { flex-direction: column; align-items: flex-start; gap: 15px; }
	.pf-news-split > div { align-items: flex-start; }
	.pf-news-split form { width: 100%; max-width: 100%; }
	.pf-news-center form { width: 100%; }
	.pf-news-inline { flex-wrap: wrap; gap: 12px; }
	.pf-news-inline form { width: 100%; flex-basis: 100%; }

	.pf-pill {
		position: relative;
		top: auto; left: 0; right: 0;
		max-width: 100%;
		padding: 0;
		margin-bottom: 20px;
	}
	.pf-pill form { flex-direction: row; gap: 0; padding: 6px 6px 6px 18px; border-radius: 50px; }
	.pf-pill input  { text-align: left; padding: 10px 0; font-size: 13px; }
	.pf-pill button { padding: 10px 18px; font-size: 11px; border-radius: 50px; }

	.pf-fancy { flex-direction: column; align-items: flex-start; padding: 18px; border-radius: 20px; gap: 14px; }
	.pf-fancy > div { align-items: flex-start; }
	.pf-fancy form { flex-direction: row; width: 100%; gap: 8px; }
	.pf-fancy input { flex: 1; }
	.pf-fancy button { padding: 10px 18px; font-size: 11px; }

	.pf-bold { border-radius: 50px; padding: 6px 6px 6px 16px; }
	.pf-bold span { display: none; }
	.pf-bold input { padding: 10px 8px; }
	.pf-bold button { width: 100%; height: 52px; border-radius: 8px; }

	/* Grid */
	.pf-main { padding: 35px 0; }
	.pf-grid { grid-template-columns: 1fr; gap: 0; }
	.pf-col { padding: 25px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); min-height: auto; }
	.pf-col:last-child { border-bottom: none; padding-bottom: 0; }
	.pf-col.pf-brand { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

	/* Accordion footer menus */
	.pf-mobile-accordion-enabled .pf-col.pf-menu-col { padding: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
	.pf-mobile-accordion-enabled .pf-col.pf-menu-col h4 { cursor: pointer; padding: 20px 0; margin: 0; position: relative; -webkit-user-select:none;user-select: none; transition: all 0.3s ease; }
	.pf-mobile-accordion-enabled .pf-col.pf-menu-col h4::after { content: '+'; position: absolute; right: 0; font-size: 24px; font-weight: 300; line-height: 1; transition: transform 0.3s ease, opacity 0.3s ease; }
	.pf-mobile-accordion-enabled .pf-col.pf-menu-col h4.active::after { content: '−'; transform: rotate(180deg); }
	.pf-mobile-accordion-enabled .pf-menu { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease; padding-bottom: 0; will-change: max-height; }
	.pf-mobile-accordion-enabled .pf-menu.active { max-height: 800px; opacity: 1; padding-bottom: 20px; }

	/* Mobile alignment classes */
	.pf-mobile-logo-left .pf-logo,
	.pf-mobile-logo-left .pf-logo-text  { margin-left: 0; margin-right: auto; }
	.pf-mobile-logo-center .pf-logo,
	.pf-mobile-logo-center .pf-logo-text { margin: 0 auto; display: block; }
	.pf-mobile-logo-right .pf-logo,
	.pf-mobile-logo-right .pf-logo-text  { margin-left: auto; margin-right: 0; display: block; }

	.pf-mobile-about-left .pf-about    { text-align: left; margin-left: 0; margin-right: auto; }
	.pf-mobile-about-center .pf-about  { text-align: center; max-width: 100%; margin: 0 auto; }
	.pf-mobile-about-right .pf-about   { text-align: right; margin-left: auto; margin-right: 0; }

	.pf-mobile-contact-left .pf-contact   { align-items: flex-start; }
	.pf-mobile-contact-center .pf-contact { align-items: center; }
	.pf-mobile-contact-center .pf-contact-item { justify-content: center; text-align: center; }
	.pf-mobile-contact-right .pf-contact  { align-items: flex-end; }
	.pf-mobile-contact-right .pf-contact-item { justify-content: flex-end; text-align: right; }

	.pf-mobile-social-left .pf-social   { justify-content: flex-start; }
	.pf-mobile-social-center .pf-social { justify-content: center; margin: 0 auto; }
	.pf-mobile-social-right .pf-social  { justify-content: flex-end; margin-left: auto; }
	.pf-mobile-social-grid .pf-social   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 200px; }

	.pf-mobile-menu-left .pf-menu   { align-items: flex-start; }
	.pf-mobile-menu-center .pf-menu { align-items: center; }
	.pf-mobile-menu-center .pf-menu a { text-align: center; }
	.pf-mobile-menu-right .pf-menu  { align-items: flex-end; }
	.pf-mobile-menu-right .pf-menu a { text-align: right; }

	/* Bottom bar */
	.pf-bottom { padding: 22px 0; }
	.pf-flex { flex-direction: column; gap: 20px; align-items: stretch; }
	.pf-bottom-right { flex-direction: column; align-items: stretch; gap: 20px; width: 100%; }

	.pf-mobile-copyright-left .pf-copy   {font-size: 10px; text-align: left; width: 100%; }
	.pf-mobile-copyright-center .pf-copy {font-size: 10px; text-align: center; width: 100%; }
	.pf-mobile-copyright-right .pf-copy  {font-size: 10px; text-align: right; width: 100%; }

	.pf-apps { width: 100%; flex-wrap: wrap; display: flex; }
	.pf-apps a { flex: 1; min-width: 140px; justify-content: center; }

	.pf-mobile-apps-left .pf-apps    { justify-content: flex-start; }
	.pf-mobile-apps-center .pf-apps  { justify-content: center; margin: 0 auto; }
	.pf-mobile-apps-right .pf-apps   { justify-content: flex-end; margin-left: auto; }

	.pf-payments { width: 100%; display: flex; }
	.pf-mobile-payment-left .pf-payments   { justify-content: flex-start; }
	.pf-mobile-payment-center .pf-payments { justify-content: center; margin: 0 auto; }
	.pf-mobile-payment-right .pf-payments  { justify-content: flex-end; margin-left: auto; }

	/* Hide helpers */
	.pf-mobile-hide-about .pf-about   { display: none; }
	.pf-mobile-hide-contact .pf-contact { display: none; }

	/* Card layout */
	.pf-footer-card { padding: 0 20px 40px; }
	.pf-card { padding: 50px 25px 28px; border-radius: 16px; margin: 0; }
	.pf-social-bar { flex-direction: column; align-items: stretch; }
	.pf-divider { margin: 25px 0; }

	/* Bottom bar on mobile */
	.pf-bottom { padding: 22px 0; }



	/* Product page */
	.pf-delivery-info { grid-template-columns: 1fr; }
	.pf-action-buttons { flex-wrap: wrap; gap: 16px; }

	/* WooCommerce grid */
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 20px; }

	/* Tabs */
	.woocommerce-tabs .wc-tabs { flex-direction: column; }
	.woocommerce-tabs .wc-tabs li { width: 100%; }
	.woocommerce-tabs .wc-tabs li a { width: 100%; text-align: center; padding: 12px 20px; }

	/* Attribute table */
	.woocommerce-Tabs-panel--additional_information { padding: 30px 16px; }
	.woocommerce-product-attributes { max-width: 100%; }
	.woocommerce-product-attributes tr { grid-template-columns: 1fr; }
	.woocommerce-product-attributes th { border-right: none; border-bottom: 1px solid #e5e7eb; background: #f3f4f6; padding: 14px 16px; font-size: 14px; }
	.woocommerce-product-attributes td { padding: 14px 16px; font-size: 14px; }

	/* Reviews */
	.pf-reviews-summary-card { padding: 20px; }
	.summary-rating .big-rating { font-size: 48px; }
	.summary-rating .pf-star { font-size: 18px; }

	.commentlist .comment { padding: 16px; margin-bottom: 16px; }
	.avatar { width: 40px; height: 40px; margin-right: 12px; }
	.woocommerce-review__author { font-size: 15px; }
	.woocommerce-review__published-date { font-size: 12px; }
	.woocommerce-review__verified { font-size: 11px; padding: 3px 8px; }
	.description { font-size: 14px; }

	#review_form_wrapper { margin-top: 30px; padding: 20px; }
	#reply-title { font-size: 18px; margin: 0 0 20px 0; }
	#respond input[type="text"],
	#respond input[type="email"],
	#respond textarea { padding: 12px; font-size: 14px; }
	#respond textarea { min-height: 120px; }
	#respond .form-submit input[type="submit"] { padding: 12px 32px; font-size: 15px; }

	.comment-form-rating .stars { gap: 4px; }
	.comment-form-rating .stars a { width: 24px; height: 24px; }
	.comment-form-rating .stars a::before { font-size: 24px; }

	/* Grouped products */
	.pf-grouped-item {
		display: grid;
		grid-template-columns: 65px 1fr 80px;
		grid-template-rows: auto auto auto;
		gap: 10px;
		padding: 14px;
		align-items: start;
	}

	.pf-grouped-image { grid-column: 1; grid-row: 1 / 3; width: 65px; height: 65px; align-self: center; }
	.pf-grouped-info  { grid-column: 2; grid-row: 1; gap: 4px; }
	.pf-grouped-title { font-size: 14px; }
	.pf-stock-badge { font-size: 11px; padding: 3px 6px; margin-top: 4px; }
	.pf-grouped-price { grid-column: 3; grid-row: 1; font-size: 15px; text-align: right; align-self: start; }
	.pf-grouped-quantity { grid-column: 2 / 3; grid-row: 2; min-width: auto; justify-self: start; }
	.pf-grouped-wishlist { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; }

	.pf-quantity-input { width: 120px; height: 46px; border-radius: 8px; }
	.pf-qty-btn { width: 34px; height: 46px; }
	.pf-qty-btn svg { width: 16px; height: 16px; }
	.pf-qty-input { width: 52px; height: 46px; font-size: 15px; }
	.pf-grouped-wishlist .pf-wishlist-btn { width: 52px; height: 46px; border-radius: 8px; }
	.pf-grouped-wishlist .pf-wishlist-btn svg { width: 20px; height: 20px; }

	.pf-grouped-form .pf-add-to-cart,
	.pf-grouped-form .pf-buy-now { height: 46px; font-size: 14px; }

	/* Product actions */
	.pf-product-actions { flex-direction: column; gap: 10px; }
	.pf-product-actions .pf-add-to-cart,
	.pf-product-actions .pf-buy-now { width: 100%; height: 46px; }

	/* Wishlist in cart-actions */
	.pf-cart-actions .pf-wishlist-btn {
		flex: 0 0 var(--pf-btn-h);
		max-width: var(--pf-btn-h);
	}

	/* Variation size chart link */
	.pf-size-chart-trigger { font-size: 13px; }
}

/* Small phones */
@media (max-width: 480px) {
	.pf-logo { max-width: 120px; }
	.pf-logo-text { font-size: 20px; }
	.pf-about { font-size: 12px; }
	.pf-payments img { height: 22px; }
	.pf-news-split strong,
	.pf-news-center strong,
	.pf-fancy strong { font-size: 20px; }

	.pf-main-image { min-height: 300px; max-height: 400px; }
	.pf-main-image img { max-height: 400px; }
	.pf-thumbnails { height: 75px; }
	.pf-thumbnails-wrapper { height: 70px; }
	.pf-thumb { min-width: 65px; max-width: 65px; width: 65px; height: 65px; }

	.woocommerce ul.products { grid-template-columns: 1fr; }

	.header-inner { padding: 0 12px; }
	.header-left  { gap: 12px; }
	.header-icons { gap: 8px; }
	.header-icons a { width: 40px; height: 40px; }
}

/* Tiny phones */
@media (max-width: 375px) {
	.pf-sticky-qty { width: 22%; min-width: 60px; }
	.pf-sticky-btn { font-size: 12px; gap: 3px; padding: 0 4px; }
	.pf-sticky-cart svg { width: 14px; height: 14px; }
}

/* Extra small grouped */
@media (max-width: 380px) {
	.pf-grouped-item { grid-template-columns: 60px 1fr 75px; padding: 12px; }
	.pf-grouped-image { width: 60px; height: 60px; }
	.pf-grouped-title { font-size: 13px; }
	.pf-grouped-price { font-size: 14px; }
	.pf-quantity-input { width: 95px; height: 36px; }
	.pf-qty-btn { width: 28px; height: 36px; }
	.pf-qty-input { width: 39px; height: 36px; font-size: 13px; }
	.pf-grouped-wishlist .pf-wishlist-btn { width: 36px; height: 36px; }
}



@media (max-width: 767px) {

   .pf-col.pf-brand .pf-about {
        margin-bottom: 10px !important;
    }
}



/* ================================================
   RELATED PRODUCTS – DESKTOP GRID
================================================ */
@media (min-width: 1025px) {

	.related.products ul.products,
	.upsells.products ul.products {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		margin: 0;
		padding: 0;
		list-style: none;
		width: 100%;
	}

	.related.products ul.products > li,
	.upsells.products ul.products > li {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		float: none;
		display: block;
	}

	.related.products .pf-product-card,
	.upsells.products .pf-product-card {
		width: 100%;
		max-width: 100%;
		margin: 0;
		float: none;
	}

	.related.products .card-image,
	.upsells.products .card-image {
		width: 100%;
		aspect-ratio: 3 / 4;
		overflow: hidden;
	}

	.related.products .card-image img,
	.upsells.products .card-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media (min-width: 1025px) and (max-width: 1399px) {
	.related.products ul.products,
	.upsells.products ul.products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (min-width: 1200px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1600px) {
	.related.products ul.products,
	.upsells.products ul.products { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

/* Desktop wishlist override */
@media (min-width: 1024px) {
	.pf-cart-actions .pf-wishlist-btn {
		flex: 0 0 var(--pf-btn-h);
		width: var(--pf-btn-h);
		max-width: var(--pf-btn-h);
		height: var(--pf-btn-h);
		background: #fef2f2;
		border: 1.5px solid #fca5a5;
		border-radius: var(--pf-radius);
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 0;
		cursor: pointer;
		transition: all 0.2s ease;
	}
}

/* ================================================
   INPUT HIDDEN CLEANUP
================================================ */
.pf-cart-actions input[type="hidden"] {
	display: none;
	width: 0; height: 0;
	margin: 0; padding: 0;
}





/* ==========================================================================
   404 Page Styles - Perfecto Theme (Minimalist Black)
   ========================================================================== */

/* Main Section Wrapper */
.perfecto-404-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 100px 20px;
    background-color: var(--pf-page-bg, #ffffff);
}

.perfecto-404-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

/* Big 404 Heading */
.perfecto-404-title {
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 10px;
    color: #111111; /* Solid Dark/Black */
    letter-spacing: -2px;
}

/* Subtitle */
.perfecto-404-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #111111;
}

/* Description Text */
.perfecto-404-text {
    font-size: 16px;
    color: #666666; /* Medium Gray for contrast */
    margin-bottom: 45px;
    line-height: 1.6;
}

/* Search Form Wrapper */
.perfecto-404-search {
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* Back to Home Button */
.perfecto-btn-home {
    display: inline-block;
    background-color: #111111; /* Solid Black */
    color: #ffffff;
    padding: 16px 45px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.perfecto-btn-home:hover {
    background-color: #333333; /* Dark Gray on hover */
    color: #ffffff;
}

/* ============================================================
   SHOP THE LOOK MODAL — Safety hide
   ============================================================ */
.pf-sm-modal-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.pf-sm-modal-overlay.pf-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


/* ================================================================
   SHOP GRID DESIGN: FLOATING CARDS vs BREATHLESS
   Body classes set in PHP: pf-desktop-grid--floating/breathless
                             pf-mobile-grid--floating/breathless
   Also applies to related products on product pages automatically.
================================================================ */

/* ──────────────────────────────────────────────────────────────
   DESKTOP — Floating Cards (gap + rounded + shadow)
   Default: pf-desktop-grid--floating
────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
	.pf-desktop-grid--floating .woocommerce ul.products,
	.pf-desktop-grid--floating .related.products ul.products,
	.pf-desktop-grid--floating .upsells.products ul.products {
		gap: 20px !important;
	}
	.pf-desktop-grid--floating .woocommerce ul.products li.product {
		border-radius: 14px !important;
		overflow: hidden;
		box-shadow: 0 2px 12px rgba(0,0,0,0.07);
	}
}

/* ──────────────────────────────────────────────────────────────
   DESKTOP — Breathless (no gap, no radius, hairline separators)
   Applied: pf-desktop-grid--breathless
────────────────────────────────────────────────────────────── */
@media (min-width: 769px) {
	.pf-desktop-grid--breathless .woocommerce ul.products,
	.pf-desktop-grid--breathless .related.products ul.products,
	.pf-desktop-grid--breathless .upsells.products ul.products {
		gap: 0 !important;
		border: 1px solid #ebebeb;
		border-bottom: none;
		overflow: hidden;
		border-radius: 0;
	}
	.pf-desktop-grid--breathless .woocommerce ul.products li.product {
		border-radius: 0 !important;
		box-shadow: none !important;
		border-right: 1px solid #ebebeb;
		border-bottom: 1px solid #ebebeb;
		margin: 0;
	}
	/* Remove extra right border on last col — nth-child based on 4-col default */
	.pf-desktop-grid--breathless .woocommerce ul.products li.product:nth-child(4n) {
		border-right: none;
	}
}

/* ──────────────────────────────────────────────────────────────
   MOBILE — Breathless (no gap, no radius, hairline separators)
   Default: pf-mobile-grid--breathless
────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.pf-mobile-grid--breathless .woocommerce ul.products {
		gap: 0 !important;
		padding: 0 !important;
		border-top: 1px solid #ebebeb;
	}
	.pf-mobile-grid--breathless .woocommerce ul.products li.product {
		border-radius: 0 !important;
		box-shadow: none !important;
		border-bottom: 1px solid #ebebeb;
		border-right: none;
	}
	/* 2-col: thin vertical divider */
	.pf-mobile-grid--breathless .woocommerce ul.products li.product:nth-child(odd) {
		border-right: 0.5px solid #ebebeb;
	}
}

/* ──────────────────────────────────────────────────────────────
   MOBILE — Floating Cards (gap + rounded + shadow)
   Applied: pf-mobile-grid--floating
────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.pf-mobile-grid--floating .woocommerce ul.products {
		gap: 12px !important;
		padding: 12px !important;
	}
	.pf-mobile-grid--floating .woocommerce ul.products li.product {
		border-radius: 14px !important;
		overflow: hidden;
		box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
		border: none !important;
	}
}

/* ================================================================
   PAGE SETTINGS — Hide class overrides
   ================================================================ */
body.hide-page-title .page-title    { display: none !important; }
body.hide-breadcrumbs .page-breadcrumbs,
body.hide-breadcrumbs .pf-breadcrumb { display: none !important; }
body.hide-header .pf-site-header,
body.hide-header #pf-site-header    { display: none !important; }
body.hide-footer .pf-site-footer,
body.hide-footer #pf-site-footer    { display: none !important; }

/* Page width overrides */
body.page-width-full  .pf-container,
body.page-width-full  .site-content  { max-width: 100% !important; }
body.page-width-boxed .pf-container,
body.page-width-boxed .site-content  { max-width: var(--container-width, 1400px) !important; margin-left: auto !important; margin-right: auto !important; }


/* ================================================================
   PERFECTO PERFORMANCE & ANIMATION BOOST — v1.2.0
   GPU-accelerated layers, reduced repaints, smoother transitions
   ================================================================ */

/* Force GPU compositing on elements that animate frequently */
.pf-site-header,
.pf-mobile-bar,
.pf-product__sticky-bar,
.pf-sidebar,
.pf-cart-sidebar,
.pf-wishlist-sidebar,
.pf-action-bar {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Improve font rendering globally for sharper text */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Smooth scrolling — native, no JS needed */
html {
	scroll-behavior: smooth;
}

/* Link transitions — snappier than default */
a {
	transition: color 0.18s ease, opacity 0.18s ease;
}

/* Button ripple feel — all theme buttons */
.pf-btn,
button.pf-btn,
.pf-add-to-cart-btn,
.single_add_to_cart_button,
.pf-btn-next,
.pf-btn-place-order,
.pf-action-bar__primary {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation; /* removes 300ms tap delay on mobile */
}

/* Lazy-load image fade-in for a polished feel */
img.lazyload,
img.lazyloading {
	opacity: 0;
	transition: opacity 0.3s ease;
}
img.lazyloaded {
	opacity: 1;
}

/* Header scroll-up animation — declare will-change only when sticky is active */
.pf-site-header.is-sticky,
.pf-co-header {
	will-change: transform;
	transform: translateZ(0);
}

/* Checkout step pane fade-in: tighter, snappier */
@keyframes pfFadeUp {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.pf-step-pane.active {
	animation: pfFadeUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Focus ring — accessible but not distracting */
:focus-visible {
	outline: 2px solid var(--pf-accent, #E53935);
	outline-offset: 2px;
}
:focus:not(:focus-visible) {
	outline: none;
}

/* Page transitions: reduce FOUC for AJAX navigation */
.pf-ajax-transitioning {
	opacity: 0;
	transition: opacity 0.18s ease;
}
.pf-ajax-transitioning.loaded {
	opacity: 1;
}

/* ── content-visibility for off-screen sections ── */
.pf-section--offscreen {
	content-visibility: auto;
	contain-intrinsic-size: 0 500px;
}










/* =================================================================
   PERFECTO: PREMIUM SINGLE POST / BLOG LAYOUT (STRICTLY SCOPED)
================================================================= */

/* --- 0. PREVENT BLEEDING / HORIZONTAL SCROLL --- */
body.single-post {
    overflow-x: hidden; /* Bulletproof fix for right-side bleeding */
}

.single-post .pf-post-hero,
.single-post .pf-hero-overlay,
.single-post .pf-hero-inner,
.single-post .pf-container,
.single-post .pf-single-grid,
.single-post .pf-post-content,
.single-post .pf-post-sidebar {
    box-sizing: border-box !important;
}

/* --- 1. HERO BANNER (Modern & Compact) --- */
.single-post .pf-post-hero {
    width: 100%;
    max-width: 100%;
    height: 40vh;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 50px;
    background-color: #111;
    overflow: hidden;
}

.single-post .pf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px 20px;
}

.single-post .pf-hero-inner {
    max-width: var(--page-boxed-width, 1400px); /* ⬅️ Using your theme variable! */
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

.single-post .pf-post-cat a {
    display: inline-block;
    background: var(--pf-accent, #E53935);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 15px;
    transition: opacity 0.2s ease;
}

.single-post .pf-post-cat a:hover {
    opacity: 0.85;
}

.single-post .pf-post-title {
    font-size: 46px;
    font-weight: 900;
    margin: 0 0 15px;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.5px;
    max-width: 100%;
    word-wrap: break-word;
}

.single-post .pf-post-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-post .pf-post-meta span {
    color: #fff;
}

/* --- 2. THE GRID LAYOUT (Wider Reading Area) --- */
.single-post .pf-container {
    max-width: var(--page-boxed-width, 1400px); /* ⬅️ Follows your theme settings */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.single-post .pf-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); 
    gap: 60px; /* Reduced slightly from 70px to prevent overflow on smaller laptops */
    align-items: start;
    padding-bottom: 80px;
    max-width: 100%;
}

/* --- 3. PREMIUM POST CONTENT & TYPOGRAPHY --- */
.single-post .pf-post-content {
    font-size: 17px;
    line-height: 1.85;
    color: #374151;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.single-post .pf-post-content > .wp-post-image {
    display: none !important;
}

.single-post .pf-post-content p {
    margin-bottom: 28px;
    max-width: 100%;
}

.single-post .pf-post-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 40px 0 20px;
    color: #111827;
    line-height: 1.3;
}

.single-post .pf-post-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #1f2937;
    line-height: 1.3;
}

.single-post .pf-post-content ul, 
.single-post .pf-post-content ol {
    margin-bottom: 28px;
    padding-left: 20px;
}

.single-post .pf-post-content li {
    margin-bottom: 10px;
}

/* Inline Images */
.single-post .pf-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 40px 0;
    display: block;
}

/* Premium Blockquotes */
.single-post .pf-post-content blockquote {
    border-left: 4px solid var(--pf-accent, #E53935);
    margin: 40px 0;
    padding: 20px 30px;
    font-size: 20px;
    font-style: italic;
    color: #111827;
    background: #f9fafb;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.single-post .pf-post-content blockquote p {
    margin-bottom: 0;
}

/* --- 4. SIDEBAR --- */
.single-post .pf-post-sidebar {
    position: sticky;
    top: 100px;
    max-width: 100%;
}

.single-post .pf-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 24px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-post .pf-sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-post .pf-sidebar-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    align-items: center;
    max-width: 100%;
}

.single-post .pf-sidebar-item:hover {
    transform: translateX(6px);
}

.single-post .pf-sidebar-thumb {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    flex-shrink: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.single-post .pf-sidebar-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.3s ease;
}

.single-post .pf-sidebar-item:hover .pf-sidebar-thumb img {
    transform: scale(1.08);
}

.single-post .pf-sidebar-info {
    flex: 1;
    min-width: 0; /* CRITICAL: Prevents long text from breaking the flex container and bleeding right */
}

.single-post .pf-sidebar-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-post .pf-sidebar-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* --- 5. MODERN COMMENTS FORM --- */
.single-post #respond {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f3f4f6;
}

.single-post #respond input[type="text"],
.single-post #respond input[type="email"],
.single-post #respond input[type="url"],
.single-post #respond textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 15px;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.single-post #respond input:focus, 
.single-post #respond textarea:focus {
    border-color: var(--pf-accent, #E53935);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.single-post #respond .submit {
    background: var(--pf-accent, #E53935);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.single-post #respond .submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- 6. MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .single-post .pf-single-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .single-post .pf-post-title {
        font-size: 34px;
    }
    
    .single-post .pf-post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .single-post .pf-post-hero {
        height: 35vh;
        min-height: 280px;
        margin-bottom: 40px;
    }
    
    .single-post .pf-post-title {
        font-size: 28px;
    }
    
    .single-post .pf-hero-overlay {
        padding: 40px 20px;
    }
}


/* --- INCREASE SIDE GAP TO 40PX --- */
.single-post .pf-container {
    padding: 0 40px !important;
}

.single-post .pf-hero-overlay {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Note: It's usually best to drop it back to 20px on mobile so the text doesn't get too squished on small phone screens */
@media (max-width: 768px) {
    .single-post .pf-container {
        padding: 0 10px !important;
    }
    .single-post .pf-hero-overlay {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}







/* ============================================================
   PERFECTO — Blog / Home Page Premium Styles
   Paste at the bottom of assets/css/main.css
   ============================================================ */


/* ── Page wrapper ── */
.pf-archive {
    background: var(--pf-gray-50);
    min-height: 60vh;
}


/* ── Posts Grid — 4 columns default ── */
.pf-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 3-col fallback for narrower containers */
.pf-posts-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}


/* ── Post Card ── */
.pf-post-card {
    background: var(--pf-white);
    border-radius: var(--pf-radius-lg);
    overflow: hidden;
    box-shadow: var(--pf-shadow-sm);
    border: 1px solid var(--pf-border);
    display: flex;
    flex-direction: column;
    transition: transform var(--pf-transition), box-shadow var(--pf-transition), border-color var(--pf-transition);
    animation: pf-slide-up 0.4s var(--pf-anim-ease) both;
}

.pf-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pf-shadow-lg);
    border-color: var(--pf-gray-200);
}

.pf-post-card:nth-child(1)  { animation-delay: 0.04s; }
.pf-post-card:nth-child(2)  { animation-delay: 0.08s; }
.pf-post-card:nth-child(3)  { animation-delay: 0.12s; }
.pf-post-card:nth-child(4)  { animation-delay: 0.16s; }
.pf-post-card:nth-child(5)  { animation-delay: 0.20s; }
.pf-post-card:nth-child(6)  { animation-delay: 0.24s; }
.pf-post-card:nth-child(7)  { animation-delay: 0.28s; }
.pf-post-card:nth-child(8)  { animation-delay: 0.32s; }


/* ── Thumbnail ── */
.pf-post-thumbnail {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--pf-gray-100);
    position: relative;
}

.pf-post-thumbnail a {
    display: block;
    height: 100%;
}

.pf-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--pf-anim-ease);
}

.pf-post-card:hover .pf-post-thumbnail img {
    transform: scale(1.06);
}

/* Category badge floating over image */
.pf-thumb-cats {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.pf-thumb-cats .pf-post-cats a {
    background: var(--pf-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
    display: inline-block;
    line-height: 1.5;
}


/* ── Post Body ── */
.pf-post-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}


/* ── Meta ── */
.pf-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pf-post-date {
    font-size: 0.75rem;
    color: var(--pf-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pf-post-date::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Inline cats (no thumbnail) */
.pf-post-body .pf-post-meta .pf-post-cats a {
    background: var(--pf-accent-light);
    color: var(--pf-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
    border: 1px solid var(--pf-accent-border);
    transition: background var(--pf-transition), color var(--pf-transition);
    line-height: 1.5;
}

.pf-post-body .pf-post-meta .pf-post-cats a:hover {
    background: var(--pf-accent);
    color: #fff;
}


/* ── Post Title ── */
.pf-post-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--pf-dark);
}

.pf-post-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--pf-accent), var(--pf-accent));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size var(--pf-transition), color var(--pf-transition);
    padding-bottom: 1px;
}

.pf-post-title a:hover {
    color: var(--pf-accent);
    background-size: 100% 2px;
}


/* ── Excerpt ── */
.pf-post-excerpt {
    font-size: 0.85rem;
    color: var(--pf-muted);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.pf-post-excerpt p { margin: 0; }


/* ── Read More ── */
.pf-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pf-accent);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap var(--pf-transition), color var(--pf-transition);
    align-self: flex-start;
}

.pf-read-more::after {
    content: '→';
    font-size: 0.95rem;
    transition: transform var(--pf-transition);
}

.pf-read-more:hover {
    color: var(--pf-accent-dark);
    gap: 9px;
}

.pf-read-more:hover::after {
    transform: translateX(3px);
}


/* ── Pagination ── */
.pf-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.pf-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pf-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: var(--pf-radius);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pf-gray-700);
    background: var(--pf-white);
    border: 1px solid var(--pf-border);
    text-decoration: none;
    transition: all var(--pf-transition);
}

.pf-pagination .page-numbers:hover {
    background: var(--pf-gray-100);
    border-color: var(--pf-gray-300);
    color: var(--pf-dark);
}

.pf-pagination .page-numbers.current {
    background: var(--pf-accent);
    border-color: var(--pf-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--pf-accent-rgb), 0.35);
}

.pf-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: var(--pf-muted);
    pointer-events: none;
}

.pf-pagination .prev.page-numbers,
.pf-pagination .next.page-numbers {
    padding: 0 16px;
    font-size: 0.82rem;
}


/* ── No Results ── */
.pf-no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--pf-white);
    border-radius: var(--pf-radius-lg);
    border: 1px solid var(--pf-border);
}

.pf-no-results h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pf-dark);
    margin: 0 0 10px;
}

.pf-no-results p {
    color: var(--pf-muted);
    font-size: 0.95rem;
    margin: 0;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablet — 3 col */
@media (max-width: 1200px) {
    .pf-posts-grid,
    .pf-posts-grid--4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet — 2 col */
@media (max-width: 900px) {
    .pf-posts-grid,
    .pf-posts-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile — 1 col */
@media (max-width: 560px) {
    .pf-posts-grid,
    .pf-posts-grid--4col {
        grid-template-columns: 1fr;
    }
}



/* Apply styles to core WC inputs, custom fields, AND popup fields */
.woocommerce-Input,
.woocommerce form.register .input-text,
.woocommerce form.login .input-text,
.pf-auth-form input[type="text"],
.pf-auth-form input[type="email"],
.pf-auth-form input[type="password"],
.pf-auth-form input[type="date"],
.pf-modal input[type="text"],
.pf-modal input[type="email"],
.pf-modal input[type="password"],
.pf-modal input[type="date"] {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

/* Apply focus states to all of those same fields */
.woocommerce-Input:focus,
.woocommerce form.register .input-text:focus,
.woocommerce form.login .input-text:focus,
.pf-auth-form input[type="text"]:focus,
.pf-auth-form input[type="email"]:focus,
.pf-auth-form input[type="password"]:focus,
.pf-auth-form input[type="date"]:focus,
.pf-modal input[type="text"]:focus,
.pf-modal input[type="email"]:focus,
.pf-modal input[type="password"]:focus,
.pf-modal input[type="date"]:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}