/*
Theme Name: NileCart
Theme URI: https://nilecodes.com/
Author: NileCodes
Author URI: https://nilecodes.com
Description: NileCart — premium Arabic RTL WooCommerce theme with bundled store dashboard, template library, license manager, and OpenRouter AI assistant. By NileCodes.
Version: 1.4.0
Requires at least: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nilecart
Domain Path: /languages
Tags: e-commerce, rtl-language-support, arabic, woocommerce, ai, block-patterns
*/

/* ---------- NileCart WooCommerce polish (RTL) ---------- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price{color:#0d6e3f;font-weight:800}
.woocommerce ul.products li.product .button,
.woocommerce a.button.alt,
.woocommerce button.button.alt{background:#f2b705;border-color:#f2b705;color:#222;font-weight:700;border-radius:8px}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover{background:#0d6e3f;border-color:#0d6e3f;color:#fff}
.woocommerce span.onsale{background:#0d6e3f}
.nilecart-menu,.nilecart-menu-footer{list-style:none;margin:0;padding:0;display:flex;gap:18px;flex-wrap:wrap}
.nilecart-menu a,.nilecart-menu-footer a{text-decoration:none;color:inherit}
.nilecart-icons form.search-form{display:inline-flex}
.nilecart-icons input.search-field{padding:8px;max-width:160px}
/* Front page owns its Elementor hero — never show the WP page title above it. */
body.home .wp-block-post-title{display:none}
/* Inner pages built with Elementor own their hero too — same rule. */
body.nc-elementor-page .wp-block-post-title{display:none}

/* ---------- classic archive (1.3.1) ---------- */
.nc-archive__list{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));margin:0 0 28px}
.nc-archive__item{border:1px solid rgba(0,0,0,.08);border-radius:10px;padding:20px;background:#fff}
.nc-archive__title{font-size:20px;line-height:1.5;margin:0 0 8px}
.nc-archive__title a{text-decoration:none;color:inherit}
.nc-archive__excerpt{color:#5d5463;font-size:15px}
.nc-archive__desc{max-width:60ch;color:#5d5463;margin:0 0 24px}
.nc-empty{color:#5d5463}

/* ---------- accessibility utilities (screen-reader text) ---------- */
.screen-reader-text{
	border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
	height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;
	position:absolute!important;word-wrap:normal!important;
}
.screen-reader-text:focus{
	background-color:#fff;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);
	clip:auto!important;clip-path:none;color:#111;display:block;font-size:14px;
	font-weight:700;height:auto;inset-inline-start:5px;line-height:normal;
	padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000;
}
