﻿:root {
	--bg-main: #fffbf4;
	--bg-alt: #fffbf4;
	--text-main: #11120d;
	--text-muted: #565449;
	--card-bg: #fffbf4;
	--shadow-soft: 0 10px 30px rgba(22, 22, 22, 0.06);
	--radius-soft: 14px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	color: var(--text-main);
	background: #fffbf4;
	line-height: 1.6;
}

h1,
h2,
h3,
.logo,
.footer-logo {
	font-family: "Playfair Display", serif;
	letter-spacing: 0.02em;
}

a {
	text-decoration: none;
}

/* navbar styles moved to css/navbar.css */

.shop-hero {
	background: #fffbf4;
}

.section-kicker {
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	font-weight: 600;
}

.section-title {
	font-size: clamp(1.75rem, 3vw, 2.7rem);
	line-height: 1.05;
}

.hero-copy {
	font-size: smaller;
	color: var(--text-muted);
}

.shop-controls-mobile {
	border: none !important;
	padding: 0.6rem;
	background-color: transparent;
}

.shop-control-toggle {
	width: 42px;
	height: 42px;
	border: none !important;
	background-color: transparent;
	color: #11120d;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-control-toggle:hover,
.shop-control-toggle:focus-visible {
	background-color: #565449;
	color: #fffbf4;
}

.shop-control-toggle:focus,
.shop-control-toggle:focus-visible,
.filter-btn:focus,
.filter-btn:focus-visible,
.shop-add-cart-btn:focus,
.shop-add-cart-btn:focus-visible {
	outline: none;
	box-shadow: none;
}


.shop-controls :is(button, select, .form-select, .shop-control-toggle, .filter-btn) {
	-webkit-tap-highlight-color: transparent;
}

.mobile-controls-panel {
	margin-top: 0.55rem;
	padding: 0.75rem;
	border: 1px solid var(--line-soft);
	background-color: transparent;
}

.controls-wrap {
	border: 1px solid var(--line-soft);
	border-radius: 0;
	padding: 0.9rem;
	background-color: transparent;
	backdrop-filter: blur(6px);
}

.filter-btn {
	border: none !important;
	background-color: transparent;
	border-radius: 0;
	padding: 0.42rem 0.9rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #11120d;
	transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
	background-color: #565449;
	color: #fffbf4;
	transform: translateY(-1px);
}

.filter-btn.active {
	background-color: #11120d;
	color: #fffbf4;
	border-color: #11120d;
}

.sort-label {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--text-muted);
}

.sort-select {
	min-width: 220px;
	border-radius: 0;
	/*border: 1px solid #c8b273;*/
	padding-inline: 0.95rem;
	font-size: 0.9rem;
	background-color: transparent;
}

.sort-select:focus {
	box-shadow: none !important;
	outline: none !important;
	/*border-color: #c8b273;*/	
}

.shop-products {
	min-height: 380px;
}

.product-card {
	position: relative;
	display: block;
	border-radius: 0;
	overflow: hidden;
	background-color: var(--card-bg);
	/*box-shadow: 0 8px 24px rgba(18, 18, 18, 0.03);*/
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	color: inherit;
}

.product-link {
	display: block;
	color: inherit;
}

.product-card:hover,
.product-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.product-image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background-color: #d8cfbc;
}

.product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.product-card:hover .product-image,
.product-card:focus-visible .product-image {
	transform: scale(1.06);
}

.product-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 64px;
	height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	padding: 0.2rem;
	font-size: 0.58rem;
	line-height: 1;
	text-align: center;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-weight: 700;
	background-color: #C8B273;
	color: #11120d;
	white-space: normal;
	word-break: break-word;
	z-index: 1;
}

.product-meta {
	padding: 0.95rem 0 0;
}

.product-name {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3;
	min-height: calc(1.3em * 2);
	padding-inline: 0.95rem;
}

.product-price {
	margin: 0.35rem 0 0;
	color: var(--text-muted);
	font-size: 0.9rem;
	padding-inline: 0.95rem;
}

.shop-add-cart-btn {
	width: 100%;
	margin-top: 0.65rem;
	padding: 0.58rem 0.75rem;
	border: 1px solid #11120d;
	background-color: #11120d;
	color: #fffbf4;
	font-size: 0.77rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 0;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-add-cart-btn:hover,
.shop-add-cart-btn:focus-visible {
	background-color: #565449;
	border-color: #565449;
}

.shop-add-cart-btn:disabled {
	opacity: 0.78;
	cursor: default;
}

.site-footer {
	background-color: #fffbf4;
	border-top: 1px solid var(--line-soft);
}

.footer-logo {
	color: var(--text-main);
	font-size: 1.75rem;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links a {
	color: var(--text-main);
	letter-spacing: 0.06em;
	font-size: 0.8rem;
	text-transform: uppercase;
}

.footer-social a {
	color: var(--text-main);
	font-size: 1rem;
}

.copyright {
	color: var(--text-muted);
	font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 380px;
	pointer-events: none;
}

.toast {
	padding: 14px 18px;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	animation: slideIn 0.3s ease backwards;
	pointer-events: auto;
	word-break: break-word;
}

.toast-success {
	background-color: #11120d;
	color: #fffbf4;
	
}

.toast.show {
	opacity: 1;
}

.toast:not(.show) {
	opacity: 0;
	animation: slideOut 0.3s ease forwards;
}

@keyframes slideIn {
	from {
		transform: translateX(400px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(400px);
		opacity: 0;
	}
}

@media (max-width: 991.98px) {
	.sort-select {
		min-width: 190px;
	}

	.navbar-nav.nav-left {
		gap: 1rem !important;
	}

	.nav-link {
		font-size: 0.82rem;
		letter-spacing: 0.06em;
	}
}

@media (max-width: 767.98px) {
	.logo {
		font-size: 1.5rem;
	}

	.product-meta {
		padding: 0.95rem 0 1.05rem;
	}

	.filter-tabs {
		width: 100%;
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem !important;
	}

	.filter-btn {
		width: 100%;
		padding-inline: 0.5rem;
	}

	.sort-wrap {
		width: 100%;
		align-items: flex-start !important;
		flex-direction: column;
		gap: 0.4rem !important;
	}

	.sort-select {
		min-width: 0;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.toast-container {
		left: 12px;
		right: 12px;
		max-width: none;
	}

	.toast {
		font-size: 0.9rem;
		padding: 12px 16px;
	}
}



