/* Savernake bespoke commission PDP: additions to gift-card.css. */

.sav-bs .sav-bs__price .price {
	margin: 0;
	padding: 19px 0 0;
	font-family: var(--sav-serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 34px;
	color: #000000;
}
.sav-bs .sav-bs__form .sav-gc__block--formats {
	border-top: 0;
}

/* Gift toggle: a card like the format options */
.sav-bs__gift-toggle {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	border: 1px solid var(--sav-field);
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}
.sav-bs__gift-toggle:hover {
	border-color: #b5b5b5;
}
.sav-bs__gift-toggle:has(input:checked) {
	border: 2px solid var(--sav-flame);
	padding: 15px;
}
.sav-bs__gift-toggle input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 5px 0 0;
	accent-color: var(--sav-flame);
}
.sav-bs__gift-toggle > span {
	display: block;
}
.sav-bs__gift-fields {
	margin-top: 20px;
}
.sav-bs__gift-fields[hidden] {
	display: none;
}
.sav-bs__presentation {
	margin: 0 0 20px;
}
.sav-bs__presentation .sav-gc__label {
	margin-bottom: 12px;
}

/* Process: six square stages */
.sav-bs__process {
	margin: 80px 0 0;
	padding: 56px 8% 0;
	border-top: 1px solid var(--sav-line);
}
.sav-bs__process-title {
	font-family: var(--sav-serif);
	font-size: 32px;
	font-weight: 500;
	line-height: 42px;
	letter-spacing: -0.01em;
	text-align: center;
	margin: 0 0 8px;
	color: var(--sav-text);
}
.sav-bs__process-intro {
	text-align: center;
	margin: 0 auto 40px;
	max-width: 52ch;
}
.sav-bs__stages {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 24px;
}
.sav-bs__stage {
	margin: 0;
	padding: 0;
}
.sav-bs__stage-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.sav-bs__stage-num {
	margin: 16px 0 0;
	font-family: var(--sav-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	color: var(--sav-flame);
}
.sav-bs__stage-title {
	margin: 8px 0 6px;
	font-family: var(--sav-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	color: var(--sav-text);
}
.sav-bs__stage-text {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
}

@media (max-width: 1024px) {
	.sav-bs__process {
		padding: 48px 4% 0;
	}
	.sav-bs__stages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.sav-bs__process {
		margin-top: 56px;
		padding: 40px 8px 0;
	}
	.sav-bs__process-title {
		font-size: 30px;
	}
	.sav-bs__stages {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* Stage carousel, as the hero */
.sav-bs__carousel {
	position: relative;
}
.sav-bs__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	outline: none;
}
.sav-bs__track::-webkit-scrollbar {
	display: none;
}
.sav-bs__slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
}
.sav-bs__slide-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.sav-bs__caption {
	display: flex;
	gap: 14px;
	align-items: baseline;
	padding: 16px 14px 0;
	max-width: 620px;
}
.sav-bs__caption-num {
	flex: 0 0 auto;
	font-family: var(--sav-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	color: var(--sav-flame);
}
.sav-bs__caption-title {
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
}
.sav-bs__caption-text {
	display: block;
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
}
.sav-bs__nav {
	position: absolute;
	top: calc(50% - 60px);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(251, 249, 246, 0.9) !important;
	color: #111111 !important;
	padding: 0 !important;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}
.sav-bs__nav--prev {
	left: 12px;
}
.sav-bs__nav--next {
	right: 12px;
}
.sav-bs__nav[disabled] {
	opacity: 0;
	pointer-events: none;
}
.sav-bs__nav:focus-visible {
	outline: 2px solid var(--sav-flame);
	outline-offset: 2px;
}
.sav-bs__dots {
	display: flex;
	gap: 8px;
	padding: 14px 14px 0;
}
.sav-bs__dot {
	width: 8px;
	height: 8px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #D8D8D8 !important;
	cursor: pointer;
}
.sav-bs__dot.is-active {
	background: var(--sav-flame) !important;
}
.sav-bs .sav-gc__grid {
	margin-top: 24px;
}

/* Commission dropdown, styled as the Engraving select */
.sav-bs__select-wrap {
	position: relative;
}
.sav-bs__select-wrap::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #111111;
	border-bottom: 1.5px solid #111111;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.sav-bs .sav-bs__select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px;
	cursor: pointer;
}

/* Inline errors */
.sav-gc .sav-gc__error {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--sav-flame);
}
.sav-gc .sav-gc__input.has-error {
	border-color: var(--sav-flame);
	box-shadow: inset 0 0 0 1px var(--sav-flame);
}

@media (max-width: 767px) {
	.sav-bs__nav {
		display: none;
	}
	.sav-bs__caption,
	.sav-bs__dots {
		padding-left: 8px;
		padding-right: 8px;
	}
}


/* ------------------------------------------------------------------------
 * Refinements
 * ------------------------------------------------------------------------ */

/* Carousel: photography first, minimal furniture. */
.sav-bs .sav-bs__slide-image {
	background: #E9E6E0;
}
.sav-bs .sav-bs__controls {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	gap: 1px;
	padding: 0;
	pointer-events: none;
}
.sav-bs .sav-bs__nav {
	position: static;
	width: 40px;
	height: 40px;
	border-radius: 0 !important;
	background: rgba(251, 249, 246, 0.88) !important;
	box-shadow: none;
	pointer-events: auto;
}
.sav-bs .sav-bs__nav[disabled] {
	opacity: 0.35;
	pointer-events: none;
}
.sav-bs .sav-bs__dots {
	display: none;
}
.sav-bs .sav-bs__caption {
	display: block;
	padding: 12px 0 0;
	max-width: 560px;
}
.sav-bs .sav-bs__caption-index {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.04em;
	color: var(--sav-muted);
}
.sav-bs .sav-bs__caption-num {
	font-family: var(--sav-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	color: var(--sav-flame);
}
.sav-bs .sav-bs__caption-title {
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}
.sav-bs .sav-bs__caption-text {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	line-height: 22px;
	color: var(--sav-text);
}
.sav-bs .sav-gc__grid {
	margin-top: 32px;
}

/* Purchase column: intro, price, selector and button as one unit. */
.sav-bs .sav-gc__intro p:last-child {
	margin-bottom: 0;
}
.sav-bs .sav-bs__price .price {
	padding-top: 16px;
}
.sav-bs .sav-bs__form .sav-bs__tier {
	padding-top: 12px;
}

/* "This is a gift": a functional checkbox row, not a card. */
.sav-bs .sav-bs__gift-toggle,
.sav-bs .sav-bs__gift-toggle:hover {
	border: 0;
	border-radius: 0;
	padding: 12px;
	margin: 0 -12px;
	background: transparent;
}
.sav-bs .sav-bs__gift-toggle:has(input:checked) {
	border: 0;
	padding: 12px;
	background: #F4EFE7;
}
.sav-bs .sav-bs__gift-toggle input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--sav-flame);
	outline-offset: 2px;
}
.sav-bs .sav-bs__gift-fields {
	margin-top: 16px;
}

@media (max-width: 767px) {
	.sav-bs .sav-bs__nav {
		display: flex;
	}
	.sav-bs .sav-bs__caption {
		padding: 12px 8px 0;
	}
	.sav-bs .sav-gc__grid {
		margin-top: 24px;
	}
	.sav-bs .sav-gc__media {
		padding-bottom: 0;
	}
}

/* Caption: inset from the image edge; upright (the theme italicises figcaption). */
.sav-bs .sav-bs__caption,
.sav-bs .sav-bs__caption * {
	font-style: normal;
}
.sav-bs .sav-bs__caption {
	padding: 12px 24px 0;
	max-width: 584px;
}
@media (max-width: 767px) {
	.sav-bs .sav-bs__caption {
		padding: 12px 20px 0;
	}
}
