/**
Theme Name: AROOJ MART
Author: Arooj trading & tech solutions
Author URI: https://arooj.qa
Description: The AROOJ Store Theme is a modern, professional eCommerce theme designed to deliver a powerful and seamless online selling experience on WordPress. It combines elegant design, high performance, and flexible customization, making it an ideal choice for brands that want a reliable and scalable online store.
Key Features:
🎨 Clean & modern design focused on showcasing products and enhancing user experience.
⚡ Fast and optimized performance with a lightweight structure built on best speed practices.
🛒 Full WooCommerce integration for easy product, order, and checkout management.
🧩 Elementor & Gutenberg support to build and edit pages without coding skills.
🌍 Multilingual ready (English & Arabic) with full RTL support.
📱 Fully responsive and optimized for mobile, tablet, and desktop devices.
🔧 Highly customizable colors, typography, header, and footer.
🔒 Secure & future-proof, built according to modern WordPress standards.
🚀 Scalable and extensible, ready for future payment gateways and shipping integrations.
The AROOJ Store Theme is more than just a beautiful design—it’s a complete eCommerce foundation that helps you launch with confidence, build a strong brand presence, and deliver an exceptional shopping experience to your customers.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arooj-mart
Template: astra
*/

:root {
	--ar-primary: #0f766e;
	--ar-primary-strong: #0c5c55;
	--ar-ink: #0f172a;
	--ar-ink-soft: #334155;
	--ar-muted: #e2e8f0;
	--ar-card: #ffffff;
	--ar-surface: #f8fafc;
	--ar-accent: #f4b942;
	--ar-radius-lg: 18px;
	--ar-radius-md: 14px;
	--ar-shadow: 0 15px 50px rgba(15, 118, 110, 0.08);
}

body {
	font-family: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--ar-surface);
	color: var(--ar-ink);
	letter-spacing: 0.01em;
}

[dir="rtl"] body {
	font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
	color: var(--ar-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--ar-primary-strong);
}

.site {
	background: transparent;
}

.ast-container,
.woocommerce .ast-container {
	max-width: 1240px;
	padding-left: 20px;
	padding-right: 20px;
}

.site-header {
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	border-bottom: 1px solid var(--ar-muted);
}

.site-title a {
	font-weight: 700;
	letter-spacing: 0.015em;
}

/* Language + trust bar */
/* Trust/utility bar styles removed (replaced by on-page trust section). */

