/*
Theme Name: Lotus Kitap
Theme URI: https://kitap.lotusyol.com/
Author: Lotus Yayın Grubu
Description: Lotus Kitap için özel WooCommerce kitap satış teması.
Version: 1.2.0
Text Domain: lotus-kitap
*/


/* =========================================================
   TEMEL
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #fff;
	color: #171717;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

.lotus-container {
	width: min(1380px, calc(100% - 56px));
	margin-inline: auto;
}

.lotus-main {
	min-height: 60vh;
	padding: 48px 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.lotus-header {
	position: relative;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
}

.lotus-header-grid {
	min-height: 92px;
	display: grid;
	grid-template-columns: 240px minmax(320px, 1fr) auto;
	gap: 36px;
	align-items: center;
}

.lotus-brand a {
	display: inline-flex;
	align-items: center;
}

.lotus-site-name {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -.035em;
	white-space: nowrap;
}

.lotus-brand .custom-logo {
	width: auto;
	max-width: 210px;
	max-height: 62px;
}


/* =========================================================
   ARAMA
   ========================================================= */

.lotus-search form {
	position: relative;
	display: flex;
	width: 100%;
}

.lotus-search input[type="search"] {
	width: 100%;
	height: 48px;
	padding: 0 58px 0 18px;
	border: 1px solid #d8d8d8;
	border-radius: 5px;
	background: #fff;
	color: #171717;
	outline: none;
	transition: border-color .18s ease;
}

.lotus-search input[type="search"]:focus {
	border-color: #171717;
}

.lotus-search input[type="search"]::placeholder {
	color: #777;
}

.lotus-search button {
	position: absolute;
	top: 0;
	right: 0;
	width: 52px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #171717;
	font-size: 25px;
	cursor: pointer;
}


/* =========================================================
   HESAP + SEPET
   ========================================================= */

.lotus-header-actions {
	display: flex;
	align-items: center;
	gap: 25px;
}

.lotus-account-link,
.lotus-cart-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.lotus-account-link:hover,
.lotus-cart-link:hover {
	opacity: .65;
}

.lotus-action-icon {
	font-size: 20px;
}

.lotus-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 20px;
	background: #171717;
	color: #fff;
	font-size: 11px;
	line-height: 1;
}


/* =========================================================
   NAVİGASYON
   ========================================================= */

.lotus-navigation {
	border-top: 1px solid #ededed;
	background: #fff;
}

.lotus-menu,
.lotus-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lotus-menu {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

.lotus-menu > li {
	position: relative;
}

.lotus-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 52px;
	font-size: 15px;
	font-weight: 650;
}

.lotus-menu > li > a:hover {
	opacity: .6;
}

.lotus-menu .sub-menu {
	position: absolute;
	z-index: 999;
	top: 100%;
	left: -18px;
	display: none;
	min-width: 225px;
	padding: 9px 0;
	background: #fff;
	border: 1px solid #e7e7e7;
	box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.lotus-menu li:hover > .sub-menu {
	display: block;
}

.lotus-menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	white-space: nowrap;
}

.lotus-menu .sub-menu a:hover {
	background: #f6f6f6;
}


/* =========================================================
   MAĞAZA GENEL
   ========================================================= */

.woocommerce {
	width: min(1380px, calc(100% - 56px));
	margin-inline: auto;
	padding: 48px 0 80px;
}

.woocommerce-products-header {
	margin-bottom: 34px;
}

