:root {
	--tsc-shell-bg: #f7f4f2;
	--tsc-shell-surface: #fff;
	--tsc-shell-text: #1e1917;
	--tsc-shell-muted: #746b67;
	--tsc-shell-line: #e5dedb;
	--tsc-shell-width: 1180px;
}

html { overflow-x: hidden; background: var(--tsc-shell-bg); }
body.tsc-standalone-shell {
	min-width: 320px;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden;
	background: var(--tsc-shell-bg) !important;
	color: var(--tsc-shell-text);
	font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 16px;
	line-height: 1.55;
}
.tsc-standalone-shell *,
.tsc-standalone-shell *::before,
.tsc-standalone-shell *::after { box-sizing: border-box; }

.tsc-shell-skip {
	position: fixed;
	z-index: 10000;
	top: 10px;
	left: 10px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--tsc-shell-text);
	color: #fff;
	transform: translateY(-160%);
}
.tsc-shell-skip:focus { transform: translateY(0); }

.tsc-shell-header {
	position: relative;
	z-index: 100;
	width: 100%;
	border-bottom: 1px solid var(--tsc-shell-line);
	background: rgba(255, 255, 255, .96);
	animation: tsc-shell-enter .4s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes tsc-shell-enter {
	from { opacity: 0; transform: translate3d(0, -10px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.tsc-shell-header__inner {
	display: flex;
	width: min(var(--tsc-shell-width), calc(100% - 40px));
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin: 0 auto;
}
.tsc-shell-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	color: var(--tsc-shell-text) !important;
	text-decoration: none !important;
}
.tsc-shell-brand__image,
.tsc-shell-brand__mark {
	display: grid;
	width: 42px !important;
	height: 42px !important;
	flex: 0 0 42px;
	place-items: center;
	border-radius: 13px;
	object-fit: contain;
}
.tsc-shell-brand__mark { background: var(--tsc-accent); color: #fff; font-family: Georgia, serif; font-size: 20px; }
.tsc-shell-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.tsc-shell-brand__text strong { font-size: 15px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.tsc-shell-brand__text small { margin-top: 4px; color: var(--tsc-shell-muted); font-size: 11px; }

.tsc-shell-menu,
.tsc-shell-footer-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tsc-shell-menu li,
.tsc-shell-footer-menu li { position: relative; margin: 0; padding: 0; list-style: none; }
.tsc-shell-menu a,
.tsc-shell-footer-menu a,
.tsc-shell-shop {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--tsc-shell-text) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}
.tsc-shell-menu a:hover,
.tsc-shell-footer-menu a:hover,
.tsc-shell-shop:hover { color: var(--tsc-accent) !important; }
.tsc-shell-menu a:focus-visible,
.tsc-shell-footer-menu a:focus-visible,
.tsc-shell-brand:focus-visible,
.tsc-shell-shop:focus-visible,
.tsc-shell-cart:focus-visible,
.tsc-shell-mobile-menu summary:focus-visible {
	outline: 3px solid rgba(100, 63, 54, .25);
	outline-offset: 3px;
	border-radius: 9px;
}
.tsc-shell-menu .sub-menu {
	position: absolute;
	z-index: 10;
	top: calc(100% - 2px);
	left: -16px;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--tsc-shell-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 36px rgba(45, 31, 27, .12);
	list-style: none;
}
.tsc-shell-menu li:hover > .sub-menu,
.tsc-shell-menu li:focus-within > .sub-menu { display: block; }
.tsc-shell-menu .sub-menu a { width: 100%; padding: 0 10px; }

.tsc-shell-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.tsc-shell-cart {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid var(--tsc-shell-line);
	border-radius: 999px;
	background: #fff;
	color: var(--tsc-shell-text);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tsc-shell-cart:hover { border-color: var(--tsc-accent); box-shadow: 0 8px 22px rgba(70, 49, 42, .08); transform: translateY(-1px); }
.tsc-shell-cart:active { transform: scale(.98); }
.tsc-shell-cart svg,
.tsc-shell-mobile-menu svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.tsc-shell-cart output {
	display: grid;
	min-width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 999px;
	background: var(--tsc-accent);
	color: #fff;
	font-size: 12px;
}
.tsc-shell-mobile-menu { display: none; position: relative; }
.tsc-shell-mobile-menu summary {
	display: flex;
	min-width: 48px;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border-radius: 12px;
	cursor: pointer;
	list-style: none;
}
.tsc-shell-mobile-menu summary::-webkit-details-marker { display: none; }
.tsc-shell-mobile-menu > nav {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(310px, calc(100vw - 28px));
	padding: 14px;
	border: 1px solid var(--tsc-shell-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(45, 31, 27, .16);
}
.tsc-shell-mobile-menu .tsc-shell-menu { display: grid; gap: 2px; }
.tsc-shell-mobile-menu .tsc-shell-menu a { width: 100%; padding-inline: 12px; }
.tsc-shell-mobile-menu .sub-menu { margin: 0 0 6px 18px; padding: 0; list-style: none; }

.tsc-shell-main {
	display: flow-root;
	width: 100%;
	min-height: 62vh;
	padding: 22px 0 1px;
	background: var(--tsc-shell-bg);
}
.tsc-standalone-shell .tsc-commerce-intro { margin-top: 0 !important; }
.tsc-standalone-shell .woocommerce-notices-wrapper,
.tsc-standalone-shell .woocommerce-error,
.tsc-standalone-shell .woocommerce-message,
.tsc-standalone-shell .woocommerce-info {
	width: min(var(--tsc-checkout-width), calc(100% - var(--tsc-page-gutter)));
	margin-inline: auto !important;
}
.tsc-standalone-shell.woocommerce-checkout form.checkout {
	position: relative !important;
	inset: auto !important;
	width: min(var(--tsc-checkout-width), calc(100% - var(--tsc-page-gutter))) !important;
	height: auto !important;
	overflow: visible !important;
}
.tsc-standalone-shell.woocommerce-checkout #customer_details,
.tsc-standalone-shell.woocommerce-checkout #order_review,
.tsc-standalone-shell.woocommerce-checkout #payment,
.tsc-standalone-shell.woocommerce-checkout .woocommerce-checkout-review-order-table {
	position: static !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	transform: none !important;
}
.tsc-standalone-shell.woocommerce-checkout #payment { display: block !important; height: auto !important; min-height: 0 !important; }
.tsc-standalone-shell.woocommerce-checkout #payment ul,
.tsc-standalone-shell.woocommerce-checkout #payment li { max-width: none !important; }
.tsc-standalone-shell.woocommerce-checkout #payment .place-order { display: flow-root !important; padding: 20px !important; }
.tsc-standalone-shell.woocommerce-checkout #payment #place_order { position: static !important; float: none !important; }
.tsc-standalone-shell.woocommerce-checkout #order_review { position: relative !important; }
.tsc-standalone-shell.woocommerce-checkout form.checkout > .blockUI,
.tsc-standalone-shell.woocommerce-checkout #order_review .blockUI { display: none !important; }

.tsc-checkout-loader {
	position: absolute;
	z-index: 30;
	inset: 0;
	padding: 24px;
	border-radius: inherit;
	background: rgba(247, 244, 242, .82);
	backdrop-filter: blur(2px);
	cursor: wait;
}
.tsc-checkout-loader[hidden] { display: none !important; }
.tsc-checkout-loader__pill {
	position: fixed;
	z-index: 31;
	top: 50%;
	left: 50%;
	display: flex;
	width: fit-content;
	max-width: calc(100vw - 32px);
	min-height: 52px;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid rgba(100, 63, 54, .14);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(45, 31, 27, .16);
	color: var(--tsc-shell-text);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	transform: translate(-50%, -50%);
}
.tsc-checkout-loader__spinner {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border: 3px solid #eadfda;
	border-top-color: var(--tsc-accent);
	border-radius: 50%;
	animation: tsc-checkout-spin .75s linear infinite;
}
@keyframes tsc-checkout-spin { to { transform: rotate(360deg); } }
.tsc-standalone-shell.woocommerce-checkout #customer_details::before,
.tsc-standalone-shell.woocommerce-checkout #customer_details::after,
.tsc-standalone-shell.woocommerce-checkout #order_review::before,
.tsc-standalone-shell.woocommerce-checkout #order_review::after { display: none !important; content: none !important; }

.tsc-shell-footer {
	width: 100%;
	border-top: 1px solid var(--tsc-shell-line);
	background: var(--tsc-shell-surface);
}
.tsc-shell-footer__inner { width: min(var(--tsc-shell-width), calc(100% - 40px)); margin: 0 auto; }
.tsc-shell-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: 64px;
	padding: 46px 0 38px;
}
.tsc-shell-footer__top > div > p { max-width: 420px; margin: 18px 0 0; color: var(--tsc-shell-muted); font-size: 15px; line-height: 1.65; }
.tsc-shell-footer-menu { justify-content: flex-end; flex-wrap: wrap; gap: 8px 26px; }
.tsc-shell-footer-menu a { color: var(--tsc-shell-muted) !important; font-weight: 600; }
.tsc-shell-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0 26px;
	border-top: 1px solid var(--tsc-shell-line);
	color: var(--tsc-shell-muted);
	font-size: 13px;
}
.tsc-shell-footer__bottom a { color: var(--tsc-accent); font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
	.tsc-shell-nav--desktop,
	.tsc-shell-shop { display: none; }
	.tsc-shell-mobile-menu { display: block; }
	.tsc-shell-header__inner { min-height: 68px; }
	.tsc-shell-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tsc-shell-footer-menu { justify-content: flex-start; }
}

@media (max-width: 520px) {
	.tsc-shell-header__inner,
	.tsc-shell-footer__inner { width: min(100% - 28px, var(--tsc-shell-width)); }
	.tsc-shell-brand__image,
	.tsc-shell-brand__mark { width: 38px !important; height: 38px !important; flex-basis: 38px; }
	.tsc-shell-brand__text small { display: none; }
	.tsc-shell-cart { position: relative; width: 48px; min-width: 48px; justify-content: center; padding: 0; }
	.tsc-shell-cart > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.tsc-shell-cart output { position: absolute; top: -2px; right: -3px; }
	.tsc-shell-main { padding-top: 16px; }
	.tsc-shell-footer__top { padding: 34px 0 26px; }
	.tsc-shell-footer-menu { display: grid; gap: 2px; }
	.tsc-shell-footer__bottom { flex-direction: column; padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.tsc-standalone-shell * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
