/* ==========================================================
   SONATA GREEN
   30 DIENŲ VISAVERTIS PLANAS
   BENDRAS D01–D30 IR SOS STILIUS
   Patvirtintas pagal D01 prototipą 2026-09-04
   ========================================================== */

.sg30d1 {
	--sg-dark: #263128;
	--sg-deep: #19231C;
	--sg-green: #4E6B41;
	--sg-cream: #FFFAED;
	--sg-white: #FFFDF8;
	--sg-sage: #A9CDC2;
	--sg-orange: #F9AE54;
	--sg-coral: #FA9584;
	--sg-plum: #6B2E5B;
	--sg-text: #292824;
	--sg-muted: #647067;
	--sg-line: #DED4C3;

	--sg-display: "Fraunces", Georgia, serif;
	--sg-body: "Manrope", Arial, sans-serif;

	--sg-kcal-bg: #4E6B41;
	--sg-kcal-text: #FFFAED;

	width: 100%;
	margin: 0;
	padding: 42px 0 90px;
	background: var(--sg-cream);
	color: var(--sg-text);
	font-family: var(--sg-body);
	isolation: isolate;
}

.sg30d1[data-kcal="1300"] {
	--sg-kcal-bg: #86AFA3;
	--sg-kcal-text: #19231C;
}

.sg30d1[data-kcal="1500"] {
	--sg-kcal-bg: #4E6B41;
	--sg-kcal-text: #FFFAED;
}

.sg30d1[data-kcal="1700"] {
	--sg-kcal-bg: #F9AE54;
	--sg-kcal-text: #263128;
}

.sg30d1[data-kcal="1900"] {
	--sg-kcal-bg: #FA9584;
	--sg-kcal-text: #263128;
}

.sg30d1[data-kcal="2100"] {
	--sg-kcal-bg: #6B2E5B;
	--sg-kcal-text: #FFFAED;
}

.sg30d1[data-kcal="2300"] {
	--sg-kcal-bg: #365943;
	--sg-kcal-text: #FFFAED;
}

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

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

.sg30d1 button,
.sg30d1 a {
	font: inherit;
}

.sg30d1 a,
.sg30d1 a:link,
.sg30d1 a:visited,
.sg30d1 a:hover,
.sg30d1 a:active,
.sg30d1 a:focus,
.sg30d1 a:focus-visible {
	text-decoration: none !important;
	text-decoration-line: none !important;
}

.sg30d1__inner {
	width: min(calc(100% - 64px), 1320px);
	margin: 0 auto;
}


/* ==========================================================
   PRODUCT HEADER
   ========================================================== */

.sg30d1__product-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 54px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgb(38 49 40 / 17%);
}

.sg30d1__author {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.sg30d1__author-photo {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border-radius: 18px;
	object-fit: cover;
}

.sg30d1__author-copy {
	display: grid;
	gap: 2px;
}

.sg30d1__author-copy strong {
	color: var(--sg-dark);
	font-size: 17px;
	line-height: 1.25;
	font-weight: 850;
}

.sg30d1__author-copy span {
	color: var(--sg-muted);
	font-size: 14px;
	line-height: 1.35;
	font-weight: 650;
}

.sg30d1__calendar-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 9px 17px;
	border: 1px solid rgb(38 49 40 / 22%);
	border-radius: 999px;
	background: var(--sg-white);
	color: var(--sg-dark);
	font-size: 14px;
	line-height: 1.3;
	font-weight: 800;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.sg30d1__calendar-link:hover {
	border-color: var(--sg-green);
	background: #DDE8D9;
	transform: translateY(-1px);
}


/* ==========================================================
   HERO
   ========================================================== */

.sg30d1__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
	align-items: end;
	gap: 54px;
	margin-bottom: 42px;
}

.sg30d1__eyebrows {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 17px;
}

.sg30d1__eyebrows span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--sg-orange);
	color: var(--sg-dark);
	font-size: 13px;
	line-height: 1;
	font-weight: 850;
}

.sg30d1__eyebrows span:nth-child(2) {
	background: var(--sg-sage);
}

.sg30d1__hero h1 {
	max-width: 8ch;
	margin: 0;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: clamp(64px, 8vw, 108px);
	line-height: 0.92;
	font-weight: 700;
	letter-spacing: -0.045em;
}

