/* Styletodo Offers — checkout bump, cart card, thank-you card. Colours match the site (dark / gold). */

.str-offers { margin: 24px 0; font-family: "Manrope", sans-serif; color: #ECE5D5; }
.str-offers--bump { margin: 0 0 18px; }

.str-offer {
	position: relative;
	border: 1px solid #2B2721;
	background: #120F06;
	padding: 18px;
	transition: border-color .2s, opacity .2s;
}
.str-offer + .str-offer { margin-top: 14px; }
.str-offer.is-busy { opacity: .6; pointer-events: none; }

.str-offer__lead {
	margin: 0 0 14px;
	font-family: "Cormorant Garamond", serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: #ECE5D5;
}
.str-offer__body { display: flex; gap: 16px; align-items: flex-start; }
.str-offer__img { flex: none; display: block; width: 96px; }
.str-offer__img img { display: block; width: 100%; height: auto; margin: 0 !important; }
.str-offer__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.str-offer__name { color: #ECE5D5 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.str-offer__name:hover { color: #C9A227 !important; }
.str-offer__price { font-size: 14px; color: #C9A227; }
.str-offer__price del { color: #988F7E; margin-right: 6px; opacity: 1; }
.str-offer__price ins { text-decoration: none; color: #C9A227; font-weight: 600; }
.str-offer__text { font-size: 12.5px; line-height: 1.5; color: #988F7E; }

.str-offer__choice {
	width: 100%;
	max-width: 260px;
	margin-top: 4px;
	padding: 8px 10px !important;
	border: 1px solid #3A352C !important;
	border-radius: 0 !important;
	background: #0C0B09 !important;
	color: #ECE5D5 !important;
	font: 500 13px "Manrope", sans-serif !important;
}
.str-offer__choice:focus { border-color: #C9A227 !important; outline: 0; }

.str-offer__add {
	align-self: flex-start;
	margin-top: 8px;
	padding: 11px 20px !important;
	border: 1px solid #C9A227 !important;
	border-radius: 0 !important;
	background: #C9A227 !important;
	color: #0C0B09 !important;
	font: 600 12px "Manrope", sans-serif !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.str-offer__add:hover, .str-offer__add:focus-visible { background: transparent !important; color: #C9A227 !important; outline: 0; }

.str-offer__msg { margin: 6px 0 0; font-size: 12px; color: #E8B3A4; }
.str-offer__msg:empty { display: none; }

/* ---------- Checkout bump ---------- */
.str-offer--bump { border-style: dashed; border-color: #4A4136; }
.str-offer--bump.is-on { border-style: solid; border-color: #C9A227; }
.str-offer--bump .str-offer__body { padding-left: 32px; }
.str-offer--bump .str-offer__img { width: 64px; }
.str-offer__tick { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; cursor: pointer; }
.str-offer__tick .str-offer__lead { margin: 0; font-size: 19px; }
.str-offer__check { position: absolute; opacity: 0; width: 1px; height: 1px; }
.str-offer__box {
	flex: none;
	position: relative;
	width: 20px;
	height: 20px;
	border: 1px solid #C9A227;
	background: transparent;
}
.str-offer__check:checked + .str-offer__box { background: #C9A227; }
.str-offer__check:checked + .str-offer__box::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #0C0B09;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.str-offer__check:focus-visible + .str-offer__box { box-shadow: 0 0 0 2px #0C0B09, 0 0 0 3px #C9A227; }

/* ---------- Thank-you card ---------- */
.str-offers--thankyou .str-offer { border-color: #C9A227; }
.str-offers--thankyou .str-offer__img { width: 120px; }

.str-offer-qty { display: inline-block; min-width: 24px; text-align: center; color: #ECE5D5; }

/* ---------- Buttons row, "No thanks", one-click ---------- */
.str-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; }
.str-offer__actions .str-offer__add { margin-top: 0; }
.str-offer__add:disabled { background: transparent !important; color: #C9A227 !important; cursor: default; }
.str-offer__skip {
	padding: 6px 0 !important;
	border: 0 !important;
	background: none !important;
	color: #988F7E !important;
	font: 500 12px "Manrope", sans-serif !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.str-offer__skip:hover, .str-offer__skip:focus-visible { color: #ECE5D5 !important; outline: 0; }
.str-offer__add.is-armed { background: #E2BC48 !important; border-color: #E2BC48 !important; color: #0C0B09 !important; }
.str-offer__pay { margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #988F7E; }
.str-offer__checkout {
	display: block;
	margin: 16px -18px -18px;
	padding: 12px 18px;
	border-top: 1px solid #2B2721;
	color: #C9A227 !important;
	font: 600 12px "Manrope", sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none !important;
}
.str-offer__checkout:hover { color: #ECE5D5 !important; }

/* ---------- Popup ---------- */
.str-offer-pop { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 16px; }
.str-offer-pop[hidden] { display: none; }
.str-offer-pop__bg { position: absolute; inset: 0; background: rgba(6, 5, 3, .72); opacity: 0; transition: opacity .3s; }
.str-offer-pop__win { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
.str-offer-pop.is-open .str-offer-pop__bg, .str-offer-pop.is-open .str-offer-pop__win { opacity: 1; transform: none; }
.str-offer-pop .str-offer { padding: 26px 22px 22px; border-color: #C9A227; background: #0C0B09; }
.str-offer-pop .str-offer__img { width: 140px; }
.str-offer__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #988F7E !important;
	font-size: 26px !important;
	line-height: 1 !important;
	cursor: pointer;
}
.str-offer__close:hover { color: #ECE5D5 !important; }

/* ---------- Bag deals bar: "Add 1 more tee and get 30% off" ---------- */
.str-deals-bar {
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid #4A4136;
	background: #120F06;
	color: #ECE5D5;
	font: 500 13px/1.45 "Manrope", sans-serif;
}
.str-deals-bar--product { margin: 18px 0 0; }
.str-deals-bar__text { margin: 0; }
.str-deals-bar__text strong { color: #C9A227; font-weight: 600; }
.str-deals-bar .woocommerce-Price-amount { color: #C9A227; font-weight: 600; }
.str-deals-bar__track { height: 4px; margin-top: 10px; background: #2B2721; overflow: hidden; }
.str-deals-bar__track span { display: block; height: 100%; background: linear-gradient(90deg, #9C7A14, #E2BC48); transition: width .5s ease; }
.str-deals-bar.is-maxed { border-color: #C9A227; }

/* Pop-up note after adding to the bag */
.str-deals-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 99995;
	width: min(440px, calc(100vw - 32px));
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s, transform .3s;
}
.str-deals-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.str-deals-toast .str-deals-bar { position: relative; margin: 0; padding-right: 40px; border-color: #C9A227; background: #0C0B09; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.str-deals-toast__x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; padding: 0 !important; border: 0 !important; background: none !important; color: #988F7E !important; font-size: 22px !important; line-height: 1 !important; cursor: pointer; }
.str-deals-toast__x:hover { color: #ECE5D5 !important; }
@media (prefers-reduced-motion: reduce) { .str-deals-toast, .str-deals-bar__track span { transition: none; } }

/* ---------- Product page offer + Buy now ---------- */
.str-offers--product { margin: 20px 0 0; }
.str-buy-now {
	margin-left: 8px !important;
	border: 1px solid #C9A227 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #C9A227 !important;
}
.str-buy-now:hover { background: #C9A227 !important; color: #0C0B09 !important; }

/* ---------- Elementor designs: the template draws the box ---------- */
.str-offer--design { padding: 0; border: 0; background: none; }
.str-offer-pop .str-offer--design { padding: 0; border: 0; background: none; }
.str-offer--design .str-offer__img--design { width: 100%; }
.str-offer--design .str-offer__lead { margin: 0; }
.str-offer--design > .str-offer__msg { margin: 8px 0 0; }
.str-offer--design .str-offer__close { z-index: 2; }

/* ---------- Link / preview page ---------- */
.str-landing { padding: 60px 16px 80px; background: #0C0B09; }
.str-landing__in { max-width: 560px; margin: 0 auto; }
.str-landing__note { margin: 0 0 12px; color: #988F7E; font: 500 12px "Manrope", sans-serif; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 480px) {
	.str-offer { padding: 14px; }
	.str-offer__img { width: 72px; }
	.str-offer--bump .str-offer__body { padding-left: 0; }
	.str-offers--thankyou .str-offer__img { width: 88px; }
	.str-offer__add { align-self: stretch; text-align: center; }
}