/* Hero + page titles */
header.woocommerce-products-header {
	background: linear-gradient(135deg, #0f766e, #0c5c55);
	color: #ecfeff;
	padding: 22px 24px;
	border-radius: var(--ar-radius-lg);
	box-shadow: var(--ar-shadow);
	margin-bottom: 18px;
}

.woocommerce-products-header h1 {
	color: #ffffff;
	font-weight: 800;
	margin-bottom: 6px;
}

.woocommerce-products-header .term-description {
	color: #e0f2f1;
	margin-bottom: 0;
}

.ast-archive-description:empty {
	display: none;
	padding: 0;
	margin: 0;
}

.ast-archive-description:not(:empty) {
	background: linear-gradient(135deg, #0f766e, #0c5c55);
	color: #ecfeff;
	padding: 18px 20px;
	border-radius: var(--ar-radius-lg);
	box-shadow: var(--ar-shadow);
}

/* Buttons + inputs */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.button,
button,
input[type="submit"] {
	background: linear-gradient(135deg, #0f766e, #0c5c55);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 12px 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 12px 30px rgba(12, 92, 85, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 36px rgba(12, 92, 85, 0.22);
	filter: brightness(1.05);
}

.woocommerce a.button:focus,
.woocommerce button.button:focus,
.woocommerce input.button:focus,
.button:focus,
button:focus,
input[type="submit"]:focus {
	outline: 2px solid #ecfeff;
	outline-offset: 2px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	border: 1px solid var(--ar-muted);
	border-radius: 12px;
	padding: 12px 14px;
	box-shadow: none;
	background: #ffffff;
	transition: border 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	border-color: var(--ar-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

/* Product grid cards */
.woocommerce ul.products {
	gap: 18px !important;
}

.woocommerce ul.products li.product {
	background: transparent;
	margin-bottom: 20px;
}

.woocommerce ul.products li.product .arooj-product-card {
	background: var(--ar-card);
	border: 1px solid #e5e7eb;
	border-radius: var(--ar-radius-lg);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
	height: 100%;
}

.woocommerce ul.products li.product .arooj-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	border-color: rgba(15, 118, 110, 0.3);
}

.woocommerce ul.products li.product a img {
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-weight: 800;
	color: var(--ar-ink);
	font-size: 17px;
	min-height: 46px;
}

.woocommerce ul.products li.product .price {
	font-weight: 800;
	color: var(--ar-primary);
	font-size: 18px;
}

.woocommerce ul.products li.product .price del {
	color: #94a3b8;
	margin-right: 6px;
}

.woocommerce ul.products li.product .button {
	width: 100%;
	justify-content: center;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.woocommerce ul.products li.product .star-rating {
	color: #f4b942;
	margin-top: 4px;
}

.woocommerce span.onsale {
	background: #f4b942;
	color: #0f172a;
	border-radius: 999px;
	padding: 8px 12px;
	min-width: 78px;
	height: auto;
	box-shadow: 0 12px 26px rgba(244, 185, 66, 0.25);
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
	border: none;
	display: inline-flex;
	gap: 10px;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 12px;
	border: 1px solid var(--ar-muted);
	padding: 10px 14px;
	font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--ar-primary);
	color: #ffffff;
	border-color: var(--ar-primary);
}

/* Single product */
.single-product .product {
	background: var(--ar-card);
	border-radius: var(--ar-radius-lg);
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: var(--ar-shadow);
}

.woocommerce div.product .woocommerce-product-gallery {
	border-radius: var(--ar-radius-md);
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.woocommerce div.product .product_title {
	font-size: 28px;
	font-weight: 800;
	color: var(--ar-ink);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ar-primary-strong);
	font-size: 24px;
	font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 12px;
	border-radius: 12px;
	background: #f8fafc;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-weight: 700;
}

.arooj-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.arooj-trust-grid .trust-card {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px;
	background: #ffffff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.arooj-trust-grid .trust-title {
	font-weight: 800;
	margin-bottom: 6px;
	color: var(--ar-ink);
}

.arooj-trust-grid .trust-desc {
	margin: 0;
	color: var(--ar-ink-soft);
}

/* Cart & checkout */
.woocommerce-cart table.cart,
.woocommerce-checkout-review-order-table {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 16px;
}

.cart_totals {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px;
	background: #ffffff;
	box-shadow: var(--ar-shadow);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border-radius: 14px;
	border-color: #e2e8f0;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.woocommerce form .form-row label {
	font-weight: 700;
	color: var(--ar-ink);
	margin-bottom: 6px;
	display: inline-block;
}

/* Utility badges */
.expiry-badge {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
}

.expiry-badge.is-active {
	background: rgba(15, 118, 110, 0.1);
	color: var(--ar-primary-strong);
	border: 1px solid rgba(15, 118, 110, 0.26);
}

.expiry-badge.is-expired {
	background: rgba(239, 68, 68, 0.1);
	color: #b91c1c;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.expiry-badge-wrap {
	display: block;
	margin-bottom: 6px;
}

/* Tables and messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.woocommerce-message {
	background: rgba(15, 118, 110, 0.08);
}

/* Footer */
.site-footer {
	background: #0f172a;
	color: #e2e8f0;
	padding-top: 40px;
}

.site-footer a {
	color: #ecfeff;
}

.site-footer a:hover {
	color: #f4b942;
}

/* RTL adjustments */
[dir="rtl"] .arooj-header-utility {
	text-align: right;
}

[dir="rtl"] .arooj-header-utility .utility-switcher {
	margin-left: 0;
	margin-right: auto;
}

[dir="rtl"] .arooj-language-switcher .language-item {
	margin-left: 0;
	margin-right: 4px;
}

[dir="rtl"] .woocommerce ul.products li.product .price del {
	margin-right: 0;
	margin-left: 6px;
}

[dir="rtl"] .woocommerce ul.products li.product .woocommerce-loop-product__title {
	text-align: right;
}

[dir="rtl"] .woocommerce div.product .product_title {
	text-align: right;
}

[dir="rtl"] .arooj-trust-grid .trust-title,
[dir="rtl"] .arooj-trust-grid .trust-desc {
	text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
	.woocommerce ul.products {
		gap: 14px !important;
	}

	.arooj-header-utility {
		margin: 10px 16px 18px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 15px;
	}

	.single-product .product {
		padding: 14px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		min-height: auto;
	}
}
