/*
Theme Name: Shiko Game Store
Theme URI: https://shikogamestore.com
Author: Shiko
Author URI: https://shikogamestore.com
Description: Custom dark/light gaming theme for Shiko Game Store. Elementor-compatible, WooCommerce-ready, with system-based dark/light mode.
Version: 3.35.4
Changelog: 3.35.4 — spec 111 Clarity follow-up bundle (3 USes in one PATCH): US1 P1 — `/account/loyalty/` 5.38% dead-click fix. The 4 `.shiko-account-split-feat` decorative panels (⚡ Instant Delivery / 🔒 Secure Payments / 💬 24/7 WhatsApp Support / 🎮 500+ Games) have card chrome that makes them look interactive but they're plain `<div>` with no click handler. Marked parent `aria-hidden="true"` + added `pointer-events: none; user-select: none; cursor: default;` so visual is unchanged but they can no longer be clicked or selected. US2 P2 — Clarity benign-error filter. New `inc/clarity-error-filter.php` emits a `wp_head` priority-1 inline `<script>` registering a capture-phase `error` listener that suppresses the `ResizeObserver loop completed with undelivered notifications.` warning (Elementor/Slick noise, 3309/wk in Clarity, ~33% of all JS errors). Real errors still propagate. US3 P3 — `inc/seo/ar-schema-localizer.php` dict expansion. Added Arabic translations for 12 product categories + 6 static page URLs (covers PlayStation Gift Card / PlayStation Plus Editions / Hardware / VR2 / Apple iTunes / Razer Gold / Roblox / PUBG UC / Fortnite V-Bucks / XBOX Gift Card / Valorant / Steam + /ar/about / s-farouk / cancellation-refund / privacy / terms / contact-us). Closes EN-fallback leakage on AR JSON-LD breadcrumbs + WebPage names. DEFERRED: tablet CLS 0.141 follow-up — needs live Chrome MCP shift trace before speculative `min-height` reservation. See specs/111-loyalty-clarity-ar-dict/. 3.35.3 — spec 110 inLanguage scope-down: allowlist-scoped the 3.30.4 recursive `inLanguage` stamper in `inc/seo.php` so it stamps only on language-bearing @types (WebPage / WebSite / Organization / Product / ProductGroup / BreadcrumbList / ListItem / Article / BlogPosting / etc.) and skips nested QuantitativeValue / ImageObject / Offer / MerchantReturnPolicy / OfferShippingDetails / MonetaryAmount / DefinedRegion / ShippingDeliveryTime / PostalAddress / ContactPoint / Place / Brand. New `shiko_inlanguage_allowed_types` filter for operator extension. Same allowlist applied to the non-Rank-Math `shiko_structured_data()` fallback path. PDP inLanguage stamp count drops 56 → ~11 per page; validator.schema.org PDP warnings drop ~50 → ~5. Original spec 109 (http://schema.org → https URL form) RETIRED — live audit confirmed RM Pro already migrated; 0 http:// refs site-wide. See specs/110-inlanguage-scope-down/. 3.35.2 — spec 108 priceValidUntil past-date normalizer extension: extended the 3.16.0 priceValidUntil rewrite condition in inc/agent-readiness.php so it ALSO catches past Y-m-d dates (in addition to the existing 2027-* / 2028-* / empty triggers). Closes the "every Offer signals expired" leak caused by RM Pro reading stale _sale_price_dates_to postmeta on variants whose prior sale has ended. See specs/108-pricevaliduntil-past-date-fix/. 3.35.1 — spec 107 SpeakableSpecification cssSelector fix: swapped default WC class `.woocommerce-product-details__short-description` (never matched on this site since 3.7.0) for Shiko's custom-template class `.shiko-pdp-excerpt` per woocommerce/content-single-product.php:57. Closes the one red ❌ on validator.schema.org's SpeakableSpecification node on every PDP. See specs/107-speakable-selector-fix/. 3.35.0 — spec 105 PDP merchant-fields: hasMerchantReturnPolicy (MerchantReturnNotPermitted + EG) + shippingDetails (zero-cost EGP instant + EG + 0/0 day handling + 0/0 day transit) on every Offer + aggregateRating on Product/ProductGroup when WC review_count >= 1 AND avg > 0 (graceful-degrade otherwise). Closes Google Merchant Listings missing-field warnings. See specs/105-pdp-merchant-fields/. 3.34.1 — spec 104 CR pass-1 hotfix: filter now unsets stale author.description/sameAs/image from upstream Rank Math before conditional re-emit (FR-007/8/9 omit-rule integrity); byline + bio-link labels i18n-wrapped via __('...', 'shiko-theme'); main.css currentColor → currentcolor (stylelint); spec docs updated (AR /ar/ URL prefix not cookie; tasks.md parent lookup 'about' not 'about-us'; rollback chmod sweep). 3.34.0 — spec 104 author E-E-A-T: bio page at /about/s-farouk/ + Person.author url/@id/sameAs/image/description on every BlogPosting + AR mirror via _shiko_ar_* meta. See specs/104-author-eeat/.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shiko-theme
WC requires at least: 8.0
WC tested up to: 10.6
*/
