/* =========================================================
   Yasna Bio: monochrome editorial (per catalog + koozmetik)
   ========================================================= */

:root {
	--ink: #141414;
	--ink-soft: #4a4a4a;
	--paper: #ffffff;
	--stone: #f4f4f2;
	--line: #e4e2de;
	--hazel: #a97c50;
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
	--radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- buttons ---------- */

.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	padding: 14px 28px;
	border-radius: var(--radius);
	border: 1px solid var(--ink);
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #333; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-lg { width: 100%; padding: 18px 28px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: wait; }

/* ---------- topbar + header ---------- */

.topbar {
	background: var(--ink);
	color: var(--paper);
	text-align: center;
	font-size: 13px;
	letter-spacing: .06em;
}
.topbar p { margin: 0; padding: 8px 16px; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 72px;
}

.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { max-height: 44px; width: auto; }

.brand-logo { height: 34px; width: auto; }
.brand-logo-footer { height: 40px; }

.brand-mark {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 30px;
	letter-spacing: -.01em;
}

.site-nav {
	display: flex;
	gap: 26px;
	margin-left: auto;
}
.site-nav a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); }

.order-indicator {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.order-indicator-count {
	background: var(--ink);
	color: var(--paper);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	font-size: 12px;
}

.nav-toggle { display: none; }

/* ---------- section heads (catalog style: small label / big serif) ---------- */

.section-head { margin-bottom: 48px; }

.section-label {
	margin: 0 0 2px;
	padding-left: 14px;
	border-left: 3px solid var(--ink);
	font-size: 14px;
	letter-spacing: .14em;
	text-transform: lowercase;
	color: var(--ink-soft);
}

.section-title {
	margin: 0;
	padding-left: 14px;
	border-left: 3px solid var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.05;
	letter-spacing: -.01em;
	text-transform: lowercase;
}

.section-sub {
	max-width: 640px;
	margin: 18px 0 0 17px;
	color: var(--ink-soft);
}

.kicker {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

/* ---------- hero ---------- */

.hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, #ededeb 0%, transparent 60%),
		linear-gradient(180deg, var(--stone) 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}

.hero-inner {
	padding: 96px 24px 88px;
	max-width: 860px;
	text-align: center;
}

.hero-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(44px, 8vw, 86px);
	line-height: 1.02;
	letter-spacing: -.02em;
}
.hero-title em {
	font-style: italic;
	font-weight: 400;
	color: var(--hazel);
}

.hero-sub {
	margin: 22px 0 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hazel);
}

.hero-lead {
	max-width: 560px;
	margin: 16px auto 32px;
	font-size: 19px;
	color: var(--ink-soft);
}

.hero-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-badges {
	display: flex;
	gap: 10px 28px;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 44px 0 0;
	padding: 0;
}
.hero-badges li {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.hero-badges li::before { content: "· "; color: var(--hazel); }

/* ---------- story ---------- */

.story { padding: 96px 0; }

.story-inner {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 64px;
	align-items: start;
}

.story-copy p { margin: 0 0 20px; color: var(--ink-soft); }
.story-copy p:first-child::first-letter {
	font-family: var(--font-display);
	font-size: 3.2em;
	line-height: .9;
	float: left;
	padding-right: 10px;
	color: var(--ink);
}

/* ---------- product sections ---------- */

.products-section { padding: 96px 0; border-top: 1px solid var(--line); }
.products-section-alt { background: var(--stone); }

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.product-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, .07); }
.product-card.in-order { border-color: var(--ink); }

.product-media {
	background: var(--stone);
	aspect-ratio: 3 / 3.2;
	overflow: hidden;
}
.product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.product-card:hover .product-media img { transform: scale(1.03); }

.product-body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-title {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
}

.product-excerpt {
	margin: 0 0 12px;
	font-size: 14.5px;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-more {
	align-self: flex-start;
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	color: var(--ink);
}

.product-details {
	border-top: 1px solid var(--line);
	padding-top: 16px;
	margin-bottom: 16px;
	font-size: 14.5px;
	color: var(--ink-soft);
}
.product-description p { margin: 0 0 12px; }

.product-specs {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 16px 0 0;
	border-top: 1px solid var(--line);
	padding-top: 14px;
}
.product-specs dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
}
.product-specs dd { margin: 0; font-size: 13.5px; }

