/* ═══════════════════════════════════════════════════════════════
   Skin «تیره» — true dark surfaces, gaming/accessories vibe,
   glossy cards, neon-violet accent. Loaded only when active.
   Surfaces/ink come from the dark token set; this file adds glow,
   glass and fixes places that hard-code light backgrounds.
   ═══════════════════════════════════════════════════════════════ */

body.pfs-skin-tireh { background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--pf-primary) 22%, transparent), transparent 60%), var(--pf-bg); background-attachment: fixed; }
.pfs-skin-tireh ::selection { background: var(--pf-primary); color: #fff; }

/* Glass header in one row. */
.pfs-header--tireh .pfs-header__sticky {
	background: color-mix(in srgb, var(--pf-bg) 72%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--pf-line);
}
.pfs-header--tireh .pfs-main { height: 74px; border-bottom: 0; gap: 1.25rem; }
.pfs-header--tireh .pfs-nav { height: auto; flex: 1 1 auto; min-width: 0; }
.pfs-header--tireh .pfs-megamenu {
	position: static; display: flex; flex-wrap: nowrap; overflow: visible;
	background: transparent; border: 0; box-shadow: none; padding: 0;
}
.pfs-header--tireh .pfs-megamenu__cat { color: var(--pf-ink-2); font-weight: 600; }
.pfs-header--tireh .pfs-megamenu__cat:hover { color: #fff; background: var(--pf-surface-2); }
.pfs-header--tireh .pfs-megamenu__panel { background: var(--pf-surface); border-color: var(--pf-line); box-shadow: var(--pf-shadow-lg); }
.pfs-header--tireh .pfs-search { flex: 0 1 340px; margin-inline: 0; }
.pfs-header--tireh .pfs-search__box { height: 44px; border-radius: 999px; background: var(--pf-surface-2); border: 1px solid var(--pf-line-strong); }
.pfs-header--tireh .pfs-search__box:focus-within { border-color: var(--pf-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-primary) 35%, transparent), 0 0 24px color-mix(in srgb, var(--pf-primary) 45%, transparent); }
.pfs-header--tireh .pfs-search__submit { display: none; }
.pfs-header--tireh .pfs-search__input { color: var(--pf-ink); }
.pfs-header--tireh .pfs-action i { color: var(--pf-ink); }
.pfs-header--tireh .pfs-action:hover { background: var(--pf-surface-2); }
.pfs-skin-tireh .pfs-search__results { background: var(--pf-surface); border-color: var(--pf-line); }
@media (max-width: 860px) {
	.pfs-header--tireh .pfs-search { flex: 1 0 100%; }
	.pfs-header--tireh .pfs-main { height: auto; }
}

/* Home sections. */
.pfs-skin-tireh .ph-section-title { color: var(--pf-ink); }
.pfs-skin-tireh .ph-section-title::after { background: linear-gradient(90deg, var(--pf-accent), var(--pf-primary)); box-shadow: 0 0 12px var(--pf-primary); }
.pfs-skin-tireh .ph-section-more { color: var(--pf-accent); }
.pfs-skin-tireh .ph-cat__circle { background: var(--pf-surface-2); border: 1px solid var(--pf-line-strong); }
.pfs-skin-tireh .ph-cat__circle i { color: var(--pf-accent) !important; }
.pfs-skin-tireh .ph-cat__name { color: var(--pf-ink-2); }
.pfs-skin-tireh .ph-carousel__arrow { background: var(--pf-surface-2); color: var(--pf-ink); border-color: var(--pf-line); }
.pfs-skin-tireh .ph-deals2__band { background: linear-gradient(120deg, #1c1238, var(--pf-surface)); border: 1px solid var(--pf-line-strong); }
.pfs-skin-tireh .ph-brand-item { background: var(--pf-surface); border-color: var(--pf-line); color: var(--pf-ink-2); }
.pfs-skin-tireh .ph-blog-card { background: var(--pf-surface); border-color: var(--pf-line); }
.pfs-skin-tireh .pfs-usp__item { background: var(--pf-surface); }
.pfs-skin-tireh .pfs-usp__icon { background: color-mix(in srgb, var(--pf-primary) 22%, transparent); color: #d6c8ff; }

/* Glossy cards: gradient hairline border, inner highlight, glow on hover. */
.pfs-skin-tireh .pfs-card {
	background:
		linear-gradient(var(--pf-surface), var(--pf-surface)) padding-box,
		linear-gradient(145deg, color-mix(in srgb, var(--pf-primary) 70%, transparent), var(--pf-line) 40%, color-mix(in srgb, var(--pf-accent) 50%, transparent)) border-box !important;
	border: 1px solid transparent !important;
	border-radius: var(--pf-radius) !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--pf-shadow) !important;
	transition: transform .25s, box-shadow .25s;
}
.pfs-skin-tireh .pfs-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px color-mix(in srgb, var(--pf-primary) 50%, transparent), 0 14px 40px color-mix(in srgb, var(--pf-primary) 35%, transparent) !important; }
.pfs-skin-tireh .pfs-card__img-link { display: block; border-radius: calc(var(--pf-radius) - 6px); background: radial-gradient(circle at 50% 35%, #2a2546, #15131f 70%); }
.pfs-skin-tireh .pfs-card__title { color: var(--pf-ink) !important; }
.pfs-skin-tireh .pfs-card__brand { color: var(--pf-accent) !important; }
.pfs-skin-tireh .pfs-card__foot { background: color-mix(in srgb, var(--pf-primary) 12%, var(--pf-surface)); border-block-start-color: var(--pf-line); }
.pfs-skin-tireh .pfs-card__price, .pfs-skin-tireh .pfs-card__price ins { color: #fff; }
.pfs-skin-tireh .pfs-card__price del { color: var(--pf-muted); }
.pfs-skin-tireh .pfs-card__add { background: linear-gradient(135deg, var(--pf-primary), #4f46e5); box-shadow: 0 6px 18px color-mix(in srgb, var(--pf-primary) 40%, transparent); }
.pfs-skin-tireh .pfs-spec-chip { background: var(--pf-surface-2); color: var(--pf-ink-2); border-color: var(--pf-line); }

/* WooCommerce + Blocksy surfaces that ship light backgrounds. */
.pfs-skin-tireh .ct-container, .pfs-skin-tireh .site-main { color: var(--pf-ink-2); }
.pfs-skin-tireh .woocommerce-message, .pfs-skin-tireh .woocommerce-info, .pfs-skin-tireh .woocommerce-error { background: var(--pf-surface); color: var(--pf-ink); border-color: var(--pf-line); }
.pfs-skin-tireh input, .pfs-skin-tireh select, .pfs-skin-tireh textarea { background-color: var(--pf-surface-2); color: var(--pf-ink); border-color: var(--pf-line-strong); }
.pfs-skin-tireh table, .pfs-skin-tireh th, .pfs-skin-tireh td { border-color: var(--pf-line) !important; }
.pfs-skin-tireh .woocommerce-MyAccount-navigation, .pfs-skin-tireh .woocommerce-MyAccount-content,
.pfs-skin-tireh .woocommerce form.login, .pfs-skin-tireh .woocommerce form.register { background: var(--pf-surface); border-color: var(--pf-line); color: var(--pf-ink-2); }
.pfs-skin-tireh .entry-content a:not([class]) { color: var(--pf-primary-ink); }
.pfs-skin-tireh .hero-section, .pfs-skin-tireh .ct-breadcrumbs { color: var(--pf-muted); }
.pfs-skin-tireh .wc-block-components-panel, .pfs-skin-tireh .wc-block-cart, .pfs-skin-tireh .wp-block-woocommerce-cart { color: var(--pf-ink-2); }
.pfs-skin-tireh .pfs-drawer, .pfs-skin-tireh .pfs-mmenu { background: var(--pf-surface); color: var(--pf-ink); }
.pfs-skin-tireh .pfs-bottom-nav { background: color-mix(in srgb, var(--pf-surface) 88%, transparent); backdrop-filter: blur(12px); border-top-color: var(--pf-line); }

/* Footer. */
.pfs-footer--tireh { background: var(--pf-dark); border-top: 0; }
.pfs-footer--tireh .pfs-f-trust { border-top: 1px solid var(--pf-line); border-bottom: 0; }
.pfs-footer--tireh .pfs-f-social a { background: var(--pf-surface-2); color: var(--pf-ink); border-color: var(--pf-line); }
.pfs-footer--tireh .pfs-f-social a:hover { color: #fff; box-shadow: 0 0 18px var(--pf-primary); }
.pfs-footer--tireh .pfs-f-trust__icon { box-shadow: 0 0 18px color-mix(in srgb, var(--pf-primary) 35%, transparent); }
.pfs-skin-tireh .pfs-pdp-tag-chip { background: var(--pf-surface-2) !important; color: var(--pf-ink) !important; border-color: var(--pf-line-strong) !important; }
.pfs-skin-tireh .pfs-pdp-side-card, .pfs-skin-tireh .pfs-pdp-gallery-wrap { background: var(--pf-surface); }
