/**
 * Stone Supply Co. — Sample Bar CSS
 * Matches the Tile Collective pattern. Sits fixed to the bottom of the viewport.
 */

.ssc-sample-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 999;
	background: #fafafa;
	border-top: 1px solid #e5e5e5;
	box-shadow: 0 -4px 16px rgba(0,0,0,.06);
	transform: translateY(100%);
	transition: transform .3s ease;
	visibility: hidden;
}
.ssc-sample-bar.is-visible {
	transform: translateY(0);
	visibility: visible;
}

.ssc-sample-bar__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px clamp(16px, 3vw, 32px);
	display: grid;
	grid-template-columns: 1.4fr auto auto;
	gap: 24px;
	align-items: center;
}

.ssc-sample-bar__intro h3 {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #0a0a0a;
	margin: 0 0 4px;
}
.ssc-sample-bar__intro p {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.45;
	color: #4a4a4a;
	margin: 0;
	max-width: 420px;
}
.ssc-sample-bar__intro p strong { color: #0a0a0a; font-weight: 600; }

.ssc-sample-bar__slots {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}
.ssc-sample-bar__slot {
	position: relative;
	width: 80px;
	height: 80px;
	border: 1px solid #e5e5e5;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ssc-sample-bar__slot.is-empty span {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 11px;
	letter-spacing: .08em;
	color: #a0a0a0;
	text-transform: uppercase;
}
.ssc-sample-bar__slot.is-filled img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
button.ssc-sample-bar__remove {
	position: absolute!important;
	top: 2px!important; right: 2px!important;
	width: 22px!important; height: 22px!important;
	background: rgba(255,255,255,.95)!important;
	border: 1px solid #e5e5e5!important;
	color: #0a0a0a!important;
	font-size: 16px!important;
	line-height: 1!important;
	cursor: pointer!important;
	display: flex!important;
	align-items: center!important;
	justify-content: center!important;
	padding: 0!important;
	transition: background .15s, color .15s!important;
    padding: 0px!important;
}
.ssc-sample-bar__remove:hover {
	background: #0a0a0a;
	color: #fff;
}

.ssc-sample-bar__checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: #0a0a0a;
	color: #fff;
	border: 1px solid #0a0a0a;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .2s;
}
.ssc-sample-bar__checkout:hover {
	background: #d4a256;
	color: #0a0a0a;
	border-color: #d4a256;
}

@media (max-width: 980px) {
	.ssc-sample-bar__inner {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 14px clamp(16px, 3vw, 32px);
	}
	.ssc-sample-bar__intro { display: none; }
	.ssc-sample-bar__slots { grid-template-columns: repeat(5, 1fr); }
	.ssc-sample-bar__slot { width: 100%; height: auto; aspect-ratio: 1/1; }
	.ssc-sample-bar__checkout { width: 100%; padding: 12px; }
}

/**
 * Stone Supply Co. — "Order Free Sample" button
 * Matches the Stone Supply Co. design system.
 */

#order_sample_product.order_sample_product,
button.order_sample_product {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	padding: 18px 24px !important;
	margin-top: 12px !important;
	background: #0a0a0a !important;
	color: #ffffff !important;
	border: 1px solid #0a0a0a !important;
	border-radius: 0 !important;
	font-family: 'Inter', system-ui, sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	line-height: 1 !important;
	cursor: pointer !important;
	transition: background .2s ease, color .2s ease, border-color .2s ease !important;
	box-shadow: none !important;
}

#order_sample_product.order_sample_product:hover,
button.order_sample_product:hover,
#order_sample_product.order_sample_product:focus-visible,
button.order_sample_product:focus-visible {
	background: #d4a256 !important;
	color: #0a0a0a !important;
	border-color: #d4a256 !important;
	outline: none !important;
}

#order_sample_product.order_sample_product:disabled,
button.order_sample_product:disabled,
#order_sample_product.order_sample_product[disabled],
button.order_sample_product[disabled] {
	background: #fafafa !important;
	color: #a0a0a0 !important;
	border-color: #e5e5e5 !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
}

#order_sample_product.order_sample_product:disabled:hover,
button.order_sample_product:disabled:hover {
	background: #fafafa !important;
	color: #a0a0a0 !important;
	border-color: #e5e5e5 !important;
}