/* ================================================
   BISHŌDŌ — Main Stylesheet
   Palette: warm muted tones, professional
   ================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
	--primary: #5c4a3e;
	--primary-light: #7d6b5e;
	--accent: #b89a8a;
	--accent-light: #d8c4b8;
	--cream: #f7f3ef;
	--cream-dark: #ede6df;
	--white: #ffffff;
	--text-dark: #2a2320;
	--text-mid: #6b5e57;
	--text-light: #9a8f8a;
	--border: #e0d5ce;
	--red: #a05252;
	--green: #6a9070;

	--font-display: "Cormorant Garamond", "Georgia", serif;
	--font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

	--radius: 4px;
	--radius-lg: 8px;
	--shadow-sm: 0 1px 4px rgba(90, 70, 60, 0.08);
	--shadow: 0 4px 20px rgba(90, 70, 60, 0.12);
	--shadow-lg: 0 8px 40px rgba(90, 70, 60, 0.16);
	--transition: 0.25s ease;
}

/* --- RESET --- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-body);
	font-size: 1.5rem;
	color: var(--text-dark);
	background: var(--cream);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img {
	display: block;
	width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
ul {
	list-style: none;
}
button {
	cursor: pointer;
	font-family: inherit;
}
input,
select,
textarea {
	font-family: inherit;
}

/* --- WRAPPER --- */
#wrap {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.main-contents {
	flex: 1;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.container--narrow {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------ */
h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.2;
	color: var(--text-dark);
}
h1 {
	font-size: clamp(3.2rem, 5vw, 5.6rem);
}
h2 {
	font-size: clamp(2.4rem, 3vw, 3.6rem);
}
h3 {
	font-size: 2.2rem;
}
h4 {
	font-size: 1.8rem;
}
p {
	color: var(--text-mid);
}

/* --- SECTION HEADING --- */
.section-heading {
	text-align: center;
	margin-bottom: 4.8rem;
}
.section-heading__label {
	display: inline-block;
	font-size: 1.1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
	font-family: var(--font-body);
}
.section-heading h2 {
	margin-bottom: 0.8rem;
}
.section-heading p {
	font-size: 1.5rem;
	color: var(--text-light);
}

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */
.btn {
	display: inline-block;
	padding: 1.3rem 3.2rem;
	font-size: 1.3rem;
	font-family: var(--font-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: var(--radius);
	transition: var(--transition);
	border: none;
	cursor: pointer;
}
.btn-primary {
	background: var(--primary);
	color: var(--white);
}
.btn-primary:hover {
	background: var(--primary-light);
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
}
.btn-outline:hover {
	background: var(--primary);
	color: var(--white);
}

.btn-accent {
	background: var(--accent);
	color: var(--white);
}
.btn-accent:hover {
	background: var(--accent-light);
	color: var(--primary);
}

.btn-sm {
	padding: 0.8rem 2rem;
	font-size: 1.2rem;
}
.btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

/* ------------------------------------------------
   TOP BAR
   ------------------------------------------------ */
.topbar {
	background: var(--primary);
	color: var(--accent-light);
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	text-align: center;
	padding: 0.7rem 24px;
}

/* ------------------------------------------------
   HEADER
   ------------------------------------------------ */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-sm);
}
.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.4rem;
}

/* Logo */
.site-logo {
	font-family: var(--font-display);
	font-size: 2.8rem;
	font-weight: 500;
	color: var(--primary);
	letter-spacing: 0.15em;
	flex-shrink: 0;
}
.site-logo span {
	color: var(--accent);
}

/* Main nav */
.nav-main {
	display: flex;
	align-items: center;
	gap: 0;
}
.nav-main__item {
	position: relative;
}
.nav-main__link {
	display: block;
	padding: 1rem 1.8rem;
	font-size: 1.3rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-mid);
	transition: color var(--transition);
}
.nav-main__link:hover {
	color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
	position: absolute;
	top: calc(100% + 1px);
	left: 0;
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--border);
	border-top: 2px solid var(--accent);
	box-shadow: var(--shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: all var(--transition);
	z-index: 200;
}
.nav-main__item:hover .nav-dropdown {
	opacity: 1;
	pointer-events: all;
	transform: translateY(0);
}
.nav-dropdown a {
	display: block;
	padding: 1.1rem 2rem;
	font-size: 1.4rem;
	color: var(--text-mid);
	border-bottom: 1px solid var(--border);
	transition: all var(--transition);
}
.nav-dropdown a:last-child {
	border-bottom: none;
}
.nav-dropdown a:hover {
	background: var(--cream);
	color: var(--primary);
	padding-left: 2.8rem;
}

