/* December Specials page template
   Converted from the standalone /december-specials/ static page.
   Every rule is scoped under .ibms-dec so nothing leaks into the theme,
   and the theme's own .btn / .price / .container styles cannot reach in.
   Site header and footer now come from Elementor Theme Builder. */

.ibms-dec {
	--ibms-dec-teal: #118b87;
	--ibms-dec-aqua: #81d8d0;
	--ibms-dec-deep: #075a60;
	--ibms-dec-ink: #16383b;
	--ibms-dec-gold: #b28a50;
	--ibms-dec-muted: #677778;
	--ibms-dec-paper: #fffaf3;
	--ibms-dec-edge: #e1e9e6;
	--ibms-dec-shadow: 0 15px 42px rgba(9, 65, 65, .09);
	--ibms-dec-heading-font: "Playfair", "Playfair Display", Georgia, serif;
	--ibms-dec-body-font: "Barlow", Arial, sans-serif;

	font-family: var(--ibms-dec-body-font);
	color: #183638;
	background: #fff;
	font-size: 16px;
	line-height: 1.55;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Hello Elementor constrains .site-main to the kit's 1140px content width
   with auto side margins, which leaves white gutters either side of the
   full-bleed sections. That rule is a single class, so this one needs the
   extra specificity to win. Width is handled by .ibms-dec__container. */
main.ibms-dec.site-main {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.ibms-dec *,
.ibms-dec *::before,
.ibms-dec *::after {
	box-sizing: border-box;
}

.ibms-dec a {
	text-decoration: none;
	color: inherit;
}

.ibms-dec button {
	font: inherit;
	cursor: pointer;
}

.ibms-dec img {
	max-width: 100%;
	display: block;
}

/* 1140px matches the Elementor kit content width, so the page's text
   columns line up with the site header and footer above and below. */
.ibms-dec__container {
	width: min(1140px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Buttons ---------- */
.ibms-dec .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: uppercase;
	transition: .2s;
}

.ibms-dec .btn-primary {
	background: #087a77;
	color: #fff;
}

.ibms-dec .btn-primary:hover {
	background: #055e5b;
	color: #fff;
	transform: translateY(-2px);
}

.ibms-dec .btn-outline {
	border-color: #177f7a;
	color: #126f6b;
	background: transparent;
}

.ibms-dec .btn-outline:hover {
	background: #e2f7f3;
	color: #126f6b;
}

/* ---------- Hero ---------- */
.ibms-dec .hero {
	background: linear-gradient(112deg, #e8f8f5 0%, #fffaf3 52%, #f0f6ee 100%);
	overflow: hidden;
	position: relative;
}

.ibms-dec .hero::before,
.ibms-dec .hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(3px);
	pointer-events: none;
}

.ibms-dec .hero::before {
	height: 450px;
	width: 450px;
	background: rgba(129, 216, 208, .24);
	right: -150px;
	top: -190px;
}

.ibms-dec .hero::after {
	height: 340px;
	width: 340px;
	background: rgba(190, 148, 76, .10);
	left: -150px;
	bottom: -200px;
}

.ibms-dec .hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 36px;
	padding: 72px 0 76px;
}

.ibms-dec .overline {
	text-transform: uppercase;
	letter-spacing: .27em;
	font-size: 12px;
	font-weight: 700;
	color: var(--ibms-dec-deep);
}

.ibms-dec .hero h1 {
	font: 500 clamp(44px, 5.6vw, 76px)/1.08 var(--ibms-dec-heading-font);
	letter-spacing: -.025em;
	margin: 12px 0 14px;
	color: #173b3c;
	padding: 0;
}

.ibms-dec .hero h1 i {
	color: #0b938c;
	font-weight: 400;
}

.ibms-dec .hero p {
	color: #546a6b;
	font-size: 18px;
	max-width: 560px;
	margin: 0 0 24px;
}

.ibms-dec .date-tag {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	border: 1px solid #b7d7d0;
	background: #ffffffb8;
	color: #285c58;
	border-radius: 3px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
}

.ibms-dec .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
	margin-top: 27px;
}

.ibms-dec .hero-image {
	padding: 10px;
	border: 1px solid #d3e8e3;
	background: #fff;
	box-shadow: var(--ibms-dec-shadow);
	transform: rotate(1deg);
	max-width: 440px;
	justify-self: end;
}

.ibms-dec .hero-image img {
	width: 100%;
	height: 390px;
	object-fit: cover;
}

.ibms-dec .hero-image-caption {
	text-align: center;
	color: #7e6560;
	background: #fff;
	font-size: 12px;
	padding: 12px 5px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ---------- Password gate ---------- */
.ibms-dec--locked {
	background: linear-gradient(112deg, #e8f8f5 0%, #fffaf3 52%, #f0f6ee 100%);
}

.ibms-dec__lock {
	max-width: 560px;
	margin: 0 auto;
	padding: 86px 0 96px;
	text-align: center;
}

.ibms-dec__lock h1 {
	font: 500 clamp(34px, 4.4vw, 52px)/1.12 var(--ibms-dec-heading-font);
	color: #173b3c;
	margin: 12px 0 14px;
	padding: 0;
}

.ibms-dec__lock p {
	color: #546a6b;
	margin: 0 0 26px;
}

.ibms-dec__lock form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	align-items: center;
}

.ibms-dec__lock form > p {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.ibms-dec__lock label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #42605f;
}

.ibms-dec__lock input[type="password"] {
	min-height: 44px;
	min-width: 230px;
	padding: 10px 14px;
	border: 1px solid #b7d7d0;
	border-radius: 3px;
	background: #fff;
	font: inherit;
	color: #183638;
}

.ibms-dec__lock input[type="password"]:focus {
	outline: 2px solid #0a827e;
	outline-offset: 1px;
}

.ibms-dec__lock input[type="submit"] {
	min-height: 44px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: #087a77;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}

.ibms-dec__lock input[type="submit"]:hover {
	background: #055e5b;
}

/* ---------- Intro + section headings ---------- */
.ibms-dec .intro {
	text-align: center;
	padding: 66px 0 24px;
}

.ibms-dec .intro h2,
.ibms-dec .section-head h2 {
	font: 500 clamp(29px, 3.4vw, 42px)/1.22 var(--ibms-dec-heading-font);
	color: #173b3c;
	margin: 7px 0;
	padding: 0;
}

.ibms-dec .intro p {
	max-width: 680px;
	margin: 9px auto;
	color: #677879;
}

.ibms-dec .fine-line {
	width: 62px;
	height: 2px;
	background: #b49b6b;
	margin: 17px auto;
}

.ibms-dec .section {
	padding: 34px 0 68px;
}

.ibms-dec .section-soft {
	background: #f8fbfa;
}

.ibms-dec .section-head {
	text-align: center;
	margin-bottom: 32px;
}

.ibms-dec .section-head p {
	color: var(--ibms-dec-muted);
	max-width: 650px;
	margin: 9px auto;
}

.ibms-dec .eyebrow {
	font-size: 12px;
	font-weight: 700;
	color: var(--ibms-dec-teal);
	text-transform: uppercase;
	letter-spacing: .22em;
}

/* ---------- Lip filler feature ---------- */
.ibms-dec .lip-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--ibms-dec-shadow);
	border: 1px solid #e2e7e0;
}

.ibms-dec .lip-feature > img {
	width: 100%;
	object-fit: cover;
}

.ibms-dec .feature-copy {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: clamp(26px, 4vw, 55px);
}

.ibms-dec .feature-copy h3 {
	font: 500 38px/1.2 var(--ibms-dec-heading-font);
	color: var(--ibms-dec-ink);
	margin: 14px 0;
	padding: 0;
}

.ibms-dec .feature-copy h4 {
	font-size: 20px;
	margin: 4px 0;
	padding: 0;
	color: #224b4a;
	font-weight: 600;
}

.ibms-dec .deal-label {
	background: #e5f4ef;
	border: 1px solid #bfdfd3;
	color: #0b7771;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	align-self: start;
	padding: 5px 12px;
}

.ibms-dec .big-discount {
	font: 600 51px/1.1 var(--ibms-dec-heading-font);
	color: #0a827e;
	margin: 9px 0;
}

.ibms-dec .feature-copy p {
	color: #657777;
}

.ibms-dec .details {
	color: #557170;
	font-size: 13px;
	margin: 14px 0 21px;
}

.ibms-dec .details strong {
	color: #314d4e;
}

/* ---------- PRX packages ---------- */
.ibms-dec .prx-banner {
	position: relative;
	border: 1px solid #e5e5d8;
	background: #fff;
	margin: 0 auto 34px;
	max-width: 560px;
	box-shadow: 0 10px 30px rgba(15, 73, 65, .05);
}

.ibms-dec .prx-banner img {
	width: 100%;
	height: auto;
	display: block;
	background: #fffaf5;
}

.ibms-dec .offer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.ibms-dec .offer-card {
	background: #fff;
	border: 1px solid var(--ibms-dec-edge);
	box-shadow: var(--ibms-dec-shadow);
	border-radius: 5px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* object-position keeps the crop between the two text blocks in the
   source image, so neither the wordmark nor the logo is sliced. */
.ibms-dec .offer-card .art {
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center 55%;
	background: #eef3f4;
}

.ibms-dec .offer-card .body {
	padding: 25px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ibms-dec .pill {
	align-self: flex-start;
	background: #e9f6f3;
	color: #087b76;
	letter-spacing: .1em;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 20px;
	padding: 5px 10px;
}

.ibms-dec .offer-card h3 {
	font: 500 27px/1.2 var(--ibms-dec-heading-font);
	color: var(--ibms-dec-ink);
	margin: 15px 0 10px;
	padding: 0;
}

.ibms-dec .offer-card p {
	color: #657574;
	font-size: 15px;
	margin: 0 0 11px;
}

.ibms-dec .benefits {
	padding: 0;
	margin: 6px 0 16px;
	list-style: none;
	color: #506b68;
	font-size: 14px;
}

.ibms-dec .benefits li {
	padding: 5px 0 5px 21px;
	position: relative;
	margin: 0;
}

.ibms-dec .benefits li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #0d8a83;
	font-weight: bold;
}

.ibms-dec .price-line {
	border-top: 1px solid #e0eae5;
	padding-top: 14px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

/* Only inside an offer card does the price sink to the bottom, so that the
   three cards line their prices up however long the copy above runs. The lip
   and spotlight cards are centred columns, where margin-top:auto would push
   everything after the price down instead. */
.ibms-dec .offer-card .price-line {
	margin-top: auto;
}

.ibms-dec .price-line .price {
	font-size: 30px;
	font-weight: 700;
	color: #087d79;
}

.ibms-dec .note {
	font-size: 12px;
	color: #75827e;
}

.ibms-dec .card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 17px;
}

.ibms-dec .card-actions .btn {
	flex: 1;
	min-width: 122px;
}

/* Shown only to logged-in editors, next to a Buy Now whose product is not
   yet purchasable (private, draft, or missing a price). Visitors never see it. */
.ibms-dec .ibms-dec-editor-note {
	flex: 1 0 100%;
	margin-top: 9px;
	padding: 8px 10px;
	border: 1px dashed #c8a24a;
	border-radius: 3px;
	background: #fdf7e8;
	color: #7a5c16;
	font-size: 12px;
	line-height: 1.45;
}

.ibms-dec .footnote {
	font-size: 12px;
	color: #697878;
	margin-top: 18px;
	text-align: center;
}

/* ---------- Monthly product spotlights ---------- */
.ibms-dec .product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ibms-dec .product-box {
	background: #fff;
	border: 1px solid #e1e9e3;
	border-radius: 5px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 43% 57%;
	box-shadow: var(--ibms-dec-shadow);
}

.ibms-dec .product-media {
	background: linear-gradient(145deg, #e9f9f6, #f7eee5);
	display: grid;
	place-items: center;
	min-height: 310px;
	padding: 15px;
}

/* contain, not cover: a product photo must not be cropped. Without a height
   cap a portrait bottle shot fills the panel; the wide skin-care-line photo
   standing in for the serum is limited by its width instead. */
.ibms-dec .product-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ibms-dec .product-placeholder {
	width: 100%;
	height: 100%;
	min-height: 285px;
	border: 1px dashed #99bdb7;
	border-radius: 3px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	padding: 25px;
	color: #3a7a75;
}

.ibms-dec .product-placeholder .placeholder-shape {
	width: 100px;
	height: 148px;
	border-radius: 12px 12px 24px 24px;
	background: linear-gradient(145deg, #fefefe, #aacdc8);
	box-shadow: 14px 14px 24px #156d6422;
	display: grid;
	place-items: center;
	font: 500 23px var(--ibms-dec-heading-font);
}

.ibms-dec .product-placeholder .placeholder-shape.vial {
	height: 124px;
	width: 68px;
	border-radius: 14px 14px 12px 12px;
	border-top: 16px solid #a0b5b7;
}

.ibms-dec .product-placeholder span {
	font-size: 11px;
	max-width: 180px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #5c8c88;
	font-weight: 600;
}

.ibms-dec .product-content {
	padding: 28px 25px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ibms-dec .product-content h3 {
	font: 500 25px/1.2 var(--ibms-dec-heading-font);
	margin: 12px 0;
	padding: 0;
	color: var(--ibms-dec-ink);
}

.ibms-dec .product-content p {
	color: #697978;
	font-size: 14px;
}

.ibms-dec .product-content strong {
	color: #0c817b;
}

.ibms-dec .product-content .btn {
	margin-top: auto;
}

/* ---------- Closing band ---------- */
.ibms-dec .info-band {
	background: #0b6664;
	color: #fff;
	text-align: center;
	padding: 42px 20px;
}

.ibms-dec .info-band h2 {
	font: 400 32px var(--ibms-dec-heading-font);
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
}

.ibms-dec .info-band p {
	max-width: 700px;
	margin: 0 auto 17px;
	color: #def6f1;
}

.ibms-dec .info-band .btn {
	background: #fff;
	color: #086e68;
}

.ibms-dec .info-band .btn:hover {
	background: #e2f7f3;
	color: #086e68;
}

/* ---------- Preview modal (used until every Buy URL is filled in) ---------- */
.ibms-dec-modal {
	position: fixed;
	inset: 0;
	background: #071c1eb8;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: "Barlow", Arial, sans-serif;
}

.ibms-dec-modal.is-open {
	display: flex;
}

.ibms-dec-modal__panel {
	position: relative;
	background: #fff;
	max-width: 460px;
	width: 100%;
	padding: 38px 30px;
	border-radius: 7px;
	box-shadow: 0 28px 100px #0005;
	box-sizing: border-box;
}

.ibms-dec-modal__panel h3 {
	font: 500 30px "Playfair", "Playfair Display", Georgia, serif;
	color: #16383b;
	margin: 0 0 12px;
	padding: 0;
}

.ibms-dec-modal__panel p {
	color: #596d6c;
	margin: 0 0 18px;
}

.ibms-dec-modal__panel .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: uppercase;
	background: #087a77;
	color: #fff;
}

.ibms-dec-modal__close {
	position: absolute;
	right: 12px;
	top: 9px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #456;
	cursor: pointer;
}

/* ---------- Package detail lines, prices and terms ----------
   Added 27 November 2026 with the client's confirmed PRX copy and pricing.
   The tagline / actives / keywords trio appears in both the PRX cards and the
   spotlight cards, so each rule names both parents: the bare element rules
   (.offer-card p, .product-content p) are two-class selectors and would
   otherwise win on colour and margin. */
.ibms-dec .offer-card .tagline,
.ibms-dec .product-content .tagline {
	font: italic 400 18px/1.35 var(--ibms-dec-heading-font);
	color: #0b6664;
	margin: 0 0 10px;
}

.ibms-dec .offer-card .actives,
.ibms-dec .product-content .actives {
	font-size: 13px;
	font-weight: 600;
	color: #0d8a83;
	margin: 0 0 6px;
}

.ibms-dec .offer-card .keywords,
.ibms-dec .product-content .keywords {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6b8b88;
	margin: 0 0 12px;
}

/* Regular price, struck through beside the December price. */
.ibms-dec .price-line .was {
	font-size: 18px;
	color: #90a09d;
	text-decoration: line-through;
}

.ibms-dec .offer-card .save {
	font-size: 12.5px;
	line-height: 1.5;
	color: #0b6b5f;
	background: #effaf6;
	border: 1px solid #cfe9e0;
	border-radius: 3px;
	padding: 8px 10px;
	margin: 11px 0 0;
}

/* The peptide card now carries two buttons, so it uses .card-actions like the
   PRX cards. .product-content .btn pushes a lone button to the bottom; inside
   the row that job belongs to the row itself. */
.ibms-dec .product-content .card-actions {
	margin-top: auto;
	width: 100%;
}

/* A spotlight card is about half the width of the grid, too narrow for the
   two peptide buttons side by side, so they stack instead of being squeezed
   to three lines of text each. */
.ibms-dec .product-content .card-actions .btn {
	margin-top: 0;
	flex: 1 1 100%;
}

/* ---------- Which PRX is right for you ---------- */
.ibms-dec .prx-chooser {
	margin-top: 34px;
	padding: 30px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid #dfeae6;
}

.ibms-dec .prx-chooser h3 {
	font: 400 28px/1.25 var(--ibms-dec-heading-font);
	color: var(--ibms-dec-ink);
	margin: 0 0 9px;
	padding: 0;
}

.ibms-dec .prx-chooser p {
	color: #657777;
	font-size: 15px;
	max-width: 580px;
	margin: 0 auto 19px;
}

/* ---------- Promotional terms ---------- */
.ibms-dec .section-terms {
	padding-top: 0;
}

.ibms-dec .terms-box {
	border: 1px solid #dfe7e3;
	background: #fbfcfb;
	padding: clamp(22px, 3vw, 34px);
}

.ibms-dec .terms-box h2 {
	font: 400 26px/1.25 var(--ibms-dec-heading-font);
	color: var(--ibms-dec-ink);
	margin: 0 0 14px;
	padding: 0;
	text-align: left;
}

.ibms-dec .terms-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 36px;
}

.ibms-dec .terms-box li {
	position: relative;
	margin: 0;
	padding: 5px 0 5px 18px;
	font-size: 13.5px;
	line-height: 1.55;
	color: #55706e;
	break-inside: avoid;
}

.ibms-dec .terms-box li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	color: #0d8a83;
	font-weight: bold;
}

.ibms-dec .terms-box .note {
	display: block;
	margin: 16px 0 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
	.ibms-dec .hero-inner {
		grid-template-columns: 1fr;
		padding: 54px 0;
	}

	.ibms-dec .hero-image {
		justify-self: center;
		max-width: 540px;
		transform: none;
	}

	.ibms-dec .offer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ibms-dec .lip-feature {
		grid-template-columns: 1fr;
	}

	.ibms-dec .lip-feature > img {
		height: auto;
		max-height: 570px;
		object-fit: contain;
		background: #f7fbfa;
	}

	.ibms-dec .product-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 570px) {
	.ibms-dec__container {
		width: calc(100% - 28px);
	}

	.ibms-dec .terms-box ul {
		columns: 1;
	}

	.ibms-dec .hero h1 {
		font-size: 45px;
	}

	.ibms-dec .hero p {
		font-size: 16px;
	}

	.ibms-dec .hero-image img {
		height: 280px;
	}

	.ibms-dec .intro {
		padding-top: 45px;
	}

	.ibms-dec .section {
		padding: 30px 0 45px;
	}

	.ibms-dec .offer-grid {
		grid-template-columns: 1fr;
	}

	.ibms-dec .feature-copy {
		padding: 27px 22px;
	}

	.ibms-dec .feature-copy h3 {
		font-size: 32px;
	}

	.ibms-dec .big-discount {
		font-size: 44px;
	}

	.ibms-dec .product-box {
		grid-template-columns: 1fr;
	}

	.ibms-dec .product-media {
		min-height: 250px;
	}

	.ibms-dec .product-content {
		padding: 24px;
	}
}

/* ---------- Cart confirmation ----------
   Shown only after Buy Now puts something in the cart. Buy Now reloads this
   page, and without this the reload looked like nothing had happened.
   WooCommerce's own notice markup is printed inside .ibms-dec__cart-alert-text,
   so these rules have to style whatever Woo emits rather than known markup. */
.ibms-dec__cart-alert {
	background: #0b6664;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
	padding: 16px 0;
}

.ibms-dec__cart-alert-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.ibms-dec__cart-alert-text {
	flex: 1 1 320px;
	min-width: 0;
}

/* Woo wraps notices in <ul class="woocommerce-message"> or a bare div, and
   ships its own green background and tick. Both are reset here so the notice
   inherits this band instead of drawing a second box inside it. */
.ibms-dec__cart-alert-text .woocommerce-message,
.ibms-dec__cart-alert-text .woocommerce-info,
.ibms-dec__cart-alert-text .woocommerce-error,
.ibms-dec__cart-alert-text ul,
.ibms-dec__cart-alert-text li,
.ibms-dec__cart-alert-text p {
	background: none;
	border: 0;
	color: #fff;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.5;
}

.ibms-dec__cart-alert-text .woocommerce-message::before,
.ibms-dec__cart-alert-text .woocommerce-info::before,
.ibms-dec__cart-alert-text .woocommerce-error::before {
	content: none;
}

/* Woo puts its own "View cart" button inside the notice. This page offers
   both cart and checkout beside it, so the duplicate is hidden rather than
   removed - removing it would mean filtering Woo's notice markup. */
.ibms-dec__cart-alert-text .button,
.ibms-dec__cart-alert-text .wc-forward {
	display: none;
}

.ibms-dec__cart-alert-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ibms-dec__cart-alert .btn-primary {
	background: #fff;
	color: #0b6664;
	border-color: #fff;
}

.ibms-dec__cart-alert .btn-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, .6);
	color: #fff;
}

@media (max-width: 570px) {
	.ibms-dec__cart-alert-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	/* The row layout gives this a flex-basis of 320px. Once the container
	   becomes a column that basis applies to HEIGHT, which left a 320px band
	   of empty teal between the message and the buttons. */
	.ibms-dec__cart-alert-text {
		flex: 0 0 auto;
	}

	.ibms-dec__cart-alert-actions .btn {
		flex: 1 1 auto;
	}
}

/* The peptide card holds an information graphic with body copy on it, which
   is unreadable at the ~210px the media column gives it. Wrapping it in a
   link lets a patient open it full size; the anchor has to take over the
   sizing the image had, or it collapses inside the grid. */
.ibms-dec .product-media-zoom {
	display: grid;
	place-items: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	text-decoration: none;
	grid-template-rows: 1fr auto;
}

.ibms-dec .product-media-zoom img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ibms-dec .product-media-zoom-hint {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #0b6664;
	text-decoration: underline;
}

.ibms-dec .product-media-zoom:hover .product-media-zoom-hint,
.ibms-dec .product-media-zoom:focus-visible .product-media-zoom-hint {
	color: #073f3e;
}
