/*
 * Copy to: your-child-theme/assets/css/woocommerce-shop.css
 * Then enqueue it in functions.php of your child theme.
 */

:root {
	--shop-bg: #f9f7f2;
	--shop-surface: #ffffff;
	--shop-border: #d7d0c4;
	--shop-heading: #4d4539;
	--shop-text: #6a645a;
	--shop-muted: #938b7f;
	--shop-accent: #0fa99c;
	--shop-accent-dark: #0a867d;
	--shop-price: #c89600;
	--shop-shadow: 0 10px 28px rgba(80, 65, 40, 0.08);
}

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
	background:
		radial-gradient(circle at top left, rgba(15, 169, 156, 0.08), transparent 28%),
		linear-gradient(180deg, #fdfcf8 0%, var(--shop-bg) 100%);
	color: var(--shop-text);
}

body.woocommerce-shop .site-content > .col-full,
body.post-type-archive-product .site-content > .col-full,
body.tax-product_cat .site-content > .col-full,
body.tax-product_tag .site-content > .col-full,
body.woocommerce-shop .content-area,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.tax-product_tag .content-area {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
}

.storefront-breadcrumb {
	display: none;
}

.shop-layout {
	padding: 42px 0 80px;
}

.shop-layout__inner {
	width: min(1320px, calc(100% - 48px));
	margin: 0 auto;
}

.shop-layout .woocommerce-notices-wrapper:empty {
	display: none;
}

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}

.shop-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.shop-breadcrumbs a {
	color: var(--shop-heading);
	text-decoration: none;
}

.shop-breadcrumbs a:last-child {
	color: var(--shop-accent);
	font-weight: 700;
}

.shop-toolbar__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.shop-toolbar__meta .woocommerce-result-count {
	margin: 0;
	color: var(--shop-text);
}

.shop-toolbar__meta form.woocommerce-ordering {
	margin: 0;
}

.shop-toolbar__meta .orderby {
	min-width: 220px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--shop-border);
	border-radius: 12px;
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow);
}

.shop-shell {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 42px;
	align-items: start;
}

.shop-sidebar {
	position: sticky;
	top: 24px;
}

.shop-widget {
	padding: 30px 24px 24px;
	border: 1px solid var(--shop-border);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	box-shadow: 0 22px 46px rgba(80, 65, 40, 0.06);
}

.shop-widget__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding: 0 8px;
}

.shop-widget__title {
	margin: 0;
	color: var(--shop-heading);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
}

.shop-widget__header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(232, 228, 220, 0.95);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--shop-heading);
	font-size: 24px;
	line-height: 1;
}

.shop-category-list {
	display: grid;
	gap: 0;
}

.shop-category-card {
	border-top: 1px solid rgba(232, 228, 220, 0.95);
	background: transparent;
	transition: background 0.2s ease;
}

.shop-category-list .shop-category-card:first-child {
	border-top: 0;
}

.shop-category-card.is-expanded {
	background: transparent;
}

.shop-category-card.is-current-root .shop-category-card__label {
	color: var(--shop-accent);
}

.shop-category-card.is-current-root .shop-category-card__count {
	border-color: rgba(202, 235, 231, 0.95);
	background: rgba(232, 247, 245, 0.98);
	color: var(--shop-accent);
}

.shop-category-card__top {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 18px 8px;
	color: var(--shop-heading);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.35;
}

.shop-category-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: transparent;
	color: var(--shop-accent);
}

.shop-category-card__icon svg {
	width: 22px;
	height: 22px;
}

.shop-category-card__icon svg,
.shop-category-card__icon img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.shop-category-card.is-expanded .shop-category-card__icon {
	background: transparent;
	color: var(--shop-accent);
}

.shop-category-card__label {
	font-size: 15px;
	color: var(--shop-heading);
}

.shop-category-card.is-expanded .shop-category-card__label {
	color: var(--shop-accent);
}

