@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap");

:root {
	color-scheme: light;
	--ink: #1f1b1a;
	--paper: #ffffff;
	--paper-dark: #f6f5f4;
	--kimchi-red: #d4573b;
	--kimchi-dark: #a33b28;
	--gold: #d0b06a;
	--jade: #3a6b5f;
	--muted: #6f6763;
	--shadow: 0 12px 28px rgba(25, 18, 16, 0.12);
	--radius: 18px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Noto Sans KR", "Noto Sans", system-ui, -apple-system, sans-serif;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
}

h1,
h2,
h3,
h4 {
	font-family: "Noto Serif KR", "Noto Serif", serif;
	margin: 0 0 0.5rem 0;
	color: var(--ink);
}

p {
	margin: 0 0 1rem 0;
	color: var(--muted);
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1200px, 90vw);
	margin: 0 auto;
}


.site-header {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid rgba(30, 21, 17, 0.08);
	position: sticky;
	top: 0;
	z-index: 20;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem 0;
	gap: 2rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.brand-link {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.9rem;
	text-decoration: none;
	color: inherit;
}

.brand-text {
	display: flex;
	flex-direction: column;
}

.brand-mark {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--kimchi-red);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 1.2rem;
	box-shadow: var(--shadow);
}

.brand-title {
	font-weight: 600;
	letter-spacing: 0.02em;
}

.brand-subtitle {
	font-size: 0.85rem;
	color: var(--muted);
}

.site-nav {
	display: flex;
	gap: 1.5rem;
	font-weight: 500;
}