.sg30d1__hero-text {
	max-width: none;
	margin: 24px 0 0;
	color: #525B54;
	font-size: 18px;
	line-height: 1.65;
	font-weight: 520;
}

.sg30d1__selected-plan {
	position: relative;
	overflow: hidden;
	min-height: 188px;
	padding: 25px 26px 27px;
	border: 1.5px solid var(--sg-dark);
	border-radius: 24px;
	background: var(--sg-kcal-bg);
	color: var(--sg-kcal-text);
	box-shadow: 7px 7px 0 var(--sg-coral);
	transition:
		background-color 220ms ease,
		color 220ms ease;
}

.sg30d1__selected-plan-label {
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 850;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.sg30d1__selected-plan strong {
	display: block;
	margin-bottom: 12px;
	font-family: var(--sg-display);
	font-size: 36px;
	line-height: 1;
	font-weight: 700;
}

.sg30d1__selected-plan p {
	max-width: 310px;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 650;
}


/* ==========================================================
   KCAL PANEL
   ========================================================== */

.sg30d1__kcal-panel {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 44px;
	margin-bottom: 30px;
	padding: 28px 30px;
	border: 1px solid rgb(38 49 40 / 16%);
	border-radius: 24px;
	background: var(--sg-white);
}

.sg30d1__section-label {
	display: block;
	margin-bottom: 8px;
	color: var(--sg-green);
	font-size: 12px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.sg30d1__kcal-copy h2 {
	margin: 0;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.sg30d1__kcal-copy p {
	max-width: 590px;
	margin: 12px 0 0;
	color: var(--sg-muted);
	font-size: 15px;
	line-height: 1.6;
}

.sg30d1__kcal-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.sg30d1__kcal-options button {
	min-height: 54px;
	padding: 10px 9px;
	border: 1.5px solid rgb(38 49 40 / 24%);
	border-radius: 15px;
	background: #F6F2E8;
	color: var(--sg-dark);
	cursor: pointer;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 850;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease,
		transform 150ms ease;
}

.sg30d1__kcal-options button:hover {
	border-color: var(--sg-green);
	background: #DDE8D9;
	transform: translateY(-1px);
}

.sg30d1__kcal-options button[data-kcal-choice="1300"][aria-pressed="true"] {
	border-color: #263128;
	background: #86AFA3;
	color: #19231C;
}

.sg30d1__kcal-options button[data-kcal-choice="1500"][aria-pressed="true"] {
	border-color: #263128;
	background: #4E6B41;
	color: #FFFAED;
}

.sg30d1__kcal-options button[data-kcal-choice="1700"][aria-pressed="true"] {
	border-color: #263128;
	background: #F9AE54;
	color: #263128;
}

.sg30d1__kcal-options button[data-kcal-choice="1900"][aria-pressed="true"] {
	border-color: #263128;
	background: #FA9584;
	color: #263128;
}

.sg30d1__kcal-options button[data-kcal-choice="2100"][aria-pressed="true"] {
	border-color: #263128;
	background: #6B2E5B;
	color: #FFFAED;
}

.sg30d1__kcal-options button[data-kcal-choice="2300"][aria-pressed="true"] {
	border-color: #263128;
	background: #365943;
	color: #FFFAED;
}

.sg30d1__kcal-options button:focus-visible,
.sg30d1__gallery-arrow:focus-visible,
.sg30d1__gallery-dot:focus-visible,
.sg30d1 a:focus-visible {
	outline: 3px solid var(--sg-orange);
	outline-offset: 3px;
}


/* ==========================================================
   MEAL QUICK NAV
   ========================================================== */

.sg30d1__meal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 38px;
	padding: 0 0 6px;
}

.sg30d1__meal-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 11px 16px 12px;
	border: 1px solid rgb(38 49 40 / 21%);
	border-radius: 999px;
	background: var(--sg-white);
	color: var(--sg-dark);
	font-size: 15px;
	line-height: 1.2;
	font-weight: 850;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		transform 150ms ease;
}

.sg30d1__meal-nav a:hover {
	border-color: var(--sg-green);
	background: #DDE8D9;
	transform: translateY(-1px);
}


/* ==========================================================
   MEAL CARD
   ========================================================== */

.sg30d1__meal {
	scroll-margin-top: 30px;
	margin-bottom: 30px;
	padding: 28px 30px 31px;
	border: 1px solid rgb(38 49 40 / 17%);
	border-radius: 26px;
	background: var(--sg-white);
}

.sg30d1__meal-header {
	padding-bottom: 0;
	border-bottom: 1px solid var(--sg-line);
}

.sg30d1__meal-topline {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr) auto;
	align-items: center;
	gap: 18px;
}

