/*
 Theme Name:   Woodmart Child
 Description:  DermoHome — WoodMart child theme
 Author:       DermoHome
 Template:     woodmart
 Version:      3.7.0
*/

:root {
	--dh-ink: #24272C;
	--dh-ink-2: #535862;
	--dh-line: #E3E6EB;
	--dh-line-2: #C8CDD5;
	--dh-magenta: #ED0E64;
	--dh-magenta-d: #C50B54;
	--dh-magenta-dd: #A3093F;
	--dh-shadow: 0 10px 24px rgba(28, 33, 42, .10);
	--dh-wrap: 1240px;
	--wd-brd-radius: 12px;
	--wd-form-brd-radius: 8px;
	--wd-form-brd-width: 1.5px;
	--wd-form-brd-color: var(--dh-line-2);
	--wd-form-brd-color-focus: var(--dh-magenta-d);
	--wd-form-height: 48px;
	--btn-default-brd-radius: 8px;
	--btn-accented-brd-radius: 8px;
	--btn-transform: none;
	--btn-default-transform: none;
	--btn-accented-transform: none;
	--btn-default-font-weight: 600;
	--btn-accented-font-weight: 600;
	--btn-default-font-size: 15px;
	--btn-accented-font-size: 15px;
	--btn-default-height: 48px;
	--btn-accented-height: 48px;
	--btn-default-padding: 0 24px;
	--btn-accented-padding: 0 24px;
}

h1, h2, h3, h4 {
	letter-spacing: -.015em;
}

:focus-visible {
	outline: 2.5px solid var(--dh-ink);
	outline-offset: 3px;
}

.dh-tb + .dh-tb {
	margin-left: 24px;
}

.home .wd-content-layout {
	padding-block: 0;
}

.dh-more-wrap p,
.dh-lead p {
	margin: 0;
}

.dh-sec-head {
	margin-bottom: 24px;
}

.dh-sec-head .elementor-heading-title {
	color: var(--dh-ink);
}

.dh-more {
	display: inline-flex;
	align-items: center;
	padding: 10px 0;
	font-weight: 600;
	color: var(--dh-magenta-d);
	white-space: nowrap;
}

.dh-more:hover,
.dh-more:focus-visible {
	color: var(--dh-magenta-d);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dh-btn .btn {
	min-height: 48px;
}

.dh-btn .btn-style-bordered {
	border-width: 1.5px;
	background: transparent;
	color: var(--dh-magenta-d);
	border-color: var(--dh-magenta-d);
}

.dh-btn .btn-style-bordered:hover {
	background: var(--dh-magenta-d);
	color: #fff;
}

.dh-lead {
	margin-top: 14px;
	color: #3E424A;
	font-size: 17px;
	max-width: 40ch;
}

.dh-ptrust {
	margin-top: 24px;
}

.dh-ptrust-item .elementor-widget-image {
	flex: none;
}

.dh-ptrust-ico img {
	width: 18px;
	height: 18px;
}

.dh-ptrust-text {
	font-size: 14px;
	line-height: 1.45;
	color: var(--dh-ink);
}

.dh-ptrust-text p {
	margin: 0;
}

.dh-ptrust-text a {
	color: var(--dh-magenta-d);
	font-weight: 600;
}

@media (max-width: 767px) {
	.dh-lead {
		font-size: 15px;
		margin-top: 8px;
	}
}

.dh-slide-img img,
.dh-banner-img img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.dh-slide-img picture,
.dh-slide-img a,
.dh-banner-img a {
	display: block;
	border-radius: 12px;
	transition: box-shadow .2s;
}

.dh-banner-img a:hover {
	box-shadow: var(--dh-shadow);
}

.woocommerce-product-gallery .wd-btn-arrow.wd-lock {
	display: none;
}

@media (min-width: 1025px) {
	.whb-general-header .wd-header-search-form {
		margin-inline: 32px 16px;
	}
}

.wd-nav-mobile .wd-nav-link,
.wd-nav-mobile > li > a {
	text-transform: none;
	font-size: 15px;
}

.dh-brand-banner {
	margin-bottom: 24px;
}

.dh-brand-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.dh-noresults {
	margin-top: 16px;
}

.dh-noresults ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.dh-noresults a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--dh-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--dh-ink);
	font-weight: 600;
}

