/* IH Premium Store for Easy Digital Downloads
   Colours, radius, columns and image ratio are set from the plugin settings (see :root added inline). */

:root {
	--ihps-ink: #15211e;
	--ihps-muted: #66726e;
	--ihps-line: #e1e5e0;
	--ihps-card: #ffffff;
	--ihps-focus: #1a73e8;
	--ihps-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

.screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ihps-lock { overflow: hidden; }

.ihps-icon { display: block; }

:where(.ihps-wrap, .ihps-drawer, .ihps-sticky, .ihps-toast) :focus-visible,
.ihps-premium :where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--ihps-focus);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Wrapper and two-column shell (sidebar + products)                   */
/* ------------------------------------------------------------------ */

.ihps-wrap {
	max-width: 1360px;
	margin: 0 auto;
	padding: 8px 20px 48px;
	color: var(--ihps-ink);
	box-sizing: border-box;
}
.ihps-wrap *, .ihps-wrap *::before, .ihps-wrap *::after { box-sizing: border-box; }
.ihps-wrap a { text-decoration: none; }

.ihps-wrap__title {
	margin: 0 0 18px;
	font-family: var(--ihps-serif);
	font-weight: 600;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.ihps-shell { display: block; }
.ihps-layout--side .ihps-shell {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.ihps-main { min-width: 0; }

/* Left category list: stays in view while the products scroll. */
.ihps-side {
	position: sticky;
	top: var(--ihps-side-top, 24px);
	max-height: calc(100vh - var(--ihps-side-top, 24px) - 24px);
	overflow-y: auto;
	padding: 4px 6px 4px 0;
	scrollbar-width: thin;
}
body.admin-bar .ihps-side { top: calc(var(--ihps-side-top, 24px) + 32px); }

.ihps-side__title {
	margin: 0 0 10px;
	padding: 0 12px;
	font-family: var(--ihps-serif);
	font-size: 1.2rem;
	font-weight: 600;
}
.ihps-side__list, .ihps-side__sub { list-style: none; margin: 0; padding: 0; }
.ihps-side__item { margin: 0; padding: 0; }
.ihps-side__item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	color: var(--ihps-ink);
	font-size: 15px;
	line-height: 1.35;
	transition: background-color .15s;
}
.ihps-side__item > a:hover { background: color-mix(in srgb, var(--ihps-accent) 8%, transparent); }
.ihps-side__item.is-active > a {
	background: color-mix(in srgb, var(--ihps-accent) 12%, transparent);
	color: var(--ihps-accent);
	font-weight: 700;
}
.ihps-side__count { flex: none; font-size: 13px; font-weight: 400; color: var(--ihps-muted); }
.ihps-side__sub {
	margin: 2px 0 6px 14px;
	padding-inline-start: 8px;
	border-inline-start: 2px solid var(--ihps-line);
}
.ihps-side__sub .ihps-side__item > a { padding: 7px 10px; font-size: 14px; }

@media (max-width: 900px) {
	.ihps-layout--side .ihps-shell { display: block; }
	.ihps-side { position: static; max-height: none; overflow: visible; padding: 0 0 6px; }
	.ihps-side__title { display: none; }
	/* On phones the category list becomes one swipeable row of pills. */
	.ihps-side__list, .ihps-side__sub {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
		margin: 0;
		padding: 2px 0 14px;
		border: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ihps-side__list::-webkit-scrollbar { display: none; }
	.ihps-side__sub { display: contents; }
	.ihps-side__item { display: contents; }
	.ihps-side__item > a,
	.ihps-side__sub .ihps-side__item > a {
		flex: 0 0 auto;
		padding: 8px 16px;
		border: 1px solid var(--ihps-line);
		border-radius: 999px;
		background: var(--ihps-card);
		font-size: 14px;
		white-space: nowrap;
	}
	.ihps-side__item.is-active > a { border-color: var(--ihps-accent); background: var(--ihps-accent); color: #fff; }
	.ihps-side__count { display: none; }
}

/* ------------------------------------------------------------------ */
/* Chips (layout="chips")                                              */
/* ------------------------------------------------------------------ */

.ihps-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.ihps-chips::-webkit-scrollbar { display: none; }
.ihps-chip {
	flex: 0 0 auto;
	padding: 8px 16px;
	border: 1px solid var(--ihps-line);
	border-radius: 999px;
	background: var(--ihps-card);
	color: var(--ihps-ink);
	font-size: 14px;
	line-height: 1.2;
	transition: border-color .15s;
}
.ihps-chip:hover { border-color: var(--ihps-accent); }
.ihps-chip.is-active { background: var(--ihps-accent); border-color: var(--ihps-accent); color: #fff; }

/* ------------------------------------------------------------------ */
/* Search and sort row                                                 */
/* Theme-proof: many themes force inputs to 100% width and fixed       */
/* heights, so the important flags here are intentional.               */
/* ------------------------------------------------------------------ */

.ihps-wrap .ihps-tools {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
}
.ihps-wrap .ihps-tools .ihps-tools__search {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 1.5px solid var(--ihps-ink) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--ihps-ink);
	font-size: 15px !important;
	line-height: normal !important;
}
.ihps-wrap .ihps-tools .ihps-tools__search:focus { border-color: var(--ihps-accent) !important; outline: 2px solid color-mix(in srgb, var(--ihps-accent) 30%, transparent); outline-offset: 1px; }
.ihps-wrap .ihps-tools .ihps-tools__sort {
	flex: 0 0 auto;
	width: auto !important;
	min-width: 168px;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 40px 0 18px !important;
	border: 1.5px solid var(--ihps-line) !important;
	border-radius: 999px !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%2315211e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
	color: var(--ihps-ink);
	font-size: 15px !important;
	line-height: normal !important;
}
.ihps-wrap .ihps-tools .ihps-tools__go {
	flex: 0 0 auto;
	width: auto !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ihps-accent) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1 !important;
	cursor: pointer;
}
.ihps-wrap .ihps-tools .ihps-tools__go:hover { filter: brightness(1.12); }

@media (max-width: 639px) {
	.ihps-wrap .ihps-tools { flex-wrap: wrap; }
	.ihps-wrap .ihps-tools .ihps-tools__search { flex: 1 1 100%; }
	.ihps-wrap .ihps-tools .ihps-tools__sort { flex: 1 1 auto; min-width: 0; }
}

/* ------------------------------------------------------------------ */
/* Grid                                                                */
/* ------------------------------------------------------------------ */

.ihps-grid {
	display: grid;
	grid-template-columns: repeat(var(--ihps-cols, 4), minmax(0, 1fr));
	gap: 32px 20px;
}
@media (max-width: 1100px) { .ihps-grid { grid-template-columns: repeat(min(var(--ihps-cols, 4), 3), minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 639px)  { .ihps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }

.ihps-empty { padding: 48px 16px; text-align: center; color: var(--ihps-muted); }

.ihps-pager { margin-top: 40px; text-align: center; }
.ihps-pager .ihps-pg {
	display: inline-block;
	min-width: 42px;
	margin: 0 2px;
	padding: 10px 14px;
	border: 1px solid var(--ihps-line);
	border-radius: 999px;
	background: var(--ihps-card);
	color: var(--ihps-ink);
	line-height: 1;
	position: relative;
	z-index: 1;
}
.ihps-pager a.ihps-pg:hover { border-color: var(--ihps-accent); }
.ihps-pager .ihps-pg.is-current { background: var(--ihps-accent); border-color: var(--ihps-accent); color: #fff; }

/* ------------------------------------------------------------------ */
/* Product card: image tile with the text underneath, no box           */
/* ------------------------------------------------------------------ */

.ihps-card { display: flex; flex-direction: column; min-width: 0; background: transparent; }

.ihps-card__media { position: relative; border-radius: var(--ihps-radius); overflow: hidden; background: #e9ece7; }

/* Image frame. The picture is a CSS background set inline on the link, so no
   theme or plugin <img> rule (lazy-load, width/height, stacking) can touch it. */
.ihps-card__media .ihps-card__img {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	aspect-ratio: var(--ihps-ratio, 1 / 1) !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: #e9ece7;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
/* Hover swap: the second picture is only requested when the card is hovered. */
.ihps-card__media .ihps-card__img::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .25s;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}
@media (hover: hover) {
	.ihps-card:hover .ihps-card__img::after { background-image: var(--ihps-alt, none); opacity: 1; }
}

.ihps-badges {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 64px);
	z-index: 2;
	pointer-events: none;
}
.ihps-badge {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: var(--ihps-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}
.ihps-badge--sale { background: var(--ihps-accent-2); color: #1b1405; }
.ihps-badge--best { background: var(--ihps-accent); color: #fff; }

/* Heart: appears on hover on computers, always visible on touch screens. */
.ihps-heart {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-end: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .96);
	color: var(--ihps-ink);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: transform .15s, color .15s, opacity .15s;
}
@media (hover: hover) {
	.ihps-heart { opacity: 0; }
	.ihps-card:hover .ihps-heart,
	.ihps-heart:focus-visible,
	.ihps-heart.is-on { opacity: 1; }
}
.ihps-heart:hover { transform: scale(1.08); }
.ihps-heart.is-on { color: #c2334d; }
.ihps-heart.is-on .ihps-icon path { fill: currentColor; }

.ihps-card__body { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 12px 2px 0; }

.ihps-wrap .ihps-card__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}
.ihps-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--ihps-ink);
}
.ihps-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ihps-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ihps-muted); }
.ihps-rating .star-rating { margin: 0; float: none; font-size: 13px; color: var(--ihps-accent-2); }
.ihps-card__proof { font-size: 13px; color: var(--ihps-muted); }

.ihps-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: auto;
	padding-top: 6px;
}
.ihps-price { font-size: 1.05rem; font-weight: 700; color: var(--ihps-ink); }
.ihps-price del { margin-inline-end: 4px; color: var(--ihps-muted); font-size: .85em; font-weight: 400; }
.ihps-price ins { background: transparent; color: var(--ihps-accent); text-decoration: none; }

.ihps-add {
	display: inline-block;
	margin: 0;
	padding: 8px 16px;
	border: 1.5px solid var(--ihps-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--ihps-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.ihps-add:hover { background: var(--ihps-accent); color: #fff; }
.ihps-add.is-loading { opacity: .6; pointer-events: none; }
.ihps-add.is-added { background: var(--ihps-accent); color: #fff; }
.ihps-add--view { border-color: var(--ihps-line); color: var(--ihps-ink); }
.ihps-add--view:hover { background: var(--ihps-ink); border-color: var(--ihps-ink); color: #fff; }

@media (max-width: 639px) {
	.ihps-card__title { font-size: 14px; }
	.ihps-card__foot { flex-direction: column; align-items: stretch; }
	.ihps-add { width: 100%; }
}

/* ------------------------------------------------------------------ */
/* [ih_categories] picture tiles                                       */
/* ------------------------------------------------------------------ */

.ihps-tiles { display: grid; grid-template-columns: repeat(var(--ihps-tcols, 5), minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .ihps-tiles { grid-template-columns: repeat(min(var(--ihps-tcols, 5), 3), minmax(0, 1fr)); } }
@media (max-width: 639px)  { .ihps-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.ihps-tile { position: relative; display: block; border-radius: var(--ihps-radius); overflow: hidden; background: #e9ece7; }
.ihps-tile__img { display: block; aspect-ratio: 4 / 5; background-color: #e9ece7; background-position: center; background-repeat: no-repeat; background-size: cover; }
.ihps-tile__label {
	position: absolute;
	inset-inline: 12px;
	inset-block-end: 12px;
	display: block;
	width: fit-content;
	max-width: calc(100% - 24px);
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--ihps-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
}
.ihps-tile:hover .ihps-tile__label { background: var(--ihps-accent); color: #fff; }

/* ------------------------------------------------------------------ */
/* Toast                                                               */
/* ------------------------------------------------------------------ */

.ihps-toast {
	position: fixed;
	inset-inline: 16px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 420px;
	margin-inline: auto;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--ihps-ink);
	color: #fff;
	font-size: 15px;
	transform: translateY(24px);
	opacity: 0;
	visibility: hidden;
	transition: transform .25s, opacity .25s, visibility .25s;
}
.ihps-toast.is-visible { transform: none; opacity: 1; visibility: visible; }
.ihps-toast a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Drawer                                                              */
/* ------------------------------------------------------------------ */

.ihps-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; }
.ihps-drawer.is-open { visibility: visible; pointer-events: auto; }

.ihps-drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(12, 20, 18, .5);
	opacity: 0;
	transition: opacity .25s;
}
.ihps-drawer.is-open .ihps-drawer__overlay { opacity: 1; }

.ihps-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	background: #fff;
	color: var(--ihps-ink);
	transform: translateX(100%);
	transition: transform .28s ease;
}
[dir="rtl"] .ihps-drawer__panel { transform: translateX(-100%); }
.ihps-drawer.is-open .ihps-drawer__panel { transform: none; }

.ihps-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ihps-line);
}
.ihps-drawer__head h2 { margin: 0; font-family: var(--ihps-serif); font-size: 1.25rem; }
.ihps-drawer__close, .ihps-line__remove {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--ihps-ink); cursor: pointer;
}
.ihps-drawer__close:hover, .ihps-line__remove:hover { background: #eef0ec; }

.ihps-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.ihps-drawer__empty { padding: 40px 0; text-align: center; color: var(--ihps-muted); }

.ihps-lines { list-style: none; margin: 0; padding: 0; }
.ihps-line {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--ihps-line);
}
.ihps-line__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.ihps-line__name { display: block; color: var(--ihps-ink); font-weight: 600; text-decoration: none; line-height: 1.3; }
.ihps-line__meta { display: block; margin-top: 2px; font-size: 14px; color: var(--ihps-muted); }

.ihps-totals { margin-top: 16px; }
.ihps-totals__row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.ihps-totals__row--fee { color: var(--ihps-accent); }
.ihps-totals__row--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--ihps-line); font-size: 1.1rem; font-weight: 700; }

.ihps-drawer__actions { display: grid; gap: 10px; margin-top: 18px; }

.ihps-btn {
	display: block;
	padding: 14px 20px;
	border: 1.5px solid var(--ihps-accent);
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.ihps-btn--primary { background: var(--ihps-accent); color: #fff; }
.ihps-btn--primary:hover { filter: brightness(1.12); color: #fff; }
.ihps-btn--ghost { background: transparent; color: var(--ihps-accent); }
.ihps-btn--ghost:hover { background: #eef0ec; }

/* ------------------------------------------------------------------ */
/* Discount progress                                                   */
/* ------------------------------------------------------------------ */

.ihps-progress {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--ihps-line);
	border-radius: var(--ihps-radius);
	background: #fbfbf8;
}
.ihps-progress__msg { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ihps-progress__track { height: 8px; border-radius: 999px; background: #e5e8e3; overflow: hidden; }
.ihps-progress__track span { display: block; height: 100%; border-radius: inherit; background: var(--ihps-accent-2); transition: width .4s ease; }
.ihps-progress.is-unlocked .ihps-progress__track span { background: var(--ihps-accent); }
.ihps-progress.is-unlocked .ihps-progress__msg { color: var(--ihps-accent); }

/* ------------------------------------------------------------------ */
/* Trust notes, product page extras, wishlist link                     */
/* ------------------------------------------------------------------ */

.ihps-single-extras { margin-top: 18px; }
.ihps-single-proof { margin: 0 0 10px; font-size: 14px; color: var(--ihps-muted); }
.ihps-bundle-note {
	margin: 0 0 14px;
	padding: 11px 14px;
	border-inline-start: 3px solid var(--ihps-accent-2);
	background: #fbf7ec;
	border-radius: 0 var(--ihps-radius) var(--ihps-radius) 0;
	font-size: 14px;
}

.ihps-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ihps-ink); }
.ihps-trust li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ihps-trust .ihps-icon { flex: none; color: var(--ihps-accent); }
.ihps-trust a { color: inherit; text-underline-offset: 3px; }
.ihps-trust--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 14px 16px; }

.ihps-wl-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.ihps-wl-link__count { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--ihps-accent); color: #fff; font-size: 12px; text-align: center; }

/* ------------------------------------------------------------------ */
/* Sticky buy bar (phones only)                                        */
/* ------------------------------------------------------------------ */

.ihps-sticky { display: none; }

@media (max-width: 767px) {
	.ihps-sticky {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 9999;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--ihps-line);
		box-shadow: 0 -8px 24px -16px rgba(21, 33, 30, .4);
		transform: translateY(110%);
		transition: transform .25s;
	}
	.ihps-sticky[hidden] { display: none; }
	.ihps-sticky.is-visible { transform: none; }
	.ihps-sticky__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.ihps-sticky__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
	.ihps-sticky__price { font-size: 14px; color: var(--ihps-muted); }
	.ihps-sticky__btn {
		flex: none;
		padding: 12px 22px;
		border: 0;
		border-radius: 999px;
		background: var(--ihps-accent);
		color: #fff;
		font-size: 15px;
		font-weight: 700;
		cursor: pointer;
	}
	body.single-download { padding-bottom: 72px; }
}

/* ------------------------------------------------------------------ */
/* Premium skin for standard Easy Digital Downloads pages              */
/* Scoped to body.ihps-premium so it can be switched off in settings.  */
/* ------------------------------------------------------------------ */

body.ihps-premium.ihps-edd-page { background-color: var(--ihps-bg); color: var(--ihps-ink); }

.ihps-premium.single-download h1.entry-title,
.ihps-premium.post-type-archive-download h1,
.ihps-premium.tax-download_category h1,
.ihps-premium.tax-download_tag h1 {
	font-family: var(--ihps-serif);
	font-weight: 600;
	letter-spacing: -0.015em;
}

/* [downloads] shortcode and EDD Downloads block: borderless tiles like [ih_grid] */
.ihps-premium .edd_downloads_list,
.ihps-premium .edd-blocks__downloads {
	display: grid !important;
	grid-template-columns: repeat(var(--ihps-cols, 4), minmax(0, 1fr)) !important;
	gap: 32px 20px;
	margin: 0 0 32px;
	padding: 0;
}
.ihps-premium .edd_downloads_list::before,
.ihps-premium .edd_downloads_list::after { display: none; content: none; }
@media (max-width: 1100px) { .ihps-premium .edd_downloads_list, .ihps-premium .edd-blocks__downloads { grid-template-columns: repeat(min(var(--ihps-cols, 4), 3), minmax(0, 1fr)) !important; } }
@media (max-width: 639px)  { .ihps-premium .edd_downloads_list, .ihps-premium .edd-blocks__downloads { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 12px; } }

.ihps-premium .edd_downloads_list .edd_download,
.ihps-premium .edd-blocks__download {
	position: relative;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
	border: 0;
	text-align: start;
}
.ihps-premium .edd_download_inner { position: relative; display: flex; flex-direction: column; padding: 0; }
.ihps-premium .edd_download_image img,
.ihps-premium .edd-blocks__download-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 12px;
	border-radius: var(--ihps-radius);
	aspect-ratio: var(--ihps-ratio, 1 / 1);
	object-fit: cover;
}
.ihps-premium .edd_download_title,
.ihps-premium .edd-blocks__download-title { margin: 0; padding: 0 2px; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ihps-premium .edd_download_title a,
.ihps-premium .edd-blocks__download-title a { color: var(--ihps-ink); text-decoration: none; }
.ihps-premium .edd_download_excerpt { padding: 4px 2px 0; font-size: 14px; color: var(--ihps-muted); }
.ihps-premium .edd_downloads_list .edd_price,
.ihps-premium .edd-blocks__download .edd_price { display: block; padding: 4px 2px 0; font-weight: 700; color: var(--ihps-ink); }
.ihps-premium .edd_download .ihps-badges { inset-block-start: 10px; }
.ihps-premium .edd_download .edd_download_buy_button,
.ihps-premium .edd-blocks__download .edd_download_purchase_form { margin-top: 10px; }
.ihps-premium .edd_downloads_list .edd-submit,
.ihps-premium .edd-blocks__download .edd-submit {
	width: 100%;
	padding: 9px 16px !important;
	border: 1.5px solid var(--ihps-accent) !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--ihps-accent) !important;
	font-size: 14px !important;
	font-weight: 600;
	text-align: center;
}
.ihps-premium .edd_downloads_list .edd-submit:hover,
.ihps-premium .edd-blocks__download .edd-submit:hover { background: var(--ihps-accent) !important; color: #fff !important; }
.ihps-premium #edd_download_pagination,
.ihps-premium .edd_pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; }

/* Single download page */
.ihps-premium.single-download .wp-post-image,
.ihps-premium.single-download .entry-content img { border-radius: var(--ihps-radius); }
.ihps-premium.single-download .entry-content { line-height: 1.7; }
.ihps-premium .edd_download_purchase_form { margin-bottom: 14px; }
.ihps-premium .edd_download_purchase_form .edd_price_options ul { list-style: none; margin: 0 0 14px; padding: 0; }
.ihps-premium .edd_download_purchase_form .edd_price_options li {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1.5px solid var(--ihps-line);
	border-radius: 12px;
	background: var(--ihps-card);
}
.ihps-premium .edd_download_purchase_form .edd_price_options li:has(input:checked) { border-color: var(--ihps-accent); }
.ihps-premium .edd_download_purchase_form .edd_price_options .edd_price_option_price { font-weight: 700; }
.ihps-premium.single-download .edd_download_purchase_form .edd-submit,
.ihps-premium.single-download .edd_purchase_submit_wrapper .edd-submit {
	padding: 15px 34px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ihps-accent) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 700;
	box-shadow: none;
}
.ihps-premium.single-download .edd-submit:hover { filter: brightness(1.12); }
.ihps-premium .edd_purchase_submit_wrapper .edd_go_to_checkout { margin-inline-start: 8px; }

/* Notices */
.ihps-premium .edd-alert {
	border: 0;
	border-inline-start: 4px solid var(--ihps-accent);
	background: #fff;
	border-radius: var(--ihps-radius);
	color: var(--ihps-ink);
}
.ihps-premium .edd-alert-error { border-inline-start-color: #b42318; }

/* Checkout, receipt, purchase history */
.ihps-premium #edd_checkout_cart,
.ihps-premium #edd_purchase_receipt,
.ihps-premium #edd_user_history,
.ihps-premium .edd-blocks__cart,
.ihps-premium .edd-blocks-form {
	width: 100%;
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--ihps-card);
	border-radius: var(--ihps-radius);
}
.ihps-premium #edd_checkout_cart th,
.ihps-premium #edd_checkout_cart td,
.ihps-premium #edd_purchase_receipt th,
.ihps-premium #edd_purchase_receipt td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--ihps-line); background: transparent; }
.ihps-premium #edd_checkout_cart .edd_cart_header_row th { background: color-mix(in srgb, var(--ihps-accent) 6%, #fff); font-weight: 700; }
.ihps-premium #edd_checkout_cart .edd_cart_item_image img { border-radius: 8px; }
.ihps-premium #edd_checkout_cart .edd_cart_total { font-size: 1.1rem; font-weight: 700; }
.ihps-premium #edd_checkout_form_wrap fieldset,
.ihps-premium .edd-blocks-form fieldset {
	margin: 0 0 20px;
	padding: 20px;
	border: 0;
	border-radius: var(--ihps-radius);
	background: var(--ihps-card);
}
.ihps-premium #edd_checkout_form_wrap legend { font-family: var(--ihps-serif); font-size: 1.2rem; font-weight: 600; }
.ihps-premium #edd_checkout_form_wrap input.edd-input,
.ihps-premium #edd_checkout_form_wrap select.edd-select,
.ihps-premium .edd-blocks-form input[type="text"],
.ihps-premium .edd-blocks-form input[type="email"],
.ihps-premium .edd-blocks-form input[type="password"] {
	width: 100%;
	border: 1px solid var(--ihps-line);
	border-radius: 8px;
	padding: 11px 12px;
	background: #fff;
}
.ihps-premium #edd-purchase-button,
.ihps-premium .edd-blocks-form #edd-purchase-button,
.ihps-premium #edd_login_submit,
.ihps-premium #edd_register_form .edd-submit {
	padding: 16px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ihps-accent) !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 700;
}
.ihps-premium #edd-purchase-button:hover { filter: brightness(1.12); }
.ihps-premium.edd-checkout .ihps-progress { max-width: 560px; margin-inline: auto; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
	.ihps-card, .ihps-heart, .ihps-toast, .ihps-drawer__overlay, .ihps-drawer__panel,
	.ihps-sticky, .ihps-progress__track span, .ihps-card__img::after { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Store-style download page                                           */
/* ------------------------------------------------------------------ */

body.ihps-store-single { background: var(--ihps-bg); }
.ihps-store-main { max-width: 1240px; margin: 0 auto; padding: 32px 20px 64px; box-sizing: border-box; }
.ihps-store-product { color: var(--ihps-ink); }
.ihps-store-product *, .ihps-store-product *::before, .ihps-store-product *::after { box-sizing: border-box; }
.ihps-store-product__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.ihps-gallery { position: sticky; top: 24px; }
.ihps-gallery__main { position: relative; border-radius: var(--ihps-radius); overflow: hidden; background: #fff; box-shadow: 0 18px 40px -28px rgba(21, 33, 30, .45); }
.ihps-gallery__zoom { display: block; cursor: zoom-in; }
.ihps-gallery__img { display: block; width: 100%; height: auto; aspect-ratio: var(--ihps-ratio); object-fit: cover; transition: opacity .2s; }
.ihps-gallery__lens { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ihps-ink); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ihps-gallery__main .ihps-heart { top: 64px; }
.ihps-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.ihps-gallery__thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: calc(var(--ihps-radius) * .6); overflow: hidden; background: #fff; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.ihps-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihps-gallery__thumb.is-active, .ihps-gallery__thumb:hover { opacity: 1; border-color: var(--ihps-accent); }

.ihps-crumbs { font-size: 13px; color: var(--ihps-muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ihps-crumbs a { color: var(--ihps-muted); text-decoration: none; }
.ihps-crumbs a:hover { color: var(--ihps-accent); }
.ihps-buybox__cats { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ihps-buybox__cats a { color: var(--ihps-accent-2); text-decoration: none; font-weight: 600; }
.ihps-buybox__title { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 0 0 10px; color: var(--ihps-ink); }
.ihps-buybox__proof { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ihps-accent); background: color-mix(in srgb, var(--ihps-accent) 10%, #fff); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.ihps-buybox__price { font-size: 30px; font-weight: 700; margin: 6px 0 14px; color: var(--ihps-ink); }
.ihps-buybox__price del { color: var(--ihps-muted); font-weight: 400; font-size: .7em; margin-right: 8px; }
.ihps-buybox__excerpt { color: var(--ihps-muted); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.ihps-buybox__form { padding: 18px 0; border-top: 1px solid var(--ihps-line); border-bottom: 1px solid var(--ihps-line); margin-bottom: 18px; }
.ihps-buybox__form .edd_download_purchase_form { margin: 0; }
.ihps-buybox__form .edd_price_options ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.ihps-buybox__form .edd_price_options li { background: #fff; border: 1px solid var(--ihps-line); border-radius: calc(var(--ihps-radius) * .6); padding: 10px 14px; }
.ihps-buybox__form .edd-submit, .ihps-buybox__form .edd-add-to-cart, .ihps-buybox__form .edd_go_to_checkout {
	width: 100%; display: block; text-align: center; padding: 16px 24px !important; font-size: 17px !important; font-weight: 700; border-radius: 999px !important;
	background: var(--ihps-accent) !important; color: #fff !important; border: 0 !important; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.ihps-buybox__form .edd-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px var(--ihps-accent); }
.ihps-buybox__form .edd_download_quantity_wrapper { margin-bottom: 12px; }
.ihps-buybox__form input.edd-item-quantity { width: 80px; padding: 10px; border: 1px solid var(--ihps-line); border-radius: 10px; background: #fff; }
.ihps-buybox .ihps-bundle-note { margin: 0 0 18px; }

.ihps-tabs { margin-top: 56px; background: #fff; border-radius: var(--ihps-radius); box-shadow: 0 18px 40px -32px rgba(21, 33, 30, .4); overflow: hidden; }
.ihps-tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--ihps-line); padding: 0 20px; overflow-x: auto; }
.ihps-tabs__nav button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 18px 16px 15px; font-size: 16px; font-weight: 600; color: var(--ihps-muted); cursor: pointer; }
.ihps-tabs__nav button.is-active { color: var(--ihps-ink); border-bottom-color: var(--ihps-accent); }
.ihps-tabs__panel { padding: 28px 32px; font-size: 16px; line-height: 1.75; }
.ihps-tabs__panel > :first-child { margin-top: 0; }
.ihps-entry img { max-width: 100%; height: auto; border-radius: calc(var(--ihps-radius) * .6); }
.ihps-details { margin: 0; display: grid; gap: 0; }
.ihps-details > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ihps-line); }
.ihps-details > div:last-child { border-bottom: 0; }
.ihps-details dt { font-weight: 600; color: var(--ihps-muted); }
.ihps-details dd { margin: 0; }

.ihps-related { margin-top: 56px; }
.ihps-related[hidden] { display: none; }
.ihps-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ihps-related__head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); color: var(--ihps-ink); }
.ihps-related__head a { color: var(--ihps-accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ihps-related .ihps-grid { --ihps-cols: 4; }

.ihps-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 16, 14, .9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.ihps-lightbox[hidden] { display: none; }
.ihps-lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; }
.ihps-lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; }

@media (max-width: 900px) {
	.ihps-store-product__top { grid-template-columns: 1fr; gap: 24px; }
	.ihps-gallery { position: static; }
	.ihps-store-main { padding: 16px 14px 48px; }
	.ihps-tabs__panel { padding: 20px 18px; }
	.ihps-details > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Desktop top buy bar on store-style pages */
.ihps-sticky__thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }
@media (min-width: 768px) {
	body.ihps-store-single .ihps-sticky {
		position: fixed; inset-inline: 0; top: 0; z-index: 9999; display: flex; align-items: center; gap: 16px;
		padding: 10px max(20px, calc((100vw - 1200px) / 2)); background: #fff; border-bottom: 1px solid var(--ihps-line);
		box-shadow: 0 8px 24px -16px rgba(21, 33, 30, .4); transform: translateY(-110%); transition: transform .25s;
	}
	body.ihps-store-single .ihps-sticky[hidden] { display: none; }
	body.ihps-store-single .ihps-sticky.is-visible { transform: none; }
	body.admin-bar.ihps-store-single .ihps-sticky { top: 32px; }
	body.ihps-store-single .ihps-sticky__info { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
	body.ihps-store-single .ihps-sticky__title { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	body.ihps-store-single .ihps-sticky__price { font-size: 17px; font-weight: 700; white-space: nowrap; }
	body.ihps-store-single .ihps-sticky__btn { flex: none; padding: 12px 28px; border: 0; border-radius: 999px; background: var(--ihps-accent-2); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
}
@media (max-width: 767px) {
	.ihps-sticky__thumb img { width: 40px; height: 40px; }
}

/* ------------------------------------------------------------------ */
/* Highlighted category (compact, light)                               */
/* ------------------------------------------------------------------ */

.ihps-featured {
	--ihps-feat: var(--ihps-accent-2);
	margin: 0 0 22px;
	padding: 12px 16px 16px;
	border-radius: calc(var(--ihps-radius) + 4px);
	background: #f6f1e4;
	background: linear-gradient(135deg, color-mix(in srgb, var(--ihps-feat) 20%, #fff), color-mix(in srgb, var(--ihps-accent) 8%, #fff));
	border: 1px solid color-mix(in srgb, var(--ihps-feat) 35%, transparent);
}
.ihps-featured--1 { --ihps-feat: #7a3b8c; }
.ihps-featured--2 { --ihps-feat: var(--ihps-accent); }
.ihps-featured__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ihps-featured__head > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ihps-featured__tag { padding: 2px 9px; border-radius: 999px; background: var(--ihps-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.ihps-featured__title { margin: 0; font-size: 20px; line-height: 1.2; color: var(--ihps-ink); }
.ihps-featured__text { display: none; }
.ihps-featured__all { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ihps-accent); text-decoration: none; white-space: nowrap; }
.ihps-featured__all:hover { text-decoration: underline; }
.ihps-featured .ihps-grid { gap: 14px; }
.ihps-featured .ihps-card__body { padding: 8px 2px 0; gap: 2px; }
.ihps-featured .ihps-card__title { margin: 0; font-size: 14px !important; line-height: 1.35 !important; font-weight: 600; }
.ihps-featured .ihps-card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ihps-featured .ihps-card__proof { display: none; }
.ihps-featured .ihps-price { font-size: 15px; }
.ihps-featured .ihps-add { padding: 6px 12px; font-size: 13px; }
@media (max-width: 639px) { .ihps-featured { padding: 10px 12px 14px; } .ihps-featured__title { font-size: 17px; } }

/* Show the whole cover: the picture is fitted inside its box, never cropped. */
.ihps-fit .ihps-card__media { background: #f3f1ec; }
.ihps-fit .ihps-card__media .ihps-card__img { background-color: #f3f1ec; background-size: contain; }
.ihps-fit .ihps-card__media .ihps-card__img::after { background-size: contain; background-color: #f3f1ec; }

/* ------------------------------------------------------------------ */
/* Order bumps                                                         */
/* ------------------------------------------------------------------ */

.ihps-bumps { margin: 0 0 18px; }
.ihps-bumps.is-loading { opacity: .6; pointer-events: none; transition: opacity .15s ease; }
.ihps-bump { --ihps-bump: var(--ihps-accent-2); margin: 0 0 12px; }
.ihps-bump__box {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px;
	border: 2px dashed var(--ihps-bump);
	border-radius: var(--ihps-radius);
	background: #fffaf0;
	background: color-mix(in srgb, var(--ihps-bump) 8%, #fff);
	cursor: pointer;
	transition: background .15s ease, border-style .15s ease;
}
.ihps-bump__box:has(.ihps-bump__check:checked) {
	border-style: solid;
	background: color-mix(in srgb, var(--ihps-bump) 16%, #fff);
}
.ihps-bump__check { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ihps-bump); cursor: pointer; }
.ihps-bump__thumb { flex: 0 0 auto; display: block; width: 64px; }
.ihps-bump__img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: calc(var(--ihps-radius) / 2); }
.ihps-bump__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ihps-bump__badge { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--ihps-bump); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.ihps-bump__head { font-size: 16px; font-weight: 700; line-height: 1.35; }
.ihps-bump__head strong { color: var(--ihps-bump); }
.ihps-bump__link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ihps-bump__desc { font-size: 14px; line-height: 1.5; opacity: .85; }
.ihps-bump__more { font-size: 13px; text-decoration: underline; }
@media (max-width: 480px) { .ihps-bump__thumb, .ihps-bump__img { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .ihps-bump__box, .ihps-bumps.is-loading { transition: none; } }

/* ------------------------------------------------------------------ */
/* Theme-proofing: keep buttons, labels and links readable             */
/* ------------------------------------------------------------------ */

.ihps-premium .ihps-add,
.ihps-featured .ihps-add,
.ihps-wrap .ihps-add {
	border: 1.5px solid var(--ihps-accent, #0b5345) !important;
	background: transparent !important;
	color: var(--ihps-accent, #0b5345) !important;
	opacity: 1 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
.ihps-premium .ihps-add:hover,
.ihps-featured .ihps-add:hover,
.ihps-wrap .ihps-add:hover,
.ihps-premium .ihps-add.is-added,
.ihps-wrap .ihps-add.is-added {
	background: var(--ihps-accent, #0b5345) !important;
	color: #fff !important;
}
.ihps-premium .ihps-add--view,
.ihps-wrap .ihps-add--view { border-color: var(--ihps-line, #e1e5e0) !important; color: var(--ihps-ink, #15211e) !important; }
.ihps-featured .ihps-featured__tag { background: var(--ihps-accent, #0b5345) !important; color: #fff !important; opacity: 1 !important; }
.ihps-featured .ihps-featured__all { color: var(--ihps-accent, #0b5345) !important; opacity: 1 !important; }
.ihps-featured .ihps-featured__title { color: var(--ihps-ink, #15211e) !important; }
.ihps-wrap .ihps-side__item.is-active > a { color: var(--ihps-accent, #0b5345) !important; opacity: 1 !important; }
.ihps-wrap .ihps-side__item > a { opacity: 1 !important; }

/* ---- 1.5.0: total count, upgrade recommendation ---- */
.ihps-side__count--total { font-variant-numeric: tabular-nums; }

.ihps-upgrade {
	margin: 16px 0;
	padding: 14px 16px;
	background: #fffaf0;
	border: 1px solid var(--ihps-accent-2, #b8892b);
	border-radius: var(--ihps-radius, 14px);
}
.ihps-upgrade__head { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ihps-ink, #15211e); line-height: 1.35; }
.ihps-upgrade__item { display: flex; align-items: center; gap: 12px; }
.ihps-upgrade__img { flex: none; }
.ihps-upgrade__img img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.ihps-upgrade__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ihps-upgrade__name { color: var(--ihps-ink, #15211e); font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; }
.ihps-upgrade__name:hover { text-decoration: underline; }
.ihps-upgrade__price { font-size: 14px; color: var(--ihps-accent, #0b5345); font-weight: 700; }
.ihps-upgrade .ihps-add { flex: none; padding: 7px 14px; font-size: 13px; }
.ihps-upgrade--drawer { margin: 12px 0; }
.ihps-upgrade--checkout { max-width: 640px; }
@media (max-width: 480px) {
	.ihps-upgrade__item { flex-wrap: wrap; }
	.ihps-upgrade .ihps-add { width: 100%; text-align: center; }
}