.sg30d1__meal-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 17px;
	border: 1.5px solid var(--sg-dark);
	border-radius: 16px;
	background: var(--sg-orange);
	color: var(--sg-dark);
	box-shadow: 4px 4px 0 var(--sg-dark);
	text-align: center;
}

.sg30d1__meal-step strong {
	font-size: 15px;
	line-height: 1.25;
	font-weight: 850;
	white-space: nowrap;
}

.sg30d1__meal:target .sg30d1__meal-step {
	background: var(--sg-green);
	color: var(--sg-cream);
}

.sg30d1__meal-kcal {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 126px;
	min-height: 52px;
	padding: 9px 18px;
	border: 1.5px solid var(--sg-dark);
	border-radius: 15px;
	background: var(--sg-kcal-bg);
	color: var(--sg-kcal-text);
	transition:
		background-color 220ms ease,
		color 220ms ease;
}

.sg30d1__meal-kcal strong {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 900;
	white-space: nowrap;
}


.sg30d1__meal-time {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 9px 16px;
	border-radius: 15px;
	background: #F5F1E7;
	color: var(--sg-muted);
}

.sg30d1__meal-time span {
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
}

.sg30d1__meal-time strong {
	color: var(--sg-dark);
	font-size: 15px;
	line-height: 1.3;
	font-weight: 850;
	white-space: nowrap;
}

.sg30d1__meal-title {
	width: 100%;
	max-width: 980px;
	margin: 0;
	padding: 25px 0 0;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: clamp(29px, 2.7vw, 39px);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-wrap: pretty;
}

.sg30d1__meal-description {
	width: 100%;
	max-width: none;
	margin: 13px 0 0;
	padding: 0 0 24px;
	color: #59625B;
	font-size: 16px;
	line-height: 1.68;
	font-weight: 500;
}

.sg30d1__meal-body {
	padding-top: 26px;
}

.sg30d1__meal-info {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
	gap: 42px;
}

.sg30d1__meal--has-photo .sg30d1__meal-body {
	display: grid;
	grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
	align-items: start;
	gap: 38px;
}

.sg30d1__meal--has-photo .sg30d1__meal-info {
	grid-template-columns: 1fr;
	gap: 34px;
}

.sg30d1__ingredients h3,
.sg30d1__preparation h3 {
	margin: 0 0 14px;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}

.sg30d1__ingredients ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--sg-line);
	list-style: none;
}

.sg30d1__ingredients li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 15px;
	min-height: 62px;
	padding: 13px 2px;
	border-bottom: 1px solid var(--sg-line);
	font-size: 15px;
	line-height: 1.5;
}

.sg30d1__ingredients li span {
	min-width: 0;
}

.sg30d1__ingredients li strong {
	color: var(--sg-dark);
	font-size: 15px;
	font-weight: 900;
	white-space: nowrap;
}

.sg30d1__preparation ol {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--sg-line);
	list-style: none;
	counter-reset: sg-step;
}

.sg30d1__preparation li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	column-gap: 14px;
	min-height: 62px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--sg-line);
	font-size: 16px;
	line-height: 1.6;
	counter-increment: sg-step;
}

.sg30d1__preparation li::before {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid var(--sg-dark);
	border-radius: 50%;
	background: var(--sg-cream);
	color: var(--sg-dark);
	content: counter(sg-step);
	font-size: 14px;
	line-height: 1;
	font-weight: 850;
}


/* ==========================================================
   PHOTO GALLERY
   ========================================================== */

.sg30d1__gallery {
	position: relative;
	width: 100%;
	margin: 0;
}

.sg30d1__gallery-frame {
	position: relative;
	width: 100%;
}

