/* Global composition. Geometry follows DESIGN-SYSTEM §§12–13. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.fdf-shell-container { width: calc(100% - 48px); max-width: 1310px; margin-inline: auto; }
.wp-block-group.fdf-page { padding: 48px 24px 64px; min-height: 440px; }
.fdf-page > .wp-block-post-title { margin: 0 auto 32px; }
.fdf-header-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; height: 166px; pointer-events: none; }
.fdf-header { position: absolute; inset: 0 0 auto; color: #fff; pointer-events: auto; }
.fdf-header .wp-block-group, .fdf-footer .wp-block-group { margin-block-start: 0; }
.fdf-header-row > *, .fdf-footer-top > *, .fdf-footer-buyers > * { margin-block-start: 0; margin-block-end: 0; }
.fdf-header-primary { background: var(--wp--preset--color--navy); }
.fdf-header-primary { border-bottom: 1px solid rgb(255 255 255 / 14%); }
.fdf-header-secondary { background: var(--wp--preset--color--navy); border-bottom: 1px solid rgb(255 255 255 / 12%); }
.fdf-header-row { display: flex; align-items: center; gap: 24px; }
.fdf-header-primary .fdf-header-row { height: 110px; }
.fdf-header-secondary .fdf-header-row { min-height: 56px; gap: 14px; }
.fdf-header a, .fdf-footer a { color: inherit; text-decoration: none; }
.fdf-header .wp-block-site-logo { flex: 0 0 300px; }
.fdf-header .wp-block-site-logo img, .fdf-footer .wp-block-site-logo img { width: 100%; height: auto; display: block; }
.fdf-data-header-contact { display: grid; gap: 4px; padding-left: 24px; border-left: 1px solid rgb(255 255 255 / 22%); white-space: nowrap; }
.fdf-data-header-contact .fdf-region { color: rgb(255 255 255 / 74%); font-size: 14px; line-height: 20px; }
.fdf-data-header-contact .fdf-region { display: flex; align-items: center; gap: 8px; }
.fdf-data-header-contact .fdf-region::before { content: ''; width: 14px; height: 14px; background: var(--wp--preset--color--amber); mask: url('icons/pin.svg') center / contain no-repeat; }
.fdf-store-tools { display: flex; gap: 24px; align-items: center; margin-left: auto; }
.fdf-icon-button { display: inline-flex; align-items: center; justify-content: center; position: relative; border: 0; border-radius: 8px; background: transparent; color: inherit; width: 44px; height: 44px; padding: 0; cursor: pointer; flex-shrink: 0; }
.fdf-icon-button svg { width: 24px; height: 24px; display: block; }
.fdf-tool-cart { color: var(--wp--preset--color--amber) !important; }
.fdf-count { position: absolute; right: -10px; top: -13px; display: grid; place-items: center; min-width: 28px; height: 28px; padding-inline: 5px; border: 1px solid var(--wp--preset--color--amber); border-radius: 50%; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); font-size: 14px; line-height: 20px; }
.fdf-header-primary .fdf-tool-search, .fdf-tool-phone { display: none; }
.fdf-search-only { margin: 0; }
.fdf-menu-items { margin: 0; padding: 0; list-style: none; }
.fdf-nav-fdf-main { flex: 0 1 auto; }
.fdf-nav-fdf-main .fdf-menu-items, .fdf-nav-fdf-compact .fdf-menu-items { display: flex; align-items: center; justify-content: flex-start; gap: 32px; }
.fdf-nav-fdf-main a, .fdf-nav-fdf-compact a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; text-transform: uppercase; font-size: 14px; line-height: 20px; }
.fdf-nav-fdf-main li:first-child > a { color: var(--wp--preset--color--amber); }
.fdf-nav-fdf-compact { display: none; margin-left: auto; }
.fdf-data-social { display: flex; gap: 10px; }
.fdf-header-secondary .fdf-data-social { margin-left: auto; gap: 0; padding-left: 14px; border-left: 1px solid rgb(255 255 255 / 20%); }
.fdf-header-secondary .fdf-social-link { width: 32px; height: 44px; }
.fdf-social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; }
.fdf-social-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fdf-social-link::before { content: ''; display: block; width: 18px; height: 18px; background: currentColor; mask: var(--fdf-social-icon) center / contain no-repeat; }
.fdf-social-telegram { --fdf-social-icon: url('icons/telegram.svg?ver=2'); }
.fdf-social-instagram { --fdf-social-icon: url('icons/instagram.svg?ver=2'); }
.fdf-social-vk { --fdf-social-icon: url('icons/vk.svg?ver=2'); }
.fdf-header a:hover, .fdf-footer a:hover { color: var(--wp--preset--color--amber); }
.fdf-icon-button:hover { background: rgb(255 255 255 / 10%); color: var(--wp--preset--color--amber); }
.fdf-header.is-compact { box-shadow: var(--wp--preset--shadow--floating); }
.fdf-header.is-compact .fdf-header-primary .fdf-header-row { height: 66px; gap: 14px; }
.fdf-header.is-compact .wp-block-site-logo { flex-basis: 220px; }
.fdf-header.is-compact .fdf-header-secondary, .fdf-header.is-compact .fdf-data-header-contact { display: none; }
.fdf-header.is-compact .fdf-nav-fdf-compact { display: block; }
.fdf-header.is-compact .fdf-nav-fdf-compact .fdf-menu-items { gap: 14px; }
.fdf-header.is-compact .fdf-store-tools { gap: 8px; }
.fdf-header.is-compact .fdf-count { display: none; }
.fdf-header.is-compact .fdf-tool-search { display: inline-flex; }
.fdf-header-overlay .fdf-header-part { margin-bottom: -166px; }
.fdf-header-overlay .fdf-header:not(.is-compact) .fdf-header-primary { background: rgb(34 51 69 / 82%); }
.fdf-header-overlay .fdf-header:not(.is-compact) .fdf-header-secondary { background: rgb(34 51 69 / 66%); }
.fdf-footer { background: var(--wp--preset--color--navy); color: rgb(255 255 255 / 80%); padding: 56px 0 72px; container-type: inline-size; }
.fdf-footer-top { display: grid; grid-template-columns: 300fr 360fr 220fr 250fr; gap: clamp(24px, 4.2cqw, 60px); }
.fdf-footer-contact .wp-block-site-logo { max-width: 260px; margin-bottom: 24px; }
.fdf-data-contacts { display: grid; font-size: 16px; line-height: 24px; }
.fdf-data-contacts > * { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.fdf-data-contacts > :is(.fdf-phone, .fdf-email, .fdf-contact-region, .fdf-contact-address)::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: currentColor; mask: var(--fdf-contact-icon) center / contain no-repeat; }
.fdf-data-contacts .fdf-phone { --fdf-contact-icon: url('icons/phone.svg'); }
.fdf-data-contacts .fdf-email { --fdf-contact-icon: url('icons/mail.svg'); }
.fdf-contact-region, .fdf-contact-address { --fdf-contact-icon: url('icons/pin.svg'); }
.fdf-data-contacts span { overflow-wrap: anywhere; }
.fdf-footer-contact .wp-block-buttons { margin-top: 24px; }
.fdf-footer .wp-block-button__link { width: 240px; max-width: 100%; border: 1px solid rgb(255 255 255 / 60%); background: rgb(255 255 255 / 8%); color: #fff; }
.fdf-footer .wp-block-button__link:is(:hover,:focus-visible) { background: rgb(252 175 23 / 18%); color: #fff; }
.fdf-footer-heading, .fdf-footer-section > summary { margin: 0; color: rgb(255 255 255 / 94%); font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: .04em; text-transform: uppercase; }
.fdf-data-description p { margin: 22px 0 0; max-width: 360px; font-size: 14px; line-height: 22px; color: rgb(255 255 255 / 74%); }
.fdf-data-legal { display: grid; justify-items: start; gap: 8px; margin-top: 28px; }
.fdf-data-legal > .fdf-data-legal { margin-top: 0; }
.fdf-data-legal .fdf-legal-link { display: inline-flex; align-items: center; font: inherit; font-size: 14px; line-height: 20px; text-align: left; text-decoration: none; background: none; border: 0; padding: 0; min-height: 28px; color: rgb(255 255 255 / 72%); text-transform: uppercase; cursor: pointer; }
.fdf-data-legal .fdf-legal-link:hover { color: var(--wp--preset--color--amber); }
.fdf-footer-section > summary { list-style: none; cursor: default; }
.fdf-footer-section > summary::-webkit-details-marker { display: none; }
.fdf-footer-section nav { margin-top: 22px; }
.fdf-footer .fdf-menu-items { display: grid; gap: 16px; }
.fdf-footer .fdf-menu-items a { font-size: 14px; line-height: 20px; text-transform: uppercase; display: inline-block; }
.fdf-footer .fdf-data-social { margin-top: 42px; }
.fdf-footer .fdf-social-link { border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; color: rgb(255 255 255 / 85%); }
.fdf-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgb(255 255 255 / 20%); margin-top: 48px !important; padding-top: 34px; }
.fdf-data-copyright p { margin: 0; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 65%); }
.fdf-data-payment-marks { flex-shrink: 0; }
.fdf-dialog { border: 0; border-radius: 12px; padding: 0; color: var(--wp--preset--color--text); background: var(--wp--preset--color--white); width: min(840px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: var(--wp--preset--shadow--floating); }
.fdf-dialog::backdrop { background: rgb(23 38 51 / 70%); }
.fdf-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--wp--preset--color--navy); color: #fff; padding: 16px 24px; position: sticky; top: 0; z-index: 1; }
.fdf-dialog-heading h2 { color: inherit; font-size: 20px; line-height: 28px; margin: 0; }
.fdf-dialog-heading button { display: grid; place-content: center; color: #fff; background: transparent; border: 0; font: inherit; font-size: 28px; width: 44px; height: 44px; flex-shrink: 0; cursor: pointer; border-radius: 999px; }
.fdf-dialog-heading button:hover { background: rgb(252 175 23 / 18%); }
.fdf-document-body { padding: 24px; overflow-wrap: anywhere; }
.fdf-document-body h2, .fdf-document-body h3 { margin-block: 32px 16px; }
.fdf-document-body a { color: var(--wp--preset--color--blue); text-decoration: underline; }
.fdf-document-preview .fdf-document-body { max-width: 840px; margin: auto; }
.fdf-dialog-open { overflow: hidden; }
.fdf-store-menu { position: relative; }
.fdf-store-menu > summary { list-style: none; }
.fdf-store-menu > summary::-webkit-details-marker { display: none; }
.fdf-store-menu[open] > summary { background: rgb(255 255 255 / 10%); color: var(--wp--preset--color--amber); }
.fdf-menu-panel { position: absolute; z-index: 1; top: 56px; left: 0; width: 310px; max-width: calc(100vw - 16px); max-height: min(520px, calc(100dvh - 120px)); overflow: auto; padding: 10px; background: var(--wp--preset--color--navy); color: #fff; border: 1px solid rgb(255 255 255 / 16%); border-radius: 8px; box-shadow: var(--wp--preset--shadow--floating); }
.fdf-menu-panel .fdf-menu-items a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; font-size: 14px; line-height: 20px; }
.fdf-menu-panel .fdf-menu-items a:hover { background: rgb(255 255 255 / 8%); }
.fdf-menu-panel .sub-menu { list-style: none; padding-left: 16px; }
.fdf-menu-mobile { display: none; }
.editor-styles-wrapper .fdf-editor-fragment, .editor-styles-wrapper .fdf-editor-fragment-content { display: contents; }
.editor-styles-wrapper .fdf-header { position: static; }
.editor-styles-wrapper .fdf-header-part { position: static; height: auto; pointer-events: auto; }
@media (min-width: 1100px) and (max-width: 1239px) {
	.fdf-header .wp-block-site-logo { flex-basis: 252px; }
	.fdf-header-row { gap: 16px; }
	.fdf-nav-fdf-main .fdf-menu-items { gap: 10px; }
	.fdf-header-secondary .fdf-header-row { gap: 8px; }
	.fdf-header-secondary .fdf-data-social { padding-left: 8px; }
	.fdf-header-secondary .fdf-social-link { width: 26px; }
	.fdf-header.is-compact .fdf-nav-fdf-compact { display: none; }
	.fdf-header.is-compact .fdf-data-header-contact { display: grid; }
}
@media (max-width: 1099px) {
	.fdf-header-part { height: 64px; }
	.fdf-header-primary .fdf-header-row { height: 64px; width: calc(100% - 16px); gap: 8px; }
	.fdf-header .wp-block-site-logo, .fdf-header.is-compact .wp-block-site-logo { flex: 0 1 184px; min-width: 0; max-width: calc(100% - 196px); }
	.fdf-header-secondary, .fdf-header .fdf-data-header-contact, .fdf-header .fdf-tool-heart, .fdf-header .fdf-tool-compare, .fdf-header .fdf-count, .fdf-header.is-compact .fdf-nav-fdf-compact { display: none; }
	.fdf-header-primary .fdf-tool-search, .fdf-tool-phone { display: inline-flex; }
	.fdf-tool-phone { color: var(--wp--preset--color--amber) !important; }
	.fdf-tool-cart { color: #fff !important; }
	.fdf-menu-panel { top: 50px; width: 280px; }
	.fdf-menu-mobile { display: grid; padding: 8px 12px; gap: 8px; }
	.fdf-store-tools, .fdf-header.is-compact .fdf-store-tools { gap: 4px; }
	.fdf-header.is-compact .fdf-header-primary .fdf-header-row { height: 56px; gap: 8px; }
	.fdf-header-overlay .fdf-header-part { margin-bottom: -64px; }
}
@media (max-width: 959px) {
	.fdf-footer-top { grid-template-columns: 1fr 1.25fr; gap: 36px; }
	.fdf-footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 760px) {
	.fdf-shell-container { width: calc(100% - 32px); }
	.wp-block-group.fdf-page { padding: 32px 16px 48px; }
	.fdf-footer { padding: 32px 0; }
	.fdf-footer-top { display: flex; flex-direction: column; gap: 24px; }
	.fdf-footer-about { order: 3; margin-top: 12px; }
	.fdf-footer-buyers { display: contents; }
	.fdf-footer-buyers > .fdf-data-social { order: 4; margin-top: 0; justify-content: center; }
	.fdf-footer-contact .wp-block-site-logo { max-width: 260px; margin-inline: auto; }
	.fdf-footer-section > summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 14px 16px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 6px; }
	.fdf-footer-section > summary::after { content: '+'; color: var(--wp--preset--color--amber); font-size: 22px; }
	.fdf-footer-section[open] > summary { background: rgb(252 175 23 / 8%); }
	.fdf-footer-section[open] > summary::after { content: '−'; }
	.fdf-footer-section nav { margin-block: 16px; padding-inline: 16px; }
	.fdf-footer .fdf-menu-items { gap: 0; }
	.fdf-footer .fdf-menu-items a { min-height: 44px; display: flex; align-items: center; }
	.fdf-footer-bottom { flex-direction: column; align-items: flex-start; }
	.fdf-data-legal .fdf-legal-link { min-height: 44px; }
	.fdf-social-link { width: 44px; height: 44px; }
	.fdf-dialog-heading { padding: 12px 16px; }
	.fdf-document-body { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
	.fdf-icon-button, .fdf-header a, .fdf-footer a { transition: background-color 180ms cubic-bezier(.2,.7,.2,1), color 180ms cubic-bezier(.2,.7,.2,1); }
}
@media (max-width: 600px) {
	.admin-bar .fdf-header-part { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.fdf-header *, .fdf-footer *, .fdf-dialog * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