.dh-noresults a:hover {
	border-color: var(--dh-magenta-d);
	color: var(--dh-magenta-d);
}

.dh-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-block: 20px 32px;
}

.dh-contact-card {
	padding: 16px 18px;
	border: 1px solid var(--dh-line);
	border-radius: 12px;
	background: #fff;
}

.dh-contact-card h2 {
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--dh-ink-2);
}

.dh-contact-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dh-ink);
}

.dh-contact-card a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 18px;
	font-weight: 600;
	color: var(--dh-magenta-d);
}

.dh-tb-wa,
.dh-foot-wa {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.dh-tb-wa img {
	filter: brightness(0) invert(1);
}

.dh-sign {
	margin-left: 6px;
	font-size: 12px;
	opacity: .7;
}

.dh-hero2 .wd-nav-pagin-wrap {
	margin-top: 10px;
}
.dh-trust-item .wd-info-box {
	gap: 12px;
}

.dh-trust-item .box-icon-wrapper {
	margin: 1px 0 0;
}

.dh-trust-item .info-svg-wrapper,
.dh-trust-item .info-box-icon img {
	width: 26px;
	height: 26px;
}

.dh-trust-item .info-box-title {
	margin-bottom: 2px;
	font-size: 15px;
	font-weight: 600;
	color: var(--dh-ink);
}

.dh-trust-item .info-box-inner {
	font-size: 14px;
	line-height: 1.45;
	color: var(--dh-ink-2);
}

.dh-cat {
	text-decoration: none;
}

.dh-cat img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 16px;
	transition: box-shadow .2s;
}

.dh-cat .elementor-heading-title {
	color: var(--dh-ink);
	transition: color .18s;
}

.dh-cat:hover img {
	box-shadow: var(--dh-shadow);
}

.dh-cat:hover .elementor-heading-title {
	color: var(--dh-magenta-d);
}

.dh-feat-tabs .wd-tabs-header {
	margin-bottom: 24px;
	border-bottom: 1px solid var(--dh-line);
}

.dh-feat-tabs .wd-nav-wrapper {
	scrollbar-width: none;
}

.dh-feat-tabs .wd-nav-wrapper::-webkit-scrollbar {
	display: none;
}

.dh-feat-tabs .wd-nav-tabs .wd-nav-link {
	text-transform: none;
	font-size: 15px;
	font-weight: 600;
}

.dh-feat-foot {
	display: none;
}

.dh-brand-tile.e-con {
	height: 64px;
	padding: 0 14px;
	border: 1px solid var(--dh-line);
	border-radius: 999px;
	background: #fff;
	transition: border-color .18s, box-shadow .18s;
}

.dh-brand-tile:hover {
	border-color: var(--dh-magenta-d);
	box-shadow: 0 4px 14px rgba(28, 33, 42, .08);
}

.dh-brand-tile-lg.e-con {
	height: 80px;
}

.dh-brand-name .elementor-heading-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--dh-ink);
}

.woocommerce-widget-layered-nav-list .count,
.widget_layered_nav .wc-layered-nav-term .count,
.widget_product_categories .count {
	display: none;
}

.wd-nav-tabs .wd-nav-link,
.woocommerce-tabs .tabs a {
	text-transform: none;
}

.woocommerce-Tabs-panel--description {
	max-width: 80ch;
	line-height: 1.7;
	color: #33373D;
}

.woocommerce-Tabs-panel--description :is(p, span, font, strong, b, em, i, li, div, h1, h2, h3, h4, h5) {
	font-family: inherit !important;
	color: inherit !important;
	background: transparent !important;
}

.woocommerce-Tabs-panel--description :is(p, span, font, li, div) {
	font-size: inherit !important;
}

