/* Island Fruit Bar – public storefront (logo palette). */

.ifb-shop-page {
	margin: 0;
	background: var(--ifb-brand-cream, #f7f5f0);
	color: var(--ifb-brand-text, #2c382e);
	font-family: Georgia, "Times New Roman", serif;
}

.ifb-shop {
	--ifb-shop-green: var(--ifb-brand-green, #3d5244);
	--ifb-shop-green-dark: var(--ifb-brand-green-dark, #2f4035);
	--ifb-shop-coral: var(--ifb-brand-coral, #c87553);
	--ifb-shop-sand: var(--ifb-brand-sand, #d4b896);
	--ifb-shop-muted: var(--ifb-brand-muted, #6b7568);
	--ifb-shop-border: var(--ifb-brand-border, #ddd8cf);
	--ifb-shop-card: var(--ifb-brand-card, #fffefb);
	--ifb-shop-radius: 10px;
	min-height: 100vh;
}

.ifb-shop *,
.ifb-shop *::before,
.ifb-shop *::after {
	box-sizing: border-box;
}

/* Header (scrolls away; filters toolbar is sticky instead) */
.ifb-shop-header {
	background: var(--ifb-brand-cream, #f7f5f0);
	color: var(--ifb-brand-text, #2c382e);
	border-bottom: 1px solid var(--ifb-shop-border, #ddd8cf);
}

.ifb-shop-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 24px;
}

.ifb-shop-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.ifb-shop-logo img {
	display: block;
	width: auto;
	height: clamp(48px, 7vw, 64px);
	max-width: min(240px, 50vw);
	object-fit: contain;
	border-radius: 6px;
}

.ifb-shop-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ifb-shop-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	color: var(--ifb-shop-green-dark, #2f4035);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.ifb-shop-icon:hover {
	background: var(--ifb-brand-green-soft, #e6ebe3);
	color: var(--ifb-shop-green, #3d5244);
}

.ifb-shop-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--ifb-shop-green, #2f7d4f);
	color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.ifb-shop-pill:hover {
	background: var(--ifb-shop-green-dark, #1e5634);
	color: #fff;
}

.ifb-shop-pill.is-outline {
	background: transparent;
	border: 1px solid var(--ifb-shop-green, #3d5244);
	color: var(--ifb-shop-green-dark, #2f4035);
	font-weight: 500;
}

.ifb-shop-pill.is-outline:hover {
	background: var(--ifb-brand-green-soft, #e6ebe3);
	color: var(--ifb-shop-green-dark, #2f4035);
}

/* Main */
.ifb-shop-main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 24px 64px;
}

.ifb-shop-hero {
	margin-bottom: 28px;
}

.ifb-shop-hero__title {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 400;
	line-height: 1.2;
	color: #111827;
}

.ifb-shop-hero__lead {
	margin: 0;
	max-width: 42rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ifb-shop-muted);
}

/* Filters — sticky directly under header (header scrolls away first) */
.ifb-shop-filters {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--ifb-brand-cream, #f7f5f0);
	border-bottom: 1px solid var(--ifb-shop-border);
	box-shadow: 0 6px 16px rgba(47, 64, 53, 0.06);
}

.ifb-shop-filters__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 24px 18px;
}

.ifb-shop-toolbar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ifb-shop-toolbar__label {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ifb-shop-sand, #b8956f);
}

.ifb-shop-chips-scroll {
	margin: 0 -4px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--ifb-shop-border) transparent;
	padding-bottom: 4px;
}

.ifb-shop-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	width: max-content;
	min-width: 100%;
	padding: 0 4px;
}

.ifb-shop-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: var(--ifb-shop-card);
	color: #111827;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.ifb-shop-chip__count {
	display: inline-flex;
	min-width: 1.5rem;
	align-items: center;
	justify-content: center;
	padding: 2px 7px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.ifb-shop-chip.is-active {
	border-color: var(--ifb-shop-green-dark);
	background: var(--ifb-shop-green-dark);
	color: #fff;
}

.ifb-shop-chip.is-active .ifb-shop-chip__count {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.ifb-shop-toolbar__search-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.ifb-shop-search {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.ifb-shop-search input {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: var(--ifb-shop-card);
	font: inherit;
	font-size: 15px;
	color: #111827;
}

.ifb-shop-search input::placeholder {
	color: #9ca3af;
}

.ifb-shop-search input:focus {
	border-color: var(--ifb-shop-green);
	outline: 0;
	box-shadow: 0 0 0 1px var(--ifb-shop-green);
}

.ifb-shop-reset {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-height: 48px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: var(--ifb-shop-card);
	color: #374151;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s, opacity 0.12s;
}

.ifb-shop-reset:hover:not(:disabled) {
	border-color: #d1d5db;
	background: #f9fafb;
}

.ifb-shop-reset:disabled {
	opacity: 0.45;
	cursor: default;
}

.ifb-shop-toolbar__dropdowns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ifb-shop-select {
	margin: 0;
	min-width: 0;
}

.ifb-shop-select select {
	width: 100%;
	min-height: 48px;
	padding: 0 36px 0 14px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: var(--ifb-shop-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	cursor: pointer;
}

.ifb-shop-select select:focus {
	border-color: var(--ifb-shop-green);
	outline: 0;
	box-shadow: 0 0 0 1px var(--ifb-shop-green);
}

/* Grid */
.ifb-shop-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ifb-shop-card {
	margin: 0;
}

.ifb-shop-card__open {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 1px solid #e5e7eb;
	background: var(--ifb-shop-card);
	border-radius: 14px;
	overflow: hidden;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ifb-shop-card__open:hover,
.ifb-shop-card__open:focus-visible {
	border-color: #d1d5db;
	box-shadow: 0 4px 14px rgba(47, 64, 53, 0.08);
}

.ifb-shop-card__open:focus-visible {
	outline: 2px solid var(--ifb-shop-green);
	outline-offset: 2px;
}

.ifb-shop-card__media {
	aspect-ratio: 1;
	background: var(--ifb-brand-green-soft, #e6ebe3);
	overflow: hidden;
}

.ifb-shop-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ifb-shop-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 3rem;
	opacity: 0.35;
}

.ifb-shop-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	padding: 14px 14px 16px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.ifb-shop-card__title {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.ifb-shop-card__desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--ifb-shop-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ifb-shop-card__price {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: #374151;
}

.ifb-shop-card__stock {
	margin: auto 0 0;
	padding-top: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #9ca3af;
}

.ifb-shop-card[hidden] {
	display: none !important;
}

.ifb-shop-empty {
	margin: 48px 0;
	text-align: center;
	font-family: system-ui, sans-serif;
	color: var(--ifb-shop-muted);
}

/* Product accent hints on cards */
.ifb-shop-card--energy .ifb-shop-card__link { color: #b45309; }
.ifb-shop-card--tropical .ifb-shop-card__link { color: #c2410c; }
.ifb-shop-card--iron .ifb-shop-card__link { color: #be123c; }
.ifb-shop-card--green .ifb-shop-card__link { color: #15803d; }
.ifb-shop-card--calm .ifb-shop-card__link { color: #6d28d9; }
.ifb-shop-card--splash .ifb-shop-card__link { color: #0369a1; }
.ifb-shop-card--fusion .ifb-shop-card__link { color: #65a30d; }

/* Dialog — wide split: image left, details right */
.ifb-shop-dialog {
	position: relative;
	width: min(56rem, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: var(--ifb-shop-card);
	overflow: hidden;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 28px 64px rgba(47, 64, 53, 0.28);
}

.ifb-shop-dialog::backdrop {
	background: rgba(47, 64, 53, 0.65);
}

.ifb-shop-dialog__layout {
	display: grid;
	grid-template-columns: minmax(260px, 2fr) minmax(320px, 3fr);
	min-height: min(32rem, calc(100vh - 2rem));
	max-height: calc(100vh - 2rem);
}

.ifb-shop-dialog__media {
	position: relative;
	min-height: 100%;
	background: #eae6df;
}

.ifb-shop-dialog__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: min(32rem, calc(100vh - 2rem));
	object-fit: cover;
	object-position: center;
}

.ifb-shop-dialog__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: min(32rem, calc(100vh - 2rem));
	font-size: 4rem;
	opacity: 0.35;
}

.ifb-shop-dialog__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	max-height: calc(100vh - 2rem);
	background: var(--ifb-shop-card);
}

.ifb-shop-dialog__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: rgba(47, 64, 53, 0.82);
	color: #fff;
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ifb-shop-dialog__close:hover {
	background: rgba(47, 64, 53, 0.95);
}

.ifb-shop-dialog__head {
	flex-shrink: 0;
	padding: 1.35rem 1.5rem 1.25rem;
	padding-right: 3.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
}

.ifb-shop-dialog__head h3 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	color: inherit;
}

.ifb-shop-dialog__tagline {
	margin: 0.45rem 0 0;
	font-size: 0.95rem;
	line-height: 1.45;
	opacity: 0.95;
}

.ifb-shop-dialog--energy .ifb-shop-dialog__head { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ifb-shop-dialog--tropical .ifb-shop-dialog__head { background: linear-gradient(135deg, #fb923c, #ea580c); }
.ifb-shop-dialog--iron .ifb-shop-dialog__head { background: linear-gradient(135deg, #f43f5e, #be123c); }
.ifb-shop-dialog--green .ifb-shop-dialog__head { background: linear-gradient(135deg, #4ade80, #15803d); }
.ifb-shop-dialog--calm .ifb-shop-dialog__head { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.ifb-shop-dialog--splash .ifb-shop-dialog__head { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.ifb-shop-dialog--fusion .ifb-shop-dialog__head { background: linear-gradient(135deg, #a3e635, #65a30d); }
.ifb-shop-dialog--default .ifb-shop-dialog__head { background: linear-gradient(135deg, var(--ifb-shop-green), var(--ifb-shop-green-dark)); }

.ifb-shop-dialog__body {
	flex: 1;
	min-height: 0;
	padding: 1.25rem 1.5rem 1.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.ifb-shop-dialog__benefit-list {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

.ifb-shop-dialog__desc {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #374151;
}

.ifb-shop-dialog__benefits {
	margin-bottom: 1rem;
}

.ifb-shop-dialog__benefit-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.ifb-shop-dialog__benefit-list li {
	position: relative;
	padding: 8px 12px 8px 2rem;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--ifb-shop-border);
	font-size: 0.85rem;
	line-height: 1.4;
	color: #374151;
}

.ifb-shop-dialog__benefit-list li::before {
	content: "✓";
	position: absolute;
	left: 10px;
	top: 8px;
	font-weight: 700;
	color: var(--ifb-shop-green);
}

.ifb-shop-dialog--energy .ifb-shop-dialog__benefit-list li::before { color: #d97706; }
.ifb-shop-dialog--tropical .ifb-shop-dialog__benefit-list li::before { color: #ea580c; }
.ifb-shop-dialog--iron .ifb-shop-dialog__benefit-list li::before { color: #be123c; }
.ifb-shop-dialog--green .ifb-shop-dialog__benefit-list li::before { color: #15803d; }
.ifb-shop-dialog--calm .ifb-shop-dialog__benefit-list li::before { color: #6d28d9; }
.ifb-shop-dialog--splash .ifb-shop-dialog__benefit-list li::before { color: #0284c7; }
.ifb-shop-dialog--fusion .ifb-shop-dialog__benefit-list li::before { color: #65a30d; }

.ifb-shop-dialog__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ifb-shop-muted);
}

.ifb-shop-dialog__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
}

.ifb-shop-dialog__chips li {
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	font-size: 0.78rem;
	color: #374151;
}

.ifb-shop-dialog--energy .ifb-shop-dialog__chips li { background: #fef3c7; color: #92400e; }
.ifb-shop-dialog--tropical .ifb-shop-dialog__chips li { background: #ffedd5; color: #9a3412; }
.ifb-shop-dialog--iron .ifb-shop-dialog__chips li { background: #ffe4e6; color: #9f1239; }
.ifb-shop-dialog--green .ifb-shop-dialog__chips li { background: #dcfce7; color: #166534; }
.ifb-shop-dialog--calm .ifb-shop-dialog__chips li { background: #ede9fe; color: #5b21b6; }
.ifb-shop-dialog--splash .ifb-shop-dialog__chips li { background: #e0f2fe; color: #075985; }
.ifb-shop-dialog--fusion .ifb-shop-dialog__chips li { background: #ecfccb; color: #3f6212; }

.ifb-shop-dialog__order {
	padding: 1rem;
	border-radius: 12px;
	background: #faf9f6;
	border: 1px solid var(--ifb-shop-border);
}

.ifb-shop-dialog__sizes {
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.ifb-shop-dialog__sizes li {
	flex: 1;
	min-width: 0;
}

.ifb-shop-size {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 0.65rem 0.5rem;
	border: 2px solid var(--ifb-shop-border);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.12s, box-shadow 0.12s;
}

.ifb-shop-size input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ifb-shop-size__ml {
	font-size: 0.8rem;
	font-weight: 600;
	color: #111827;
}

.ifb-shop-size__price {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ifb-shop-green-dark);
}

.ifb-shop-size:has(input:checked) {
	border-color: var(--ifb-shop-green);
	box-shadow: 0 0 0 1px var(--ifb-shop-green);
}

.ifb-shop-dialog--energy .ifb-shop-size:has(input:checked) { border-color: #d97706; box-shadow: 0 0 0 1px #d97706; }
.ifb-shop-dialog--tropical .ifb-shop-size:has(input:checked) { border-color: #ea580c; box-shadow: 0 0 0 1px #ea580c; }
.ifb-shop-dialog--iron .ifb-shop-size:has(input:checked) { border-color: #be123c; box-shadow: 0 0 0 1px #be123c; }

.ifb-shop-dialog__qty {
	margin-bottom: 1rem;
}

.ifb-shop-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--ifb-shop-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.ifb-shop-qty button {
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	color: var(--ifb-shop-green-dark);
}

.ifb-shop-qty button:hover {
	background: #f3f4f6;
}

.ifb-shop-qty input {
	width: 3rem;
	height: 2.5rem;
	border: 0;
	border-left: 1px solid var(--ifb-shop-border);
	border-right: 1px solid var(--ifb-shop-border);
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.ifb-shop-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 2.75rem;
	padding: 0 1rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: filter 0.15s, transform 0.1s;
}

.ifb-shop-wa:hover {
	filter: brightness(1.05);
	color: #fff;
}

.ifb-shop-wa.is-disabled {
	opacity: 0.55;
	pointer-events: none;
	cursor: not-allowed;
}

.ifb-shop-dialog__wa-hint {
	margin: 0.65rem 0 0;
	font-size: 0.78rem;
	color: var(--ifb-shop-muted);
	text-align: center;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (min-width: 900px) {
	.ifb-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}

	.ifb-shop-toolbar__dropdowns {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.ifb-shop-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.ifb-shop-header__inner,
	.ifb-shop-filters__inner,
	.ifb-shop-main {
		padding-left: 16px;
		padding-right: 16px;
	}

	.ifb-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.ifb-shop-toolbar__filters {
		width: 100%;
		margin-left: 0;
	}

	.ifb-shop-pill.is-outline {
		display: none;
	}

	.ifb-shop-filters__inner {
		padding-top: 10px;
		padding-bottom: 12px;
	}

	.ifb-shop-filters__inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.ifb-shop-toolbar {
		gap: 12px;
	}

	.ifb-shop-dialog {
		width: calc(100vw - 1rem);
		max-height: calc(100vh - 1rem);
		border-radius: 14px;
	}

	.ifb-shop-dialog__layout {
		grid-template-columns: 1fr;
		min-height: 0;
		max-height: calc(100vh - 1rem);
	}

	.ifb-shop-dialog__media {
		max-height: 42vh;
	}

	.ifb-shop-dialog__img,
	.ifb-shop-dialog__img--placeholder {
		min-height: 42vh;
		max-height: 42vh;
	}

	.ifb-shop-dialog__main {
		max-height: none;
	}

	.ifb-shop-dialog__benefit-list {
		grid-template-columns: 1fr;
	}
}

.ifb-shop-health-note {
	max-width: 1280px;
	margin: 32px auto 0;
	padding: 0 24px;
	font-size: 0.8125rem;
	color: var(--ifb-shop-muted, #6b7568);
	text-align: center;
}

.ifb-shop-health-note a {
	color: var(--ifb-shop-green-dark, #2f4035);
}

.ifb-shop-footer {
	margin-top: 24px;
	border-top: 1px solid var(--ifb-shop-border, #ddd8cf);
	background: var(--ifb-brand-cream, #f7f5f0);
}

.ifb-shop-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 24px 28px;
	font-size: 0.875rem;
	color: var(--ifb-shop-muted, #6b7568);
}

.ifb-shop-footer__copy {
	margin: 0;
}

.ifb-shop-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.ifb-shop-footer__legal a {
	color: var(--ifb-shop-green-dark, #2f4035);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.ifb-shop-footer__legal a:hover {
	border-bottom-color: currentColor;
}

.ifb-shop-footer__sep {
	opacity: 0.55;
	user-select: none;
}

@media (max-width: 480px) {
	.ifb-shop-grid {
		grid-template-columns: 1fr;
	}

	.ifb-shop-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ifb-shop-card__open {
		transition: none;
	}
}
