/* reset the thumbnail "button" to look like a plain wrapper */
button.x-filmstrip__link {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;        /* match previous anchor block behavior */
  line-height: 0;        /* remove extra inline spacing */
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* keep accessibility: show a clear focus ring when keyboarding */
button.x-filmstrip__link:focus-visible {
  outline: 2px solid var(--focus-ring, #1a73e8);
  outline-offset: 2px;
}

/* ensure the image fills the clickable area cleanly */
.x-filmstrip__picture { display: block; }
.x-filmstrip__image   { display: block; }


/* ===== Sticky Add-to-Cart Bar ===== */
.x-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: var(--primary-color, #0057a8);
	color: #fff;
	box-shadow: 0 -4px 16px rgba(0,0,0,0.22);
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.25s ease, opacity 0.25s ease;
	padding: 12px 16px;
}
.x-sticky-atc.is-active {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}
.x-sticky-atc__inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.x-sticky-atc__product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}
.x-sticky-atc__name {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 500px;
}
.x-sticky-atc__price {
	font-size: 13px;
	margin-top: 3px;
	opacity: 0.85;
}
.x-sticky-atc__price s {
	opacity: 0.55;
	margin-right: 4px;
}
.x-sticky-atc__controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.x-sticky-atc__qty {
	display: flex;
	align-items: center;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
}
.x-sticky-atc__qty-btn {
	width: 38px;
	height: 40px;
	border: 0;
	background: #f0f0f0;
	color: #111;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}
.x-sticky-atc__qty-btn:hover { background: #e0e0e0; }
.x-sticky-atc__qty-input {
	width: 52px;
	height: 40px;
	border: 0;
	text-align: center;
	color: #111;
	font-size: 15px;
	-moz-appearance: textfield;
}
.x-sticky-atc__qty-input::-webkit-outer-spin-button,
.x-sticky-atc__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.x-sticky-atc__submit {
	height: 40px;
	padding: 0 20px;
	white-space: nowrap;
	font-size: 14px;
}
body.has-sticky-atc {
	padding-bottom: 80px;
}
@media (max-width: 767px) {
	.x-sticky-atc__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.x-sticky-atc__product {
		text-align: center;
	}
	.x-sticky-atc__name {
		max-width: 100%;
		white-space: normal;
		font-size: 13px;
	}
	.x-sticky-atc__controls {
		justify-content: center;
	}
	.x-sticky-atc__submit {
		width: 100%;
	}
}