/* Logo yükseklikleri her logo için Elementor'da (görsel > yükseklik) optik olarak ayarlıdır. */
.dh-brand-logo img {
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.dh-mega-h .elementor-heading-title {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #6B707A;
}

.dh-mega-list ul.dh-mega-brands {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dh-mega-brands li {
	margin: 0;
}

.dh-mega-brands a {
	display: block;
	padding: 7px 0;
	font-size: 15px;
	color: var(--dh-ink);
}

.dh-mega-brands a:hover {
	color: var(--dh-magenta-d);
}

.dh-mega-picks .product_list_widget > li {
	padding: 6px;
	margin: 0;
	border: 0;
	border-radius: 8px;
}

.dh-mega-picks .product_list_widget > li:hover {
	background: #F1F3F6;
}

.dh-mega-picks .widget-product-img img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border: 1px solid var(--dh-line);
	border-radius: 8px;
	background: #fff;
}

.dh-mega-picks .wd-entities-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}

.dh-mega-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
	transition: box-shadow .2s;
}

.dh-mega-img a:hover img {
	box-shadow: var(--dh-shadow);
}

.dh-mega-all .btn {
	min-height: 44px;
	border-color: var(--dh-line-2);
	color: var(--dh-ink);
}

.dh-foot-h .elementor-heading-title {
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--dh-ink);
}

.dh-foot-links ul.dh-foot-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dh-foot-list li {
	margin: 6px 0;
}

.dh-foot-list a {
	font-size: 14px;
	color: var(--dh-ink-2);
}

.dh-foot-list a:hover,
.dh-foot-list a:focus-visible {
	color: var(--dh-magenta-d);
	text-decoration: underline;
}

.dh-foot-text {
	max-width: 36ch;
	font-size: 14px;
	color: var(--dh-ink-2);
}

.dh-foot-text p {
	margin: 0;
}

.wd-copyrights {
	border-top: 1px solid var(--dh-line-2);
	font-size: 14px;
	color: var(--dh-ink-2);
}

.wd-product .wd-product-wrapper {
	background: #fff;
	border: 1px solid var(--dh-line);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color .18s, box-shadow .18s;
}

.wd-product:hover .wd-product-wrapper {
	border-color: var(--dh-line-2);
	box-shadow: var(--dh-shadow);
}

.wd-product .wd-product-thumb {
	padding: 8px;
}

.wd-product .product-element-bottom {
	padding: 6px 16px 16px;
}

.dh-card-brand {
	display: inline-block;
	margin-bottom: 3px;
	font-size: 13px;
	font-weight: 600;
	color: var(--dh-ink-2);
}

.dh-card-brand:hover,
.dh-card-brand:focus-visible {
	color: var(--dh-magenta-d);
}

