/*
Theme Name: Family Kraft
Theme URI: https://familykraftmag.ru/
Author: Family Kraft
Description: Тема каталога упаковки, связанная с плагином Family Kraft — управление каталогом.
Version: 2.0.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: family-kraft
*/

.catalog-filters {
	background: #fff;
	padding: 12px;
	border: 1px solid #eee;
}

.filter-title h2 {
	font-size: 18px;
	text-transform: uppercase;
}

.filter-options {
	border: 1px solid #e3e3e3;
	margin: 10px 0;
}

.filter-options summary {
	padding: 14px 12px;
	font-weight: 700;
	font-size: 12px;
	color: #66717b;
	cursor: pointer;
	list-style: none;
}

.filter-options summary::after {
	content: "⌃";
	float: right;
	font-size: 18px;
}

.filter-options > div {
	padding: 0 12px 12px;
}

.filter-options label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
	font-size: 12px;
}

.filter-options input {
	width: 13px;
	height: 13px;
	accent-color: #e51035;
}

.filter-options label.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.category-filter {
	display: grid;
	gap: 3px;
}

.category-filter a {
	display: flex;
	justify-content: space-between;
	padding: 10px;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.category-filter a.active,
.category-filter a:hover {
	background: #141414;
	color: #fff;
}

.catalog-product-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.catalog-filters .button {
	display: none;
}

.family-kraft-theme {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #fff;
	color: #111;
}

.family-kraft-theme::before {
	display: none !important;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	margin: 24px 4px 0 0;
	border: 1px solid rgba(17, 17, 17, 0.16);
	color: #111;
	text-decoration: none;
}

.page-numbers.current {
	background: #ff4f00;
	color: #fff;
	border-color: #ff4f00;
}

.contact-hero {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	border: 1px solid rgba(17, 17, 17, 0.16);
}

.contact-list > div {
	padding: 24px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.contact-list span {
	display: block;
	color: #ff4f00;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.contact-list a,
.contact-list strong {
	font-size: clamp(22px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.1;
	color: #111;
	text-decoration: none;
}

.contact-hero .map {
	min-height: 560px;
}

.contact-hero iframe,
.map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.fkm-contact-form {
	max-width: 760px;
	padding: 70px 0;
}

.fkm-contact-form h2 {
	font-size: 48px;
	letter-spacing: -0.04em;
}

#wholesaleRange {
	width: 100%;
	accent-color: #ff4f00;
	margin: 24px 0 0;
}

.cart-empty {
	padding: 50px;
	border: 1px solid rgba(17, 17, 17, 0.16);
}

.cart-summary button {
	width: 100%;
	margin-top: 10px;
}

.cart-summary button + button {
	background: #fff;
	color: #111;
	border: 1px solid rgba(17, 17, 17, 0.16);
}

.family-added {
	margin-top: 8px;
	padding: 10px;
	background: #f7f7f8;
	font-size: 12px;
}

.family-added a {
	color: #ff4f00;
}

/*
 * Избранное.
 */
.product-card__media {
	position: relative;
}

.product-favorite {
	position: absolute;
	z-index: 5;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(17, 17, 17, 0.16);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: #222;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transition:
		color 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.product-favorite:hover {
	color: #d52f3a;
	border-color: #d52f3a;
	transform: translateY(-1px);
}

.product-favorite svg {
	width: 21px;
	height: 21px;
	overflow: visible;
}

.product-favorite path {
	fill: transparent;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: fill 0.2s ease;
}

.product-favorite.is-active,
.product-favorite[aria-pressed="true"] {
	background: #d52f3a;
	border-color: #d52f3a;
	color: #fff;
}

.product-favorite.is-active path,
.product-favorite[aria-pressed="true"] path {
	fill: currentColor;
}

.favorites-link {
	position: relative;
}

.favorite-count {
	position: absolute;
	top: -8px;
	right: -10px;
	display: grid;
	place-items: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #d52f3a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.favorite-count[hidden] {
	display: none;
}

.favorites-section {
	padding-top: 52px;
	padding-bottom: 90px;
}

.favorites-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.16);
}

.favorites-toolbar p {
	margin: 0;
	color: #66717b;
}

.favorites-clear {
	padding: 10px 18px;
	border: 1px solid rgba(17, 17, 17, 0.2);
	background: transparent;
	color: #111;
	font: inherit;
	cursor: pointer;
}

.favorites-clear:hover {
	background: #111;
	color: #fff;
}

.favorites-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.favorites-empty {
	padding: 56px 28px;
	border: 1px solid rgba(17, 17, 17, 0.16);
	text-align: center;
}

.favorites-empty[hidden] {
	display: none;
}

.favorites-empty h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 500;
}

.favorites-empty p {
	margin: 0 0 24px;
	color: #66717b;
}

@media (max-width: 1000px) {
	.favorites-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.contact-hero {
		grid-template-columns: 1fr;
	}

	.contact-hero .map {
		min-height: 350px;
	}

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

	.favorites-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.product-favorite {
		top: 8px;
		right: 8px;
		width: 36px;
		height: 36px;
	}

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

/* Компоновка карточки: минимум, количество, цена и итог */
.family-kraft-theme .product-card .card-min-order {
	margin: 0 0 2px;
	color: #77695d;
	font-size: 11px !important;
	line-height: 1.35 !important;
}

.family-kraft-theme .product-card .card-min-order strong {
	color: #211c18;
}

.family-kraft-theme .product-card .quantity {
	margin-top: 14px;
}

.family-kraft-theme .product-card .card-pricing {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 13px 0 10px;
}

.family-kraft-theme .product-card .card-pricing p {
	margin: 0;
	color: #77695d;
	font-size: 11px !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

.family-kraft-theme .product-card .card-unit-price strong {
	margin-left: 6px;
	color: #171411;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.family-kraft-theme .product-card .card-total {
	margin-left: auto !important;
}

.family-kraft-theme .product-card .card-total b {
	margin-left: 3px;
	color: #171411;
	font-size: 12px;
	font-weight: 800;
}

.family-kraft-theme .product-card .product-card__actions {
	margin-top: 0;
}

.family-kraft-theme .product-min-order {
	margin: 8px 0 0;
	color: #77695d;
	font-size: 12px !important;
}

.family-kraft-theme .cart-row p {
	margin: 0 0 12px;
	color: #77695d;
	font-size: 12px !important;
	line-height: 1.45 !important;
}

/* Выпадающий каталог и мобильное меню */

.header {
	z-index: 100;
}

.catalog-button {
	font: inherit;
}

.catalog-button[aria-expanded="true"] {
	background: var(--terra);
}

.mobile-menu-toggle {
	display: none;
}

.catalog-mega[hidden],
.mobile-menu[hidden] {
	display: none !important;
}

/* Выпадающий каталог на компьютере */

.catalog-mega {
	position: absolute;
	z-index: 1000;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 14px 0 24px;
	background: rgba(232, 220, 199, 0.98);
	border-top: 1px solid var(--line);
	box-shadow: 0 30px 60px rgba(48, 40, 32, 0.2);
	backdrop-filter: blur(14px);
}

.catalog-mega__inner {
	display: grid;
	grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
	min-height: 410px;
	max-height: calc(100vh - 205px);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--paper);
}

.catalog-mega__categories {
	padding: 24px;
	background: var(--oat);
	overflow: auto;
	border-right: 1px solid var(--line);
}

.catalog-mega__label {
	margin: 0 0 14px;
	color: var(--terra);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.catalog-mega__all,
.catalog-mega__category {
	width: 100%;
	min-height: 49px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	padding: 10px 13px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
	text-align: left;
	cursor: pointer;
	transition:
		background 0.18s ease,
		color 0.18s ease,
		padding 0.18s ease;
}

.catalog-mega__all {
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 7px;
	font-weight: 800;
}

.catalog-mega__category span,
.catalog-mega__all span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.catalog-mega__category small {
	min-width: 28px;
	color: var(--clay);
	font-size: 10px;
	text-align: right;
}

.catalog-mega__category b,
.catalog-mega__all b {
	font-size: 19px;
	font-weight: 400;
}

.catalog-mega__category:hover,
.catalog-mega__category:focus-visible,
.catalog-mega__category.is-active,
.catalog-mega__all:hover {
	padding-left: 18px;
	background: var(--ink);
	color: var(--sand);
	outline: 0;
}

.catalog-mega__category:hover small,
.catalog-mega__category:focus-visible small,
.catalog-mega__category.is-active small {
	color: var(--oat);
}

.catalog-mega__content {
	min-width: 0;
	padding: 34px 38px;
	overflow: auto;
}

.catalog-mega__panel {
	animation: familyCatalogPanel 0.18s ease;
}

.catalog-mega__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 25px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.catalog-mega__head p {
	margin: 0 0 7px;
	color: var(--terra);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.catalog-mega__head h2,
.catalog-mega__empty-state h2 {
	margin: 0;
	font: 42px/1 Georgia, serif;
	letter-spacing: -0.035em;
}

.catalog-mega__head > a,
.catalog-mega__empty-state > a {
	flex: none;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	color: var(--moss);
	font-size: 12px;
	font-weight: 800;
}

.catalog-mega__subcategories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 22px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

.catalog-mega__subcategories a {
	min-height: 62px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	background: var(--sand);
	font-size: 13px;
	transition:
		background 0.18s ease,
		color 0.18s ease;
}

.catalog-mega__subcategories a:hover {
	background: var(--moss);
	color: var(--sand);
}

.catalog-mega__subcategories small {
	font-size: 10px;
	opacity: 0.65;
}

.catalog-mega__empty {
	margin: 28px 0;
	color: var(--clay);
}

.catalog-mega__empty-state {
	display: grid;
	align-content: center;
	justify-items: start;
	min-height: 330px;
	gap: 16px;
}

.catalog-mega__empty-state p {
	margin: 0;
	color: var(--clay);
}

@keyframes familyCatalogPanel {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Мобильное меню */

.mobile-menu {
	position: fixed;
	z-index: 1300;
	inset: 0;
}

.mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(48, 40, 32, 0.55);
	cursor: pointer;
}

.mobile-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(91vw, 430px);
	height: 100%;
	padding: 0 20px 34px;
	background: var(--sand);
	overflow: auto;
	box-shadow: -20px 0 50px rgba(48, 40, 32, 0.25);
	animation: familyMobileMenu 0.22s ease;
}

.mobile-menu__head {
	position: sticky;
	z-index: 2;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
	background: var(--sand);
	border-bottom: 1px solid var(--line);
}

.mobile-menu__head strong {
	font: 28px/1 Georgia, serif;
}

.mobile-menu__head button {
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	font-size: 29px;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu__search {
	height: 48px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
	margin: 20px 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--paper);
}

.mobile-menu__search input {
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0 14px;
	outline: 0;
}

.mobile-menu__search button {
	border: 0;
	border-left: 1px solid var(--line);
	background: var(--moss);
	color: var(--sand);
	cursor: pointer;
}

.mobile-menu__catalog-link {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
	background: var(--ink);
	color: var(--sand);
	border-radius: 13px;
	font-weight: 800;
}

.mobile-menu__catalog-link::after {
	content: "→";
	font-size: 18px;
}

.mobile-menu__catalog {
	margin-top: 10px;
	border-top: 1px solid var(--line);
}

.mobile-menu__catalog details {
	border-bottom: 1px solid var(--line);
}

.mobile-menu__catalog summary {
	min-height: 54px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	padding: 0 5px;
	list-style: none;
	font-weight: 800;
	cursor: pointer;
}

.mobile-menu__catalog summary::-webkit-details-marker {
	display: none;
}

.mobile-menu__catalog summary::after {
	content: "+";
	font-size: 19px;
	font-weight: 400;
}

.mobile-menu__catalog details[open] summary::after {
	content: "−";
}

.mobile-menu__catalog summary small {
	color: var(--clay);
	font-size: 10px;
}

.mobile-menu__catalog details > div {
	display: grid;
	padding: 0 0 13px 13px;
}

.mobile-menu__catalog details a {
	min-height: 42px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-left: 1px solid var(--line);
	font-size: 13px;
}

.mobile-menu__catalog details a:hover {
	color: var(--terra);
}

.mobile-menu__catalog details a small {
	font-size: 10px;
	color: var(--clay);
}

.mobile-menu__catalog .mobile-menu__parent {
	color: var(--moss);
	font-weight: 800;
}

.mobile-menu__links {
	height: auto;
	display: grid;
	gap: 0;
	margin-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.mobile-menu__links a {
	min-height: 48px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--line);
}

.mobile-menu-is-open {
	overflow: hidden;
}

@keyframes familyMobileMenu {
	from {
		opacity: 0;
		transform: translateX(40px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1100px) {
	.catalog-mega__subcategories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.header__main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 9px;
	}

	.catalog-button {
		display: none;
	}

	.catalog-mega {
		display: none !important;
	}

	.mobile-menu-toggle {
		width: 44px;
		height: 44px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 0;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: transparent;
		cursor: pointer;
	}

	.mobile-menu-toggle span {
		display: block;
		width: 18px;
		height: 1.5px;
		background: var(--ink);
		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}

	.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(6.5px) rotate(45deg);
	}

	.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-6.5px) rotate(-45deg);
	}
}

@media (max-width: 420px) {
	.mobile-menu__panel {
		width: 100%;
	}
}

/* Codex visual upgrade 01: delivery / store / map */

.family-kraft-theme .info-grid#delivery {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(380px, 1.2fr);
  min-height: 460px;
  margin-block: 108px;
  overflow: hidden;
  border: 1px solid rgba(232, 220, 199, 0.18);
  border-radius: 34px;
  color: #f5ead7;
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 126, 79, 0.2), transparent 34%),
    linear-gradient(118deg, #302720 0%, #251f1b 100%);
  box-shadow: 0 32px 70px rgba(48, 36, 27, 0.2);
}

