/**
 * OTS theme base — global reset and layout defaults.
 */

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.ots-theme {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #1a202c;
	font-family: 'IBM Plex Sans Arabic', sans-serif;
	line-height: 1.6;
	direction: rtl;
	text-align: right;
}

#ots-site-main {
	width: 100%;
	min-height: 40vh;
}

.ots-theme img {
	max-width: 100%;
	height: auto;
}

.ots-theme a {
	color: inherit;
}

.ots-theme .ots-header-container a,
.ots-theme .ots-shop-container a,
.ots-theme .ots-premium-single-product a,
.ots-theme .ots-home a,
.ots-theme #ots-premium-footer a {
	text-decoration: none;
}

.ots-page-wrap {
	max-width: 95%;
	margin: 0 auto;
	padding: 24px 0 48px;
}

body.ots-cart-page .ots-page-wrap,
body.ots-checkout-page .ots-page-wrap,
.ots-wc-page {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* WooCommerce defaults — hidden where OTS renders its own UI */
body.ots-theme.woocommerce .woocommerce-result-count,
body.ots-theme.woocommerce .woocommerce-ordering,
body.ots-theme.woocommerce .woocommerce-products-header {
	display: none;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