.wd-product .wd-entities-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.wd-product .price {
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.wd-product .price ins {
	color: var(--dh-magenta-d);
}

.wd-product .price del {
	font-size: 14px;
	font-weight: 400;
	color: var(--dh-ink-2);
}

.wd-product {
	--btn-accented-bgcolor: #fff;
	--btn-accented-color: var(--dh-ink);
	--btn-accented-bgcolor-hover: var(--dh-magenta-d);
	--btn-accented-color-hover: #fff;
	--btn-accented-height: 44px;
}

.wd-product .wd-add-btn > a {
	border: 1.5px solid var(--dh-line-2);
	transition: background-color .18s, border-color .18s, color .18s;
}

.wd-product .wd-add-btn > a:hover,
.wd-product .wd-add-btn > a:focus-visible {
	border-color: var(--dh-magenta-d);
}

.wd-product .dh-oos-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border: 1.5px solid var(--dh-line);
	border-radius: 8px;
	background: #F1F3F6;
	color: #5E636D;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

/* Ürün sayfası kısa özellikleri (WooCommerce kısa açıklama; resmi kaynakla doğrulanmış). */
.dh-specs {
	display: grid;
	gap: 6px;
	margin: 4px 0 18px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.4;
}

.dh-specs li {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 12px;
	margin: 0;
}

.dh-spec-k {
	color: var(--dh-ink-2);
}

.dh-spec-v {
	font-weight: 600;
	color: var(--dh-ink);
}

.quantity .minus:disabled,
.quantity .plus:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.dh-foot-list a[href^="https://wa.me"] {
	white-space: nowrap;
}

/* Kart görselleri optik boyuta göre dengelenmiş dosyalardır (design/tools/make_wp_product_crops_optik.py); CSS ile büyütülmez. */
.wd-product .wd-product-thumb {
	overflow: hidden;
}

.dh-feat-tabs .wd-products {
	--wd-col-md: 3 !important;
}

@media (min-width: 600px) and (max-width: 1024px) {
	.dh-feat-tabs .wd-product:nth-child(n+7) {
		display: none;
	}
}

/* WoodMart "telefon" ölçüsü 768.98 px'e kadar sürer; 600–768 px arası tablet gibi davranır. */
@media (min-width: 600px) and (max-width: 768.98px) {
	.wd-products[style*="--wd-col-sm:1;"],
	.dh-deal-list [style*="--wd-col-sm:1;"] {
		--wd-col-sm: 3 !important;
	}
}

/* İndirim karuseli tablette öne çıkan ızgarasıyla aynı: 3 kart. */
.dh-deal-list [style*="--wd-col-md:"] {
	--wd-col-md: 3 !important;
}

/* Kart düğmesi ve adet düğmeleri: en az 44 px dokunma alanı. */
.wd-products .wd-product .wd-add-btn > a.button,
.wd-carousel .wd-product .wd-add-btn > a.button,
.wd-product .dh-oos-btn {
	min-height: 44px;
}

@media (max-width: 1024px) {
	.single-product .quantity .minus,
	.single-product .quantity .plus {
		min-width: 44px;
		min-height: 44px;
	}
}

/* Stokta yok etiketi: indirim rozetiyle aynı biçimde, koyu zemin. */
.product-labels .out-of-stock {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--dh-ink);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
}

/* Blok editörüyle yazılan içerik sayfaları (Hakkımızda, İletişim, sözleşmeler). */
.page:not(.elementor-page) .wd-page-content .entry-content {
	max-width: 760px;
}