.shop-category-card__count,
.shop-category-child__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(236, 233, 227, 0.98);
	border-radius: 12px;
	background: rgba(246, 245, 243, 0.95);
	color: var(--shop-heading);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.shop-category-card.is-expanded .shop-category-card__count {
	border-color: rgba(202, 235, 231, 0.95);
	background: rgba(232, 247, 245, 0.98);
	color: var(--shop-accent);
}

.shop-category-card__arrow {
	color: var(--shop-heading);
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	transform: translateX(-2px);
}

.shop-category-card.is-expanded .shop-category-card__arrow {
	color: var(--shop-accent);
	transform: rotate(90deg);
}

.shop-category-card__children {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0 0 4px;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
}

.shop-category-card__children::before {
	content: none;
}

.shop-category-child {
	position: relative;
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 12px 14px 16px;
	color: var(--shop-heading);
	text-decoration: none;
}

.shop-category-child + .shop-category-child {
	border-top: 1px solid rgba(236, 233, 227, 0.95);
}

.shop-category-child__dot {
	position: relative;
	z-index: 1;
	width: 9px;
	height: 9px;
	border: 2px solid rgba(15, 169, 156, 0.12);
	border-radius: 50%;
	background: var(--shop-accent);
}

.shop-category-child__name {
	font-size: 14px;
	font-weight: 500;
}

.shop-category-child.is-active .shop-category-child__name,
.shop-category-child:hover .shop-category-child__name {
	color: var(--shop-accent);
}

.shop-widget__promo {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0;
	margin-top: 22px;
	padding: 18px 16px;
	border: 1px solid var(--shop-border);
	border-radius: 0;
	background: linear-gradient(135deg, rgba(241, 251, 250, 0.92), rgba(248, 253, 253, 0.95));
}

.shop-widget__promo-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 18px;
	background: transparent;
	color: var(--shop-accent);
}

.shop-widget__promo-icon svg {
	width: 24px;
	height: 24px;
}

.shop-widget__promo-copy {
	display: grid;
	gap: 4px;
	margin-left: -4px;
}

.shop-widget__promo-copy strong {
	color: #203340;
	font-size: 15px;
	line-height: 1.25;
}

.shop-widget__promo-copy span {
	color: #5f6e78;
	font-size: 13px;
	line-height: 1.45;
}

.shop-widget__promo-arrow {
	display: none;
}

.shop-products__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	color: var(--shop-muted);
	font-size: 14px;
}

.shop-products__breadcrumbs a {
	color: var(--shop-heading);
	text-decoration: none;
}

.search-page__header {
	align-items: flex-start;
}

.search-page {
	padding-bottom: 88px;
}

.search-page__intro {
	display: grid;
	gap: 10px;
}

.search-page__title {
	margin: 0;
	color: var(--shop-heading);
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.08;
}

.search-results-list {
	display: grid;
	gap: 22px;
}

.search-result-card {
	padding: 26px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow);
}

.search-result-card__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
}

.search-result-card__title a {
	color: var(--shop-heading);
	text-decoration: none;
}

.search-result-card__meta {
	margin: 0 0 14px;
	color: var(--shop-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.search-result-card__excerpt {
	color: var(--shop-text);
}

.search-result-card__excerpt p:last-child {
	margin-bottom: 0;
}

.search-result-card__link {
	display: inline-block;
	margin-top: 18px;
	color: var(--shop-accent-dark);
	font-weight: 700;
	text-decoration: none;
}

.search-page__pagination {
	margin-top: 36px;
	margin-bottom: 72px;
}

.search-page__results {
	padding-bottom: 64px;
}

.search-page__form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	max-width: 620px;
}

.search-page__input {
	flex: 1 1 280px;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	color: var(--shop-heading);
}

.search-page__button {
	position: static;
	width: auto;
	min-width: 180px;
}

.wishlist-page .shop-layout__inner {
	width: min(1320px, calc(100% - 48px));
}

.wishlist-page__header {
	align-items: flex-start;
	flex-direction: column;
	margin-bottom: 28px;
}

.wishlist-page__summary {
	display: grid;
	gap: 8px;
}

.wishlist-page__title {
	margin: 0;
	color: var(--shop-heading);
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.05;
}

.wishlist-page__count {
	margin: 0;
	color: var(--shop-muted);
	font-size: 15px;
}

.wishlist-page__products .products {
	margin-top: 0;
}

.wishlist-page__actions {
	display: flex;
	gap: 14px;
	margin-top: 28px;
}

.wishlist-page__button {
	position: static;
	width: auto;
	min-width: 180px;
}

.wishlist-page__button--secondary {
	background: #4f483d;
}

.wishlist-page__button--secondary:hover {
	background: #3d372f;
}

.wishlist-empty {
	display: grid;
	justify-items: start;
	gap: 14px;
	padding: 36px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow);
}