/* Header actions */
.nav-actions {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.nav-actions__link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.3rem;
	color: var(--text-mid);
	letter-spacing: 0.04em;
	transition: color var(--transition);
}
.nav-actions__link:hover {
	color: var(--primary);
}
.nav-actions__link svg {
	width: 20px;
	height: 20px;
}

/* ── Search overlay ── */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(30, 20, 15, 0.55);
	backdrop-filter: blur(4px);
	z-index: 2000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 12rem;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.25s,
		visibility 0.25s;
}
.search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.search-overlay__box {
	width: 100%;
	max-width: 680px;
	margin: 0 24px;
}
.search-overlay__form {
	display: flex;
	background: var(--white);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.search-overlay__input {
	flex: 1;
	border: none;
	padding: 1.8rem 2.4rem;
	font-size: 1.8rem;
	font-family: var(--font-sans);
	color: var(--primary);
	background: transparent;
	outline: none;
}
.search-overlay__input::placeholder {
	color: var(--text-light);
}
.search-overlay__btn {
	background: var(--accent);
	border: none;
	padding: 0 2.4rem;
	cursor: pointer;
	color: var(--white);
	display: flex;
	align-items: center;
	transition: background var(--transition);
}
.search-overlay__btn:hover {
	background: var(--primary);
}
.search-overlay__btn svg {
	width: 22px;
	height: 22px;
}
.search-overlay__hint {
	margin-top: 1.2rem;
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
}

/* Cart badge */
.cart-badge {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.cart_count {
	position: absolute;
	top: -7px;
	right: -10px;
	background: var(--accent);
	color: var(--white);
	font-size: 1rem;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 4px;
}
.hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--primary);
	transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(42, 35, 32, 0.6);
	z-index: 300;
	backdrop-filter: blur(2px);
}
.mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	background: var(--white);
	padding: 3.2rem 2.4rem;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}
.mobile-nav.is-open {
	display: block;
}
.mobile-nav.is-open .mobile-nav__panel {
	transform: translateX(0);
}
.mobile-nav__close {
	position: absolute;
	top: 1.6rem;
	right: 2rem;
	background: none;
	border: none;
	font-size: 2.4rem;
	color: var(--text-mid);
	cursor: pointer;
}
.mobile-nav__logo {
	font-family: var(--font-display);
	font-size: 2.4rem;
	color: var(--primary);
	letter-spacing: 0.15em;
	margin-bottom: 3.2rem;
}
.mobile-nav__links a {
	display: block;
	padding: 1.2rem 0;
	font-size: 1.6rem;
	border-bottom: 1px solid var(--border);
	color: var(--text-dark);
}
.mobile-nav__links a:hover {
	color: var(--accent);
	padding-left: 0.8rem;
}

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */
.hero {
	min-height: 88vh;
	background: linear-gradient(
		135deg,
		var(--cream) 0%,
		var(--cream-dark) 60%,
		#d8c4b8 100%
	);
	display: flex;
	align-items: center;
	overflow: hidden;
	position: relative;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/hero-image.png") repeat;
	opacity: 0.04;
}
.hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8rem 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 6.4rem;
	width: 100%;
}
.hero__text {
	position: relative;
}
.hero__eyebrow {
	display: inline-block;
	font-size: 1.1rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 2rem;
	font-family: var(--font-body);
	border-bottom: 1px solid var(--accent-light);
	padding-bottom: 0.6rem;
}
.hero__text h1 {
	margin-bottom: 2rem;
	line-height: 1.1;
}
.hero__text h1 em {
	font-style: italic;
	color: var(--accent);
}
.hero__text p {
	font-size: 1.7rem;
	margin-bottom: 3.6rem;
	color: var(--text-mid);
	max-width: 44ch;
}
.hero__actions {
	display: flex;
	gap: 1.6rem;
	flex-wrap: wrap;
}
.hero__image {
	position: relative;
	height: 580px;
}
.hero__image-main {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2px 60px 2px 60px;
	box-shadow: var(--shadow-lg);
}
.hero__image-badge {
	position: absolute;
	bottom: 4rem;
	left: -2rem;
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 1.6rem 2rem;
	box-shadow: var(--shadow);
	max-width: 180px;
}
.hero__image-badge .badge-label {
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-light);
	margin-bottom: 0.4rem;
}
.hero__image-badge .badge-value {
	font-family: var(--font-display);
	font-size: 1.8rem;
	color: var(--primary);
}