.family-kraft-theme .info-grid#delivery::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: -130px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(245, 234, 215, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(245, 234, 215, 0.025),
    0 0 0 96px rgba(245, 234, 215, 0.018);
  content: "";
}

.family-kraft-theme .info-grid#delivery > article {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 54px 46px 48px;
  border: 0;
  border-right: 1px solid rgba(245, 234, 215, 0.14);
  background: transparent;
}

.family-kraft-theme .info-grid#delivery > article > p:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: #d99a75;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.family-kraft-theme .info-grid#delivery > article > p:first-child::before {
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.family-kraft-theme .info-grid#delivery h2 {
  max-width: 330px;
  margin: 0 0 32px;
  color: #f5ead7;
  font: clamp(34px, 3vw, 48px) / 0.98 Georgia, serif;
  letter-spacing: -0.045em;
}

.family-kraft-theme .info-grid#delivery ul {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.family-kraft-theme .info-grid#delivery li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(245, 234, 215, 0.78);
  font-size: 14px;
}

.family-kraft-theme .info-grid#delivery li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 50%;
  background: #d99a75;
  content: "";
}

.family-kraft-theme .info-grid#delivery > article > a {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(245, 234, 215, 0.52);
  color: #f5ead7;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.family-kraft-theme .info-grid#delivery > article > a:hover {
  border-color: #d99a75;
  color: #d99a75;
}