.sg30d1__photo-caption {
	margin: 7px 2px 0;
	color: rgb(38 49 40 / 68%);
	font-size: 11px;
	line-height: 1.35;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.sg30d1__photo-caption[hidden] {
	display: none !important;
}

.sg30d1__gallery-viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background: #EEE8DC;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.sg30d1__gallery-track {
	display: flex;
	width: 100%;
	height: 100%;
	will-change: transform;
	transform: translate3d(0, 0, 0);
}

.sg30d1__gallery-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
}

.sg30d1__gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

.sg30d1__gallery-arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid rgb(38 49 40 / 15%);
	border-radius: 50%;
	background: rgb(255 253 248 / 90%);
	box-shadow: 0 3px 10px rgb(25 35 28 / 12%);
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		background-color 150ms ease,
		transform 150ms ease;
}

.sg30d1__gallery-arrow:hover {
	background: #FFFDF8;
	transform: translateY(-50%) scale(1.05);
}

.sg30d1__gallery-arrow--prev {
	left: 12px;
}

.sg30d1__gallery-arrow--next {
	right: 12px;
}

.sg30d1__gallery-arrow::before {
	display: block;
	width: 0;
	height: 0;
	content: "";
}

.sg30d1__gallery-arrow--prev::before {
	margin-left: -2px;
	border-top: 6px solid transparent;
	border-right: 9px solid var(--sg-dark);
	border-bottom: 6px solid transparent;
}

.sg30d1__gallery-arrow--next::before {
	margin-right: -2px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid var(--sg-dark);
}

.sg30d1__gallery-dots {
	position: absolute;
	z-index: 5;
	right: 50%;
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 27px;
	padding: 6px 9px;
	border-radius: 999px;
	background: rgb(25 35 28 / 48%);
	transform: translateX(50%);
}

.sg30d1__gallery-dot {
	width: 7px;
	height: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 253 248 / 58%);
	cursor: pointer;
	transition:
		background-color 150ms ease,
		transform 150ms ease;
}

.sg30d1__gallery-dot[aria-current="true"] {
	background: #FFFDF8;
	transform: scale(1.28);
}

.sg30d1__gallery--single .sg30d1__gallery-arrow,
.sg30d1__gallery--single .sg30d1__gallery-dots {
	display: none;
}


/* ==========================================================
   ATTENTION
   ========================================================== */

.sg30d1__attention {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 20px;
	margin-top: 42px;
	padding: 28px 30px;
	border: 1px solid rgb(107 46 91 / 22%);
	border-left: 7px solid var(--sg-plum);
	border-radius: 22px;
	background: #FFF8EE;
}

.sg30d1__attention-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sg-plum);
	color: var(--sg-cream);
	font-family: var(--sg-display);
	font-size: 27px;
	line-height: 1;
	font-weight: 700;
}

.sg30d1__attention h2 {
	margin: 0;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: 29px;
	line-height: 1.1;
	font-weight: 700;
}

.sg30d1__attention p {
	max-width: 940px;
	margin: 10px 0 0;
	color: #555E57;
	font-size: 16px;
	line-height: 1.65;
}


/* ==========================================================
   DAY SUMMARY
   ========================================================== */

.sg30d1__summary {
	margin-top: 30px;
	padding: 31px 30px 32px;
	border-radius: 24px;
	background: var(--sg-dark);
	color: var(--sg-cream);
}

.sg30d1__summary .sg30d1__section-label {
	color: var(--sg-sage);
}

.sg30d1__summary-heading {
	margin-bottom: 23px;
}

.sg30d1__summary-heading h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 9px 13px;
	margin: 0;
	color: var(--sg-cream);
	font-family: var(--sg-display);
	font-size: clamp(30px, 3vw, 40px);
	line-height: 1.1;
	font-weight: 700;
}

.sg30d1__summary-heading h2 span {
	color: var(--sg-sage);
	font-family: var(--sg-body);
	font-size: 15px;
	font-weight: 800;
}

.sg30d1__summary-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.sg30d1__summary-card {
	min-width: 0;
	padding: 18px 16px;
	border: 1px solid rgb(255 250 237 / 18%);
	border-radius: 17px;
	background: rgb(255 250 237 / 7%);
}

