/* Category page: campaign-style hero (reuses landing-page-hero) + listing */
.category-page .main-content {
	padding-top: 0 !important;
	padding-bottom: 72px !important;
	min-height: 0;
}

.category-page .category-page-hero {
	margin-bottom: 1.35rem;
}

@media (min-width: 992px) and (max-width: 1366px) {
	body.category-page .category-page-hero > .container,
	body.category-page .category-page__container.landing-page-content {
		padding-left: 27px;
		padding-right: 27px;
	}

	body.category-page .category-page-hero .landing-page-hero__inner::before {
		left: -14px;
	}
}

/* Longer category titles than short campaign headlines */
body.category-page .category-page-hero .landing-page-hero__title {
	max-width: min(100%, 22rem);
}

@media (min-width: 768px) {
	body.category-page .category-page-hero .landing-page-hero__title {
		max-width: min(100%, 28rem);
	}
}

#category-page-products {
	scroll-margin-top: 5.5rem;
}

.category-page-prose {
	font-family: var(--main-font, Poppins, sans-serif);
	font-size: 1.0125rem;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.01em;
	color: #3d4450;
}

.category-page-prose > *:first-child {
	margin-top: 0;
}

.category-page-prose > *:last-child {
	margin-bottom: 0;
}

.category-page-prose p {
	margin: 0 0 1rem;
}