.family-kraft-theme .info-grid#delivery dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.family-kraft-theme .info-grid#delivery dl > div,
.family-kraft-theme .info-grid#delivery dl {
  border: 0;
}

.family-kraft-theme .info-grid#delivery dt,
.family-kraft-theme .info-grid#delivery dd {
  padding-block: 12px;
  border-top: 1px solid rgba(245, 234, 215, 0.13);
}

.family-kraft-theme .info-grid#delivery dt {
  color: rgba(245, 234, 215, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.family-kraft-theme .info-grid#delivery dd {
  margin: 0;
  color: #f5ead7;
  font-size: 14px;
  line-height: 1.55;
}

.family-kraft-theme .info-grid#delivery dd a {
  color: inherit;
}

.family-kraft-theme .info-grid#delivery .map {
  position: relative;
  min-width: 0;
  min-height: 460px;
  margin: 12px;
  overflow: hidden;
  border-radius: 24px;
  background: #8b9d83;
}

.family-kraft-theme .info-grid#delivery .map::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  box-shadow: inset 0 0 70px rgba(52, 38, 28, 0.12);
  content: "";
  pointer-events: none;
}

.family-kraft-theme .info-grid#delivery .map iframe {
  width: 100%;
  height: 100%;
  min-height: 436px;
  border: 0;
  filter: saturate(0.78) sepia(0.08) contrast(0.94);
}

