/* Kimia Talebi — brand reskin for WooCommerce's default (blockified) templates */

body.woocommerce-page,
body.woocommerce-page .wp-site-blocks {
	background-color: #101B33;
	color: #F7F1E3;
}

.woocommerce-breadcrumb {
	color: #A79F87;
	font-size: 0.85rem;
}
.woocommerce-breadcrumb a {
	color: #A79F87;
}
.woocommerce-breadcrumb a:hover {
	color: #D9B370;
}

h1.page-title,
.woocommerce-products-header__title {
	color: #F7F1E3 !important;
	font-family: 'Vazirmatn', sans-serif;
}

/* product grid */
ul.products,
.wc-block-grid__products {
	gap: 24px;
}
ul.products li.product,
.wc-block-grid__product {
	background: #1A2A4A !important;
	border: 1px solid rgba(181,137,68,0.18);
	border-radius: 16px;
	padding: 20px !important;
	box-shadow: none !important;
}
ul.products li.product img,
.wc-block-grid__product img {
	border-radius: 10px;
	background: #101B33 !important;
}
ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
	color: #F7F1E3 !important;
	font-weight: 700;
}
ul.products li.product .price,
.wc-block-grid__product-price,
.woocommerce-Price-amount {
	color: #D9B370 !important;
	font-weight: 700;
}

/* buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-grid__product .wp-block-button__link,
.wp-block-add-to-cart-form .button,
a.added_to_cart {
	background-color: #B58944 !important;
	color: #14110D !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	border: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background-color: #D9B370 !important;
	color: #14110D !important;
}

/* single product */
.woocommerce div.product .product_title,
.wp-block-post-title {
	color: #F7F1E3 !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #D9B370 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-Tabs-panel {
	color: #A79F87;
}
table.variations td,
table.variations th {
	color: #F7F1E3;
}
.woocommerce div.product form.cart .variations select {
	background: #101B33;
	color: #F7F1E3;
	border: 1.5px solid rgba(247,241,227,0.2);
	border-radius: 8px;
	padding: 8px 12px;
}

/* cart / checkout tables */
.woocommerce table.shop_table,
.woocommerce-cart table.cart,
.woocommerce-checkout table {
	color: #F7F1E3;
	border-color: rgba(247,241,227,0.14);
}
.woocommerce table.shop_table th {
	color: #D9B370;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select {
	background: #1A2A4A;
	color: #F7F1E3;
	border: 1.5px solid rgba(247,241,227,0.2);
	border-radius: 8px;
}
.woocommerce-checkout #payment {
	background: #1A2A4A !important;
	border-radius: 12px;
}

/* misc text that stays readable on navy */
.woocommerce-info,
.woocommerce-message,
.woocommerce-noreviews,
.woocommerce-result-count {
	color: #A79F87;
}
.woocommerce-ordering select,
select.orderby {
	background: #1A2A4A;
	color: #F7F1E3;
	border: 1.5px solid rgba(247,241,227,0.2);
	border-radius: 8px;
	padding: 8px 12px;
}
.woocommerce nav.woocommerce-pagination ul {
	border-color: rgba(247,241,227,0.2);
}
.woocommerce nav.woocommerce-pagination ul li {
	border-color: rgba(247,241,227,0.2);
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	color: #F7F1E3;
}

/* Header cart + login icons — only rendered in the shop context (see
   kimia_talebi_remove_hooked_account_icon() in functions.php, which lets
   WooCommerce's own hooked blocks through only on shop/cart/checkout/
   account/product pages). Restyled to sit naturally in the navy/gold
   header instead of WooCommerce's own default black/white look. */
.wp-block-woocommerce-customer-account,
.wp-block-woocommerce-mini-cart {
	display: flex;
	align-items: center;
}
.wc-block-customer-account__link,
.wc-block-mini-cart__button {
	display: flex;
	align-items: center;
	color: #F7F1E3;
	text-decoration: none;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
.wc-block-customer-account__link:hover,
.wc-block-mini-cart__button:hover {
	color: #D9B370;
}
.wc-block-customer-account__account-icon,
.wc-block-mini-cart__icon {
	width: 22px;
	height: 22px;
}
.wc-block-mini-cart__quantity-badge {
	position: relative;
	display: inline-flex;
}
/* Zibal's own logo (persian-woocommerce plugin, assets/images/zibal.png) is
   dark text on a transparent background — invisible against our navy
   checkout. Give it a small light chip instead of touching the plugin's
   asset file, same convention as a card-network logo on a dark page. */
img[src*="zibal.png"] {
	background: #F7F1E3;
	border-radius: 6px;
	padding: 3px 6px;
	box-sizing: content-box;
}
.kt-cart-icon {
	position: relative;
	display: flex;
	align-items: center;
	color: #F7F1E3;
	text-decoration: none;
}
.kt-cart-icon:hover {
	color: #D9B370;
}
.kt-cart-icon__badge {
	position: absolute;
	top: -6px;
	left: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #B58944;
	color: #14110D;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.wc-block-mini-cart__badge {
	position: absolute;
	top: -6px;
	left: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #B58944 !important;
	color: #14110D !important;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