.sg30d1__summary-card span {
	display: block;
	margin-bottom: 9px;
	color: rgb(255 250 237 / 72%);
	font-size: 12px;
	line-height: 1.25;
	font-weight: 800;
}

.sg30d1__summary-card strong {
	display: block;
	color: var(--sg-cream);
	font-size: 21px;
	line-height: 1.15;
	font-weight: 850;
}


/* ==========================================================
   DISCLAIMER
   ========================================================== */

.sg30d1__disclaimer {
	margin-top: 30px;
	padding: 26px 28px 27px;
	border: 1px solid rgb(107 46 91 / 20%);
	border-left: 6px solid var(--sg-plum);
	border-radius: 20px;
	background: var(--sg-white);
}

.sg30d1__disclaimer-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.sg30d1__disclaimer-title > span {
	color: var(--sg-plum);
	font-size: 21px;
	line-height: 1;
}

.sg30d1__disclaimer h2 {
	margin: 0;
	color: var(--sg-dark);
	font-family: var(--sg-display);
	font-size: 25px;
	line-height: 1.15;
	font-weight: 700;
}

.sg30d1__disclaimer p {
	width: 100%;
	max-width: none;
	margin: 0;
	color: #5D655F;
	font-size: 13px;
	line-height: 1.7;
}


/* ==========================================================
   BOTTOM NAV
   ========================================================== */

.sg30d1__bottom-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 20px;
	margin-top: 42px;
	padding-top: 28px;
	border-top: 1px solid rgb(38 49 40 / 17%);
}

.sg30d1__previous {
	display: inline-flex;
	align-items: center;
	color: var(--sg-muted);
	font-size: 15px;
	line-height: 1.4;
	font-weight: 750;
	opacity: 0.48;
}

.sg30d1__previous::before {
	margin-right: 8px;
	content: "←";
}

.sg30d1__bottom-calendar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 11px 24px;
	border: 2px solid var(--sg-dark) !important;
	border-radius: 999px;
	background: var(--sg-dark);
	color: var(--sg-cream);
	box-shadow: 0 5px 0 var(--sg-coral);
	font-size: 16px;
	line-height: 1.25;
	font-weight: 850;
	transition:
		transform 160ms ease,
		background-color 160ms ease,
		box-shadow 160ms ease;
}

.sg30d1__bottom-calendar:hover,
.sg30d1__bottom-calendar:focus-visible {
	background: var(--sg-deep);
	color: var(--sg-cream) !important;
	box-shadow: 0 7px 0 var(--sg-coral);
	transform: translateY(-2px);
}

.sg30d1__bottom-calendar:active {
	box-shadow: 0 3px 0 var(--sg-coral);
	transform: translateY(2px);
}

.sg30d1__next {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 4px;
	color: var(--sg-dark);
	font-size: 16px;
	line-height: 1.3;
	font-weight: 850;
	transition:
		color 150ms ease,
		transform 150ms ease;
}

.sg30d1__next::after {
	margin-left: 8px;
	content: "→";
}

.sg30d1__next:hover {
	color: var(--sg-green);
	transform: translateX(3px);
}


/* ==========================================================
   RESPONSIVE 1100
   ========================================================== */