.woocommerce-products-header__title.page-title,
.woocommerce h1.page-title {
	margin: 0;
	font-size: clamp(34px, 3.5vw, 46px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.035em;
}

.woocommerce .woocommerce-result-count {
	float: left;
	margin: 0 0 32px;
	color: #666;
	font-size: 14px;
}

.woocommerce .woocommerce-ordering {
	float: right;
	margin: 0 0 32px;
}

.woocommerce .woocommerce-ordering select {
	min-width: 215px;
	height: 42px;
	padding: 0 38px 0 13px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	color: #171717;
	outline: none;
}

.woocommerce ul.products {
	clear: both;
}


/* =========================================================
   ÜRÜN GRID
   ========================================================= */

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 58px 34px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.lotus-book-card {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	position: relative;
}


/* =========================================================
   KAPAK
   ========================================================= */

.lotus-book-cover {
	position: relative;
	width: 100%;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	background: #fafafa;
	overflow: hidden;
}

.lotus-book-cover-link {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
}

.lotus-book-cover-image {
	display: block !important;
	width: auto !important;
	height: auto
	
	/* =========================================================
   LOTUS KİTAP — MÜHÜR / DAMGA SİSTEMİ
   ========================================================= */

.lotus-stamp {
	position: absolute;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	text-transform: uppercase;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1;
}


/* ---------------------------------------------------------
   İNDİRİM — YUVARLAK MÜREKKEP DAMGASI
   --------------------------------------------------------- */

.lotus-stamp-sale {
	top: 13px;
	right: 13px;

	width: 68px;
	height: 68px;

	border: 3px double #8d3028;
	border-radius: 50%;

	background: rgba(255,255,255,.90);
	color: #8d3028;

	font-size: 11px;
	letter-spacing: .07em;

	transform: rotate(-9deg);

	box-shadow:
		0 0 0 2px rgba(141,48,40,.10),
		inset 0 0 0 2px rgba(141,48,40,.08);
}


/* ---------------------------------------------------------
   TÜKENDİ — YENİDEN BASILABİLİR KAŞESİ
   --------------------------------------------------------- */

.lotus-stamp-soldout {
	right: 16px;
	bottom: 20px;

	min-width: 105px;
	padding: 9px 12px 7px;

	border: 3px double #555;

	background: rgba(255,255,255,.88);
	color: #555;

	font-size: 13px;
	letter-spacing: .09em;

	transform: rotate(-5deg);

	box-shadow: 0 2px 5px rgba(0,0,0,.05);
}


/* ---------------------------------------------------------
   SATIŞ DIŞI — ARŞİV KAŞESİ
   --------------------------------------------------------- */

.lotus-stamp-retired {
	left: 50%;
	top: 50%;

	min-width: 145px;
	padding: 11px 15px 9px;

	border: 4px double #222;

	background: rgba(255,255,255,.90);
	color: #222;

	font-size: 14px;
	letter-spacing: .10em;

	transform:
		translate(-50%, -50%)
		rotate(-7deg);

	box-shadow:
		0 3px 8px rgba(0,0,0,.08);
}


/* Satış dışı kitap kapağını çok hafif sakinleştir */
.lotus-book-card:has(.lotus-stamp-retired)
.lotus-book-cover-image {
	filter: saturate(.78);
}


/* ---------------------------------------------------------
   MOBİL
   --------------------------------------------------------- */

@media (max-width: 520px) {

	.lotus-stamp-sale {
		width: 55px;
		height: 55px;
		top: 8px;
		right: 8px;
		border-width: 2px;
		font-size: 9px;
	}

	.lotus-stamp-soldout {
		right: 9px;
		bottom: 12px;
		min-width: 88px;
		padding: 7px 9px 6px;
		border-width: 2px;
		font-size: 10px;
	}

	.lotus-stamp-retired {
		min-width: 115px;
		padding: 8px 10px 7px;
		border-width: 3px;
		font-size: 11px;
	}
}
/* =========================================================
   LOTUS KİTAP — DAMGALAR v2
   ========================================================= */

.woocommerce ul.products li.product .lotus-book-cover {
	position: relative !important;
}


/* BÜTÜN DAMGALAR */

.woocommerce ul.products li.product .lotus-stamp {
	position: absolute !important;
	z-index: 20 !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: auto;
	height: auto;

	margin: 0 !important;

	background: rgba(255, 255, 255, .92) !important;

	font-family: Georgia, "Times New Roman", serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	line-height: 1 !important;
	text-align: center !important;
	text-transform: uppercase !important;

	pointer-events: none;
}


/* =========================================================
   İNDİRİM
   Yuvarlak kırmızı mühür
   ========================================================= */

.woocommerce ul.products li.product .lotus-stamp-sale {
	top: 14px !important;
	right: 14px !important;
	bottom: auto !important;
	left: auto !important;

	width: 68px !important;
	height: 68px !important;

	padding: 0 !important;

	border: 3px double #9b332b !important;
	border-radius: 50% !important;

	color: #9b332b !important;

	font-size: 11px !important;
	letter-spacing: .07em !important;

	transform: rotate(-9deg) !important;

	box-shadow:
		0 0 0 2px rgba(155, 51, 43, .08),
		inset 0 0 0 2px rgba(155, 51, 43, .08) !important;
}


/* =========================================================
   TÜKENDİ
   Gri baskı kaşesi
   ========================================================= */

.woocommerce ul.products li.product .lotus-stamp-soldout {
	top: auto !important;
	right: 17px !important;
	bottom: 18px !important;
	left: auto !important;

	min-width: 108px !important;

	padding: 9px 12px 7px !important;

	border: 3px double #666 !important;
	border-radius: 1px !important;

	color: #555 !important;

	font-size: 12px !important;
	letter-spacing: .10em !important;

	transform: rotate(-5deg) !important;

	box-shadow: none !important;
}


/* =========================================================
   SATIŞ DIŞI
   Belirgin arşiv kaşesi
   ========================================================= */

.woocommerce ul.products li.product .lotus-stamp-retired {
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;

	min-width: 148px !important;

	padding: 11px 15px 9px !important;

	border: 4px double #222 !important;
	border-radius: 1px !important;

	color: #222 !important;

	font-size: 13px !important;
	letter-spacing: .11em !important;

	transform:
		translate(-50%, -50%)
		rotate(-7deg) !important;

	box-shadow: none !important;
}


/* Satış dışı kapağı hafifçe sakinleştir */

.woocommerce ul.products li.product:has(.lotus-stamp-retired)
.lotus-book-cover-image {
	filter: saturate(.72) contrast(.92);
}


/* =========================================================
   MOBİL DAMGALAR
   ========================================================= */

@media (max-width: 520px) {

	.woocommerce ul.products li.product .lotus-stamp-sale {
		top: 8px !important;
		right: 8px !important;

		width: 54px !important;
		height: 54px !important;

		border-width: 2px !important;

		font-size: 9px !important;
	}

	.woocommerce ul.products li.product .lotus-stamp-soldout {
		right: 9px !important;
		bottom: 11px !important;

		min-width: 86px !important;

		padding: 7px 8px 6px !important;

		border-width: 2px !important;

		font-size: 9px !important;
	}

	.woocommerce ul.products li.product .lotus-stamp-retired {
		min-width: 112px !important;

		padding: 8px 9px 7px !important;

		border-width: 3px !important;

		font-size: 10px !important;
	}
}