.site-nav a {
	padding-bottom: 0.2rem;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.site-nav a:hover {
	border-color: var(--kimchi-red);
}

.page {
	padding-bottom: 4rem;
}


.hero {
	padding: 0.5rem 0 0.4rem;
	background: #ffffff;
	position: relative;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(212, 87, 59, 0.06) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	position: relative;
	z-index: 1;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.25em;
	font-size: 0.7rem;
	color: var(--kimchi-dark);
}

.lead {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.hero-actions {
	display: flex;
	gap: 0.75rem;
	margin: 0.75rem 0;
}

.btn {
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
	background: var(--kimchi-red);
	color: #fff;
	box-shadow: var(--shadow);
}

.btn.ghost {
	background: transparent;
	border-color: var(--kimchi-red);
	color: var(--kimchi-red);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(184, 58, 45, 0.18);
}


.hero h1 {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.hero-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.section {
	padding: 0 0;
}

.section.store {
	padding-top: 0.75rem;
}

.section.contact {
	margin-top: 2rem;
}


.store {
	background: #ffffff;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

.product-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.4rem;
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: 0 12px 28px rgba(30, 21, 17, 0.1);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}


.product-media {
	background: #fff;
	border-radius: 14px;
	padding: 0.6rem;
	width: 100%;
	height: 320px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.product-card h3 {
	margin-bottom: 0.2rem;
}

.product-desc {
	font-size: 0.95rem;
	margin-bottom: 0.3rem;
}

.product-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.product-card>.btn.ghost {
	align-self: center;
	text-align: center;
}

.product-card.out-of-stock {
	opacity: 0.6;
}

.product-detail {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	align-items: start;
}

.product-detail-media {
	background: #fff;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: var(--shadow);
	padding: 1rem;
}

.product-detail-copy {
	background: #fff;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: var(--shadow);
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.product-detail-meta h2 {
	margin-top: 1.5rem;
}

.product-ingredients {
	margin: 0.5rem 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.product-legal-note {
	margin-top: 1rem;
	font-size: 0.95rem;
}

.product-legal-note a {
	color: var(--kimchi-red);
}

.cookie-consent {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 1000;
	background: #fff;
	border: 1px solid rgba(30, 21, 17, 0.12);
	box-shadow: var(--shadow);
	border-radius: 14px;
	padding: 0.75rem 1rem;
	max-width: 520px;
	margin: 0 auto;
}

.cookie-consent__content {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	justify-content: space-between;
	font-size: 0.85rem;
	color: var(--muted);
}

.cookie-consent__content p {
	margin: 0;
}

.cookie-consent__content a {
	color: var(--kimchi-red);
}

.cookie-consent__accept {
	white-space: nowrap;
}

@media (max-width: 640px) {
	.cookie-consent__content {
		flex-direction: column;
		align-items: flex-start;
	}
}

.price {
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--ink);
}

.store-note {
	margin-top: 1.5rem;
	font-size: 0.9rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
	align-items: center;
}

.contact-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.contact-messages {
	margin: 1rem 0 1.5rem;
	display: grid;
	gap: 0.6rem;
}

.contact-message {
	padding: 0.75rem 1rem;
	border-radius: 12px;
	font-weight: 600;
	background: rgba(58, 107, 95, 0.1);
	color: var(--jade);
	border: 1px solid rgba(58, 107, 95, 0.2);
}

.contact-message.error {
	background: rgba(212, 87, 59, 0.1);
	color: var(--kimchi-dark);
	border-color: rgba(212, 87, 59, 0.2);
}

.contact-form {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #ffffff;
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid rgba(31, 27, 26, 0.08);
	box-shadow: var(--shadow);
}

.contact-form label {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--ink);
}

.contact-form span {
	display: block;
}

.contact-form input,
.contact-form textarea {
	display: block;
	width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(31, 27, 26, 0.15);
	padding: 0.7rem 0.9rem;
	font-size: 0.95rem;
	font-family: inherit;
	background: #fffdfb;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--kimchi-red);
	box-shadow: 0 0 0 3px rgba(212, 87, 59, 0.15);
}

.contact-form button {
	justify-self: flex-start;
}

.site-footer {
	background: #1f1410;
	color: #f5ece1;
	padding: 2rem 0;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.footer-title {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.footer-company {
	font-size: 0.85rem;
	opacity: 0.7;
	margin-top: 0.5rem;
}

.footer-links {
	display: flex;
	gap: 1rem;
}

@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.product-media {
		max-width: 300px;
		height: 280px;
		margin-inline: auto;
	}

	.site-nav {
		flex-wrap: wrap;
	}

	.hero-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Cart icon in header */
.cart-link {
	position: relative;
	display: flex;
	align-items: center;
}

.cart-icon-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.cart-icon {
	width: 32px;
	height: 32px;
	transition: transform 0.2s ease;
}

.cart-link:hover .cart-icon {
	transform: scale(1.1);
}

.cart-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	background: var(--kimchi-red);
	color: white;
	font-size: 0.7rem;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(212, 87, 59, 0.4);
}

/* Toast notifications */
.toast-notification {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 1rem 1.5rem;
	background: var(--jade);
	color: white;
	border-radius: 12px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	transform: translateY(100px);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	z-index: 1000;
}

.toast-notification.show {
	transform: translateY(0);
	opacity: 1;
}

.toast-notification.toast-error {
	background: var(--kimchi-red);
}

/* Cart page styles */
.cart-section h1,
.checkout-section h1,
.success-section h1 {
	margin-bottom: 2rem;
}

.cart-items {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}

.cart-item {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 1.5rem;
	align-items: center;
	background: white;
	padding: 1.25rem;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: 0 4px 12px rgba(30, 21, 17, 0.06);
}

.cart-item-info h3 {
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
}

.cart-item-price {
	font-weight: 600;
	color: var(--ink);
}

.cart-item-quantity {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.qty-btn {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(30, 21, 17, 0.15);
	border-radius: 8px;
	background: white;
	cursor: pointer;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.qty-btn:hover {
	background: var(--paper-dark);
	border-color: var(--kimchi-red);
}

.qty-input {
	width: 50px;
	text-align: center;
	border: 1px solid rgba(30, 21, 17, 0.15);
	border-radius: 8px;
	padding: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
}

.qty-input:focus {
	outline: none;
	border-color: var(--kimchi-red);
}

.cart-item-total {
	font-weight: 700;
	font-size: 1.1rem;
	min-width: 80px;
	text-align: right;
}

.cart-item-remove {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: var(--muted);
	transition: color 0.2s ease;
}

.cart-item-remove:hover {
	color: var(--kimchi-red);
}

.cart-summary {
	background: white;
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: 0 4px 12px rgba(30, 21, 17, 0.06);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 400px;
	margin-left: auto;
}

.cart-total {
	display: flex;
	justify-content: space-between;
	font-size: 1.25rem;
	font-weight: 700;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(30, 21, 17, 0.08);
}

.checkout-btn {
	text-align: center;
}

.continue-shopping-btn {
	text-align: center;
	align-self: center;
}

.cart-empty {
	text-align: center;
	padding: 4rem 2rem;
	background: white;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
}

.cart-empty p {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

/* Checkout page styles */
.checkout-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2rem;
	align-items: start;
}

.checkout-form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.checkout-alert {
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: rgba(212, 87, 59, 0.1);
	border: 1px solid rgba(212, 87, 59, 0.2);
	color: var(--kimchi-dark);
	font-weight: 600;
}

.form-section {
	background: white;
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: 0 4px 12px rgba(30, 21, 17, 0.06);
}

.form-section h2 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(30, 21, 17, 0.08);
}

.form-section label {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.form-section label:last-child {
	margin-bottom: 0;
}

.form-section label span {
	font-weight: 600;
	color: var(--ink);
	font-size: 0.9rem;
}

.form-section input,
.form-section select {
	width: 100%;
	border-radius: 10px;
	border: 1px solid rgba(31, 27, 26, 0.15);
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-family: inherit;
	background: #fffdfb;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.parcel-locker-suggestions {
	margin-top: calc(-0.4rem - 1px);
	border-radius: 0 0 10px 10px;
	border: 1px solid rgba(31, 27, 26, 0.15);
	border-top: 1px solid rgba(30, 21, 17, 0.08);
	background: #fffdfb;
	max-height: 260px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	overscroll-behavior: contain;
}

label:has(.parcel-locker-suggestions:not([hidden]))>input[type="search"] {
	border-radius: 10px 10px 0 0;
	border-bottom-color: rgba(30, 21, 17, 0.08);
}

.parcel-locker-suggestion {
	display: block;
	width: 100%;
	padding: 0.65rem 1rem;
	text-align: left;
	background: #fffdfb;
	border: 0;
	border-radius: 0;
	font: inherit;
	color: var(--ink);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.parcel-locker-suggestion+.parcel-locker-suggestion {
	border-top: 1px solid rgba(30, 21, 17, 0.08);
}

.parcel-locker-suggestion:hover,
.parcel-locker-suggestion:focus {
	background: rgba(212, 87, 59, 0.05);
	outline: none;
}

.parcel-locker-suggestion.empty {
	cursor: default;
	color: var(--muted);
}

.form-section input:focus,
.form-section select:focus {
	outline: none;
	border-color: var(--kimchi-red);
	box-shadow: 0 0 0 3px rgba(212, 87, 59, 0.15);
}

label:has(input[type="search"]:focus)>.parcel-locker-suggestions:not([hidden]) {
	border-color: var(--kimchi-red);
	border-top-color: rgba(30, 21, 17, 0.08);
	box-shadow: 0 0 0 3px rgba(212, 87, 59, 0.15);
	clip-path: inset(0 -3px -3px -3px);
}

.carrier-options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.carrier-option {
	cursor: pointer;
}

.carrier-option input {
	display: none;
}

.carrier-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.25rem;
	border: 2px solid rgba(30, 21, 17, 0.1);
	border-radius: 12px;
	background: #fffdfb;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.carrier-option input:checked+.carrier-box {
	border-color: var(--kimchi-red);
	background: rgba(212, 87, 59, 0.05);
}

.carrier-name {
	font-weight: 600;
}

.carrier-price {
	color: var(--jade);
	font-weight: 600;
}

.pay-btn {
	width: 100%;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	text-align: center;
}

.order-summary-mobile {
	display: none;
}

.checkout-sidebar {
	position: sticky;
	top: 100px;
}

.order-summary-card {
	background: white;
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: 0 4px 12px rgba(30, 21, 17, 0.06);
}

.order-summary-card h2 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(30, 21, 17, 0.08);
}

.order-items {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(30, 21, 17, 0.08);
}

.order-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.order-item-details {
	flex: 1;
}

.order-item-name {
	font-weight: 600;
	display: block;
}

.order-item-qty {
	color: var(--muted);
	font-size: 0.9rem;
}

.order-item-price {
	font-weight: 600;
	min-width: 60px;
	text-align: right;
}

.order-subtotal,
.order-shipping {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	margin-bottom: 0.5rem;
}

.order-total {
	display: flex;
	justify-content: space-between;
	font-size: 1.2rem;
	font-weight: 700;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(30, 21, 17, 0.08);
}

.back-to-cart {
	display: block;
	margin-top: 1rem;
	margin-bottom: 1rem;
	text-align: center;
	color: var(--muted);
	transition: color 0.2s ease;
}

.back-to-cart:hover {
	color: var(--kimchi-red);
}

/* Success page */
.success-section {
	padding-top: 4rem;
}

.success-card {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	background: white;
	padding: 3rem 2rem;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: var(--shadow);
}

.success-icon {
	color: var(--jade);
	margin-bottom: 1.5rem;
}

.success-message {
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

.order-details {
	text-align: left;
	background: var(--paper-dark);
	padding: 1.5rem;
	border-radius: 12px;
	margin-bottom: 1.5rem;
}

.order-detail {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(30, 21, 17, 0.06);
}

.order-detail:last-child {
	border-bottom: none;
}

.order-detail .label {
	color: var(--muted);
}

.order-detail .value {
	font-weight: 600;
}

.delivery-note {
	font-size: 0.95rem;
	color: var(--muted);
	margin-bottom: 1.5rem;
}

.success-card .btn {
	text-align: center;
}

.success-card .btn+.btn {
	margin-left: 0.75rem;
}

/* Kimchi story section */
.kimchi-story {
	padding-top: 2rem;
}

.kimchi-story-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
	align-items: start;
}

.kimchi-story-copy p {
	margin-bottom: 1rem;
}

.kimchi-stages {
	background: var(--paper-dark);
	border-radius: var(--radius);
	padding: 1.75rem;
	border: 1px solid rgba(30, 21, 17, 0.06);
}

.kimchi-stages h3 {
	margin-bottom: 1rem;
}

.kimchi-stage-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.9rem;
}

.kimchi-stage-list li {
	padding-left: 1.1rem;
	position: relative;
}

.kimchi-stage-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--kimchi-red);
}

/* Kimchi quote under products */
.kimchi-quote {
	margin-bottom: 1rem;
	background: var(--paper-dark);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(30, 21, 17, 0.06);
}

.kimchi-quote-header h2 {
	margin-bottom: 0.5rem;
}

.kimchi-quote-header p {
	margin-bottom: 0;
	font-size: 0.95rem;
	font-style: italic;
}

.kimchi-story-copy .research-link {
	display: inline-block;
	margin-top: 1rem;
}

.research-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem 0;
	display: grid;
	gap: 0.9rem;
}

.research-list li {
	padding-left: 1.1rem;
	position: relative;
}

.research-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--kimchi-red);
}