/* ------------------------------------------------
   CATEGORIES GRID
   ------------------------------------------------ */
.section {
	padding: 2rem 0;
}
.section--cream {
	background: var(--cream);
}
.section--white {
	background: var(--white);
}
.section--dark {
	background: var(--primary);
}

/* ------------------------------------------------
   PROFILE DL
   ------------------------------------------------ */
.profile-dl {
	margin: 0;
	padding: 0;
}
.profile-dl__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 0;
	border-bottom: 1px solid var(--border);
	padding: 1.8rem 0;
}
.profile-dl__row:first-child {
	border-top: 1px solid var(--border);
}
.profile-dl dt {
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-light);
	padding-right: 2.4rem;
	padding-top: 0.2rem;
}
.profile-dl dd {
	margin: 0;
	font-size: 1.55rem;
	color: var(--text-dark);
	line-height: 1.7;
}
.profile-dl dd a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--transition);
}
.profile-dl dd a:hover {
	color: var(--primary);
	text-decoration: underline;
}

.cats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.4rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.cat-card {
	position: relative;
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 3/4;
	background: var(--cream-dark);
	cursor: pointer;
	text-decoration: none;
	transition:
		transform 0.38s ease,
		box-shadow 0.38s ease;
}
.cat-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 48px rgba(42, 35, 32, 0.22);
}
.cat-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
}
.cat-card:hover .cat-card__img {
	transform: scale(1.07);
}
.cat-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(28, 22, 20, 0.82) 0%,
		rgba(28, 22, 20, 0.12) 52%,
		transparent 100%
	);
	transition: background 0.38s ease;
}
.cat-card:hover .cat-card__overlay {
	background: linear-gradient(
		to top,
		rgba(28, 22, 20, 0.9) 0%,
		rgba(28, 22, 20, 0.28) 52%,
		transparent 100%
	);
}
.cat-card__body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.8rem 2.2rem 2.4rem;
	color: var(--white);
	transition: transform 0.38s ease;
}
.cat-card:hover .cat-card__body {
	transform: translateY(-8px);
}
.cat-card__label {
	display: inline-block;
	font-size: 1rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.32);
	padding: 0.2rem 0.9rem;
	border-radius: 20px;
	margin-bottom: 0.7rem;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.cat-card__name {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.25;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}
.cat-card__arrow {
	position: absolute;
	right: 1.8rem;
	bottom: 2rem;
	width: 3rem;
	height: 3rem;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	opacity: 0;
	transform: translateX(-10px);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
}
.cat-card:hover .cat-card__arrow {
	opacity: 1;
	transform: translateX(0);
}
.cat-card--featured {
	grid-row: span 2;
}
.cat-card--sm {
	aspect-ratio: auto;
}

/* ------------------------------------------------
   PROMO STRIP
   ------------------------------------------------ */
.promo-strip {
	background: var(--primary);
	padding: 5.6rem 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.promo-strip::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(184, 154, 138, 0.15);
}
.promo-strip__inner {
	position: relative;
	z-index: 1;
}
.promo-strip__label {
	font-size: 1.1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-light);
	margin-bottom: 1.6rem;
}
.promo-strip h2 {
	color: var(--white);
	margin-bottom: 1.6rem;
	font-size: clamp(2.8rem, 4vw, 4.8rem);
}
.promo-strip p {
	color: var(--accent-light);
	font-size: 1.6rem;
	margin-bottom: 3.2rem;
	max-width: 56ch;
	margin-left: auto;
	margin-right: auto;
}