.product-buy {
	margin-top: auto;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.product-price {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 21px;
}

.qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.qty-btn {
	width: 38px;
	height: 42px;
	border: none;
	background: none;
	font-size: 19px;
	cursor: pointer;
	color: var(--ink);
}
.qty-btn:hover { background: var(--stone); }
.qty-input {
	width: 44px;
	height: 42px;
	border: none;
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
	text-align: center;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	-moz-appearance: textfield;
	appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-add { grid-column: 1 / -1; width: 100%; padding: 13px 16px; font-size: 14px; }
.product-add.added { background: var(--ink); color: var(--paper); }

.empty-note { color: var(--ink-soft); font-style: italic; }

/* ---------- order section ---------- */

.order-section {
	padding: 96px 0;
	background: var(--ink);
	color: var(--paper);
}
.order-section .section-label { border-color: var(--hazel); color: #bdbdbd; }
.order-section .section-title { border-color: var(--hazel); color: var(--paper); }
.order-section .section-sub { color: #bdbdbd; }

.order-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 48px;
	align-items: start;
}

.order-summary {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius);
	padding: 28px;
	position: sticky;
	top: 96px;
}
.order-summary h3 {
	margin: 0 0 18px;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
}

.order-items { list-style: none; margin: 0; padding: 0; }
.order-items li {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 10px;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	font-size: 15px;
}
.oi-qty { color: #bdbdbd; }
.oi-price { font-weight: 700; }
.oi-remove {
	background: none;
	border: none;
	color: #999;
	font-size: 17px;
	cursor: pointer;
	padding: 0 2px;
}
.oi-remove:hover { color: #fff; }

.order-empty { color: #bdbdbd; font-style: italic; }

.order-totals { margin: 18px 0 0; }
.order-totals > div {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 15px;
}
.order-totals dt { color: #bdbdbd; }
.order-totals dd { margin: 0; font-weight: 600; }
.order-grand { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 8px; padding-top: 12px !important; }
.order-grand dt, .order-grand dd {
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--paper);
	font-weight: 600;
}

.order-free-note { margin: 16px 0 0; font-size: 13px; color: #9d9d9d; }

/* form */

.order-form .form-row { margin-bottom: 16px; }
.form-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.order-form label { display: block; }
.order-form label span {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #bdbdbd;
}

.order-form input,
.order-form textarea {
	width: 100%;
	padding: 13px 14px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: var(--radius);
	color: var(--paper);
	font-family: var(--font-body);
	font-size: 16px;
}
.order-form input:focus,
.order-form textarea:focus {
	outline: none;
	border-color: var(--paper);
	background: rgba(255, 255, 255, .1);
}

.order-form .field-error input { border-color: #e2604f; }

.hp-field { position: absolute; left: -9999px; }

.form-error {
	background: rgba(226, 96, 79, .16);
	border: 1px solid rgba(226, 96, 79, .5);
	border-radius: var(--radius);
	padding: 12px 16px;
	font-size: 14.5px;
	color: #ffb4a8;
}

.order-section .btn-solid {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
}
.order-section .btn-solid:hover { background: #e8e8e8; }

.form-note { margin: 14px 0 0; font-size: 13px; color: #9d9d9d; }

.order-success {
	max-width: 560px;
	margin: 32px auto 0;
	text-align: center;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius);
	padding: 40px 32px;
}
.order-success h3 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
}
.order-success p { margin: 0; color: #cfcfcf; }
.order-again { color: var(--paper); font-weight: 600; }

/* ---------- delivery ---------- */

.delivery { padding: 96px 0; }

.delivery-cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.delivery-cols h3 {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
}
.delivery-cols p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- footer ---------- */

.site-footer {
	background: var(--stone);
	border-top: 1px solid var(--line);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
	padding: 72px 24px 48px;
}

.footer-tagline {
	margin: 10px 0 0;
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: lowercase;
	color: var(--ink-soft);
}

.footer-heading {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

.footer-bottom {
	border-top: 1px solid var(--line);
	padding-top: 20px;
	padding-bottom: 28px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- sticky order bar ---------- */

.order-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	background: var(--paper);
	border-top: 1px solid var(--ink);
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .08);
}
.order-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.order-bar-summary { margin: 0; font-size: 15px; }
body.has-order-bar { padding-bottom: 76px; }

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.story-inner { grid-template-columns: 1fr; gap: 32px; }
	.order-grid { grid-template-columns: 1fr; }
	.order-summary { position: static; }
	.delivery-cols { grid-template-columns: 1fr; gap: 28px; }
	.footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.product-grid { grid-template-columns: 1fr; }
	.form-row-2 { grid-template-columns: 1fr; }
	.hero-inner { padding: 64px 24px 56px; }
	.story, .products-section, .order-section, .delivery { padding: 64px 0; }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		gap: 0;
		padding: 8px 0;
	}
	.site-nav a { padding: 14px 24px; }
	body.nav-open .site-nav { display: flex; }

	.nav-toggle {
		display: grid;
		gap: 6px;
		margin-left: auto;
		background: none;
		border: none;
		padding: 10px 4px;
		cursor: pointer;
	}
	.nav-toggle span {
		display: block;
		width: 24px;
		height: 2px;
		background: var(--ink);
	}

	.order-indicator { margin-left: auto; }
	.nav-toggle { margin-left: 0; }
	.order-indicator-label { display: none; }
}