@media (max-width: 1100px) {

	.sg30d1__hero {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sg30d1__selected-plan {
		max-width: 500px;
	}

	.sg30d1__kcal-panel {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.sg30d1__meal--has-photo .sg30d1__meal-body {
		grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
		gap: 30px;
	}

	.sg30d1__meal--has-photo .sg30d1__meal-info {
		grid-template-columns: 1fr;
	}

	.sg30d1__summary-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sg30d1__summary-card:nth-child(4),
	.sg30d1__summary-card:nth-child(5) {
		grid-column: span 1;
	}
}


/* ==========================================================
   RESPONSIVE 850
   ========================================================== */

@media (max-width: 850px) {

	.sg30d1__inner {
		width: min(calc(100% - 48px), 1320px);
	}

	.sg30d1__meal-info {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sg30d1__meal--has-photo .sg30d1__meal-body {
		grid-template-columns: 1fr;
	}

	.sg30d1__gallery {
		width: 100%;
		max-width: 500px;
	}

	.sg30d1__summary-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

	.sg30d1 {
		padding: 24px 0 64px;
	}

	.sg30d1__inner {
		width: calc(100% - 40px);
	}

	.sg30d1__product-header {
		display: grid;
		gap: 18px;
		margin-bottom: 38px;
		padding-bottom: 20px;
	}

	.sg30d1__author-photo {
		width: 54px;
		height: 54px;
		flex-basis: 54px;
	}

	.sg30d1__calendar-link {
		width: 100%;
	}

	.sg30d1__hero {
		margin-bottom: 32px;
	}

	.sg30d1__hero h1 {
		font-size: clamp(48px, 15vw, 62px);
	}

	.sg30d1__hero-text {
		margin-top: 18px;
		font-size: 16px;
	}

	.sg30d1__selected-plan {
		min-height: 0;
		padding: 22px 21px 23px;
		border-radius: 21px;
	}

	.sg30d1__selected-plan strong {
		font-size: 32px;
	}

	.sg30d1__kcal-panel {
		padding: 23px 19px;
		border-radius: 21px;
	}

	.sg30d1__kcal-options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.sg30d1__kcal-options button {
		min-height: 51px;
		padding: 9px 5px;
		font-size: 13px;
	}

	.sg30d1__meal-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 28px;
	}

	.sg30d1__meal-nav a {
		width: 100%;
		min-height: 48px;
		padding-inline: 10px;
		font-size: 14px;
	}

	.sg30d1__meal {
		margin-bottom: 22px;
		padding: 22px 18px 24px;
		border-radius: 22px;
	}

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

	.sg30d1__meal-step {
		grid-column: 1 / -1;
	}

	.sg30d1__meal-step,
	.sg30d1__meal-kcal,
	.sg30d1__meal-time {
		width: 100%;
		min-width: 0;
		justify-self: stretch;
	}

	.sg30d1__meal-step {
		box-shadow: 3px 3px 0 var(--sg-dark);
	}

	.sg30d1__meal-step strong {
		white-space: normal;
	}

	.sg30d1__meal-title {
		padding-top: 22px;
		font-size: 29px;
	}

	.sg30d1__meal-description {
		margin-top: 11px;
		padding-bottom: 21px;
		font-size: 15px;
		line-height: 1.65;
	}

	.sg30d1__meal-body {
		padding-top: 22px;
	}

	.sg30d1__meal--has-photo .sg30d1__meal-body,
	.sg30d1__meal-info {
		grid-template-columns: 1fr;
		gap: 27px;
	}

	.sg30d1__gallery {
		max-width: none;
	}

	.sg30d1__gallery-arrow {
		width: 38px;
		height: 38px;
	}

	.sg30d1__gallery-arrow--prev {
		left: 9px;
	}

	.sg30d1__gallery-arrow--next {
		right: 9px;
	}

	.sg30d1__gallery-dots {
		bottom: 9px;
	}

	.sg30d1__ingredients h3,
	.sg30d1__preparation h3 {
		font-size: 23px;
	}

	.sg30d1__attention {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 24px 20px;
	}

	.sg30d1__attention-mark {
		width: 42px;
		height: 42px;
	}

	.sg30d1__summary {
		padding: 26px 19px;
		border-radius: 21px;
	}

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

	.sg30d1__summary-card:last-child {
		grid-column: 1 / -1;
	}

	.sg30d1__disclaimer {
		padding: 23px 20px;
	}

	.sg30d1__bottom-nav {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.sg30d1__previous {
		display: none;
	}

	.sg30d1__bottom-calendar {
		width: 100%;
		text-align: center;
	}

	.sg30d1__next {
		justify-self: center;
	}
}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 370px) {

	.sg30d1__meal-topline {
		grid-template-columns: 1fr;
	}

	.sg30d1__meal-step {
		grid-column: auto;
	}

	.sg30d1__inner {
		width: calc(100% - 32px);
	}

	.sg30d1__kcal-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sg30d1__meal-nav {
		grid-template-columns: 1fr;
	}

	.sg30d1__summary-grid {
		grid-template-columns: 1fr;
	}

	.sg30d1__summary-card:last-child {
		grid-column: auto;
	}
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

	.sg30d1 *,
	.sg30d1 *::before,
	.sg30d1 *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================
   SONATA GREEN – CENTRALIZUOTI BENDRI PLANŲ TEKSTAI
   ========================================================= */

/* Viršutinė bendra pastaba */
#sg30d1 .sg30d1__global-note--top {
	border-left-color: #4E6B41;
	background: #FFFDF8;
	margin-bottom: 32px;
}

/* Apatinė bendra pastaba */
#sg30d1 .sg30d1__global-note--bottom {
	border-left-color: #F9AE54;
	background: #FFFDF8;
}

/* Centralizuota „Svarbi informacija“ */
#sg30d1 .sg30d1__disclaimer--global {
	border-left-color: #6B2E5B;
	background: #FFFDF8;
}