/* ------------------------------------------------
   PRODUCT CARDS
   ------------------------------------------------ */
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.4rem;
}
.product-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition:
		box-shadow var(--transition),
		transform var(--transition);
	border: 1px solid var(--border);
}
.product-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}
.product-card__img-wrap {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: var(--cream);
}
.product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.product-card:hover .product-card__img {
	transform: scale(1.04);
}
.product-card__badge {
	position: absolute;
	top: 1.2rem;
	left: 1.2rem;
	background: var(--accent);
	color: var(--white);
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.3rem 0.9rem;
	border-radius: 2px;
}
.product-card__badge--new {
	background: var(--green);
}
.product-card__badge--sale {
	background: var(--red);
}
.product-card__body {
	padding: 1.6rem;
}
.product-card__brand {
	font-size: 1.1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-light);
	margin-bottom: 0.4rem;
}
.product-card__name {
	font-family: var(--font-display);
	font-size: 1.8rem;
	color: var(--text-dark);
	margin-bottom: 0.8rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.product-card__price {
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--primary);
	margin-bottom: 1.2rem;
}
.product-card__price del {
	font-size: 1.3rem;
	color: var(--text-light);
	font-weight: 400;
	margin-right: 0.6rem;
}
.product-card__footer {
	padding: 0 1.6rem 1.6rem;
}
.btn-add-cart {
	width: 100%;
	background: var(--cream);
	color: var(--primary);
	border: 1px solid var(--border);
	padding: 1rem;
	font-size: 1.3rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: var(--radius);
	transition: var(--transition);
	cursor: pointer;
}
.btn-add-cart:hover {
	background: var(--primary);
	color: var(--white);
	border-color: var(--primary);
}

/* ------------------------------------------------
   PRODUCT DETAIL PAGE
   ------------------------------------------------ */
.product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	max-width: 1100px;
	margin: 0 auto;
	padding: 4rem 24px 6rem;
	align-items: start;
}
.product-detail__img-wrap {
	background: var(--cream);
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-detail__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 2.4rem;
	transition: transform 0.4s ease;
}
.product-detail__img:hover {
	transform: scale(1.04);
}
.product-detail__cat {
	font-size: 1.2rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}
.product-detail__title {
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--text-dark);
	margin-bottom: 2rem;
}
.product-detail__price {
	font-size: 2.8rem;
	font-family: var(--font-display);
	color: var(--primary);
	margin-bottom: 2.8rem;
}
.product-detail__tax {
	font-size: 1.3rem;
	font-family: var(--font-body);
	color: var(--text-light);
	font-weight: 300;
}
.product-detail__sold-out {
	display: inline-block;
	background: var(--cream-dark);
	color: var(--text-light);
	padding: 0.8rem 2rem;
	border-radius: var(--radius);
	font-size: 1.4rem;
	letter-spacing: 0.05em;
	margin-bottom: 2.4rem;
}
.product-detail__purchase {
	display: flex;
	gap: 1.6rem;
	align-items: center;
	margin-bottom: 2.8rem;
}
.qty-control {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}
.qty-btn {
	width: 4rem;
	height: 4.8rem;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.8rem;
	color: var(--primary);
	transition: background 0.2s;
}
.qty-btn:hover {
	background: var(--cream);
}
#qty-input {
	width: 5rem;
	height: 4.8rem;
	border: none;
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	text-align: center;
	font-size: 1.5rem;
	color: var(--text-dark);
	background: transparent;
}
.product-detail__meta {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
	margin-top: 0.4rem;
}
.product-detail__meta-row {
	display: flex;
	justify-content: space-between;
	padding: 0.9rem 0;
	font-size: 1.4rem;
	color: var(--text-light);
	border-bottom: 1px solid var(--border);
}
.product-detail__meta-row span:first-child {
	color: var(--text-dark);
	font-weight: 500;
}
/* Description section */
.product-desc {
	margin: 0 auto;
}
.product-desc__heading {
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 400;
	color: var(--primary);
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 2.4rem;
}
.product-desc__body {
	font-size: 1.45rem;
	line-height: 2;
	color: var(--text-dark);
}
.product-desc__body p,
.product-desc__body span {
	font-size: inherit;
	line-height: inherit;
}
/* Responsive */
@media (max-width: 768px) {
	.product-detail {
		grid-template-columns: 1fr;
		gap: 3.2rem;
		padding: 2.4rem 16px 4rem;
	}
	.product-detail__purchase {
		flex-direction: column;
	}
	.product-detail__purchase .btn {
		width: 100%;
	}
}