/* Lisainfo page */
.lisainfo-hero {
	padding-bottom: 1.5rem;
}

.lisainfo-research {
	padding-top: 1rem;
}

.lisainfo-hero .lead {
	max-width: 720px;
}

.research-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.research-card {
	background: white;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.research-card h3 {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.research-meta {
	font-size: 0.85rem;
	color: var(--muted);
}

.lisainfo-stages .stage-card {
	background: var(--paper-dark);
	border-radius: var(--radius);
	padding: 1.5rem;
	border: 1px solid rgba(30, 21, 17, 0.06);
	margin-bottom: 1.5rem;
}

.stage-meta {
	color: var(--muted);
	margin-bottom: 0.75rem;
}

.stage-card ul {
	margin: 0;
	padding-left: 1.2rem;
}

.stage-note {
	background: white;
	border-radius: var(--radius);
	padding: 1.25rem;
	border: 1px solid rgba(30, 21, 17, 0.08);
}

/* Order History page */
.order-history-section {
	padding-top: 2rem;
}

.order-history-section h1 {
	margin-bottom: 2rem;
}

.orders-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.order-card {
	background: white;
	border-radius: var(--radius);
	border: 1px solid rgba(30, 21, 17, 0.08);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.order-header {
	display: flex;
	gap: 2rem;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: var(--paper-dark);
	border-bottom: 1px solid rgba(30, 21, 17, 0.06);
}

.order-number,
.order-date {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.order-number .label,
.order-date .label {
	font-size: 0.8rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.order-number .value {
	font-weight: 700;
	font-size: 1.1rem;
}

.order-status {
	margin-left: auto;
}

.status-badge {
	padding: 0.35rem 0.9rem;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
}

.status-badge.status-paid {
	background: rgba(58, 107, 95, 0.12);
	color: var(--jade);
}

.status-badge.status-shipped {
	background: rgba(208, 176, 106, 0.2);
	color: #7d6929;
}

.status-badge.status-delivered {
	background: rgba(58, 107, 95, 0.2);
	color: var(--jade);
}

.order-items {
	padding: 1rem 1.5rem;
}

.order-item {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 1rem;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(30, 21, 17, 0.04);
}

.order-item:last-child {
	border-bottom: none;
}

.order-item .item-name {
	font-weight: 500;
}

.order-item .item-qty {
	color: var(--muted);
}

.order-item .item-price {
	font-weight: 600;
	text-align: right;
	min-width: 70px;
}

.order-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: var(--paper-dark);
	border-top: 1px solid rgba(30, 21, 17, 0.06);
}

.order-delivery .label,
.order-total .label {
	font-size: 0.85rem;
	color: var(--muted);
	margin-right: 0.5rem;
}

.order-total .value {
	font-weight: 700;
	font-size: 1.15rem;
}

.no-orders {
	text-align: center;
	padding: 3rem;
	background: var(--paper-dark);
	border-radius: var(--radius);
}

.no-orders p {
	margin-bottom: 1.5rem;
}

.back-link {
	margin-top: 2rem;
}

@media (max-width: 900px) {
	.checkout-grid {
		grid-template-columns: 1fr;
	}

	.kimchi-story-grid {
		grid-template-columns: 1fr;
	}

	.research-cards {
		grid-template-columns: 1fr;
	}

	.checkout-sidebar {
		display: none;
	}

	.order-summary-mobile {
		display: block;
	}
}

@media (max-width: 600px) {
	.cart-item {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
	}

	.cart-item-total {
		text-align: left;
	}

	.cart-item-quantity {
		justify-content: flex-start;
	}

	.cart-items {
		margin-bottom: 1.25rem;
	}

	.cart-summary {
		max-width: 100%;
		margin-left: 0;
		padding: 1.25rem;
	}

	.cart-total {
		font-size: 1.1rem;
	}

	.cart-summary .btn {
		display: block;
		width: 100%;
	}

	.checkout-form {
		gap: 1.5rem;
	}

	.form-section {
		padding: 1.25rem;
	}

	.pay-btn {
		width: 100%;
	}

	.success-card .btn {
		display: block;
		width: 100%;
	}

	.success-card .btn+.btn {
		margin-left: 0;
		margin-top: 0.75rem;
	}
}

/* Legal pages (Privacy, Terms) */
.legal-section {
	padding: 3rem 0 5rem;
}

.legal-content {
	max-width: 800px;
}

.legal-content h1 {
	margin-bottom: 2rem;
}

.legal-content h2 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	font-size: 1.4rem;
}

.legal-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.1rem;
}

.legal-content p {
	margin-bottom: 1rem;
	color: var(--ink);
	line-height: 1.7;
}

.legal-content ul {
	margin: 0 0 1.5rem 0;
	padding-left: 1.5rem;
}

.legal-content li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.legal-content a {
	color: var(--kimchi-red);
	text-decoration: underline;
}

.legal-content a:hover {
	color: var(--kimchi-dark);
}

.legal-updated {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(30, 21, 17, 0.1);
	font-size: 0.9rem;
	color: var(--muted);
}

/* Terms checkbox in checkout */
.terms-section {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(30, 21, 17, 0.08);
}

.form-section label.terms-checkbox {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
	margin-top: 0.25rem;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--kimchi-red);
	cursor: pointer;
}

.terms-checkbox span {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted);
}

.terms-checkbox a {
	color: var(--kimchi-red);
	text-decoration: underline;
}

.terms-checkbox a:hover {
	color: var(--kimchi-dark);
}