.wishlist-empty__title {
	margin: 0;
	color: var(--shop-heading);
	font-size: 28px;
}

.wishlist-empty__text {
	margin: 0;
	max-width: 520px;
	color: var(--shop-text);
}

.shop-products .products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-products .products::before,
.shop-products .products::after,
.shop-products ul.products::before,
.shop-products ul.products::after {
	content: none !important;
	display: none !important;
}

.shop-products .products li.product,
.shop-products ul.products li.product,
.product-card {
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
	clear: none !important;
}

.product-card__frame {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	text-align: left;
}

.product-card__frame:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(80, 65, 40, 0.12);
}

.product-card__image {
	display: grid;
	place-items: center;
	min-height: 280px;
	margin-bottom: 20px;
	overflow: hidden;
}

.product-card__image img {
	max-width: 100%;
	height: auto;
	max-height: 260px;
	object-fit: contain;
}

.product-card__wishlist {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
}

.product-card__wishlist-button,
.product-card__wishlist > a,
.product-card__wishlist > button,
.product-card__wishlist .yith-wcwl-add-to-wishlist a,
.product-card__wishlist .tinvwl_add_to_wishlist_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f3f3ef !important;
	box-shadow: none !important;
	color: var(--shop-accent) !important;
	font-size: 24px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.product-card__wishlist-button span {
	transform: translateY(-1px);
}

.product-card__wishlist-button.is-active,
.product-card__wishlist-button[aria-pressed="true"] {
	background: #e8f7f5 !important;
	color: var(--shop-accent-dark) !important;
}

.product-card__wishlist-button.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.product-card__wishlist-button.has-error {
	box-shadow: 0 0 0 4px rgba(204, 80, 80, 0.16) !important;
}

.product-card__wishlist-button:hover,
.product-card__wishlist-button:focus-visible,
.product-card__wishlist > a:hover,
.product-card__wishlist > a:focus-visible,
.product-card__wishlist > button:hover,
.product-card__wishlist > button:focus-visible,
.product-card__wishlist .yith-wcwl-add-to-wishlist a:hover,
.product-card__wishlist .yith-wcwl-add-to-wishlist a:focus-visible,
.product-card__wishlist .tinvwl_add_to_wishlist_button:hover,
.product-card__wishlist .tinvwl_add_to_wishlist_button:focus-visible {
	background: #e8f7f5 !important;
	box-shadow: 0 0 0 4px rgba(15, 169, 156, 0.14) !important;
	color: var(--shop-accent-dark) !important;
	transform: translateY(-2px) scale(1.04);
}

.product-card__wishlist-button:hover span,
.product-card__wishlist-button:focus-visible span,
.product-card__wishlist .yith-wcwl-add-to-wishlist a:hover i,
.product-card__wishlist .yith-wcwl-add-to-wishlist a:focus-visible i,
.product-card__wishlist .tinvwl_add_to_wishlist_button:hover i,
.product-card__wishlist .tinvwl_add_to_wishlist_button:focus-visible i {
	transform: scale(1.08);
}

