/* Fast Shop — refreshed UI (glass surfaces, depth, motion). Class names unchanged for JS compatibility. */

.wcigr-fast-archive body,
body.wcigr-fast-archive{
	background-color:var(--wcigr-fa-bg,#fafbfc);
	color:var(--wcigr-fa-text,#0f172a);
	font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}
body.wcigr-fast-archive{
	background-image:
		radial-gradient(ellipse 100% 80% at 50% -30%, color-mix(in srgb, var(--wcigr-fa-accent,#2563eb) 14%, transparent), transparent 55%),
		radial-gradient(ellipse 70% 50% at 100% 100%, color-mix(in srgb, var(--wcigr-fa-accent,#6366f1) 8%, transparent), transparent 45%);
}
@supports not (background: color-mix(in srgb, red 50%, blue)){
	body.wcigr-fast-archive{
		background-image:
			radial-gradient(ellipse 100% 80% at 50% -30%, rgba(37,99,235,.11), transparent 55%),
			radial-gradient(ellipse 70% 50% at 100% 100%, rgba(99,102,241,.07), transparent 45%);
	}
}

.wcigr-fa-container{
	max-width:1280px;
	margin:0 auto;
	padding:16px 16px 88px;
}
body.wcigr-bm-on .wcigr-fa-container{padding-bottom:calc(var(--wcigr-bm-h,74px) + 28px)}

.wcigr-fa-head{
	display:flex;
	flex-direction:column;
	align-items:stretch;
	gap:10px;
	margin-bottom:12px;
	padding:14px 16px;
	border-radius:20px;
	background:rgba(255,255,255,.78);
	border:1px solid rgba(148,163,184,.22);
	box-shadow:0 4px 6px -1px rgba(15,23,42,.05),0 16px 40px -12px rgba(15,23,42,.12);
	backdrop-filter:blur(14px);
	-webkit-backdrop-filter:blur(14px);
}
.wcigr-fa-head__top{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	flex-wrap:nowrap;
	min-width:0;
}
.wcigr-fa-head__left{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.wcigr-fa-title{
	font-size:clamp(1.15rem, 3.2vw, 1.65rem);
	margin:0;
	font-weight:800;
	letter-spacing:-.035em;
	line-height:1.15;
	color:var(--wcigr-fa-text,#0f172a);
}

.wcigr-fa-cart{
	display:inline-flex;
	align-items:center;
	gap:8px;
	background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(248,250,252,.9));
	border:1px solid rgba(148,163,184,.2);
	border-radius:999px;
	padding:7px 12px;
	text-decoration:none;
	color:var(--wcigr-fa-text,#0f172a);
	font-weight:800;
	font-size:12px;
	position:relative;
	overflow:hidden;
	flex-shrink:0;
	-webkit-tap-highlight-color:transparent;
	box-shadow:0 2px 8px rgba(15,23,42,.06);
	transition:transform .18s ease,box-shadow .18s ease;
}
.wcigr-fa-cart:hover{
	transform:translateY(-1px);
	box-shadow:0 8px 20px rgba(15,23,42,.1);
}
.wcigr-fa-cart::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--wcigr-rx,50%) var(--wcigr-ry,50%), rgba(2,6,23,.08), rgba(2,6,23,0) 56%);opacity:0;transition:opacity .22s ease;pointer-events:none}
.wcigr-fa-cart.is-ripple::after{opacity:1}
.wcigr-fa-cart__label{opacity:.88}
.wcigr-fa-cart__count{
	min-width:22px;
	height:22px;
	border-radius:999px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 65%,#4f46e5));
	color:#fff;
	font-size:10px;
	font-weight:900;
	box-shadow:0 2px 8px color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 35%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-cart__count{
		background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),#4f46e5);
		box-shadow:0 2px 8px rgba(37,99,235,.35);
	}
}

.wcigr-fa-sort{
	display:block;
	width:100%;
	margin:0;
	padding:0;
}
.wcigr-fa-sort-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.wcigr-fa-sort label{font-size:10px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin:0}
.wcigr-fa-sort select,.wcigr-fa-sort-btn{
	border-radius:12px;
	border:1px solid rgba(148,163,184,.28);
	padding:8px 10px;
	font-size:12px;
	font-weight:600;
	background:rgba(255,255,255,.92);
	color:var(--wcigr-fa-text,#0f172a);
	box-shadow:0 1px 2px rgba(15,23,42,.04);
	min-height:36px;
	transition:border-color .15s ease,box-shadow .15s ease;
}
.wcigr-fa-sort select:focus,.wcigr-fa-sort-btn:focus{outline:none;border-color:color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 45%, #cbd5e1);box-shadow:0 0 0 3px color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 18%, transparent)}
@supports not (border-color: color-mix(in srgb, red, blue)){
	.wcigr-fa-sort select:focus,.wcigr-fa-sort-btn:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.2)}
}
.wcigr-fa-sort-btn{
	border:0;
	background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 75%,#6366f1));
	color:#fff;
	font-weight:800;
	padding:8px 12px;
	font-size:11px;
	cursor:pointer;
	box-shadow:0 4px 14px color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 38%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-sort-btn{background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),#4f46e5);box-shadow:0 4px 14px rgba(37,99,235,.35)}
}
.wcigr-fa-sort-btn:hover{filter:brightness(1.05)}
.wcigr-fa-sort-btn:active{transform:scale(.98)}
.wcigr-fa-filters{
	display:flex;
	flex-direction:column;
	gap:6px;
	align-items:stretch;
	width:100%;
}
.wcigr-fa-filter-cat{
	display:grid;
	grid-template-columns:auto 1fr;
	gap:4px 8px;
	align-items:center;
	min-width:0;
}
.wcigr-fa-filter-cat-lbl{
	font-size:10px;
	color:#64748b;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.05em;
	align-self:center;
}
.wcigr-fa-cat-wrap{min-width:0;position:relative}
.wcigr-fa-cat-trigger{
	display:none;
	width:100%;
	align-items:center;
	justify-content:space-between;
	gap:8px;
	min-height:34px;
	padding:6px 10px;
	border-radius:10px;
	border:1px solid rgba(148,163,184,.35);
	background:rgba(255,255,255,.96);
	font-size:11px;
	font-weight:700;
	color:var(--wcigr-fa-text,#0f172a);
	box-shadow:0 1px 3px rgba(15,23,42,.06);
	cursor:pointer;
	text-align:left;
	-webkit-tap-highlight-color:transparent;
}
.wcigr-fa-cat-trigger__text{
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	min-width:0;
	flex:1;
}
.wcigr-fa-cat-trigger::after{
	content:"";
	flex-shrink:0;
	width:10px;
	height:10px;
	margin-left:6px;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
	opacity:.85;
}
.wcigr-fa-cat-select{
	appearance:none;
	-webkit-appearance:none;
	width:100%;
	padding-right:36px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 10px center;
	background-size:14px;
	border-radius:12px;
	border:1px solid rgba(148,163,184,.35);
	background-color:rgba(255,255,255,.96);
	font-weight:700;
	font-size:12px;
	min-height:36px;
	box-shadow:0 1px 3px rgba(15,23,42,.06);
}
.wcigr-fa-filter-tools{
	display:flex;
	flex-direction:column;
	gap:4px;
	min-width:0;
}
.wcigr-fa-filter-tools__lbl{
	font-size:10px;
	color:#64748b;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.05em;
}
.wcigr-fa-filter-tools__row{
	display:flex;
	flex-wrap:nowrap;
	gap:6px;
	align-items:center;
	min-width:0;
}
.wcigr-fa-filter-tools__row select{
	flex:1 1 0;
	min-width:0;
}
.wcigr-fa-sort select{
	appearance:none;
	-webkit-appearance:none;
	padding-right:32px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 8px center;
	background-size:14px;
	border-radius:12px;
	border:1px solid rgba(148,163,184,.35);
	background-color:rgba(255,255,255,.96);
	font-weight:700;
	font-size:12px;
	max-width:100%;
	box-shadow:0 1px 3px rgba(15,23,42,.06);
}
.wcigr-fa-sort-btn{
	flex:0 0 auto;
	white-space:nowrap;
	align-self:stretch;
	min-width:0;
	padding-left:10px;
	padding-right:10px;
}
@media (max-width:719px){
	.wcigr-fa-head{padding:8px 10px;border-radius:14px;margin-bottom:8px;gap:6px}
	.wcigr-fa-title{font-size:1.05rem}
	.wcigr-fa-cart{padding:5px 10px;font-size:11px;gap:6px}
	.wcigr-fa-cart__count{min-width:20px;height:20px;font-size:9px}
	.wcigr-fa-cat-trigger{display:flex}
	.wcigr-fa-cat-select{
		position:absolute;
		width:1px;
		height:1px;
		padding:0;
		margin:-1px;
		overflow:hidden;
		clip:rect(0,0,0,0);
		clip-path:inset(50%);
		white-space:nowrap;
		border:0;
		opacity:0;
		pointer-events:none;
	}
	.wcigr-fa-filters{gap:5px}
	.wcigr-fa-filter-tools__row select{font-size:11px;min-height:32px;padding:5px 8px;padding-right:28px}
	.wcigr-fa-sort-btn{min-height:32px;padding:5px 10px;font-size:10px}
}
@media (min-width:720px){
	.wcigr-fa-head{
		flex-direction:row;
		flex-wrap:wrap;
		align-items:flex-start;
		justify-content:space-between;
		gap:14px;
		margin-bottom:18px;
		padding:16px 18px;
	}
	.wcigr-fa-head__top{flex:1 1 auto;min-width:200px}
	.wcigr-fa-title{font-size:clamp(1.25rem, 2.5vw, 1.75rem)}
	.wcigr-fa-cart{padding:9px 14px;font-size:13px}
	.wcigr-fa-cart__count{min-width:26px;height:26px;font-size:11px}
	.wcigr-fa-sort{
		display:flex;
		flex:1 1 360px;
		align-items:flex-end;
		justify-content:flex-end;
	}
	.wcigr-fa-filters{
		flex-direction:row;
		flex-wrap:wrap;
		align-items:flex-end;
		justify-content:flex-end;
		gap:10px 12px;
	}
	.wcigr-fa-filter-cat{
		display:flex;
		flex-direction:column;
		align-items:stretch;
		gap:4px;
		min-width:min(100%,220px);
		flex:1 1 200px;
	}
	.wcigr-fa-filter-tools{
		flex:1 1 280px;
		flex-direction:row;
		align-items:flex-end;
		gap:10px;
	}
	.wcigr-fa-filter-tools__lbl{display:none}
	.wcigr-fa-filter-tools__row{flex:1;gap:8px}
	.wcigr-fa-filter-tools__row::before{
		content:"Sort";
		font-size:10px;
		color:#64748b;
		font-weight:800;
		text-transform:uppercase;
		letter-spacing:.05em;
		align-self:center;
		margin-right:-4px;
	}
	.wcigr-fa-sort select,.wcigr-fa-sort-btn{
		min-height:40px;
		padding:9px 12px;
		font-size:13px;
	}
	.wcigr-fa-sort-btn{padding:9px 16px;font-size:12px}
}
body.wcigr-fa-cat-open{overflow:hidden;touch-action:none}
.wcigr-fa-cat-sheet{
	position:fixed;
	inset:0;
	z-index:2147483050;
	display:flex;
	align-items:flex-end;
	justify-content:center;
	padding:0;
	padding-bottom:env(safe-area-inset-bottom);
}
.wcigr-fa-cat-sheet[hidden]{display:none !important}
.wcigr-fa-cat-sheet__backdrop{
	position:absolute;
	inset:0;
	background:rgba(2,6,23,.45);
	backdrop-filter:blur(4px);
	-webkit-backdrop-filter:blur(4px);
}
.wcigr-fa-cat-sheet__panel{
	position:relative;
	width:100%;
	max-width:520px;
	max-height:min(28vh,240px);
	background:#fff;
	border-radius:16px 16px 0 0;
	box-shadow:0 -8px 32px rgba(15,23,42,.18);
	border:1px solid rgba(148,163,184,.2);
	border-bottom:0;
	display:flex;
	flex-direction:column;
	overflow:hidden;
	animation:wcigrFaCatIn .22s ease both;
}
@keyframes wcigrFaCatIn{from{transform:translateY(12px);opacity:.65}to{transform:translateY(0);opacity:1}}
.wcigr-fa-cat-sheet__head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:8px;
	padding:6px 10px;
	border-bottom:1px solid rgba(148,163,184,.2);
	flex-shrink:0;
	background:linear-gradient(180deg,#fafbfc,#fff);
}
.wcigr-fa-cat-sheet__title{
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.04em;
	color:#64748b;
}
.wcigr-fa-cat-sheet__close{
	width:30px;
	height:30px;
	border:0;
	border-radius:999px;
	background:rgba(241,245,249,.95);
	color:var(--wcigr-fa-text,#0f172a);
	font-size:18px;
	line-height:1;
	cursor:pointer;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	-webkit-tap-highlight-color:transparent;
}
.wcigr-fa-cat-sheet__list{
	overflow:auto;
	-webkit-overflow-scrolling:touch;
	padding:2px 0 8px;
	max-height:min(22vh,200px);
}
.wcigr-fa-cat-sheet__item{
	display:flex;
	width:100%;
	align-items:center;
	justify-content:space-between;
	gap:8px;
	padding:6px 12px;
	border:0;
	border-bottom:1px solid rgba(241,245,249,.95);
	background:#fff;
	font-size:11px;
	font-weight:600;
	color:var(--wcigr-fa-text,#0f172a);
	text-align:left;
	cursor:pointer;
	min-height:0;
	line-height:1.25;
	-webkit-tap-highlight-color:transparent;
}
.wcigr-fa-cat-sheet__item:active{background:#f8fafc}
.wcigr-fa-cat-sheet__item.is-active{
	background:color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 8%,#fff);
	font-weight:800;
}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-cat-sheet__item.is-active{background:rgba(37,99,235,.07)}
}
.wcigr-fa-cat-sheet__item::after{
	content:"";
	width:14px;
	height:14px;
	border-radius:999px;
	border:2px solid rgba(148,163,184,.45);
	flex-shrink:0;
}
.wcigr-fa-cat-sheet__item.is-active::after{
	border-color:var(--wcigr-fa-accent,#2563eb);
	background:radial-gradient(circle,var(--wcigr-fa-accent,#2563eb) 45%,transparent 46%);
}
@media (min-width:720px){
	.wcigr-fa-cat-sheet{display:none !important}
}

.wcigr-fa-fly-dot{position:fixed;z-index:2147483200;width:12px;height:12px;border-radius:50%;background:var(--wcigr-fa-accent,#2563eb);box-shadow:0 0 0 3px rgba(37,99,235,.25);pointer-events:none;margin:0}
@keyframes wcigrFaCartNudge{0%{transform:scale(1)}45%{transform:scale(1.09)}100%{transform:scale(1)}}
.wcigr-fa-cart-nudge{animation:wcigrFaCartNudge .55s ease}
.wcigr-bm__cart.wcigr-fa-cart-nudge{display:inline-flex;animation:wcigrFaCartNudge .55s ease}

.wcigr-fa-btn.is-busy,.wcigr-fa-add.is-busy,.wcigr-fa-var-add.is-busy{
	pointer-events:none;
	filter:saturate(1.08) brightness(1.06);
	box-shadow:0 0 0 2px rgba(255,255,255,.45) inset,0 4px 14px rgba(15,23,42,.12);
}
.wcigr-fa-btn.is-added,.wcigr-fa-add.is-added,.wcigr-fa-var-add.is-added{
	background:linear-gradient(135deg,#15803d,#22c55e) !important;
	box-shadow:0 6px 22px rgba(34,197,94,.38) !important;
	color:#fff !important;
}
.wcigr-fa-qv .wcigr-fa-btn.is-added,.wcigr-fa-qv .wcigr-fa-add.is-added,.wcigr-fa-qv .wcigr-fa-var-add.is-added{
	background:linear-gradient(135deg,#15803d,#22c55e) !important;
	filter:none !important;
}
.wcigr-fa-btn:focus-visible,.wcigr-fa-add:focus-visible,.wcigr-fa-var-add:focus-visible,.wcigr-fa-sort-btn:focus-visible{
	outline:2px solid rgba(37,99,235,.45);
	outline-offset:2px;
}
@supports (outline-color: color-mix(in srgb, red, blue)){
	.wcigr-fa-btn:focus-visible,.wcigr-fa-add:focus-visible,.wcigr-fa-var-add:focus-visible,.wcigr-fa-sort-btn:focus-visible{
		outline-color:color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 55%, transparent);
	}
}
.wcigr-fa-var-add.wcigr-fa-var-add--oos{
	cursor:pointer;
	background:linear-gradient(135deg,#94a3b8,#64748b) !important;
	color:#fff !important;
	box-shadow:0 4px 14px rgba(71,85,105,.35) !important;
	filter:none !important;
}
.wcigr-fa-qv .wcigr-fa-var-add.wcigr-fa-var-add--oos{
	filter:none !important;
}

/* Grid — default mobile 4 cols (balanced tiles); PHP overrides --wcigr-fa-cols-m */
.wcigr-fa-grid{
	display:grid;
	grid-template-columns:repeat(var(--wcigr-fa-cols-m,4),minmax(0,1fr));
	gap:8px;
	content-visibility:auto;
	contain-intrinsic-size:420px 280px;
}
@media (min-width:720px){.wcigr-fa-grid{grid-template-columns:repeat(var(--wcigr-fa-cols-t,6),minmax(0,1fr));gap:16px}}
@media (min-width:1200px){.wcigr-fa-grid{grid-template-columns:repeat(var(--wcigr-fa-cols-p,8),minmax(0,1fr));gap:18px}}

/* Phone: compact text + buttons; image keeps full cell width (square thumb unchanged) */
@media (max-width:719px){
	.wcigr-fa-container{padding-left:10px;padding-right:10px;padding-top:10px}
	.wcigr-fa-card{border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06),0 4px 14px -4px rgba(15,23,42,.1)}
	.wcigr-fa-card:hover{transform:translateY(-1px)}
	.wcigr-fa-meta{padding:5px 4px 0}
	.wcigr-fa-name{font-size:9px;line-height:1.2;max-height:2.4em;font-weight:800;letter-spacing:-.02em}
	.wcigr-fa-weight{margin-top:1px;font-size:8px;line-height:1.15}
	.wcigr-fa-price{margin-top:3px;padding:2px 5px;font-size:8.5px;border-radius:6px}
	.wcigr-fa-foot{padding:4px 4px 5px;gap:3px}
	.wcigr-fa-btn,.wcigr-fa-add{font-size:8px;padding:5px 4px;border-radius:7px;line-height:1.12;font-weight:800}
	.wcigr-fa-var-toggle{font-size:8px;padding:5px 4px}
}
/* 4-column mobile: slightly larger type than 5–6 col, still short cards */
@media (max-width:719px){
	.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-meta{padding:5px 5px 0}
	.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-name{font-size:9.5px;max-height:2.35em}
	.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-weight{font-size:8.5px}
	.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-price{font-size:9px;padding:2px 6px}
	.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-btn,.wcigr-fa-container.wcigr-fa-cols-m4 .wcigr-fa-add{font-size:8.5px;padding:5px 5px}
}

.wcigr-fa-card{
	background:rgba(255,255,255,.92);
	border:1px solid rgba(148,163,184,.18);
	border-radius:22px;
	overflow:hidden;
	box-shadow:
		0 1px 2px rgba(15,23,42,.04),
		0 8px 28px -6px rgba(15,23,42,.1);
	transition:transform .22s cubic-bezier(.22,1,.36,1),box-shadow .22s ease,border-color .22s ease;
	backdrop-filter:blur(8px);
	-webkit-backdrop-filter:blur(8px);
}
.wcigr-fa-card:hover{
	transform:translateY(-3px);
	border-color:rgba(148,163,184,.32);
	box-shadow:
		0 4px 6px -2px rgba(15,23,42,.06),
		0 20px 48px -12px rgba(15,23,42,.16);
}

.wcigr-fa-thumb{
	display:block;
	aspect-ratio:1/1;
	background:linear-gradient(160deg,#f8fafc 0%,#f1f5f9 100%);
	position:relative;
	overflow:hidden;
}
.wcigr-fa-thumb img{
	width:100%;
	height:100%;
	object-fit:contain;
	display:block;
	transition:transform .4s cubic-bezier(.22,1,.36,1);
}
.wcigr-fa-card:hover .wcigr-fa-thumb img{transform:scale(1.05)}
.wcigr-fa-thumb-ph{display:block;width:100%;height:100%;background:linear-gradient(125deg,#e2e8f0,#f8fafc 48%,#e2e8f0)}

.wcigr-fa-meta{padding:12px 12px 0}
.wcigr-fa-name{
	display:block;
	font-weight:800;
	font-size:13px;
	line-height:1.28;
	max-height:2.56em;
	overflow:hidden;
	text-overflow:ellipsis;
	color:var(--wcigr-fa-text,#0f172a);
	text-decoration:none;
	letter-spacing:-.015em;
	transition:color .15s ease;
}
.wcigr-fa-card:hover .wcigr-fa-name{color:var(--wcigr-fa-accent,#2563eb)}
.wcigr-fa-weight{margin-top:6px;color:#64748b;font-weight:700;font-size:11.5px}

@media (max-width:520px){
	.wcigr-fa-head{padding:12px 14px;border-radius:18px}
	/* Narrow phones: keep dense grid rules from max-width:719px; only tweak head */
}

.wcigr-fa-gst{display:none}
.wcigr-fa-chip{
	display:inline-flex;
	align-items:center;
	gap:6px;
	background:rgba(241,245,249,.9);
	border:1px solid rgba(148,163,184,.22);
	border-radius:999px;
	padding:5px 9px;
	font-weight:800;
	font-size:11px;
	color:var(--wcigr-fa-text,#0f172a);
}
.wcigr-fa-price{
	margin-top:8px;
	background:linear-gradient(135deg,color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 12%, transparent),color-mix(in srgb,var(--wcigr-fa-accent,#6366f1) 8%, transparent));
	color:var(--wcigr-fa-accent,#1d4ed8);
	font-weight:900;
	border-radius:12px;
	padding:7px 11px;
	font-size:12px;
	display:inline-flex;
	align-items:center;
	gap:6px;
	border:1px solid color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 22%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-price{
		background:linear-gradient(135deg,rgba(37,99,235,.1),rgba(99,102,241,.08));
		border:1px solid rgba(37,99,235,.2);
	}
}
.wcigr-fa-price .amount{font-weight:900}
.wcigr-fa-price .woocommerce-Price-currencySymbol{opacity:.9}

.wcigr-fa-foot{padding:12px;display:flex;gap:8px;align-items:center;justify-content:space-between}
.wcigr-fa-btn,.wcigr-fa-add{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 78%,#6366f1));
	color:#fff;
	border-radius:14px;
	border:0;
	font-weight:800;
	padding:12px 14px;
	text-decoration:none;
	font-size:13px;
	width:100%;
	position:relative;
	overflow:hidden;
	-webkit-tap-highlight-color:transparent;
	box-shadow:0 4px 12px color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 32%, transparent);
	transition:filter .15s ease,transform .12s ease;
}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-btn,.wcigr-fa-add{background:linear-gradient(135deg,var(--wcigr-fa-accent,#2563eb),#4f46e5);box-shadow:0 4px 12px rgba(37,99,235,.3)}
}
.wcigr-fa-btn{cursor:pointer}
.wcigr-fa-btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}
.wcigr-fa-btn:active:not([disabled]),.wcigr-fa-add:active{transform:scale(.98)}
.wcigr-fa-link{font-weight:800;text-decoration:none;color:var(--wcigr-fa-text,#0f172a);opacity:.75;font-size:12px}
.wcigr-fa-link:hover{opacity:1;color:var(--wcigr-fa-accent,#2563eb)}

.wcigr-fa-var{padding:10px}
.wcigr-fa-var__inner{
	border:1px solid rgba(148,163,184,.22);
	border-radius:18px;
	background:rgba(248,250,252,.85);
	padding:12px;
	backdrop-filter:blur(6px);
	-webkit-backdrop-filter:blur(6px);
}
.wcigr-fa-var__body{display:flex;flex-direction:column;gap:10px}
.wcigr-fa-var__row{display:flex;flex-direction:column;gap:6px}
.wcigr-fa-var__row label{font-weight:800;font-size:11px;color:#475569;text-transform:uppercase;letter-spacing:.04em}
.wcigr-fa-var__row select{border:1px solid rgba(148,163,184,.28);border-radius:14px;min-height:48px;padding:10px 14px;font-weight:700;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.wcigr-fa-swatches{display:flex;gap:8px;flex-wrap:wrap}
.wcigr-fa-swatch{border:1px solid rgba(148,163,184,.3);border-radius:999px;padding:8px 12px;background:#fff;font-weight:800;font-size:12px;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.wcigr-fa-swatch:hover{border-color:var(--wcigr-fa-accent,#2563eb)}
.wcigr-fa-swatch.is-active{background:color-mix(in srgb,var(--wcigr-fa-accent,#2563eb) 12%, #fff);border-color:var(--wcigr-fa-accent,#2563eb)}
@supports not (background: color-mix(in srgb, red, blue)){
	.wcigr-fa-swatch.is-active{background:rgba(37,99,235,.1)}
}
.wcigr-fa-var__foot{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px}

.wcigr-fa-btn::after,.wcigr-fa-add::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--wcigr-rx,50%) var(--wcigr-ry,50%), rgba(255,255,255,.35), rgba(255,255,255,0) 56%);opacity:0;transition:opacity .22s ease;pointer-events:none}
.wcigr-fa-btn.is-ripple::after,.wcigr-fa-add.is-ripple::after{opacity:1}
.wcigr-fa-btn:hover:not([disabled]),.wcigr-fa-add:hover{filter:brightness(1.04);text-decoration:none}

.wcigr-fa-pager{display:flex;gap:12px;align-items:center;justify-content:center;margin:24px 0 8px}
.wcigr-fa-pager-link{
	display:inline-flex;
	padding:12px 20px;
	border-radius:999px;
	border:1px solid rgba(148,163,184,.25);
	background:rgba(255,255,255,.9);
	color:var(--wcigr-fa-text,#0f172a);
	text-decoration:none;
	font-weight:800;
	font-size:14px;
	box-shadow:0 2px 8px rgba(15,23,42,.06);
	transition:transform .15s ease,box-shadow .15s ease;
}
.wcigr-fa-pager-link:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,23,42,.1)}
.wcigr-fa-pager-mid{color:#64748b;font-weight:800;font-size:14px}

.wcigr-fa-empty{
	padding:32px 20px;
	border-radius:20px;
	border:1px dashed rgba(148,163,184,.4);
	background:rgba(255,255,255,.7);
	text-align:center;
	color:#64748b;
	font-weight:800;
	font-size:15px;
}

.wcigr-fa-toast{
	position:fixed;
	left:50%;
	bottom:90px;
	transform:translateX(-50%);
	background:#0f172a;
	color:#fff;
	padding:12px 18px;
	border-radius:999px;
	font-size:13px;
	font-weight:700;
	opacity:0;
	pointer-events:none;
	transition:opacity .22s ease,transform .22s ease;
	z-index:9999;
	box-shadow:0 12px 40px rgba(15,23,42,.35);
}
.wcigr-fa-toast.is-show{opacity:1;transform:translateX(-50%) translateY(-3px)}

/* —— Quick view (centered dialog) —— */
body.wcigr-fa-qv-open{overflow:hidden;touch-action:none}
.wcigr-fa-qv{
	position:fixed;
	inset:0;
	z-index:2147483100;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
}
.wcigr-fa-qv[hidden]{display:none !important}
/* Always portaled to body in JS; isolation avoids stacking quirks with transformed ancestors */
.wcigr-fa-qv.wcigr-fa-qv--portal{isolation:isolate}
.wcigr-fa-qv__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.58);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.wcigr-fa-qv__shell{
	position:relative;
	width:calc(100% - 24px);
	max-width:520px;
	max-height:min(88vh,88dvh,calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px),860px);
	background:var(--wcigr-fa-bg,#fff);
	border-radius:20px;
	box-shadow:0 24px 64px rgba(15,23,42,.22),0 0 0 1px rgba(148,163,184,.18) inset;
	display:flex;
	flex-direction:column;
	overflow:hidden;
	animation:wcigrQvIn .32s cubic-bezier(.22,.78,.24,1) both;
	border:1px solid rgba(148,163,184,.2);
}
@keyframes wcigrQvIn{from{transform:scale(.96);opacity:.45}to{transform:scale(1);opacity:1}}
.wcigr-fa-qv__close{
	position:absolute;
	top:12px;
	right:12px;
	z-index:3;
	width:42px;
	height:42px;
	border:0;
	border-radius:999px;
	background:rgba(255,255,255,.94);
	color:var(--wcigr-fa-text,#0f172a);
	font-size:22px;
	line-height:1;
	cursor:pointer;
	box-shadow:0 4px 16px rgba(15,23,42,.12);
	transition:transform .15s ease;
}
.wcigr-fa-qv__close:hover{transform:scale(1.06)}
.wcigr-fa-qv__body{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:0 0 calc(12px + env(safe-area-inset-bottom))}
.wcigr-fa-qv__loading{padding:32px 16px;text-align:center;font-weight:800;opacity:.65}
.wcigr-fa-qv__inner{display:flex;flex-direction:column;gap:0}
.wcigr-fa-qv__gallery{position:relative;background:linear-gradient(180deg,#f8fafc,#fff);border-bottom:1px solid rgba(148,163,184,.18)}
.wcigr-fa-qv__slides{position:relative;aspect-ratio:1/1;max-height:min(42vh,320px);background:#fff}
.wcigr-fa-qv__slide{position:absolute;inset:0;display:none;align-items:center;justify-content:center;padding:14px}
.wcigr-fa-qv__slide.is-active{display:flex}
.wcigr-fa-qv__slide img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in;border-radius:8px}
.wcigr-fa-qv__dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:7px;z-index:2}
.wcigr-fa-qv__dot{width:8px;height:8px;border-radius:999px;border:0;background:rgba(255,255,255,.5);box-shadow:0 0 0 1px rgba(15,23,42,.1);cursor:pointer;padding:0;transition:transform .15s ease,background .15s ease}
.wcigr-fa-qv__dot.is-active{background:var(--wcigr-fa-accent,#2563eb);transform:scale(1.2)}
.wcigr-fa-qv__content{padding:14px 16px 10px;color:var(--wcigr-fa-text,#0f172a)}
.wcigr-fa-qv__title{margin:0 0 8px;font-size:1.15rem;font-weight:800;line-height:1.25;letter-spacing:-.03em;padding-right:44px}
.wcigr-fa-qv__meta{
	list-style:none;
	margin:0 0 10px;
	padding:0;
	display:flex;
	flex-direction:column;
	gap:4px;
}
.wcigr-fa-qv__meta-item{
	font-size:12px;
	line-height:1.35;
	color:var(--wcigr-fa-text,#0f172a);
}
.wcigr-fa-qv__meta-k{
	font-weight:800;
	color:#64748b;
	margin-right:6px;
}
.wcigr-fa-qv__meta-v{font-weight:600}
.wcigr-fa-qv__excerpt{font-size:13px;line-height:1.45;color:#475569;margin-bottom:10px}
.wcigr-fa-qv__price{margin-bottom:8px;font-weight:900;font-size:1.02rem}
.wcigr-fa-qv__qty-row{
	display:flex;
	align-items:center;
	gap:10px;
	margin:0 0 10px;
	flex-wrap:wrap;
}
.wcigr-fa-qv__qty-lbl{
	font-size:10px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.05em;
	color:#64748b;
}
.wcigr-fa-qv__qty{
	display:inline-flex;
	align-items:center;
	gap:0;
	border:1px solid rgba(148,163,184,.35);
	border-radius:10px;
	padding:2px;
	background:#fff;
	box-shadow:0 1px 3px rgba(15,23,42,.05);
}
.wcigr-fa-qv__qty-input{
	width:2.6em;
	min-height:32px;
	border:0;
	text-align:center;
	font-weight:800;
	font-size:14px;
	background:transparent;
	color:var(--wcigr-fa-text,#0f172a);
	-moz-appearance:textfield;
}
.wcigr-fa-qv__qty-input::-webkit-outer-spin-button,
.wcigr-fa-qv__qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wcigr-fa-qv__qty-input:disabled{opacity:.45;cursor:not-allowed}
.wcigr-fa-qv__qtybtn{
	min-width:32px;
	height:32px;
	border:0;
	border-radius:8px;
	background:#f1f5f9;
	font-weight:900;
	font-size:17px;
	line-height:1;
	cursor:pointer;
	color:var(--wcigr-fa-text,#0f172a);
	-webkit-tap-highlight-color:transparent;
	transition:background .15s ease;
}
.wcigr-fa-qv__qtybtn:active{background:#e2e8f0}
.wcigr-fa-qv .wcigr-fa-var{padding:0;margin-top:6px}
.wcigr-fa-qv .wcigr-fa-var__inner{
	border-radius:14px;
	border:1px solid rgba(148,163,184,.22);
	background:rgba(248,250,252,.92);
	padding:10px;
	display:flex;
	flex-direction:column;
	gap:8px;
}
.wcigr-fa-qv__sticky{
	position:sticky;
	bottom:0;
	display:flex;
	flex-direction:column;
	gap:8px;
	align-items:stretch;
	padding:12px 16px calc(12px + env(safe-area-inset-bottom));
	background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.98));
	border-top:1px solid rgba(148,163,184,.2);
	backdrop-filter:blur(10px);
	-webkit-backdrop-filter:blur(10px);
	z-index:2;
}
.wcigr-fa-qv__sticky-main{display:flex;flex-direction:column;gap:8px;width:100%}
.wcigr-fa-qv__sticky-actions{display:flex;flex-direction:row;gap:10px;align-items:center;width:100%}
.wcigr-fa-qv__sticky .wcigr-fa-add{flex:1;min-width:0}
.wcigr-fa-qv .wcigr-fa-var__foot.wcigr-fa-qv__sticky{
	flex-direction:row;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	margin-top:0;
	padding:10px 12px;
	border-radius:0 0 12px 12px;
	background:linear-gradient(180deg,rgba(255,255,255,.85),#fff);
}
.wcigr-fa-qv .wcigr-fa-btn,.wcigr-fa-qv .wcigr-fa-add{
	flex:1;
	background:var(--wcigr-fa-qv-btn,var(--wcigr-fa-accent,#2563eb));
	color:var(--wcigr-fa-qv-btn-text,#fff) !important;
	border-radius:14px;
	font-weight:800;
}
.wcigr-fa-qv .wcigr-fa-btn:hover,.wcigr-fa-qv .wcigr-fa-add:hover{filter:none;background:var(--wcigr-fa-qv-btn-hover,var(--wcigr-fa-qv-btn,var(--wcigr-fa-accent,#2563eb)))}
.wcigr-fa-qv__sticky .wcigr-fa-link,.wcigr-fa-qv .wcigr-fa-var__foot .wcigr-fa-link{flex:0 0 auto;font-size:12px}
.wcigr-fa-qv__sticky.is-qv-pulse,.wcigr-fa-qv .wcigr-fa-var__foot.wcigr-fa-qv__sticky.is-qv-pulse{animation:wcigrQvPulse .62s ease}
@keyframes wcigrQvPulse{0%{transform:scale(1)}35%{transform:scale(1.02)}100%{transform:scale(1)}}
.wcigr-fa-qv-zoom{position:fixed;inset:0;z-index:2147483101;background:rgba(2,6,23,.9);display:flex;align-items:center;justify-content:center;padding:16px}
.wcigr-fa-qv-zoom img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;box-shadow:0 24px 64px rgba(0,0,0,.45)}
.wcigr-fa-qv-zoom__close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:0;border-radius:999px;background:#fff;color:#0f172a;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,.2)}

/* Variable products: shorter gallery on small screens; side-by-side on wide — centered modal, not a tall single column */
.wcigr-fa-qv__inner.wcigr-fa-qv__inner--variable .wcigr-fa-qv__slides{
	max-height:min(32vh,240px);
}
.wcigr-fa-qv__shell:has(.wcigr-fa-qv__inner--variable){
	max-width:min(920px,calc(100vw - 24px));
}
@media (min-width:720px){
	.wcigr-fa-qv{padding:24px}
	.wcigr-fa-qv__shell{max-height:88vh;border-radius:22px}
	.wcigr-fa-qv__body:has(.wcigr-fa-qv__inner--variable){
		overflow:hidden;
		display:flex;
		flex-direction:column;
	}
	.wcigr-fa-qv__body .wcigr-fa-qv__inner--variable{
		flex:1 1 auto;
		min-height:0;
		max-height:100%;
	}
	.wcigr-fa-qv__inner.wcigr-fa-qv__inner--variable{
		flex-direction:row;
		align-items:stretch;
		min-height:0;
		flex:1;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-qv__gallery{
		flex:0 0 38%;
		max-width:360px;
		border-bottom:none;
		border-right:1px solid rgba(148,163,184,.18);
		align-self:stretch;
		display:flex;
		flex-direction:column;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-qv__slides{
		flex:1;
		min-height:200px;
		max-height:min(72vh,520px);
		aspect-ratio:1/1;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-qv__content{
		flex:1;
		min-width:0;
		display:flex;
		flex-direction:column;
		overflow:hidden;
		padding-bottom:8px;
		max-height:min(88vh,720px);
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-var{
		flex:1;
		min-height:0;
		display:flex;
		flex-direction:column;
		margin-top:4px;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-var__inner{
		flex:1;
		min-height:0;
		display:flex;
		flex-direction:column;
		overflow:hidden;
		padding:10px;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-var__body{
		flex:1;
		min-height:0;
		overflow-y:auto;
		-webkit-overflow-scrolling:touch;
		padding-right:4px;
	}
	.wcigr-fa-qv__inner--variable .wcigr-fa-var__foot.wcigr-fa-qv__sticky{
		position:relative;
		bottom:auto;
		flex-shrink:0;
		margin-top:8px;
	}
}