/* ------------------------------------------------
   VALUES SECTION
   ------------------------------------------------ */
.values {
	background: var(--primary);
	padding: 8rem 0;
}
.values__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4.8rem;
}
.value-item {
	text-align: center;
}
.value-item__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 2rem;
	color: var(--accent-light);
}
.value-item__icon svg {
	width: 100%;
	height: 100%;
}
.value-item h3 {
	font-family: var(--font-display);
	color: var(--white);
	font-size: 2rem;
	margin-bottom: 1rem;
}
.value-item p {
	color: var(--accent-light);
	font-size: 1.4rem;
	line-height: 1.8;
}

/* ------------------------------------------------
   BRAND STORY BANNER
   ------------------------------------------------ */
.brand-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.brand-story__img {
	min-height: 480px;
	background: var(--cream-dark);
	object-fit: cover;
}
.brand-story__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.brand-story__text {
	background: var(--cream);
	padding: 7.2rem 6.4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.brand-story__text .section-heading__label {
	text-align: left;
}
.brand-story__text h2 {
	margin-bottom: 2rem;
}
.brand-story__text p {
	margin-bottom: 3.2rem;
	font-size: 1.5rem;
}

/* ------------------------------------------------
   CATEGORY PAGE
   ------------------------------------------------ */
.page-hero {
	background: var(--cream-dark);
	padding: 5.6rem 24px;
	text-align: center;
	border-bottom: 1px solid var(--border);
}
.page-hero h1 {
	margin-bottom: 1rem;
}
.page-hero p {
	color: var(--text-light);
}

.products-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.6rem 24px;
}
.products-section--full {
	padding: 0 24px 6.4rem;
}
.products-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 3.2rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 1.6rem;
}
.products-section__header h2 {
	font-size: 2.6rem;
}
.products-section__header a {
	font-size: 1.3rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
	border-bottom: 1px solid var(--accent-light);
	padding-bottom: 2px;
}

/* ------------------------------------------------
   PRODUCT DETAIL
   ------------------------------------------------ */
.product-detail {
	max-width: 1200px;
	margin: 0 auto;
	padding: 6.4rem 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6.4rem;
}
.product-gallery__main {
	aspect-ratio: 1/1;
	background: var(--cream);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: 1.6rem;
}
.product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-gallery__thumbs {
	display: flex;
	gap: 1rem;
}
.product-gallery__thumb {
	width: 72px;
	height: 72px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	flex-shrink: 0;
	background: var(--cream);
}
.product-gallery__thumb.active,
.product-gallery__thumb:hover {
	border-color: var(--accent);
}
.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-info__breadcrumb {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-bottom: 2rem;
}
.product-info__breadcrumb a {
	color: var(--text-light);
}
.product-info__breadcrumb a:hover {
	color: var(--primary);
}
.product-info__brand {
	font-size: 1.1rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.8rem;
}
.product-info h1 {
	font-size: 3.2rem;
	margin-bottom: 1.6rem;
}
.product-info__price {
	font-size: 2.8rem;
	color: var(--primary);
	font-family: var(--font-display);
	margin-bottom: 2.4rem;
}
.product-info__price small {
	font-size: 1.4rem;
	color: var(--text-light);
	font-family: var(--font-body);
}
.product-info__desc {
	font-size: 1.5rem;
	color: var(--text-mid);
	line-height: 1.9;
	margin-bottom: 3.2rem;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 2.4rem 0;
}
.product-info__qty {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-bottom: 2.4rem;
}
.product-info__qty label {
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-light);
}
.qty-control {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.qty-control a,
.qty-control button {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cream);
	color: var(--text-mid);
	font-size: 1.8rem;
	border: none;
	transition: var(--transition);
}
.qty-control a:hover,
.qty-control button:hover {
	background: var(--primary);
	color: var(--white);
}
.qty-control input {
	width: 52px;
	height: 40px;
	text-align: center;
	border: none;
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	font-size: 1.5rem;
	background: var(--white);
}
.btn-basket {
	width: 100%;
	padding: 1.6rem;
	background: var(--primary);
	color: var(--white);
	font-size: 1.4rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: var(--transition);
	margin-bottom: 1.2rem;
}
.btn-basket:hover {
	background: var(--primary-light);
}

