/* Synedica Woo Catalogue — matches the product grid on synedica.io */
.syn-catalogue {
	--syn-accent: #1B6FD8;
	--syn-accent-hover: #1660C0;
	--syn-success: #14B87E;
	--syn-heading: #0D1117;
	--syn-body: #4A5568;
	--syn-muted: #8A95A3;
	--syn-cat: var(--syn-accent);
	--syn-cat-rgb: 27, 111, 216;
	--syn-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--syn-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-family: var(--syn-font);
	color: var(--syn-body);
	width: 100%;
	box-sizing: border-box;
}
.syn-catalogue *, .syn-catalogue *::before, .syn-catalogue *::after { box-sizing: border-box; }
.syn-catalogue button { font-family: inherit; cursor: pointer; }
.syn-mono { font-family: var(--syn-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--syn-muted); }

/* ---- toolbar ---- */
.syn-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
@media (min-width: 640px) { .syn-toolbar { margin-bottom: 40px; } }
.syn-glass {
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 24px rgba(30, 60, 114, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	border-radius: 9999px;
}
.syn-filterbar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 8px 12px; }
.syn-pills { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.syn-pills::-webkit-scrollbar { display: none; }
.syn-pill {
	position: relative; flex-shrink: 0; padding: 6px 14px; border: 0; border-radius: 9999px; background: transparent;
	font-size: 12px; font-weight: 600; color: var(--syn-body); line-height: 1.4; transition: color .2s, background .2s;
}
.syn-pill:hover { background: rgba(255, 255, 255, 0.4); }
.syn-pill.is-active { color: #fff; background: var(--syn-accent); box-shadow: 0 4px 12px rgba(27, 111, 216, 0.3); }
.syn-divider { width: 1px; height: 24px; background: rgba(13, 17, 23, 0.12); flex-shrink: 0; }
.syn-sort { position: relative; display: none; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 500; color: var(--syn-body); flex-shrink: 0; }
.syn-sort:hover { background: rgba(255, 255, 255, 0.4); }
.syn-sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; padding: 0 16px 0 0; cursor: pointer; outline: none; }
.syn-sort svg { position: absolute; right: 12px; pointer-events: none; }
.syn-count { display: none; padding: 0 8px; flex-shrink: 0; }
@media (min-width: 640px) { .syn-sort, .syn-divider { display: flex; } }
@media (min-width: 768px) { .syn-count { display: flex; align-items: center; } }
.syn-search { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; color: var(--syn-body); }
.syn-search svg { flex-shrink: 0; }
.syn-search-input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font: inherit; font-size: 14px; color: var(--syn-heading); padding: 0; margin: 0; height: auto; }
.syn-search-input::placeholder { color: var(--syn-muted); }
.syn-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---- grid ---- */
.syn-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
	.syn-cols-2 .syn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.syn-cols-3 .syn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.syn-cols-4 .syn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* phone: horizontal swipe carousel, like synedica.io */