@media (max-width: 1040px) {
  .family-kraft-theme .info-grid#delivery {
    grid-template-columns: 1fr 1fr;
  }

  .family-kraft-theme .info-grid#delivery .map {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .family-kraft-theme .info-grid#delivery .map iframe {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .family-kraft-theme .info-grid#delivery {
    grid-template-columns: 1fr;
    margin-block: 64px;
    border-radius: 26px;
  }

  .family-kraft-theme .info-grid#delivery > article {
    padding: 38px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 234, 215, 0.14);
  }

  .family-kraft-theme .info-grid#delivery .map {
    grid-column: auto;
    min-height: 320px;
    margin: 8px;
    border-radius: 19px;
  }

  .family-kraft-theme .info-grid#delivery .map iframe {
    min-height: 320px;
  }
}

/* Unified geometry: restrained editorial corners */

.family-kraft-theme .info-grid#delivery {
  border-radius: 14px;
}

.family-kraft-theme .info-grid#delivery .map {
  border-radius: 9px;
}

/* Final radius normalization */

.family-kraft-theme .info-grid#delivery {
  box-shadow: 0 22px 48px rgba(48, 36, 27, 0.12);
}

@media (max-width: 700px) {
  .family-kraft-theme .info-grid#delivery {
    border-radius: 12px;
  }
}

