/* ============================================================
   Titulní strana (Home:default)
   ============================================================ */

/* ---- Hero ---- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 56px;
}

.hero__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.hero__fade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(250, 247, 240, 0.92) 0%, rgba(250, 247, 240, 0.8) 38%, rgba(250, 247, 240, 0.2) 58%, rgba(250, 247, 240, 0) 70%),
		linear-gradient(180deg, rgba(245, 248, 242, 0) 80%, var(--bg) 100%);
}

.hero__inner {
	position: relative;
	z-index: 2;
}

.hero__text {
	max-width: 520px;
}

.hero .eyebrow {
	display: inline-block;
	margin-bottom: 14px;
}

.hero h1 {
	margin: 0 0 16px;
	font-size: 3.25rem;
	line-height: 1.05;
	text-wrap: balance;
}

.hero h1 span {
	color: var(--brick);
}

.hero__lead {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--text-2);
	text-wrap: pretty;
}

.hero__points {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.0625rem;
	font-weight: 600;
}

.hero__points svg {
	flex-shrink: 0;
	fill: var(--green);
}

@media (max-width: 1000px) {
	.hero__fade {
		background:
			linear-gradient(90deg, rgba(250, 247, 240, 0.94) 0%, rgba(250, 247, 240, 0.85) 50%, rgba(250, 247, 240, 0.35) 78%, rgba(250, 247, 240, 0.1) 100%),
			linear-gradient(180deg, rgba(245, 248, 242, 0) 80%, var(--bg) 100%);
	}
}

@media (max-width: 720px) {
	.hero {
		padding: 48px 0 40px;
	}

	.hero__fade {
		background:
			linear-gradient(90deg, rgba(250, 247, 240, 0.94) 0%, rgba(250, 247, 240, 0.86) 60%, rgba(250, 247, 240, 0.5) 100%),
			linear-gradient(180deg, rgba(245, 248, 242, 0) 80%, var(--bg) 100%);
	}

	.hero h1 {
		font-size: 2.375rem;
	}
}


/* ---- Category tabs + search ---- */
.shop-bar {
	margin-top: 36px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--card);
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-sm);
}

.cat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cat-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9375rem;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}

.cat-tab i {
	font-size: 18px;
}

.cat-tab:hover {
	border-color: var(--green);
}

.cat-tab:has(:checked) {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}

.cat-tab:has(:focus-visible),
.chip:has(:focus-visible),
.check:has(:focus-visible),
.sort-tab:has(:focus-visible) {
	outline: 3px solid rgba(47, 107, 67, 0.45);
	outline-offset: 2px;
}

.search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg);
}

.search:focus-within {
	border-color: var(--green);
}

.search i {
	font-size: 20px;
	color: var(--text-muted);
}

.search input {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	border: 0;
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	outline: none;
}


/* ---- Shop: filters + product grid ---- */
.shop {
	padding: 8px 0 72px;
	scroll-margin-top: var(--header-offset);
}

.shop__inner {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.filters {
	position: sticky;
	top: var(--header-offset);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 22px;
	background: var(--card);
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-sm);
}

.filters__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chip {
	padding: 7px 12px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-pill);
	background: #fff;
	font-weight: 700;
	font-size: 0.8125rem;
	cursor: pointer;
}

.chip:has(:checked) {
	background: var(--green);
	border-color: var(--green);
	color: #fff;
}

.checks {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 4px;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
}

.check__box {
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--border-strong);
	border-radius: 6px;
	background: #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.check__box i {
	display: none;
	font-size: 13px;
}

.check :checked + .check__box {
	background: var(--green);
	border-color: var(--green);
}

.check :checked + .check__box i {
	display: block;
}

.price-range {
	display: flex;
	align-items: center;
	gap: 10px;
}

.price-range input {
	flex: 1;
	min-width: 0;
	accent-color: var(--green);
}

.price-range span {
	min-width: 64px;
	text-align: right;
	font-weight: 700;
	font-size: 0.9375rem;
}

.filters__reset {
	align-self: flex-start;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--green);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
}