/* ------------------------------------------------
   CART
   ------------------------------------------------ */
.cart-layout {
	max-width: 1100px;
	margin: 0 auto;
	padding: 6.4rem 24px;
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 4rem;
	align-items: start;
}
.cart-items {
}
.cart-item {
	display: flex;
	gap: 2.4rem;
	padding: 2.4rem 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}
.cart-item__img {
	width: 96px;
	height: 96px;
	border-radius: var(--radius);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--cream);
}
.cart-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cart-item__info {
	flex: 1;
}
.cart-item__name {
	font-family: var(--font-display);
	font-size: 1.8rem;
	margin-bottom: 0.4rem;
}
.cart-item__price {
	color: var(--primary);
	font-size: 1.5rem;
}
.cart-item__remove {
	font-size: 1.2rem;
	color: var(--text-light);
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: none;
	margin-top: 0.8rem;
	display: block;
}
.cart-item__remove:hover {
	color: var(--red);
}
.cart-summary {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.4rem;
	position: sticky;
	top: 90px;
}
.cart-summary h3 {
	font-size: 2rem;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--border);
}
.cart-summary__row {
	display: flex;
	justify-content: space-between;
	padding: 0.8rem 0;
	font-size: 1.4rem;
	color: var(--text-mid);
}
.cart-summary__row--total {
	font-size: 1.8rem;
	color: var(--text-dark);
	font-weight: 600;
	border-top: 1px solid var(--border);
	margin-top: 1rem;
	padding-top: 1.6rem;
}
.basket-item {
	/* alias */
}

/* ------------------------------------------------
   FORMS (Login / Checkout / Contact)
   ------------------------------------------------ */
.form-page {
	max-width: 560px;
	margin: 0 auto;
	padding: 7.2rem 24px;
}
.form-page h1 {
	font-size: 3.2rem;
	margin-bottom: 0.8rem;
	text-align: center;
}
.form-page__sub {
	text-align: center;
	color: var(--text-light);
	margin-bottom: 4rem;
	font-size: 1.4rem;
}
.form-box {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 4rem;
}
.form-group {
	margin-bottom: 2.4rem;
}
.form-group label {
	display: block;
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-mid);
	margin-bottom: 0.8rem;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 1.2rem 1.6rem;
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 1.5rem;
	color: var(--text-dark);
	transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--white);
}
.form-group textarea {
	min-height: 120px;
	resize: vertical;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem;
}
.form-note {
	font-size: 1.3rem;
	color: var(--text-light);
	text-align: center;
	margin-top: 2rem;
}
.form-note a {
	color: var(--accent);
	text-decoration: underline;
}

/* Checkout wide */
.checkout-layout {
	max-width: 1000px;
	margin: 0 auto;
	padding: 6.4rem 24px;
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 4rem;
	align-items: start;
}
.checkout-section {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 3.2rem;
	margin-bottom: 2.4rem;
}
.checkout-section h3 {
	font-size: 1.8rem;
	margin-bottom: 2.4rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--border);
}
.radio-option {
	display: flex;
	align-items: flex-start;
	gap: 1.2rem;
	padding: 1.6rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 1rem;
	cursor: pointer;
}
.radio-option:has(input:checked),
.radio-option.selected {
	border-color: var(--accent);
	background: #fdf8f5;
}
.radio-option input[type="radio"] {
	margin-top: 3px;
	accent-color: var(--accent);
}

/* ------------------------------------------------
   THANKS PAGE
   ------------------------------------------------ */
.thanks-page {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	padding: 10rem 24px;
}
.thanks-page__icon {
	width: 80px;
	height: 80px;
	background: var(--cream-dark);
	border-radius: 50%;
	margin: 0 auto 3.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--green);
}
.thanks-page__icon svg {
	width: 40px;
	height: 40px;
}
.thanks-page h1 {
	margin-bottom: 1.6rem;
	font-size: 4rem;
}
.thanks-page p {
	color: var(--text-mid);
	margin-bottom: 3.2rem;
}