.page:not(.elementor-page) .entry-content p a,
.page:not(.elementor-page) .entry-content li a {
	color: var(--dh-magenta-d);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page:not(.elementor-page) .entry-content li a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.dh-contact-grid > * {
	margin: 0 !important;
}

@media (max-width: 767px) {
	.dh-hero2 .wd-btn-arrow,
	.dh-hero2 .wd-nav-arrows,
	.dh-deals .wd-btn-arrow,
	.dh-deals .wd-nav-arrows {
		display: none;
	}

	.dh-feat-tabs .wd-nav-wrapper .wd-nav-tabs {
		flex-wrap: wrap !important;
		justify-content: flex-start;
		width: auto;
		max-width: 100%;
		gap: 4px 18px;
		white-space: normal;
	}

	.dh-feat-tabs .wd-nav-wrapper {
		overflow: visible;
	}
}

@media (max-width: 768.98px) {
	.wd-sidebar-hidden-md-sm .wd-show-sidebar-btn {
		display: inline-flex;
	}

	.woocommerce-ordering.wd-ordering-mb-icon {
		width: auto;
	}

	.woocommerce-ordering.wd-ordering-mb-icon::after {
		display: none;
	}

	.wd-sidebar-hidden-md-sm .wd-sidebar:not(.wd-side-hidden) {
		position: fixed;
		inset-block: var(--wd-admin-bar-h, 0px) 0;
		left: 0;
		z-index: 500;
		width: min(320px, 86vw);
		max-width: none;
		padding: 16px;
		overflow: hidden auto;
		background: #fff;
		transform: translate3d(-100%, 0, 0);
		transition: transform .45s cubic-bezier(.19, 1, .22, 1);
	}

	.wd-sidebar-hidden-md-sm .wd-sidebar.wd-opened {
		transform: none;
	}

	/* WoodMart'ın panel başlığındaki "Kapat" düğmesi (yalnız .wd-side-hidden ile görünüyordu). */
	.wd-sidebar-hidden-md-sm .wd-sidebar .wd-heading {
		display: flex;
		justify-content: flex-end;
		margin: -16px -16px 8px;
		padding: 8px 8px 8px 16px;
		border-bottom: 1px solid var(--dh-line);
	}

	.wd-sidebar-hidden-md-sm .wd-sidebar .close-side-widget > a {
		min-height: 44px;
		padding: 0 8px;
		font-weight: 600;
	}

	.woocommerce-ordering.wd-ordering-mb-icon select {
		color: var(--dh-ink) !important;
		position: static;
		width: auto;
		max-width: 52vw;
		height: 44px;
		padding: 0 34px 0 12px;
		border: 1.5px solid var(--dh-line-2);
		border-radius: 8px;
		background: #fff var(--wd-form-chevron) no-repeat right 8px center / 16px;
		font-size: 14px;
		font-weight: 600;
		-webkit-appearance: none;
		appearance: none;
	}
}

/* Telefon (≤599 px): tek sütun listelerde yatay kompakt kart. */
@media (max-width: 599px) {
	.dh-feat-tabs .wd-product:nth-child(n+5) {
		display: none;
	}

	.wd-products[style*="--wd-col-sm:1;"] > .wd-product .wd-product-wrapper,
	.dh-deal-list .wd-product .wd-product-wrapper {
		display: grid;
		grid-template-columns: 128px minmax(0, 1fr);
		align-items: center;
	}

	.wd-products[style*="--wd-col-sm:1;"] > .wd-product .wd-product-thumb,
	.dh-deal-list .wd-product .wd-product-thumb {
		padding: 4px;
	}

	.wd-products[style*="--wd-col-sm:1;"] > .wd-product .product-element-bottom,
	.dh-deal-list .wd-product .product-element-bottom {
		padding: 12px 12px 12px 4px;
	}

	/* Öne çıkan sekmeleri telefonda 2×2 seçim düğmesi: hepsi görünür, 44 px dokunma alanı. */
	.dh-feat-tabs .wd-nav-wrapper .wd-nav-tabs {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		width: 100%;
	}

	.dh-feat-tabs .wd-nav-tabs > li > .wd-nav-link {
		justify-content: center;
		min-height: 44px;
		padding: 0 10px;
		border: 1.5px solid var(--dh-line-2);
		border-radius: 8px;
		font-size: 14px;
		text-align: center;
	}

	.dh-feat-tabs .wd-nav-tabs > li.wd-active > .wd-nav-link {
		border-color: var(--dh-magenta-d);
		background: #FDEFF4;
		color: var(--dh-ink);
		font-weight: 600;
	}

	.dh-feat-tabs .wd-nav-tabs > li > .wd-nav-link::after,
	.dh-feat-tabs .wd-nav-tabs .nav-link-text::after {
		display: none;
	}

	.dh-feat-tabs .wd-nav-wrapper {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.dh-feat-tabs .wd-tabs-header {
		border-bottom: 0;
	}
}

@media (max-width: 767px) {
	.dh-sec-head {
		margin-bottom: 16px;
	}

	/* İçerik sayfalarında (Markalar, İletişim, Hakkımızda...) başlık ile içerik arası. */
	.page:not(.home) .wd-content-layout {
		padding-top: 12px;
	}

	.dh-feat-foot {
		display: flex;
	}

	.dh-feat-foot .dh-btn,
	.dh-feat-foot .dh-btn .btn {
		width: 100%;
	}

	.dh-brand-tile.e-con {
		height: 54px;
		padding: 0 10px;
	}

	.dh-foot-about {
		grid-column: 1 / -1;
	}

	.dh-brand-tile-lg.e-con {
		height: 64px;
	}
}

@media (max-width: 1024px) {
	.wd-show-sidebar-btn > a {
		min-height: 44px;
		padding: 0 14px;
		border: 1.5px solid var(--dh-line-2);
		border-radius: 8px;
		background: #fff;
		font-weight: 600;
	}

	.float-btn__wrapper {
		bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0s !important;
		animation-duration: 0s !important;
		scroll-behavior: auto !important;
	}
}