.product-card__wishlist .yith-wcwl-add-button,
.product-card__wishlist .yith-wcwl-wishlistaddedbrowse,
.product-card__wishlist .yith-wcwl-wishlistexistsbrowse,
.product-card__wishlist .tinv-wraper.tinv-wishlist,
.product-card__wishlist .tinvwl_add_to_wishlist_button-wrap {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.product-card__wishlist .feedback,
.product-card__wishlist .yith-wcwl-wishlistexistsbrowse,
.product-card__wishlist .yith-wcwl-wishlistaddedbrowse,
.product-card__wishlist .tinvwl_add_to_wishlist-text,
.product-card__wishlist .tinvwl-product-in-list {
	display: none !important;
}

.product-card__wishlist .yith-wcwl-add-to-wishlist,
.product-card__wishlist .tinv-wraper.tinv-wishlist {
	margin: 0 !important;
}

.product-card__wishlist .ajax-loading {
	display: none !important;
}

.product-card__title {
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 1.25;
	text-align: left;
}

.product-card__title a {
	color: #111;
	text-decoration: none;
	display: block;
	margin-bottom: 18px;
}

.product-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.product-card__meta {
	margin: 0 0 24px;
	color: var(--shop-muted);
	font-size: 14px;
	text-align: left;
}

.product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}

.product-card__actions {
	position: relative;
	width: 150px;
	min-width: 150px;
	height: 42px;
}

.product-card__footer .price,
.product-card__price,
.product-card__price .amount {
	color: var(--shop-price);
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--shop-accent);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-card__button:hover {
	background: var(--shop-accent-dark);
}

.product-card__actions .added_to_cart {
	position: absolute;
	inset: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	background: #4f483d;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.product-card__actions .added_to_cart:hover {
	background: #3d372f;
}

.product-card__actions .product-card__button.added {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
}

.product-card__actions .product-card__button.added + .added_to_cart {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.woocommerce .star-rating {
	color: var(--shop-price);
}

.woocommerce ul.products li.product .star-rating {
	margin: 0;
}

.shop-sidebar .wc-layered-nav-rating,
.shop-sidebar .wc_rating_filter_list,
.shop-sidebar .widget_rating_filter,
.shop-sidebar .star-rating {
	display: none !important;
}

.shop-toolbar .woocommerce-pagination,
.shop-toolbar .page-numbers {
	display: none;
}

.shop-products > .woocommerce-ordering,
.shop-products > .woocommerce-result-count {
	display: none !important;
}

.shop-products > .storefront-sorting {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	margin-top: 36px;
}

.shop-products > .storefront-sorting .woocommerce-ordering,
.shop-products > .storefront-sorting .woocommerce-result-count {
	display: none !important;
}

.shop-products > .storefront-sorting .woocommerce-pagination {
	display: block !important;
	margin: 0 0 0 auto;
}

body .woocommerce-breadcrumb {
	display: none;
}

.shop-products nav.woocommerce-pagination {
	margin-top: 40px;
	display: block;
}

.shop-products nav.woocommerce-pagination ul {
	border: 0;
}

.shop-products nav.woocommerce-pagination ul li {
	border: 0;
	margin-right: 8px;
}

.shop-products nav.woocommerce-pagination ul li span,
.shop-products nav.woocommerce-pagination ul li a {
	border-radius: 10px;
	border: 1px solid var(--shop-border);
	border-left-width: 1px !important;
	background: var(--shop-surface);
}

.shop-products nav.woocommerce-pagination .page-numbers li .page-numbers,
.shop-products nav.woocommerce-pagination .page-numbers li span.current,
.shop-products nav.woocommerce-pagination .page-numbers li a.page-numbers {
	border-left-width: 1px !important;
	border-left-style: solid !important;
}

@media (max-width: 1100px) {
	.shop-products .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.shop-shell {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 860px) {
	.shop-toolbar,
	.shop-shell {
		grid-template-columns: 1fr;
		display: grid;
	}

	.shop-sidebar {
		position: static;
	}

	.shop-toolbar__meta {
		justify-content: flex-start;
	}

	.shop-widget__promo {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.shop-layout__inner {
		width: min(100% - 24px, 1320px);
	}

	.shop-products .products {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.product-card__frame {
		padding: 18px;
	}

	.product-card__image {
		min-height: 220px;
	}

	.product-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.product-card__actions {
		width: 100%;
	}

	.wishlist-page__actions {
		flex-direction: column;
	}
}