/* ------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------ */
.contact-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 6.4rem 24px;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 6.4rem;
}
.contact-info h2 {
	margin-bottom: 2rem;
	font-size: 2.8rem;
}
.contact-info p {
	margin-bottom: 2.4rem;
}
.contact-detail {
	display: flex;
	gap: 1.2rem;
	align-items: flex-start;
	margin-bottom: 2rem;
}
.contact-detail__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	background: var(--cream-dark);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
}
.contact-detail__icon svg {
	width: 18px;
	height: 18px;
}
.contact-detail__label {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-bottom: 0.2rem;
}
.contact-detail__value {
	font-size: 1.4rem;
	color: var(--text-dark);
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
.site-footer {
	background: var(--text-dark);
	color: #b0a8a4;
	padding: 6.4rem 0 0;
}
.footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 4.8rem;
	padding-bottom: 4.8rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand .site-logo {
	color: var(--cream);
	display: block;
	margin-bottom: 1.6rem;
}
.footer__logo-link {
	display: inline-block;
	margin-bottom: 1.6rem;
}
.footer__logo {
	height: 200px;
	width: 300px;
	display: block;
}
.footer__brand p {
	font-size: 1.4rem;
	line-height: 1.8;
	color: #9a9290;
	max-width: 34ch;
}
.footer__heading {
	font-size: 1.1rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--cream);
	margin-bottom: 2rem;
	font-family: var(--font-body);
	font-weight: 500;
}
.footer__links a {
	display: block;
	font-size: 1.4rem;
	color: #9a9290;
	padding: 0.5rem 0;
	transition: color var(--transition);
}
.footer__links a:hover {
	color: var(--accent-light);
}
.footer__socials {
	display: flex;
	gap: 1.2rem;
	margin-top: 2.4rem;
}
.footer__socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9a9290;
	transition: var(--transition);
}
.footer__socials a:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--white);
}
.footer__socials svg {
	width: 16px;
	height: 16px;
}
.footer__bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.4rem 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	color: #6a6260;
}
.footer__bottom-links {
	display: flex;
	gap: 2.4rem;
}
.footer__bottom-links a {
	color: #6a6260;
}
.footer__bottom-links a:hover {
	color: var(--accent-light);
}

/* ------------------------------------------------
   BREADCRUMB
   ------------------------------------------------ */
.breadcrumb {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.6rem 24px;
	font-size: 1.3rem;
	color: var(--text-light);
}
.breadcrumb a {
	color: var(--text-light);
}
.breadcrumb a:hover {
	color: var(--primary);
}
.breadcrumb span {
	margin: 0 0.6rem;
}

/* ------------------------------------------------
   ALERTS / NOTICES
   ------------------------------------------------ */
.alert {
	padding: 1.4rem 2rem;
	border-radius: var(--radius);
	font-size: 1.4rem;
	margin-bottom: 2rem;
}
.alert--success {
	background: #edf5ef;
	color: #446649;
	border: 1px solid #c3dece;
}
.alert--error {
	background: #faeaee;
	color: #8b3f4a;
	border: 1px solid #e8c0ca;
}
.alert--info {
	background: var(--cream-dark);
	color: var(--primary);
	border: 1px solid var(--border);
}

/* ------------------------------------------------
   UTILITY
   ------------------------------------------------ */
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.mt-1 {
	margin-top: 0.8rem;
}
.mt-2 {
	margin-top: 1.6rem;
}
.mt-3 {
	margin-top: 2.4rem;
}
.mt-4 {
	margin-top: 3.2rem;
}
.mb-0 {
	margin-bottom: 0;
}
.mb-1 {
	margin-bottom: 0.8rem;
}
.mb-2 {
	margin-bottom: 1.6rem;
}
.mb-3 {
	margin-bottom: 2.4rem;
}
.hidden {
	display: none !important;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

/* ------------------------------------------------
   EMPTY STATE
   ------------------------------------------------ */
.empty-state {
	text-align: center;
	padding: 8rem 24px;
}
.empty-state__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 2.4rem;
	color: var(--accent-light);
}
.empty-state__icon svg {
	width: 100%;
	height: 100%;
}
.empty-state h3 {
	font-size: 2.4rem;
	margin-bottom: 1rem;
}
.empty-state p {
	color: var(--text-light);
	margin-bottom: 2.4rem;
}