/* Bendrų pastabų tekstas */
#sg30d1 .sg30d1__global-note-content > :first-child {
	margin-top: 0;
}

#sg30d1 .sg30d1__global-note-content > :last-child {
	margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
	#sg30d1 .sg30d1__global-note--top {
		margin-bottom: 24px;
	}
}


/* ==========================================================
   SONATA GREEN – 14 DIENŲ PINIGŲ GRĄŽINIMO GARANTIJA
   BENDRA NEMOKAMŲ DIENŲ PASIŪLYMO BLOKAMS
   ========================================================== */

.sg-plan-calendar__offer-guarantee {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--sg-line, #DED4C3);
}

.sg-plan-calendar__offer-guarantee-icon {
	display: grid;
	flex: 0 0 26px;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid var(--sg-dark, #263128);
	border-radius: 9px;
	color: var(--sg-dark, #263128);
	background: var(--sg-orange, #F9AE54);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.sg-plan-calendar__offer-guarantee-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sg-plan-calendar__offer-guarantee-copy strong {
	color: var(--sg-dark, #263128);
	font-size: 12px;
	line-height: 1.4;
	font-weight: 900;
}

.sg-plan-calendar__offer-guarantee-copy span {
	color: var(--sg-muted, #647067);
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
}

.sg-plan-calendar__guarantee-detail {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: start;
	gap: 18px;
	margin-top: 30px;
	padding: clamp(22px, 4vw, 30px);
	border: 2px solid var(--sg-dark, #263128);
	border-radius: 20px;
	color: var(--sg-dark, #263128);
	background: var(--sg-white, #FFFDF8);
	box-shadow: 6px 6px 0 var(--sg-orange, #F9AE54);
}

.sg-plan-calendar__guarantee-detail-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--sg-dark, #263128);
	border-radius: 14px;
	color: var(--sg-dark, #263128);
	background: var(--sg-sage, #A9CDC2);
	font-size: 20px;
	font-weight: 900;
}

.sg-plan-calendar__guarantee-detail-eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--sg-plum, #6B2E5B);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sg-plan-calendar__guarantee-detail h4 {
	margin: 0;
	color: var(--sg-dark, #263128);
	font-family: var(--sg-display, "Fraunces", Georgia, serif);
	font-size: clamp(24px, 3vw, 31px);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.sg-plan-calendar__guarantee-detail p {
	max-width: 760px;
	margin: 10px 0 0;
	color: var(--sg-muted, #647067);
	font-size: 13px;
	line-height: 1.65;
}

.sg-plan-calendar__guarantee-detail a {
	display: inline-flex;
	margin-top: 12px;
	color: var(--sg-dark, #263128);
	font-size: 12px;
	font-weight: 850;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.sg-plan-calendar__guarantee-detail a:hover {
	color: var(--sg-plum, #6B2E5B);
}

@media (max-width: 700px) {

	.sg-plan-calendar__offer-guarantee {
		margin-top: 16px;
		padding-top: 14px;
	}

	.sg-plan-calendar__guarantee-detail {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 13px;
		margin-top: 24px;
		padding: 20px 16px;
		box-shadow: 5px 5px 0 var(--sg-orange, #F9AE54);
	}

	.sg-plan-calendar__guarantee-detail-icon {
		width: 38px;
		height: 38px;
		border-radius: 12px;
		font-size: 16px;
	}

	.sg-plan-calendar__guarantee-detail h4 {
		font-size: 24px;
	}
}