@media (max-width: 767px) {
	.syn-grid {
		display: flex; gap: 16px; overflow-x: auto; padding: 4px 20px 16px; margin: 0 calc(50% - 50vw); width: 100vw; max-width: 100vw;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.syn-grid::-webkit-scrollbar { display: none; }
	.syn-card { flex: 0 0 78vw; max-width: 300px; scroll-snap-align: start; }
}
.syn-card.is-hidden { display: none !important; }
.syn-empty { text-align: center; color: var(--syn-muted); font-size: 14px; padding: 40px 0; margin: 0; }

/* ---- card ---- */
.syn-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff;
	border: 1px solid rgba(13, 17, 23, 0.06);
	box-shadow: 0 4px 16px rgba(30, 60, 114, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
	transition: box-shadow .3s, transform .3s, opacity .65s cubic-bezier(.16, 1, .3, 1);
	opacity: 0; transform: translateY(24px);
}
.syn-card.is-in { opacity: 1; transform: none; }
.syn-card.is-in:hover { box-shadow: 0 12px 32px rgba(30, 60, 114, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04); transform: translateY(-2px); }
.syn-card__media {
	position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 240px; overflow: hidden; border: 0; padding: 0;
	background: linear-gradient(160deg, rgba(var(--syn-cat-rgb), 0.15) 0%, rgba(var(--syn-cat-rgb), 0.05) 100%);
}
.syn-catalogue .syn-card .syn-card__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; border-radius: 0; transition: transform .5s; }
.syn-card:hover .syn-card__img { transform: scale(1.03); }
.syn-chip {
	position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 9999px; line-height: 1.2;
	background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: 10px; font-weight: 500; color: var(--syn-heading); white-space: nowrap;
}
.syn-chip--cat { top: 12px; left: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--syn-cat); }
.syn-chip--cat i { width: 6px; height: 6px; border-radius: 50%; background: var(--syn-cat); box-shadow: 0 0 6px rgba(var(--syn-cat-rgb), 0.4); }
.syn-chip--photos { bottom: 12px; left: 12px; }
.syn-chip--expand { bottom: 12px; right: 12px; color: var(--syn-accent); opacity: 0; transition: opacity .2s; display: none; }
@media (min-width: 768px) { .syn-chip--expand { display: inline-flex; } .syn-card:hover .syn-chip--expand { opacity: 1; } }
.syn-card__tags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.syn-badge {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 9999px; white-space: nowrap; line-height: 1.2;
	font-family: var(--syn-font); font-size: 11px; font-weight: 600; letter-spacing: 0.005em; color: #fff;
	background: linear-gradient(135deg, var(--syn-accent) 0%, var(--syn-success) 100%);
	box-shadow: 0 2px 8px rgba(27, 111, 216, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.syn-badge--pens { color: var(--syn-heading); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.syn-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 16px; }
.syn-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.syn-card__title h3 { margin: 0; font-family: var(--syn-font); font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--syn-heading); }
.syn-card__headline { font-size: 12px; font-weight: 500; color: var(--syn-muted); white-space: nowrap; }
.syn-card__specs { display: flex; flex-direction: column; gap: 4px; }
.syn-card__specs p { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 12px; line-height: 1.375; }
.syn-card__subtitle { margin: 0; font-size: 12px; color: var(--syn-muted); }
.syn-marker { color: var(--syn-cat); }
.syn-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.025em; color: var(--syn-muted); }
.syn-value { font-weight: 600; color: var(--syn-heading); }
.syn-card__actions { display: flex; gap: 8px; padding-top: 4px; margin-top: auto; }
.syn-btn {
	display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9999px; border: 1px solid transparent;
	font-family: var(--syn-font); font-size: 13px; font-weight: 500; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.syn-btn--view { color: #fff; background: var(--syn-accent); }
.syn-btn--view:hover { background: var(--syn-accent-hover); color: #fff; }
.syn-btn--verify { color: var(--syn-success); background: #fff; border-color: rgba(20, 184, 126, 0.3); }
.syn-btn--verify:hover { background: rgba(20, 184, 126, 0.06); color: var(--syn-success); }
.syn-btn--ghost { color: var(--syn-body); background: transparent; border-color: rgba(13, 17, 23, 0.12); }
.syn-btn--ghost:hover { background: rgba(13, 17, 23, 0.04); color: var(--syn-heading); }
.syn-card template { display: none; }

/* ---- details panel ---- */
.syn-panel { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.syn-panel[hidden] { display: none; }
.syn-panel__backdrop { position: absolute; inset: 0; background: rgba(13, 17, 23, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.syn-panel__dialog {
	position: relative; width: min(960px, 100%); max-height: min(90vh, 820px); overflow: auto; border-radius: 20px; background: #fff;
	box-shadow: 0 24px 80px rgba(13, 17, 23, 0.35); animation: syn-pop .3s cubic-bezier(.16, 1, .3, 1);
	font-family: var(--syn-font);
}
@keyframes syn-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.syn-panel__close {
	position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.92); border-radius: 50%;
	background: rgba(255, 255, 255, 0.85); color: var(--syn-heading); display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.syn-panel__close:hover { background: #fff; }
.syn-panel__close { padding: 0; }
.syn-panel__close svg { width: 16px; height: 16px; flex-shrink: 0; }
.syn-catalogue .syn-btn svg, .syn-catalogue .syn-chip svg, .syn-catalogue .syn-search svg, .syn-catalogue .syn-sort svg { flex-shrink: 0; width: auto; }
.syn-catalogue .syn-btn svg { width: 14px; height: 14px; }
.syn-detail { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .syn-detail { grid-template-columns: 5fr 6fr; } }
.syn-detail__media { position: relative; background: linear-gradient(160deg, rgba(var(--syn-cat-rgb), 0.15) 0%, rgba(var(--syn-cat-rgb), 0.05) 100%); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.syn-detail__slide { display: none; margin: 0; flex: 1; align-items: center; justify-content: center; }
.syn-detail__slide.is-active { display: flex; }
.syn-catalogue .syn-detail__slide img { max-width: 100%; max-height: 420px; width: auto; height: auto !important; object-fit: contain; border-radius: 14px; }
.syn-detail__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.syn-detail__thumb { width: 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; opacity: .7; transition: opacity .2s, border-color .2s; }
.syn-catalogue .syn-detail__thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.syn-detail__thumb.is-active, .syn-detail__thumb:hover { opacity: 1; border-color: var(--syn-cat); }
.syn-detail__info { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .syn-detail__info { padding: 36px 40px 32px; } }
.syn-detail__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.syn-detail__meta .syn-chip { position: static; }
.syn-detail__name { margin: 4px 0 0; font-family: var(--syn-font); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--syn-heading); }
.syn-detail__subtitle { margin: -6px 0 0; }
.syn-detail__desc { font-size: 14px; line-height: 1.65; color: var(--syn-body); }
.syn-detail__desc p { margin: 0 0 10px; }
.syn-detail__desc p:last-child { margin-bottom: 0; }
.syn-detail__heading { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.syn-detail__specs { display: grid; grid-template-columns: 1fr; gap: 8px 20px; margin: 0; }
@media (min-width: 480px) { .syn-detail__specs { grid-template-columns: 1fr 1fr; } }
.syn-detail__specs > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(var(--syn-cat-rgb), 0.06); }
.syn-detail__specs dt { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--syn-muted); font-weight: 600; }
.syn-detail__specs dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--syn-heading); }
.syn-detail__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.syn-detail__actions .syn-btn { flex: 0 0 auto; padding: 0 18px; }
body.syn-panel-open { overflow: hidden; }
@media (max-width: 767px) {
	.syn-panel { padding: 0; align-items: flex-end; }
	.syn-panel__dialog { max-height: 94vh; border-radius: 20px 20px 0 0; }
}

/* ---- single product page bits ---- */
.synedica-single-subtitle { font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: #8A95A3; font-size: 14px; margin: -8px 0 16px; display: flex; gap: 10px; align-items: center; }
.synedica-single-subtitle .syn-badge { --syn-accent: #1B6FD8; --syn-success: #14B87E; --syn-font: "Plus Jakarta Sans", system-ui, sans-serif; }
.synedica-single-verify { margin: 20px 0; }
.synedica-single-verify .syn-btn { --syn-success: #14B87E; --syn-font: "Plus Jakarta Sans", system-ui, sans-serif; flex: 0 0 auto; padding: 0 22px; height: 44px; font-size: 14px; }

/* ---- single product page (default WooCommerce template) ---- */
.single-product .woocommerce, .single-product .woocommerce h1, .single-product .woocommerce h2, .single-product .woocommerce h3,
.single-product .woocommerce-breadcrumb, .single-product .woocommerce-tabs, .single-product .related { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
.single-product .product_title { font-weight: 700; letter-spacing: -0.02em; color: #0D1117; }
.single-product .woocommerce-breadcrumb { font-size: 12px; color: #8A95A3; }
.single-product .woocommerce-breadcrumb a { color: #4A5568; }
.single-product .woocommerce-tabs ul.tabs li a { font-weight: 600; color: #4A5568; }
.single-product .woocommerce-tabs .panel h2 { font-size: 20px; font-weight: 700; color: #0D1117; }
.single-product .product_meta { font-size: 13px; color: #8A95A3; }
.single-product .product_meta a { color: #1B6FD8; }
.single-product .related h2 { font-size: 22px; font-weight: 700; color: #0D1117; }
.single-product .related .woocommerce-loop-product__title { font-size: 15px; font-weight: 600; color: #0D1117; }
.single-product table.woocommerce-product-attributes th { color: #8A95A3; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.single-product table.woocommerce-product-attributes td { color: #0D1117; font-weight: 600; }

/* ---- "Just Launched" strip ---- */
.syn-grid--launched { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (min-width: 1024px) { .syn-grid--launched { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.syn-card--launched { box-shadow: 0 8px 28px rgba(30, 60, 114, 0.08), 0 1px 2px rgba(0, 0, 0, 0.03); }
.syn-card__media--launched { background: linear-gradient(160deg, rgba(var(--syn-cat-rgb), 0.12) 0%, rgba(var(--syn-cat-rgb), 0.03) 60%, #fff 100%); }
.syn-card__frame { position: absolute; inset: 20px; display: block; }
.syn-catalogue .syn-card .syn-card__img--contain { position: absolute; inset: 0; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(30, 60, 114, 0.18)); }
.syn-card:hover .syn-card__img--contain { transform: scale(1.04); }
.syn-pill-solid {
	position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 9999px; white-space: nowrap; line-height: 1.3;
	background: var(--syn-accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
	box-shadow: 0 2px 8px rgba(27, 111, 216, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.syn-pill-solid--left { left: 12px; }
.syn-pill-solid--right { right: 12px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; box-shadow: 0 4px 12px rgba(27, 111, 216, 0.3); }
.syn-pill-solid i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.syn-card__body--launched { padding: 20px; gap: 10px; }
.syn-card__cat { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--syn-cat); }
.syn-card__name { margin: 0; font-family: var(--syn-font); font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--syn-heading); }
.syn-card__body--launched .syn-card__subtitle { margin: 4px 0 0; font-size: 13px; color: var(--syn-muted); }
.syn-btn--explore { flex: 0 0 auto; margin-top: auto; height: 44px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #1B6FD8 0%, #2563EB 100%); box-shadow: 0 4px 14px rgba(27, 111, 216, 0.32); }
.syn-btn--explore:hover { opacity: .9; color: #fff; }
@media (max-width: 767px) { .syn-grid--launched .syn-card { flex-basis: 78vw; } }