/* ------------------------------------------------
   PAGINATION
   ------------------------------------------------ */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 4rem 24px 6.4rem;
	flex-wrap: wrap;
}
.pagination__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4rem;
	height: 4rem;
	padding: 0 1.4rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 1.4rem;
	font-family: var(--font-sans);
	color: var(--text-mid);
	background: var(--white);
	cursor: pointer;
	text-decoration: none;
	transition:
		background var(--transition),
		color var(--transition),
		border-color var(--transition);
	user-select: none;
}
.pagination__btn:hover {
	background: var(--cream-dark);
	color: var(--primary);
	border-color: var(--accent-light);
}
.pagination__btn.is-active {
	background: var(--accent);
	color: var(--white);
	border-color: var(--accent);
	pointer-events: none;
	font-weight: 600;
}
.pagination__btn.is-disabled {
	opacity: 0.35;
	pointer-events: none;
	cursor: default;
}
.pagination__ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4rem;
	height: 4rem;
	font-size: 1.4rem;
	color: var(--text-light);
}

/* ------------------------------------------------
   PROSE — static content pages
   ------------------------------------------------ */
.prose {
	line-height: 1.85;
	color: var(--text);
}
.prose h2 {
	font-family: var(--font-serif);
	font-size: 2.4rem;
	font-weight: 600;
	color: var(--primary);
	margin: 4rem 0 1.6rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}
.prose h3 {
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--primary);
	margin: 2.8rem 0 1rem;
}
.prose p {
	margin-bottom: 1.8rem;
	font-size: 1.5rem;
}
.prose ul,
.prose ol {
	padding-left: 2rem;
	margin-bottom: 1.8rem;
}
.prose li {
	font-size: 1.5rem;
	margin-bottom: 0.8rem;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2.4rem;
	font-size: 1.4rem;
}
.prose th,
.prose td {
	padding: 1.2rem 1.6rem;
	border: 1px solid var(--border);
	text-align: left;
}
.prose th {
	background: var(--cream-dark);
	font-weight: 600;
	white-space: nowrap;
	width: 30%;
}
.prose .info-box {
	background: var(--cream-dark);
	border-left: 3px solid var(--accent);
	padding: 1.6rem 2rem;
	border-radius: 0 6px 6px 0;
	margin-bottom: 2.4rem;
	font-size: 1.4rem;
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1024px) {
	.cats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cat-card--featured {
		grid-row: 1;
	}
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.footer__inner {
		grid-template-columns: 1fr 1fr;
		row-gap: 3.2rem;
	}
}

@media (max-width: 768px) {
	html {
		font-size: 58%;
	}
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 4rem;
		padding: 6rem 24px;
	}
	.hero__image {
		height: 360px;
		order: -1;
	}
	.hero__image-badge {
		display: none;
	}
	.hero {
		min-height: auto;
	}
	.nav-main,
	.nav-actions .nav-actions__link:not(.cart-badge) {
		display: none;
	}
	.hamburger {
		display: flex;
	}
	.cats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.values__grid {
		grid-template-columns: 1fr;
		gap: 3.2rem;
		text-align: center;
	}
	.brand-story {
		grid-template-columns: 1fr;
	}
	.brand-story__text {
		padding: 4.8rem 3.2rem;
	}
	.product-detail {
		grid-template-columns: 1fr;
		gap: 3.2rem;
	}
	.cart-layout {
		grid-template-columns: 1fr;
	}
	.checkout-layout {
		grid-template-columns: 1fr;
	}
	.contact-page {
		grid-template-columns: 1fr;
	}
	.footer__inner {
		grid-template-columns: 1fr;
	}
	.footer__bottom {
		flex-direction: column;
		gap: 1.2rem;
		text-align: center;
	}
	.form-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.cats-grid {
		grid-template-columns: 1fr;
	}
	.products-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.2rem;
	}
	.product-card__body {
		padding: 1.2rem;
	}
	.cart-item {
		flex-direction: column;
		gap: 1.6rem;
	}
}
