/*
Theme Name: Sitine Boutique
Description: رُزا، پوستهٔ فارسی وردپرس برای فروشگاه پوشاک زنانه با چیدمان واکنش‌گرا.
Author: Sitine
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: sitine-boutique
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
	font-family: Vazirmatn;
	src: url("assets/fonts/Vazirmatn-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
:root {
	--stb-ink: #271a23;
	--stb-muted: #695762;
	--stb-plum: #591f46;
	--stb-plum-dark: #431434;
	--stb-rose: #a44d67;
	--stb-cream: #fffaf6;
	--stb-blush: #f5e4e8;
	--stb-line: #ead9de;
	--stb-white: #fff;
	--stb-wrap: 1180px;
	--stb-font: Vazirmatn,sans-serif;
	--stb-radius: 22px;
}
*,*::before,*::after {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--stb-cream);
	color: var(--stb-ink);
	font-family: var(--stb-font);
	font-size: 16px;
	line-height: 1.85;
}
h1,h2,h3 {
	margin: 0 0 .6em;
	line-height: 1.35;
	letter-spacing: -.025em;
}
h1 {
	font-size: clamp(34px,5vw,64px);
	font-weight: 900;
}
h2 {
	font-size: clamp(25px,3vw,38px);
	font-weight: 850;
}
h3 {
	font-size: 20px;
}
a {
	color: inherit;
	text-decoration: none;
}
img,video {
	display: block;
	max-width: 100%;
	height: auto;
}
button,input,textarea,select {
	font: inherit;
}
:where(a,button,input,textarea,select):focus-visible {
	outline: 3px solid var(--stb-rose);
	outline-offset: 3px;
}
.stb-wrap {
	width: min(calc(100% - 44px),var(--stb-wrap));
	margin-inline: auto;
}
.stb-skip,.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.stb-skip:focus {
	inset: 12px auto auto 12px;
	width: auto;
	height: auto;
	clip-path: none;
	background: var(--stb-white);
	padding: 8px 18px;
	z-index: 30;
}
.stb-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 11px 23px;
	border: 1px solid transparent;
	border-radius: 99px;
	background: var(--stb-plum);
	color: var(--stb-white);
	font-weight: 750;
	cursor: pointer;
	line-height: 1.65;
}
.stb-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover {
	background: var(--stb-plum-dark);
}
button:disabled,.woocommerce button.disabled {
	opacity: .55;
	cursor: not-allowed;
}
.stb-header {
	position: relative;
	z-index: 10;
	background: var(--stb-white);
	border-bottom: 1px solid var(--stb-line);
}
.stb-announcement {
	text-align: center;
	background: var(--stb-plum-dark);
	color: var(--stb-white);
	font-size: 13px;
	padding: 6px 16px;
}
.stb-header-row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}
.stb-brand {
	font-size: 26px;
	font-weight: 900;
	color: var(--stb-plum);
	white-space: nowrap;
	flex: none;
}
.stb-brand img {
	max-width: 160px;
	max-height: 52px;
	width: auto;
}
.stb-actions {
	margin-inline-start: auto;
	display: flex;
	gap: 14px;
	align-items: center;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
}
.stb-cart-link {
	padding: 6px 13px;
	border-radius: 99px;
	background: var(--stb-blush);
	color: var(--stb-plum);
}
.stb-menu,.stb-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.stb-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 14px;
	font-weight: 650;
}
.stb-menu li {
	position: relative;
}
.stb-menu a {
	display: block;
	padding: 8px 9px;
	border-radius: 8px;
}
.stb-menu a:hover,.stb-menu .current-menu-item>a {
	color: var(--stb-plum);
	background: var(--stb-blush);
}
#stb-navigation .stb-menu ul {
	display: none;
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	background: var(--stb-white);
	min-width: 175px;
	border: 1px solid var(--stb-line);
	border-radius: 13px;
	padding: 8px;
}
#stb-navigation .stb-menu ul ul {
	inset-inline-start: 100%;
	top: 0;
}
#stb-navigation li:is(:hover,:focus-within)>ul {
	display: block;
}
.stb-menu-button,.stb-sub-toggle {
	display: none;
}
.stb-hero {
	display: grid;
	grid-template-columns: 1fr .95fr;
	align-items: stretch;
	min-height: 480px;
	margin-block: 34px 66px;
	background: var(--stb-blush);
	border-radius: calc(var(--stb-radius) + 8px);
	overflow: hidden;
}
.stb-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(28px,6vw,76px);
}
.stb-hero h1 {
	max-width: 11ch;
	color: var(--stb-plum);
}
.stb-kicker {
	margin: 0 0 12px;
	color: var(--stb-rose);
	font-size: 13px;
	font-weight: 850;
}
.stb-intro {
	margin: 0 0 26px;
	color: var(--stb-muted);
	max-width: 34ch;
}
.stb-hero-media {
	min-width: 0;
}
.stb-hero-media img {
	width: 100%;
	height: 100%;
	max-height: 600px;
	object-fit: cover;
	object-position: center 38%;
}
.stb-section {
	margin-block: 0 76px;
}
.stb-text-link {
	display: inline-block;
	margin-block: 18px;
	color: var(--stb-plum);
	font-weight: 800;
}
.stb-page {
	padding-block: 52px 84px;
	overflow-wrap: anywhere;
}
.stb-page>h1 {
	font-size: clamp(30px,4vw,51px);
}
.stb-page p,.stb-page>ul {
	max-width: 75ch;
}
.stb-page p a,.stb-page li a {
	color: var(--stb-plum);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.stb-page .wp-block-table,.stb-woo .woocommerce-cart-form {
	overflow-x: auto;
}
.stb-footer {
	background: var(--stb-plum-dark);
	color: var(--stb-white);
	padding-block: 45px 18px;
}
.stb-footer-row {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 24px;
}
.stb-footer-brand {
	font-size: 25px;
	font-weight: 900;
}
.stb-footer p,.stb-footer-end {
	color: #e8cadb;
}
.stb-footer .stb-menu a:hover,.stb-footer .current-menu-item>a {
	background: #6e3155;
	color: var(--stb-white);
}
.stb-footer .sub-menu,.stb-footer .children {
	margin-inline-start: 10px;
	color: #e8cadb;
	font-size: 13px;
}
.stb-footer-end {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: space-between;
	border-top: 1px solid #80526c;
	margin-top: 22px;
	padding-top: 14px;
	font-size: 13px;
}
.stb-woo {
	padding-block: 38px 68px;
}
.stb-section.stb-woo {
	padding-block: 0;
}
.woocommerce-products-header__title {
	font-size: clamp(34px,5vw,57px);
	color: var(--stb-plum);
}
.stb-woo .term-description,.stb-woo .woocommerce-result-count {
	color: var(--stb-muted);
}
.stb-woo .woocommerce-ordering {
	margin-bottom: 22px;
}
.stb-woo .woocommerce-ordering select,.stb-woo input:not([type=checkbox],[type=radio],[type=submit]),.stb-woo select,.stb-woo textarea,.stb-page .woocommerce input:not([type=checkbox],[type=radio],[type=submit]),.stb-page .woocommerce textarea {
	padding: 9px 12px;
	border: 1px solid var(--stb-line);
	border-radius: 10px;
	background: var(--stb-white);
	color: var(--stb-ink);
	max-width: 100%;
}
.stb-woo ul.products {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.stb-woo ul.products.columns-4 {
	grid-template-columns: repeat(4,minmax(0,1fr));
}
.stb-woo ul.products li.product {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--stb-radius);
	border: 1px solid var(--stb-line);
	background: var(--stb-white);
	padding-bottom: 14px;
	transition: transform .2s ease;
}
.stb-woo ul.products li.product:hover {
	transform: translateY(-4px);
}
.stb-woo ul.products img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	background: var(--stb-blush);
}
.stb-woo ul.products .woocommerce-loop-product__title,.stb-woo ul.products .woocommerce-loop-category__title {
	font-size: 18px;
	margin: 13px 14px 5px;
}
.stb-woo ul.products .price,.stb-woo ul.products .button {
	display: table;
	margin: 8px 14px;
}
.stb-woo .price {
	color: var(--stb-plum);
	font-weight: 850;
}
.stb-woo .price del {
	color: var(--stb-muted);
}
.stb-woo .onsale {
	position: absolute;
	z-index: 2;
	inset: 12px 12px auto auto;
	background: var(--stb-plum);
	color: var(--stb-white);
	border-radius: 99px;
	padding: 4px 10px;
	font-size: 12px;
}
.stb-woo div.product {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,1fr);
	gap: 28px 46px;
	position: relative;
}
.stb-woo div.product .product_title {
	font-size: clamp(28px,4vw,46px);
}
.stb-woo div.product .woocommerce-tabs,.stb-woo div.product .related,.stb-woo div.product .upsells {
	grid-column: 1/-1;
}
.stb-woo .woocommerce-product-gallery {
	position: relative;
	min-width: 0;
}
.stb-woo .woocommerce-product-gallery img {
	border-radius: var(--stb-radius);
	width: 100%;
	height: auto;
}
.stb-woo .woocommerce-product-gallery__trigger {
	position: absolute;
	inset: 12px auto auto 12px;
	z-index: 2;
	padding: 4px 8px;
	background: var(--stb-white);
	border-radius: 8px;
}
.stb-woo .flex-control-thumbs {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
}
.stb-woo .flex-control-thumbs li {
	width: 22%;
	cursor: pointer;
}
.stb-woo .variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 12px;
}
.stb-woo .variations th {
	text-align: start;
	width: 22%;
}
.stb-woo .variations td,.stb-woo .variations th {
	padding: 5px 0;
}
.stb-woo .variations select {
	width: min(100%,300px);
}
.stb-woo .quantity {
	display: inline-block;
	margin-inline-end: 8px;
}
.stb-woo .qty {
	width: 70px;
}
.stb-woo .woocommerce-tabs .tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	padding: 0;
	border-bottom: 1px solid var(--stb-line);
}
.stb-woo .woocommerce-tabs .tabs a {
	display: block;
	padding: 8px 6px;
}
.stb-woo .woocommerce-tabs .tabs .active {
	border-bottom: 2px solid var(--stb-plum);
	color: var(--stb-plum);
}
.stb-woo .woocommerce-breadcrumb,.stb-woo .sku_wrapper,.stb-woo .posted_in {
	display: block;
	color: var(--stb-muted);
	font-size: 14px;
	margin-bottom: 12px;
}
.stb-woo .woocommerce-breadcrumb {
	margin-bottom: 24px;
}
.woocommerce-message,.woocommerce-info,.woocommerce-error {
	background: var(--stb-blush);
	padding: 14px 18px;
	border-radius: 12px;
	margin: 0 0 18px;
	list-style: none;
}
.woocommerce-error {
	background: #fae2e2;
	color: #611616;
}
.woocommerce .shop_table {
	width: 100%;
	border-collapse: collapse;
}
.woocommerce .shop_table th,.woocommerce .shop_table td {
	text-align: start;
	border-bottom: 1px solid var(--stb-line);
	padding: 9px 12px;
}
.woocommerce .shop_table img {
	width: 70px;
	border-radius: 8px;
}
.woocommerce .form-row label {
	display: block;
	font-weight: 700;
}
.woocommerce .form-row input:not([type=checkbox],[type=radio]),.woocommerce .form-row select {
	width: 100%;
}
.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 0;
	list-style: none;
}
.woocommerce-MyAccount-navigation .is-active {
	font-weight: 800;
	color: var(--stb-plum);
}
.woocommerce-pagination ul,.page-numbers {
	list-style: none;
	padding: 0;
}
.woocommerce-pagination ul {
	display: flex;
	gap: 12px;
}
@media(prefers-reduced-motion:no-preference) {
	.stb-hero-copy {
		animation: stb-enter .55s ease both;
	}
	@keyframes stb-enter {
		from {
			opacity: 0;
			transform: translateY(10px);
		}
		to {
			opacity: 1;
			transform: none;
		}
	}
}
@media(max-width:960px) {
	.stb-header-row {
		flex-wrap: wrap;
		gap: 10px 16px;
		padding-block: 12px;
		min-height: 65px;
	}
	.stb-brand {
		font-size: 22px;
	}
	.stb-menu-button,.stb-sub-toggle {
		display: inline-flex;
		background: var(--stb-blush);
		color: var(--stb-plum);
		border: 0;
		border-radius: 8px;
		padding: 5px 10px;
		cursor: pointer;
	}
	#stb-navigation {
		display: none;
		flex-basis: 100%;
		order: 4;
	}
	#stb-navigation.is-open {
		display: block;
	}
	#stb-navigation .stb-menu {
		display: block;
	}
	#stb-navigation .stb-menu li:has(> .stb-sub-toggle)>a {
		padding-inline-end: 52px;
	}
	.stb-sub-toggle {
		position: absolute;
		inset: 6px auto auto 6px;
	}
	#stb-navigation .stb-menu ul {
		position: static;
		display: none;
		margin-inline-start: 12px;
		background: transparent;
		border: 0;
	}
	#stb-navigation .stb-menu li.is-expanded>ul {
		display: block;
	}
}
@media(max-width:660px) {
	.stb-wrap {
		width: calc(100% - 28px);
	}
	.stb-header-row {
		gap: 8px;
	}
	.stb-menu-button span {
		display: none;
	}
	.stb-actions {
		gap: 7px;
		font-size: 12px;
	}
	.stb-cart-link {
		padding-inline: 8px;
	}
	.stb-brand img {
		max-width: 94px;
		max-height: 38px;
	}
	.stb-hero,.stb-footer-row,.stb-woo div.product {
		grid-template-columns: minmax(0,1fr);
	}
	.stb-hero {
		margin-block: 18px 42px;
		min-height: 0;
	}
	.stb-hero-copy {
		padding: 29px 24px;
	}
	.stb-hero-media img {
		height: auto;
		max-height: 390px;
	}
	.stb-section {
		margin-bottom: 50px;
	}
	.stb-woo ul.products,.stb-woo ul.products.columns-4 {
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 10px;
	}
	.stb-woo ul.products .woocommerce-loop-product__title,.stb-woo ul.products .woocommerce-loop-category__title {
		font-size: 14px;
		margin-inline: 8px;
	}
	.stb-woo ul.products .price,.stb-woo ul.products .button {
		font-size: 12px;
		margin-inline: 8px;
	}
	.stb-woo ul.products .button {
		padding-inline: 9px;
	}
}