/* Codex visual upgrade 02: FAQ */

.family-kraft-theme #faq.section {
  position: relative;
  overflow: hidden;
  padding-block: 112px;
  border-top: 0;
  background: #ffffff;
}

.family-kraft-theme #faq.section::before {
  display: none;
}

.family-kraft-theme #faq > .shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.family-kraft-theme #faq .section__head {
  position: sticky;
  top: 28px;
  display: block;
  margin: 0;
  padding: 0;
}

.family-kraft-theme #faq .section__head > div > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #ff4f00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.family-kraft-theme #faq .section__head > div > p::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.family-kraft-theme #faq .section__head h2 {
  max-width: 470px;
  margin: 0 0 36px;
  color: #111111;
  font: clamp(48px, 5.4vw, 76px) / 0.9 Georgia, serif;
  letter-spacing: -0.055em;
}

.family-kraft-theme #faq .section__head > a {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid rgba(48, 39, 32, 0.25);
  border-radius: 999px;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.family-kraft-theme #faq .section__head > a::after {
  content: "↗";
  font-size: 15px;
}

.family-kraft-theme #faq .section__head > a:hover {
  color: #f7f0e4;
  background: #111111;
  transform: translateY(-2px);
}

.family-kraft-theme #faq .faq-list {
  display: grid;
  gap: 14px;
}

.family-kraft-theme #faq .faq-list details {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.family-kraft-theme #faq .faq-list details:hover {
  border-color: rgba(255, 79, 0, 0.42);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.07);
  transform: translateY(-2px);
}

.family-kraft-theme #faq .faq-list details[open] {
  border-color: rgba(255, 79, 0, 0.52);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
}

.family-kraft-theme #faq .faq-list summary {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 24px 84px 24px 28px;
  color: #111111;
  cursor: pointer;
  font: clamp(20px, 2vw, 26px) / 1.2 Georgia, serif;
  list-style: none;
}

.family-kraft-theme #faq .faq-list summary::-webkit-details-marker {
  display: none;
}

.family-kraft-theme #faq .faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff8ec;
  background: #111111;
  content: "+";
  font: 300 27px / 1 Arial, sans-serif;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, transform 220ms ease;
}

.family-kraft-theme #faq .faq-list details[open] summary::after {
  color: #fff8ec;
  background: #ff4f00;
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.family-kraft-theme #faq .faq-list details > p {
  max-width: 660px;
  margin: -5px 84px 0 28px;
  padding: 0 0 28px;
  color: #6d6258;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .family-kraft-theme #faq > .shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .family-kraft-theme #faq .section__head {
    position: static;
  }

  .family-kraft-theme #faq .section__head h2 {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .family-kraft-theme #faq.section {
    padding-block: 70px;
  }

  .family-kraft-theme #faq .section__head h2 {
    font-size: 48px;
  }

  .family-kraft-theme #faq .faq-list summary {
    min-height: 78px;
    padding: 20px 70px 20px 20px;
    font-size: 20px;
  }

  .family-kraft-theme #faq .faq-list summary::after {
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .family-kraft-theme #faq .faq-list details > p {
    margin: -2px 58px 0 20px;
    padding-bottom: 22px;
  }
}

/* Final radius normalization */

.family-kraft-theme #faq .faq-list details {
  border-radius: 10px;
}

/* Catalog price: order total, then the unit price. */
.family-kraft-theme .product-card .card-pricing {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 10px;
}
.family-kraft-theme .product-card .card-total {
    margin-left: 0 !important;
}
.family-kraft-theme .product-card .card-total b {
    margin-left: 0;
    font-size: 20px;
    font-weight: 700;
}
.family-kraft-theme .product-card .card-unit-price strong {
    margin-left: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
}