.category-page-prose h2,
.category-page-prose h3,
.category-page-prose h4 {
	margin: 1.35rem 0 0.65rem;
	color: #0f172a;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.category-page-prose h2 {
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.category-page-prose h3 {
	font-size: 1.05rem;
}

.category-page-prose h4 {
	font-size: 1rem;
}

.category-page-prose ul,
.category-page-prose ol {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.category-page-prose li {
	margin: 0 0 0.4rem;
}

.category-page-prose li:last-child {
	margin-bottom: 0;
}

.category-page-prose a {
	color: #717fe0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.category-page-prose strong,
.category-page-prose b {
	color: #1e293b;
	font-weight: 600;
}

@media (max-width: 767px) {
	.category-page-prose {
		font-size: 0.975rem;
		line-height: 1.75;
	}
}

.category-page .category-filter-wrap {
	padding-bottom: 0 !important;
	margin-bottom: 28px;
}

@media (max-width: 991px) {
	body.category-page footer.site-footer {
		display: none !important;
	}
}

.category-page--empty .main-content {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - 180px);
	padding-bottom: 88px !important;
}

.category-page--empty .category-page__container {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}

.category-empty-wrap {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: min(52vh, 420px);
	padding: 12px 0 28px;
}

.category-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: 36px 28px 32px;
	border: 1px solid #e9ecf3;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(17, 24, 39, 0.07);
}

.category-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary-color, #717fe0) 12%, #ffffff);
	color: var(--primary-ink, var(--primary-color, #717fe0));
	margin-bottom: 1rem;
}

.category-empty__icon .zmdi {
	font-size: 2rem;
	line-height: 1;
}

.category-empty__title {
	margin: 0;
	font-family: var(--accent-font, var(--main-font));
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.category-empty__desc {
	margin: 10px 0 0;
	max-width: 28rem;
	font-family: var(--main-font);
	font-size: 0.95rem;
	line-height: 1.55;
	color: #6b7280;
}

.category-empty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.35rem;
	min-height: 44px;
	min-width: 180px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--primary-color, #222);
	color: var(--on-primary, #fff) !important;
	font-family: var(--main-font);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-empty__cta:hover,
.category-empty__cta:focus {
	opacity: 0.92;
	transform: translateY(-1px);
	color: var(--on-primary, #fff) !important;
	text-decoration: none !important;
}

@media (max-width: 767px) {
	.category-page .main-content {
		padding-top: 0 !important;
		padding-bottom: 56px !important;
	}

	.category-page .storefront-cats-bar--page + .main-content {
		padding-top: 0 !important;
	}

	.category-page--empty .main-content {
		min-height: calc(100dvh - 160px);
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
	}

	.category-page .category-page-hero {
		padding-top: 1.85rem;
		padding-bottom: 1.65rem;
		margin-bottom: 1.1rem;
	}

	.category-page .category-filter-wrap {
		padding-bottom: 0 !important;
		margin-bottom: 22px;
	}

	.category-empty-wrap {
		min-height: min(48vh, 380px);
		padding: 8px 0 20px;
	}

	.category-empty {
		padding: 28px 20px 26px;
		border-radius: 14px;
	}

	.category-empty__title {
		font-size: 1.1rem;
	}

	.category-empty__desc {
		font-size: 0.9rem;
	}
}

/* Category page: same editorial underline tabs as homepage produces */
.category-page .filter-tope-group {
	position: relative;
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
}

.category-page .filter-tope-group button,
.category-page .filter-tope-group button:hover,
.category-page .filter-tope-group button:focus,
.category-page .filter-tope-group button.how-active1,
.category-page .filter-tope-group button.how-active1:hover,
.category-page .filter-tope-group button.how-active1:focus {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.category-page .filter-tope-group button.category-filter-child {
	color: #9a9a94 !important;
	letter-spacing: 0.06em;
}

.category-page .filter-tope-group button.category-filter-child.how-active1,
.category-page .filter-tope-group button.category-filter-child:hover,
.category-page .filter-tope-group button.category-filter-child:focus {
	color: #171717 !important;
}

@media ( min-width : 992px) {
	.category-page .main-content {
		padding-top: 28px !important;
	}
}

.checkout-cart-qty {
	grid-area: qty;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 104px;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	font-family: var(--main-font);
}

.checkout-cart-actions {
	grid-column: 3;
	grid-row: 2;
	justify-self: end;
	align-self: center;
}

.checkout-cart-actions .btn-remove-item {
	margin-left: 0 !important;
	font-size: 26px;
	padding: 8px;
}

.checkout-cart-item.has-controls {
	grid-template-columns: 84px 1fr auto auto;
	grid-template-areas:
		"img info total actions"
		"img meta controls actions";
}

.checkout-cart-qty-control {
	grid-area: controls;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.checkout-cart-item.has-controls .checkout-cart-actions {
	grid-area: actions;
	justify-self: end;
	align-self: center;
	display: inline-flex;
	align-items: center;
	margin-left: auto;
}

.checkout-cart-item.wishlist-card {
	grid-template-columns: 84px 1fr auto;
	grid-template-areas:
		"img info actions"
		"img meta actions";
}

.checkout-cart-item.wishlist-card .checkout-cart-actions {
	grid-area: actions;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: end;
	justify-content: flex-end;
	align-self: center;
}

.checkout-cart-item.wishlist-card .wishlist-remove-btn {
	width: 34px;
	height: 34px;
	border: 1px solid #ececec;
	border-radius: 4px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	padding: 0;
	color: #9a9a9a;
}

.checkout-cart-item.wishlist-card .wishlist-remove-btn:hover {
	color: #d32f2f;
	border-color: #f2c5c5;
	background: #fff5f5;
}

.checkout-cart-item.wishlist-card .checkout-cart-actions .size-103 {
	min-width: 132px;
}

.checkout-cart-item.wishlist-card .checkout-cart-meta {
	color: #444;
	font-weight: 500;
}

.checkout-cart-item.wishlist-card .checkout-cart-meta .wishlist-price-value {
	font-family: var(--main-font);
	font-weight: 700;
	color: #222;
}

@media ( max-width : 767px) {
	.main-content {
		padding-top: 14px !important;
	}
	.category-page .main-content {
		padding-top: 16px !important;
	}
	.category-page .category-filter-wrap {
		padding-bottom: 0 !important;
	}
	.checkout-order-page .checkout-page,
	.shopping-cart-page .checkout-page,
	.wishlist-page .checkout-page,
	.other-page .checkout-page {
		padding-top: 30px !important;
	}
	.checkout-order-page .checkout-page .flex-w.flex-sb-m.m-t-50,
	.other-page .checkout-page .other-page-wrapper.m-t-50 {
		margin-top: 10px !important;
	}
	.main-content {
		overflow-x: hidden;
	}
	.wrap-table-shopping-cart {
		border: 0 !important;
	}
	.checkout-cart-list {
		padding: 0;
	}
	.checkout-cart-item {
		grid-template-columns: 78px 1fr;
		grid-template-areas:
			"img info"
			"img meta"
			"qty total";
		align-items: center;
		padding: 12px;
		column-gap: 10px;
	}
	.checkout-cart-name {
		font-size: 15px;
	}
	.checkout-cart-total {
		font-size: 18px;
		justify-self: end;
		align-self: center;
	}
	.checkout-cart-qty {
		justify-self: start;
		min-width: 96px;
		height: 34px;
		font-size: 14px;
	}
	.checkout-cart-meta {
		font-size: 15px;
	}
	.checkout-cart-actions {
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
	}
	.checkout-cart-item.has-controls {
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas:
			"img info info"
			"img meta total"
			"controls controls actions";
		row-gap: 8px;
		column-gap: 12px;
	}
	/* checkout-order-page cart item spacing: see dedicated block above */
	.checkout-cart-item.has-controls .checkout-cart-total {
		justify-self: end;
		align-self: center;
	}
	.checkout-cart-qty-control {
		justify-self: stretch;
		display: flex;
		justify-content: flex-start;
	}
	.checkout-cart-item.has-controls .checkout-cart-actions {
		grid-area: actions;
		justify-self: end;
		margin-left: 0;
	}
	.checkout-cart-item.wishlist-card {
		grid-template-columns: 78px 1fr auto;
		grid-template-areas:
			"img info actions"
			"img meta actions";
	}
	.checkout-cart-item.wishlist-card .checkout-cart-actions {
		grid-area: actions;
		justify-self: end;
		justify-content: flex-end;
		align-items: center;
		width: auto;
	}
	.checkout-cart-item.wishlist-card .checkout-cart-actions .size-103 {
		min-width: 30px;
		width: 30px;
		height: 30px;
		padding: 0 !important;
		font-size: 0;
		border-radius: 4px;
	}
	.checkout-cart-item.wishlist-card .checkout-cart-actions .size-103 .m-r-5 {
		margin-right: 0 !important;
		font-size: 16px;
	}
	.checkout-cart-item.wishlist-card .wishlist-remove-btn {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}
	.wishlist-page .checkout-cart-item.wishlist-card .checkout-cart-actions .size-103 {
		border-radius: 10px;
	}
}

/* Shared checkout typography */
.checkout-page, .checkout-page input, .checkout-page textarea,
.checkout-page select, .checkout-page button {
	font-family: var(--main-font);
	font-weight: 400;
}

.checkout-page .mtext-105, .checkout-page .mtext-109 {
	font-family: var(--main-font);
	font-weight: 500;
	letter-spacing: 0.2px;
}

.checkout-page .mtext-101, .checkout-page .mtext-110 {
	font-family: var(--main-font);
	font-weight: 600;
}

.checkout-page .stext-101, .checkout-page .stext-102,
.checkout-page .stext-103, .checkout-page .stext-104,
.checkout-page .stext-110, .checkout-page .stext-111 {
	font-family: var(--main-font);
	font-weight: 400;
}

/* Checkout / sepet / wishlist bölüm başlık ikonları — okunabilir mürekkep */
.section-title-icon {
	color: var(--primary-ink, var(--primary-color, #717fe0));
	margin-right: 10px;
	font-size: 1.15em;
	line-height: 1;
	vertical-align: -0.12em;
	display: inline-block;
}

.checkout-page input::placeholder, .checkout-page textarea::placeholder {
	font-family: var(--main-font);
	font-weight: 400;
	color: #8f8f8f;
}