.products {
	min-width: 0;
}

.products__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.products__head h2 {
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0;
}

.products__head h2 span {
	font-weight: 600;
	color: var(--text-muted);
}

.sort-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: var(--radius-pill);
	background: var(--bg-light);
}

.sort-tab {
	display: flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: var(--radius-pill);
	color: var(--text-2);
	font-weight: 700;
	font-size: 0.8125rem;
	white-space: nowrap;
	cursor: pointer;
}

.sort-tab:has(:checked) {
	background: #fff;
	color: var(--text);
	box-shadow: var(--shadow-sm);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 20px;
}

.product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--card);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.product-card__media {
	position: relative;
	aspect-ratio: 1;
}

.product-card__detail {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--text);
	font-weight: 700;
	font-size: 0.8125rem;
	box-shadow: var(--shadow-sm);
}

.product-card__detail i {
	font-size: 15px;
}

.product-card__body {
	flex: 1;
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-card__meta {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.product-card__name {
	font-size: 1.125rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.product-card__name a {
	color: var(--text);
}

.product-card__name a:hover {
	color: var(--green);
}

.product-card__desc {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--text-2);
	text-wrap: pretty;
}

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

.product-card .btn {
	box-shadow: none;
}

.product-card .btn i {
	font-size: 17px;
}

.price {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.375rem;
	white-space: nowrap;
}

@media (max-width: 860px) {
	.shop__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.filters {
		position: static;
	}
}


/* ---- Poradna + Rozvoz ---- */
.promos {
	padding: 0 0 32px;
}

.promos__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 20px;
}

.promo {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px 32px;
	border-radius: var(--radius-xl);
}

.promo--rose {
	background: var(--bg-rose);
	border: 1px solid var(--brick-soft);
}

.promo--sage {
	background: var(--bg-sage);
}

.promo__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.promo__icon {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--green);
}

.promo--rose .promo__icon {
	color: var(--brick);
}

.promo__title {
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.promo__title span {
	color: var(--brick);
}

.promo__eyebrow {
	color: var(--text);
}

.promo p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-2);
	text-wrap: pretty;
}

.promo--sage p {
	color: var(--text);
}

.promo__actions {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.promo__ask {
	padding: 0 28px;
	border-radius: var(--radius-md);
	gap: 10px;
}

.promo__more {
	min-height: 48px;
	padding: 0 24px;
	font-size: 1rem;
}

.hand-note {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--green);
}

.hand-note svg {
	display: block;
}

.hand {
	font-family: var(--font-hand);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.05;
	text-align: center;
	transform: rotate(-6deg);
}

@media (max-width: 480px) {
	.promo {
		padding: 24px 20px;
	}
}


/* ---- Nově přidané ---- */
.newest {
	padding: 48px 0;
	background: var(--bg-header);
}

.newest__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.newest__head h2 {
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0;
}

.newest__head span {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-muted);
}

.newest__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 6px 2px 10px;
	scroll-snap-type: x mandatory;
}

.mini-card {
	flex: 0 0 180px;
	scroll-snap-align: start;
	overflow: hidden;
	background: var(--card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	color: var(--text);
}

.mini-card:hover {
	color: var(--text);
}

.mini-card__media {
	height: 150px;
}

.mini-card__body {
	padding: 10px 12px 12px;
}

.mini-card__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.25;
}

.mini-card__price {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--brick);
}


/* ---- Jak to funguje ---- */
.how {
	padding: 48px 0 64px;
	background: #fff;
}

.how__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 28px;
}

.how__head h2 {
	font-size: 2rem;
	line-height: 1.15;
}

.how__head .hand {
	font-size: 28px;
	color: var(--green);
	transform: rotate(-5deg);
}

.how__head .hand span {
	color: var(--brick);
}

.how__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px 40px;
}

.how-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.how-step i {
	flex-shrink: 0;
	font-size: 44px;
	line-height: 1;
	color: var(--green);
}

.how-step h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.how-step p {
	margin-top: 4px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--text-2);
	text-wrap: pretty;
}
